CN103488372B - A kind of method of display loading data and electronic equipment - Google Patents

A kind of method of display loading data and electronic equipment Download PDF

Info

Publication number
CN103488372B
CN103488372B CN201210191703.8A CN201210191703A CN103488372B CN 103488372 B CN103488372 B CN 103488372B CN 201210191703 A CN201210191703 A CN 201210191703A CN 103488372 B CN103488372 B CN 103488372B
Authority
CN
China
Prior art keywords
group
electronic equipment
project
bar project
bar
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.)
Active
Application number
CN201210191703.8A
Other languages
Chinese (zh)
Other versions
CN103488372A (en
Inventor
刘刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210191703.8A priority Critical patent/CN103488372B/en
Publication of CN103488372A publication Critical patent/CN103488372A/en
Application granted granted Critical
Publication of CN103488372B publication Critical patent/CN103488372B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides a kind of method of display loading data and electronic equipment.The method is applied in electronic equipment, and electronic equipment includes a display unit, and the method includes:Obtain a list including M bar project from the second electronic equipment, M bar project is constituted by N number of group, wherein, M is the integer more than or equal to 1, N be less than or equal to M and more than or equal to 1 integer;Obtain triggering command, triggering command is used for indicating that the list of M bar project moves with respect to display unit;Response triggering command so that the K bar project in M bar project show on display unit, wherein, K be less than or equal to M and be more than or equal to 1 integer;Obtain and the corresponding J data item of K bar project M bar project from the second electronic equipment, wherein, J is the integer more than or equal to 1;J data item correspondence is shown in K bar project.

Description

A kind of method of display loading data and electronic equipment
Technical field
The present invention relates to technical field of electronic equipment, more particularly, to a kind of method of display loading data and electronic equipment.
Background technology
Developing rapidly with electronic equipment, electronic equipment is increasingly popularized, user utilize hand-held electronic terminal or Notebook computer etc. browses online content, for example, browse microblogging, but when list element loads especially from the webserver During big data, response can be suspended in interface, and user will wait for a long time, and when situation is serious, program all may thoroughly be died.
In the prior art, in order to improve the problems referred to above, load in foreground synchronization paging, default loading page 1, if More data (descending page of data) checked by needs, need the click button such as " more " or " lower one page " to load next number of pages According to.
However, the present inventor finds during realizing the present invention, scheme of the prior art causes user to drag row Table is discontinuous, such as originally had 100 projects on webpage, and the display unit of electronic equipment at most can show 20 every time, And default when loading page 1 only have 30 projects, at this moment user down slides this webpage from page 1, just can only slide into the Article 30, just drag motionless during project, and " lower one page " or " more " button can only be clicked on and load follow-up project;In addition, some Under scene, for example, check the file directory on remote computer, and in this catalogue, have tens thousand of files, at this moment use in prior art Scheme can be very time-consuming when going to check, and loading data amount is big.
Content of the invention
The present invention provides a kind of method of display loading data and electronic equipment, in order to solve to look into present in prior art When seeing data, list drags incoherent technical problem.
One aspect of the present invention provides a kind of method of display loading data, is applied in an electronic equipment, described electronics Equipment includes a display unit, and methods described includes:Obtain a list including M bar project, described M bar from the second electronic equipment Project is constituted by N number of group, and wherein, described M is the integer more than or equal to 1, N be less than or equal to M and more than or equal to 1 integer;Obtain Obtain triggering command, described triggering command is used for indicating that the list of described M bar project moves with respect to described display unit;Ring Answer described triggering command so that the K bar project in described M bar project is shown on described display unit, wherein, user is to M bar When the list of project is quickly stirred, first do not instruct the corresponding data item of loading, K is less than or equal to M and whole more than or equal to 1 Number;Obtain and the corresponding J data item of K bar project described in described M bar project from described second electronic equipment, wherein, J is big In the integer equal to 1;Described J data item correspondence is shown in described K bar project.
Preferably, described obtain the list that includes M bar project from the second electronic equipment while, methods described is also wrapped Include:Obtain the corresponding S data item of front Q bar project described M bar project from described second electronic equipment, wherein, Q is less than M, S It is the integer more than or equal to 1;Described S data item correspondence is shown in described Q bar project.
Preferably, the quantity of described front Q bar project is:The maximum number of entry that described performance of display unit shows; Or the number of entry comprising in first group in described N number of group.
Preferably, described obtain the list that includes M bar project from the second electronic equipment while, methods described is also wrapped Include:Obtain the item number that the total quantity of described M bar project and described N number of group, each group comprises from described second electronic equipment Amount.
Preferably, described obtain J corresponding with K bar project described in described M bar project from described second electronic equipment Data item, specifically includes:Judge whether the duration that described K bar project shows on described display unit meets scheduled duration;As Really described duration meets described scheduled duration, then obtain and K bar project described in described M bar project from described second electronic equipment Corresponding J data item.
Preferably, described obtain J corresponding with K bar project described in described M bar project from described second electronic equipment Data item, specifically includes:Judge whether described K bar project belongs to same group in described N number of group;If being belonging to same Group, then obtain the described J data item described same group from described second electronic equipment;If be belonging in described N number of group At least two groups, then obtain the described J data item described at least two groups from described second electronic equipment.
Preferably, obtaining and the corresponding J number of K bar project described in described M bar project from described second electronic equipment While according to item, also obtain the total quantity of described M bar project from described second electronic equipment, each group comprises described N number of group The number of entry and described K bar project be belonging in described N number of group the group information of which group.
Preferably, described after the second electronic equipment obtains a list including M bar project, methods described is also wrapped Include:Determine the data item storing Y group in described N number of group in described electronic equipment, wherein Y is the integer more than or equal to zero; Judge whether the quantity of described Y group is more than a predetermined value;If the quantity of described Y group is more than a predetermined value, delete institute State the corresponding data item of the group of the quantity exceeding described predetermined value in Y group.
Another aspect of the present invention provides a kind of electronic equipment, including:Display unit;Circuit board;Processor, is arranged at described On circuit board, and it is connected to described display unit, for obtaining a list including M bar project, described M from the second electronic equipment Bar project is constituted by N number of group, and wherein, described M is the integer more than or equal to 1, N be less than or equal to M and more than or equal to 1 integer; Obtain triggering command, described triggering command is used for indicating that the list of described M bar project moves with respect to described display unit; Respond described triggering command so that the K bar project in described M bar project is shown on described display unit, wherein, user is to M When the list of bar project is quickly stirred, first do not instruct the corresponding data item of loading, K is less than or equal to M and to be more than or equal to 1 Integer;Obtain and the corresponding J data item of K bar project described in described M bar project from described second electronic equipment, wherein, J is Integer more than or equal to 1;Described J data item correspondence is shown in described K bar project.
Preferably, described process implement body is additionally operable to obtain the row including M bar project described from the second electronic equipment While table, obtain the corresponding S data item of front Q bar project described M bar project from described second electronic equipment, wherein, Q is little In M, S is the integer more than or equal to 1;Described S data item correspondence is shown in described Q bar project.
Preferably, described process implement body is additionally operable to obtain the row including M bar project described from the second electronic equipment While table, obtain, from described second electronic equipment, the item that the total quantity of described M bar project and described N number of group, each group comprises Mesh number amount.
Preferably, described processor specifically includes:First process chip, for judging described K bar project in described display On unit, whether the duration of display meets scheduled duration;Second processing chip, if meet described pre- timing for described duration Long, then obtain and the corresponding J data item of K bar project described in described M bar project from described second electronic equipment.
Preferably, described processor specifically includes:3rd process chip, for judging whether described K bar project belongs to institute State same group in N number of group;Fourth process chip, if for being belonging to same group, obtains from described second electronic equipment Described J data item in obtaining described same group;If at least two group be belonging in described N number of group, from described second Described J data item in described at least two groups of electronic equipment acquisition.
Preferably, described process implement body is additionally operable to obtaining and institute in described M bar project from described second electronic equipment Total quantity, the institute of described M bar project while stating K bar project corresponding J data item, is also obtained from described second electronic equipment State the number of entry that in N number of group, each group comprises and described K bar project is belonging to the group information of which group in described N number of group.
Preferably, described electronic equipment also includes a cleaning chip, is arranged on described circuit board, for described from After two electronic equipments acquisitions one include the list of M bar project, determine and store in described electronic equipment Y in described N number of group The data item of group, wherein Y is the integer more than or equal to zero;Judge whether the quantity of described Y group is more than a predetermined value;If institute The quantity stating Y group is more than a predetermined value, then delete the corresponding number of the group of the quantity exceeding described predetermined value in described Y group According to item.
The one or more technical schemes providing in the embodiment of the present invention, at least have the following technical effect that or advantage:
One embodiment of the invention first obtains M bar void item purpose list, and that is, only blank project is without loading data, institute With user can always down link up a dragging list to the last project, and only currently displaying on the display unit The corresponding data item of K bar project can be loaded, so each loading data amount is little, loading velocity is fast, and user is very long without waiting Time, equally go to click on page of data under buttons such as " more " could load also without user, so using more succinct, more square Just.
Further, in one embodiment of the invention, when loading all blank projects, just before default loading, Q bar project corresponds to Data item, and show on the display unit, the quantity of such as Q bar project is the maximum project that performance of display unit shows Quantity, or can be the number of entry comprising in first group in N number of group, so, user can direct viewing to data above , the quantity of such loading is little, so speed also fast it is not necessary to wait for a long time, simultaneously it can also be seen that data above.
Further, in one embodiment of the invention when obtaining M bar project, the total quantity of M bar project and every can also be obtained The number of entry comprising in individual group, so facilitating electronic equipment or the second electronic equipment to calculate currently displaying K bar project is Belong to which group or which group, and then the data item known this request or send which group.
Further, in one embodiment of the invention, when user's quick dragging items row are other, would not load corresponding Data, for example, just stop when user sees oneself project interested, at this moment electronic equipment or the second electronic equipment can be sentenced Whether the duration that disconnected K bar project shows on the display unit meets scheduled duration, and such as 1 second, if met, electronics set Standby or the second electronic equipment is just learnt that user needs to check the corresponding data item of K bar project and is not felt it is possible to save loading , so that loading data is more targeted, data volume is also little for the data item of interest, can economize on resources.
Further, in one embodiment of the invention, while each data item obtaining and loading, M bar item can also be obtained Purpose total quantity, the number of entry that each group comprises and K bar project are belonging to the group information of which group, because the second electronics sets Standby upper data may have occurred and that change it is possible to be updated in time, is easy to accurately judge which K bar project belongs to next time Individual group.
Further, in one embodiment of the invention, the data preserving predetermined group number in the electronic device can also be set, surpass The data crossing this predetermined group number is just deleted, it is possible to reduce system resource takies.
Brief description
Fig. 1 is the method flow diagram of the display loading data in one embodiment of the invention;
Fig. 2 is blank project first display schematic diagram in one embodiment of the invention;
Fig. 3 is blank project second display schematic diagram in one embodiment of the invention;
Fig. 4 is the data display schematic diagram in one embodiment of the invention;
Fig. 5 is the Organization Chart of the electronic equipment in one embodiment of the invention.
Specific embodiment
The present invention provides a kind of method of display loading data and electronic equipment, in order to solve to look into present in prior art When seeing data, list drags incoherent technical problem.
Technical scheme in the embodiment of the present invention is to solve above-mentioned technical problem, and general thought is as follows:
First obtain M bar void item purpose list, that is, only have blank project without loading data, so user can be always The dragging list to the last project down linking up, and only currently displaying K bar project on the display unit corresponds to Data item can be loaded, so each loading data amount is little, loading velocity is fast, user without waiting for a long time, equally also not User is needed to go to click on page of data under buttons such as " more " could load, so using more succinct, more convenient.
In order to be better understood from technique scheme, below in conjunction with Figure of description and specific embodiment to upper State technical scheme to be described in detail.
One embodiment of the invention provides a kind of method of display loading data, applies in an electronic equipment, this electronics sets Standby inclusion one display unit, this electronic equipment is, for example, mobile phone, panel computer, notebook computer, desktop computer etc., refer to figure 1, the method includes:
Step 101:Obtain a list including M bar project from the second electronic equipment, M bar project is constituted by N number of group, its In, M is the integer more than or equal to 1, N be less than or equal to M and more than or equal to 1 integer;
Step 102:Obtain triggering command, triggering command is used for indicating that the list of M bar project is carried out with respect to display unit Mobile;
Step 103:So that showing the K bar project in M bar project on display unit, wherein, K is little to response triggering command In equal to M and more than or equal to 1 integer;
Step 104:Obtain and the corresponding J data item of K bar project M bar project from the second electronic equipment, wherein, J is Integer more than or equal to 1;
Step 105:J data item correspondence is shown in K bar project.
Wherein, in a step 101, from the second electronic equipment obtain a list including M bar project can be specifically but not It is limited to electronic equipment and actively sends a request to one second electronic equipment, such as, after server, the second electronic equipment is based on should Ask sending or the second electronic equipment active push, the second electronic equipment can be service in a particular application Device.
And in a step 102, obtain triggering command can be by user with finger on touch sensitive display unit on sliding It is dynamic or be by the roller on user's slip electronic equipment or be to press the directionkeys on keyboard to obtain by user, Certainly, can also be the triggering command crossed by other means in other embodiments.
For the ease of skilled in the art realises that the specific implementation process of the method, specific example below will be lifted and will come in detail Describe in detail bright, wherein, electronic equipment taking mobile phone as a example, the second electronic equipment taking server as a example, certainly, in other embodiments, Electronic equipment can also be other electronic equipments, and the second electronic equipment can also be other electronic equipments, but substantially implemented Journey is all similar.
In the present embodiment, for example when user inputs a network address on the browser of oneself mobile phone, then click on and " search Rope " button, and as mobile phone terminal it is simply that have received a search operation, then just actively send a requests for page to server, For example, http request, when server receives this request, just returns a list comprising M bar project to this mobile phone terminal, and this M Bar project is constituted by N number of group, and wherein, M bar project is divided into N number of group of implementation two kinds:One is, server is receiving request Before, M bar project is divided into N number of group;Two are, M bar project is just divided into N number of group after receiving request by server.
In another embodiment or server active push is to one webpage of mobile phone, so, mobile phone can be direct Obtain a list including M bar project.
As shown in Fig. 2 mobile phone 20 there is a display unit 201 it is assumed that the last performance of display unit 201 show most The number of entry is front 6 projects 202 of 6, M bar project, and project 1, project 2, project 3, project 4, project 5, project 6 are shown in aobvious Show on unit 201.It is all blank project from project 1 to project 6, that is, the data of these projects is not loaded and shows, this A little projects 202 can be some titles, to facilitate user to find out oneself content interested.
If next, display unit 201 is touch sensitive display unit, user can be by finger or pointer in display Slide from the bottom up on unit 201 or slide from top to bottom, can also be and moved up and down using the roller of mobile phone 20, Or moved up and down by the directionkeys of mobile phone 20 so that the M bar project on display unit 201 is on display unit 201 Move up and down.For mobile phone 20 end, when carrying out these operations, it just obtains a triggering command to user, then executes This triggering command is so that the M bar project on display unit 201 moves up and down on display unit 201.
After responding this triggering command, just can make the K bar project in M bar project can be shown on display unit 201, its In, K be more than or equal to M and more than or equal to 1 integer.In the present embodiment, refer to Fig. 3, the display of display unit 201 is illustrated Figure, such as slided from the bottom up on display unit 201 by finger during user, then the list of M bar project will from lower toward Upper rolling, so in figure 3, currently on display unit 201, the project 203 of display is exactly project 6, project 7, project 8, project 9th, project 10 and project 11.By that analogy, user can up slide the list of M bar project always, a to the last project, So it is much smoother that user operation is got up, very coherent, user quickly can stir list, searches out oneself interested Project.
Further, when user is during sliding list, some projects in M bar project just ceaselessly rest on display On unit 201, such as in Fig. 3, display unit 201 shows that project 8, to project 11, is then carried out step 104, from server Obtain and this corresponding J data item of 6 projects 203, then J data item correspondence is shown in 6 projects 203, please join Examine Fig. 4, data item 204 is shown in corresponding project on display unit 201.
In another embodiment, in order to reduce unnecessary data loading capacity further, in the present embodiment, executing step When rapid 104, also to judge whether the duration that K bar project shows on display unit 201 meets scheduled duration, only meet in advance When regularly long, just obtain J data item corresponding with K bar project from server;Wherein, scheduled duration e.g. 2 seconds or 3 seconds Clock, only wants to make period of reservation of number long, those skilled in the art can be configured according to practical situation.
When user is quickly stirred in the list to M bar project, first can not instruct the corresponding data of loading, but Stop after finding oneself project interested, and the time stopping on the display unit in oneself project interested reaches After scheduled duration, just instruction loads corresponding data, and without seeing oneself project interested, user just can directly be closed Fall webpage, thus can eliminate data transfer it is possible to economize on resources.
Please continue to refer to Fig. 3, such as user has translated into project 6 to project 11 during ceaselessly stirring, and user is to item Mesh 8 is relatively interested, so just project 6 to project 11 is rested on display unit 201, the scheduled duration in 2 seconds or 3 seconds It is very short for user, in stop more than 2 seconds or 3 seconds afterwards, mobile phone 20 will obtain project 6 to item from server Data item corresponding to mesh 11, and be shown on display unit 201, as shown in Figure 4.
At step 104, can be currently displaying by mobile phone 20 oneself detection itself be which project, then actively Originate request to server, request of loading corresponding data item, then server corresponding number is returned to mobile phone 20 according to this request According to;Can also be that server obtains the currently displaying project of mobile phone 20 by actively monitoring, then, obtain corresponding data item simultaneously Return to mobile phone 20.
In another embodiment, so that user's energy direct viewing, to a part of data, employs following technological means, I.e.:While obtain the list of M bar project from server, just obtain the corresponding S data item of front Q bar project from server, Wherein, Q is less than M, and S is the integer more than or equal to 1, and S data item correspondence is shown in Q bar project, for the number loading It is unlikely to too big according to amount and needs user to wait the long time, the quantity of front Q bar project can be disposable for display unit 201 The maximum number of entry that can show, 6 in e.g. Fig. 2 project 202;Or the project comprising in first group in N number of group Quantity, such as the number of entry comprising in first group is 8, then the value of Q is exactly 8.Certainly, in other embodiments, the taking of Q Value can also be other value, and those skilled in the art, in practice, can be configured according to practical situation.
In another embodiment, while server obtains the list of M bar project, obtain M bar project from server The number of entry that in total quantity and N number of group, each group comprises, the total quantity of such as project is 50, the item number that each group comprises Amount is 10, that is, be divided into 5 groups;So, when above-mentioned mobile phone 20 sends the request of loading data to server it is possible to first count Which group is K bar project of calculating be belonging in, or whether belongs to same group, just taking 6 projects 202 in Fig. 2 as a example, handss It is first item that machine 20 can calculate in the currently displaying the top of display unit 20 one, and the last item project is the 6th article, That is belonging to first group it may determine that going out 6 projects 202, in this manner it is possible to include group number in the request, that is, passing through please Ask can allow server know mobile phone 20 need data item be which corresponding data item of group project, then, server according to Corresponding for this group data item is returned to mobile phone 20 by group number, and in implementing, server can be by 10 of whole one group The corresponding all data item of project all return or only return first article of project to the 6th article of corresponding data item of project.When So, as described above, judging which group whether K bar project belong to can also be that server passes through remote monitoring or other handss Duan Zizhu is judged, then returns again to corresponding data item.
Situation as shown in Figure 3, when the top one project of current display is project 6, the last item project is item During mesh 11, because every group includes 10 projects, so just can calculate, it is to organize across two from project 6 to project 11, this Sample, just can comprise the group number of first group and second group in the request, and so, server will be corresponding with second group by first group Data item return, in implementing, server can return all data item corresponding to project 20 for the project 1, also may be used Be a return project 6 to project 11 corresponding to data item.
It is described above default situation, in another embodiment, mobile phone 20 is obtaining and K bar item from server every time Moreover it is possible to obtain total quantity, every group of project comprising N number of group of M bar project from server while mesh corresponding J data item Quantity and K bar project are belonging to the group information of which group, so when the data on server or packet or other situations occur After change, mobile phone 20 can timely be learnt, thus can upper once calculate K bar project belong to which group when just can root Calculated according to updated data it is clear that the data item obtaining in this way also can compare accurately.
Method as described above, mobile phone 20 can load multiple groups of data item, and is stored in mobile phone 20, But when the data item of storage is excessive, will result in excessive resource occupation, so, the technical side providing in the embodiment of the present application In case, can periodically or user manually triggering is gone to detect and has been stored the Y data item organized in N number of group in current mobile phone 20, Wherein Y is the integer more than or equal to zero, and whether the quantity being then judged as Y group is more than a predetermined value, if greater than predetermined value , then delete the corresponding data item of the group of the quantity beyond predetermined value in Y group.For example, if determining current handss 5 corresponding data item of group of machine 20 memory storage, and predetermined value is set as 3 groups, then two groups in 5 groups will be deleted Corresponding data item, selects the principle deleted can be according to time order and function order or to select big two groups of data volume, Can also be to randomly choose.Therefore, it can reduce resource occupation so that the treatment effeciency of mobile phone 20 is higher.
Wherein, this predetermined value can be depending on the different memory sizes of mobile phone 20, if capacity is larger, and predetermined value can set Put big a bit, if capacity is less, it is a little bit smaller that predetermined value just can be arranged.
Hereinafter so that mobile phone 20 loading is as Android operation system as a example implementing at mobile phone 20 end is described again.
Firstly, it is necessary to the List View video data in Android platform is bound one Android.widget.Adapter, i.e. data model proxy interface, this data model proxy interface will be realized, as long as realize with Lower three interfaces, then can complete a basic list view and show, once load all data.First is public Abstract int getCount (), returns project sum, the i.e. line number of M bar bulleted list;Second is public Abstract Object getItem (int position), according to current project index position, returns project corresponding right As, such as project corresponding blank item-title or the corresponding data item of project;3rd is public abstract View getView (int position, View convertView, ViewGroup parent), returns list according to index The view of upper display, will the object that obtains of second interface be shown on display unit 201.
Although interface function is slightly different under other platforms, but the function that each interface function is realized is the same, This repeats no more.
And interface that a page view shows to be realized it is necessary to according to the currently displaying current page number of position calculation (i.e. Group number in previous embodiment), then only load the data of the current page number, when default, can only show blank list.
Various embodiments above can individually be implemented it is also possible to be combined with each other enforcement, and those skilled in the art can be according to reality Border needs to be selected.
Another embodiment of the present invention also provides a kind of electronic equipment, and this electronic equipment is, for example, mobile phone, panel computer, notes This computer, desktop computer etc..
Refer to shown in Fig. 5, this electronic equipment includes:Display unit 201;Circuit board 30;Processor 301, is arranged at electricity On road plate 30, and it is connected to display unit 201, for obtaining a list including M bar project, M bar item from the second electronic equipment Mesh is constituted by N number of group, and wherein, M is the integer more than or equal to 1, N be less than or equal to M and more than or equal to 1 integer;Obtain triggering Instruction, triggering command is used for indicating that the list of M bar project moves with respect to display unit 201;Response triggering command so that K bar project in M bar project is shown on display unit 201, wherein, K be less than or equal to M and more than or equal to 1 integer;From second Electronic equipment obtains and the corresponding J data item of K bar project in M bar project, and wherein, J is the integer more than or equal to 1;By J number It is shown in K bar project according to item correspondence.
Further, so that user can directly produce sees a part of data, and the size of the data volume of this partial data Not need, period of reservation of number is long to be defined for selection, employs following technology technological means, that is,:Processor 301 is specifically also used In while obtaining, from the second electronic equipment, the list that includes M bar project, before the second electronic equipment obtains M bar project The corresponding S data item of Q bar project, wherein, Q is less than M, and S is the integer more than or equal to 1;S data item correspondence is shown in Q In bar project.The maximum number of entry that the quantity of front Q bar project can show for 201 performances of display unit, e.g. Fig. 2 In 6 projects 202;Or the number of entry comprising in first group in N number of group, such as the number of entry comprising in first group It it is 8, then the value of Q is exactly 8.Certainly, in other embodiments, the value of Q can also be other value, people in the art Member, in practice, can be configured according to practical situation.
In another embodiment, processor 301 is specifically additionally operable to include M bar project obtaining one from the second electronic equipment While list, obtain, from the second electronic equipment, the number of entry that the total quantity of M bar project and N number of group, each group comprises.As This, be easy to electronic equipment and calculate which group is currently displaying item number belong to.
In another embodiment, processor 301 specifically includes:First process chip, single in display for judging K bar project In unit 201, whether the duration of display meets scheduled duration;Second processing chip, if meeting scheduled duration for duration, from Second electronic equipment obtains and the corresponding J data item of K bar project in M bar project.When user is carried out in the list to M bar project When quickly stirring, first can not instruct the corresponding data of loading, but stop after finding oneself project interested, and After the time that oneself project interested stops on the display unit reaches scheduled duration, just instruction loads corresponding data, such as Fruit does not see oneself project interested, and user just can directly turn off webpage, thus can eliminate data transfer, institute Economizing on resources.
In another embodiment, processor 301 specifically includes:3rd process chip, for judging whether K bar project belongs to In N number of group same group;Fourth process chip, if for being belonging to same group, obtains same from the second electronic equipment J data item in group;If be belonging in N number of group at least two groups, obtaining at least two groups from the second electronic equipment In J data item.
In another embodiment, processor 301 is specifically additionally operable to obtaining and K bar in M bar project from the second electronic equipment Total quantity, each group bag N number of group of M bar project while project corresponding J data item, is also obtained from the second electronic equipment The number of entry containing and K bar project are belonging to the group information that in N number of group, which is organized.So, when the number on the second electronic equipment According to or packet or after other situations change, electronic equipment can timely be learnt, thus can once calculate K bar upper Project belong to which group when just can be calculated according to updated data, the data item obtaining in this way also can compare More accurate.
In another embodiment, take to reduce system resource, electronic equipment also includes a cleaning chip, is arranged on electricity On road plate 30, for, after obtaining a list including M bar project from the second electronic equipment, determining in electronic equipment and storing The data item of Y group in N number of group, wherein Y is the integer more than or equal to zero;Judge whether the quantity of Y group is more than a predetermined value; If the quantity of Y group is more than a predetermined value, delete the corresponding data item of the group of the quantity beyond predetermined value in Y group.
In various embodiments above, cleaning chip, the first subprocessing chip, the second subprocessing chip, the 3rd subprocessing core Piece, the 4th subprocessing chip can also be same or different process chips.
Electronic equipment in the present embodiment is based on same invention with the method showing loading data in previous embodiment Two aspects under design, being above described in detail to the implementation process of method, so those skilled in the art Can be according to the structure of the electronic equipment being apparent from the present embodiment described above and implementation process, for the letter of description Clean, will not be described here.
The one or more technical schemes providing in the embodiment of the present invention, at least have the following technical effect that or advantage:
One embodiment of the invention first obtains M bar void item purpose list, and that is, only blank project is without loading data, institute With user can always down link up a dragging list to the last project, and only currently displaying on the display unit The corresponding data item of K bar project can be loaded, so each loading data amount is little, loading velocity is fast, and user is very long without waiting Time, equally go to click on page of data under buttons such as " more " could load also without user, so using more succinct, more square Just.
Further, in one embodiment of the invention, when loading all blank projects, just before default loading, Q bar project corresponds to Data item, and show on the display unit, the quantity of such as Q bar project is the maximum project that performance of display unit shows Quantity, or can be the number of entry comprising in first group in N number of group, so, user can direct viewing to data above , the quantity of such loading is little, so speed also fast it is not necessary to wait for a long time, simultaneously it can also be seen that data above.
Further, in one embodiment of the invention when obtaining M bar project, the total quantity of M bar project and every can also be obtained The number of entry comprising in individual group, so facilitating electronic equipment or the second electronic equipment to calculate currently displaying K bar project is Belong to which group or which group, and then the data item known this request or send which group.
Further, in one embodiment of the invention, when user's quick dragging items row are other, would not load corresponding Data, for example, just stop when user sees oneself project interested, at this moment electronic equipment or the second electronic equipment can be sentenced Whether the duration that disconnected K bar project shows on the display unit meets scheduled duration, and such as 1 second, if met, electronics set Standby or the second electronic equipment is just learnt that user needs to check the corresponding data item of K bar project and is not felt it is possible to save loading , so that loading data is more targeted, data volume is also little for the data item of interest, can economize on resources.
Further, in one embodiment of the invention, while each data item obtaining and loading, M bar item can also be obtained Purpose total quantity, the number of entry that each group comprises and K bar project are belonging to the group information of which group, because the second electronics sets Standby upper data may have occurred and that change it is possible to be updated in time, is easy to accurately judge which K bar project belongs to next time Individual group.
Further, in one embodiment of the invention, the data preserving predetermined group number in the electronic device can also be set, surpass The data crossing this predetermined group number is just deleted, it is possible to reduce system resource takies.
Obviously, those skilled in the art can carry out the various changes and modification essence without deviating from the present invention to the present invention God and scope.So, if these modifications of the present invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprise these changes and modification.

Claims (15)

1. a kind of method of display loading data, is applied in an electronic equipment, described electronic equipment includes a display unit, its It is characterised by, methods described includes:
Obtain a list including M bar project from the second electronic equipment, described M bar project is constituted by N number of group, and wherein, described M is Integer more than or equal to 1, N be less than or equal to M and more than or equal to 1 integer;
Obtain triggering command, described triggering command is used for indicating that the list of described M bar project is carried out with respect to described display unit Mobile;
Respond described triggering command so that the K bar project in described M bar project, wherein, Yong Hu are shown on described display unit When the list of M bar project is quickly stirred, first do not instruct the corresponding data item of loading, K is less than or equal to M and to be more than or equal to 1 integer;
Obtain and the corresponding J data item of K bar project described in described M bar project from described second electronic equipment, wherein, J is Integer more than or equal to 1;
Described J data item correspondence is shown in described K bar project.
2. the method for claim 1 is it is characterised in that obtaining one from the second electronic equipment and include M bar project described List while, methods described also includes:
Obtain the corresponding S data item of front Q bar project described M bar project from described second electronic equipment, wherein, Q is less than M, S It is the integer more than or equal to 1;
Described S data item correspondence is shown in described Q bar project.
3. method as claimed in claim 2 is it is characterised in that the quantity of described front Q bar project is:Described display unit is once The maximum number of entry that performance shows;Or the number of entry comprising in first group in described N number of group.
4. the method for claim 1 is it is characterised in that obtaining one from the second electronic equipment and include M bar project described List while, methods described also includes:
Obtain the item number that the total quantity of described M bar project and described N number of group, each group comprises from described second electronic equipment Amount.
5. the method for claim 1 is it is characterised in that described obtain and described M bar item from described second electronic equipment The corresponding J data item of the project of K bar described in mesh, specifically includes:
Judge whether the duration that described K bar project shows on described display unit meets scheduled duration;
If described duration meets described scheduled duration, obtain and K described in described M bar project from described second electronic equipment The corresponding J data item of bar project.
6. the method for claim 1 is it is characterised in that described obtain and described M bar item from described second electronic equipment The corresponding J data item of the project of K bar described in mesh, specifically includes:
Judge whether described K bar project belongs to same group in described N number of group;
If being belonging to same group, obtain the described J data item described same group from described second electronic equipment;
If at least two groups be belonging in described N number of group, obtaining described at least two groups from described second electronic equipment In described J data item.
7. the method for claim 1 is it is characterised in that obtaining and described M bar project from described second electronic equipment Described in K bar project corresponding J data item while, also obtain the sum of described M bar project from described second electronic equipment Amount, the number of entry that each group comprises in described N number of group and described K bar project are belonging to the group of which group in described N number of group Information.
8. the method for claim 1 is it is characterised in that obtaining one from the second electronic equipment and include M bar project described List after, methods described also includes:
Determine the data item storing Y group in described N number of group in described electronic equipment, wherein Y is the integer more than or equal to zero;
Judge whether the quantity of described Y group is more than a predetermined value;
If the quantity of described Y group is more than a predetermined value, delete the group of the quantity exceeding described predetermined value in described Y group Corresponding data item.
9. a kind of electronic equipment is it is characterised in that include:
Display unit;
Circuit board;
Processor, is arranged on described circuit board, and is connected to described display unit, for obtaining a bag from the second electronic equipment Include the list of M bar project, described M bar project is constituted by N number of group, and wherein, described M is the integer more than or equal to 1, N be less than etc. In M and more than or equal to 1 integer;Obtain triggering command, described triggering command be used for indicating the list of described M bar project with respect to Described display unit moves;Respond described triggering command so that the K in described M bar project is shown on described display unit Bar project, wherein, user, when the list to M bar project is quickly stirred, does not first instruct the corresponding data item of loading, and K is Less than or equal to M and more than or equal to 1 integer;Obtain and K bar project pair described in described M bar project from described second electronic equipment The J data item answered, wherein, J is the integer more than or equal to 1;Described J data item correspondence is shown in described K bar project.
10. electronic equipment as claimed in claim 9 is it is characterised in that described process implement body is additionally operable to described from second While electronic equipment obtains the list that includes M bar project, obtain front Q described M bar project from described second electronic equipment The corresponding S data item of bar project, wherein, Q is less than M, and S is the integer more than or equal to 1;By corresponding for described S data item display In described Q bar project.
11. electronic equipments as claimed in claim 9 are it is characterised in that described process implement body is additionally operable to described from second While electronic equipment obtains the list that includes M bar project, obtain the sum of described M bar project from described second electronic equipment The number of entry that comprises of each group in amount and described N number of group.
12. electronic equipments as claimed in claim 9 are it is characterised in that described processor specifically includes:
First process chip, for judging whether the duration that described K bar project shows on described display unit meets pre- timing Long;
Second processing chip, if meeting described scheduled duration for described duration, from described second electronic equipment obtain with The corresponding J data item of K bar project described in described M bar project.
13. electronic equipments as claimed in claim 9 are it is characterised in that described processor specifically includes:
3rd process chip, for judging whether described K bar project belongs to same group in described N number of group;
Fourth process chip, if for being belonging to same group, obtains described same group from described second electronic equipment Described J data item;If at least two groups be belonging in described N number of group, obtaining institute from described second electronic equipment State the described J data item at least two groups.
14. electronic equipments as claimed in claim 9 are it is characterised in that described process implement body is additionally operable to from described second Electronic equipment obtain with described in described M bar project while K bar project corresponding J data item, also from described second electronics Total quantity, each group comprises in described N number of group the number of entry and described K bar project that equipment obtains described M bar project are to belong to The group information of which group in described N number of group.
15. electronic equipments as claimed in claim 9, it is characterised in that described electronic equipment also includes a cleaning chip, are arranged On described circuit board, determine described electricity for described after the second electronic equipment obtains a list including M bar project The data item of Y group in described N number of group is stored, wherein Y is the integer more than or equal to zero in sub- equipment;Judge described Y group Quantity whether be more than a predetermined value;If the quantity of described Y group is more than a predetermined value, deletes in described Y group and exceed The data item corresponding to group of the quantity of described predetermined value.
CN201210191703.8A 2012-06-11 2012-06-11 A kind of method of display loading data and electronic equipment Active CN103488372B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210191703.8A CN103488372B (en) 2012-06-11 2012-06-11 A kind of method of display loading data and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210191703.8A CN103488372B (en) 2012-06-11 2012-06-11 A kind of method of display loading data and electronic equipment

Publications (2)

Publication Number Publication Date
CN103488372A CN103488372A (en) 2014-01-01
CN103488372B true CN103488372B (en) 2017-03-01

Family

ID=49828651

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210191703.8A Active CN103488372B (en) 2012-06-11 2012-06-11 A kind of method of display loading data and electronic equipment

Country Status (1)

Country Link
CN (1) CN103488372B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103941964B (en) * 2014-05-13 2017-04-19 上海卓易科技股份有限公司 Information loading method based on desktop components and intelligent terminal
CN104111782B (en) * 2014-07-04 2018-01-12 可牛网络技术(北京)有限公司 The method and browser that a kind of webpage slides
CN105786352B (en) * 2014-12-26 2019-08-06 阿里巴巴集团控股有限公司 The method, device and mobile terminal of quick positioning webpage content
CN106033297B (en) * 2015-03-16 2019-06-11 阿里巴巴集团控股有限公司 The exchange method and device of list browse
CN105426073A (en) * 2015-10-27 2016-03-23 努比亚技术有限公司 List display control apparatus and method
CN105892831A (en) * 2016-04-29 2016-08-24 青岛海信移动通信技术股份有限公司 Sliding display method and sliding display device of list data of mobile terminal
CN108271060A (en) * 2016-12-30 2018-07-10 深圳市优朋普乐传媒发展有限公司 A kind of list loading method and device
CN110851043B (en) * 2019-11-14 2021-05-11 腾讯科技(深圳)有限公司 Page display method and device, storage medium and electronic device
CN113326457A (en) * 2020-02-28 2021-08-31 北京沃东天骏信息技术有限公司 Method and device for refreshing page
CN115145676B (en) * 2022-09-05 2023-01-06 飞狐信息技术(天津)有限公司 Information interaction method and system
CN115794245B (en) * 2022-10-26 2023-11-14 珠海芯聚科技有限公司 Data loading method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101140574A (en) * 2006-09-05 2008-03-12 腾讯科技(深圳)有限公司 Web page content revealing method and customer terminal device
CN101566921A (en) * 2008-04-27 2009-10-28 宏达国际电子股份有限公司 Electronic device and user interface display method thereof
CN101770519A (en) * 2010-03-03 2010-07-07 深圳市戴维尼科技有限公司 Browser data loading method
CN101777068A (en) * 2009-12-31 2010-07-14 优视科技有限公司 Web page pre-reading and integrally browsing system for mobile communication equipment terminals and application method thereof
CN101789025A (en) * 2010-03-10 2010-07-28 青岛海信电器股份有限公司 Network batch data processing display list method and electric equipment using same
CN102096544A (en) * 2009-12-15 2011-06-15 宏达国际电子股份有限公司 Electronic device, computer program product, and method for controlling list scrolling
CN102196083A (en) * 2010-03-03 2011-09-21 厦门敏讯信息技术股份有限公司 Mobile phone platform list generating method
CN102222086A (en) * 2011-05-18 2011-10-19 广州市动景计算机科技有限公司 Webpage viewing method and webpage viewing device based on mobile terminal as well as mobile terminal
CN102402546A (en) * 2010-09-08 2012-04-04 腾讯科技(深圳)有限公司 Webpage content display method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110036463A (en) * 2009-10-01 2011-04-07 엘지전자 주식회사 Mobile terminal and browsing method thereof
KR101625884B1 (en) * 2009-12-09 2016-05-31 엘지전자 주식회사 Mobile terminal and operation control method thereof

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101140574A (en) * 2006-09-05 2008-03-12 腾讯科技(深圳)有限公司 Web page content revealing method and customer terminal device
CN101566921A (en) * 2008-04-27 2009-10-28 宏达国际电子股份有限公司 Electronic device and user interface display method thereof
CN102096544A (en) * 2009-12-15 2011-06-15 宏达国际电子股份有限公司 Electronic device, computer program product, and method for controlling list scrolling
CN101777068A (en) * 2009-12-31 2010-07-14 优视科技有限公司 Web page pre-reading and integrally browsing system for mobile communication equipment terminals and application method thereof
CN101770519A (en) * 2010-03-03 2010-07-07 深圳市戴维尼科技有限公司 Browser data loading method
CN102196083A (en) * 2010-03-03 2011-09-21 厦门敏讯信息技术股份有限公司 Mobile phone platform list generating method
CN101789025A (en) * 2010-03-10 2010-07-28 青岛海信电器股份有限公司 Network batch data processing display list method and electric equipment using same
CN102402546A (en) * 2010-09-08 2012-04-04 腾讯科技(深圳)有限公司 Webpage content display method and system
CN102222086A (en) * 2011-05-18 2011-10-19 广州市动景计算机科技有限公司 Webpage viewing method and webpage viewing device based on mobile terminal as well as mobile terminal

Also Published As

Publication number Publication date
CN103488372A (en) 2014-01-01

Similar Documents

Publication Publication Date Title
CN103488372B (en) A kind of method of display loading data and electronic equipment
CN107800888B (en) Information display method and device
US20120110453A1 (en) Display of Image Search Results
CN112559086B (en) Applet page rendering method and device, electronic equipment and readable storage medium
CN102902815B (en) For the result display systems of search engine
US20140237026A1 (en) Method and apparatus for loading resource files of an application
CN103034518B (en) The method and browser of loading browser control instrument
CN107506104A (en) Desktop icon sorting method and device, mobile terminal and storage medium
CN102902816B (en) Search Results display packing, system and client
CN105022585B (en) A kind of message display method and terminal
CN106469094A (en) A kind of Word message sharing method and mobile terminal
CN109983429A (en) Video playback in group communication
JP2022113740A (en) Terminal, control method of terminal, and program
CN105094557A (en) Method and device for display control, and electronic device
CN105138698B (en) Dynamic layout method and device for webpage
CN102478986A (en) Portable electronic device and information sharing method thereof
CN105745612A (en) Resizing technique for display content
US20150032813A1 (en) Techniques to locate and display content shared with a user
CN111680246B (en) Grouping title top-setting method, device and equipment based on recylerview left-right linkage control
CN113220393A (en) Display method and device and electronic equipment
CN105549844A (en) Picture or information sticky method and device and mobile terminal
CN101883179A (en) System and method for realizing arbitrary positioning of functional desktop window on mobile phone
CN105488072A (en) Target object selection method, device and system in target library
CN113485600A (en) Singing list sharing method and device and electronic equipment
CN107025280A (en) The processing method and mobile terminal of picture

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant