CN102929923A - Organization and management and displaying methods and devices for ordered data interface elements - Google Patents

Organization and management and displaying methods and devices for ordered data interface elements Download PDF

Info

Publication number
CN102929923A
CN102929923A CN2012103531037A CN201210353103A CN102929923A CN 102929923 A CN102929923 A CN 102929923A CN 2012103531037 A CN2012103531037 A CN 2012103531037A CN 201210353103 A CN201210353103 A CN 201210353103A CN 102929923 A CN102929923 A CN 102929923A
Authority
CN
China
Prior art keywords
interface element
interface
data structure
index
unit
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.)
Granted
Application number
CN2012103531037A
Other languages
Chinese (zh)
Other versions
CN102929923B (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.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN201210353103.7A priority Critical patent/CN102929923B/en
Publication of CN102929923A publication Critical patent/CN102929923A/en
Application granted granted Critical
Publication of CN102929923B publication Critical patent/CN102929923B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention is suitable for the field of computer application, and provides organization and management and displaying methods and devices for ordered data interface elements. The organization and management method for the ordered data interface elements comprises the following steps of: dividing the interface elements into a plurality of units according to preset per unit data quantity, and establishing an ordered storage data structure for interface element objects, wherein the ordered storage data structure comprises a unit index; and organizing and managing the interface elements in units according to the unit index. The displaying method for the ordered data interface element comprises the following step of displaying the interface elements in units according to the unit index. The interface elements are organized and managed in units by the method and the device, so that the ordering of the interface elements is ensured, and data can be conveniently managed. In addition, based on the ordered management method, when the interface elements are displayed, only the interface elements of the current interface are required to be traversed, so that the time cost of operation at a time can be reduced maximally. The time cost of the operation at a time can be reduced maximally by the method.

Description

A kind of organization and administration of ordered data interface element and display packing and device
Technical field
The invention belongs to computer application field, relate in particular to a kind of organization and administration and display packing and device of ordered data interface element.
Background technology
Current operation system such as Android operating system are unified managing to the back-end data of interface element (for example starting icon) substantially, so that when needs show interface element or edit, must the back-end data of all interface elements all be read and travel through, expended a large amount of time costs.
For example: the interpolation of operating system application program, deletion, file move in and out file, newly-built, deletion with file, the capital changes the interface element number, and the interface element that not only can change this page boundary face is arranged demonstration, and all page boundary surface elements arrangement demonstrations of back all can change.
Efficient management desktop is particularly important to the embedded environment of resource-constrained.In embedded environment, when interface element is carried out actual demonstration or editing operation, as there are a lot of units of pages, then upgrading the positional information of calculating all page boundary surface elements can take a long time.When the position of interface element in the page changes, need to upgrade the positional information of all interface elements, if under the limited embedded environment of computational resource, and there are a lot of pages, then upgrading all interface element positional informations of calculating can take a long time, thereby when the user when current page adds or deletes an interface element, the user experiences possibly the card that operation interface has the long period and pauses, the user experiences bad.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of organization and administration and display packing and device of ordered data interface element, be intended to solve existing interface element back-end data since miscarriage show and the process of editing interface element in the long problem that expends time in.
The embodiment of the invention is achieved in that a kind of organization and management method of ordered data interface element, and described method comprises:
According to default every cell data amount interface element is divided into some unit, and the interface element object is set up orderly store data structure, described orderly store data structure comprises unit index;
According to described unit index, manage described interface element by cellular organization.
Another purpose of the embodiment of the invention is to provide a kind of ordered data interface element management devices, and described device comprises:
Interface element subdivision module is used for according to default every cell data amount interface element being divided into some unit, and the interface element object is set up orderly store data structure, and described orderly store data structure comprises unit index;
Press the Single Component Management module, be used for according to described unit index, manage described interface element by cellular organization.
Another purpose of the embodiment of the invention is to provide a kind of display packing of ordered data interface element, and described method comprises the organization and management method of described ordered data interface element, and
According to described unit index, show described interface element by the unit.
Another purpose of the embodiment of the invention is to provide a kind of display device of ordered data interface element, and described device comprises described ordered data interface element management devices, and
Display module is used for according to described unit index, shows described interface element by the unit.
In embodiments of the present invention, by after interface element is divided into some unit, the interface element object being set up orderly store data structure, and according to the included unit index of orderly store data structure by cellular organization's administration interface element, guarantee the order of interface element, be convenient to management data.In addition, because interface element is when storage, divided for some unit, and respective markers unit index, column index and line index, when the display interface element, the interface element that only needs to travel through current interface just can show, the interface element at other interfaces is hidden, thereby farthest reduced the time cost of each operational processes.
Description of drawings
Fig. 1 is the process flow diagram of the organization and management method embodiment of a kind of ordered data interface element provided by the invention;
Fig. 2 is the process flow diagram of the display packing embodiment of a kind of ordered data interface element provided by the invention;
Fig. 3 is the process flow diagram of page turning display packing among Fig. 2;
Fig. 4 is the structural representation of the organization and administration device embodiment of a kind of ordered data interface element provided by the invention;
Fig. 5 is the structural representation of the display device embodiment of a kind of ordered data interface element provided by the invention;
Fig. 6 is the structural representation of display module among Fig. 5;
Fig. 7 is that interface element provided by the invention is arranged with corresponding index synoptic diagram is set.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
For technical solutions according to the invention are described, describe below by specific embodiment.
Embodiment one:
Be illustrated in figure 1 as the process flow diagram of the organization and management method of the ordered data interface element that first embodiment of the invention provides, described interface element refers to application program launching icon, file, file etc.For convenience of explanation, only show the part relevant with the embodiment of the invention.
In step S101, according to default every cell data amount interface element is divided into some unit, and the interface element object is set up orderly store data structure, store data structure comprises unit index in order.
In embodiments of the present invention, set in advance every cell data amount, wherein, every cell data amount refers to the total amount of the interface element that shows a screen (i.e. a unit) and line number (max_line) and the columns (max_line_icon) of screen (i.e. a unit) display interface element, for example: the interface element total amount of a screen is 20, one screen display shows that the line number of interface element then can be 5, and columns is 4.According to described every cell data amount, with whole interface element data total amount, interface element is divided into some unit, afterwards, the interface element object is set up orderly store data structure store described interface element data.Described orderly store data structure comprises unit index, and line index, column index according to described unit index, are managed described interface element data by cellular organization, according to described line index, column index, and further administration interface element.
Wherein, the ordered data structure of being set up by the interface element object includes but not limited to: interface element object linear linked list and row object linear linked list.Interface element object linear linked list is used for storing described interface element, is each interface element indexing unit index, line index, column index in the interface element object linear linked list according to default every cell data amount.Row object linear linked list is used for the row object (an interface element row object is a row interface element of a unit interface element) of storage interface element, is every row interface element indexing unit index, active cell column index in every unit interface element according to default every cell data amount.
For the index calculation method that clearly demonstrates interface element of the present invention and the index facilities of interface element, please refer to Fig. 7.In Fig. 7, what show is the first screen interface element object and interface element row object, illustrated example has provided the three group index values of the 1st interface element icon0, the 8th interface element icon7 and the 15th interface element icon14, and two class boundary surface element row object indexing values of the 1st row and the 3rd row.
It is each interface element indexing unit index in the interface element object linear linked list that the below will describe in detail according to default every cell data amount, line index, column index and be every row interface element indexing unit index in every unit interface element according to default every cell data amount, the detailed process of active cell column index: in embodiments of the present invention, after setting up interface element object linear linked list, the unit index that just can calculate interface element according to default every cell data amount and the position of interface element in interface element object linear linked list, line index and column index are thus to the interface element indexing unit index in the interface element object linear linked list, line index and column index.When user's deletion, when increasing interface element, system still needs to recomputate in a manner described and upgrade index value.
Just like following formula:
nPageCount=max_line*max_line_icon;
icon_PageIdx=posIdx/nPageCount;
nCount=posIdx-icon_PageIdx*nPageCount;
icon_lineIdx=nCount/max_line_icon;
icon_columnIdx=nCount/max_line_icon。
Wherein, nPageCoun represents the total amount of the interface element that every unit shows; The line number of the every unit of max_line display interface element, the columns of the every unit of max_line_icon display interface element; Icon_PageIdx represents the unit index of interface element; PosIdx is the position of interface element in interface element object linear linked list; NCount is that interface element is in the order of unit, place; Icon_lineIdx is that interface element is in the line index of unit, place; Icon_columnIdx is the column index of unit, interface element place.Unit index, line index and the column index that then just can go out interface element in default every cell data amount and the position calculation of interface element in interface element object linear linked list according to above-mentioned formula.
The below illustrates for example with the 27th interface element in the interface element object linear linked list (be posIdx=26, posIdx calculates since 0):
In at first known default every cell data amount, the interface element line number max_line=3 that every unit shows, the interface element columns max_line_icon=5 that every unit shows, so
nPageCount=max_line*max_line_icon=3*5=15;
icon_PageIdx=posIdx/nPageCount=26/15=1;
nCount=posIdx-icon_PageIdx*nPageCount=26–1*15=11;
icon_lineIdx=nCount/max_line_icon=11/5=2;
icon_columnIdx=nCount%max_line_icon=11%5=1;
The unit index of hence one can see that this interface element is 1, and line index is 2, column index be 1(herein index all calculate since 0), namely the 27th interface element is arranged in Unit the 2nd the 3rd row the 2nd row.
Equally, just can just can be each row object tag unit index and active cell column index according to the position of row object in row object linear linked list and default every column data amount of interface element according to following formula.
parentColumnIdx=column_columnIdx+max_line_icon*column_pageIdx;
column_pageIdx=icon_pageIdx;
column_columnIdx=icon_columnIdx;
Wherein, parentColumnIdx represents the position of row object in row object linear linked list; Column_columnIdx represents that the row object is at the column index of active cell; Max_line_icon represents the columns of the interface element that every unit shows; Column_pageIdx represents the unit index of row object; Icon_pageIdx is the unit index of each interface element in every row interface element; Icon_columnIdx is the column index of each interface element in every row interface element.
Still the row object at the 27th interface element place in the above-mentioned object line chained list illustrates the method for calculated column object unit index and active cell column index as example:
column_pageIdx=icon_pageIdx=1;
column_columnIdx=icon_columnIdx=1;
parentColumnIdx=column_columnIdx+max_line_icon*column_pageIdx=1+5*1=6;
Then the row object under these data is stored in the 7th position (parentColumnIdx=6) of row object linear linked list, and the unit index of row object is 1, and the active cell column index also is 1.
In step S102, according to unit index, by the interface element of cellular organization's management.
In embodiments of the present invention, according to the unit index of mark in the orderly store data structure of setting up, just can be according to the Single Component Management interface element that is divided.
In embodiments of the present invention, by after interface element is divided into some unit, the interface element object being set up orderly store data structure, and according to the included unit index of orderly store data structure by cellular organization's administration interface element, guarantee the order of interface element, be convenient to management data.
Embodiment two:
Second embodiment of the invention provides a kind of display packing of ordered data interface element, the display packing of this ordered data interface element is based on the organization and management method of embodiment one described ordered data interface element, for convenience of explanation, only show the part relevant with the embodiment of the invention.
In embodiments of the present invention, because a kind of organization and management method of ordered data interface element is provided among the embodiment one, thereby the unit index that provides according to the organization and management method of this ordered data interface element, just can be according to unit display interface element.
Wherein, according to described unit index, the method that shows described interface element by the unit specifically as shown in Figure 2.Wherein, the interface element of each unit is shown in the interface, and the unit under each interface element is the interface of the corresponding demonstration of this interface element institute.
In step S201, the orderly store data structure of traversal interface element, the interface element that will belong to current interface according to the unit index of the every unit interface element in the orderly store data structure is made as demonstration, and all the other interface elements are made as hiding.
In embodiments of the present invention, when receiving the interface element idsplay order, come interphase to show data according to unit index by the unit, the interface element of each unit is shown in the screen interface, the orderly store data structure that this moment, traversal was set up, determine unit under all interface elements according to the unit index of the every unit interface element in the orderly store data structure, and determine the corresponding interface that shows of interface element according to the unit under it, the interface element that will belong to current interface is made as demonstration, and all the other interface elements are made as hiding.
In step S202, calculate the display position of each interface element of current interface according to height, width and default every cell data amount at interface, and the interface element of current interface is shown in the relevant position of current interface.
In embodiments of the present invention, height, the width according to the interface reaches the line number of every unit display interface element in default every cell data amount and the display position that columns (being line number and the columns of each interface display interface element) just can calculate current each interface element.For each row object, the display position (in interface a row interface element be exactly a row object) of this row object in the interface just can be determined in the horizontal ordinate position that only need calculate each row object, then calculate the horizontal ordinate of group data according to the active cell column index of row object, formula is as follows:
column_x=column_columnIdx*(page_width/max_line);
Wherein, column_x is the horizontal ordinate of row object; Column_columnIdx is the active cell column index of row object; Page_width is the width at interface; Max_line is the line number of every unit display interface element.
After calculating current page and respectively organizing the display position of data, just it is shown in the relevant position of current page.
In step S203, play up the display interface element according to attribute and its relevant position in current interface that whether interface element shows.
Behind the display properties and display position of determining interface element, play up the interface element that shows current interface in the relevant position of current interface.
Preferably, in order to guarantee the accuracy of interface element, press unit display interface element according to unit index before, system also can receive user's operational order, comprises the interface element that current interface is shown according to user's operational order real-time update.
And for the demonstration of interface element, because interface element is to show according to the unit interphase of dividing, thereby, after having shown the interface element of current interface, also can continue to show the interface element at follow-up interface.In embodiments of the present invention, the page turning display packing at interface is as shown in Figure 3:
In step S301, change screen during page-turning instruction when receiving, behind the initial interface element by default every cell data amount calculating current interface, initial interface element according to current interface travels through the interface element that orderly store data structure is determined current interface, and is made as the interface element of current interface hiding.
In embodiments of the present invention, change screen during page-turning instruction when receiving, line number and columns by every unit display interface element in default every cell data amount calculate the shown initial interface element of current interface, and its computing formula is:
posIdx_start=max_line*max_line_icon*PageIdx;
Wherein, posIdx_start is the position of first interface element of current interface, and max_line is the line number of current interface display interface element; Max_line_icon is the columns of current interface display interface element, and PageIdx is the unit number of current interface.
posIdx_end=posIdx_start+max_line*max_line_icon-1;
Wherein, posIdx_end is the position of last interface element of current interface, and max_line is the line number of current interface display interface element; Max_line_icon is the columns of current interface display interface element.
Subsequently, by traveling through orderly store data structure, find out at first interface element at current screen interface to all interface elements between last interface element, be the interface element of current interface, and the interface element of current interface is set to hide, and then can't see the interface element of current interface.
In step S302, after calculating the initial interface element at next screen interface by default every cell data amount, initial interface element according to the next screen interface travels through the interface element that orderly store data structure is determined next interface, proofreaies and correct that the interface element at next interface is set to show after the unit index of interface element at next interface.
In embodiments of the present invention, calculate the initial interface element at next interface by default every cell data amount, the method for the initial interface element of calculating current interface is similar among its computing method and the step S301, please refer to foregoing description.Then find out first interface element at next interface to all interface elements between last interface element by traversal interface element object linear linked list, calculate one by one the unit index of these interface elements by the formula among the step S101, column index and line index, and with the unit index that calculates, column index and line index one by one with interface element object linear linked list in the unit index of the current mark of these interface elements, column index and line index are compared, if unanimously just do not make an amendment, if inconsistent then with the unit index of interface element object linear linked list Central Plains mark, column index and line index replace with the unit index that calculates, column index and line index, the unit index of proofreading and correct thus next median surface, interface element, column index and line index.At last, the interface element at next interface is set to show.
In embodiments of the present invention, after the interface element of having determined next interface and its are set to show, calculate the display position of next each interface element of interface according to formula by the height at interface, width and default every cell data amount, described computing formula is as follows:
icon_x=column_columnIdx*(page_width/max_line_icon);
icon_y=icon_lineIdx*(page_height/max_line);
Wherein, icon_x is the horizontal ordinate of interface element; Icon_y is the ordinate of interface element; Column_columnIdx is the active cell column index (because interface element by the row Object Management group, will be inherited the column index of row object at active cell) of row object; Icon_lineIdx is the line index of interface element; Page_width is the width at interface; Page_height is the height at interface; Max_line is the line number of current interface display interface element; Max_line_icon is the columns of current interface display interface element.
Behind the display position of the interface element that calculates next interface, interface element is shown in next relevant position, interface.
In embodiments of the present invention, because interface element is when storage, divided for some unit, and respective markers unit index, column index and line index, when the display interface element, the interface element that only needs to travel through current interface just can show, the interface element at other interfaces is hidden, thereby farthest reduced the time cost of each operational processes.
Preferably, behind the display interface element, also can edit interface element according to corresponding instruction.In embodiments of the present invention, all only the interface element of current interface is carried out editing and processing for the editor of interface element, do not revise the interface element logic at other interfaces.Wherein, the editor of interface element is mainly deletion or inserts interface element.
One, the deletion of interface element is specially, when the delete instruction that receives interface element, the interface element of delete instruction appointment is deleted from orderly store data structure, and proofreaied and correct in the orderly store data structure interface element corresponding from the position of delete instruction appointment to the unit index of last interface element of current interface.
In embodiments of the present invention, when receiving the interface element delete instruction (interface element of described interface element delete instruction appointment comprises one or more), the interface element of interface element delete instruction appointment is deleted from orderly store data structure, and from interface element corresponding to the position of interface element delete instruction appointment, till last interface element of current interface, calculate one by one the unit index of interface element according to every cell data amount, column index and line index, and with the unit index of the interface element that calculates, the original unit index of column index and line index and interface element chained list median surface element, column index and line index compare, and proofread and correct the interface element corresponding from the position of interface element delete instruction appointment to the unit index of last interface element of current interface, column index and line index.
They are two years old, the insertion of interface element is specially, when receiving interface element insertion instruction, the interface element that inserts the instruction appointment is inserted into the position of the insertion instruction appointment in the orderly store data structure, and proofreaies and correct in the orderly store data structure unit index from the interface element that inserts the instruction appointment to last interface element of current interface.
In embodiments of the present invention, when receiving interface element insertion instruction (interface element that described interface element inserts the instruction appointment comprises one or more), it (is a plurality of if interface element inserts the interface element of instruction appointment that interface element is inserted interface element corresponding to the position of instruction appointment, then from insert the interface element of first position of instruction appointment for interface element) be set to hide to last interface element of current interface, and the interface element that interface element inserts the instruction appointment is inserted into the position that orderly store data structure median surface element inserts the instruction appointment, and (be a plurality of if interface element inserts the interface element of instruction appointment from the interface element that interface element inserts the instruction appointment, then from insert first position of instruction appointment for interface element), till last interface element of current interface, calculate one by one the unit index of interface element according to the interface element amount at interface, column index and line index, and with the unit index of the interface element that calculates, the original unit index of column index and line index and interface element chained list median surface element and column index and line index compare, and proofread and correct from interface element and insert the interface element position of instruction appointment to the unit index of last interface element of current interface, column index and line index.
In embodiments of the present invention, when interface element is carried out insert or delete operation, all only need the interface element of current interface is carried out editing and processing, do not revise the interface element logic at all the other interfaces, greatly saved the time cost of each operation.
Embodiment three:
Fig. 4 for convenience of explanation, only shows the part relevant with the embodiment of the invention for the ordered data interface element management devices structural representation that third embodiment of the invention provides.This device can be to be built in the unit that software unit, hardware cell or software and hardware in the equipment such as mobile phone, televisor combine, and perhaps is integrated in the application system of these equipment or equipment as suspension member independently.Wherein:
Interface element subdivision module 41 is used for according to default every cell data amount interface element being divided into some unit, and the interface element object is set up orderly store data structure, and store data structure comprises unit index in order.
In embodiments of the present invention, store data structure comprises interface element object linear linked list in order, interface element object linear linked list is used for the storage interface element, is each interface element indexing unit index, line index, column index in the interface element object linear linked list according to default every cell data amount; Store data structure also comprises row object linear linked list in order, row object linear linked list is used for the row object of storage interface element, is every row interface element indexing unit index, active cell column index in every unit interface element according to default every cell data amount.
Press Single Component Management module 42, be used for according to unit index, by cellular organization's administration interface element.
In embodiments of the present invention, by after interface element is divided into some unit, the interface element object being set up orderly store data structure, and according to the included unit index of orderly store data structure by cellular organization's administration interface element, guarantee the order of interface element, be convenient to management data.
Embodiment four:
The ordered data interface element display device structure synoptic diagram that Fig. 5 provides for fourth embodiment of the invention, described data presentation device comprises the four described ordered data interface element management devices such as embodiment, for convenience of explanation, only show the part relevant with the embodiment of the invention.This device can be to be built in the unit that software unit, hardware cell or software and hardware in the equipment such as mobile phone, televisor combine, and perhaps is integrated in the application system of these equipment or equipment as suspension member independently.Wherein:
Real-time update module 51 be used for to receive user's operational order, comprises the interface element that current interface is shown according to user's operational order real-time update.
Display module 52 is used for according to unit index, presses unit display interface element.
In embodiments of the present invention, described display module 52 comprises:
Current interface element determination module 521, the orderly store data structure that is used for the traversal interface element, the interface element that will belong to current interface according to the unit index of the every unit interface element in the orderly store data structure is made as demonstration, and all the other interface elements are made as hiding.
Interface element display position determination module 522, the height, width and the default every cell data amount that are used for according to the interface are calculated the display position of each interface element of current interface, and the interface element of current interface are shown in the relevant position of current interface;
Interface element rendering unit 523, the attribute that is used for whether showing according to interface element is played up demonstration with its relevant position in current interface and is comprised described interface element.
Preferably, as shown in Figure 6, described display module 52 also comprises:
Current interface page module 61, be used for changing when shielding page-turning instruction when receiving, behind the initial interface element by default every cell data amount calculating current interface, initial interface element according to current interface travels through the interface element that orderly store data structure is determined current interface, and is made as the interface element of current interface hiding;
Next interface element display module 62, after calculating the initial interface element at next interface by default every cell data amount, initial interface element according to next interface travels through the interface element that orderly store data structure is determined next interface, proofreaies and correct that the interface element at next interface is set to show after the unit index of interface element at next interface.
Interface element removing module 53, be used for when the delete instruction that receives interface element, the interface element of delete instruction appointment is deleted from orderly store data structure, and proofread and correct in the orderly store data structure interface element corresponding from the position of delete instruction appointment to the unit index of last interface element of current interface, the interface element of delete instruction appointment comprises one or more;
Interface element insert module 54, be used for when receiving interface element insertion instruction, the interface element that inserts the instruction appointment is inserted into the position of the insertion instruction appointment in the orderly store data structure, and proofread and correct in the orderly store data structure unit index from the interface element that inserts the instruction appointment to last interface element of current interface, the interface element that inserts the instruction appointment comprises one or more.
In embodiments of the present invention, because interface element is when storage, divided for some unit, and respective markers unit index, column index and line index, when the display interface element, the interface element that only needs to travel through current interface just can show, the interface element at other interfaces is hidden, thereby farthest reduced the time cost of each operational processes.
What deserves to be explained is, the embodiment of above-mentioned ordered data interface element display device is based on the display packing embodiment of aforementioned ordered data interface element, and the organization and administration device embodiment of above-mentioned ordered data interface element is based on the embodiment of the organization and management method of aforementioned ordered data interface element.Other detail content about the organization and administration device of ordered data interface element display device and ordered data interface element please refer to aforementioned content, and this repeats no more again.
One of ordinary skill in the art will appreciate that, realize that all or part of step in above-described embodiment method is to come the relevant hardware of instruction to finish by program, described program can be in being stored in a computer read/write memory medium, described storage medium is such as ROM/RAM, disk, CD etc.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (15)

1. the organization and management method of an ordered data interface element is characterized in that, described method comprises the steps:
According to default every cell data amount interface element is divided into some unit, and the interface element object is set up orderly store data structure, described orderly store data structure comprises unit index;
According to described unit index, manage described interface element by cellular organization.
2. the method for claim 1, it is characterized in that, described orderly store data structure comprises interface element object linear linked list, described interface element object linear linked list is used for storing described interface element, is each interface element indexing unit index, line index, column index in the interface element object linear linked list according to default every cell data amount.
3. method as claimed in claim 2, it is characterized in that, described orderly store data structure also comprises row object linear linked list, described row object linear linked list is used for the row object of storage interface element, is every row interface element indexing unit index, active cell column index in every unit interface element according to default every cell data amount.
4. the display packing of an ordered data interface element is characterized in that, described method comprises the organization and management method of ordered data interface element as claimed in claim 1, and
According to described unit index, show described interface element by the unit.
5. the display packing of ordered data interface element as claimed in claim 4 is characterized in that, describedly shows that by the unit described interface element step comprises:
The orderly store data structure of traversal interface element, the interface element that will belong to current interface according to the unit index of the every unit interface element in the described orderly store data structure is made as demonstration, and all the other interface elements are made as hiding;
Height, width and default every cell data amount according to the interface are calculated the display position of each interface element of current interface, and the interface element of current interface are shown in the relevant position of current interface;
The attribute that whether shows according to interface element and its relevant position in current interface are played up and are shown and comprise described interface element.
6. the display packing of ordered data interface element as claimed in claim 4 is characterized in that, and is described according to described unit index, shows by the unit also to comprise before the described interface element step:
Receive user's operational order, comprise the interface element that current interface is shown according to user's operational order real-time update.
7. method as claimed in claim 6 is characterized in that, described method also comprises:
Change screen during page-turning instruction when receiving, after calculating the initial interface element of current interface by described default every cell data amount, initial interface element according to current interface travels through the interface element that described orderly store data structure is determined current interface, and is made as the interface element of current interface hiding;
After calculating the initial interface element at next interface by described default every cell data amount, initial interface element according to next interface travels through the interface element that described orderly store data structure is determined next interface, proofreaies and correct that the interface element at next interface is set to show after the unit index of interface element at next interface.
8. method as claimed in claim 6 is characterized in that, described method also comprises:
When the delete instruction that receives interface element, the interface element of described delete instruction appointment is deleted from orderly store data structure, and proofread and correct in the described orderly store data structure interface element corresponding from the position of delete instruction appointment to the unit index of last interface element of current interface, the interface element of described delete instruction appointment comprises one or more; Or
When receiving interface element insertion instruction, the interface element of described insertion instruction appointment is inserted into the position of the described insertion instruction appointment in the orderly store data structure, and proofread and correct in the orderly store data structure unit index from the interface element of described insertion instruction appointment to last interface element of current interface, the interface element of described insertion instruction appointment comprises one or more.
9. ordered data interface element management devices is characterized in that described device comprises:
Interface element subdivision module is used for according to default every cell data amount interface element being divided into some unit, and the interface element object is set up orderly store data structure, and described orderly store data structure comprises unit index;
Press the Single Component Management module, be used for according to described unit index, manage described interface element by cellular organization.
10. device as claimed in claim 9, it is characterized in that, described orderly store data structure comprises interface element object linear linked list, described interface element object linear linked list is used for storing described interface element, is each interface element indexing unit index, line index, column index in the interface element object linear linked list according to default every cell data amount;
Described orderly store data structure also comprises row object linear linked list, described row object linear linked list is used for the row object of storage interface element, is every row interface element indexing unit index, active cell column index in every unit interface element according to default every cell data amount.
11. the display device of an ordered data interface element is characterized in that, described device comprises the organization and administration device of ordered data interface element as claimed in claim 9, and
Display module is used for according to described unit index, shows described interface element by the unit.
12. device as claimed in claim 11 is characterized in that, described display module comprises:
Current interface element determination module, the orderly store data structure that is used for the traversal interface element, the interface element that will belong to current interface according to the unit index of the every unit interface element in the described orderly store data structure is made as demonstration, and all the other interface elements are made as hiding;
Interface element display position determination module, the height, width and the default every cell data amount that are used for according to the interface are calculated the display position of each interface element of current interface, and the interface element of current interface are shown in the relevant position of current interface;
The interface element rendering module, the attribute that is used for whether showing according to interface element is played up demonstration with its relevant position in current interface and is comprised described interface element.
13. device as claimed in claim 11 is characterized in that, described device also comprises:
Real-time update module be used for to receive user's operational order, comprises the interface element that current interface is shown according to user's operational order real-time update.
14. device as claimed in claim 13 is characterized in that, described display module also comprises:
The current interface page module, be used for changing when shielding page-turning instruction when receiving, after calculating the initial interface element of current interface by described default every cell data amount, initial interface element according to current interface travels through the interface element that described orderly store data structure is determined current interface, and is made as the interface element of current interface hiding;
Next interface element display module, after calculating the initial interface element at next interface by described default every cell data amount, initial interface element according to next interface travels through the interface element that described orderly store data structure is determined next interface, proofreaies and correct that the interface element at next interface is set to show after the unit index of interface element at next interface.
15. device as claimed in claim 13 is characterized in that, described device also comprises:
The interface element removing module, be used for when the delete instruction that receives interface element, the interface element of described delete instruction appointment is deleted from orderly store data structure, and proofread and correct in the described orderly store data structure interface element corresponding from the position of delete instruction appointment to the unit index of last interface element of current interface, the interface element of described delete instruction appointment comprises one or more;
The interface element insert module, be used for when receiving interface element insertion instruction, the interface element of described insertion instruction appointment is inserted into the position of the described insertion instruction appointment in the orderly store data structure, and proofread and correct in the orderly store data structure unit index from the interface element of described insertion instruction appointment to last interface element of current interface, the interface element of described insertion instruction appointment comprises one or more.
CN201210353103.7A 2012-09-19 2012-09-19 Organization and management and displaying methods and devices for ordered data interface elements Expired - Fee Related CN102929923B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210353103.7A CN102929923B (en) 2012-09-19 2012-09-19 Organization and management and displaying methods and devices for ordered data interface elements

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210353103.7A CN102929923B (en) 2012-09-19 2012-09-19 Organization and management and displaying methods and devices for ordered data interface elements

Publications (2)

Publication Number Publication Date
CN102929923A true CN102929923A (en) 2013-02-13
CN102929923B CN102929923B (en) 2017-05-03

Family

ID=47644721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210353103.7A Expired - Fee Related CN102929923B (en) 2012-09-19 2012-09-19 Organization and management and displaying methods and devices for ordered data interface elements

Country Status (1)

Country Link
CN (1) CN102929923B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424233A (en) * 2013-08-26 2015-03-18 联想(北京)有限公司 Information processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060005207A1 (en) * 2004-06-25 2006-01-05 Louch John O Widget authoring and editing environment
CN101187901A (en) * 2007-12-20 2008-05-28 康佳集团股份有限公司 High speed cache system and method for implementing file access
CN102236516A (en) * 2010-04-30 2011-11-09 宏碁股份有限公司 Electronic device and control method thereof
CN102364423A (en) * 2011-06-28 2012-02-29 奇智软件(北京)有限公司 Desktop switching method
CN102663056A (en) * 2012-03-29 2012-09-12 奇智软件(北京)有限公司 Method and device for displaying picture elements

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060005207A1 (en) * 2004-06-25 2006-01-05 Louch John O Widget authoring and editing environment
CN101187901A (en) * 2007-12-20 2008-05-28 康佳集团股份有限公司 High speed cache system and method for implementing file access
CN102236516A (en) * 2010-04-30 2011-11-09 宏碁股份有限公司 Electronic device and control method thereof
CN102364423A (en) * 2011-06-28 2012-02-29 奇智软件(北京)有限公司 Desktop switching method
CN102663056A (en) * 2012-03-29 2012-09-12 奇智软件(北京)有限公司 Method and device for displaying picture elements

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424233A (en) * 2013-08-26 2015-03-18 联想(北京)有限公司 Information processing method and device

Also Published As

Publication number Publication date
CN102929923B (en) 2017-05-03

Similar Documents

Publication Publication Date Title
CN102508784B (en) Data storage method of flash memory card in video monitoring equipment, and system thereof
US8996981B2 (en) Managing forms in electronic documents
CN104615594B (en) A kind of data-updating method and device
CN102339291B (en) Method and equipment for generating list
CN104166970A (en) Handwriting data file generating method and apparatus thereof, handwriting data file recovery display method and apparatus thereof, and electronic device
CN103455437A (en) Data storage device and data storage device operation method
US9165603B2 (en) Method and apparatus for grouping video tracks in a video editing timeline
CN105718507A (en) Data migration method and device
US20140375578A1 (en) Information display apparatus, non-transitory computer-readable storage medium and display control method
CN104995622A (en) Compositor support for graphics functions
CN102760131A (en) Exhibition method and system of network album
CN107728983A (en) Double screen operating method and equipment
CN104750865A (en) Method for exhibiting virtual simulated exhibits
US10795606B2 (en) Buffer-based update of state data
CN108089858B (en) Method and device for creating visual interface
CN104461384B (en) A kind of method for writing data and storage device
CN103150145A (en) Parallel processing of semantically grouped data in data warehouse environments
CN103345519A (en) Method and device for data distribution of shared-nothing distributed database
CN105989166A (en) Waterfall flow type object display method, apparatus and system as well as electronic device
CN104967807A (en) Caching method and apparatus
CN102339318A (en) File system management method and system
CN107451271A (en) A kind of Hash table processing method, device, equipment and storage medium
CN103729418A (en) Vehicular platform media file managing method
US9542402B2 (en) Computing devices with multi-layer file systems
CN104391947A (en) Real-time processing method and system of mass GIS (geographic information system) data

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170503