CN103377195A - Method and device for webpage displaying hierarchical structure data - Google Patents

Method and device for webpage displaying hierarchical structure data Download PDF

Info

Publication number
CN103377195A
CN103377195A CN2012101102732A CN201210110273A CN103377195A CN 103377195 A CN103377195 A CN 103377195A CN 2012101102732 A CN2012101102732 A CN 2012101102732A CN 201210110273 A CN201210110273 A CN 201210110273A CN 103377195 A CN103377195 A CN 103377195A
Authority
CN
China
Prior art keywords
hierarchical structure
data
structure data
webpage
level
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
Application number
CN2012101102732A
Other languages
Chinese (zh)
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN2012101102732A priority Critical patent/CN103377195A/en
Publication of CN103377195A publication Critical patent/CN103377195A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

An embodiment of the invention discloses a method for webpage displaying hierarchical structure data. The method includes: loading webpage ActiveX for displaying the hierarchical structure data, wherein the webpage ActiveX at least contains one stage of data of the hierarchical structure data, and each datum of the hierarchical structure data corresponds to one identification number; monitoring whether the hierarchical structure data contained by the webpage ActiveX is triggered or not, if so, displaying the triggered data in the webpage ActiveX, and acquiring the next stage, to which the triggered data belong, of the hierarchical structure data according to the identification number corresponding to the triggered data; when the next stage of the hierarchical structure data is received by the webpage ActiveX, executing the webpage ActiveX monitoring step. The embodiment of the invention further discloses a device for webpage displaying the hierarchical structure data. By the method and the device, displaying space of the hierarchical structure data is saved, and overall information amount of the webpage is increased.

Description

