Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification, below in conjunction with this explanation
Attached drawing in book embodiment is clearly and completely described the technical solution in this specification embodiment, it is clear that described
Embodiment be only this specification a part of the embodiment, instead of all the embodiments.The embodiment of base in this manual,
Every other embodiment obtained by those of ordinary skill in the art without making creative efforts, all should belong to
The range of this specification protection.
Distributed system can be understood as establishing the software systems on network, can handle the task of every assistance,
Integrate out result.The physics and logical resource that many general can be possessed in distributed system, can dynamically distribute task, point
Scattered physics and logical resource realizes information exchange by computer network.Under normal conditions, may include in distributed system
Multiple client, each client can be with co-ordinations, i.e., each client in distributed system can mutually coordinated processing one
Different clients can be known as corresponding up-stream system, downstream system according to the direction of data flow when processing task by task
System.In entire distributed system, context data can be shared in up-stream system and down-stream system, be in distribution
The information be called in each system in system, shared can be understood as the context data in this specification embodiment, on
Context data each system can be shared in a distributed system.
Context data management method in a kind of distributed system is provided in this specification embodiment, by being arranged up and down
Literary data administrator realizes the unified management to context data.Each system in distributed system can according to oneself
It needs to send context call parameters to context data managing device, context data managing device is then as needed, to right
The context data answered is managed accordingly, such as: being returned to corresponding context data, is deleted corresponding context data update
Corresponding context data etc..The calling managing context data in data transfer are avoided, cause to call in link
The problem of system errors use, other upstream and downstream systems can not perceive.Realize the use of global control context data
And management, improve the accuracy and reasonability of context data management in distributed system.
Context data management method can be applied in client or server in distributed system in this specification, visitor
Family end can be smart phone, tablet computer, intelligent wearable device (smartwatch, virtual reality glasses, virtual implementing helmet
Deng), the electronic equipments such as intelligent vehicle-carried equipment.
Specifically, Fig. 1 is the process of context data management method in distributed system in this specification one embodiment
Schematic diagram, as shown in Figure 1, context data management method can be in the distributed system provided in this specification one embodiment
Include:
Step 102 receives the context data management call request that the source system in distributed system is sent.
In the specific implementation process, context data management method can in the distributed system in this specification embodiment
To execute implementation by context data managing device, a context data management dress can be specifically set in a distributed system
It sets, or independent context data managing device is set outside distributed system, dedicated in managing context system
Context data.Context data managing device can be understood as the client or service for the data-handling capacity for having certain
Device, or it can be appreciated that a kind of database or the component of other data management storage, specifically can according to actual needs into
Row selection, this specification embodiment are not especially limited.
When business needs to carry out the shared or transmitting of context data or distributed system needs to be implemented a task
When, the source system of distributed system can send context data to context data managing device and manage call request, adjust
With context data managing device.It may include business scenario and in requisition for preparation in context data management call request
Context data information, such as: for the management of the context data once paid, source system in distributed system can be with
Initiate a payment request, it can be understood as source system has sent context data management tune to context data managing device
With request, it may include paying corresponding order number, user information etc. that context data, which manages in call request,.
Wherein, the source system of distributed system can be understood as carrying out first of context data call by passing be
System, such as: certain business needs tri- system cooperations of A, B, C that could complete, it is necessary first to and system A carries out the calling processing of data, then
System B is passed data to, sends the data to system C again after system B processing, then system A is properly termed as source system.
Step 104 manages call request according to the context data, creates context data collection.
In the specific implementation process, context data managing device receives the context data pipe of source system transmission
Call request is managed, based on context the corresponding business demand of data management call request, initialization business datum can be created
Context data collection.Context data concentration may include the context data that data needed for business initialize, such as: on if
It is payment scene that context data, which manages the corresponding business scenario of call request, then context data concentration may include payment gold
Volume, date, membership information, bank information, the user information for paying both sides etc..
Creation context data collection in this specification embodiment can be understood as creating an example, this theory as needed
In bright embodiment when creating context data collection, an example number can be created for context data collection, be compiled by example
It is transmitted and is managed between not homologous ray number in a distributed system, realize the unified management to context data.
The corresponding example number of the context data collection is returned to the source system by step 106, so that described
Source system transmits down-stream system of the example number into the distributed system.
It in the specific implementation process, can will be upper and lower after context data managing device is created that context data collection
The corresponding example number of literary data set returns to source system, and it is corresponding that example number can be sent to source system by source system
Down-stream system example number can also be sent to next downstream after the corresponding down-stream system of source system calls
System successively carries out the transmitting of example number.Down-stream system can call corresponding context data collection according to example number,
Realize the calling and management of context data.
Down-stream system in this specification embodiment can be one or more, can specifically be executed according to distributed system
Depending on the quantity for the system that one task needs to cooperate.
Step 108 receives the context call parameters that the down-stream system returns, and is called and joined according to the context
Number, the context data concentrated to the context data are managed, the context concentrated to the context data
It includes: to return to corresponding context data or update corresponding context data or by corresponding context that data, which are managed,
Data are deleted.
It in the specific implementation process, can be to context data managing device after down-stream system receives example number
Send context call parameters, wherein may include: the context data to be called in context call parameters or will be to upper
Context data carry out management such as: certain data is updated or is deleted.In the context call parameters that down-stream system is sent
It can also include example number, context data managing device can be according to the context call parameters that receive and corresponding
Example number, the context data concentrated to corresponding context data are managed.
The context data concentrated in this specification embodiment to context data is managed, and may include returning to correspond to
Context data, or certain context data is deleted or is updated.Such as: if the context tune that some down-stream system returns
It is to read context data a with parameter, then context data a can be returned to the downstream system by context data managing device
System.If the context call parameters that certain down-stream system returns are to update context data a, context data managing device can be with
The context data a that corresponding context data is concentrated is updated according to example number.If certain down-stream system returns upper
Hereafter call parameters are to delete context data a, then context data managing device can be according to example number on corresponding
The context data a that context data is concentrated is deleted.
Context data management method in a kind of distributed system is provided in this specification embodiment, by being arranged up and down
Literary data administrator, each system in distributed system can be sent out to context data managing device according to their own needs
Serve hereafter call parameters, context data managing device then based on context call parameters, to corresponding context data into
The corresponding management of row, such as: returning to corresponding context data, the corresponding context data of deletion updates corresponding context data
Deng.Being used context data and being managed for global unification is realized, context data pipe in distributed system is improved
Accuracy, reasonability and the flexibility of reason.The calling managing context data in data transfer are avoided, call chain is caused
System errors in road use, other upstream and downstream systems can not perceive, and data is caused the problem of mistake occur.
On the basis of the above embodiments, described according to the context data management in this specification one embodiment
Call request creates context data collection, comprising:
According to the access authority of each system in the distributed system, accessed in the context data concentrated setting
Isolated area;
Correspondingly, described according to the context call parameters, the context data that the context data is concentrated into
Row management, comprising:
According to the corresponding access authority of the down-stream system, the corresponding access isolated area of the down-stream system is obtained, according to
The context call parameters are managed corresponding context data in the access isolated area.
In the specific implementation process, context data managing device is when creating context data collection, can according to point
The access authority of each system in cloth system accesses isolated area in context data concentrated setting.Such as: some sensitive parameters
Certain systems in distributed system cannot access i.e. no access authority, then can be real in such a way that setting accesses isolated area
Existing business isolation.Can be in the access isolated area of each system of context data concentrated setting, and each access isolation is set
The system access right in area, the data for accessing isolated area can only have the system of access authority to be able to access that.When in distributed system
Each system to context data managing device send context call parameters, request context data is accessed or is adjusted
With or modification or delete when, context data managing device can be according to the visit of each system, that is, down-stream system in distributed system
Ask permission, determine the corresponding access isolated area of the system, and to the context data in the access isolated area being able to access that into
Row management, such as: return to corresponding context data.
Such as: system A requests access to data a, b, c, and context data managing device determines the visit that system A is able to access that
Ask isolated area, find data c not in the region that system A is able to access that, then can returned data a, b give system A.
This specification embodiment can be carried out the access authority of different context datas by setting access isolated area
Isolation, the only system with access authority can just access, and improve the confidentiality and privacy of data.
On the basis of the above embodiments, described according to the context data management in this specification one embodiment
Call request creates context data collection, comprising:
According to the data administration authority of each system in the distributed system, be arranged each system to the context
The data management rule of context data in data set;
Correspondingly, described according to the context call parameters, the context data that the context data is concentrated into
Row management, comprising:
According to the corresponding data administration authority of the down-stream system, advised according to the corresponding data management of the down-stream system
Then, the corresponding context data of context call parameters described in the context data collection is managed.
In the specific implementation process, context data managing device is when creating context data collection, can according to point
The number for the context data of each system concentrated to context data is arranged in the data administration authority of each system in cloth system
According to management rule, data management rule may include calling, update or the deletion of data.Such as: system A can only call context number
According to, not can be carried out the update and deletion of data, system B can call and update context data, it not can be carried out the deletion of data,
System C can call, update and delete context data.When the system in distributed system is to context data managing device
Context call parameters are sent, when request accesses to context data or calls or modify or deletes, context data pipe
Reason device can determine the down-stream system according to the data administration authority of each system, that is, down-stream system in distributed system
Data management rule.According to corresponding data management rule, the data of request are managed accordingly.
Such as: if being that can only call context according to the data management rule that system A is arranged in the data administration authority of system A
Data, when system A sends context call parameters to context data managing device, some context data is deleted in request
It removes, then data administration authority setting can refuse the request, or corresponding context data is only returned to system A.
It should be noted that same system can have different data pipes to different parameters in this specification embodiment
Reason rule, such as: system A can be called parameter a, can be updated to parameter b, can delete parameter c.Or
Then, same system can have different data management rules to the data of different zones, specifically can according to actual needs into
Row setting.
This specification embodiment is realized by the way that the data management of homologous ray is not regular in setting distributed system to not homology
The data administration authority of system is controlled, and the maloperation of context data is avoided, and improves the accuracy of data management.
On the basis of the above embodiments, described according to the context data management in this specification one embodiment
Call request creates context data collection, comprising:
The corresponding business scenario of call request is managed according to the context data, is arranged in the distributed system and is respectively
The access authority for the context data that system concentrates the context data;
Correspondingly, described according to the context call parameters, the context data that the context data is concentrated into
Row management, comprising:
According to the business scenario, the corresponding access authority of the down-stream system is determined;
According to the access authority and the context call parameters, corresponding context is concentrated to the context data
Data are managed.
In the specific implementation process, context data managing device, can be according to source when creating context data collection
The context data that head system is sent manages the corresponding business scenario of call request, and each system is to upper and lower in setting distributed system
The access authority of context data in literary data.Such as: the lower accessible data key1 of system A of scene 1, but scene 2 is lower to be
System A cannot access data key1.When each system in distributed system sends context tune to context data managing device
With parameter, when request accesses to context data or calls or modify or deletes, context data managing device can root
According to current business scenario, each system i.e. access authority of down-stream system in distributed system is got, is based on context adjusted
Corresponding context data is managed with parameter.
Such as: if the lower accessible data key1 of system A of scene 1, but the lower system A of scene 2 cannot access data
key1.When the corresponding business scenario of context data management call request that source system is sent is scene 1, then it can determine and be
A current access authority of uniting is accessible data key1.It is called when system A sends context to context data managing device
Parameter, when requesting access to data key1, context data managing device can be concentrated from context data and return to corresponding data
Key1 gives system A.If context data managing device determines that current business scenario is scene 2, when system A is to context number
Context call parameters are sent according to managing device, when requesting access to data key1, context data managing device can refuse this
Request.
This specification embodiment is kept away by the access authority according to system in different business scenario setting distributed systems
Exempt from particular service scene, the data that cannot be accessed are accessed in system, cause data leak or data maloperation etc., improve
Accuracy, reliability and the privacy of data management realize the displaying of context data management.
It is on the basis of the above embodiments, described according to the context call parameters in some embodiments of this specification,
The context data concentrated to the context data is managed, further includes:
Record the management record for the context data that each system concentrates the context data in the distributed system.
In the specific implementation process, each system carries out context data in distributed system calling is updated, is deleted
Except equal management record can be recorded and saved by context data managing device, the centralized and unifiedization pipe to context data is realized
Reason realizes that the service condition of Full-Distributed System link retrospect parameter, the inquiry for facilitating follow-up data management to record or data are wrong
Accidentally positioning analysis.
On the basis of the above embodiments, in some embodiments of this specification, it can also be called and be joined according to the context
Several business scenarios corresponding with context data management call request, after being processed to the context data that needs return
It returns again to.
In the specific implementation process, it is corresponding can to manage call request with context data for context data managing device
Business scenario, the context data that returns of needs is processed accordingly, the context data after processing is returned to pair
The system answered.Such as: in the case where supervising scene, certain data need to carry out the Semantic Processing under supervision scene, context data pipe
Rain Semantic Processing can be carried out for data by managing device, returned after processing, to facilitate the system identification in distributed system, added
Fast access speed.Alternatively, context data managing device can be by one month if system needs to access one month gross sales amount
Gross sales amount calculate after return again to.The concrete mode of data mart modeling can be selected according to the actual situation, and this specification is real
Example is applied to be not especially limited.
Fig. 2 is the interaction flow signal of context data management method in distributed system in this specification one embodiment
Figure, as shown in Fig. 2, in this specification one embodiment in distributed system include 3 systems, system A, system B, system C,
Middle system A is source system, and can also direct a factory including context parameters in distributed system can be understood as this specification
Context data managing device in embodiment.Number in Fig. 2 can indicate the step of context data management in an example
Suddenly, may be inconsistent with step sequence given below, it is hereinafter the recapitulative process for introducing context data management.
It is introduced below with reference to way to manage of the Fig. 2 to the context data in this specification embodiment:
1, a centralized context parameters are provided in this specification embodiment to direct a factory i.e. context data pipe
Device is managed, whole management actions of context parameters, including generation, inquiry, modification, deletion, permission isolation and difference are responsible for
Semantical definition etc. under semantic environment.
As shown in Fig. 2, source system, that is, system A calling context parameters direct a factory, a newly-built example is created up and down
Literary data set, context data collection include example number i.e. example ID (IDentity), by unified example ID in not homologous ray
Between transmitted and managed.As shown in Fig. 2, system A can be by initiating a service request such as: payment request is called up and down
Literary parameter management factory creates an example, may include the context data of initialization in example.
2, context parameters, which direct a factory, can create an example according to request, and by the example persistence of creation.
3, context parameters, which direct a factory, can first define the access isolated area that not homologous ray is able to access that, according to access
Permission carries out parameter isolation, only has the system of corresponding authority that could access the parameter of corresponding authority.
4, context parameters, which direct a factory, can also control update and the deletion permission i.e. data administration authority of not homologous ray,
The data management rule of not homologous ray is set, the maloperation of parameter is avoided.
Context parameters direct a factory can also different access permission according to scene because of sub-definite same system, such as:
The lower accessible data key1 of system A of scene 1, but the lower system A of scene 2 cannot access data key1.Do not illustrate in Fig. 2
Out.
5, as shown in Fig. 2, generating example ID, context parameters direct a factory can be by example ID after the completion of example creation
System A is returned to, downstream system transmits example ID to system A.Down-stream system is according to example ID to corresponding example, that is, context
Data in data set such as are called, update or delete at the management.
6, context parameters, which direct a factory, will record whole calling records, and need to return accordingly according to calling
Value, for example in the case where supervising scene, certain values need to carry out the Semantic Processing under supervision scene, are returned after processing.
As shown in Fig. 2, system B can send context call parameters to context parameter management factory, will need to read
Context parameters be sent to context parameters and direct a factory.Context parameters direct a factory the isolated area according to belonging to system B,
Return to the access parameter that can be returned.System C can send context call parameters to context parameter management factory, will need
The context parameters of update are sent to context parameter management factory, and context parameters direct a factory corresponding according to system C
Access authority (determining isolated area belonging to system C) and data administration authority, are updated the parameter that can be updated.Such as figure
Shown in 2, system C can send context call parameters to context parameter management factory with system C, by need to delete
Context parameters are sent to context parameter management factory, and context parameters direct a factory according to the corresponding access right of system C
Limit (determining isolated area belonging to system C) and data administration authority, delete the parameter that can be deleted.
It should be noted that the context data managing device in this specification embodiment can be in distributed system
One terminal can be a stand-alone terminal outside distributed system, can specifically be configured according to actual needs, this explanation
Book embodiment is not especially limited.
This specification embodiment carries out the context data of distributed system by setting context data managing device
Centralized management may be implemented the isolation of parameter permission, administration authority control of context data etc., avoid maloperation, improve number
According to the accuracy of management.And it is possible to which the access authority of each system is arranged according to business scenario, the scene of data management is realized
Change, can also realize the service condition of Full-Distributed System link retrospect parameter, realize the data management of distributed system
Centralization, fining.
Various embodiments are described in a progressive manner for the above method in this specification, identical between each embodiment
Similar part is participated in mutually, and each embodiment focuses on the differences from other embodiments.Correlation
Locate the part explanation of mothed of participating embodiment.
Based on context data management method in distributed system described above, this specification one or more embodiment
Context data managing device in a kind of distributed system is also provided.The device may include having used this specification implementation
The example system (including distributed system) of the method, software (application), module, component, server, client etc. and in conjunction with must
The device for the implementation hardware wanted.Based on same innovation thinking, in one or more embodiments that this specification embodiment provides
Device is as described in the following examples.Since the implementation that device solves the problems, such as is similar to method, this specification is implemented
The implementation of the specific device of example can participate in the implementation of preceding method, and overlaps will not be repeated.It is used below, term
The combination of the software and/or hardware of predetermined function may be implemented in " unit " or " module ".Although described in following embodiment
Device is preferably realized with software, but the realization of the combination of hardware or software and hardware is also that may and be contemplated.
Specifically, Fig. 3 is context data managing device one embodiment in the distributed system of this specification offer
Modular structure schematic diagram, as shown in figure 3, context data managing device can wrap in the distributed system provided in this specification
It includes: request receiving module 31, example creation module 32, example number return module 33, data management module 34, in which:
Request receiving module 31 can be used for receiving the context data management that the source system in distributed system is sent
Call request;
Example creation module 32 can be used for managing call request according to the context data, create context data
Collection;
Example number return module 33 can be used for returning to the corresponding example number of the context data collection described
Source system, so that the source system passes down-stream system of the example number into the distributed system
It passs;
Data management module 34 can be used for receiving the context call parameters that the down-stream system returns, and according to institute
Context call parameters are stated, the context data concentrated to the context data is managed, described to the context number
Be managed according to the context data of concentration include: return to corresponding context data or corresponding context data is updated or
Corresponding context data is deleted.
Context data managing device in the distributed system that this specification embodiment provides, by the way that context data is arranged
Managing device, each system in distributed system can be sent up and down to context data managing device according to their own needs
Literary call parameters, context data managing device then based on context call parameters, carry out corresponding context data corresponding
Management, such as: return to corresponding context data, delete corresponding context data and update corresponding context data.It is real
Show being used context data and being managed for global unification, improves the standard of context data management in distributed system
True property, reasonability and flexibility.The calling managing context data in data transfer are avoided, cause to call in link
System errors use, other upstream and downstream systems can not perceive, and data is caused the problem of mistake occur.
On the basis of the above embodiments, the example creation module is specifically used for:
It is described that call request is managed according to the context data, create context data collection, comprising:
According to the access authority of each system in the distributed system, accessed in the context data concentrated setting
Isolated area;
Correspondingly, the data management module is specifically used for:
According to the context call parameters and the corresponding access authority of the down-stream system, the down-stream system pair is obtained
The access isolated area answered is managed corresponding context data according to the access isolated area.
This specification embodiment, by setting access isolated area, can by the access authority of different context datas into
Row isolation, the only system with access authority can just access, and improve the confidentiality and privacy of data.
On the basis of the above embodiments, the example creation module is specifically used for:
According to the data administration authority of each system in the distributed system, be arranged each system to the context
The data management rule of context data in data set;
Correspondingly, the data management module is specifically used for:
According to the corresponding data administration authority of the down-stream system, advised according to the corresponding data management of the down-stream system
Then, the corresponding context data of context call parameters described in the context data collection is managed.
This specification embodiment is realized by the way that the data management of homologous ray is not regular in setting distributed system to difference
The data administration authority of system is controlled, and the maloperation of context data is avoided, and improves the accuracy of data management.
On the basis of the above embodiments, the example creation module is specifically used for:
The corresponding business scenario of call request is managed according to the context data, is arranged in the distributed system and is respectively
The access authority for the context data that system concentrates the context data;
Correspondingly, the data management module is specifically used for:
According to the business scenario, the corresponding access authority of the down-stream system is determined;
According to the access authority and the context call parameters, corresponding context is concentrated to the context data
Data are managed.
This specification embodiment, by the way that the access authority of system in distributed system is arranged according to different business scenarios,
It avoids in particular service scene, the data that cannot be accessed are accessed in system, cause data leak or data maloperation etc., improve
The accuracy of data management, reliability and privacy.
On the basis of the above embodiments, the data management module is also used to:
Record the management record for the context data that each system concentrates the context data in the distributed system.
This specification embodiment, by being recorded and saved to management, centralized and unifiedization management of the realization to context data,
Realize the service condition of Full-Distributed System link retrospect parameter, the inquiry for facilitating follow-up data management to record or error in data are fixed
Position analysis.
It should be noted that device described above can also include other embodiment party according to the description of embodiment of the method
Formula.Concrete implementation mode is referred to the description of above-mentioned embodiment of the method, does not repeat one by one herein.
This specification embodiment also provides context data management processing equipment in a kind of distributed system, comprising: at least
One processor and memory for storage processor executable instruction, the processor are realized when executing described instruction
Context data management method in the distributed system of embodiment is stated, such as:
It receives the context data that the source system in distributed system is sent and manages call request;
Call request is managed according to the context data, creates context data collection;
The corresponding example number of the context data collection is returned into the source system, so that the source system
Down-stream system of the example number into the distributed system is transmitted;
The context call parameters that the down-stream system returns are received, and according to the context call parameters, to described
The context data that context data is concentrated is managed, and the context data concentrated to the context data carries out pipe
Reason includes: to return to corresponding context data or update corresponding context data or delete corresponding context data.
It should be noted that processing equipment described above can also include other implement according to the description of embodiment of the method
Mode.Concrete implementation mode is referred to the description of related method embodiment, does not repeat one by one herein.
This specification embodiment additionally provides context data management system in a kind of distributed system, comprising: source system
System, at least one down-stream system, context management system;
The source system, which is used to send context data to the hereafter management system, manages call request;
The context management system is used to call creation context data collection according to the context data management, and will
The corresponding example number of the context data collection returns to the source system;
The source system is for transmitting the example number to the down-stream system;
The down-stream system, which is used to send context to the context management system according to the example number, calls ginseng
Number;
The example number and context call parameters that the context management system is returned according to the down-stream system, to right
The management for the context data that the context data answered is concentrated.
Wherein, the context data managing device and context parameters recorded in context management system, that is, above-described embodiment
It directs a factory, the method that can execute above-described embodiment record carries out the management of context data.
Context data management system in the distributed system that this specification provides can also be applied and be analyzed in a variety of data
In processing system.The system may include that context data management fills in any one distributed system in above-described embodiment
It sets.The system can be individual server, also may include the one or more the methods for having used this specification
Or server cluster, system (including distributed system), software (application), the practical operation dress of one or more embodiment devices
It sets, logic gates device, quantum computer etc. and combine the necessary terminal installation for implementing hardware.The verification variance data
Detection system may include at least one processor and the memory for storing computer executable instructions, the processor holds
The step of method described in above-mentioned any one or multiple embodiments is realized when row described instruction.
Embodiment of the method provided by this specification embodiment can mobile terminal, terminal, server or
It is executed in similar arithmetic unit.For running on the server, Fig. 4 is a kind of distributed system in this specification embodiment
The hardware block diagram of middle context data management server, the server can be in the distributed system in above-described embodiment
Context data management system in context data managing device or distributed system.As shown in figure 4, server 10 may include
(processor 100 can include but is not limited to Micro-processor MCV or can one or more (one is only shown in figure) processors 100
The processing unit of programmed logic device FPGA etc.), memory 200 for storing data and the transmission for communication function
Module 300.This neighborhood those of ordinary skill is appreciated that structure shown in Fig. 4 is only to illustrate, not to above-mentioned electronic device
Structure cause to limit.For example, server 10 may also include the more or less component than shown in Fig. 4, such as can be with
Hardware are handled including others, such as database or multi-level buffer, GPU, or with the configuration different from shown in Fig. 4.
Memory 200 can be used for storing the software program and module of application software, such as point in this specification embodiment
Corresponding program instruction/the module of context data management method in cloth system, processor 100 are stored in memory by operation
Software program and module in 200, thereby executing various function application and data processing.Memory 200 may include high speed
Random access memory may also include nonvolatile memory, such as one or more magnetic storage device, flash memory or other are non-
Volatile solid-state.In some instances, memory 200 can further comprise remotely located relative to processor 100
Memory, these remote memories can pass through network connection to terminal.The example of above-mentioned network includes but is not limited to
Internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmission module 300 is used to that data to be received or sent via a network.Above-mentioned network specific example may include
The wireless network that the communication providers of terminal provide.In an example, transmission module 300 includes a Network adaptation
Device (Network Interface Controller, NIC), can be connected by base station with other network equipments so as to it is mutual
Networking is communicated.In an example, transmission module 300 can be radio frequency (Radio Frequency, RF) module, use
In wirelessly being communicated with internet.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims
It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment
It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable
Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can
With or may be advantageous.
Method or apparatus described in above-described embodiment that this specification provides can realize that business is patrolled by computer program
It collects and records on a storage medium, the storage medium can be read and be executed with computer, realize this specification embodiment institute
The effect of description scheme.
The storage medium may include the physical unit for storing information, usually by after information digitalization again with benefit
The media of the modes such as electricity consumption, magnetic or optics are stored.It may include: that letter is stored in the way of electric energy that the storage medium, which has,
The device of breath such as, various memory, such as RAM, ROM;The device of information is stored in the way of magnetic energy such as, hard disk, floppy disk, magnetic
Band, core memory, magnetic bubble memory, USB flash disk;Using optical mode storage information device such as, CD or DVD.Certainly, there are also it
Readable storage medium storing program for executing of his mode, such as quantum memory, graphene memory etc..
Context data management method or device can counted in the above-mentioned distributed system that this specification embodiment provides
Corresponding program instruction is executed to realize, such as using the c++ language of windows operating system in the end PC reality by processor in calculation machine
Existing, Linux system is realized or other are for example realized using android, iOS system programming language in intelligent terminal, and
Processing logic realization based on quantum computer etc..
It should be noted that specification device described above, computer storage medium, system are implemented according to correlation technique
The description of example can also include other embodiments, and concrete implementation mode is referred to the description of corresponding method embodiment,
It does not repeat one by one herein.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Divide and participate in mutually, each embodiment focuses on the differences from other embodiments.Especially for hardware+
For program class embodiment, since it is substantially similar to the method embodiment, so being described relatively simple, related place acceding party
The part of method embodiment illustrates.
This specification embodiment is not limited to meet industry communication standard, standard computer data processing sum number
According to situation described in storage rule or this specification one or more embodiment.The right way of conduct is made in certain professional standards or use by oneself
In formula or the practice processes of embodiment description embodiment modified slightly also may be implemented above-described embodiment it is identical, it is equivalent or
The implementation result being anticipated that after close or deformation.Using these modifications or deformed data acquisition, storage, judgement, processing side
The embodiment of the acquisitions such as formula still may belong within the scope of the optional embodiment of this specification embodiment.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So
And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker
Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " is patrolled
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer
This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages,
The hardware circuit for realizing the logical method process can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can
Read medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and insertion microcontroller, the example of controller includes but is not limited to following microcontroller
Device: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320 are deposited
Memory controller is also implemented as a part of the control logic of memory.It is also known in the art that in addition to
Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic
Controller is obtained to come in fact in the form of logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc.
Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it
The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions
For either the software module of implementation method can be the structure in hardware component again.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, vehicle-mounted human-computer interaction device, cellular phone, camera phone, smart phone, individual
Digital assistants, media player, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or
The combination of any equipment in these equipment of person.
Although this specification one or more embodiment provides the method operating procedure as described in embodiment or flow chart,
It but may include more or less operating procedure based on conventional or without creativeness means.The step of being enumerated in embodiment
Sequence is only one of numerous step execution sequence mode, does not represent and unique executes sequence.Device in practice or
When end product executes, can be executed according to embodiment or the execution of method shown in the drawings sequence or parallel (such as it is parallel
The environment of processor or multiple threads, even distributed data processing environment).The terms "include", "comprise" or its
Any other variant is intended to non-exclusive inclusion so that include the process, methods of a series of elements, product or
Equipment not only includes those elements, but also including other elements that are not explicitly listed, or further include for this process,
Method, product or the intrinsic element of equipment.In the absence of more restrictions, being not precluded is including the element
There is also other identical or equivalent elements in process, method, product or equipment.The first, the second equal words are used to indicate name
Claim, and does not indicate any particular order.
For convenience of description, it is divided into various modules when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each module can be realized in the same or multiple software and or hardware when specification one or more, it can also be with
The module for realizing same function is realized by the combination of multiple submodule or subelement etc..Installation practice described above is only
It is only illustrative, for example, in addition the division of the unit, only a kind of logical function partition can have in actual implementation
Division mode, such as multiple units or components can be combined or can be integrated into another system or some features can be with
Ignore, or does not execute.Another point, shown or discussed mutual coupling, direct-coupling or communication connection can be logical
Some interfaces are crossed, the indirect coupling or communication connection of device or unit can be electrical property, mechanical or other forms.
The present invention be referring to according to the method for the embodiment of the present invention, the process of device (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage, graphene stores or other
Magnetic storage device or any other non-transmission medium, can be used for storage can be accessed by a computing device information.According to herein
In define, computer-readable medium does not include temporary computer readable media (transitory media), such as the data of modulation
Signal and carrier wave.
It will be understood by those skilled in the art that this specification one or more embodiment can provide as method, system or calculating
Machine program product.Therefore, this specification one or more embodiment can be used complete hardware embodiment, complete software embodiment or
The form of embodiment combining software and hardware aspects.Moreover, this specification one or more embodiment can be used at one or
It is multiple wherein include computer usable program code computer-usable storage medium (including but not limited to magnetic disk storage,
CD-ROM, optical memory etc.) on the form of computer program product implemented.
This specification one or more embodiment can computer executable instructions it is general on
It hereinafter describes, such as program module.Generally, program module includes executing particular task or realization particular abstract data type
Routine, programs, objects, component, data structure etc..This this specification one can also be practiced in a distributed computing environment
Or multiple embodiments, in these distributed computing environments, by being held by the connected remote processing devices of communication network
Row task.In a distributed computing environment, program module can be located at the local and remote computer including storage equipment
In storage medium.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Divide and participate in mutually, each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place mothed of participating embodiment
Part explanation.In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ",
The description of " specific example " or " some examples " etc. means specific features described in conjunction with this embodiment or example, structure, material
Or feature is contained at least one embodiment or example of this specification.In the present specification, to the signal of above-mentioned term
Property statement be necessarily directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described
It may be combined in any suitable manner in any one or more of the embodiments or examples.In addition, without conflicting with each other, this
The technical staff in field can be by the spy of different embodiments or examples described in this specification and different embodiments or examples
Sign is combined.
The foregoing is merely the embodiments of this specification one or more embodiment, are not limited to this specification
One or more embodiments.To those skilled in the art, this specification one or more embodiment can have it is various more
Change and changes.All spirit in this specification and any modification, equivalent replacement, improvement and so within principle should all include
Within scope of the claims.