CN103905445A - Table data display method and device - Google Patents
Table data display method and device Download PDFInfo
- Publication number
- CN103905445A CN103905445A CN201410129258.1A CN201410129258A CN103905445A CN 103905445 A CN103905445 A CN 103905445A CN 201410129258 A CN201410129258 A CN 201410129258A CN 103905445 A CN103905445 A CN 103905445A
- Authority
- CN
- China
- Prior art keywords
- table data
- list items
- list
- loaded
- identification information
- 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
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a table data display method and device, and belongs to the Internet technical field. The table data display method includes the steps that the number of table items of a table is queried; all the table items of the table are loaded according to the number of the table items; the table rolling operation is detected within the screen range; the table items displayed within the screen range are determined according to the detected table rolling operation; table data corresponding to the table items displayed within the screen range are obtained, and the obtained table data are displayed. The table data display device comprises a query module, a loading module, a detecting module, a determining module, an obtaining module and a display module. The table items displayed within the screen range are determined according to the table rolling operation, and the table data corresponding to the table items displayed within the screen range are obtained and displayed. As it is unnecessary to page the table items, the display mode is flexible. In addition, the corresponding table data are displayed directly according to the table rolling operation, the display process of the table data is simple, and therefore operation experience of users is good.
Description
Technical field
The present invention relates to Internet technical field, particularly a kind of display packing of table data and device.
Background technology
Along with the development of present Internet technology, increasing people is by browse network obtaining information, the data corresponding due to information show in interface in the mode of list conventionally, each list items comprises a table data that information is corresponding, user, by clicking table data, obtains information.Due to the different display packing of table data, can bring different experience to user, therefore, need to select rational table data display packing.
A kind of display packing of table data is provided in correlation technique, in the method, list items has been carried out to paging, list items number in every page is identical, and show point page information after display paging in interface in list, wherein, each paging information corresponding lists item carries out after paging one page wherein.In real time a point page information is detected, in the time detecting that user clicks point page information, obtain this point of page information corresponding page in list items, load the table data that list items is corresponding simultaneously and show.For example, list items is divided into three pages, show the page number producing after display paging below interface in list, be respectively the page number one, the page number two and the page number three, wherein, the corresponding list items of the page number one carries out the first page after paging, the page number two respective column list items carry out the second page after paging, the page number three respective column list items carry out the 3rd page after paging, in the time detecting that user clicks the page number three, obtain the list items in the 3rd page of the page number three correspondences, load the table data of the list items in the 3rd page simultaneously and show.
Realizing in process of the present invention, inventor finds that said method at least exists following problem:
Due to list items is carried out after paging, the table data of every page of demonstration is fixed, display mode underaction.In addition, because needs detect a point page information in real time, in the time detecting that user clicks point page information, then show corresponding table data, cause the process of display list data more loaded down with trivial details, therefore, user's operating experience is poor.
Summary of the invention
In order to solve the problem of prior art, the embodiment of the present invention provides a kind of display packing and device of table data.Described technical scheme is as follows:
First aspect, provides a kind of display packing of table data, and described method comprises:
The list items quantity of Query List, loads whole list items of described list according to described list items quantity;
Detection list rolling operation within the scope of screen;
Determine according to the list scrolling operation detecting the list items showing within the scope of screen;
Obtain table data corresponding to list items showing within the scope of screen, and show the table data getting.
In conjunction with first aspect, in the possible implementation of the first of first aspect, described in obtain within the scope of screen table data corresponding to list items showing, include but not limited to:
Judge in the list items showing within the scope of screen and whether have the list items that has not loaded table data;
If there is the list items that has not loaded table data in the list items showing within the scope of screen, the corresponding table data of list items that has not loaded table data is loaded, and obtain table data corresponding to list items showing within the scope of screen from the table data loading.
In conjunction with the possible implementation of the first of first aspect, in the possible implementation of the second of first aspect, described the corresponding table data of list items that has not loaded table data is loaded, include but not limited to:
Obtain the identification information of each list items that has not loaded table data;
Send the load request of table data to server, in the load request of described table data, at least carry the identification information of each list items that has not loaded table data;
Receive table data corresponding to described identification information that described server returns, and load the table data that described server returns.
In conjunction with the possible implementation of the first of first aspect, in the third possible implementation of first aspect, described the corresponding table data of list items that has not loaded table data is loaded, include but not limited to:
Obtain the position range information of all list items that do not loaded table data;
Send the load request of table data to server, in the load request of described table data, at least carry the position range information of all list items that do not loaded table data;
Receive table data corresponding to described position range information that described server returns, and from table data corresponding to described position range information, determine all corresponding table datas of list items that do not loaded table data, and load all corresponding table datas of list items that do not loaded table data.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, described in obtain the position range information of all list items that do not loaded table data before, also comprise:
Determine the group identification information of each list items place group, and positional information using the group identification information of each list items place group as each list items;
Determine first group of identification information of all first list item place groups that do not loaded table data, and determine second group of identification information of all tail list items place groups that do not loaded table data;
The described position range information of obtaining all list items that do not loaded table data, includes but not limited to:
Position range information using described first group of identification information to all groups of identification informations between described second group of identification information as all list items that do not loaded table data.
Second aspect, provides a kind of display unit of table data, and described device comprises:
Enquiry module, for the list items quantity of Query List;
Load-on module, for loading whole list items of described list according to described list items quantity;
Detection module, for detection list rolling operation within the scope of screen;
Determination module, for determining according to the list scrolling operation detecting the list items showing within the scope of screen;
Acquisition module, for obtaining table data corresponding to list items showing within the scope of screen;
Display module, for showing the table data getting.
In conjunction with second aspect, in the possible implementation of the first of second aspect, described acquisition module, includes but not limited to:
Judging unit, for judging whether the list items showing within the scope of screen exists the list items that has not loaded table data;
Loading unit, while not loaded the list items of table data, loads the corresponding table data of list items that has not loaded table data for existing when the list items showing within the scope of screen;
Acquiring unit, for obtaining from the table data loading table data corresponding to list items showing within the scope of screen.
In conjunction with the possible implementation of the first of second aspect, in the possible implementation of the second of second aspect, described loading unit, includes but not limited to:
First obtains subelement, for obtaining the identification information of each list items that has not loaded table data;
First sends subelement, for send the load request of table data to server, at least carries the identification information of each list items that has not loaded table data in the load request of described table data;
First receives subelement, table data corresponding to described identification information of returning for receiving described server;
First loads subelement, the table data of returning for loading described server.
In conjunction with the possible implementation of the second of second aspect, in the third possible implementation of second aspect, described loading unit, includes but not limited to:
Second obtains subelement, for obtaining the position range information of all list items that do not loaded table data;
Second sends subelement, for send the load request of table data to server, at least carries the position range information of all list items that do not loaded table data in the load request of described table data;
Second receives subelement, table data corresponding to described position range information of returning for receiving described server;
First determines subelement, for determining all corresponding table datas of list items that do not loaded table data from table data corresponding to described position range information;
Second loads subelement, for loading all corresponding table datas of list items that do not loaded table data.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect, described loading unit, also comprises:
Second determines subelement, for determining the group identification information of each list items place group, and positional information using the group identification information of each list items place group as each list items;
The 3rd determines subelement, for determining first group of identification information of all first list item place groups that do not loaded table data, and determines second group of identification information of all tail list items place groups that do not loaded table data;
Described second obtains subelement, for the position range information using described first group of identification information to all groups of identification informations between described second group of identification information as all list items that do not loaded table data.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
The list items showing within the scope of screen is determined in the list scrolling operation detecting by basis, obtain and display screen in the table data corresponding to list items of demonstration.Owing to not needing that list items is carried out to paging, thereby make display mode more flexible.In addition, directly according to list scrolling, operation shows corresponding table data, and the process of display list data is fairly simple, and therefore, user's operating experience is better.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the display packing flow chart of a kind of table data of providing of the embodiment of the present invention one;
Fig. 2 is the display packing flow chart of a kind of table data of providing of the embodiment of the present invention two;
Fig. 3 is the display packing flow chart of a kind of table data of providing of the embodiment of the present invention three;
Fig. 4 is the structural representation of the display unit of a kind of table data of providing of the embodiment of the present invention four;
Fig. 5 is the structural representation of a kind of acquisition module of providing of the embodiment of the present invention four.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment mono-
Because existing correlation technique is when the display list data, list items need be carried out to paging, the list items number in every page is identical, and shows point page information after display paging in interface in list.In real time a point page information is detected, in the time detecting that user clicks point page information, obtain this point of page information corresponding page in list items, load the table data that list items is corresponding simultaneously and show.Due to list items is carried out after paging, the table data of every page of demonstration is fixed, display mode underaction.In addition, because needs detect a point page information in real time, in the time detecting that user clicks point page information, then show corresponding table data, cause the process of display list data more loaded down with trivial details, therefore, user's operating experience is poor.
In order to make the display mode of table data more flexible, and the operating experience of user while promoting display list data, the embodiment of the present invention provides a kind of display packing of table data, the method can be applicable to terminal, this terminal includes but not limited to mobile phone, computer, panel computer etc., referring to Fig. 1, the method flow that the present embodiment provides comprises:
101: the list items quantity of Query List, according to whole list items of list items quantity loading list;
102: detection list rolling operation within the scope of screen;
103: determine according to the list scrolling operation detecting the list items showing within the scope of screen;
104: obtain table data corresponding to list items showing within the scope of screen, and show the table data getting.
Wherein, obtain table data corresponding to list items showing within the scope of screen, include but not limited to:
Judge in the list items showing within the scope of screen and whether have the list items that has not loaded table data;
If there is the list items that has not loaded table data in the list items showing within the scope of screen, the corresponding table data of list items that has not loaded table data is loaded, and obtain table data corresponding to list items showing within the scope of screen from the table data loading.
Wherein, the corresponding table data of list items that has not loaded table data is loaded, includes but not limited to:
Obtain the identification information of each list items that has not loaded table data;
Send the load request of table data to server, in the load request of table data, at least carry the identification information of each list items that has not loaded table data;
Table data corresponding to identification information that reception server returns, and the table data returned of load server.
Wherein, the corresponding table data of list items that has not loaded table data is loaded, includes but not limited to:
Obtain the position range information of all list items that do not loaded table data;
Send the load request of table data to server, in the load request of table data, at least carry the position range information of all list items that do not loaded table data;
Table data corresponding to position range information that reception server returns, and from table data corresponding to position range information, determine all corresponding table datas of list items that do not loaded table data, and load all corresponding table datas of list items that do not loaded table data.
Wherein, before obtaining the position range information of all list items that do not loaded table data, also comprise:
Determine the group identification information of each list items place group, and positional information using the group identification information of each list items place group as each list items;
Determine first group of identification information of all first list item place groups that do not loaded table data, and determine second group of identification information of all tail list items place groups that do not loaded table data;
The position range information of obtaining all list items that do not loaded table data, comprising:
All groups of identification informations between first group of identification information to the second group identification information are as the position range information of all list items that do not loaded table data.
The method that the present embodiment provides, the list items showing within the scope of screen is determined in the list scrolling detecting by basis operation, obtain and display screen in the table data corresponding to list items of demonstration.Owing to not needing that list items is carried out to paging, thereby make display mode more flexible.In addition, directly according to list scrolling, operation shows corresponding table data, and the process of display list data is fairly simple, and therefore, user's operating experience is better.
Embodiment bis-
The embodiment of the present invention provides a kind of display packing of table data, and in conjunction with the content of above-described embodiment one, the method that the present embodiment is provided is illustrated.Referring to Fig. 2, the method flow that the present embodiment provides comprises:
201: the list items quantity of Query List, according to whole list items of list items quantity loading list;
While loading due to list items paging, need to load page by page, and load list items while load corresponding table data, if now user need to obtain table data corresponding to list items below, need to wait for after list items loaded above, could load list items below, thereby obtain corresponding table data.Can make like this period of reservation of number longer, cause overall reciprocal process friendly not, and can consume more flow in the time loading table data corresponding to list items above.
Occur for fear of above-mentioned situation, the present embodiment has adopted the loading method of following list items: the list items quantity of Query List, and according to whole list items of list items quantity loading list.Due in advance by whole list items loadeds, can allow like this user need not wait for that list items loads page by page, and be directly targeted to the list items corresponding to table data that need to obtain, thus make period of reservation of number shorter, overall reciprocal process is more friendly.In addition, owing to not loading list items while load corresponding table data, but user navigates to after list items corresponding to the table data that need to obtain by the time, reloads corresponding table data, thereby also can reduce the flow expending.
The present embodiment not querying method of the list items quantity to Query List is done concrete restriction, includes but not limited to: send the list items quantity inquiry request of list to server, the list items quantity of the list that reception server returns according to inquiry request.
For example, send the list items quantity inquiry request of list to server, the list items quantity of the list that reception server returns according to inquiry request is 100, now, loads whole list items of list according to 100 of list items quantity.
202: detection list rolling operation within the scope of screen;
The present embodiment is not done concrete restriction to the detection mode of detection list rolling operation within the scope of screen, includes but not limited to: the input mode corresponding according to the input equipment of current terminal, to list scrolling, operation detects.
For example, the input mode that current terminal input equipment is corresponding is touch-control input, can detect the slide on current terminal screen, and the slide on the screen detecting is operated as list scrolling.If the input mode that current terminal input equipment is corresponding is mouse input, can detects the rolling operation of mouse pulley, and the rolling operation of the mouse pulley detecting is operated as list scrolling.Certainly, can also adopt other input equipment, and adopt corresponding list scrolling operation detection mode, the present embodiment is not done concrete restriction to this.
203: determine according to the list scrolling operation detecting the list items showing within the scope of screen;
The present embodiment, to doing concrete restriction according to definite mode of the list items showing within the scope of the definite screen of list scrolling operation detecting, does not include but not limited to: determine according to the attribute of the list scrolling operation detecting the list items showing within the scope of screen.Wherein, the attribute of list scrolling operation at least comprises rotating direction and rolling amplitude.Certainly, the attribute of list scrolling operation can also comprise other content, and the present embodiment is not done concrete restriction to this.
Wherein, determine that according to the attribute of the list scrolling operation detecting the list items showing within the scope of screen can adopt with the following method: the rotating direction of determining list items according to the rotating direction of the list scrolling operation detecting, stop can determining opportunity the rolling amplitude of list items according to the list scrolling operation detecting, determine according to the rolling amplitude of the rotating direction of list items and list items the list items showing within the scope of screen.Certainly, determine that according to the attribute of the list scrolling operation detecting the list items showing within the scope of screen can also adopt other to determine method, the present embodiment is not done concrete restriction to this.
For example, the input mode that current terminal input equipment is corresponding is touch-control input, and now detection list rolling operation needs the corresponding slide on screen that detects.If the down sliding operation on current terminal screen detected, the rotating direction of list items is downward.In the time detecting that down sliding operation stops, can determining the rolling amplitude of list items, now, then can determine according to the rolling amplitude of the rotating direction of list items and list items the list items showing within the scope of screen.
204: judge in the list items showing within the scope of screen whether have the list items that has not loaded table data;
Whether the present embodiment does not exist the judgment mode of the list items that has not loaded table data to do concrete restriction in the list items showing within the scope of screen to judging, include but not limited to: load mark for each list items arranges one in advance, the loading mark that each list items is corresponding is used for representing whether this list items has loaded table data.Detect the loading mark corresponding to list items of demonstration in screen, judge in the list items showing within the scope of screen, whether there is the list items that has not loaded table data according to testing result.Wherein, loading mark can be Boolean, can also be character string, and the present embodiment is not done concrete restriction to loading the representation of mark.
For example, in the time that loading is masked as Boolean, if a Boolean corresponding to list items is 1, represent that this list items has loaded table data, if a Boolean corresponding to list items is 0, represent that this list items has not loaded table data.Certainly, can also be 0 to represent that this list items has loaded table data with Boolean, Boolean is that this list items of 1 expression has not loaded table data, the present embodiment is not done concrete restriction to this.Represent that take Boolean as 1 this list items has loaded table data as example, detect Boolean corresponding to list items showing within the scope of screen, if having Boolean is 0 list items, can determines and in the list items showing within the scope of screen, have the list items that has not loaded table data.
205: if there is the list items that has not loaded table data in the list items showing within the scope of screen, obtain the identification information of each list items that has not loaded table data;
In order to distinguish different list items, can for each list items, an identification information be set in advance, the unique corresponding identification information of each list items, different identification information corresponding to list items.Wherein, the identification information of each list items can be the number information of this list items in list, and certainly, the identification information that each list items is corresponding can also be other content, and the present embodiment is not done concrete restriction to the content of identification information.
The present embodiment is not done concrete restriction to the obtain manner of the identification information that obtains each list items that has not loaded table data, include but not limited to: detect according to the order of sequence loading mark corresponding to list items showing within the scope of screen, do not load table data if detect the current list item, obtain the identification information of the current list item, until the list items showing within the scope of current screen detection is complete.
For example, in list, one has 100 list items, and 100 list items are numbered, and is respectively the 1st to the 100th, and the list items showing within the scope of current screen is the 10th to the 19th, altogether 10 list items.Detect according to the order of sequence loading mark corresponding to list items showing within the scope of screen, do not loaded table data if detect the 10th, obtain the identification information of the 10th list items.Detect in the manner described above the 19th always, can obtain the identification information of each list items that has not loaded table data in the list items showing within the scope of screen.
206: send the load request of table data to server, in the load request of table data, at least carry the identification information of each list items that has not loaded table data;
There is table data corresponding to all list items in list because server is pre-stored, in the list items showing within the scope of terminal is determined screen, exist while not loaded the list items of table data, can send to server the load request of table data, to obtain table data corresponding to the list items that has not loaded table data showing within the scope of screen.
Wherein, in the load request of the table data sending to server, at least carry the identification information of each list items that has not loaded table data, certainly, in request, can also carry other content, the present embodiment not subtend server sends concrete restriction of content work of carrying in the load request of table data.
207: table data corresponding to identification information that reception server returns, and the table data returned of load server;
This example is not receiving after the load request of table data server, obtain the obtain manner of corresponding table data and do concrete restriction, include but not limited to: retrieve in the table data of this locality storage according to the identification information of the each list items that has not loaded table data carrying in table data load request, obtain the table data retrieving.
For the ease of understanding, take identification information as number information as example explains, for example, in list, one has 100 list items, and server stores these 100 table datas that list items is corresponding in advance in this locality.The number information that has not loaded the list items of table data in the load request of table data that terminal sends if receive is respectively the 10th to the 15th, now, server is stored into line retrieval according to the number information that has not loaded the list items of table data in request in this locality, obtain the table data retrieving, obtain the table data of 15 list items of the 10th list items to the.
Terminal receives after the table data that server returns, the table data that load server returns, further, for fear of the follow-up table data of having obtained of obtaining to server, terminal, receiving after the table data that server returns, can be stored in this locality.Accordingly, terminal receives after the table data that server returns, and except the table data that load server returns, also needs the table data of this locality storage to load, so that follow-up, table data is shown.
208: from the table data loading, obtain table data corresponding to list items showing within the scope of screen, and show the table data getting;
The present embodiment is not done concrete restriction to obtain the obtain manner of the table data that the list items that shows within the scope of screen is corresponding from the table data loading, and includes but not limited to: from the table data loading, obtain corresponding table data according to the identification information of the list items showing within the scope of screen.
For the ease of understanding, equally take identification information as number information as example explains, for example, the number information of the list items showing within the scope of current screen is respectively the 10th to the 19th, the table data loading is the table data of the 1st to the 40th, now, can directly from the table data loading, obtain the table data of the 10th to the 19th.
Obtain within the scope of screen after the table data that the list items that shows is corresponding, can show the table data getting, the present embodiment is not to showing concrete restriction of display mode work of the table data getting, include but not limited to: in the list items showing, load corresponding table data within the scope of screen, after loaded, table data corresponding in the list items showing within the scope of screen is shown.
The method that the present embodiment provides, the list items showing within the scope of screen is determined in the list scrolling detecting by basis operation, obtain and display screen in the table data corresponding to list items of demonstration.Owing to not needing that list items is carried out to paging, thereby make display mode more flexible.In addition, directly according to list scrolling, operation shows corresponding table data, and the process of display list data is fairly simple, and therefore, user's operating experience is better.
Embodiment tri-
The embodiment of the present invention provides a kind of display packing of table data, and in conjunction with the content of above-described embodiment one, the method that the present embodiment is provided is illustrated.Referring to Fig. 3, the method flow that the present embodiment provides comprises:
301: the list items quantity of Query List, according to whole list items of list items quantity loading list;
This step realize principle and step 201 in above-described embodiment two to realize principle identical, specifically refer to the content of step 201 in above-described embodiment two, repeat no more herein.
302: detection list rolling operation within the scope of screen;
This step realize principle and step 202 in above-described embodiment two to realize principle identical, specifically refer to the content of step 202 in above-described embodiment two, repeat no more herein.
303: determine according to the list scrolling operation detecting the list items showing within the scope of screen;
This step realize principle and step 203 in above-described embodiment two to realize principle identical, specifically refer to the content of step 203 in above-described embodiment two, repeat no more herein.
304: judge in the list items showing within the scope of screen whether have the list items that has not loaded table data;
This step realize principle and step 204 in above-described embodiment two to realize principle identical, specifically refer to the content of step 204 in above-described embodiment two, repeat no more herein.
305: if there is the list items that has not loaded table data in the list items showing within the scope of screen, obtain the position range information of all list items that do not loaded table data;
The present embodiment is not done concrete restriction to the obtain manner of the position range information of obtaining all list items that do not loaded table data, include but not limited to: determine the group identification information of each list items place group, and positional information using the group identification information of each list items place group as each list items; Determine first group of identification information of all first list item place groups that do not loaded table data, and determine second group of identification information of all tail list items place groups that do not loaded table data; All groups of identification informations between first group of identification information to the second group identification information are as the position range information of all list items that do not loaded table data.
Wherein, the group identification information of each list items place group can be group # information, certainly, can also be other content according to the requirement groups identification information of grouping, and the present embodiment is not done concrete restriction to the content of group identification information.
For the ease of understanding, explain as group # information as example take group identification information, for example, in list, one has 30 list items, and list items in list is divided into groups, every 10 are divided into one group, now, the list items in list one can be divided into three groups, the 1st to the 10th is first group, the 11st to the 20th is second group, and the 21st to the 30th is the 3rd group.If the list items showing within the scope of screen is the 5th to the 21st, and the list items showing within the scope of screen has not all loaded table data, now, can determine that the 5th of the list items group # information to the 10th place group is first group, the 11st of the list items group # information to the 20th place group is second group, the group # information of the 21st place group of list items is the 3rd group, the positional information using the group # information of each list items place group as each list items.
Now, can determine that the first group # information of all the 5th place groups of first list item that do not loaded table data is first group, the second group # information of all the 21st place groups of tail list items that do not loaded table data is the 3rd group.All group # information between the first group # information to the second group # information are as the position range information of all list items that do not loaded table data, the group # information between first group to the 3rd group of being about to is as the position range information of list items that has not loaded table data, now, position range information is first group, second group and the 3rd group.
306: send the load request of table data to server, in the load request of table data, at least carry the position range information of all list items that do not loaded table data;
There is table data corresponding to all list items in list because server is pre-stored, in the list items showing, there is the list items that has not loaded table data within the scope of terminal is determined screen, now, can send to server the load request of table data, to obtain table data corresponding to the list items that has not loaded table data showing within the scope of screen.
Wherein, in the load request of the table data sending to server, at least carry the position range information of all list items that do not loaded table data, certainly, in request, can also carry other content, the present embodiment not subtend server sends concrete restriction of content work of carrying in the load request of table data.
307: table data corresponding to position range information that reception server returns, and from table data corresponding to position range information, determine all corresponding table datas of list items that do not loaded table data, and load all corresponding table datas of list items that do not loaded table data;
This example is not receiving after the load request of table data server, obtain the obtain manner of corresponding table data and do concrete restriction, include but not limited to: retrieve in the table data of this locality storage according to the position range information of all list items that do not loaded table data that carry in table data load request, obtain the table data retrieving.
For the ease of understanding, explain as group # information as example to organize identification information, for example, in list, one has 30 list items, server stores these 30 table datas that list items is corresponding in advance in this locality, and 30 table datas is divided into 3 groups, 10 every group.The position range information that has not loaded the list items of table data in the load request of table data that terminal sends if receive is first group to the 3rd group, now, server is stored into line retrieval according to the position range information that has not loaded the list items of table data in request in this locality, obtain the table data retrieving, obtain the table data of first group to the 3rd group.
Terminal receives after table data corresponding to position range information that server returns, from table data corresponding to position range information, determine all corresponding table datas of list items that do not loaded table data, and load all corresponding table datas of list items that do not loaded table data.Further, for fear of the follow-up table data of having obtained of obtaining to server, terminal, receiving after the table data that server returns, can be stored in this locality.Accordingly, terminal receives after the table data that server returns, and except loading all corresponding table datas of list items that do not loaded table data, also needs the table data of this locality storage to load, so that follow-up, table data is shown.
Wherein, terminal receives after table data corresponding to position range information that server returns, from table data corresponding to position range information, determine that all corresponding table datas of list items that do not loaded table data can adopt the following mode of determining: from table data corresponding to position range information, extract all corresponding table datas of list items that do not loaded table data according to the identification information of the list items that has not loaded table data, using the table data of extracting as the corresponding table data of the list items that has not loaded table data of determining.Wherein, the identification information that has not loaded the list items of table data can be the identification information in step 205 in above-described embodiment two, and certainly, identification information can also be other content, and the present embodiment is not done concrete restriction to this.
For the ease of understanding, take identification information as number information as example explains, it is the first Groups List data that terminal receives table data corresponding to position range information that server returns, the second Groups List data and the 3rd Groups List data.Wherein, the 1st to the 10th is first group, and the 11st to the 20th is second group, and the 21st to the 30th is the 3rd group.It is the 5th to the 24th if do not loaded the number information of the list items of table data, now, can extract the 5th to the 10th from the first Groups List data, extract the 11st to the 20th from the second Groups List data, extract the 21st to the 24th from the 3rd Groups List data, using the table data of extracting as the corresponding table data of the list items that has not loaded table data of determining.
308: from the table data loading, obtain table data corresponding to list items showing within the scope of screen, and show the table data getting;
This step realize principle and step 208 in above-described embodiment two to realize principle identical, specifically refer to the content of step 208 in above-described embodiment two, repeat no more herein.
The method that the present embodiment provides, the list items showing within the scope of screen is determined in the list scrolling detecting by basis operation, obtain and display screen in the table data corresponding to list items of demonstration.Owing to not needing that list items is carried out to paging, thereby make display mode more flexible.In addition, directly according to list scrolling, operation shows corresponding table data, and the process of display list data is fairly simple, and therefore, user's operating experience is better.
Embodiment tetra-
The embodiment of the present invention provides a kind of display unit of table data, and this device is for carrying out the display packing of the table data that above-described embodiment one to embodiment tri-provides.Referring to Fig. 4, this device comprises:
Load-on module 402, for loading whole list items of described list according to described list items quantity;
As a kind of preferred embodiment, referring to Fig. 5, acquisition module 405, comprising:
Judging unit 4051, for judging whether the list items showing within the scope of screen exists the list items that has not loaded table data;
Acquiring unit 4053, for obtaining from the table data loading table data corresponding to list items showing within the scope of screen.
As a kind of preferred embodiment, loading unit 4052, comprising:
First obtains subelement, for obtaining the identification information of each list items that has not loaded table data;
First sends subelement, for send the load request of table data to server, at least carries the identification information of each list items that has not loaded table data in the load request of table data;
First receives subelement, table data corresponding to identification information of returning for reception server;
First loads subelement, the table data of returning for load server.
As a kind of preferred embodiment, loading unit 4052, comprising:
Second obtains subelement, for obtaining the position range information of all list items that do not loaded table data;
Second sends subelement, for send the load request of table data to server, at least carries the position range information of all list items that do not loaded table data in the load request of table data;
Second receives subelement, table data corresponding to position range information of returning for reception server;
First determines subelement, for determining all corresponding table datas of list items that do not loaded table data from table data corresponding to position range information;
Second loads subelement, for loading all corresponding table datas of list items that do not loaded table data.
As a kind of preferred embodiment, loading unit 4052, also comprises:
Second determines subelement, for determining the group identification information of each list items place group, and positional information using the group identification information of each list items place group as each list items;
The 3rd determines subelement, for determining first group of identification information of all first list item place groups that do not loaded table data, and determines second group of identification information of all tail list items place groups that do not loaded table data;
Second obtains subelement, the position range information for all groups of identification informations between first group of identification information to the second group identification information as all list items that do not loaded table data.
The device that the present embodiment provides, the list items showing within the scope of screen is determined in the list scrolling detecting by basis operation, obtain and display screen in the table data corresponding to list items of demonstration.Owing to not needing that list items is carried out to paging, thereby make display mode more flexible.In addition, directly according to list scrolling, operation shows corresponding table data, and the process of display list data is fairly simple, and therefore, user's operating experience is better.
It should be noted that: the display unit of the table data that above-described embodiment provides is in the time of display list data, only be illustrated with the division of above-mentioned each functional module, in practical application, can above-mentioned functions be distributed and completed by different functional modules as required, be divided into different functional modules by the internal structure of device, to complete all or part of function described above.In addition, the display unit of above-described embodiment table data and the display packing embodiment of table data belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can carry out the hardware that instruction is relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (10)
1. a display packing for table data, is characterized in that, described method comprises:
The list items quantity of Query List, loads whole list items of described list according to described list items quantity;
Detection list rolling operation within the scope of screen;
Determine according to the list scrolling operation detecting the list items showing within the scope of screen;
Obtain table data corresponding to list items showing within the scope of screen, and show the table data getting.
2. method according to claim 1, is characterized in that, described in obtain within the scope of screen table data corresponding to list items showing, comprising:
Judge in the list items showing within the scope of screen and whether have the list items that has not loaded table data;
If there is the list items that has not loaded table data in the list items showing within the scope of screen, the corresponding table data of list items that has not loaded table data is loaded, and obtain table data corresponding to list items showing within the scope of screen from the table data loading.
3. method according to claim 2, is characterized in that, described the corresponding table data of list items that has not loaded table data is loaded, and comprising:
Obtain the identification information of each list items that has not loaded table data;
Send the load request of table data to server, in the load request of described table data, at least carry the identification information of each list items that has not loaded table data;
Receive table data corresponding to described identification information that described server returns, and load the table data that described server returns.
4. method according to claim 2, is characterized in that, described the corresponding table data of list items that has not loaded table data is loaded, and comprising:
Obtain the position range information of all list items that do not loaded table data;
Send the load request of table data to server, in the load request of described table data, at least carry the position range information of all list items that do not loaded table data;
Receive table data corresponding to described position range information that described server returns, and from table data corresponding to described position range information, determine all corresponding table datas of list items that do not loaded table data, and load all corresponding table datas of list items that do not loaded table data.
5. method according to claim 4, is characterized in that, described in obtain the position range information of all list items that do not loaded table data before, also comprise:
Determine the group identification information of each list items place group, and positional information using the group identification information of each list items place group as each list items;
Determine first group of identification information of all first list item place groups that do not loaded table data, and determine second group of identification information of all tail list items place groups that do not loaded table data;
The described position range information of obtaining all list items that do not loaded table data, comprising:
Position range information using described first group of identification information to all groups of identification informations between described second group of identification information as all list items that do not loaded table data.
6. a display unit for table data, is characterized in that, described device comprises:
Enquiry module, for the list items quantity of Query List;
Load-on module, for loading whole list items of described list according to described list items quantity;
Detection module, for detection list rolling operation within the scope of screen;
Determination module, for determining according to the list scrolling operation detecting the list items showing within the scope of screen;
Acquisition module, for obtaining table data corresponding to list items showing within the scope of screen;
Display module, for showing the table data getting.
7. device according to claim 6, is characterized in that, described acquisition module, comprising:
Judging unit, for judging whether the list items showing within the scope of screen exists the list items that has not loaded table data;
Loading unit, while not loaded the list items of table data, loads the corresponding table data of list items that has not loaded table data for existing when the list items showing within the scope of screen;
Acquiring unit, for obtaining from the table data loading table data corresponding to list items showing within the scope of screen.
8. device according to claim 7, is characterized in that, described loading unit, comprising:
First obtains subelement, for obtaining the identification information of each list items that has not loaded table data;
First sends subelement, for send the load request of table data to server, at least carries the identification information of each list items that has not loaded table data in the load request of described table data;
First receives subelement, table data corresponding to described identification information of returning for receiving described server;
First loads subelement, the table data of returning for loading described server.
9. device according to claim 7, is characterized in that, described loading unit, comprising:
Second obtains subelement, for obtaining the position range information of all list items that do not loaded table data;
Second sends subelement, for send the load request of table data to server, at least carries the position range information of all list items that do not loaded table data in the load request of described table data;
Second receives subelement, table data corresponding to described position range information of returning for receiving described server;
First determines subelement, for determining all corresponding table datas of list items that do not loaded table data from table data corresponding to described position range information;
Second loads subelement, for loading all corresponding table datas of list items that do not loaded table data.
10. device according to claim 9, is characterized in that, described loading unit, also comprises:
Second determines subelement, for determining the group identification information of each list items place group, and positional information using the group identification information of each list items place group as each list items;
The 3rd determines subelement, for determining first group of identification information of all first list item place groups that do not loaded table data, and determines second group of identification information of all tail list items place groups that do not loaded table data;
Described second obtains subelement, for the position range information using described first group of identification information to all groups of identification informations between described second group of identification information as all list items that do not loaded table data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410129258.1A CN103905445A (en) | 2014-03-31 | 2014-03-31 | Table data display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410129258.1A CN103905445A (en) | 2014-03-31 | 2014-03-31 | Table data display method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103905445A true CN103905445A (en) | 2014-07-02 |
Family
ID=50996599
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410129258.1A Pending CN103905445A (en) | 2014-03-31 | 2014-03-31 | Table data display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103905445A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106776773A (en) * | 2016-11-11 | 2017-05-31 | 苏州华元世纪科技发展有限公司 | A kind of Dynamic data display system and method |
CN108271060A (en) * | 2016-12-30 | 2018-07-10 | 深圳市优朋普乐传媒发展有限公司 | A kind of list loading method and device |
CN109062932A (en) * | 2018-06-13 | 2018-12-21 | 武汉擎动网络科技有限公司 | Report form showing method and system |
CN110568978A (en) * | 2019-07-30 | 2019-12-13 | 惠州市德赛西威智能交通技术研究院有限公司 | Dynamic loading method and device for list display data |
WO2019242287A1 (en) * | 2018-06-20 | 2019-12-26 | 连尚(新昌)网络科技有限公司 | Information display method, and a terminal device and a network device thereof |
CN113467657A (en) * | 2021-06-30 | 2021-10-01 | 深圳集智数字科技有限公司 | File display method and device, electronic equipment and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101378437A (en) * | 2007-08-28 | 2009-03-04 | 株式会社理光 | Display control apparatus, and display control method |
CN103176972A (en) * | 2011-12-20 | 2013-06-26 | 富泰华工业(深圳)有限公司 | Processing method of browser displaying sub-page and browser |
CN103218197A (en) * | 2013-04-26 | 2013-07-24 | 安科智慧城市技术(中国)有限公司 | Method, device and system of displaying data dynamically |
CN103488686A (en) * | 2013-09-02 | 2014-01-01 | 用友软件股份有限公司 | Device for generating display components and method for generating display components |
-
2014
- 2014-03-31 CN CN201410129258.1A patent/CN103905445A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101378437A (en) * | 2007-08-28 | 2009-03-04 | 株式会社理光 | Display control apparatus, and display control method |
CN103176972A (en) * | 2011-12-20 | 2013-06-26 | 富泰华工业(深圳)有限公司 | Processing method of browser displaying sub-page and browser |
CN103218197A (en) * | 2013-04-26 | 2013-07-24 | 安科智慧城市技术(中国)有限公司 | Method, device and system of displaying data dynamically |
CN103488686A (en) * | 2013-09-02 | 2014-01-01 | 用友软件股份有限公司 | Device for generating display components and method for generating display components |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106776773A (en) * | 2016-11-11 | 2017-05-31 | 苏州华元世纪科技发展有限公司 | A kind of Dynamic data display system and method |
CN108271060A (en) * | 2016-12-30 | 2018-07-10 | 深圳市优朋普乐传媒发展有限公司 | A kind of list loading method and device |
CN109062932A (en) * | 2018-06-13 | 2018-12-21 | 武汉擎动网络科技有限公司 | Report form showing method and system |
WO2019242287A1 (en) * | 2018-06-20 | 2019-12-26 | 连尚(新昌)网络科技有限公司 | Information display method, and a terminal device and a network device thereof |
CN110568978A (en) * | 2019-07-30 | 2019-12-13 | 惠州市德赛西威智能交通技术研究院有限公司 | Dynamic loading method and device for list display data |
CN113467657A (en) * | 2021-06-30 | 2021-10-01 | 深圳集智数字科技有限公司 | File display method and device, electronic equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103905445A (en) | Table data display method and device | |
US8154428B2 (en) | Gesture recognition control of electronic devices using a multi-touch device | |
CN104123332B (en) | The display methods and device of search result | |
CN102024064B (en) | Rapid searching method and mobile communication terminal | |
CN107832330B (en) | Searching method and terminal equipment | |
CN102929601A (en) | Application program management method and apparatus | |
CN103235692A (en) | Touch-screen device and method for touch-screen device to select target objects | |
CN102158593A (en) | Application displaying method and terminal | |
CN103218159A (en) | Retrieval system and method for application program | |
US9588678B2 (en) | Method of operating electronic handwriting and electronic device for supporting the same | |
CN107506104A (en) | Desktop icon sorting method and device, mobile terminal and storage medium | |
CN103294385B (en) | A kind of method and apparatus of information association | |
CN105893548A (en) | Naming method and terminal | |
CN104050166A (en) | Data processing method and data processing device | |
CN105930513A (en) | Browser history record sorting method and apparatus | |
CN104090904A (en) | Method and equipment for providing target search result | |
CN104980414A (en) | File transmission method and terminal | |
CN103116616A (en) | Webpage collecting method and communication terminal | |
CN103902618A (en) | File search method and device | |
CN104267974A (en) | Method and device for calling business interface | |
CN105912586A (en) | Information search method and electronic device | |
CN106570061B (en) | Webpage label management method and mobile terminal | |
CN104657065B (en) | A kind of method, terminal and server obtaining search result | |
CN104123299A (en) | Message sharing method, device and system among multiple terminal devices | |
CN102663070B (en) | Method and system for supporting browser application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 511446 Guangzhou City, Guangdong Province, Panyu District, South Village, Huambo Business District Wanda Plaza, block B1, floor 28 Applicant after: Guangzhou Huaduo Network Technology Co., Ltd. Address before: 510655, Guangzhou, Whampoa Avenue, No. 2, creative industrial park, building 3-08, Applicant before: Guangzhou Huaduo Network Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140702 |
|
RJ01 | Rejection of invention patent application after publication |