A kind of hierarchical structure data webpage exhibiting method and device
Technical field
The application relates to technical field of data processing, particularly a kind of hierarchical structure data webpage exhibiting method and corresponding device.
Background technology
Along with the development of Internet technology, information magnanimity increases, and is more and more general by the mode of browser obtaining information.The user is according to self needs, and the information type of obtaining not only comprises the text-type data, such as the webpage article, and often relates to the hierarchical structure type data with set membership, such as the commodity classification of enumerating in the conditional filtering webpage.For easy reference, the ways of presentation of hierarchical structure data in webpage is generally tree-shaped form.Referring to accompanying drawing 1, the figure shows a kind of effect that represents of hierarchical structure data.When user selection one-level classification (such as " computing machine " of Fig. 1), browser will represent next stage classification under this grade classification (such as classification under Fig. 1 " computing machine ": hardware, software, other) in webpage, when the user clicks this next stage classification (such as " hardware " of Fig. 1), browser will represent again next stage classification under this grade classification (such as classification under Fig. 1 " hardware ": display, main frame) in webpage, and so forth, until bottom classification data.This mode that represents hierarchical structure data with tree-shaped form is conducive to the user and consults, meets conventional reading habit.But, when in webpage, representing hierarchical data in this mode, need to represent simultaneously all classification data of a level and affiliated next level thereof, certainly will will occupy in a large number the longitudinal space of webpage, the Global Information content that causes the limited webpage in space itself to comprise reduces.In addition, the layer of structure of the hierarchical data that represents when needs is dark, when data volume is larger, for keeping the tree-shaped structure that represents, will expend more internal memory, causes thus the interactive process speed of webpage to be slowed down, and reduced hierarchical structure data and represented efficient.
Summary of the invention
For solving the problems of the technologies described above, the embodiment of the present application provides a kind of hierarchical structure data webpage exhibiting method and corresponding device, represents the space that takies to reduce hierarchical structure data, and then improves the Global Information amount that webpage comprises.
The hierarchical structure data webpage exhibiting method that the embodiment of the present application provides comprises:
Load the webpage control that is used for representing hierarchical structure data, described webpage control comprises other data of level of hierarchical structure data at least, the respectively corresponding identification number of each data of described hierarchical structure data;
Whether the hierarchical structure data that the web page monitored control comprises is triggered, if trigger, then trigger data is presented in the described webpage control, and obtains next other hierarchical structure data of level under the described trigger data according to identification number corresponding to described trigger data;
After described next other hierarchical structure data of level is successfully received the webpage control, carry out the step of above-mentioned web page monitored control.
Preferably, in trigger data being presented in described webpage control before, the webpage control is carried out the territory divides, described trigger data is presented in the territory that the webpage control delimit.
Preferably, after described next other hierarchical structure data of level was received the webpage control, the step of carrying out the web page monitored control comprised: whether described next other hierarchical structure data of level that the web page monitored control receives is triggered.
Preferably, fail when receiving the webpage control at described next other hierarchical structure data of level, judge that described trigger data whether for other hierarchical structure data of level of the end, if so, then carries out the step of web page monitored control; If not, then re-execute the step of obtaining affiliated next other hierarchical structure data of level of trigger data.
Preferably, whether the hierarchical structure data that comprises of described web page monitored control is triggered and is specially: whether the hierarchical structure data that the web page monitored control comprises is selected.
Further preferably, whether whether the selected hierarchical structure data that comprises obtains focus or clicked for described hierarchical structure data.
Preferably, the hierarchical structure data that comprises of the webpage control of loading is the most top other hierarchical structure data.
The embodiment of the present application also provides a kind of hierarchical structure data webpage demonstration device, and this device comprises: loading unit, monitoring unit, represent unit, acquiring unit and receiving element, wherein:
Described loading unit is used for loading the webpage control that is used for representing hierarchical structure data, and described webpage control comprises other data of level of hierarchical structure data at least, the respectively corresponding identification number of each data of described hierarchical structure data;
Whether described monitoring unit is used for the hierarchical structure data that the web page monitored control comprises and is triggered, if trigger, then calls and represents unit and acquiring unit;
The described unit that represents is used for representing trigger data at described webpage control;
Described acquiring unit is used for obtaining next other hierarchical structure data of level under the described trigger data according to identification number corresponding to described trigger data;
Described receiving element is used for triggering monitoring unit after described next other hierarchical structure data of level is successfully received the webpage control.
Preferably, described device also comprises division unit, is used for before described trigger data is presented in described webpage control, the webpage control is carried out the territory divide, then: represent the unit described trigger data is presented in the territory of webpage control delimitation.
Preferably, described device also comprises judging unit, when receiving the webpage control for failing at described next other hierarchical structure data of level, judge whether described trigger data is other hierarchical structure data of level of the end, if, then call monitoring unit, if not, re invocation acquiring unit then.
The embodiment of the present application is loading for after representing the webpage control of hierarchical structure data, whether monitor the hierarchical structure data that this webpage control comprises is triggered, if trigger, be about to trigger data and be presented among the webpage control, and obtain next other hierarchical structure data of level under the described trigger data according to identification number corresponding to trigger data; After other hierarchical structure data of next one level is successfully received the webpage control, continue to carry out policer operation.Compared with prior art, the embodiment of the present application only represents the data that are triggered at every turn, hierarchical structure data only just represents when being subject to triggering under its that obtains according to this trigger data identification number, and representing scope is limited in the webpage control scope, and no longer the data of trigger data and affiliated next level thereof are all represented and represent with tree-shaped form, save thus the longitudinal space of webpage, be conducive to improve the Global Information content of webpage.And the embodiment of the present application has reduced memory consumption, thereby has accelerated the interactive process of webpage owing to need not keep the tree-shaped structure that represents, and has improved the efficient that represents of hierarchical structure data.
Description of drawings
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, the accompanying drawing that the following describes only is some embodiment that put down in writing among the application, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 be prior art a kind of hierarchical structure data represent the effect synoptic diagram;
Fig. 2 is the hierarchical structure data webpage exhibiting method process flow diagram of the embodiment of the present application one;
Fig. 3 is the hierarchical structure data webpage exhibiting method process flow diagram of the embodiment of the present application two;
Fig. 4 is that the example of the described embodiment of Fig. 3 represents design sketch;
Fig. 5 is the hierarchical structure data webpage exhibiting method process flow diagram of the embodiment of the present application three;
Fig. 6 is the structured flowchart of the hierarchical structure data webpage demonstration device of the embodiment of the present application four.
Embodiment
In order to make those skilled in the art person understand better technical scheme among the application, below in conjunction with the accompanying drawing in the embodiment of the present application, technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment only is the application's part embodiment, rather than whole embodiment.Based on the embodiment among the application, those of ordinary skills are not making the every other embodiment that obtains under the creative work prerequisite, all should belong to the scope of the application's protection.
For above-mentioned purpose, the feature and advantage that make the application can become apparent more, below in conjunction with the drawings and specific embodiments the application is described in further detail.
Referring to Fig. 2, the figure shows the process flow diagram of exhibiting method of the hierarchical structure data of the embodiment of the present application one.Present embodiment comprises:
Step S201: load the webpage control that is used for representing hierarchical structure data, described webpage control comprises other data of level of hierarchical structure data at least, the respectively corresponding identification number of each data of described hierarchical structure data;
Hierarchical structure data extensively exists in data processing field, is a kind of common Method of Data Organization.As previously mentioned, hierarchical structure data has level, for embodying this hierarchy characteristic, hierarchical structure data is also referred to as father and son's structured data, and namely each other data of level has the other data of its upper level (except the most top data), is the other data of parent, next stage data under it (the end rank data except) are also arranged, be the other data of sub level.Hierarchical structure data is usually pre-stored on the webserver, after the call request that receives from browser (webpage control), returns hierarchical structure data to browser (webpage control).For characterizing hierarchical structure data; usually can distribute an identification number for each hierarchical structure data; such as the data of ground floor level structure distribute successively 1.1,1.2,1.3..., the data of second layer level structure are distributed 1.1.1,1.1.2,1.1.3... successively, the like.Present embodiment loads first be used to the webpage control that represents hierarchical structure data, the webpage control here is based on the forms of the certain function of realization on webpages language development, that run on browser such as HTML, CSS, JaveScript, the presenting of forms is that program code in the webpage control realizes by carrying out, and the Web page loading control then can be presented to the viewable portion of webpage control on the page of webpage.The webpage control that present embodiment loads comprises at least other data of level of hierarchical structure data.Generally, during first Web page loading control, this control only and carry the most top other hierarchical structure data, the most top other hierarchical structure data is endowed a virtual identification number usually, such as being 0, in order to initialization webpage control.When refreshing the page after if the first record of right and wrong or the page do not respond, page control can carry and occur the front all hierarchical structure datas that keep of abnormal conditions last time behind the load page control.
Step S202: whether the hierarchical structure data that the web page monitored control comprises is triggered, if trigger, then trigger data is presented in the described webpage control, and obtains next other hierarchical structure data of level under the described trigger data according to identification number corresponding to described trigger data;
After being loaded on the browser for the webpage control that represents hierarchical structure data, whether the hierarchical structure data that the web page monitored control comprises is triggered.Whether the monitoring hierarchical structure data is triggered can be by the whether selected realization of monitoring hierarchical structure data, choosing of hierarchical structure data can have the multiple concrete form of expression, click the hierarchical structure data that described webpage control comprises such as the user by mouse, then clicked data are namely selected, also such as, the user carries out focus by mobile TAB key and switches, the data that then obtain focus are namely selected, if the user knows the identification number of hierarchical structure data, can also choose hierarchical structure data by the mode of input identification number.After certain data in the hierarchical structure data are triggered, be about in the visual forms that described trigger data is presented in described webpage control, and resolve trigger data and obtain identification number corresponding to trigger data, then from the webserver, obtain next other hierarchical structure data of level under the trigger data according to this identification number.Acquisition process is specifically as follows: after monitoring data-triggered, send a request message to the webserver, this request message carries the identification number of trigger data, after the webserver receives this request message, search hierarchical structure data under this identification number according to described identification number, then return next other hierarchical structure data of level that finds.Be triggered such as the hierarchical structure data of identification number for " 1.1 " two numerals, the webserver is then searched identification number according to identification number " 1.1 ", and to comprise " 1.1 " and digital number be three identification number, the identification numbers such as " 1.1.1 ", " 1.1.2 ", " 1.1.3 " will be searched, and then these identification numbers and hierarchical structure data corresponding to identification number be turned back to the request end.
Step 203: after described next other hierarchical structure data of level is successfully received the webpage control, return step S202.
After next other hierarchical structure data of level that returns from the webserver is successfully received the webpage control, return step S202, whether continue to carry out the hierarchical structure data that comprises in the web page monitored control triggers, at this moment webpage monitoring not only comprises trigger data place rank and other hierarchical structure data of higher level thereof, also comprises affiliated other hierarchical structure data of next stage of the trigger data that receives.When hierarchical structure data is monitored, only can monitor monitoring and rigidly connect the hierarchical structure data of receiving, also can monitor all hierarchical structure datas that the webpage control comprises.Front a kind of monitor mode can reduce monitoring parameter, improves the efficient that represents of hierarchical structure data, but under this monitor mode, only can realize representing in turn of hierarchical structure data, if need to get back to upper level, then need to refresh the page, reload the webpage control and again represent; Rear a kind of monitor mode although increased monitoring parameter, can adapt to the demand that the user crosses over or changes representing level, has increased the dirigibility that hierarchical structure data represents.In actual application, can select according to reality.
Present embodiment is loading for after representing the webpage control of hierarchical structure data, whether monitor the hierarchical structure data that this webpage control comprises is triggered, if trigger, be about to trigger data and be presented among the webpage control, and obtain next other hierarchical structure data of level under the described trigger data according to identification number corresponding to trigger data; After other hierarchical structure data of next one level is successfully received the webpage control, continue to carry out policer operation.Compared with prior art, the desirable at least following technique effect of present embodiment:
(1) because present embodiment only represents the data that are triggered at every turn, hierarchical structure data only just represents when be subject to triggering next time under its that obtains according to this trigger data identification number, do not need with trigger data with and affiliated next stage data are disposable all shows, can save thus the longitudinal space of webpage, be conducive to improve the Global Information content of webpage.
(2) owing to the represent scope of present embodiment with trigger data is limited in the webpage control scope, after once representing, can carry out cover type represents again, the data that do not need to have represented all arrange, also can save thus the horizontal space of webpage, thereby be conducive to improve the Global Information content of webpage.
(3) because present embodiment only represents certain data in the level at every turn, need not keep the tree-shaped structure that represents, thereby reduce memory consumption, accelerate the interactive process of webpage, be conducive to improve the efficient that represents of hierarchical structure data.
Above-described embodiment can be realized goal of the invention of the present invention as long as trigger data is presented in the webpage control scope in the time will representing trigger data, as for taking cover type to represent, still take extension to represent, and does not all affect the realization of goal of the invention of the present invention.But the application preferably realizes representing according to rear a kind of mode, can overcome like this cover type and represent change, the leap that can't represent level in the situation, to adapt to user's various real needs.For this reason, the embodiment that the application provides a kind of extension to represent, the second embodiment of formation the application.Referring to accompanying drawing 3, the figure shows the process flow diagram of exhibiting method of the hierarchical structure data of the embodiment of the present application two.Present embodiment comprises:
Step S301: load the webpage control that is used for representing hierarchical structure data, described webpage control comprises other data of level of hierarchical structure data at least, the respectively corresponding identification number of each data of described hierarchical structure data;
Step S302: whether the hierarchical structure data that the web page monitored control comprises is triggered, if trigger, then the webpage control is carried out the territory and divides;
After the hierarchical structure data that the webpage control comprises is triggered, the webpage control is carried out the territory divide, it namely is that visual forms to the webpage control carry out zone division that the territory is here divided, and once can divide a zone, also can once divide a plurality of zones, use when representing in order to the succeeding layer DBMS.It should be noted that the partiting step to the webpage control can namely carry out behind the Web page loading control, if know in advance the level of hierarchical structure data, need then can directly determine the territory quantity of division.
Step S303: trigger data is presented in the territory that described webpage control delimit, and obtains next other hierarchical structure data of level under the described trigger data according to identification number corresponding to described trigger data;
After the webpage control is divided into the territory, described trigger data can be presented in the territory of described webpage control delimitation, then carry out the operation of obtaining of affiliated next other hierarchical structure data of level of trigger data.
Step S304: after described next other hierarchical structure data of level is successfully received the webpage control, return step S302.
Present embodiment carries out the territory to the webpage control to be divided, and each trigger data is presented in the territory of webpage control when representing, and like this can extension shows whole levels of hierarchical structure data, is conducive to the user and changes level or cross over level.
For the ease of more being expressly understood the technical scheme of embodiment two, the below describes with an example.Referring to Fig. 4, the figure shows embodiment an example represent design sketch, wherein: Fig. 4 (a) has provided the hint effect that level represents, and Fig. 4 (b) has provided hint effect, Fig. 4 (c) that level changes and provided the hint effect that level represents leap.The data of this example still describe with the hierarchical data shown in Fig. 1: see first Fig. 4 (a), the upper figure expression of Fig. 4 (a) is through in the page control situation after the initialization, this page control is divided into one " territory ", this territory represents the hierarchical structure data of the first level that page control comprises, i.e. " 1 computing machine ", " 2 books " with the form of drop-down menu.After if user's point is opened drop-down menu, click " 1 computing machine " by mouse, then " 1 computing machine " this hierarchical structure data (being chosen) triggers, then this trigger data " 1 computing machine " is represented in this first territory, create simultaneously the second territory, second territory is used for presenting with drop-down menu-style the hierarchical structure data of the second level that the identification number " 1 " according to " 1 computing machine " obtains, i.e. " 1.1 hardware ", " 1.2 software ", " 1.3 other ", the result of this process is shown in figure among Fig. 4 (a).Same reason, after the user clicked selection " 1.1 hardware ", the webpage control presented effect shown in Fig. 4 (a) figure below.See again Fig. 4 (b), the upper figure of Fig. 4 (b) has represented to show the situation of " 1.1 hardware " hierarchical structure data, when not rethinking, the user do not check " hardware " and need to check the hierarchical structure data that " software " comprise the time, the user clicks " territory " drop-down menu corresponding to the second level, therefrom select " 1.2 software " hierarchical structure data, then the data that represent of the second territory of webpage control become " software " by " hardware ", hierarchical structure data in " please select " drop-down menu in the 3rd territory becomes the hierarchical structure data that " software " comprises by the hierarchical structure data that " hardware " comprises, i.e. situation shown in Fig. 4 (b) figure below.The below sees Fig. 4 (c), the upper figure of Fig. 4 (c) has represented to show the situation of " 1.1.1 display " hierarchical structure data, do not check " display " and need to again check the hierarchical structure data that " software " comprises when the user does not rethink, the user clicks " territory " drop-down menu corresponding to the second level, therefrom select " 1.2 software " hierarchical structure data, then the data that represent of the second territory of webpage control become " software " by " hardware ", " display " in the 3rd territory becomes " please select ", hierarchical structure data in its corresponding drop-down menu is by the hierarchical structure data that becomes " software " and comprise, i.e. situation shown in Fig. 4 (c) figure below.
After hierarchical structure data successfully receives the webpage control under its that will obtain according to the identification number of trigger data among previous embodiment one and the embodiment two, namely continue to carry out policer operation, here only the situation of the hierarchical structure data that successfully receives the webserver is limited, if unqualifiedly successfully hierarchical structure data is not received in the webpage control, how to process.In fact, the reason that hierarchical structure data is received in the webpage control of failing is a lot, such as, may be because network blockage, " in transit losing " appears in the data that cause having read out from the webserver, also may be the rank of the end that trigger data has arrived hierarchical structure data, no longer comprise next hierarchical structure data, thereby cause " failure is read in the source ".The application analyzes the reason of " not success " and takes different processing modes, thus, can consist of another embodiment-embodiment three of the application.Referring to accompanying drawing 5, the figure shows the process flow diagram of the hierarchical structure data exhibiting method of present embodiment three.This embodiment comprises:
Step S501: load the webpage control that is used for representing hierarchical structure data, described webpage control comprises other data of level of hierarchical structure data at least, the respectively corresponding identification number of each data of described hierarchical structure data;
Step S502: whether the hierarchical structure data that the web page monitored control comprises is triggered, if triggering, then execution in step S503;
Step S503: trigger data is presented in the described webpage control:
Step S504: obtain next other hierarchical structure data of level under the described trigger data according to identification number corresponding to described trigger data;
Step S505: judge whether successfully described next other hierarchical structure data of level to be received the webpage control, if so, then return step S502; If not, execution in step S505 then;
Step S506: judge that described trigger data whether for other hierarchical structure data of level of the end, if so, then returns step S502; If not, then return step S504.
Present embodiment passes through determining step, analyze the reason that whether hierarchical structure data is received in the webpage control, if owing to the problems such as Internet Transmission cause taking defeat, then re-start hierarchical structure data and obtain operation, if got access to other hierarchical data of level of the end, then continue the hierarchical structure data that the web page monitored control comprises.Performance that hierarchical structure represents that present embodiment is perfect.
More than be the description to the application's embodiment of the method, the device embodiment that the application also provides hierarchical structure data to represent, this embodiment are the application's embodiment four.Referring to accompanying drawing 6, the figure shows the structured flowchart of the hierarchical structure data demonstration device of the embodiment of the present application four.This device embodiment 600 comprises: loading unit 601, monitoring unit 602, represent unit 603, acquiring unit 604 and receiving element 605, wherein:
Described loading unit 601 is used for loading the webpage control that is used for representing hierarchical structure data, and described webpage control comprises other data of level of hierarchical structure data at least, the respectively corresponding identification number of each data of described hierarchical structure data;
Whether described monitoring unit 602 is used for the hierarchical structure data that the web page monitored control comprises and is triggered, if trigger, then calls and represents unit and acquiring unit;
The described unit 603 that represents is used for representing described trigger data at described webpage control;
Described acquiring unit 604 is used for obtaining next other hierarchical structure data of level under the described trigger data according to identification number corresponding to described trigger data;
Described receiving element 605 is used for triggering monitoring unit after described next other hierarchical structure data of level is successfully received the webpage control.
The course of work of this device embodiment 600 is: after loading unit 601 loads and is used for representing the webpage control of hierarchical structure data, whether the hierarchical structure data that is comprised by monitoring unit 602 web page monitored controls is triggered, if trigger, then call and represent unit 603 and acquiring unit 604; After representing unit 603 and being called trigger data is presented in the described webpage control, after acquiring unit 604 is called, obtains next other hierarchical structure data of level under the trigger data according to identification number corresponding to described trigger data; Receiving element 605 triggers monitoring unit 602 and monitors after described next other hierarchical structure data of level is successfully received the webpage control.
This device embodiment is loading for after representing the webpage control of hierarchical structure data, whether monitor the hierarchical structure data that this webpage control comprises is triggered, if trigger, be about to trigger data and be presented among the webpage control, and obtain next other hierarchical structure data of level under the described trigger data according to identification number corresponding to trigger data; After other hierarchical structure data of next one level is successfully received the webpage control, continue to carry out policer operation.Compared with prior art, this device embodiment only represents the data that are triggered at every turn, hierarchical structure data only just represents when being subject to triggering under its that obtains according to this trigger data identification number, and representing scope is limited in the webpage control scope, and no longer the data of trigger data and affiliated next level thereof are all represented and represent with tree-shaped form, save thus the longitudinal space of webpage, be conducive to improve the Global Information content of webpage.And this device embodiment has reduced memory consumption, thereby has accelerated the interactive process of webpage owing to need not keep the tree-shaped structure that represents, and has improved the efficient that represents of hierarchical structure data.
Said apparatus embodiment can also comprise division unit 606, is used for before described trigger data is presented in described webpage control, the webpage control is carried out the territory divide.After webpage control dividing domain, represent unit 603 trigger data is presented in the territory of webpage control delimitation.Each level of hierarchical structure data all can be presented in the webpage control in this way, not only save vertical spacial flex, and be conducive to the user and check hierarchical structure data.
Said apparatus embodiment can also comprise judging unit 607, when receiving the webpage control for failing at described next other hierarchical structure data of level, judge whether described trigger data is other hierarchical structure data of level of the end, if, then call monitoring unit, if not, re invocation acquiring unit then.Can make a concrete analysis of the fail reason of receive data of webpage control by increasing judging unit, if since the failing of causing such as network blockage receive, then the re invocation acquiring unit carries out data acquisition, if represented the minimum rank of hierarchical structure data, then no longer require to obtain hierarchical data, and the hierarchical data in the direct web page monitored control.This mode is conducive to improve the performance that hierarchical structure data represents.
For the convenience of describing, be divided into various unit with function when describing above device and describe respectively.Certainly, when implementing the application, can in same or a plurality of softwares and/or hardware, realize the function of each unit.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the application and can realize by the mode that software adds essential general hardware platform.Based on such understanding, the part that the application's technical scheme contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in the storage medium, such as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the application or embodiment.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and identical similar part is mutually referring to getting final product between each embodiment, and each embodiment stresses is difference with other embodiment.Especially, for system embodiment, because its basic simlarity is in embodiment of the method, so describe fairly simplely, relevant part gets final product referring to the part explanation of embodiment of the method.System embodiment described above only is schematic, wherein said unit as the separating component explanation can or can not be physically to separate also, the parts that show as the unit can be or can not be physical locations also, namely can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select according to the actual needs wherein some or all of module to realize the purpose of present embodiment scheme.Those of ordinary skills namely can understand and implement in the situation of not paying creative work.
The application can be used in numerous general or special purpose computingasystem environment or the configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multicomputer system, the system based on microprocessor, set top box, programmable consumer-elcetronics devices, network PC, small-size computer, mainframe computer, comprise distributed computing environment of above any system or equipment etc.
The application can describe in the general context of the computer executable instructions of being carried out by computing machine, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract data type, program, object, assembly, data structure etc.Also can in distributed computing environment, put into practice the application, in these distributed computing environment, be executed the task by the teleprocessing equipment that is connected by communication network.In distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
The above only is the application's embodiment; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the application's principle; can also make some improvements and modifications, these improvements and modifications also should be considered as the application's protection domain.

