CN104951347A - Real-time tile updating method - Google Patents
Real-time tile updating method Download PDFInfo
- Publication number
- CN104951347A CN104951347A CN201510399494.XA CN201510399494A CN104951347A CN 104951347 A CN104951347 A CN 104951347A CN 201510399494 A CN201510399494 A CN 201510399494A CN 104951347 A CN104951347 A CN 104951347A
- Authority
- CN
- China
- Prior art keywords
- magnet
- information
- data
- application program
- tile
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The invention relates to a real-time tile updating method. The method comprises step as follows: both-way communication connection of an application program and a corresponding tile in an interactive interface is realized through socket; information in the application program is displayed in the tile through html5 canvas; an information push module pushes the information of the application program to the corresponding tile and marks the information as the latest information; an information comparison module regularly compares real-time information in the application program with the marked latest information to determine the consistency of the real-time information and the marked latest information, the information is not required to be updated if the real-time information is consistent to the marked latest information, otherwise, the information push module is started to push the real-time information of the application program, and the information is displayed in the tile through the html5 canvas. The content of the tile can be rapidly updated, tile template information is applied mechanically to the html5 canvas, accordingly, completeness and attractiveness of the tile can be kept, and diversity of tiles is realized due to different tile template types.
Description
Technical field
Invention relates to a kind of magnet update method, particularly a kind of magnet real time updating method.
Background technology
In order to improve the interactive property of human-computer interaction interface, existing operating system proposes the concept of magnet (Tile), and wherein magnet refers to the icon representing the object (as application program etc.) in mobile device on " beginning " screen of mobile device.The information of object can be shown by magnet, and open object.
In order to the more information making magnet can show object, be necessary to upgrade magnet.The magnetic update method that prior art provides, general by upgrading the numeric area (Count) of magnet and Title area (Title), realize the renewal to magnet.Although this update mode can realize the renewal to magnet to a certain extent, but because magnet numeric area (Count) and Title area (Title) position in magnet are fixing, and size is limited, therefore, although make to upgrade magnet, but the Limited information of the object can shown by magnet, position is fixed, and lacks dirigibility.
Application number is that the Chinese patent of CN201310393386.2 discloses a kind of magnet update method, and the method, by lastest imformation is formed magnet picture, realizes upgrading by the mode of replacing picture.Although this method achieves the renewal of content, upgrade into growth, renewal speed is slow.The information point of what this method upgraded in addition is whole magnet, as broad as long renewal, in interactive experience, also cannot realize going directly the page that this information point shows by clicking certain information point of magnet, poor user experience.
Summary of the invention
The object of the invention is to the shortcoming for existing magnet update method poor user experience, provide a kind of magnet to roll in real time update method.
For achieving the above object, the present invention is achieved by the following technical solutions:
A kind of magnet real time updating method, described method comprises:
Step 1: the data of application program magnet data corresponding with interactive interface realize two-way communication by socket and connect;
Step 2: info push module is saved in magnet data memory module the data-pushing of application program, and is labeled as latest data;
Step 3: whether the real time data that application program is compared in the timing of information comparison module is consistent with the latest data of mark, if consistent, without the need to upgrading, if inconsistent, then the real time data of log-on message push module pushing application program;
Step 4: the magnet data of data categorization module to magnet data memory module carry out classification process, the magnet template that dissimilar magnet data are corresponding different;
Step 5: magnet forms the type of Module recognition magnet data, calls corresponding magnet template according to the magnet data type recognized, and forms painting canvas be presented in magnet by html5.
Preferably, described magnet template comprises the composition information of color, magnet size, text exhibition, picture.
Preferably, the packet of described application program is containing multiple information point, and each information point communicates to connect propelling movement separately through socket and is saved in magnet data memory module, is presented in magnet by html5.
Preferably, described magnet exhibition information point directly can access information page corresponding to this information point.
Preferably, after the information point that described magnet is shown upgrades, this information point is at magnet display update mark, and shows with roll mode.
The invention has the advantages that: the present invention can realize the quick renewal of magnet content by socket connection and html5 painting canvas, html5 formation painting canvas is applied mechanically magnet Template Information and can be kept the complete attractive in appearance of magnet, and different magnet template types realizes the variation of magnet.In addition, the information refinement of program to certain part being connected, formed by html5 magnet in units of information point by socket, can realize only upgrading vicissitudinous information point time magnet upgrades, information point display update mark after renewal, and user can be pointed out the content upgraded with roll mode displaying, further compare thinking without the need to doing.Finally, click described magnet exhibition information point and directly can access information page corresponding to this information point, optimize access program, user finds renewal part without the need to reentering application program corresponding to magnet, but directly can access the page of renewal, improve Consumer's Experience.
Accompanying drawing explanation
The schematic flow sheet that a kind of magnet of Fig. 1 the present invention rolling update method in real time realizes.
Fig. 2 embodiment magnet template 1.
Fig. 3 embodiment magnet template 2.
Embodiment
The present invention passes through: the real-time information that application program is compared in the timing of information comparison module needs to upgrade with whether consistent the judging whether of the up-to-date information of mark, avoids the wasting of resources that unnecessary renewal causes.
Magnet: also referred to as segment, refers to the icon representing the object in equipment on " beginning " screen of interactive device.Wherein object includes but not limited to application program.Object in equipment can be fixed on " beginning " screen of equipment by magnet.When on " beginning " screen needing the object in equipment to be fixed to equipment, can be this Object Creation magnet, after the magnet for this Object Creation, namely by showing the information of this object for the magnet of this Object Creation, and this object can be opened by the magnet for this Object Creation.As the magnet by creating for application program, the information of this application program can be shown, and the corresponding page of this application program can be opened.
Below in conjunction with drawings and Examples, the present invention is further elaborated:
Fig. 1 is the present invention: the schematic flow sheet that a kind of magnet rolling update method in real time realizes
As shown in Figure 1, application program is run at background service, and application program creates instrument by magnet, creates magnet at desktop, and magnet needs to realize by the following method when upgrading.
Step 1: the data of application program magnet data corresponding with interactive interface realize two-way communication by socket and connect.
Step 2: info push module is saved in magnet data memory module the data-pushing of application program, and is labeled as latest data.
Step 3: whether the real time data that application program is compared in the timing of information comparison module is consistent with the latest data of mark, if consistent, without the need to upgrading, if inconsistent, then the real time data of log-on message push module pushing application program.The cycle that timing upgrades can setup times length according to actual needs.
Step 4: the magnet data of data categorization module to magnet data memory module carry out classification process, the magnet template that dissimilar magnet data are corresponding different.Data categorization module carries out Data classification to magnet data, and defines data type, and the data type of such as personnel recruitment is different from medical insurance data type, and corresponding magnet template is also different.The magnet template that the data type of personnel recruitment is corresponding is Fig. 2, and magnet template corresponding to medical insurance data type is Fig. 3.
Step 5: magnet forms the type of Module recognition magnet data, calls corresponding magnet template according to the magnet data type recognized, and forms painting canvas be presented in magnet by html5.The data type of same application program may change, follow original data type different when magnet forms Module recognition to the data type of the data of application program update, automatically can call corresponding magnet template according to the data type recognized, form painting canvas by html5 and be presented in magnet.
Described magnet template comprises the composition information of color, magnet size, text exhibition, picture.The template variation of magnet, meets different displaying demands.
The packet of described application program is containing multiple information point, and each information point communicates to connect propelling movement separately through socket and is saved in magnet data memory module, is presented in magnet by html5.
Described magnet exhibition information point directly can access information page corresponding to this information point.The different piece of the corresponding magnet of each information point, separate between each part, comprise upgrade independent, corresponding information and the program page corresponding to this information independent.Certain information point clicking magnet displaying directly can access information page corresponding to this information point.As shown in Figure 2, in personnel recruitment application program, comprise information point: the viewed number of times of resume and enterprise feed back, these two information points be separate, be also separate when renewal.Whether the data of the viewed number of times of resume contrast separately and upgrade, if data do not upgrade, then keep left-hand component in magnet constant; If Data Update, then magnet left-hand component does corresponding renewal, and flashes with font color difference, roll mode, gradual change, increase mode flag updates such as " new " at renewal Data Start.And the right half part of magnet needs to upgrade magnet according to the renewal of reality in Fig. 2, whether upgrade irrelevant with magnet left-half.Click the bubble showing numeral above the enterprise's feedback in the magnet of Fig. 2 display and can enter the page showing enterprise's feedback detailed content, and without the need to entering " enterprise's feedback " page again by " personnel recruitment " application program successively.
Above, be only the embodiment utilizing this origination techniques content, the modification that any those skilled in the art use this creation to do, change, all belong to the scope of the claims that this creation is advocated, and be not limited to those disclosed embodiments.
Claims (5)
1. a magnet real time updating method, is characterized in that, described method comprises:
Step 1: the data of application program magnet data corresponding with interactive interface realize two-way communication by socket and connect;
Step 2: info push module is saved in magnet data memory module the data-pushing of application program, and is labeled as latest data;
Step 3: whether the real time data that application program is compared in the timing of information comparison module is consistent with the latest data of mark, if consistent, without the need to upgrading, if inconsistent, then the real time data of log-on message push module pushing application program;
Step 4: the magnet data of data categorization module to magnet data memory module carry out classification process, the magnet template that dissimilar magnet data are corresponding different;
Step 5: magnet forms the type of Module recognition magnet data, calls corresponding magnet template according to the magnet data type recognized, and forms painting canvas be presented in magnet by html5.
2. the method for claim 1, is characterized in that, described magnet template comprises the composition information of color, magnet size, text exhibition, picture.
3. method as claimed in claim 1, is characterized in that the packet of described application program is containing multiple information point, and each information point communicates to connect propelling movement separately through socket and is saved in magnet data memory module, is presented in magnet by html5.
4. method as claimed in claim 3, is characterized in that clicking described magnet exhibition information point directly can access information page corresponding to this information point.
5. method as claimed in claim 4, it is characterized in that information point that described magnet is shown upgrade after this information point at magnet display update mark, and to show with roll mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510399494.XA CN104951347A (en) | 2015-07-09 | 2015-07-09 | Real-time tile updating method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510399494.XA CN104951347A (en) | 2015-07-09 | 2015-07-09 | Real-time tile updating method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104951347A true CN104951347A (en) | 2015-09-30 |
Family
ID=54166016
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510399494.XA Pending CN104951347A (en) | 2015-07-09 | 2015-07-09 | Real-time tile updating method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104951347A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070082707A1 (en) * | 2005-09-16 | 2007-04-12 | Microsoft Corporation | Tile space user interface for mobile devices |
CN104423990A (en) * | 2013-09-02 | 2015-03-18 | 腾讯科技(深圳)有限公司 | Tile updating method and device |
-
2015
- 2015-07-09 CN CN201510399494.XA patent/CN104951347A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070082707A1 (en) * | 2005-09-16 | 2007-04-12 | Microsoft Corporation | Tile space user interface for mobile devices |
CN104423990A (en) * | 2013-09-02 | 2015-03-18 | 腾讯科技(深圳)有限公司 | Tile updating method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104007991B (en) | Application Program Interface layout adjustment method and device | |
CN109727298A (en) | Poster generation method, device, equipment and computer storage medium | |
CN104007891A (en) | Method of displaying user interface on device, and device | |
CN101964822B (en) | List updating method used for video-frequency display of multiple network cameras | |
CN101834938A (en) | Device and method for realizing horizontal/vertical screen switching of mobile terminal | |
CN104469465A (en) | Smart television levitation main scene interaction method based on android system | |
CN109901938A (en) | Big screen system and visual presentation method are interacted based on WebSocket communication | |
CN105120006A (en) | Live commenting control method, live commenting server and live commenting control device for electronic readings | |
CN103885764A (en) | Network media information display system, method, device and server | |
CN102750176A (en) | Software upgrading method and device for network TV | |
CN104503755A (en) | Dynamic information fusing and presenting method based on HTML5 (hypertext markup language 5) high-definition bitmaps | |
CN204833270U (en) | Digital billboard of power supply enterprise's decision -making management | |
CN103345410A (en) | Mobile working service customization interface implementation method and system | |
CN102496120B (en) | System and method for displaying commodity information on electronic tag screens, issuer and manager | |
CN105511754A (en) | Page jump method and device based on page pull-down operation | |
CN104111822A (en) | Method, device and system for changing fonts for application programs | |
CN106210918B (en) | User interface updating method and system | |
CN103853430A (en) | Application assembly dismounting display method and device | |
CN106371755A (en) | Multi-screen interaction method and system | |
CN104753997B (en) | A kind of method and system of multiple terminals real-time, interactive | |
CN105574114A (en) | On-line plotting method based on telecom resource management standard control library | |
CN104661089A (en) | Terminal desktop display method, terminal desktop display device and terminal | |
CN103617064A (en) | Improved method for updating mobile client product | |
CN104951347A (en) | Real-time tile updating method | |
CN109781135A (en) | One kind shows the way robot information screen information supplement methods of exhibiting and application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150930 |