CN107887033A - For the method, apparatus and server of terminal pre-transmission data - Google Patents

For the method, apparatus and server of terminal pre-transmission data Download PDF

Info

Publication number
CN107887033A
CN107887033A CN201711006161.1A CN201711006161A CN107887033A CN 107887033 A CN107887033 A CN 107887033A CN 201711006161 A CN201711006161 A CN 201711006161A CN 107887033 A CN107887033 A CN 107887033A
Authority
CN
China
Prior art keywords
item collection
item
resource access
association
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711006161.1A
Other languages
Chinese (zh)
Other versions
CN107887033B (en
Inventor
杨志刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Medical Equipment Co Ltd
Original Assignee
Qingdao Hisense Medical Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Medical Equipment Co Ltd filed Critical Qingdao Hisense Medical Equipment Co Ltd
Priority to CN201711006161.1A priority Critical patent/CN107887033B/en
Publication of CN107887033A publication Critical patent/CN107887033A/en
Application granted granted Critical
Publication of CN107887033B publication Critical patent/CN107887033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

Present invention is disclosed a kind of method, apparatus and terminal for terminal pre-transmission data, belong to Computer Applied Technology field.Methods described includes:The resource request carried out according to terminal obtains the resource access operations that terminal triggering is carried out, the target preamble item collection that positioning includes resource access operations in item collection is associated to the preamble item collection of set, the postorder item collection for determining to extend back on execution sequence by target preamble item collection, the acquisition of the item collection association pair is constrained by the degree of association therebetween, determine that resource access operations predict that the resource access target of execution operates after being triggered according to postorder item collection, the transmission that data are carried out to terminal is operated according to resource access target, the resource access target operation is not triggered by the terminal.In addition, additionally provide as the device and terminal of terminal pre-transmission data.Above-mentioned method, apparatus and terminal for terminal pre-transmission data can shorten the stand-by period that terminal carries out acquisition data after resource access operations.

Description

For the method, apparatus and server of terminal pre-transmission data
Technical field
The present invention relates to Computer Applied Technology field, more particularly to a kind of method, apparatus for terminal pre-transmission data And terminal.
Background technology
With the development of hospital information, information technology plays more and more important during diagnosis, treatment Effect.Doctor can obtain a large amount of clinical information and medical image of patient by hospital information system, can also lead to The equipment crossed in operating room obtains dynamic in real time and recorded a video, while can also take the mode of real-time, interactive to carry out remote operation and drill Show, impart knowledge to students and remote medical consultation with specialists instruct.
However, perfect with hospital information system function, and patient information amount is more and more huger, in certain transmission Under speed, when the operation such as inquiry of patient information is carried out by terminal, the download of the pending datas such as longer time is generally required, and And considering the high definition requirement to video, this will obtain the stand-by period of data after further extension operation.
The content of the invention
In order to solve the stand-by period longer technology that terminal in correlation technique obtain after resource access operations data Problem, the invention provides a kind of method, apparatus and terminal for terminal pre-transmission data.
First aspect, there is provided a kind of method for terminal pre-transmission data, including:
The resource request carried out according to terminal obtains the resource access operations that the terminal triggering is carried out;
The target preamble item collection that positioning includes the resource access operations in item collection is associated to the preamble item collection of set, by The target preamble item collection determines the postorder item collection to be extended back on execution sequence, and the item collection association is to each in set Individual item collection association passes through therebetween to the acquisition including a preamble item collection and a postorder item collection, the item collection association pair The degree of association constrains;
Determine that the resource access operations predict that the resource access target of execution is grasped after being triggered according to the postorder item collection Make;
The transmission that data are carried out to the terminal, the resource access target operation are operated according to the resource access target Do not triggered by the terminal.
Second aspect, there is provided a kind of device for terminal pre-transmission data, including:
Resource request acquisition module, the resource request for being carried out according to terminal obtain the money that the terminal triggering is carried out Source accesses operation;
Postorder item collection determining module, accessed for positioning in being associated in item collection to the preamble item collection of set comprising the resource The target preamble item collection of operation, the postorder item collection for determining to extend back on execution sequence by the target preamble item collection are described Item collection association is to each item collection association in set to including a preamble item collection and a postorder item collection, the item collection association To acquisition constrained by the degree of association therebetween;
Resource access target operates prediction module, for determining that the resource access operations are touched according to the postorder item collection The resource access target operation of execution is predicted after hair;
Data transmission module, the transmission of data, institute are carried out to the terminal for being operated according to the resource access target The operation of resource access target is stated not triggered by the terminal.
The third aspect, there is provided a kind of server, including:
Processor;And
The memory being connected with the processor communication;Wherein,
The memory storage has readable instruction, and the readable instruction is realized such as first during the computing device Method described in aspect.
Fourth aspect, there is provided a kind of computer readable storage medium, be stored thereon with computer program, the calculating Machine program realizes the method such as first aspect when executed.
The technical scheme provided by embodiments of the invention can obtain following beneficial effect:
Server carries out resource access operations and after the resource request that sends obtaining terminal triggering, based on passing through the degree of association The item collection association pair of constraint, the preamble item collection of resource access operations is included in the positioning of item collection associated pair, and then closed according to item collection Join and the subsequent operation for accessing terminal Current resource operation is predicted, and by corresponding to the resource access target operation of prediction Data are sent to terminal in advance, avoid after terminal triggers progress resource access target operation, because data volume corresponding to it is too big And the data transfer of long period is caused, so as to substantially reduce the stand-by period after terminal carries out resource access operations.
It should be appreciated that the general description and following detailed description of the above are only exemplary, the present invention not by Limitation.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the present invention Example, and for explaining principle of the invention together with specification.
Fig. 1 is the schematic diagram of an implementation environment according to involved by the disclosure.
Fig. 2 is a kind of method flow diagram for terminal pre-transmission data according to an exemplary embodiment.
Fig. 3 is the method that the another kind for correspondingly being implemented to exemplify according to Fig. 2 is terminal pre-transmission data.
Fig. 4 is that a kind of of step S230 in the method for terminal pre-transmission data for correspondingly being implemented to exemplify according to Fig. 3 has Body implementation process figure.
Fig. 5 is that a kind of of step S240 in the method for terminal pre-transmission data for correspondingly being implemented to exemplify according to Fig. 4 has Body implementation process figure.
Fig. 6 is that a kind of of step S140 in the method for terminal pre-transmission data for correspondingly being implemented to exemplify according to Fig. 2 has Body implementation process figure.
Fig. 7 is a kind of block diagram of device for terminal pre-transmission data according to an exemplary embodiment.
Fig. 8 is the block diagram for the device that the another kind for correspondingly being implemented to exemplify according to Fig. 7 is terminal pre-transmission data.
Fig. 9 is to correspond to calculation of relationship degree in the device for terminal pre-transmission data shown in exemplary embodiment according to Fig. 8 A kind of block diagram of module 230.
Figure 10 is to correspond to item collection association pair in the device for terminal pre-transmission data shown in exemplary embodiment according to Fig. 9 Establish a kind of block diagram of module 240.
Figure 11 is to correspond to data transfer mould in the device for terminal pre-transmission data shown in exemplary embodiment according to Fig. 7 A kind of block diagram of block 140.
Figure 12 is a kind of block diagram of server according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following exemplary is implemented Embodiment described in example does not represent all embodiments consistent with the present invention.On the contrary, they are only and such as institute The example of the consistent apparatus and method of described, of the invention some aspects in attached claims.
Fig. 1 is the schematic diagram of an implementation environment according to involved by the disclosure.The implementation environment includes:Server 100 And the terminal 200 of mutual data transfer is carried out with server 100.
Interrelational form between terminal 200 and server 100, including but not limited to the wireless networks such as WiFi or wired The data correlation mode come and gone therebetween of bandwidth realization, specific interrelational form are not limited by the present embodiment.
After resource request is sent to server 100, server 100 obtains terminal 200 according to resource request and touched terminal 200 The resource access operations carried out are sent out, and then the preamble item collection for including the resource access operations is positioned in item collection associated pair, then by Preamble item collection obtains the postorder item collection to be extended back on execution sequence, and determines that resource access operations are touched according to postorder item collection The resource access target operation of execution is predicted after hair, the advance biography that data are carried out to terminal 200 is operated according to resource access target It is defeated.
Terminal 200 can be the computer equipments such as mobile phone, computer, and specific implementation is not limited by the present embodiment.
Fig. 2 is a kind of method flow diagram for terminal pre-transmission data according to an exemplary embodiment, such as Fig. 1 institutes Show, should may comprise steps of for the method for terminal pre-transmission data.
In step s 110, the resource request carried out according to terminal obtains the resource access operations that terminal triggering is carried out.
Resource request is the request that terminal sends to obtain the resource in server to server.
Terminal by trigger carry out resource access operations generate resource request, and then by the communication connection with server to Server sends resource request.
In user level, it can trigger resource access operations by button preset in terminal interface, also can be by defeated Enter the voice of correlation, and then cause terminal to trigger resource access operations detecting input voice, terminal is not triggered herein The mode of resource access operations is defined.
The relevant information of resource operation access is carried out in the resource request that terminal is carried out comprising its triggering.Therefore, obtaining After the resource request of terminal, namely it would know that the resource access operations that terminal triggering is carried out.
In the step s 120, before target of the positioning comprising resource access operations during item collection is associated to the preamble item collection of set Sequence item collection, the postorder item collection for determining to extend back on execution sequence by target preamble item collection.
Item collection is associated to being the execution sequence pair between the operation item collection built in advance.
Item collection association is to include the set of at least one item collection association pair to set.
Each item collection is associated to including a preamble item collection and a postorder item collection.
In item collection associated pair, preamble item collection and postorder item collection are two operation item collections with front and rear execution sequence.
It should be noted that item collection associated pair, has certain degree of association between preamble item collection and postorder item collection.
The degree of association is the degree that is mutually related between two operation item collections of preamble item collection and postorder item collection.
The degree of association is represented in the preamble item collection and postorder item collection of its constraint, is performed the resource comprising preamble item collection and is accessed behaviour After work, then perform the probability size of the resource access operations comprising postorder item collection.
One resource access operations includes the action-item of 0 or more than 1, and preamble item collection and follow-up item collection are to resource Access the operation item collection that the action-item of operation enters row set structure and generated.
In step s 130, determine that resource access operations predict that the resource of execution accesses mesh after being triggered according to postorder item collection Mark operation.
The operation of resource access target is that the resource access operations for carrying out being predicted after resource access operations are triggered to terminal.
As previously described, operation item collection is to enter row set structure to the action-item of resource access operations and generate, and is grasped The each data element for making item collection is the action-item of resource access operations.
Therefore, according to subsequent operation item collection, it may be determined that resource of the terminal after triggering carries out resource access operations accesses Object run.
In step S140, the advance transmission that data are carried out to terminal is operated according to resource access target.
It is understood that when terminal is by triggering resource access operations to send resource request to server, server Data corresponding to the resource request will be sent to terminal.
Because the operation item collection of the resource access operations carried out comprising terminal triggering in item collection associated pair is preamble item collection, And the operation item collection comprising the operation of resource access target is postorder item collection in item collection associated pair, i.e. resource access target operation pair Terminal triggers the subsequent operation after the resource access operations carried out are predicted.Therefore, triggered in terminal and carry out resource access behaviour When making, its subsequent operation is just predicted in advance, and then carries out the advance biography of data to terminal in advance according to the operation of resource access target It is defeated.
Because data volume size is different corresponding to different resource access operations, for example to check that a patient is basic The data volume that the resource request of information needs to transmit is 100K, but during the essential information of inquiry individual patients up to ten thousand, resource request needs The data volume to be transmitted probably is 3M.For Consumer's Experience, the time of waiting for server transmission 100K data can be ignored Disregarding, because the time of transmission 100K data volumes is Millisecond, but transmit 3M data, user just needs to wait several seconds for clock, Now if preferentially by 3M data buffered in advance to locally, then the Experience Degree of user will be greatly promoted.
When the quantity of resource access target operation is multiple, before pre-transmission, this multiple resource access target is grasped It is ranked up, and then data corresponding to this multiple resource access target operation is sent to successively according to the sequencing of sequence Terminal.
Optionally, can be operated according to each resource access target when being ranked up to the operation of multiple resource access targets Corresponding data amount size is ranked up or the degree of association size according to item collection association pair, and resource access target is operated It is ranked up, can also be and the operation of multiple resource access targets is ranked up according to other modes.
Using method as described above, after the resource request sent in acquisition terminal triggering progress resource access operations, Based on the item collection association pair constrained by the degree of association, the preamble item collection of resource access operations is included in the positioning of item collection associated pair, And then the subsequent operation for accessing terminal Current resource operation is predicted according to item collection association, and the resource of prediction is accessed Data are sent to terminal in advance corresponding to object run, avoid after SS later triggers progress resource access target operation, because Its corresponding data volume is too big and causes the data transfer of long period, and resource access operations are carried out so as to substantially reduce terminal Stand-by period afterwards.
Fig. 3 is the method that the another kind for correspondingly being implemented to exemplify according to Fig. 2 is terminal pre-transmission data, as shown in Fig. 2 Before Fig. 2 corresponds to the step S120 in embodiment, it should can also comprise the following steps for the method for terminal pre-transmission data.
In step S210, server obtains history resource access operations.
In one exemplary embodiment, normally, after terminal to server sends resource request, server will be to terminal The record of resource request stored in the form of daily record.Therefore, it can obtain what each terminal was sent from the daily record of server storage History resource request, and then corresponding history resource access operations are obtained according to history resource request.
In step S220, for each history resource access operations, according to the action-item pair of history resource access operations History resource access operations operate the structure of item collection.
As previously described, resource access operations include the action-item of 0 or more than 1.Therefore, each history is each goes through History resource access operations include the action-item of 0 or more than 1.
By the way that the action-item of each history resource access operations to be used as to the element of operation item collection, each history resource is visited Ask that operation operate the structure of item collection.If a history resource access operations include 3 action-items, the history resource is visited After asking that the action-item of operation carries out the structure of operation item collection, the element of obtained operation item collection has 3.
For example, in a process of exchange, a history resource access operations C1 includes 3 action-items " beer ", " oxen Milk ", " peanut ", then according to this 3 action-items, to history resource access operations C1 operate the structure of item collection, obtained behaviour It is { beer, milk, peanut } to make item collection.
If an operation item collection includes k element, it is referred to as k- operation item collections.Such as:Beer, and diaper, milk, Peanut } it is a 4- operation item collection.
In step S230, pass through the degree of association between each operation item collection of association analysis algorithm calculating on execution sequence.
Between each operation item collection, during by association analysis algorithm calculating correlation, the mode of calculating correlation have it is a variety of, It can also can grasped by the calculating of Apriori algorithm degree of being associated between item collection is operated by FP-growth algorithms Make the calculating of degree of being associated between item collection, the calculation of the degree of being associated between item collection is operated is not limited herein It is fixed.
In step S240, the degree of association constraint between two operation item collections establishes association to two operation item collections, obtains To item collection association pair.
As previously described, item collection association is to being the two operation item collection execution sequences pair that association between each other be present.
For example, in being recorded according to the sale of supermarket, if someone has bought beer and diaper, then the probability that he has 70% is bought Milk, then operate item collection A1 { beer, diaper } and operation item collection A2 { beer, diaper, milk } and association be present, and operate item collection A1 The degree of association between operation item collection A2 is 70%.
Using method as described above, the history resource access operations generation operation item collection carried out is triggered according to terminal, is entered And between item collection is operated degree of being associated analysis, establish item collection association pair, and then obtain terminal triggering carry out resource visit After the resource request asked operation and sent, the preamble item collections of resource access operations is included in the positioning of item collection associated pair, and according to Item collection association is predicted to the subsequent operation for accessing terminal Current resource operation, by the resource access target operation pair of prediction The data answered are sent to terminal in advance, avoid after SS later triggers progress resource access target operation, because of number corresponding to it It is too big according to amount and cause the data transfer of long period, during so as to substantially reduce the wait after terminal carries out resource access operations Between.
The details that Fig. 4 is step S230 in the method for terminal pre-transmission data for correspondingly being implemented to exemplify according to Fig. 3 is retouched State, the degree of association includes support and confidence level, as shown in figure 4, should be for the step S230 in the method for terminal pre-transmission data also It may comprise steps of.
In step S231, for each operation item collection, operation item collection is decomposed to obtain Son item set.
In step S232, operation item collection and its respective support of Son item set are calculated.
In the exemplary embodiment, the degree of association includes support and confidence level.
Support is to operate the frequency that item collection occurs.
The frequency occurred is concentrated in all action-items according to an operation item collection, determines the operation item collection in operation item collection collection Frequency in conjunction.Operation item collection quantity in N representative operation item collection set D, operation item collection X support s (X) public affairs as follows Formula calculates:
S (X)=σ (X)/N
Wherein σ (X):Represent operation item collection X support counting.
For example, 100 operation item collections are co-existed in operation item collection set D, wherein, the number that operation item collection A occurs is 30, The support for then operating item collection A is 30%.
In step S233, by the way that support is compared with default support threshold, in all operation item collections And its frequent item set is determined in Son item set.
Support threshold is the support critical value pre-set.
Frequent item set is the higher operation item collection of the frequency occurred in data set.
If the support of a certain operation item collection reaches default support threshold, the operation item collection is frequent item set.
Share 7 operation item collections for example, being operated at one in item collection set D, be respectively { 1,2,3 }, { 1,2,4 }, 1,3, 4 }, { 1,2,3,5 }, { 1,3,5 }, { 2,4,5 }, { 1,2,3,4 }, default support threshold are 3/7.
When determining frequent item set, concentrated from 1- action-items determine frequent item set first.By this 7 operation item collections, 1- is obtained Operation item collection is { 1 }, { 2 }, { 3 }, { 4 }, { 5 }, and this 5 1- operate item collections { 1 }, { 2 }, { 3 }, { 4 }, the support point of { 5 } Not Wei 6/7,5/7,5/7,4/7,3/7, reach support threshold 3/7, therefore, 1- action-items concentrate frequent item set for { 1 }, {2}、{3}、{4}、{5}。
Then, concentrate from 2- operations item collection, 3- operations item collection, 4- operations item collection, 5- action-items and determine frequent item set.With from 1- action-items, which are concentrated, determines that the method for frequent item set is similar, and the frequent item set that 1- action-items are concentrated is { 1,2 }, { 1,3 }, { Isosorbide-5-Nitrae }, { 2,3 }, { 2,4 }, the frequent item set that 3- action-items are concentrated is { 1,2,3 }, and 4- operation item collections and 5- action-items are concentrated and be not present Frequent item set.
In step S234, for each frequent item set, the confidence level between the Son item set of frequent item set is calculated.
Confidence level is concentrated in all action-items comprising some operation item collection, and another operation item collection occurs frequent Degree.
Confidence level c (X → Y) is to be concentrated in all action-items comprising operation item collection X, the probability that operation item collection Y occurs.c The calculation formula of (X → Y) is as follows:
C (X → Y)=σ (X ∪ Y)/σ (X)
Wherein σ (X):Represent operation item collection X support counting;σ(X∪Y):Represent that operation item collection X and operation item collection Y are same The support counting that thing occurs.
In a specific exemplary embodiment, after maximum frequent itemsets L is generated, for maximum frequent itemsets L, look for Go out maximum frequent itemsets L all nonvoid subsets.For each nonvoid subset a, generation such as a → (L-a), confidence level is calculated.
For example, exemplified by with the maximum frequent itemsets { 1,2,3 } in step S231, calculate frequent item set { 1,2,3 } and concentrate Confidence level between each subset.Assuming that each subset of frequent item set { 1,2,3 } be respectively a1={ 1 }, a2={ 2 }, a1={ 3 }, A12={ 1,2 }, a23={ 2,3 }, a13={ 1,3 }.
To be concentrated in 7 action-items, the operation item collection number comprising a12 is 4, and is concentrated in the action-item comprising a12, comprising A3 operation item collection number is 3, therefore, a12 → a3 confidence level C (a12 → a3)=3/4.
By same method, a13 → a2 confidence level C (a13 → a2)=3/5, a23 → a1 confidence level C is calculated (a23 → a1)=3/3, a2 → a13 confidence level C (a2 → a13)=3/5, a2 → a13 confidence level C (a2 → a13)=3/5, A1 → a23 confidence level C (a1 → a23)=3/6, a3 → a12 confidence level C (a2 → a13)=3/5.
In step S233, by the comparison of the confidence level between each subset and default confidence threshold value, according to corresponding Subset establish item collection association pair.
For example, default confidence threshold value is 5/7, by the way that confidence level and confidence threshold value are contrasted, two are generated Item collection association is to for a12 → a3, a23 → a1, i.e. an item collection association is to for { 1,2 } and { 1,2,3 }, another is item collection pass Connection is to for { 2,3 } and { 1,2,3 }.
Using method as described above, by operating item collection and its respective support of Son item set from operation item collection and its son Frequent item set is determined in item collection, and according to the confidence level between each Son item set in frequent item set, item collection association pair is established, so as to protect It is the bigger following resource of probability to have demonstrate,proved and obtained the resource access target operation that terminal triggering carries out resource access operations and predicted Operation is accessed, improves the accuracy that following resource is accessed operation and is predicted.
The details that Fig. 5 is step S240 in the method for terminal pre-transmission data for correspondingly being implemented to exemplify according to Fig. 4 is retouched State, as shown in figure 5, should can also comprise the following steps for the step S240 in the method for terminal pre-transmission data.
In step S241, by the comparison of confidence level and default confidence threshold value, it is determined that mutual confidence level More than two Son item sets of confidence threshold value.
Confidence threshold value is the confidence level critical value pre-set.
If the confidence level between two Son item sets reaches confidence threshold value, show the association journey between the two Son item sets Spend larger.
In step S242, according to the confidence level between two Son item sets, determined in two Son item sets preamble item collection with Follow-up item collection.
As previously described, confidence level is concentrated in all action-items comprising some operation item collection, another action-item Collect the frequency occurred.
Therefore, two orders operated between item collections constrained according to confidence level, preamble is determined in two Son item sets Item collection and follow-up item collection.
For example, confidence level c (X → Y) is to be concentrated in all action-items comprising operation item collection X, operation item collection Y occurs general Rate, then it is preamble item collection to operate item collection X, and it is follow-up item collection to operate item collection Y.
In step S243, preamble item collection is established with follow-up item collection with confidence level constraint therebetween and associated, is obtained Item collection association pair.
Using method as described above, by confidence level determine preamble item collection that its two action-item constrained concentrates with Postorder item collection, and item collection association pair is established with confidence level constraint, so as to ensure that obtaining terminal triggering carries out resource access operations And the resource access target predicted operates and accesses operation for the bigger following resource of probability, improve and operation is accessed to following resource The accuracy being predicted.
Fig. 6 is the detailed description of step S140 in the method for terminal pre-transmission data according to above-described embodiment, As shown in fig. 6, the quantity of resource access target operation is multiple, should be for the step S140 in the method for terminal pre-transmission data also It may comprise steps of.
In step s 141, estimating for data transmission time is carried out to all resource access target operations.
Data transmission time is that data corresponding to the operation of resource access target are sent to the time of terminal.
To resource access target operate carry out data transmission time estimate mode have it is a variety of.
In a specific exemplary embodiment, data are carried out by RTT (Round-Trip Time, round-trip delay) Send estimating for time.RTT represents that the confirmation for since server sends data, receiving self terminal to server is (whole End, which receives soon to send after data, to be confirmed) time delay that is undergone.Current data transmission bauds can be detected by RTT, And then the data volume according to corresponding to the operation of each resource access target, calculate data hair corresponding to each resource access target operation Send the time.
In another specific exemplary embodiment, by obtaining current network transmission bandwidth, and then according to resource Data volume and network transmission bandwidth corresponding to access target operation, calculate data transmission corresponding to each resource access target operation Time.
In step S142, according to the length order of data transmission time, by number corresponding to the operation of each resource access target According to being sent to terminal successively.
Using method as described above, before the advance transmission of data is carried out to terminal, to multiple resource access targets Operation is ranked up according to the length order of data transmission time, preferentially operates the resource access target of data transmission time length Corresponding data buffered in advance, spent so as to avoid again carrying out data transmission after resource access target operation is triggered by terminal Take longer data transmission period.
Following is present system embodiment, can be used for performing the above-mentioned embodiment of the method for terminal pre-transmission data. For the details not disclosed in present system embodiment, the embodiment of the method that the present invention is terminal pre-transmission data refer to.
Fig. 7 is a kind of block diagram of device for terminal pre-transmission data according to an exemplary embodiment, the system Including but not limited to:Resource request acquisition module 110, postorder item collection determining module 120, resource access target operation prediction module 130 and data transmission module 140.
Resource request acquisition module 110, the resource request for being carried out according to terminal obtain the terminal triggering and carried out Resource access operations;
Postorder item collection determining module 120, the resource is included for positioning in being associated in item collection to the preamble item collection of set The target preamble item collection of access operation, the postorder item collection for determining to extend back on execution sequence by the target preamble item collection, The item collection association is associated to including a preamble item collection and a postorder item collection, the item collection to each item collection in set The acquisition of association pair is constrained by the degree of association therebetween;
Resource access target operates prediction module 130, for determining the resource access operations according to the postorder item collection The resource access target operation of execution is predicted after being triggered;
Data transmission module 140, the transmission of data is carried out to the terminal for being operated according to the resource access target, The resource access target operation is not triggered by the terminal.
It is terminal pre-transmission data that the function of modules and the implementation process of effect, which specifically refer to above-mentioned, in said apparatus Method in correspond to the implementation process of step, will not be repeated here.
Optionally, Fig. 8 is the frame for the device that the another kind for correspondingly being implemented to exemplify according to Fig. 7 is terminal pre-transmission data Figure, as shown in figure 8, the device for terminal pre-transmission data in Fig. 7 also includes but is not limited to:History resource access operations obtain Module 210, operation item collection structure module 220, calculation of relationship degree module 230 are associated with item collection to establishing module 240.
History resource access operations acquisition module 210, history resource access operations are obtained for server;
Item collection structure module 220 is operated, for for each history resource access operations, being accessed according to the history resource The action-item of operation to the history resource access operations operate the structure of item collection;
Calculation of relationship degree module 230, for by association analysis algorithm calculate it is each operation item collection between in execution sequence The degree of association;
Item collection is associated to establishing module 240, is constrained for the degree of association between two operation item collections to described two behaviour Make item collection and establish association, obtain item collection association pair.
Optionally, the degree of association includes support and confidence level, as shown in figure 9, calculation of relationship degree module 230 is also included but not It is limited to:Operate item collection resolving cell 231, support computing unit 232, frequent item set determining unit 233 and confidence calculations list Member 234.
Item collection resolving cell 231 is operated, for for each operation item collection, decomposing to obtain subitem to the operation item collection Collection;
Support computing unit 232, for calculating the operation item collection and its respective support of Son item set;
Frequent item set determining unit 233, for by the way that the support is compared with default support threshold, Frequent item set is determined in all operation item collections and its Son item set;
Confidence computation unit 234, for for each frequent item set, between the Son item set for calculating the frequent item set Confidence level.
Optionally, as shown in Figure 10, item collection association also includes but is not limited to establishing module 240:Confidence level comparing unit 241st, front and rear item collection unit 242 is associated with item collection to establishing unit 243.
Confidence level comparing unit 241, for the comparison by the confidence level and default confidence threshold value, it is determined that mutually Between confidence level be more than the confidence threshold value two Son item sets;
Front and rear item collection unit 242, for according to the confidence level between described two Son item sets, in described two Son item sets Determine preamble item collection and follow-up item collection;
Item collection is associated to establishing unit 243, for by the preamble item collection and follow-up item collection with confidence level therebetween Association is established in constraint, obtains item collection association pair.
Optionally, as shown in figure 11, the quantity of resource access target operation is multiple, and data transmission module 140 also includes But it is not limited to:Data transmission time estimates unit 141 and data transmission unit 142.
Data transmission time estimates unit 141, for carrying out data transmission to all resource access target operations Time is estimated;
Data transmission unit 142, for the length order according to the data transmission time, each resource access target is grasped Data corresponding to work are sent to the terminal successively.
Figure 12 is a kind of block diagram of server 100 according to an exemplary embodiment.
With reference to figure 12, server 100 can include one or more following component:Processing component 101, memory 102, Power supply module 103, multimedia groupware 104, audio-frequency assembly 105, sensor cluster 107 and communication component 108.Wherein, it is above-mentioned Component is simultaneously not all necessary, and server 100 can increase other assemblies according to itself functional requirement or reduce some components, this Embodiment is not construed as limiting.
Processing component 101 generally controls the integrated operation of server 100, is such as communicated with display, call, data, Operation that camera operation and record operation are associated etc..Processing component 101 can include one or more processors 109 to hold Row instruction, to complete all or part of step of aforesaid operations.In addition, processing component 101 can include one or more modules, The interaction being easy between processing component 101 and other assemblies.For example, processing component 101 can include multi-media module, with convenient Interaction between multimedia groupware 104 and processing component 101.
Memory 102 is configured as storing various types of data to support the operation in server 100.These data Example includes the instruction of any application program or method for being operated on server 100.Memory 102 can be by any class The volatibility or non-volatile memory device or combinations thereof of type are realized, such as SRAM (Static Random Access Memory, static RAM), EEPROM (Electrically Erasable Programmable Read- Only Memory, Electrically Erasable Read Only Memory), EPROM (Erasable Programmable Read Only Memory, Erasable Programmable Read Only Memory EPROM), PROM (Programmable Read-Only Memory, may be programmed read-only Memory), ROM (Read-Only Memory, read-only storage), magnetic memory, flash memory, disk or CD.Storage One or more modules are also stored with device 102, one or more modules are configured to by the one or more processors 109 Perform, to complete all or part of step in any shown method of Fig. 2, Fig. 3, Fig. 4, Fig. 5 and Fig. 6.
Power supply module 103 provides electric power for the various assemblies of server 100.Power supply module 103 can include power management System, one or more power supplys, and other components associated with generating, managing and distributing electric power for server 100.
Multimedia groupware 104 is included in the screen of one output interface of offer between the server 100 and user. In some embodiments, screen can include LCD (Liquid Crystal Display, liquid crystal display) and TP (Touch Panel, touch panel).If screen includes touch panel, screen may be implemented as touch-screen, to receive from user's Input signal.Touch panel includes one or more touch sensors with the gesture on sensing touch, slip and touch panel.Institute Stating touch sensor can the not only border of sensing touch or sliding action, but also detect and the touch or slide phase The duration and pressure of pass.
Audio-frequency assembly 105 is configured as output and/or input audio signal.For example, audio-frequency assembly 105 includes a Mike Wind, when server 100 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone is configured as Receive external audio signal.The audio signal received can be further stored in memory 102 or via communication component 108 Send.In certain embodiments, audio-frequency assembly 105 also includes a loudspeaker, for exports audio signal.
Sensor cluster 107 includes one or more sensors, and the state for providing various aspects for server 100 is commented Estimate.For example, sensor cluster 107 can detect opening/closed mode of server 100, the relative positioning of component, sensor Component 107 can be changed with the coordinate of 100 1 components of detection service device 100 or server and the temperature of server 100 becomes Change.In certain embodiments, the sensor cluster 107 can also include Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 108 is configured to facilitate the communication of wired or wireless way between server 100 and other equipment.Clothes Business device 100 can access the wireless network based on communication standard, such as WiFi (WIreless-Fidelity, wireless network), 2G or 3G, or combinations thereof.In one exemplary embodiment, communication component 108 receives via broadcast channel and comes from external broadcasting The broadcast singal or broadcast related information of management system.In one exemplary embodiment, the communication component 108 also includes NFC (Near Field Communication, near-field communication) module, to promote junction service.For example, can base in NFC module In RFID (Radio Frequency Identification, radio frequency identification) technology, IrDA (Infrared Data Association, Infrared Data Association) technology, UWB (Ultra-Wideband, ultra wide band) technology, BT (Bluetooth, it is blue Tooth) technology and other technologies realize.
In the exemplary embodiment, server 100 can be by one or more ASIC (Application Specific Integrated Circuit, application specific integrated circuit), DSP (Digital Signal Processing, at data signal Manage device), PLD (Programmable Logic Device, PLD), FPGA (Field-Programmable Gate Array, field programmable gate array), controller, microcontroller, microprocessor or other electronic components realize, be used for Perform the above method.
The concrete mode that computing device operates in server in the embodiment be terminal pre-transmission in relevant be somebody's turn to do Detailed description is performed in the embodiment of the method for data, will no longer elaborate explanation herein.
Optionally, the present invention also provides a kind of server, perform Fig. 2, Fig. 3, Fig. 4, Fig. 5 and Fig. 6 it is any shown in for end Hold all or part of step of the method for pre-transmission data.The server includes:
Processor;And
The memory being connected with the processor communication;Wherein,
The memory storage has readable instruction, and the readable instruction is realized as described above during the computing device Method described in either exemplary embodiment.
The concrete mode that computing device operates in server in the embodiment be terminal pre-transmission in relevant be somebody's turn to do Detailed description is performed in the embodiment of the method for data, explanation will be not set forth in detail herein.
In the exemplary embodiment, a kind of storage medium is additionally provided, the storage medium is that computer readable storage is situated between Matter, such as can be the provisional and non-transitory computer readable storage medium for including instruction.The storage medium is for example wrapped The memory 102 of instruction is included, above-mentioned instruction can be performed above-mentioned for terminal pre-transmission to complete by the processor 109 of server 100 The method of data.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, sheet Art personnel can perform various modifications and changes without departing from the scope.The scope of the present invention only will by appended right Ask to limit.