Claims (10)

1. hierarchical structure data webpage exhibiting method is characterized in that the method comprises:
Load the webpage control that is used for representing hierarchical structure data, described webpage control comprises other data of level of hierarchical structure data at least, the respectively corresponding identification number of each data of described hierarchical structure data;
Whether the hierarchical structure data that the web page monitored control comprises is triggered, if trigger, then trigger data is presented in the described webpage control, and obtains next other hierarchical structure data of level under the described trigger data according to identification number corresponding to described trigger data;
After described next other hierarchical structure data of level is successfully received the webpage control, carry out the step of above-mentioned web page monitored control.
2. method according to claim 1 is characterized in that, in trigger data being presented in described webpage control before, the webpage control is carried out the territory divides, described trigger data is presented in the territory that the webpage control delimit.
3. method according to claim 1 is characterized in that, after described next other hierarchical structure data of level was received the webpage control, the step of carrying out the web page monitored control comprised:
Whether described next other hierarchical structure data of level that the web page monitored control receives is triggered.
4. method according to claim 1, it is characterized in that, described next other hierarchical structure data of level is being failed when receiving the webpage control, judge that whether described trigger data is other hierarchical structure data of level of the end, if so, then carry out the step of web page monitored control; If not, then re-execute the step of obtaining affiliated next other hierarchical structure data of level of trigger data.
5. any one described method in 4 according to claim 1 is characterized in that whether the hierarchical structure data that described web page monitored control comprises is triggered and is specially:
Whether the hierarchical structure data that the web page monitored control comprises is selected.
6. method according to claim 5 is characterized in that, whether whether the selected hierarchical structure data that comprises obtains focus or clicked to described hierarchical structure data.
7. any one described method in 4 according to claim 1 is characterized in that the hierarchical structure data that the webpage control of loading comprises is the most top other hierarchical structure data.
8. hierarchical structure data webpage demonstration device is characterized in that this device comprises: loading unit, monitoring unit, represent unit, acquiring unit and receiving element, wherein:
Described loading unit is used for loading the webpage control that is used for representing hierarchical structure data, and described webpage control comprises other data of level of hierarchical structure data at least, the respectively corresponding identification number of each data of described hierarchical structure data;
Whether described monitoring unit is used for the hierarchical structure data that the web page monitored control comprises and is triggered, if trigger, then calls and represents unit and acquiring unit;
The described unit that represents is used for representing trigger data at described webpage control;
Described acquiring unit is used for obtaining next other hierarchical structure data of level under the described trigger data according to identification number corresponding to described trigger data;
Described receiving element is used for triggering monitoring unit after described next other hierarchical structure data of level is successfully received the webpage control.
9. device according to claim 8, it is characterized in that, described device also comprises division unit, be used for before described trigger data is presented in described webpage control, the webpage control is carried out the territory divide, then: represent the unit described trigger data is presented in the territory of webpage control delimitation.
10. device according to claim 8, it is characterized in that, described device also comprises judging unit, when receiving the webpage control for failing at described next other hierarchical structure data of level, judge that described trigger data whether for other hierarchical structure data of level of the end, if so, then calls monitoring unit, if not, re invocation acquiring unit then.
CN2012101102732A 2012-04-13 2012-04-13 Method and device for webpage displaying hierarchical structure data Pending CN103377195A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101102732A CN103377195A (en) 2012-04-13 2012-04-13 Method and device for webpage displaying hierarchical structure data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101102732A CN103377195A (en) 2012-04-13 2012-04-13 Method and device for webpage displaying hierarchical structure data

