CN106528136A - Widget-based display method and apparatus, and terminal device - Google Patents
Widget-based display method and apparatus, and terminal device Download PDFInfo
- Publication number
- CN106528136A CN106528136A CN201610957994.5A CN201610957994A CN106528136A CN 106528136 A CN106528136 A CN 106528136A CN 201610957994 A CN201610957994 A CN 201610957994A CN 106528136 A CN106528136 A CN 106528136A
- Authority
- CN
- China
- Prior art keywords
- summary message
- widget
- message
- label
- display
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a widget-based display method and apparatus, and a terminal device. The widget-based display method comprises the steps of obtaining summary information; processing the summary information; and displaying the plurality of summary information in widgets in a list or paging mode. According to the method disclosed by the invention, the information display capacity can be expanded, so that the user experience effect is improved.
Description
Technical field
The present invention relates to smart mobile phone display field, in particular to it is a kind of based on the display packing of widget, device with
And terminal unit.
Background technology
Application extensions are that mobile terminal carries out accurate information displaying, lift the important technology of user-interaction experience quality
Means, widget (widget of such as iPhone) function are referred to as Widget.It provides the entrance of quick transmission important information, uses
The information of the users such as real time stock information, weather conditions and schedule special attention can be checked in family by widget.It is more important
, widget directly can also be accessed in the case where mobile phone is not unlocked, and this but thinks to obtain important information in real time to being accustomed to screen locking
User it is quite important.Therefore, in the exploitation of application program for mobile terminal, show frequency applications with weight to user by widget
Information is wanted to have become a kind of common development scheme.
Just because of the functional localization of widget, the exploitation of widget application receives many restrictions.First, apply and show in widget
With the time to be oriented to, i.e., daily information is required for updating the content needs for showing;Second, applying will have on the interface of widget just
When user mutual;3rd, apply the performance run in widget stablize.4th, in the design of widget, first have to follow micro-
The regulation of part limited space, the widget developed are applied and must are fulfilled for giving tacit consent to width on width;5th, the layout of application view
It is preferably used autoplacement;6th, widget does not support input through keyboard.It is based on above reason, interior using existing to widget at present
Hold the shortcomings of display form is single, it is inadequate to show content degree of accuracy and displaying content does not have level to distinguish.
The present invention is proposed in the case of the restriction without prejudice to application program to functional localization and widget UI design aspect
A kind of new display packing based on widget.
Disclosed in the background section, above- mentioned information is only used for the understanding for strengthening the background to the present invention, therefore it
Can include not constituting the information to prior art known to persons of ordinary skill in the art.
The content of the invention
In view of this, the present invention provides a kind of based on the display packing of widget, device and terminal unit, by increasing capacitance it is possible to increase exhibition
Show information capacity, lift Consumer's Experience effect.
Other characteristics and advantage of the present invention will be apparent from by detailed description below, or partially by the present invention
Practice and acquistion.
According to an aspect of the present invention, there is provided a kind of display packing based on widget, including:Obtain summary message;Process
Summary message;And multiple summary infos are shown with list mode or paging mode.
In a kind of exemplary embodiment of the disclosure, summary message includes text message and picture URL.
In a kind of exemplary embodiment of the disclosure, text message and picture URL synchronized updates.
In a kind of exemplary embodiment of the disclosure, obtaining summary message includes:Network request is sent to server;
When server returns valid data, the summary message in network returned data is read, and updates data cached.
In a kind of exemplary embodiment of the disclosure, network request is sent to service by the way of asynchronous network request
Device.
In a kind of exemplary embodiment of the disclosure, said method also includes, processes task of timer.
In a kind of exemplary embodiment of the disclosure, processing task of timer includes:Obtain timer time;By timing
The device time generates intervalometer timing with mobile device system current time;And at the end of intervalometer timing, update summary message.
In a kind of exemplary embodiment of the disclosure, processing summary message includes:The entry number of summary message is less than N
When, do not show summary message to widget;When the entry number of summary message can be evenly divisible by N, show summary message to widget;And it is general
Want the entry number of message more than N and it is not evenly divisible by n when, show that the summary message of the entry numbers several again of N in summary message is arrived
The widget;N is the positive integer more than 2.
In a kind of exemplary embodiment of the disclosure, multiple summary info bags are shown with list mode or paging mode
Include;When the entry number of summary message is more than N, in widget, Pagination Display summary message;User click on " page up " or " under
During one page " label, corresponding summary info is read and shows;When user clicks on the first label, jump to the first label and leading
The corresponding page in application program;And when user clicks on the second label, jump to the second label right in primary application program
The page answered, N are the positive integer more than 2.
In a kind of exemplary embodiment of the disclosure, also include:Collect the usage behavior data of user;And according to aobvious
The use environment of showing device, adjusts summary message dispaly state.
According to a further aspect in the invention, there is provided a kind of display device based on widget, including:Summary message obtains mould
Block, for obtaining summary message;Summary message processing module, for processing the summary message;Summary message display module, uses
In showing multiple summary infos with list mode or paging mode;Timed task processing module, has a high regard for for processing timing
Business;Behavioral data collection module, for collecting the usage behavior data of user;And dispaly state adjusting module, for basis
The use environment of display device, adjusts the summary message dispaly state.
In a kind of exemplary embodiment of the disclosure, summary message display module includes;Pagination Display submodule, is used for
When the entry number of summary message is more than N, in widget, Pagination Display summary message;Label display sub-module, in user
When clicking on " page up " or " lower one page " label, corresponding summary info is read and shows;Label redirects submodule, for
When the first label is clicked at family, the first label corresponding page in primary application program is jumped to;And the second mark is clicked in user
During label, the second label corresponding page in primary application program is jumped to, N is the positive integer more than 2.
In a kind of exemplary embodiment of the disclosure, timed task processing module includes:Intervalometer acquisition submodule, obtains
Take timer time;Intervalometer generates submodule, for generating timing with mobile device system current time by timer time
Device timing;And task of timer submodule, for, at the end of intervalometer timing, updating summary message.
According to a further aspect in the invention, there is provided a kind of terminal unit, including:Processor;Memorizer, stores for processing
The instruction of the following operation of device control:Obtain summary message;Process summary message;And show many with list mode or paging mode
Individual summary info.
It is of the invention based on the display packing of widget, device and terminal unit, by increasing capacitance it is possible to increase exhibition information capacity,
Lift Consumer's Experience effect.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary, this can not be limited
Invention.
Description of the drawings
Its example embodiment is described in detail by referring to accompanying drawing, above and other target of the present invention, feature and advantage will
Become more fully apparent.
Fig. 1 is a kind of flow chart of the display packing based on widget according to an exemplary embodiment.
Fig. 2 is the flow chart of another kind according to an exemplary embodiment based on the display packing of widget.
Fig. 3 is the flow chart of another kind according to an exemplary embodiment based on the display packing of widget.
Fig. 4 is the flow chart of another kind according to an exemplary embodiment based on the display packing of widget.
Fig. 5 is the flow chart of another kind according to an exemplary embodiment based on the display packing of widget.
Fig. 6 is a kind of block diagram of the display device based on widget according to an exemplary embodiment.
Fig. 7 is the block diagram of another kind according to an exemplary embodiment based on the display device of widget.
Fig. 8 is the block diagram of another kind according to an exemplary embodiment based on the display device of widget.
Fig. 9 is a kind of block diagram of the display terminal based on widget according to an exemplary embodiment.
Specific embodiment
Example embodiment is described more fully with referring now to accompanying drawing.However, example embodiment can be real in a variety of forms
Apply, and be not understood as limited to example set forth herein;Conversely, these embodiments are provided so that the present invention will more comprehensively and
Completely, and by the design of example embodiment comprehensively convey to those skilled in the art.Accompanying drawing is only the schematic of the present invention
Diagram, is not necessarily drawn to scale.In figure, identical reference represents same or similar part, thus right by omitting
Their repeated description.
Additionally, described feature, structure or characteristic can in any suitable manner with reference in one or more enforcements
In example.In the following description, there is provided many details are fully understood to embodiments of the invention so as to be given.However,
It will be appreciated by persons skilled in the art that one technical scheme being put into practice and being omitted in the specific detail or more
It is many, or can be using other methods, constituent element, device, step etc..In other cases, it is not shown in detail or describes known
Structure, method, device, realization or operation are to avoid that a presumptuous guest usurps the role of the host so that each aspect of the present invention thickens.
Fig. 1 is a kind of flow chart of the display packing 10 based on widget according to an exemplary embodiment.
Referring to Fig. 1, in S102, summary message is obtained.
By way of transmitted data on network, summary message to be shown is obtained.In the present embodiment, acquired summary
Message includes text message and picture URL, and text message acquisition synchronous with picture URL, synchronized update.Summary message is for example
Can be the summary information of common message, such as real time stock information, weather conditions and schedule etc. need user especially to close
The information of note.
In S104, summary message is processed.
Due to a variety of restrictions of the iPhone to widget function, such as in widget, there to be appropriate user mutual;In widget
Using performance to stablize, internal memory is using appropriate;Applying in widget must is fulfilled for giving tacit consent to width etc. restriction on width.This
In embodiment, summary message to be shown is further processed, to adapt to the requirement of iPhone systems.
In S106, invocation list control and paging control in widget.
Using the paging control (UISegmentedControl) in UI user interfaces (User Interface) and list
The mode display data that control (UITableView) combines.When paging control is called, Initialize installation can be carried out for example,
One or more summary message are initialized, and summary message content or picture URL are obtained by way of index.
In invocation list control, can for example, in UITableView, each row of data is all a UITableViewCell,
In order to show more information in list control, iOS has set multiple child controls so that developer makes inside which
With.Can for example, the statement file of UITableViewCell internally has UIView controls (contentView, as other yuan
Element father's control), two UILable controls (textLabel, detailTextLabel), a UIImage controls
(imageView) container, display content, details and picture, are respectively used to.For example can be carried with ISO using UITableView
The characteristic of control, carries out the setting of list control.DataSource utilizations can be set up in UITableView for example
UITableViewDataSource protocol realization concrete functions.In order to show more information, the height of list in list control
Degree, for example can be set to fixed value, or to show N data desired heights.In display, can for example, paging control is located at row
Below table and comprising two daughter elements, " page up " and " lower one page " label is corresponded to respectively.Initial state can for example be " on
One page " can not click on (list is inherently in the position for most starting when initial), and now the corresponding flag of the page is 0, is clicked on " next
Page ", flag adds 1, and list is rolled to the position of flag*N, clicks on " page up " and is similar to, and flag subtracts 1 and tableView slides
To the position of flag*N.If being rolled to last page, Section 2 correspondence " more " option of paging control, click can be jumped
Go to main App.In S108, multiple summary infos are shown in widget with list mode or paging mode.
In the embodiment that the present invention is provided, a plurality of summary message can be shown simultaneously.And the widget of iPhone can be same
When show N bars (N is the integer more than 2) summary message, so, when show summary message be more than N bars when, with list side
Formula or paging mode show multiple summary infos to be shown.For example by UITableView come exhibition information content, in UI
With the addition of Pagination Display function.
The display packing based on widget of the embodiment of the present invention, by showing multiple summaries with list mode or paging mode
Information, by increasing capacitance it is possible to increase exhibition information capacity, lifts Consumer's Experience effect.
It will be clearly understood that the present disclosure describe how being formed and using particular example, but the principle of the present invention to be not limited to
Any details of these examples.Conversely, the teaching based on present disclosure, these principles can be applied to many other
Embodiment.In addition, though the present embodiment (and latter embodiments) is described by taking iPhone widgets as an example, but it can be readily appreciated that
The invention is not limited in iPhone widgets.
Fig. 2 is the flow chart of another kind according to an exemplary embodiment based on the display packing 20 of widget.Fig. 2's
Flow chart is that S102 in Fig. 1 flow processs " obtaining summary message " is further described.
Referring to Fig. 2, in S202, network request is sent to server.
The unified network interface of setting, sends network request to the clothes belonging to the widget by the way of asynchronous network request
Business device.For example, user can send network request to server in the time for opening widget or setting, newest general to obtain
Want message.
In S204, judge whether to return valid data.
Judge sent network request, if success, and after success, whether have result to return, and verify returned data
Effectiveness.If network request returns effective data, step S206 is jumped to, if network request is returned effectively
Data, for example, S208 can be entered.
In S206, the summary message in network returned data is read, and updates data cached.
Caching includes that text buffer and picture URL cache two parts, and wherein text buffer is to have recorded in the form of a file
The attribute of displaying project, it is then the covering to original to update text buffer.The opportunity of buffer update occurs in network and picture
When asking successfully, and text buffer is updated with picture URL cache synchronizations.
In S208, the summary message in reading cache data, and network request is sent again.
When network request is not temporarily returned or network request fails, for example, the data in caching can be directly read.And again
Send network request.
The display packing based on widget of the embodiment of the present invention, by using the text and picture of cache storage summary info
Url data, it is ensured that summary info can be with normal presentation when Network Abnormal is not returned with request.
In the display packing based on widget according to some embodiments, network returned data and it is data cached in also include
Timer time.
Fig. 3 is the flow chart of another kind according to an exemplary embodiment based on the display packing 30 of widget.Fig. 3 is retouched
State in the display packing based on widget, processed the flow process of timed task.
Referring to Fig. 3, in S302, timer time is obtained;
In the valid data data returned by network or the data of local cache, timer time is read.
In S304, intervalometer timing is generated with mobile appliance system current time by timer time.
Obtain generating intervalometer timing with the current time inside mobile appliance system by timer time by reading.Regularly
The timing time of device is a count down time.
In S306, at the end of intervalometer timing, summary message is updated.
Terminate in intervalometer timing, i.e., when countdown is reached, initiate network request, update summary message.
Fig. 4 is a kind of flow chart of the display packing 40 based on widget according to an exemplary embodiment.The stream of Fig. 4
Journey figure is that S104 in Fig. 1 flow processs " processing summary message " is further described.
Referring to Fig. 4, in S402, summary message bar mesh number is judged.
By network data or it is data cached in got summary message after, show summary message to device end show
Before showing, judgement process to be carried out to the entry number of summary message.For example, as, when terminal shows, every one page can only
The summary message of N number of entry is shown, so with N as basis for estimation, classification process is carried out to summary message bar mesh number to be shown,
N is the positive integer more than 2.When summary message bar mesh number is less than N, into S404;When summary message bar mesh number can be with evenly divisible by N
When, into S406;When summary message bar mesh number be more than N and can not be evenly divisible by N when, into S408.For example, as N=3, i.e.,
It is when summary message bar mesh number is less than 3, into S404;When summary message bar mesh number can be divided exactly by 3, into S406;When
When summary message bar mesh number is more than 3 and can not be divided exactly by 3, into S408.
In S404, do not show summary message to widget.
When summary message bar mesh number to be shown is less than N, do not show that summary message is shown to widget.
In S406, show summary message to widget.
Summary message bar mesh number can with it is evenly divisible by N when, show summary message shown to widget.
In S408, the entry numbers several again of N in summary message are chosen.
When summary message bar mesh number be more than N and can not be evenly divisible by N when, choose entry number be closest to and less than current
The summary message of the entry number of the multiple of the N of entry number.For example, as N=3, if the entry of current summary message to be shown
Number is 8, then choose 6 summary message therein.
In S410, show summary message to widget.
Show that the summary message chosen is shown in widget.For example, as N=3, if current summary to be shown disappears
The entry number of breath is 8, then choose 6 summary message therein, this 6 summary message displays are shown in widget.Choose
Mode can be to randomly select or be to select according to time-series, and the present invention is not limited thereto.
Fig. 5 is the flow chart of another kind according to an exemplary embodiment based on the display packing 50 of widget.Fig. 5's
Flow chart is that S106 in Fig. 1 flow processs " showing multiple summary infos with list mode or paging mode " is further described.
Referring to Fig. 5, in S502, when the entry number of summary message is more than N, the Pagination Display summary message in widget.
As described above, summary message first passes through the judgement of entry number, chooses the summary message display of appropriate entry number
Show in widget.N is the positive integer more than 2, for example, as N=3, when summary message entry quantity to be shown is more than 3
When, in widget, Pagination Display summary message.For example, summary message to be shown one has 6, and per page shows that 3 summaries disappear
Breath, is divided to the displays of page two.
In S504, when user clicks on " page up " or " lower one page " label, corresponding summary info is read and shows.
For the summary message of Pagination Display, user can be read by clicking on during " page up " or " lower one page " label
And show corresponding summary info.
In S506, when user clicks on the first label, the first label corresponding page in primary application program is jumped to.
When user clicks on the first label, such as " second kills label " or " more seconds kill " jump to the first label and are leading
The corresponding page in application program, for example, shows that the second kills the page of product, or more seconds kills the product page.
In S508, when user clicks on the second label, the second label corresponding page in primary application program is jumped to.
When user clicks on the second label, for example, " single product information " jumps to the second label correspondence in primary application program
The page.For example, click on the item detail page that " single product information " is located into the product.
In the display packing based on widget according to some embodiments, also include the data collection to user behavior, example
Such as, the record to user click event, and click on the duration of event generation etc..These data are for user behavior point
Analysis.
In the display packing based on widget according to some embodiments, also include the use environment according to display device,
Adjust the summary message dispaly state.For example, according to display content under iPhone different occupation modes and different platform
Adjustment.For example, under different platforms, operating system display content adjustment.For example, some functions are not shown in iPhone transverse screens
Information, display processing when network returned data data exception does not show that some function informations, network returned data are excessive etc.
Deng.Then the present invention is not limited thereto.
It will be appreciated by those skilled in the art that realizing that all or part of step of above-described embodiment is implemented as being performed by CPU
Computer program.When the computer program is performed by CPU, the above-mentioned work(limited by the said method of present invention offer is performed
Energy.Described program can be stored in a kind of computer-readable recording medium, and the storage medium can be read only memory, magnetic
Disk or CD etc..
Further, it should be noted that above-mentioned accompanying drawing is only the place included by method according to an exemplary embodiment of the present invention
That what is managed schematically illustrates, rather than limits purpose.It can be readily appreciated that above-mentioned process shown in the drawings is not intended that or limits at these
The time sequencing of reason.In addition, being also easy to understand, these process for example either synchronously or asynchronously can be performed in multiple modules.
It is following for apparatus of the present invention embodiment, can be used for performing the inventive method embodiment.For apparatus of the present invention reality
The details not disclosed in applying example, refer to the inventive method embodiment.
Fig. 6 is a kind of block diagram of the display device 60 based on widget according to an exemplary embodiment.
As shown in fig. 6, being included based on the display device of widget:Summary message capturing module 602, summary message processing module
604, summary message display module 606, timed task processing module 608, behavioral data collection module 610 and dispaly state are adjusted
Mould preparation block 612.
Summary message capturing module 602 is used to obtain summary message.
Summary message processing module 604 is used to process the summary message.
Summary message display module 606 is for showing multiple summary infos with list mode or paging mode.
Timed task processing module 608 is used to process task of timer.
Behavioral data collection module 610 is used for the usage behavior data for collecting user.
Dispaly state adjusting module 612 adjusts the summary message and shows shape for the use environment according to display device
State.
The display packing based on widget of the embodiment of the present invention, by showing multiple summaries with list mode or paging mode
Information, by increasing capacitance it is possible to increase exhibition information capacity, lifts Consumer's Experience effect.
Fig. 7 is the block diagram of another kind according to an exemplary embodiment based on the display device 70 of widget.Fig. 7 is right
In Fig. 6, summary message display module 606 further describes.
As shown in fig. 7, summary message display module 706 includes:Pagination Display submodule 7062, label display sub-module
7064 and label redirect submodule 7066.
When Pagination Display submodule 7062 is more than 3 for the entry number in summary message, in the widget, Pagination Display
Summary message.
, for clicking in user during " page up " or " lower one page " label, it is right to read and show for label display sub-module 7064
The summary info answered.
Label redirects submodule 7066 for when user clicks on the first label, jumping to the first label in primary application program
In the corresponding page;And when user clicks on the second label, jump to the second label corresponding page in primary application program.
Fig. 8 is the block diagram of another kind according to an exemplary embodiment based on the display device 80 of widget.Fig. 8 is right
In Fig. 6, timed task processing module 608 further describes.
As shown in figure 8, timed task processing module 808 includes:Intervalometer acquisition submodule 8082, intervalometer generate submodule
Block 8086 and task of timer submodule 8088.
Intervalometer acquisition submodule 8082 is used to read timer time.
Intervalometer generates submodule 8084 for generating intervalometer with mobile device system current time by timer time
Timing.
Task of timer submodule 8086 updates summary message at the end of intervalometer timing.
It should be noted that the block diagram shown in above-mentioned accompanying drawing is functional entity, not necessarily must with physically or logically
Independent entity is corresponding.Can realize these functional entitys using software form, or in one or more hardware modules or
These functional entitys are realized in integrated circuit, or is realized in heterogeneous networks and/or processor device and/or microcontroller device
These functional entitys.
Fig. 9 is a kind of terminal unit of the display based on widget according to an exemplary embodiment.
As shown in figure 9, terminal unit 90 may include processor 910, memorizer 920, emitter 930 and receptor 940.
Memorizer 920 can store the instruction for the process of 910 control operation of processor.Memorizer 920 may include volatibility
Or nonvolatile memory, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM),
Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read only memory (ROM) etc., the present invention
It is not limited in this respect.
The instruction control associative operation that processor 910 is stored in can calling memorizer 920.According to an embodiment, memorizer
920 store the instruction that following operation is controlled for processor 910:Obtain summary message;Process the summary message;And to arrange
Table mode or paging mode show multiple summary infos.It can be readily appreciated that memorizer 920 can be also stored for processor 910
The instruction of control other operations according to embodiments of the present invention, is repeated no more here.
Detailed description by more than, those skilled in the art it can be readily appreciated that system according to embodiments of the present invention and
Method has one or more of the following advantages.
According to some embodiments, based on the display packing of widget, by showing multiple general with list mode or paging mode
Want information, by increasing capacitance it is possible to increase exhibition information capacity, lift Consumer's Experience effect.
According to some embodiments, based on the display packing of widget, by using the text and figure of cache storage summary info
Piece url data, it is ensured that summary info can be with normal presentation when Network Abnormal is not returned with request.
The description of the embodiment by more than, those skilled in the art is it can be readily appreciated that example embodiment described herein
Can be realized by software, it is also possible to realize by way of software is with reference to necessary hardware.Therefore, according to present invention enforcement
The technical scheme of example can be embodied in the form of software product, and the software product can be stored in a non-volatile memories
In medium (can be CD-ROM, USB flash disk, portable hard drive etc.) or on network, including some instructions so that a computing device (can
Being personal computer, server, mobile terminal or network equipment etc.) perform method according to embodiments of the present invention.
The exemplary embodiment of the present invention is particularly shown and described more than.It should be appreciated that the invention is not restricted to
Detailed construction described herein, set-up mode or implementation method;On the contrary, it is intended to cover be included in claims
Various modifications and equivalence setting in spirit and scope.
Claims (14)
1. a kind of display packing based on widget, it is characterised in that include:
Obtain summary message;
Process the summary message;
Invocation list control and paging control in widget;And
Multiple summary infos are shown in widget with list mode or paging mode.
2. the method for claim 1, it is characterised in that summary message includes text message and picture URL.
3. method as claimed in claim 2, it is characterised in that the text message and the picture URL synchronized updates.
4. the method for claim 1, it is characterised in that obtaining summary message includes:
Network request is sent to server;
When the server returns valid data, the summary message in network returned data is read, and updates caching number
According to.
5. method as claimed in claim 4, it is characterised in that send the network request by the way of asynchronous network request
To the server.
6. the method for claim 1, it is characterised in that also include, processes task of timer.
7. method as claimed in claim 6, it is characterised in that processing task of timer includes:
Obtain timer time;
Intervalometer timing is generated with mobile device system current time by the timer time;And
At the end of the intervalometer timing, the summary message is updated.
8. the method for claim 1, it is characterised in that processing the summary message includes:
When the entry number of the summary message is less than N, do not show the summary message to the widget;
When the entry number of the summary message can be evenly divisible by N, show the summary message to the widget;And
The entry number of the summary message be more than N and it is not evenly divisible by n when, show the entries several again of N in the summary message
Several summary message are to the widget;
N is the positive integer more than 2.
9. the method for claim 1, it is characterised in that multiple summaries letters are shown with list mode or paging mode
Breath includes;
When the entry number of the summary message is more than N, in the widget, summary message described in Pagination Display;
When user clicks on " page up " or " lower one page " label, the corresponding summary info is read and shows;
When user clicks on the first label, the first label corresponding page in the main application primary application program is jumped to;With
And
When user clicks on the second label, the second label corresponding page in the primary application program is jumped to;
N is the positive integer more than 2.
10. the method for claim 1, it is characterised in that also include:
Collect the usage behavior data of user;And
According to the use environment of display device, the summary message dispaly state is adjusted.
11. a kind of display devices based on widget, it is characterised in that include:
Summary message capturing module, for obtaining summary message;
Summary message processing module, for processing the summary message;And
Summary message display module, for showing multiple summary infos with list mode or paging mode;
Timed task processing module, for processing task of timer;
Behavioral data collection module, for collecting the usage behavior data of user;
Dispaly state adjusting module, for the use environment according to display device, adjusts the summary message dispaly state.
12. devices as claimed in claim 11, it is characterised in that summary message display module includes;
Pagination Display submodule, when being more than N for the entry number in the summary message, in the widget, Pagination Display institute
State summary message;
Label display sub-module, for clicking in user during " page up " or " lower one page " label, reads and shows corresponding institute
State summary info;
Label redirects submodule, for when user clicks on the first label, jumping to the first label in the primary application program
The corresponding page;And when user clicks on the second label, jump to the second label corresponding page in the primary application program
Face;
N is the positive integer more than 2.
13. devices as claimed in claim 11, it is characterised in that timed task processing module includes:
Intervalometer acquisition submodule, for obtaining timer time;
Intervalometer generates submodule, for generating intervalometer timing with mobile appliance system current time by timer time;With
And
Task of timer submodule, for, at the end of the intervalometer timing, updating the summary message.
14. a kind of terminal units, it is characterised in that include:
Processor;
Memorizer, stores the instruction for the following operation of processor control:
Obtain summary message;
Process the summary message;And
Multiple summary infos are shown with list mode or paging mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610957994.5A CN106528136A (en) | 2016-10-27 | 2016-10-27 | Widget-based display method and apparatus, and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610957994.5A CN106528136A (en) | 2016-10-27 | 2016-10-27 | Widget-based display method and apparatus, and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106528136A true CN106528136A (en) | 2017-03-22 |
Family
ID=58325632
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610957994.5A Pending CN106528136A (en) | 2016-10-27 | 2016-10-27 | Widget-based display method and apparatus, and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106528136A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107678809A (en) * | 2017-09-04 | 2018-02-09 | 北京京东尚科信息技术有限公司 | The method and apparatus of display data |
CN108038244A (en) * | 2017-12-28 | 2018-05-15 | 北京达佳互联信息技术有限公司 | Utilize the method, apparatus and mobile terminal of widget displaying works front cover |
CN108829311A (en) * | 2017-04-27 | 2018-11-16 | 北京京东尚科信息技术有限公司 | A kind of method and apparatus based on Widget display data |
CN111796897A (en) * | 2020-07-03 | 2020-10-20 | 北京达佳互联信息技术有限公司 | Page display method and device, storage medium and electronic equipment |
CN115396391A (en) * | 2022-08-23 | 2022-11-25 | 北京字跳网络技术有限公司 | Method, device, equipment and storage medium for presenting session message |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101789025A (en) * | 2010-03-10 | 2010-07-28 | 青岛海信电器股份有限公司 | Network batch data processing display list method and electric equipment using same |
CN102436335A (en) * | 2010-09-29 | 2012-05-02 | 鸿富锦精密工业(深圳)有限公司 | Widget addition system and method |
CN102736903A (en) * | 2011-04-08 | 2012-10-17 | 腾讯科技(深圳)有限公司 | Method and device for managing widgets based on intelligent terminal desktop |
-
2016
- 2016-10-27 CN CN201610957994.5A patent/CN106528136A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101789025A (en) * | 2010-03-10 | 2010-07-28 | 青岛海信电器股份有限公司 | Network batch data processing display list method and electric equipment using same |
CN102436335A (en) * | 2010-09-29 | 2012-05-02 | 鸿富锦精密工业(深圳)有限公司 | Widget addition system and method |
CN102736903A (en) * | 2011-04-08 | 2012-10-17 | 腾讯科技(深圳)有限公司 | Method and device for managing widgets based on intelligent terminal desktop |
Non-Patent Citations (1)
Title |
---|
STEVECJ: ""yii中widget分页的用法"", 《HTTPS://STEVECJ.ITEYE.COM/BLOG/1054470》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108829311A (en) * | 2017-04-27 | 2018-11-16 | 北京京东尚科信息技术有限公司 | A kind of method and apparatus based on Widget display data |
CN107678809A (en) * | 2017-09-04 | 2018-02-09 | 北京京东尚科信息技术有限公司 | The method and apparatus of display data |
CN108038244A (en) * | 2017-12-28 | 2018-05-15 | 北京达佳互联信息技术有限公司 | Utilize the method, apparatus and mobile terminal of widget displaying works front cover |
CN111796897A (en) * | 2020-07-03 | 2020-10-20 | 北京达佳互联信息技术有限公司 | Page display method and device, storage medium and electronic equipment |
CN115396391A (en) * | 2022-08-23 | 2022-11-25 | 北京字跳网络技术有限公司 | Method, device, equipment and storage medium for presenting session message |
CN115396391B (en) * | 2022-08-23 | 2024-05-03 | 北京字跳网络技术有限公司 | Method, apparatus, device and storage medium for session message presentation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106528136A (en) | Widget-based display method and apparatus, and terminal device | |
CN101304451B (en) | Mobile communication equipment and the method controlling this equipment | |
CN109766457B (en) | Media content searching method, device and storage medium | |
CN109922353B (en) | Live list typesetting layout method and device, computer equipment and storage medium | |
WO2017215175A1 (en) | Page processing method and device, terminal, and server | |
CN109101425B (en) | Index point burying method and device for dynamic page AB test | |
EP2866158A1 (en) | Method for reader to provide service, reader, terminal and computer storage medium | |
CN109831532B (en) | Data sharing method, device, equipment and medium | |
CN105867734A (en) | Method and device for displaying resource entry on mobile equipment and mobile equipment | |
CN103154887A (en) | Update management method and apparatus | |
CN109361948B (en) | Interface management method, intelligent terminal and readable storage medium | |
CN103745013A (en) | Searching method and device | |
CN111309293A (en) | Interface framework construction method and device, electronic equipment and storage medium | |
CN103744575A (en) | Method and equipment for providing input auxiliary areas of input applications | |
CN102769641A (en) | Method and system for displaying webpage content by means of self-adaption control | |
KR101777035B1 (en) | Method and device for filtering address, program and recording medium | |
CN107544723B (en) | Application program interaction method, device and system | |
CN112148395A (en) | Page display method, device, equipment and storage medium | |
CN105677699A (en) | Method and apparatus for generating news pages for user | |
CN102289479A (en) | Method, device and equipment for determining image showing mode and showing image | |
CN111414507A (en) | Information display method, equipment, device and computer readable storage medium | |
CN106470351A (en) | Page display method and page display device | |
KR20180087753A (en) | Apparatus for location-based image sharing service, and control method thereof | |
CN105653584A (en) | Method and device for adding Chinese site names in search results | |
CN110059281B (en) | Picture display method, device, terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170322 |
|
RJ01 | Rejection of invention patent application after publication |