Claims (12)

  1. A kind of 1. method for terminal pre-transmission data, it is characterised in that methods described includes:
    The resource request carried out according to terminal obtains the resource access operations that the terminal triggering is carried out;
    The target preamble item collection that positioning includes the resource access operations in item collection is associated to the preamble item collection of set, by described Target preamble item collection determines the postorder item collection to be extended back on execution sequence, and the item collection association is to each in set Collection association passes through association therebetween to the acquisition including a preamble item collection and a postorder item collection, the item collection association pair Degree constraint;
    Determine that the resource access operations predict that the resource access target of execution operates after being triggered according to the postorder item collection;
    Operate the transmission that data are carried out to the terminal according to the resource access target, resource access target operation not by The terminal triggering.
  2. 2. according to the method for claim 1, it is characterised in that described to be positioned in item collection is associated to the preamble item collection of set Target preamble item collection comprising the resource access operations, is determined to extend back on execution sequence by the target preamble item collection Postorder item collection the step of before, methods described also includes:
    Server obtains history resource access operations;
    For each history resource access operations, the history resource is visited according to the action-item of the history resource access operations Ask that operation operate the structure of item collection;
    Pass through the degree of association between each operation item collection of association analysis algorithm calculating on execution sequence;
    Degree of association constraint between two operation item collections establishes association to described two operation item collections, obtains item collection association pair.
  3. 3. according to the method for claim 2, it is characterised in that the degree of association includes support and confidence level, described logical Cross between association parser calculates each operation item collection includes in the step of degree of association on execution sequence:
    For each operation item collection, the operation item collection is decomposed to obtain Son item set;
    Calculate the operation item collection and its respective support of Son item set;
    By the way that the support is compared with default support threshold, in all operation item collections and its Son item set really Determine frequent item set;
    For each frequent item set, the confidence level between the Son item set of the frequent item set is calculated.
  4. 4. according to the method for claim 3, it is characterised in that the degree of association constraint pair between two operation item collections Described two operation item collections establish association, obtain the step of item collection association pair and include:
    By the comparison of the confidence level and default confidence threshold value, it is determined that mutual confidence level is more than the confidence level Two Son item sets of threshold value;
    According to the confidence level between described two Son item sets, preamble item collection and follow-up item collection are determined in described two Son item sets;
    The preamble item collection is established with follow-up item collection with confidence level constraint therebetween and associated, obtains item collection association pair.
  5. 5. according to the method for claim 1, it is characterised in that the quantity of the resource access target operation is multiple, institute Stating the step of operating the transmission to terminal progress data according to the resource access target includes:
    Estimating for data transmission time is carried out to all resource access target operations;
    According to the length order of the data transmission time, data corresponding to the operation of each resource access target are sent to institute successively State terminal.
  6. 6. a kind of device for terminal pre-transmission data, it is characterised in that described device includes:
    Resource request acquisition module, the resource request for being carried out according to terminal obtain the resource that the terminal triggering is carried out and visited Ask operation;
    Postorder item collection determining module, the resource access operations are included for positioning in being associated in item collection to the preamble item collection of set Target preamble item collection, the postorder item collection for determining to extend back on execution sequence by the target preamble item collection, the item collection Associate to each item collection association in set to including a preamble item collection and a postorder item collection, the item collection association pair Obtain and constrained by the degree of association therebetween;
    Resource access target operates prediction module, after determining that the resource access operations are triggered according to the postorder item collection The resource access target operation that prediction performs;
    Data transmission module, the transmission of data, the money are carried out to the terminal for being operated according to the resource access target Source access target operation is not triggered by the terminal.
  7. 7. device according to claim 6, it is characterised in that described device also includes:
    History resource access operations acquisition module, history resource access operations are obtained for server;
    Item collection structure module is operated, for for each history resource access operations, according to the history resource access operations Action-item to the history resource access operations operate the structure of item collection;
    Calculation of relationship degree module, for passing through the association between each operation item collection of association analysis algorithm calculating on execution sequence Degree;
    Item collection is associated to establishing module, and described two operation item collections are built for the degree of association constraint between two operation item collections Vertical association, obtain item collection association pair.
  8. 8. device according to claim 7, it is characterised in that the degree of association includes support and confidence level, the pass Connection degree computing module includes:
    Item collection resolving cell is operated, for for each operation item collection, decomposing to obtain Son item set to the operation item collection;
    Support computing unit, for calculating the operation item collection and its respective support of Son item set;
    Frequent item set determining unit, for by the way that the support is compared with default support threshold, all Frequent item set is determined in operation item collection and its Son item set;
    Confidence computation unit, for for each frequent item set, calculating the confidence between the Son item set of the frequent item set Degree.
  9. 9. device according to claim 8, it is characterised in that the item collection association includes to establishing module:
    Confidence level comparing unit, for the comparison by the confidence level and default confidence threshold value, it is determined that between each other Confidence level is more than two Son item sets of the confidence threshold value;
    Front and rear item collection unit, for according to the confidence level between described two Son item sets, before being determined in described two Son item sets Sequence item collection and follow-up item collection;
    Item collection is associated to establishing unit, is established for the preamble item collection and follow-up item collection to be constrained with confidence level therebetween Association, obtain item collection association pair.
  10. 10. device according to claim 6, it is characterised in that the quantity of the resource access target operation is multiple, institute Stating data transmission module includes:
    Data transmission time estimates unit, for carrying out the pre- of data transmission time to all resource access target operations Estimate;
    Data transmission unit, for the length order according to the data transmission time, each resource access target is operated corresponding Data be sent to the terminal successively.
  11. 11. a kind of server, it is characterised in that the server includes:
    Processor;And
    The memory being connected with the processor communication;Wherein,
    The memory storage has readable instruction, and such as claim is realized in the readable instruction during computing device Method described in any one of 1-5.
  12. 12. a kind of computer readable storage medium, is stored thereon with computer program, it is characterised in that the computer journey Sequence realizes the method as described in claim any one of 1-5 when executed.
