CN101887362B - Widget-based prefetching method and widget prefetching equipment - Google Patents
Widget-based prefetching method and widget prefetching equipment Download PDFInfo
- Publication number
- CN101887362B CN101887362B CN 200910140743 CN200910140743A CN101887362B CN 101887362 B CN101887362 B CN 101887362B CN 200910140743 CN200910140743 CN 200910140743 CN 200910140743 A CN200910140743 A CN 200910140743A CN 101887362 B CN101887362 B CN 101887362B
- Authority
- CN
- China
- Prior art keywords
- operation code
- networking operation
- dependence
- networking
- factor
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a widget-based prefetching method and widget prefetching equipment, and belongs to the field of computers. The method comprises the following steps of: acquiring the dependency between networking operation codes of the widget and dependent factors of the networking operation codes; acquiring user interactive information of the widget; and according to the dependency and the user interactive information, executing the prefetching of the widget. The equipment comprises a dependency acquisition module, an interactive information acquisition module and a prefetching module. Through the dependency between the networking operation codes and the dependent factors of the networking operation codes and the user interactive information, the prefetching of the widget is executed, the delay sensed by the user is shortened, and the user experience is improved.
Description
Technical field
The present invention relates to computer realm, particularly a kind of forecasting method and the pre-taking equipment of microtec based on microtec.
Background technology
Widget is called microtec or little, is a kind of little application of Internet-based, is generally used for realizing certain specific function, has expanded on various desktop operating systems and the mobile phone operating system now.Microtec is changing the access mode of internet as a kind of special " webpage ", and customer access network no longer needs to depend on browser, but just can realize the function of accesses network by these small tools.
Mobile Widget (mobile microtec) refers to run on the microtec on the portable terminal.Under wireless mobile environment, the user often thinks that network speed is slow.The network delay that user awareness arrives, can represent with end-to-end time delay, end-to-end time delay=sending/receiving time delay+propagation delay time+processing delay, wherein the sending/receiving Delay Constraint is in the network bandwidth, propagation delay time is subject to the light velocity, and processing delay is subject to each network equipment to the processing power of packet.Therefore, end-to-end time delay always exists.How to reduce the end-to-end time delay that user awareness arrives, have very large researching value.
With respect to webpage, hyperlink is used seldom in widget, accounts for alternately major part in widget,, selects button click etc. in drop-down list box such as input text in text box.Widget obtains Web content, when the user has real demand often, has carried out a certain interactive operation, for example clicked a button, then widget device access network, and from network, obtaining and the corresponding content of interactive operation, at last with the content presentation that gets access to the user.Because after the user carried out interactive operation, widget equipment visited again network, and obtains and the corresponding content of interactive operation, therefore, in any case increase the network bandwidth, user awareness to end-to-end time delay all exist.Under mobile microtec application scenarios, the end-to-end time delay that user awareness arrives is often larger, affects the user and experiences.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
The time delay of widget device access network is larger in the prior art, poor user experience.
Summary of the invention
The embodiment of the invention provides a kind of forecasting method based on microtec and the pre-taking equipment of microtec, the time delay that arrives to reduce user awareness.Described technical scheme is as follows:
A kind of forecasting method based on microtec, described method comprises:
Obtain the dependence between the dependence factor of the networking operation code of microtec and described networking operation code;
Obtain the customer interaction information of described microtec;
According to described dependence and described customer interaction information, carry out looking ahead of described microtec;
Wherein, described dependence comprises call relation, and perhaps described dependence comprises call relation and impact relation;
Described dependence factor comprises variable, function, event or code;
Described customer interaction information is the current interactive information of user or user's history mutual information;
Described customer interaction information comprises: type of interaction, interaction time and trigger event, and described type of interaction comprises: text box input text, button click, selection drop-down list clauses and subclauses, roll mouse, to pull progress bar, radio box selected and check box is selected;
Wherein, the dependence between the dependence factor of the described networking operation code of obtaining microtec and described networking operation code comprises:
When there is call relation in the event in the dependence factor of described networking operation code and described networking operation code, obtain the impact relation between the dependence factor of described networking operation code and described networking operation code, obtain the call relation between the dependence factor of described networking operation code and described networking operation code.
The pre-taking equipment of a kind of microtec, described equipment comprises:
The dependence acquisition module is for the dependence between the dependence factor of the networking operation code of obtaining microtec and described networking operation code;
The interactive information acquisition module is for the customer interaction information that obtains described microtec;
Prefetch module is used for the customer interaction information that the dependence that obtains according to described dependence acquisition module and described interactive information acquisition module obtain, and carries out looking ahead of described microtec;
Wherein, the dependence in the described dependence acquisition module comprises call relation, and perhaps described dependence comprises call relation and impact relation;
Dependence factor in the described dependence acquisition module comprises variable, function, event or code;
Customer interaction information in the described interactive information acquisition module is the current interactive information of user or user's history mutual information;
Customer interaction information in the described interactive information acquisition module comprises: type of interaction, interaction time and trigger event, and described type of interaction comprises: text box input text, button click, selection drop-down list clauses and subclauses, roll mouse, to pull progress bar, radio box selected and check box is selected;
Wherein, described dependence acquisition module comprises:
Affect the Relation acquisition unit, be used for when there is call relation in the event of the dependence factor of described networking operation code and described networking operation code, the impact of obtaining between the dependence factor of described networking operation code and described networking operation code concerns;
The call relation acquiring unit is used for when there is call relation in the event of the networking operation code of described microtec and dependence factor, obtains the call relation between the dependence factor of described networking operation code and described networking operation code.
The technical scheme that the embodiment of the invention provides is carried out looking ahead of microtec by according to dependence and customer interaction information between networking operation code and the dependence factor, has reduced the time delay that user awareness arrives, and has improved user's experience.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the accompanying drawing of required use was done to introduce simply during the below will describe embodiment, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, 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 is the forecasting method process flow diagram based on microtec that provides in the embodiment of the invention 1;
Fig. 2 is the forecasting method process flow diagram based on microtec that provides in the embodiment of the invention 2;
Fig. 3 is the generation dependence method flow diagram that provides in the embodiment of the invention 2;
Fig. 4 is the RSS microtec synoptic diagram that provides in the embodiment of the invention 2;
Fig. 5 is another process flow diagram of forecasting method based on microtec that provides in the embodiment of the invention 2;
Fig. 6 is the exchange rate conversion microtec synoptic diagram that provides in the embodiment of the invention 2;
Fig. 7 is the microtec that provides in the embodiment of the invention 3 device structure synoptic diagram of looking ahead;
Fig. 8 is another structural representation of the pre-taking equipment of microtec that provides in the embodiment of the invention 3.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Referring to Fig. 1, the embodiment of the invention provides a kind of forecasting method based on microtec, comprising:
101: obtain the dependence between the dependence factor of the networking operation code of microtec and this networking operation code, this dependence comprises call relation, and perhaps this dependence comprises call relation and impact relation;
102: obtain the customer interaction information of this microtec, this customer interaction information is the current interactive information of user or user's history mutual information;
103: according to this dependence and this customer interaction information, carry out looking ahead of this microtec.
The method that the embodiment of the invention provides, by according to dependence and customer interaction information between networking operation code and the dependence factor, carry out looking ahead of microtec, Web content is kept at this locality, after the user has true networking operation, directly obtain Web content from this locality, and need not be from Network Capture.With respect to prior art, after the user carries out interactive operation, again from the corresponding Web content of Network Capture, reduced the time delay that user awareness arrives, improved user's experience.
Embodiment 2
Referring to Fig. 2, the embodiment of the invention provides a kind of forecasting method based on microtec, and idiographic flow is as follows:
201: generate the networking operation code of microtec and the dependence between its dependence factor.
Wherein, the networking operation code is to be responsible for obtaining the code of Web content in the microtec file.For example, if microtec adopts javascript, the operation code of then networking can be the ajax request.
Wherein, dependence factor comprises: the variable, function, event or other code that directly or indirectly affect/call the networking operation code.
Wherein, dependence comprises call relation at least, can also comprise the impact relation.Specifically, the impact relation is the relation between networking operation code and variable, function, event or other code that directly or indirectly affects the networking operation code.Call relation is the relation between networking operation code and function, event or other code that directly or indirectly calls the networking operation code.
The detailed process that generates dependence is as follows:
When there are call relation in the networking operation code of this microtec and the event in the dependence factor, generate the impact relation between the dependence factor of this networking operation code and this networking operation code, and generate the call relation between the dependence factor of this networking operation code and this networking operation code.
Wherein, the impact relation of obtaining between the dependence factor of this networking operation code and this networking operation code specifically comprises: the impact of obtaining between the direct dependence factor of this networking operation code and this networking operation code concerns; Perhaps, obtain the impact relation between the direct dependence factor of this networking operation code and this networking operation code, and the impact of obtaining between the indirect dependence factor of this networking operation code and this networking operation code concerns.
Wherein, the call relation that obtains between the dependence factor of this networking operation code and this networking operation code specifically comprises: obtain the call relation between the direct dependence factor of this networking operation code and this networking operation code; Perhaps, obtain the call relation between the direct dependence factor of this networking operation code and this networking operation code, and obtain the call relation between the indirect dependence factor of this networking operation code and this networking operation code.
Further, dependence can generate in advance, also can download afterwards regeneration of microtec.
When specific implementation, referring to Fig. 3, can adopt following flow process to generate dependence:
201a: from the microtec file, extract all networking operation codes, put into respectively data set A, data set B, empty simultaneously database C.
201b: judge whether non-NULL of data set A, if the data set non-NULL, execution in step 201c, otherwise, execution in step 201h.
201c: from data set A, take out not by analysis a member Ax, for Ax, find out direct variable, function, event or the code that affects it, they are put into data set A, and function is added into data set B, simultaneously member is by analysis deleted from data set A.
201d: in database C, add Ax and concern with impact between the variable, function, event or the code that directly affect it, then execution in step 201b.
201e: judge whether non-NULL of data set B, if the data set non-NULL, execution in step 201f, otherwise, execution in step 201h.In the present embodiment, step 201b and step 201e do not have the succession of execution.
201f: from data set B, take out not by analysis a member By, for By, find out the function, event or the code that directly call it, they are put into data set B, simultaneously member is by analysis deleted from data set B.
201g: in database C, add By and directly call call relation between its function, event or the code, then execution in step 201e.
201h: all the networking operation codes among the C of ergodic data storehouse, when there are call relation in network operation code and event, obtain the relation that directly and indirectly affects between this networking operation code and the dependence factor, obtain directly and the indirectly call relation between this networking operation code and the dependence factor, should affect and concern and call relation is added into the dependence database.
Concrete, the dependence database comprises: two elements of microtec sign, dependence and relationship type.Wherein, two elements of dependence represent with from field and to field respectively that in the present embodiment expression from field is affected by the to field, and perhaps the from field is called by the to field.Relationship type comprises: impact relation and call relation.
Concrete, comprise among the database C: the relation that affects or call relation between networking operation code and its direct dependence factor also may comprise the relation that affects or call relation between networking operation code and its indirect dependence factor.
201i: flow process finishes.
Below in conjunction with the example of a concrete RSS (Really Simple Syndication, simple and easy information polymerization) widget, the workflow that generates dependence is described.Referring to Fig. 4, this RSS widget interface has RSS clauses and subclauses to present zone and " page up ", " lower one page " two the navigation buttons, by clicking the navigation button from the RSS clauses and subclauses of network acquisition current page page up or lower one page, be illustrated in the RSS clauses and subclauses and present the zone." xmlHttpReq.open (" GET ", " http://xxx? i="+i, true); " be networking operation code unique in the RSS Widget code, it is arranged in function request.The below obtains respectively impact relation and call relation:
Have the impact relation between networking operation code and the variable i, because the different values of variable i can cause different networking operating results, the Web content that namely obtains is different.Variable i is affected by 3 place's codes again, and they are " vari=1; ", " i--", " i++ " change because the execution meeting of this 3 place code produces the value of variable i; And " i--" in function f, and " i++ " is in function g, so variable i and code " vari=1; ", have the impact relation between the function f, function g.
The networking operation code is in function request, and there is call relation in the operation code function request that therefore networks; There are call relation in function request function f, function g; Function f is called by page up onclick event, so there are call relation in function f and page up onclick event; Function g is called by the corresponding onclick event of lower one page, so there is call relation in the function g onclick event corresponding with lower one page.Therefore, RSS widget dependence is as shown in table 1 in the record format of dependence database:
Table 1 dependence data-base recording form
The below describes the dependence database format.Because therefore the dependence that the dependence database has been preserved all widget adopts " Widget_ID " field to distinguish certain bar dependence and be aimed at which widget, this is the widget sign; " From " and " To " field represents two elements of dependence, wherein adopts concrete " filename: line number: row number " to come element-specific is limited, because may have function of the same name, variable or event among a widget; The type of " relationship type " expression dependence comprises impact relation and call relation.
202: according to customer interaction information, upgrade dependence, namely to dependence increase, the operations such as modification or deletion.
For example, by the analysis user interactive information, find the user start must carry out behind the widget a certain mutual, thereby trigger the networking operation.This information is non-existent in the dependence database, this dependence can be added in the dependence database.Dependence database update form is as shown in table 2:
Table 2 dependence database update form
203: according to user's operation, obtain customer interaction information, customer interaction information is recorded in the customer interaction information database.
Wherein, the customer interaction information database is take widget as unit, and tissue starts to widget from widget and closes customer interaction information the whole process.Customer interaction information comprises: type of interaction, interaction time, trigger event etc.According to the time of origin of user's operation, customer interaction information is further divided into again: the current interactive information of user and user's history mutual information.Type of interaction comprises: in text box input text, button click, selection drop-down list clauses and subclauses, pull that progress bar, roll mouse, radio box are selected, check box is selected and microtec starts and microtec such as closes at the user interactive.
The customer interaction information form is as shown in table 3, and wherein " Widget_ID " is the identifier of widget; " type of interaction " is predefined customer interaction information type; " interaction time " can for the user interactions time of origin and between midnight on January 1st, 1970 global standards between the time the millisecond number; The mutual event that triggers of " trigger event " recording user is such as onclick event of button 1 etc.
Table 3 customer interaction information form
Widget_ID | Type of interaction | Interaction time | Trigger event |
X_ID | Widget starts | X1 | Widget starts event |
X_ID | The text box input text | X2 | The onchange event of |
X_ID | Button click | X3 | The onclick event of |
X_ID | Select the drop-down list clauses and subclauses | X4 | The onchange event of drop-down |
X_ID | Widget closes | X5 | The Widget close event |
204: according to user's history mutual information, set up user model.
Wherein, user's history mutual information has contained a lot of Useful Informations, by the analysis user history mutual information, can know that the user likes degree, user's use habit, user's preference etc. to certain or some widget, these information are referred to as user model, perhaps user profile.In addition, user model also is kept at the customer interaction information database.
205: according to dependence and the current interactive information of user, carry out looking ahead of microtec.
Concrete, the current interactive information of user triggers a certain event, if this event has changed the value that directly affects the dependence factor of the second networking operation code in the impact relation, according to the direct value that affects the dependence factor of the second networking operation code, pre-execution the second networking operation code, obtain the second networking operating result, second the networking operation code be the networking operation code that does not have call relation with this event, preserve this second the networking operation code, directly affect second the networking operation code the dependence factor value and corresponding second the networking operating result.Idiographic flow is referring to shown in Figure 5:
205a: microtec starts.
205b: initialization operation is complete, and UI (User Interface, user interface) represents to the user.
205c: when the call relation non-NULL of this microtec, wait for that the user's is mutual.
205d: certain moment user has carried out interactive operation, may trigger corresponding event, establishes trigger event A.
205e: decision event A whether in call relation, if at, execution in step 205f, if do not exist, execution in step 205g.
205f: judging the first networking operation code that has call relation with event A, also is the networking operation code that event A triggers, whether by pre-execution, if not, execution in step 205g, if, execution in step 205h.
205g: carry out the code of event A, then execution in step 205i.
205h: skip the networking operation code, from the prefetch data storehouse, read corresponding the first networking operating result of the first networking operation code, and the event of execution A residue code.
205i: search the second networking operation code that does not have direct or indirect call relation with event A, be designated as set B.
205j: judge whether non-NULL of set B, if, execution in step 205c, if not, execution in step 205k.
205k: take out a networking operation code Bx from set B, whether decision event A changes the value that directly affects the dependence factor of Bx in the impact relation, if not, execution in step 205j, if, execution in step 205l, the networking operation code that then will judge is deleted from set B.
205l: judge whether the value that directly affects the element of Bx satisfies condition, if not, execution in step 205j, if, execution in step 205m.
205m: according to the value of the dependence factor that directly affects Bx, pre-execution Bx, the operation of networking obtains the second networking operating result, and the value and second that with Bx, directly affects the dependence factor of the Bx operating result of networking is kept at the prefetch data storehouse, then execution in step 205j.
This step be when the user have mutual after, whether can change alternately the value of networking operation code institute affected variable, function, event or code by analysis user, thereby determine whether the pre-execution networking operates, and carries out Web content and looks ahead.Because being based on the current interactive information of user looks ahead, the content comparison operators of looking ahead share next step demand at family, is unlikely to blindly to look ahead, and the prefetching process resource consumption is smaller.
206: according to dependence and user's history mutual information, carry out looking ahead of microtec
Concrete, according to user's history mutual information, set up user model; According to this user model, obtain the customer interaction information of prediction, the customer interaction information trigger event of this prediction; According to the direct value that affects the first networking operation code, pre-execution the first networking operation code obtains the first networking operating result, and this first networking operation code is the networking operation code that has call relation with this event; In the pre-execution process, if this event has changed the value that directly affects the dependence factor of the second networking operation code in the impact relation, according to the direct value that affects the dependence factor of the second networking operation code, this the second networking operation code of pre-execution, obtain the second networking operating result, this second networking operation code is the networking operation code that does not have call relation with this event; Preserve value and this first networking operating result of the dependence factor that directly affects this first networking operation code in this first networking operation code, this pre-execution process, and preserve the value of the dependence factor that directly affect the second networking operation code in this second networking operation code, this pre-execution process and corresponding this second operating result of networking, specifically can be kept in the prefetch data storehouse of microtec equipment this locality.
207: according to processing power or the network condition of microtec equipment, carry out looking ahead of microtec.
Concrete, more weak when the processing power of microtec equipment, or network condition is not suitable for looking ahead frequently when poor, can set and look ahead after all dependence factors of impact networking operation code or more dependence factor change again; Relatively good when network condition, can increase the dynamics of looking ahead, for example certain or a few dependence factor when impact networking operation code changes and can look ahead.
Example below in conjunction with a concrete exchange rate conversion illustrates the workflow that microtec is looked ahead.Referring to Fig. 6, the user at first selects the source currency from drop-down list, select target currency from drop-down list, then the source amount of currency that input need to be changed in the text input frame, click at last switching button, then microtec calculates with the source amount of currency from the exchange rate of Network Capture source currency and target currency, and transformation result is presented at the interface.The corresponding dependence of exchange rate conversion microtec is as shown in table 4.
The dependence of table 4 exchange rate conversion microtec
The networking operation code is affected by variable from.value, variable to.value, in the widget file, can not find the element of variation from.value, variable to.value, its real variable from.value is affected by source currency drop-down list onchange event, variable to.value is affected by target currency drop-down list onchange event, these two impact relations imply, need to be with they explicit being illustrated in the dependence.According to the transfer principle of relation, can know that the networking operation code is affected by source currency drop-down list onchange event, target currency drop-down list onchange event, is converted button onclick event and calls.Therefore, just can trigger and look ahead when the user has selected source currency, target currency, obtain the exchange rate between two kinds of currency, when the user has inputted the source amount of currency, when clicking switching button, can skip the networking operation code, directly carry out the conversion work of the exchange rate and source amount of currency, save user's stand-by period.In addition, use the history mutual information of exchange rate conversion microtec by analysis user, find that the user converts Renminbi to other currency, therefore can be with target currency drop-down list onchange event as the trigger condition of looking ahead, when target currency drop-down list changes, can carry out again looking ahead of the exchange rate, look ahead again and needn't wait source currency, target currency drop-down list that the onchange event all occurs.
Prefetching information is kept in the prefetch data storehouse, and the prefetch data storehouse comprises: the information such as value, prefetching content (operating result of namely networking) and the time of looking ahead of the dependence factor of microtec sign, networking operation code, impact networking operation code.Take exchange rate conversion microtec as example, the prefetch data library format is as shown in table 5.
Table 5 prefetch data storehouse record format
In the table 5, " Widget_ID " is the unique identification of the microtec of looking ahead; " networking operation code " be prefetch operation for the networking operation code; The value of the dependence factor of " value of the dependence factor of impact networking operation code " direct impact networking operation code when field record is looked ahead; " prefetching content " preserves the Web content of looking ahead and obtaining, and can be any data format, such as picture, text, scale-of-two etc.; The time that the record of " looking ahead the time " is looked ahead, the millisecond number of global standards between the time represents between the time that can occur with looking ahead and midnight on January 1st, 1970, this mainly is the application for some effective property requirements, such as the exchange rate, stock etc., the current interaction time of time gap user is longer if look ahead, even certain networking operation code is successfully looked ahead, because it may lose efficacy, microtec still needs again to obtain Web content.
Change the dependence of microtec and the prefetching information of prefetch data storehouse record based on the exchange rate of above introduction, to be taken as in advance example according to dependence and the current interactive information of user, the prefetching process of microtec is described.
When user selection CNY is the source currency, selecting USD is the target currency, triggers prefetching process.Because source currency drop-down list onchange event and target currency drop-down list onchange event be not in call relation, carry out the onchange event code, in call relation, find out the networking operation code that does not have call relation with the onchange event, xmlHttpReq.open (" GET ", " http://xxx? from="+from.value+ ” ﹠amp; To="+to.value; true); the dependence factor that directly affects this networking operation code is from.value and to.value; source currency drop-down list onchange event and target currency drop-down list onchange event can change respectively the value of from.value and to.value; so pre-execution is somebody's turn to do the networking operation code; the operation of networking, Web content is looked ahead, the time of looking ahead is made as 34441625310961140, the exchange rate that obtains CNY and USD is 0.15, this behavior of looking ahead is recorded in the prefetch data storehouse, shown in table 5 article one record.The user continues to have inputted the source amount of currency, then clicked switching button, by in the prefetch data storehouse, searching, find that current source currency (from.value:CNY), target currency (to.value:USD) have had the record of coupling in the prefetch data storehouse, and the time of looking ahead also meets the requirements, can directly adopt prefetching content 0.15 in the prefetch data storehouse as the exchange rate, calculate with the source amount of currency, obtain exchange rate amount converter and be presented at the microtec interface.
The method that the embodiment of the invention provides, by according to dependence and customer interaction information between networking operation code and the dependence factor, carry out looking ahead of microtec, Web content is kept at this locality, after the user has true networking operation, directly obtain Web content from this locality, and need not be from Network Capture.With respect to prior art, after the user carries out interactive operation, again from the corresponding Web content of Network Capture, reduced the time delay that user awareness arrives, improved user's experience, simultaneously, the prefetching process resource consumption is smaller.
Embodiment 3
Referring to Fig. 7, the embodiment of the invention provides a kind of microtec pre-taking equipment, and this equipment comprises:
Interactive information acquisition module 302 is for the customer interaction information that obtains this microtec;
Wherein, the dependence in this dependence acquisition module 301 comprises call relation, and perhaps this dependence comprises call relation and impact relation; Dependence factor in this dependence acquisition module 301 comprises variable, function, event or code; Customer interaction information in this interactive information acquisition module 302 is the current interactive information of user or user's history mutual information; Customer interaction information in this interactive information acquisition module 302 comprises: type of interaction, interaction time and trigger event, this type of interaction comprises: text box input text, button click, selection drop-down list clauses and subclauses, roll mouse, to pull progress bar, radio box selected and check box is selected.
Wherein, referring to Fig. 8, this dependence acquisition module 301 comprises:
Affect Relation acquisition unit 301a, be used for when there is call relation in the event of the dependence factor of the networking operation code of the networking operation code of this microtec and this microtec, obtain the impact relation between the dependence factor of this networking operation code and this networking operation code, this dependence comprises the impact relation;
Call relation acquiring unit 301b, be used for when there is call relation in the event of the networking operation code of this microtec and dependence factor, obtain the call relation between the dependence factor of this networking operation code and this networking operation code, this dependence comprises call relation.
Wherein, this affects Relation acquisition unit 301a, the impact relation between the concrete direct dependence factor for obtaining this networking operation code and this networking operation code; Perhaps, obtain the impact relation between the direct dependence factor of this networking operation code and this networking operation code, and the impact of obtaining between the indirect dependence factor of this networking operation code and this networking operation code concerns.
Wherein, this call relation acquiring unit 301b, the call relation between the concrete direct dependence factor for obtaining this networking operation code and this networking operation code; Perhaps, obtain the call relation between the direct dependence factor of this networking operation code and this networking operation code, and obtain the call relation between the indirect dependence factor of this networking operation code and this networking operation code.
Wherein, this dependence acquisition module 301, the concrete customer interaction information that also is used for according to this interactive information acquisition module 302 upgrades this dependence.
Wherein, this prefetch module 303, the concrete current interactive information trigger event of this user that is used for, if this event has changed the value that directly affects the dependence factor of the second networking operation code in the impact relation, according to the direct value that affects the dependence factor of the second networking operation code, this the second networking operation code of pre-execution, obtain the second networking operating result, this the second networking operation code is the networking operation code that does not have call relation with this event, preserves this second networking operation code, should directly affect value and the corresponding second networking operating result of the dependence factor of the second networking operation code.
Wherein, this prefetch module 303, concrete being used for according to user's history mutual information, set up user model, according to this user model, obtain the customer interaction information of prediction, the customer interaction information trigger event of this prediction, according to the direct value that affects the dependence factor of this first networking operation code, this the first networking operation code of pre-execution, obtain the first networking operating result, this first networking operation code is the networking operation code that has call relation with this event, preserves this first networking operation code, directly affect value and this first networking operating result of the dependence factor of this first networking operation code in this pre-execution process.
Further, this prefetch module 303, specifically also be used in the pre-execution process, if this event has changed the value that directly affects the dependence factor of the second networking operation code in the impact relation, this the second networking operation code of pre-execution, obtain the second networking operating result, this the second networking operation code is the networking operation code that does not have call relation with this event, preserves the value of the dependence factor that directly affect the second networking operation code in this second networking operation code, this pre-execution process and corresponding this second operating result of networking.
Wherein, this prefetch module 303 also is used for processing power or network condition according to microtec equipment, carries out looking ahead of this microtec.
The pre-taking equipment of the microtec that the embodiment of the invention provides belongs to same design with embodiment of the method, and its concrete implementation procedure sees embodiment of the method for details, does not repeat them here.
The equipment that the embodiment of the invention provides, by according to dependence and customer interaction information between networking operation code and the dependence factor, carry out looking ahead of microtec, Web content is kept at the local microtec equipment of looking ahead, after the user has true networking operation, directly obtain Web content from the local microtec equipment of looking ahead, and need not be from Network Capture.With respect to prior art, after the user carries out interactive operation, again from the corresponding Web content of Network Capture, reduced the time delay that user awareness arrives, improved user's experience, simultaneously, the prefetching process resource consumption is smaller.
All or part of content in the technical scheme that above embodiment provides can realize that by software programming its software program is stored in the storage medium that can read, storage medium for example: the hard disk in the computing machine, CD or floppy disk.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (12)
1. the forecasting method based on microtec is characterized in that, described method comprises:
Obtain the dependence between the dependence factor of the networking operation code of microtec and described networking operation code;
Obtain the customer interaction information of described microtec;
According to described dependence and described customer interaction information, carry out looking ahead of described microtec;
Wherein, described dependence comprises call relation, and perhaps described dependence comprises call relation and impact relation;
Described dependence factor comprises variable, function, event or code;
Described customer interaction information is the current interactive information of user or user's history mutual information;
Described customer interaction information comprises: type of interaction, interaction time and trigger event, and described type of interaction comprises: text box input text, button click, selection drop-down list clauses and subclauses, roll mouse, to pull progress bar, radio box selected and check box is selected;
Wherein, the dependence between the dependence factor of the described networking operation code of obtaining microtec and described networking operation code comprises:
When there is call relation in the event in the dependence factor of described networking operation code and described networking operation code, obtain the impact relation between the dependence factor of described networking operation code and described networking operation code, obtain the call relation between the dependence factor of described networking operation code and described networking operation code.
2. the method for claim 1 is characterized in that, the impact relation between the described dependence factor of obtaining described networking operation code and described networking operation code comprises:
Obtain the impact relation between the direct dependence factor of described networking operation code and described networking operation code; Perhaps, obtain the impact relation between the direct dependence factor of described networking operation code and described networking operation code, and the impact of obtaining between the indirect dependence factor of described networking operation code and described networking operation code concerns.
3. the method for claim 1 is characterized in that, the call relation between the described dependence factor of obtaining described networking operation code and described networking operation code comprises:
Obtain the call relation between the direct dependence factor of described networking operation code and described networking operation code; Perhaps, obtain the call relation between the direct dependence factor of described networking operation code and described networking operation code, and obtain the call relation between the indirect dependence factor of described networking operation code and described networking operation code.
4. the method for claim 1 is characterized in that, and is described according to described dependence and described customer interaction information, carries out looking ahead of described microtec and comprises:
According to described user's history mutual information, set up user model;
According to described user model, obtain the customer interaction information of prediction, the customer interaction information trigger event of described prediction;
According to the direct value that affects the dependence factor of the first networking operation code, there are the first networking operation code of call relation in pre-execution and described event, obtain the first networking operating result, described the first networking operation code is the networking operation code that has call relation with described event;
Preserve value and the described first networking operating result of the dependence factor that directly affects described the first networking operation code in described the first networking operation code, the described pre-execution process.
5. method as claimed in claim 4 is characterized in that,
In the described pre-execution process, if described event has changed the value that directly affects the dependence factor of the second networking operation code in the impact relation, the value of dependence factor according to described the second networking operation code of described direct impact, described the second networking operation code of pre-execution, obtain the second networking operating result, described the second networking operation code is the networking operation code that does not have call relation with described event;
Preserve value and the described second networking operating result of the dependence factor that directly affects the second networking operation code in described the second networking operation code, the described pre-execution process.
6. the method for claim 1 is characterized in that, and is described according to described dependence and described customer interaction information, carries out looking ahead of described microtec and comprises:
The current interactive information trigger event of described user;
If described event has changed the value that directly affects the dependence factor of the second networking operation code in the impact relation, the value of dependence factor according to described the second networking operation code of described direct impact, described the second networking operation code of pre-execution, obtain the second networking operating result, described the second networking operation code is the networking operation code that does not have call relation with described event;
Preserve described the second networking operation code, described direct value and described the second networking operating result that affects the dependence factor of the second networking operation code.
7. pre-taking equipment of microtec is characterized in that described equipment comprises:
The dependence acquisition module is for the dependence between the dependence factor of the networking operation code of obtaining microtec and described networking operation code;
The interactive information acquisition module is for the customer interaction information that obtains described microtec;
Prefetch module is used for the customer interaction information that the dependence that obtains according to described dependence acquisition module and described interactive information acquisition module obtain, and carries out looking ahead of described microtec;
Wherein, the dependence in the described dependence acquisition module comprises call relation, and perhaps described dependence comprises call relation and impact relation;
Dependence factor in the described dependence acquisition module comprises variable, function, event or code;
Customer interaction information in the described interactive information acquisition module is the current interactive information of user or user's history mutual information;
Customer interaction information in the described interactive information acquisition module comprises: type of interaction, interaction time and trigger event, and described type of interaction comprises: text box input text, button click, selection drop-down list clauses and subclauses, roll mouse, to pull progress bar, radio box selected and check box is selected;
Wherein, described dependence acquisition module comprises:
Affect the Relation acquisition unit, be used for when there is call relation in the event of the dependence factor of described networking operation code and described networking operation code, the impact of obtaining between the dependence factor of described networking operation code and described networking operation code concerns;
The call relation acquiring unit is used for when there is call relation in the event of the networking operation code of described microtec and dependence factor, obtains the call relation between the dependence factor of described networking operation code and described networking operation code.
8. equipment as claimed in claim 7 is characterized in that, the described Relation acquisition unit that affects, the impact relation between the concrete direct dependence factor for obtaining described networking operation code and described networking operation code; Perhaps, obtain the impact relation between the direct dependence factor of described networking operation code and described networking operation code, and the impact of obtaining between the indirect dependence factor of described networking operation code and described networking operation code concerns.
9. equipment as claimed in claim 7 is characterized in that, described call relation acquiring unit, the call relation between the concrete direct dependence factor for obtaining described networking operation code and described networking operation code; Perhaps, obtain the call relation between the direct dependence factor of described networking operation code and described networking operation code, and obtain the call relation between the indirect dependence factor of described networking operation code and described networking operation code.
10. equipment as claimed in claim 7, it is characterized in that, described prefetch module, concrete being used for according to described user's history mutual information, set up user model, according to described user model, obtain the customer interaction information of prediction, the customer interaction information trigger event of described prediction, according to the direct value that affects the dependence factor of the first networking operation code, there are the first networking operation code of call relation in pre-execution and described event, obtain the first networking operating result, described the first networking operation code is the networking operation code that has call relation with described event, preserves described the first networking operation code, directly affect value and the described first networking operating result of the dependence factor of described the first networking operation code in the described pre-execution process.
11. equipment as claimed in claim 10, it is characterized in that, described prefetch module, also be used for described pre-execution process, if described event has changed the value that directly affects the dependence factor of the second networking operation code in the impact relation, the value of dependence factor according to described the second networking operation code of described direct impact, described the second networking operation code of pre-execution, obtain the second networking operating result, described the second networking operation code is the networking operation code that does not have call relation with described event, preserves described the second networking operation code, directly affect value and the described second networking operating result of the dependence factor of the second networking operation code in the described pre-execution process.
12. equipment as claimed in claim 7, it is characterized in that, described prefetch module, the concrete current interactive information trigger event of described user that is used for, if described event has changed the value that directly affects the dependence factor of the second networking operation code in the impact relation, the value of dependence factor according to described the second networking operation code of described direct impact, described the second networking operation code of pre-execution, obtain the second networking operating result, described the second networking operation code is the networking operation code that does not have call relation with described event, preserves described the second networking operation code, described direct value and described the second networking operating result that affects the dependence factor of the second networking operation code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910140743 CN101887362B (en) | 2009-05-13 | 2009-05-13 | Widget-based prefetching method and widget prefetching equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910140743 CN101887362B (en) | 2009-05-13 | 2009-05-13 | Widget-based prefetching method and widget prefetching equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101887362A CN101887362A (en) | 2010-11-17 |
CN101887362B true CN101887362B (en) | 2013-03-20 |
Family
ID=43073293
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200910140743 Expired - Fee Related CN101887362B (en) | 2009-05-13 | 2009-05-13 | Widget-based prefetching method and widget prefetching equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101887362B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103092582B (en) * | 2011-10-31 | 2016-01-20 | 国际商业机器公司 | For the treatment of the method and system of the event of issue with the event of subscription |
CN103455353B (en) * | 2013-08-30 | 2017-11-14 | 广州市动景计算机科技有限公司 | The requesting method and device of web data |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1529267A (en) * | 1998-10-01 | 2004-09-15 | �Ҵ���˾ | System, methods and computer program products for assigning, generating and delivering content to internet users |
CN1763713A (en) * | 2004-10-22 | 2006-04-26 | 华为技术有限公司 | Mobile terminal software edition updating method |
CN101075236A (en) * | 2006-06-12 | 2007-11-21 | 腾讯科技(深圳)有限公司 | Apparatus and method for accelerating browser webpage display |
-
2009
- 2009-05-13 CN CN 200910140743 patent/CN101887362B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1529267A (en) * | 1998-10-01 | 2004-09-15 | �Ҵ���˾ | System, methods and computer program products for assigning, generating and delivering content to internet users |
CN1763713A (en) * | 2004-10-22 | 2006-04-26 | 华为技术有限公司 | Mobile terminal software edition updating method |
CN101075236A (en) * | 2006-06-12 | 2007-11-21 | 腾讯科技(深圳)有限公司 | Apparatus and method for accelerating browser webpage display |
Also Published As
Publication number | Publication date |
---|---|
CN101887362A (en) | 2010-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11288048B2 (en) | Fast presentation of markup content having script code | |
US10990644B2 (en) | Systems and methods for contextual vocabularies and customer segmentation | |
US9996631B2 (en) | Information management and display in web browsers | |
KR102185864B1 (en) | Server-side rendering method and system of native content for presentation | |
US11748557B2 (en) | Personalization of content suggestions for document creation | |
US9146909B2 (en) | Web browsing enhanced by cloud computing | |
US20180260081A1 (en) | Task switching or task launching based on a ranked list of tasks | |
US10042523B2 (en) | Classifying and organizing web resources in web browsers | |
EP3853733A1 (en) | Proactive notification of relevant feature suggestions based on contextual analysis | |
US20130346439A1 (en) | Pushing Business Objects | |
US20070294371A1 (en) | Method for determining input focus for web pages having aggregated content | |
CN103473326A (en) | Method and device providing searching advices | |
CN103577415A (en) | Method and device for updating search configuration corresponding to mobile search application | |
CN103858121A (en) | Method and system for making Web application obtain database change | |
CN111368226A (en) | Screening method and device, electronic equipment and computer readable storage medium | |
CN110795180A (en) | Two-dimensional code management method and system, electronic device and storage medium | |
CN101887362B (en) | Widget-based prefetching method and widget prefetching equipment | |
CN104268246A (en) | Method for generating instruction script for visiting websites and visiting method and device | |
CN110622135B (en) | System and method for providing content items in situations involving suboptimal network conditions | |
CN104750823A (en) | Popularization condition data search method and device | |
US20120311050A1 (en) | User browsing experience | |
CN117170791A (en) | Arrangement method, device, equipment and storage medium of client application program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
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: 20130320 Termination date: 20190513 |