CN101887362A - Widget-based prefetching method and widget prefetching equipment - Google Patents
Widget-based prefetching method and widget prefetching equipment Download PDFInfo
- Publication number
- CN101887362A CN101887362A CN2009101407438A CN200910140743A CN101887362A CN 101887362 A CN101887362 A CN 101887362A CN 2009101407438 A CN2009101407438 A CN 2009101407438A CN 200910140743 A CN200910140743 A CN 200910140743A CN 101887362 A CN101887362 A CN 101887362A
- 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.)
- Granted
Links
Images
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 based on the internet, is generally used for the function that realizes that certain is specific, 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 the user perceives, can represent with end-to-end time delay, end-to-end time delay=transmission/receive time delay+propagation delay time+processing delay, wherein transmission/receive time delay is subject to the network bandwidth, propagation delay time is subject to the light velocity, and processing delay is subject to the processing power of each network equipment to packet.Therefore, end-to-end time delay always exists.How to reduce the end-to-end time delay that the user perceives, have very big researching value.
With respect to webpage, hyperlink is used seldom in widget, accounts for major part alternately 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, widget device access network then, and from network, obtain and the interactive operation content corresponding, at last the content that gets access to is presented to the user.Because after the user carried out interactive operation, widget equipment visited again network, and obtains and the interactive operation content corresponding, therefore, in any case increase the network bandwidth, the end-to-end time delay that the user perceives all exists.Under mobile microtec application scenarios, the end-to-end time delay that the user perceives is often bigger, influences user experience.
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 bigger in the prior art, poor user experience.
Summary of the invention
The embodiment of the invention provides a kind of forecasting method and pre-taking equipment of microtec based on microtec, to reduce the time delay that the user perceives.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.
The pre-taking equipment of a kind of microtec, described equipment comprises:
The dependence acquisition module is used to obtain the dependence between the dependence factor of the networking operation code of microtec and described networking operation code;
The interactive information acquisition module is used to obtain the customer interaction information of 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.
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 the user perceives, and has improved user 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 is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
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 is obtained 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.
Embodiment 1
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 influence 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:, carry out looking ahead of this microtec according to this dependence and this customer interaction information.
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, and need not obtain from network from this locality.With respect to prior art, after the user carries out interactive operation, obtain corresponding Web content from network again, reduced the time delay that the user perceives, improved user 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, incident or other code that directly or indirectly influence/call the networking operation code.
Wherein, dependence comprises call relation at least, can also comprise the influence relation.Specifically, the influence relation is the relation between networking operation code and variable, function, incident or other code that directly or indirectly influences the networking operation code.Call relation is the relation between networking operation code and function, incident 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 incident in the dependence factor, generate the influence 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 influence relation of obtaining between the dependence factor of this networking operation code and this networking operation code specifically comprises: the influence of obtaining between the direct dependence factor of this networking operation code and this networking operation code concerns; Perhaps, obtain the influence relation between the direct dependence factor of this networking operation code and this networking operation code, and the influence 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 microtec regeneration afterwards.
When specific implementation,, can adopt following flow process to generate dependence referring to Fig. 3:
201a: from the microtec file, extract all networking operation codes, put into data set A, data set B respectively, empty database C simultaneously.
201b: whether judgment data collection A non-NULL, 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, at Ax, find out direct variable, function, incident or the code that influences 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, then execution in step 201b with influence between the variable, function, incident or the code that directly influence it.
201e: whether judgment data collection B non-NULL, 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,, find out the function, incident or the code that directly call it, they are put into data set B, simultaneously member is by analysis deleted from data set B at By.
201g: in database C, add By and directly call call relation between its function, incident 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 incident, obtain the direct and indirect influence relation between this networking operation code and the dependence factor, obtain the direct and indirect call relation between this networking operation code and the dependence factor, should influence relation and call relation and be 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 influenced by the to field, and perhaps the from field is called by the to field.Relationship type comprises: influence relation and call relation.
Concrete, comprise among the database C: the relation that influences or call relation between networking operation code and its direct dependence factor also may comprise the relation that influences 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 ", " following one page " two the navigation buttons, by clicking the RSS clauses and subclauses of the navigation button, be illustrated in the RSS clauses and subclauses and present the zone from network acquisition current page page up or following one page." xmlHttpReq.open (" GET ", " http://xxx? i="+i, true); " be networking operation code unique in the RSS Widget code, it is arranged in function request.Obtain influence relation and call relation below respectively:
There is the influence 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 difference of promptly obtaining.Variable i is influenced by 3 place's codes again, and they are " var i=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 " var i=1; ", have the influence relation between the function f, function g.
The networking operation code is in function request, and there is call relation in the operation code and function request that therefore networks; There are call relation in function request and function f, function g; Function f is called by page up onclick incident, so there are call relation in function f and page up onclick incident; The function g quilt pairing onclick incident of one page down calls, so there is call relation in the function g onclick incident corresponding with following 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
Below the dependence database format is described.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 is represented two elements of dependence, wherein adopts concrete " filename: row number: row number " to come element-specific is limited, because may have function of the same name, variable or incident among a widget; The type of " relationship type " expression dependence comprises influence relation and call relation.
202: according to customer interaction information, upgrade dependence, promptly to dependence increase, 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 unit with widget, and tissue starts to widget from widget and closes customer interaction information the whole process.Customer interaction information comprises: type of interaction, mutual 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 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; " mutual time " can be user interactions time of origin and millisecond number of global standards between midnight on January 1st, 1970 between the time; The mutual incident that triggers of " trigger event " recording user, for example onclick incident of button 1 etc.
Table 3 customer interaction information form
?Widget_ID | Type of interaction | The mutual time | Trigger event |
??X_ID | Widget starts | ??X1 | Widget starts incident |
??X_ID | The text box input text | ??X2 | The onchange incident of text box 1 |
??X_ID | Button click | ??X3 | The onclick incident of button 1 |
??X_ID | Select the drop-down list clauses and subclauses | ??X4 | The onchange incident of drop-down list 1 |
??X_ID | Widget closes | ??X5 | The Widget close event |
204:, set up user model according to user's history mutual information.
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:, carry out looking ahead of microtec according to dependence and the current interactive information of user.
Concrete, the current interactive information of user triggers a certain incident, if this incident has changed the value that directly influences the dependence factor of the second networking operation code in the influence relation, according to the direct value that influences the dependence factor of the second networking operation code, the pre-second networking operation code of carrying out, obtain the second networking operating result, second the networking operation code be the networking operation code that does not have call relation with this incident, preserve this second the networking operation code, directly influence 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 finishes, 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, execution in step 205f is not if exist execution in step 205g.
205f: judging the first networking operation code that has call relation with incident A, also is the networking operation code that incident A triggers, whether carried out in advance, if not, execution in step 205g, if, execution in step 205h.
205g: carry out the code of incident A, then execution in step 205i.
205h: skip the networking operation code, from the prefetch data storehouse, read the pairing first networking operating result of the first networking operation code, and the incident of execution A residue code.
205i: search the second networking operation code that does not have direct or indirect call relation with incident 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 influences the dependence factor of Bx in the influence relation, if not, execution in step 205j, if, execution in step 205l, the networking operation code that will judge is then deleted from set B.
205l: judge whether the value that directly influences 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 influences Bx, the pre-Bx that carries out, the operation of networking obtains the second networking operating result, and with Bx, directly the value and second that influences 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, by analysis user whether can change alternately the networking operation code the value of influenced variable, function, incident or code, thereby decision whether carry out networking in advance and operate, carry out Web content and look 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:, carry out looking ahead of microtec according to dependence and user's history mutual information
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 influences the first networking operation code, carry out the first networking operation code in advance, obtain the first networking operating result, this first networking operation code is the networking operation code that has call relation with this incident; In the pre-implementation, if this incident has changed the value that directly influences the dependence factor of the second networking operation code in the influence relation, according to the direct value that influences the dependence factor of the second networking operation code, pre-this second networking operation code of carrying out, obtain the second networking operating result, this second networking operation code is the networking operation code that does not have call relation with this incident; Preserve value and this first networking operating result of the dependence factor that directly influences this first networking operation code in this first networking operation code, this pre-implementation, and preserve the value of the dependence factor that directly influence the second networking operation code in this second networking operation code, this pre-implementation and this second operating result of networking accordingly, specifically can be kept in the prefetch data storehouse of microtec equipment this locality.
207:, carry out looking ahead of microtec according to the processing power or the network condition of microtec equipment.
Concrete, more weak when the processing power of microtec equipment, or network condition is not suitable for frequent looking ahead when poor, can set and look ahead after all the dependence factors of influence 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 influence 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, in the text input frame, import the source amount of currency that needs conversion then, click switching button at last, microtec obtains the exchange rate of source currency and target currency from network, calculates with the source amount of currency then, 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 influenced 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 influenced by source currency drop-down list onchange incident, variable to.value is influenced by target currency drop-down list onchange incident, these two influence relations imply, need be with they explicit being illustrated in the dependence.According to the transfer principle of relation, can know that the networking operation code is influenced by source currency drop-down list onchange incident, target currency drop-down list onchange incident, is converted button onclick incident 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 imported 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 incident as the trigger condition of looking ahead, when target currency drop-down list changes, can carry out looking ahead again of the exchange rate, look ahead again and needn't wait source currency, target currency drop-down list that the onchange incident all takes place.
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 promptly networking) and the time of looking ahead of the dependence factor of microtec sign, networking operation code, influence networking operation code.With exchange rate conversion microtec is example, and 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 at the networking operation code; The value of the dependence factor of " value of the dependence factor of influence networking operation code " direct influence 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 represented between the time that can take place with looking ahead and midnight on January 1st, 1970, this mainly is the application at some effective property requirements, such as the exchange rate, stock etc., the current mutual 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 to obtain again Web content.
Change the dependence of microtec and the prefetching information of prefetch data storehouse record based on the exchange rate of above introduction,, the prefetching process of microtec is described to be taken as example in advance according to dependence and the current interactive information of user.
When the user selects CNY is the source currency, and selecting USD is the target currency, triggers prefetching process.Because source currency drop-down list onchange incident and target currency drop-down list onchange incident 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 incident, xmlHttpReq.open (" GET ", " http://xxx? from="+from.value+ ” ﹠amp; To="+to.value; true); the dependence factor that directly influences this networking operation code is from.value and to.value; source currency drop-down list onchange incident and target currency drop-down list onchange incident can change the value of from.value and to.value respectively; therefore pre-this networking operation code of carrying out; 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 imported the source amount of currency, clicked switching button then, 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, obtain exchange rate amount converter and be presented at the microtec interface with the source amount of currency.
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, and need not obtain from network from this locality.With respect to prior art, after the user carries out interactive operation, obtain corresponding Web content from network again, reduced the time delay that the user perceives, improved user 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 used to obtain the customer interaction information of this microtec;
Wherein, the dependence in this dependence acquisition module 301 comprises call relation, and perhaps this dependence comprises call relation and influence relation; Dependence factor in this dependence acquisition module 301 comprises variable, function, incident 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, mutual time and trigger event, this type of interaction comprises: text box input text, button click, selection drop-down list clauses and subclauses, roll mouse, pull progress bar, radio box is selected and check box is selected.
Wherein, referring to Fig. 8, this dependence acquisition module 301 comprises:
Influence concerns acquiring unit 301a, be used for when there is call relation in the incident of the dependence factor of the networking operation code of the networking operation code of this microtec and this microtec, obtain the influence relation between the dependence factor of this networking operation code and this networking operation code, this dependence comprises the influence relation;
Call relation acquiring unit 301b, be used for when there is call relation in the incident 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 influence concerns acquiring unit 301a, specifically is used to obtain the influence relation between the direct dependence factor of this networking operation code and this networking operation code; Perhaps, obtain the influence relation between the direct dependence factor of this networking operation code and this networking operation code, and the influence 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 specifically is used to 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.
Wherein, this dependence acquisition module 301 specifically also is used for the customer interaction information according to this interactive information acquisition module 302, upgrades this dependence.
Wherein, this prefetch module 303, specifically be used for the current interactive information trigger event of this user, if this incident has changed the value that directly influences the dependence factor of the second networking operation code in the influence relation, according to the direct value that influences the dependence factor of the second networking operation code, pre-this second networking operation code of carrying out, obtain the second networking operating result, this second networking operation code is the networking operation code that does not have call relation with this incident, preserves this second networking operation code, should directly influence the value and the corresponding second networking operating result of the dependence factor of the second networking operation code.
Wherein, this prefetch module 303, specifically be used for history mutual information according to the user, 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 influences the dependence factor of this first networking operation code, pre-this first networking operation code of carrying out, obtain the first networking operating result, this first networking operation code is the networking operation code that has call relation with this incident, preserves this first networking operation code, directly influence value and this first networking operating result of the dependence factor of this first networking operation code in this pre-implementation.
Further, this prefetch module 303, specifically also be used in pre-implementation, if this incident has changed the value that directly influences the dependence factor of the second networking operation code in the influence relation, pre-this second networking operation code of carrying out, obtain the second networking operating result, this second networking operation code is the networking operation code that does not have call relation with this incident, preserves the value of the dependence factor that directly influence the second networking operation code in this second networking operation code, this pre-implementation and this second operating result of networking accordingly.
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 method embodiment, and its concrete implementation procedure sees method embodiment 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, and need not obtain from network from the local microtec equipment of looking ahead.With respect to prior art, after the user carries out interactive operation, obtain corresponding Web content from network again, reduced the time delay that the user perceives, improved user 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 its software program is stored in the storage medium that can read by software programming, 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 restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (16)
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.
2. the method for claim 1 is characterized in that,
Described dependence comprises call relation, and perhaps described dependence comprises call relation and influence relation;
Described dependence factor comprises variable, function, incident 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, mutual time and trigger event, described type of interaction comprises: text box input text, button click, selection drop-down list clauses and subclauses, roll mouse, pull progress bar, radio box is selected and check box is selected.
3. method as claimed in claim 2 is characterized in that, 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 incident in the dependence factor of described networking operation code and described networking operation code, obtain the influence 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.
4. method as claimed in claim 3 is characterized in that, the influence relation between the described dependence factor of obtaining described networking operation code and described networking operation code comprises:
Obtain the influence relation between the direct dependence factor of described networking operation code and described networking operation code; Perhaps, obtain the influence relation between the direct dependence factor of described networking operation code and described networking operation code, and the influence of obtaining between the indirect dependence factor of described networking operation code and described networking operation code concerns.
5. method as claimed in claim 3 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.
6. method as claimed in claim 2 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 influences the dependence factor of the first networking operation code, the pre-first networking operation code that has call relation with described incident of carrying out, obtain the first networking operating result, the described first networking operation code is the networking operation code that has call relation with described incident;
Preserve the value and the described first networking operating result of the dependence factor that directly influences the described first networking operation code in the described first networking operation code, the described pre-implementation.
7. method as claimed in claim 6 is characterized in that,
In the described pre-implementation, if described incident has changed the value that directly influences the dependence factor of the second networking operation code in the influence relation, the value of dependence factor according to the described second networking operation code of described direct influence, the described second networking operation code of pre-execution, obtain the second networking operating result, the described second networking operation code is the networking operation code that does not have call relation with described incident;
Preserve the value and the described second networking operating result of the dependence factor that directly influences the second networking operation code in the described second networking operation code, the described pre-implementation.
8. method as claimed in claim 2 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 incident has changed the value that directly influences the dependence factor of the second networking operation code in the influence relation, the value of dependence factor according to the described second networking operation code of described direct influence, the described second networking operation code of pre-execution, obtain the second networking operating result, the described second networking operation code is the networking operation code that does not have call relation with described incident;
Preserve the described second networking operation code, described direct value and the described second networking operating result that influences the dependence factor of the second networking operation code.
9. pre-taking equipment of microtec is characterized in that described equipment comprises:
The dependence acquisition module is used to obtain the dependence between the dependence factor of the networking operation code of microtec and described networking operation code;
The interactive information acquisition module is used to obtain the customer interaction information of 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.
10. equipment as claimed in claim 9 is characterized in that,
Dependence in the described dependence acquisition module comprises call relation, and perhaps described dependence comprises call relation and influence relation;
Dependence factor in the described dependence acquisition module comprises variable, function, incident 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, mutual time and trigger event, described type of interaction comprises: text box input text, button click, selection drop-down list clauses and subclauses, roll mouse, pull progress bar, radio box is selected and check box is selected.
11. equipment as claimed in claim 10 is characterized in that, described dependence acquisition module comprises:
Influence concern acquiring unit, is used for when there is call relation in the incident of the dependence factor of described networking operation code and described networking operation code, and the influence 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 incident 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.
12. equipment as claimed in claim 11 is characterized in that, described influence concerns acquiring unit, specifically is used to obtain the influence relation between the direct dependence factor of described networking operation code and described networking operation code; Perhaps, obtain the influence relation between the direct dependence factor of described networking operation code and described networking operation code, and the influence of obtaining between the indirect dependence factor of described networking operation code and described networking operation code concerns.
13. equipment as claimed in claim 11 is characterized in that, described call relation acquiring unit specifically is used to 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.
14. equipment as claimed in claim 10, it is characterized in that, described prefetch module, specifically be 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 influences the dependence factor of the first networking operation code, the pre-first networking operation code that has call relation with described incident of carrying out, obtain the first networking operating result, the described first networking operation code is the networking operation code that has call relation with described incident, preserves the described first networking operation code, directly influence the value and the described first networking operating result of the dependence factor of the described first networking operation code in the described pre-implementation.
15. equipment as claimed in claim 14, it is characterized in that, described prefetch module, also be used for described pre-implementation, if described incident has changed the value that directly influences the dependence factor of the second networking operation code in the influence relation, the value of dependence factor according to the described second networking operation code of described direct influence, the described second networking operation code of pre-execution, obtain the second networking operating result, the described second networking operation code is the networking operation code that does not have call relation with described incident, preserves the described second networking operation code, directly influence the value and the described second networking operating result of the dependence factor of the second networking operation code in the described pre-implementation.
16. equipment as claimed in claim 10, it is characterized in that, described prefetch module, specifically be used for the current interactive information trigger event of described user, if described incident has changed the value that directly influences the dependence factor of the second networking operation code in the influence relation, the value of dependence factor according to the described second networking operation code of described direct influence, the described second networking operation code of pre-execution, obtain the second networking operating result, the described second networking operation code is the networking operation code that does not have call relation with described incident, preserves the described second networking operation code, described direct value and the described second networking operating result that influences 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 true CN101887362A (en) | 2010-11-17 |
CN101887362B 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) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103092582A (en) * | 2011-10-31 | 2013-05-08 | 国际商业机器公司 | Method and system used for processing published events and subscribed events |
CN103455353A (en) * | 2013-08-30 | 2013-12-18 | 广州市动景计算机科技有限公司 | Method and device for requesting webpage data |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6195696B1 (en) * | 1998-10-01 | 2001-02-27 | International Business Machines Corporation | Systems, methods and computer program products for assigning, generating and delivering content to intranet 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
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103092582A (en) * | 2011-10-31 | 2013-05-08 | 国际商业机器公司 | Method and system used for processing published events and subscribed events |
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 |
CN103455353A (en) * | 2013-08-30 | 2013-12-18 | 广州市动景计算机科技有限公司 | Method and device for requesting webpage data |
CN103455353B (en) * | 2013-08-30 | 2017-11-14 | 广州市动景计算机科技有限公司 | The requesting method and device of web data |
Also Published As
Publication number | Publication date |
---|---|
CN101887362B (en) | 2013-03-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11044949B2 (en) | Systems and methods for dynamic delivery of web content | |
CN102902528B (en) | There is the method presenting fast of the tag content of scripted code | |
US9146909B2 (en) | Web browsing enhanced by cloud computing | |
US11748557B2 (en) | Personalization of content suggestions for document creation | |
EP3485400A1 (en) | Methods and systems for server-side rendering of native content for presentation | |
EP3853733A1 (en) | Proactive notification of relevant feature suggestions based on contextual analysis | |
CN102937999A (en) | Dynamic browser icon | |
CN105122237A (en) | Sharing application states | |
CN102298614A (en) | Method for determining collection category of page collection information and device and equipment | |
US20130346439A1 (en) | Pushing Business Objects | |
CN103577415A (en) | Method and device for updating search configuration corresponding to mobile search application | |
CN105335423A (en) | Collecting and processing method and apparatus for user feedbacks of webpage | |
CN110795180A (en) | Two-dimensional code management method and system, electronic device and storage medium | |
CN103858121A (en) | Method and system for making Web application obtain database change | |
US20100097639A1 (en) | Space Context Copy/Paste Method and System, and Space Copier | |
CN101887362B (en) | Widget-based prefetching method and widget prefetching equipment | |
CN102067566B (en) | User interfaces for service object located in a distributed system | |
KR20130026558A (en) | System and providing method for integration of reply comment | |
CN104268246A (en) | Method for generating instruction script for visiting websites and visiting method and device | |
US11017032B1 (en) | Document recovery utilizing serialized data | |
CN104750823A (en) | Popularization condition data search method and device | |
US20170177632A1 (en) | Method and apparatus for saving web content | |
CN110399572B (en) | Information application control method and device and information display system | |
CN117170791A (en) | Arrangement method, device, equipment and storage medium of client application program | |
CN117909605A (en) | SPA mode-based fast application interaction method, architecture and electronic equipment |
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 |