CN201711006161.1A 2017-10-25 2017-10-25 Method, device and server for pre-transmitting data for terminal Active CN107887033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711006161.1A CN107887033B (en) 2017-10-25 2017-10-25 Method, device and server for pre-transmitting data for terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711006161.1A CN107887033B (en) 2017-10-25 2017-10-25 Method, device and server for pre-transmitting data for terminal

Publications (2)

Publication Number Publication Date
CN107887033A true CN107887033A (en) 2018-04-06
CN107887033B CN107887033B (en) 2021-04-02

Family

ID=61782155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711006161.1A Active CN107887033B (en) 2017-10-25 2017-10-25 Method, device and server for pre-transmitting data for terminal

Country Status (1)

Country Link
CN (1) CN107887033B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965405A (en) * 2018-06-27 2018-12-07 阿里巴巴集团控股有限公司 A kind of table data requested service processing method and processing device
CN116185596A (en) * 2023-04-24 2023-05-30 之江实验室 Method and device for improving task execution efficiency of wide-area multi-cluster distributed system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514267A (en) * 2013-09-04 2014-01-15 快传(上海)广告有限公司 Gateway correlation information obtaining method and system
CN104881467A (en) * 2015-05-26 2015-09-02 上海交通大学 Data correlation analysis and pre-reading method based on frequent item set
CN104881581A (en) * 2015-05-28 2015-09-02 成都艺辰德迅科技有限公司 IoT (Internet of Things) data high-efficiency analysis method
WO2015193973A1 (en) * 2014-06-17 2015-12-23 三菱電機株式会社 Information processing device and information processing method
CN105263115A (en) * 2015-10-30 2016-01-20 宁波大学 Method for switching FMIPv6 based on movement prediction
CN105760279A (en) * 2016-03-09 2016-07-13 北京国电通网络技术有限公司 Method and system for generating fault early warning relevance tree of distributed database cluster
CN105912660A (en) * 2016-04-11 2016-08-31 中山大学 Association rule tree mining method for large-scale data
US20170076008A1 (en) * 2013-06-10 2017-03-16 Amazon Technologies, Inc. Dynamic file concatenation
CN106844550A (en) * 2016-12-30 2017-06-13 郑州云海信息技术有限公司 Method and device is recommended in a kind of virtual platform operation
CN107291734A (en) * 2016-03-31 2017-10-24 阿里巴巴集团控股有限公司 A kind of method for digging of frequent item set, apparatus and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170076008A1 (en) * 2013-06-10 2017-03-16 Amazon Technologies, Inc. Dynamic file concatenation
CN103514267A (en) * 2013-09-04 2014-01-15 快传(上海)广告有限公司 Gateway correlation information obtaining method and system
WO2015193973A1 (en) * 2014-06-17 2015-12-23 三菱電機株式会社 Information processing device and information processing method
CN104881467A (en) * 2015-05-26 2015-09-02 上海交通大学 Data correlation analysis and pre-reading method based on frequent item set
CN104881581A (en) * 2015-05-28 2015-09-02 成都艺辰德迅科技有限公司 IoT (Internet of Things) data high-efficiency analysis method
CN105263115A (en) * 2015-10-30 2016-01-20 宁波大学 Method for switching FMIPv6 based on movement prediction
CN105760279A (en) * 2016-03-09 2016-07-13 北京国电通网络技术有限公司 Method and system for generating fault early warning relevance tree of distributed database cluster
CN107291734A (en) * 2016-03-31 2017-10-24 阿里巴巴集团控股有限公司 A kind of method for digging of frequent item set, apparatus and system
CN105912660A (en) * 2016-04-11 2016-08-31 中山大学 Association rule tree mining method for large-scale data
CN106844550A (en) * 2016-12-30 2017-06-13 郑州云海信息技术有限公司 Method and device is recommended in a kind of virtual platform operation

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965405A (en) * 2018-06-27 2018-12-07 阿里巴巴集团控股有限公司 A kind of table data requested service processing method and processing device
CN108965405B (en) * 2018-06-27 2020-12-04 创新先进技术有限公司 List data request service processing method and device
CN116185596A (en) * 2023-04-24 2023-05-30 之江实验室 Method and device for improving task execution efficiency of wide-area multi-cluster distributed system