Publications (1)

Publication Number Publication Date
CN103377195A true CN103377195A (en) 2013-10-30

Family

ID=49462325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101102732A Pending CN103377195A (en) 2012-04-13 2012-04-13 Method and device for webpage displaying hierarchical structure data

Country Status (1)

Country Link
CN (1) CN103377195A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105787034A (en) * 2016-02-25 2016-07-20 海智网聚网络技术(北京)有限公司 Data presentation method and device
CN105824611A (en) * 2015-10-20 2016-08-03 广东亿迅科技有限公司 Rapid development system based on Android intelligent operation platform
CN107423086A (en) * 2017-05-08 2017-12-01 深圳市茁壮网络股份有限公司 The plug-in unit building method and its method to set up and device of multistage tab

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1364266A (en) * 1999-05-28 2002-08-14 瑟沃尔互动技术公司 Nagivating hierarchically organized information
US20060085435A1 (en) * 2004-10-14 2006-04-20 International Business Machines Corporation Method and data processing system for displaying hierarchical tree data
CN1886740A (en) * 2003-10-28 2006-12-27 李视亚 Method and apparatus for retrieving information from an information source
CN101231645A (en) * 2007-01-23 2008-07-30 鸿富锦精密工业(深圳)有限公司 System and method for dynamics exhibiting tree type contents
CN101256569A (en) * 2003-06-02 2008-09-03 李视亚 Information retrieval apparatus and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1364266A (en) * 1999-05-28 2002-08-14 瑟沃尔互动技术公司 Nagivating hierarchically organized information
CN101256569A (en) * 2003-06-02 2008-09-03 李视亚 Information retrieval apparatus and method
CN1886740A (en) * 2003-10-28 2006-12-27 李视亚 Method and apparatus for retrieving information from an information source
US20060085435A1 (en) * 2004-10-14 2006-04-20 International Business Machines Corporation Method and data processing system for displaying hierarchical tree data
CN101231645A (en) * 2007-01-23 2008-07-30 鸿富锦精密工业(深圳)有限公司 System and method for dynamics exhibiting tree type contents

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王军号: "Ajax 与XML 在二级联动列表菜单中的协同应用", 《实验室研究与探索》 *
王军号: "Ajax 与XML 在二级联动列表菜单中的协同应用", 《试验室研究与探索》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824611A (en) * 2015-10-20 2016-08-03 广东亿迅科技有限公司 Rapid development system based on Android intelligent operation platform
CN105787034A (en) * 2016-02-25 2016-07-20 海智网聚网络技术(北京)有限公司 Data presentation method and device
WO2017143996A1 (en) * 2016-02-25 2017-08-31 海致网络技术(北京)有限公司 Data presentation method and device
CN107423086A (en) * 2017-05-08 2017-12-01 深圳市茁壮网络股份有限公司 The plug-in unit building method and its method to set up and device of multistage tab
CN107423086B (en) * 2017-05-08 2020-07-28 深圳市茁壮网络股份有限公司 Plug-in construction method of multi-level tab and setting method and device thereof

Similar Documents

Publication Publication Date Title
CN110651251B (en) System and method for adaptive user interface
JP6195182B2 (en) Application scenario identification method, power consumption management method, apparatus, and terminal device
US9195372B2 (en) Methods, systems, and computer program products for grouping tabbed portion of a display object based on content relationships and user interaction levels
US9124488B2 (en) Method and apparatus for visualizing the health of datacenter objects
US7788599B2 (en) User interface elements for hierarchical selection of items
US20150220492A1 (en) Systems and methods for integrating dynamic content into electronic media
US20090182727A1 (en) System and method for generating tag cloud in user collaboration websites
CN104850296B (en) Method and device for displaying page content
CN102799382A (en) Control method for system bar of user equipment, and user equipment
US20190065442A1 (en) Snapping content header in scrolled document
CN106293352B (en) Page construction method, terminal and server
CN112667330B (en) Page display method and computer equipment
CN106156194A (en) A kind of method and device forming user operation path
CA2867533A1 (en) Systems and methods for delivery techniques of contextualized services on mobile devices
US20130067394A1 (en) Pointer invocable navigational user interface
JP6364064B2 (en) Web page display device, method thereof and computer program thereof
CN109960491A (en) Application program generation method, generating means, electronic equipment and storage medium
CN102859519A (en) Method and system for organizing information with a sharable user interface
CN110209966A (en) A kind of webpage method for refreshing, Web page system and electronic equipment
WO2014194654A1 (en) Method and apparatus for page view switching
US10452723B2 (en) Detecting malformed application screens
CN110647272A (en) Display control method and device
CN110968813A (en) Index page display method and device
CN105787034A (en) Data presentation method and device
CN105183853A (en) Method and device used for presenting label page

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1186555

Country of ref document: HK

RJ01 Rejection of invention patent application after publication

Application publication date: 20131030

RJ01 Rejection of invention patent application after publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: WD

Ref document number: 1186555

Country of ref document: HK