Detailed description of the invention
For making the purpose of the application, technical scheme and advantage clearer, specifically real below in conjunction with the application
Execute example and technical scheme is clearly and completely described by corresponding accompanying drawing.Obviously, described
Embodiment is only some embodiments of the present application rather than whole embodiments.Based on the enforcement in the application
Example, the every other enforcement that those of ordinary skill in the art are obtained under not making creative work premise
Example, broadly falls into the scope of the application protection.
The data-pushing process that Fig. 1 provides for the embodiment of the present application, specifically includes following steps:
S101: service end obtains the synchronizing information of the business datum in client.
The executive agent of the method for the Information Authentication that the embodiment of the present application provides may is that on terminal or server
The service end of application.Wherein, described service end can be client-side/server-side (Client/Server, C/S)
Service end in structure, it is also possible to be the clothes in browser/service end (Brower/Server, B/S) structure
Business end, accordingly, described client can be the client in C/S structure, it is also possible to be in B/S structure
Browser;Described terminal includes but not limited to: personal computer, mobile phone, panel computer, intelligent watch,
Vehicle-mounted mobile platform etc.;Described server includes but not limited to: personal computer, big-and-middle-sized computer, calculating
Machine cluster etc..
In the embodiment of the present application, described business datum can be the business under arbitrary business scenario determined
Data, such as, for the client of instant messaging application, it may comprise multiple business scenario, for pipe
The business scenario of reason address list, described business datum is the number information etc. of the user in address list, for pipe
Manage the business scenario of short message of transmitting-receiving between specific user, described business datum be with this specific user it
Between transmitting-receiving short message, etc..
General, user is when using the types of applications in terminal, it is possible, firstly, to log in the client of application,
Then, by the various operations carried out on the client, (described service end can position with corresponding service end
On above-mentioned server or on other-end) interact, thus, it is thus achieved that under corresponding business scenario
Business datum.
In actual applications, the business datum under major part business scenario is ordered, such as, for net
The client of upper shopping application, user can perform to inquire about order, add business in shopping cart on the client
The various operation such as product, accordingly, service end according to the operation of user, according to predetermined service logic to
Client sends corresponding business datum, and as when user performs to inquire about order operation, service end then will inquiry
To the details (that is, business datum) of each order descended of user send to client,
Under this business scenario, described business datum is the details of each order, it is clear that each order detailed
Information is ordered into each other, and can place an order the time with comprise in the details of order, represents
The order of the details of each order, the order of the details of the time order more early that places an order is the most forward.
The operation performed on the client for user, if service end would correspond to the complete of this operation every time
The business datum of amount sends to client, like this, adds the processing load of service end.Therefore, exist
In the embodiment of the present application, service end only can send the increasing of the business datum relevant to user operation to client
(incremental data of business datum, that is, belong to the newly-increased of same business scenario with this business datum for amount data
Business datum).Continue to illustrate by example, it is assumed that user had been inquired about by client and once ordered
Single, the details caching of each order that client can send over after service end being inquired about, then, under
When one time user inquires about order again, it is assumed that have the order of this newly-increased user, then service end can be only to client
End returns the details of order that this user increases newly, and need not detailed by each order of being transmitted across
Thin information sends once to client again, thus, reduce the processing load of service end, improve service end
Treatment effeciency.Wherein, in the embodiment of the present application, the form of described business datum and described business datum
The form of incremental data, can be arranged in advance by between client and service end, the application does not do
Limit.
Further, at present, under some application scenarios, such as the communication quality between client and service end
Time poor, or, during the process exception of client, above-mentioned business datum from service end to client
Transmitting procedure may be lost, cause these partial service data lacking loss in client, and service end
And be unaware of, or, above-mentioned business datum from the transmitting procedure of service end to client, transmission sequence
Possible entanglement, causes client to get out of order business datum, affects follow-up use.
In the embodiment of the present application, service end can be connected based on the length set up between client, Yi Jike
The synchronizing information of the business datum on the end of family, solves the problems referred to above.Concrete, based on described long connection, clothes
After business end can send operation requests without waiting for client, then send business datum to client, but can
With actively to the incremental data of client push business datum, this improves the place of client and service end
Reason efficiency;And based on described synchronizing information, service end may determine that existing business datum in client, enter
And in an orderly manner to the incremental data of this existing business datum of client push, wherein, the order of business datum
Can be determined according to the service logic of business datum by service end and/or client.
In the embodiment of the present application, business datum is synchronized to client by service end, and described is same
Step information can reflect the synchronous point of the business datum in client and the business datum in service end, that is,
The business datum (including this synchronous point) before this synchronous point for order, service end has synchronized to give
Client, and the business datum that order is after this synchronous point, service end is not yet synchronized to client.Therefore,
Service end when will to client synchronization business datum time, or, client is actively to service end requested service number
According to time, service end can obtain the synchronizing information of the business datum in client, in order to determine to client with
Walk which business datum, and how to these business datums of client synchronization.
S102: described service end, according to described synchronizing information, is connected by the length set up between described client
Connect, to the incremental data of business datum described in described client push.
In the embodiment of the present application, service end can be set up and maintain long in advance and be connected with client, follow-up base
In this long incremental data connecting transmission service data, like this, one period of this long persistent period connected
In section, client can actively to service end acquisition request from the incremental data of business datum the most with it,
But, by service end actively to these incremental datas of client push, further, service end is according to described
Synchronizing information, can be in an orderly manner to these incremental datas of client push.
It should be noted that described long connection can be the length of arbitrary communication protocol used based on transport layer
Connecting, such as transmission control protocol (Transmission Control Protocol, TCP) is long to be connected, etc..
Described long connection can use prior art to realize, and such as, uses heartbeat packet mode to realize, concrete, visitor
Initially setting up a TCP between family end and service end to be connected, then, client is every prefixed time interval
Just sending a heartbeat packet to service end, this heartbeat packet is then responded by service end, and client judges whether
The service end response to heartbeat packet is have received within the time of regulation, if, it is determined that the TCP of foundation is even
Connecing still effective, otherwise, again set up a TCP with service end and be connected, above-mentioned TCP connects permissible
It is referred to as TCP length to connect.
By said method, owing to service end is according to described synchronizing information, it may be determined that having in client
Business datum, and not yet synchronize the incremental data of business datum in the past, and service end and client it
Between maintain and have long connection, therefore, service end can be pushed to not yet synchronizing incremental data in the past in an orderly manner
Client, accordingly, client can also receive these incremental datas in an orderly manner, even and if incremental data exist
Losing in transmitting procedure, service end is follow-up can also be known by described synchronizing information, and then to client weight
Pass the incremental data lost, thus, improve the reliability of the business datum that client gets from service end.
And, client can obtain the incremental data of business datum the most continually to service end active request, and
It is can to wait that service end pushes these incremental datas passively, therefore, also mitigates the place of client
Reason burden.
In the embodiment of the present application, for above-mentioned steps S101, service end can obtain in several ways
The synchronizing information of the business datum in client, these acquisition modes include but not limited to following two mode:
The first, service end obtains the synchronizing information of the business datum in client, specifically includes: service end
Receive client reports, the synchronizing information of business datum in described client, and preserve described synchronization letter
Breath.
The second, service end, when receiving for the synchronization request of the business datum in client, is searched certainly
That body preserves or that preserve in other positions, the synchronizing information of business datum in described client.Wherein,
Described synchronization request both can by be in service end be responsible for management and control business datum module sent, it is also possible to
Sent by client.
The synchronizing information of the business datum in client can be generated by client, and carries out safeguarding renewal, right
The synchronization letter of the business datum in the above-mentioned second way, client that service end preserves at self, described
Breath, it is clear that be also in former mutual with client, is sent to service end by client and preserves.Enter
And, when the synchronizing information that service end gets, when differing with the synchronizing information self preserved, service end is entered
Should operate based on the synchronizing information got during the follow-up push operation of row, and preserve get same
Step information, to replace the synchronizing information preserved before, like this, can improve what service end was used
The real-time of synchronizing information and reliability.
In actual applications, above-mentioned first kind of way is typically relatively specific for user's real-time query on the client
The application scenarios of up-to-date business datum, or, client is just being opened and is being used the account of user to log in clothes
The application scenarios of business end, or, client application scenarios when the business scenario that service end registration is new.And
The above-mentioned second way is relatively specific for the business datum of service end and updates (that is, generate client
On the incremental data of business datum), and be necessary in time to the application of these incremental datas of client synchronization
Scene.
In the embodiment of the present application, the business datum in client can be made up of multiple business datum blocks, class
As, the incremental data of described business datum can also be made up of multiple incremental data blocks accordingly, and these
Business datum block and incremental data block are ordered into.Follow-up each incremental data block is pushed to client,
Can be used as in client a newly-increased business datum block, like this, service end can be according to for each industry
The sequence identification that business data block and each incremental data block generate, is pushed to client in an orderly manner by each incremental data block
Hold, and service end can determine active client according to the synchronizing information of the business datum in the client obtained
The progress of upper reception incremental data block, and then determine whether that the incremental data block sent is lost in transmission way
Lose, the most then the incremental data block that server can be lost to client push again.
According to the above description, in above-mentioned steps S102, described service end is according to described synchronizing information, logical
Cross the length set up between described client to be connected, to the increment number of business datum described in described client push
According to, specifically include: the sequence identification that described service end comprises according to described synchronizing information, and be described industry
The sequence identification that each incremental data block of comprising of incremental data of business data generates, by with described client it
Between the long connection set up, to incremental data block each described in described client push.
Further described business datum and described business datum block are described in detail.For application
Speech, application can safeguard different business datums for the different user logged in, and business datum may belong to again not
Same business scenario, therefore, in order to distinguish corresponding to different user, and corresponding to different business scene
Business datum, can be identified business datum with ID and business scenario type identification.Concrete,
Described business datum specifically includes ID, business scenario type identification, and at least one orderly industry
Business data block, wherein, each business datum block order in described business datum, described service end give birth to
The sequence identification of this business datum block become represents.
Described business datum block can be the minimum logic unit in described business datum, at this still with immediately
Illustrate as a example by communication applications.Assuming that user A logs in this instant messaging application by the ID of oneself,
And using the short message function in this instant messaging application, then corresponding business scenario is SMS service field
Scape, that this instant messaging application is safeguarded for user A and transmitting-receiving between certain communication contact people all short
Information, can be described as the business datum under SMS service scene, and then, it is every that this business datum is comprised
Individual business datum block corresponds to a short message.Obviously, being ordered between each short message, the transmitting-receiving time is more
The order of forward short message is the most forward.For each business datum block in client traffic data, permissible
The sequence identification being generated this business datum block for it in advance by service end, is used for representing that this business datum block is respectively
Order in business datum block.Accordingly, described synchronizing information can include described ID, described industry
Business scene identity, described business datum comprise, order is positioned at the sequence identification of last business datum block.
In the embodiment of the present application, described service end can be the increment of described business datum as follows
Each incremental data block genesis sequence that packet contains mark: described service end determine preservation, corresponding to described
ID that synchronizing information comprises and the data block of business scenario mark, as the increment of described business datum
The incremental data block that packet contains, and the order mark of each business datum block comprised according to described business datum
Know, and the service logic order between described each business datum block and each incremental data block, the most each
Incremental data block genesis sequence identifies, and wherein, the sequence identification of each incremental data block illustrates this increment number
According to block order in described each business datum block and each incremental data block.
Wherein, service logic order can reflect each business datum block in client and service end is follow-up to push away
In operational order between each incremental data block brought.Still say as a example by SMS service scene
Bright, it is assumed that to have two business datum blocks (that is, two short messages) on active client, according to short message
General service logic, receives and/or sends the order of time forward short message, it should than receiving and/or
Send the front of time short message rearward, then it is believed that: the former service logic order is than the latter
Forward.
Further, the sequence identification that described service end comprises according to described synchronizing information, and be described
The sequence identification that each incremental data block that the incremental data of business datum comprises generates, by with described client
Between the long connection set up, to incremental data block each described in described client push, specifically include: described clothes
Business end, in each incremental data block, determines the industry that the sequence identification sequentially comprised is corresponding in described synchronizing information
Incremental data block after business data block, and the order of incrementally data block, each increment number that will determine
According to block by with between described client set up long connection be pushed to described client, make described client exist
After receiving each incremental data block that described service end pushes, using this incremental data block as business datum block
Add in described business datum, and update described synchronizing information.
In actual applications, service end can be to define corresponding to the incremental data block that client carries out pushing
Data structure as container, for each incremental data block, would correspond to the use that described synchronizing information comprises
Family mark and business scenario identify, and this incremental data block, the sequence identification of this incremental data block of generation
It is placed in same container pushing, like this, the treatment effeciency of service end can be improved, the most just
Process after client receives.Hereinafter citing illustrates.
Such as, service end be the container of incremental data block definition can be the number of entitled Operation Log OPLOG
According to structure, OPLOG is including at least 4 field: PAYLOAD (representing incremental data block), USER ID
(expression ID), BIZ_TYPE (representing business scenario type identification), OPLOG ID (represent
The sequence identification of incremental data block).Then increasing an incremental data block whenever service end, service end can be right
Should ground generate an OPLOG, when service end will to client synchronization business datum time, it is only necessary to by sequential bits
Each OPLOG after the sequence identification that the synchronizing information obtained comprises is pushed to client.Accordingly
, client is after receiving OPLOG, and each incremental data block comprised extracts, then,
And according to the sequence identification of each incremental data, each incremental data is added self as newly-increased business datum block
On business datum in, then the sequence identification in synchronizing information is updated to: after adding each incremental data, from
Order sequence identification the most rearward in business datum with it.If it should be noted that adding each incremental data
After, the sequence identification of each business datum block in client is discontinuous, that is, each sequence identification lacks to
A few sequence identification, then can deduce some incremental data block that service end sent (corresponding to lacking
The incremental data block of sequence identification) may lose in transmitting procedure, in this case, client
Sequence identification in synchronizing information can be updated to: after adding each incremental data, from business datum with it
The sequence identification of order business datum block the most rearward on the premise of keeping continuously.Like this, service end can
With according to the synchronizing information after updating, the incremental data block again lost to client push.
In addition, it is necessary to explanation, for each business datum block on active client, at these business numbers
When pushing to client according to end the most not serviced before block, the sequence identification of these business datum blocks is also by taking
Business end, is adopted as the method generation of each incremental data block genesis sequence mark.
Concrete methods of realizing that some are feasible in order to make it easy to understand, illustrate at this, that genesis sequence identifies:
Service end can be by positive integer as sequence identification, then the order of the sequence identification that numerical value is the least is more leaned on
Before.Assuming that the sequence identification of each business datum block in business datum in client is 1~8, in service end
In addition to having these business datum blocks, the most some incremental data blocks (suppose there is 8), then client
On the sequence identification that comprises of the synchronizing information of business datum be 8, then service end is according to these 8 incremental datas
Service logic relation between block, for these 8 incremental data blocks genesis sequences mark 9~16 respectively, wherein,
The sequence identification of the incremental data block that order is the most forward is the least.That is, each business datum block in client with
The sequence identification of each incremental data block that the follow-up propelling movement of service end comes, is according to service logic sequentially
's.Being similar to, in addition to positive integer, service end can also be by other orderly character set as order mark
Know, such as, English alphabet etc..
It addition, under Distributed Application scene, owing to same client likely corresponds to multiple service end,
Multiple service ends may perform the operation of genesis sequence mark simultaneously, and the most multiple service ends may be different
Incremental data block generates same sequence identification, thus affects the reliability of follow-up propelling movement process.In the application
In embodiment, lock mechanism can be used to solve this problem, wherein, described lock mechanism includes but not limited to happy
See lock mechanism and Pessimistic Locking mechanism.Concrete, when using optimistic lock mechanism, service end is being submitted to data base
Before genesis sequence identification request, from data base, first obtain the up-to-date sequence identification preserved (the most current
Value), then, carry this currency when submitting genesis sequence identification request to, data base receives this generation
After sequence identification request, the currency phase that this currency is actual with sequence identification in data base can be judged
With, the most then it is successfully processed this genesis sequence identification request, otherwise, returns failure response to service end,
Accordingly, server can retry after receiving failure response, such that it is able to prevent sequence identification from repeatedly generating.
And when using Pessimistic Locking mechanism, when certain service end submits genesis sequence identification request to data base,
Will lock by sequence identification, and other service ends need in database maintenance waiting list, wait lock release
After could continue genesis sequence mark, such that it is able to prevent sequence identification from repeatedly generating.Obviously, both locks
Mechanism is respectively arranged with pluses and minuses, and optimistic lock mechanism need not database maintenance waiting list, the response speed to requesting party
Degree is fast, will not blocking request side, but requestor processes pattern is relative complex, Pessimistic Locking requestor processes pattern
Simply, but database overhead is relatively large.More applicable lock mechanism can be selected according to different application scenarios.
According to above-mentioned explanation, Fig. 2 shows, under a kind of actual application scenarios, the embodiment of the present application
The data-pushing detailed process provided.Wherein, described client is specifically divided into three functional modules: industry
Business client modules, synchronization (Synchronization, SYNC) client modules, long connection client
Module;Described service end is the most specifically divided into three functional modules: business service end module, SYNC take
Business end module, long Connection Service end module.Specifically include following steps:
S201:SYNC client modules generates the synchronizing information of the business datum in client, and hands to
Long connection client modules.
S202: the long client modules that connects in advance or in real time and is built between long Connection Service end module
Vertical long connection, and by this long connection, this synchronizing information is reported long Connection Service end module.
When setting up long connection, concrete, long connection client modules and long Connection Service end module can be built
A vertical TCP both-way communication connects, and after being successfully established, the long client modules that connects is every preset time period
Sending a heartbeat packet to long Connection Service end module, long Connection Service end module then responds in Preset Time
This heartbeat packet, such that it is able to maintain this TCP both-way communication to connect, this TCP both-way communication connects and can claim
Connect for long.
S203: this synchronizing information is handed to SYNC server module by long Connection Service end module.
S204:SYNC server module, according to this synchronizing information, determines the increment number of described business datum
According to.
This incremental data is handed to long Connection Service end module by S205:SYNC server module.
S206: long Connection Service end module, by this incremental data, by the long connection set up, is pushed to long company
Connect client.
S207: this incremental data is handed to SYNC client modules by the long client that connects.
S208:SYNC client modules extracts each incremental data block from incremental data, hands to business
Client modules.
S209:SYNC client modules is according to the sequence identification of each incremental data block extracted, to self
The synchronizing information of upper business datum is updated, and notice SYNC server module updates the synchronization preserved
Information.
Fig. 3 shows, under another kind of actual application scenarios, the data-pushing that the embodiment of the present application provides
Detailed process.Wherein, described client and the functional module of described service end, still enter according to the explanation of Fig. 2
Row divides.Specifically include following steps:
S301: business service end module sends incremental data synchronization request to SYNC server module.
S302:SYNC server module, according to the synchronizing information preserved in service end, is determined in client
The incremental data of business datum.
This incremental data is handed to long Connection Service end module by S303:SYNC server module.
S304: long Connection Service end module, by this incremental data, by the long connection set up, is pushed to long company
Connect client.
S305: this incremental data is handed to SYNC client modules by the long client that connects.
S306:SYNC client modules extracts each incremental data block from incremental data, hands to business
Client modules.
S307:SYNC client modules is according to the sequence identification of each incremental data block extracted, to self
The synchronizing information of upper business datum is updated, and notice SYNC server module updates the synchronization preserved
Information.
It will be seen that the data-pushing process in Fig. 2 is actively to be triggered by client, and the data in Fig. 3
Propelling movement process is actively to be triggered by service end end, and this is the data push method provided described in the embodiment of the present application
Two kinds of typical practical applications scenes.
Further, in actual applications, it is also possible to do not divide client and service according to Fig. 2 and Fig. 3
The functional module of end, and it is divided into other functional module.The application is to described client and described service
The functional module of end divides and framework tissue does not limit.
The data-pushing process corresponding to Fig. 1 that Fig. 4 provides for the embodiment of the present application, executive agent is this Shen
Please the client described in embodiment, specifically include following steps:
S401: client, for from business datum with it, generates the synchronizing information of described business datum.
S402: described synchronizing information is reported service end by described client, in order to described service end according to
Described synchronizing information, to the incremental data of business datum described in described client push.
The data push method provided for the embodiment of the present application above, based on same thinking, the application implements
Example also provides for corresponding data-pushing device, as shown in Figure 5, Figure 6.
The data-pushing apparatus structure schematic diagram that Fig. 5 provides for the embodiment of the present application, specifically includes:
Acquisition module 501, for obtaining the synchronizing information of the business datum in client;
Pushing module 502, for according to described synchronizing information, by the length set up between described client
Connect, to the incremental data of business datum described in described client push.
Described acquisition module 501 specifically for, receive client reports, business number in described client
According to synchronizing information, and preserve described synchronizing information.
Described acquisition module 501 specifically for, when receive for the business datum in client synchronization please
When asking, search the synchronizing information of business datum that preserve, in described client.
The incremental data of described business datum comprises at least one incremental data block;
Described pushing module 502 is specifically for, the sequence identification comprised according to described synchronizing information, Yi Jiwei
The sequence identification that each incremental data block that the incremental data of described business datum comprises generates, by with described visitor
The long connection set up between the end of family, to incremental data block each described in described client push.
Described business datum specifically includes ID, business scenario type identification, and orderly at least one
Individual business datum block, wherein, each business datum block order in described business datum, by described service
The sequence identification of this business datum block that end generates represents;
Described synchronizing information specifically includes described ID, described business scenario mark, described business datum
Comprise, order is positioned at the sequence identification of last business datum block.
Described pushing module 502 is additionally operable to each incremental data comprised for the incremental data of described business datum
Block genesis sequence identifies;
Described pushing module 502 is specifically for, use that determine preservation, that comprise corresponding to described synchronizing information
Family mark and the data block of business scenario mark, the increment number comprised as the incremental data of described business datum
According to block, and the sequence identification of each business datum block comprised according to described business datum, and described each business
Service logic order between data block and each incremental data block, the most each incremental data block genesis sequence
Mark, wherein, the sequence identification of each incremental data block illustrates this incremental data block at described each business number
According to the order in block and each incremental data block.
Described pushing module 502 specifically for, in each incremental data block, determine order in described synchronization
Incremental data block after the business datum block that sequence identification that information comprises is corresponding, and incrementally data block
Order, by each incremental data block determined by with between described client set up be pushed to long connection
Described client, makes described client after receiving each incremental data block that described service end pushes, incites somebody to action
This incremental data block adds in described business datum as business datum block, and updates described synchronizing information.
Concrete above-mentioned device as shown in Figure 5 may be located in service end.
The another kind of data-pushing apparatus structure schematic diagram that Fig. 6 provides for the embodiment of the present application, specifically includes:
Generation module 601, for for the business datum in client, generates the synchronization of described business datum
Information;
Reporting module 602, for reporting service end by described synchronizing information, in order to described service end root
According to described synchronizing information, to the incremental data of business datum described in described client push.
Concrete above-mentioned device as shown in Figure 6 may be located in client.
The embodiment of the present application provides a kind of data push method and device, and the method service end obtains in client
The synchronizing information of business datum, described service end according to described synchronizing information, by with described client it
Between the long connection set up, to the incremental data of business datum described in described client push.By said method,
Owing to service end is according to described synchronizing information, it may be determined that the business datum having had in client, and
Not yet synchronize the incremental data of business datum in the past, and between service end with client, maintenance have long connection,
Therefore, service end can be pushed to client by not yet synchronizing incremental data in the past in an orderly manner, even and if increasing
Amount data are lost in transmitting procedure, and service end is follow-up can also be known by described synchronizing information, Jin Erxiang
Client retransmits the incremental data lost, thus, improve the business datum that client gets from service end
Reliability.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter
Calculation machine program product.Therefore, the present invention can use complete hardware embodiment, complete software implementation or knot
The form of the embodiment in terms of conjunction software and hardware.And, the present invention can use and wherein wrap one or more
Computer-usable storage medium containing computer usable program code (include but not limited to disk memory,
CD-ROM, optical memory etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention
The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and
/ or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/
Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding
The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating
The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one
The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set
In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory
Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart
The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes
Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices
Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one
The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
In a typical configuration, calculating equipment includes one or more processor (CPU), input/defeated
Outgoing interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory
(RAM) and/or the form such as Nonvolatile memory, such as read only memory (ROM) or flash memory (flash
RAM).Internal memory is the example of computer-readable medium.
Computer-readable medium includes that removable media permanent and non-permanent, removable and non-can be by appointing
Where method or technology realize information storage.Information can be computer-readable instruction, data structure, program
Module or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory
(PRAM), static RAM (SRAM), dynamic random access memory (DRAM), its
The random access memory (RAM) of his type, read only memory (ROM), electrically erasable are read-only
Memorizer (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read only memory
(CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tape, tape magnetic
Disk storage or other magnetic storage apparatus or any other non-transmission medium, can be used for storage can be calculated
The information that equipment accesses.According to defining herein, computer-readable medium does not include temporary computer-readable matchmaker
Body (transitory media), such as data signal and the carrier wave of modulation.
Also, it should be noted term " includes ", " comprising " or its any other variant are intended to non-
Comprising of exclusiveness, so that include that the process of a series of key element, method, commodity or equipment not only wrap
Include those key elements, but also include other key elements being not expressly set out, or also include for this process,
The key element that method, commodity or equipment are intrinsic.In the case of there is no more restriction, statement " include
One ... " key element that limits, it is not excluded that including the process of described key element, method, commodity or setting
Other identical element is there is also in Bei.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer journey
Sequence product.Therefore, the application can use complete hardware embodiment, complete software implementation or combine software and
The form of the embodiment of hardware aspect.And, the application can use and wherein include calculating one or more
The computer-usable storage medium of machine usable program code (include but not limited to disk memory, CD-ROM,
Optical memory etc.) form of the upper computer program implemented.
The foregoing is only embodiments herein, be not limited to the application.For this area skill
For art personnel, the application can have various modifications and variations.All institutes within spirit herein and principle
Any modification, equivalent substitution and improvement etc. made, within the scope of should be included in claims hereof.