Also Published As

Publication number Publication date
CN107887033B (en) 2021-04-02

Similar Documents

Publication Publication Date Title
CN104780155B (en) Apparatus bound method and device
CN104079962B (en) A kind of method and device for pushing recommendation information
CN104301528B (en) The method and device of display information
CN103986969B (en) application management method, device and system
WO2015006080A1 (en) Physical environment profiling through internet of things integration platform
CN105093980B (en) Control the method and device of smart machine start and stop
CN104035995B (en) Group's label generating method and device
CN104125162B (en) The access processing method and device of Internet resources
CN104917581B (en) Bearing calibration, device, terminal and the router of system time
CN105827734A (en) All-round personal medical management device, system and method
CN106569800A (en) Front end interface generation method and apparatus
CN105068467B (en) Control the method and device of smart machine
CN106792448A (en) Bluetooth connecting method and device, system
CN104636164B (en) Start page generation method and device
CN107153684B (en) Display method, device and equipment of push message
CN107452221A (en) Arrival reminding method and device
CN106657132A (en) Method and device for accessing website
CN105258773A (en) Method and device for prompting weight change
CN104468760A (en) Method and device for pushing reminding information
CN106203650A (en) Call a taxi and ask sending method and device
CN104050236B (en) Web site contents update reminding method, server and client side
CN107887033A (en) For the method, apparatus and server of terminal pre-transmission data
CN104539497B (en) Method for connecting network and device
CN112948704A (en) Model training method and device for information recommendation, electronic equipment and medium
CN107316207A (en) A kind of method and apparatus for obtaining bandwagon effect information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant