Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
Configuration and synchronization method between distributed type assemblies node provided by the present application based on operation log can be applied to such as figure
In application environment shown in 1.Client 102 is communicated with cluster 104 by network by network.Wherein, terminal 102 can be with
But be not limited to various personal computers, laptop, smart phone and tablet computer etc., cluster 104 is by multiple services
The server cluster of device composition, including host node 106 and multiple from node 108.106 points of reception clients of main section in cluster 104
After the configuring request that end 102 is initiated, the configuring request is responded, processing is updated.After update is disposed, host node 106
Processing generation more new logo is updated according to corresponding, then configuring request and more new logo are configured in storage server 110, then by
Configuring request and more new logo are synchronized to the slave node 108 of cluster by configuration storage server 110.
In one embodiment, as shown in Fig. 2, being configured between providing a kind of distributed type assemblies node based on operation log
Synchronous method, in this way be applied to Fig. 1 in cluster in host node for be illustrated, comprising the following steps:
S202 receives the configuring request that client is initiated.
Specifically, host node in cluster receives the configuring request that client is initiated, wherein cluster includes host node and more
It is a to can also be used as host node use from node, while from node, that is to say, that the node in cluster is either host node
It can be from node, but cannot occur simultaneously as host node or simultaneously as from the state of node.
Wherein, it when configuring request indicates that client needs to be updated configuration, needs to carry out configuration update to cluster sending
Request, updated including data and configuration associated with the data update etc., can be specifically divided into data and update request and configuration
Update request.
S204, respond are updated processing.
Specifically, after the host node in cluster receives the configuring request that client is initiated, the configuring request is responded, and execute
Update processing operation corresponding with configuring request.Wherein, host node is one in numerous nodes in cluster.
Wherein, the structure of configuration is typically all Key=Value form, and Key represents configuration name, and Value represents the configuration
Value.Comparison between configuration is divided into following three kinds:
1) have in the configuration received, and the Key that the configuration being locally stored is no, Key=Value is added from node pair
In the configuration answered.
2) Key having in the configuration for not having in the configuration received, and being locally stored, by this Key from being locally stored
It is deleted in configuration.
3) have in the configuration received, the Key also having in the configuration being locally stored, but Value is different, by this
Value value in the configuration of ground storage is updated to the value of Value in the new configuration received.
In the present embodiment, when the data that host node receives client initiation update request, host node will be read
Data update status be compared with the data of itself, when the data read are newly when the data of itself, by itself
Data are updated to read data.
When host node, which receives configuration, updates request, read due to the configuration more news that data update and generate,
And be compared the configuration with the configuration of itself, when what is read configures newly when the configuration of itself, by the configuration of itself
It is updated to read configuration.
S206 after update is disposed, generates more new logo.
Specifically, after host node updates the data of itself and configuration, more new logo is generated.Wherein, mark is updated
Knowledge is for judging whether node updates the mark finished.It specifically can be simple " Y " mark and " N " mark, " Y " mark
Knowing indicates that the node updates finish, and is updated after the case where finishing indicates the node respond herein, to data and
Configuration is updated processing operation, completes configuration and updates, can also be the data for indicating the node and configuration be it is newest,
The case where being updated again is not needed." N " mark indicates that the node does not update, and more news can be expressed as out herein
Existing loss of data etc. updates failure and leads to not complete to update.
More new logo can also be the operation note sequence number for recording configuring request, that is, update the flowing water of operation
Number.Specifically, each configuring request has the time of request and the difference of content, and the serial number for updating operation is updated for recording
The time of operation will record this time and update the serial number of operation after the completion of updating operation, then will not if updating failure
Record.Therefore it can also judge whether the update operation of corresponding node succeeds by updating the serial number of operation.
Configuring request and more new logo are sent in configuration storage server, will be matched by configuration storage server by S208
It sets request and more new logo is synchronized to other nodes of cluster.
Wherein, configuration storage service is the simple storage server for being used to storage configuration name and Configuration Values, is had
Memory can be lesser storage and be also possible to very big memory space, is different from general server, is for storage configuration
Request and this specific target of more new logo and design.
Specifically, configuring request and more new logo are sent in configuration storage server by host node, configure storage service
Device is that the configuring request received and more new logo divide memory space, and each configuring request and corresponding more new logo are stored in
Different memory spaces, and according to the newness degree of received configuring request and more new logo arranged.
Configuration storage server provides subscription function, in addition to the node as host node, other nodes in cluster, i.e.,
Each update message that configuration storage server can be all subscribed to from node, configuration storage server can will be matched by update message
Set other nodes that request and more new logo are synchronized in cluster.
Between the above-mentioned distributed type assemblies node based on operation log in configuration and synchronization method, the host node in cluster passes through sound
Answer client initiate configuring request can realize real-time update configure, and be recorded in configuration storage server in configuring request and
More new logo can be synchronized to other nodes in cluster, therefore can realize that each node in cluster is based on operation log and is configured more
New function, rather than be updated based on specific configuration data, it avoids duplicate configuration data and compares, reduce update
Cost.
In one embodiment, the step of updating after being disposed, generating more new logo, comprising: after update is disposed,
Serial number corresponding with configuring request is generated, more new logo includes serial number.
Specifically, after host node update is disposed, serial number corresponding with configuring request is generated, more new logo includes
Serial number corresponding with configuring request, wherein more new logo can be used for judging whether the node is completed to update operation.Namely
Say, more new logo includes serial number corresponding with configuring request or operation note sequence number, further include simple " Y " mark and
" N " mark etc..
The sequence number of operation note is in serial number corresponding with configuring request in other words in one of the embodiments,
Monotonic increase state can be ranked up according to the size of serial number and be sent in configuration storage server, so as to incite somebody to action
Newest configuring request and more new logo are synchronized to other nodes in cluster, other nodes are without individually reading each configuring request
And it updates mark, need to only be read as the configuring request of newest serial number, saves and updates cost.
In another embodiment, as shown in figure 3, matching between providing a kind of distributed type assemblies node based on operation log
Synchronous method is set, is illustrated for the host node in cluster being applied in Fig. 1 in this way, further comprising the steps of:
S302 carries out snapshot to current configuring request and more new logo when reaching the preset condition of triggering snapshot.
Wherein, snapshot refers to that a completely available copy about specified data acquisition system, the copy include that corresponding data exists
The image at some time point copies the image at the time point of beginning.Its act on mainly be able to carry out online data backup with
Restore.Quick data recovery can be carried out when storing equipment and application failure or file corruption occurring, data are restored certain
The state at a available time point.Its another effect is to provide another data access channel for storage user, works as original
When data carry out application on site processing, the accessible snapshot data of user can also carry out the work such as testing using snapshot.
Specifically, the preset condition for triggering snapshot includes when the corresponding serial number of configuring request has reached snapshot threshold value N
Integral multiple, N take positive integer.When N takes 10, when serial number be 10,20 or 30 etc. be 10 integral multiple natural number when, that is, trigger
Snapshot.Triggering snapshot indicates that host node carries out snapshot to current configuring request and more new logo, obtains corresponding snapshot copy.
S304, by snapshot storage into configuration management server.
Specifically, configuration management server is the component independently disposed, and provides corresponding configuration admin service, main section
The snapshot of configuring request and more new logo is sent in configuration management server by point, the slave node that does not update for a long time or is newly added
The slave node entered obtains snapshot from configuration management server, and configuring request is obtained from snapshot, is asked according to corresponding configuration
It asks and is updated operation.It is fast reaching triggering between the above-mentioned distributed type assemblies node based on operation log in configuration and synchronization method
According to preset condition, that is, serial number reach the integral multiple of snapshot threshold value when, host node will be to current configuring request and more new logo
Snapshot is carried out, and the snapshot is stored in configuration admin service, so that node that is not online or being newly added long-term in cluster is direct
After reading the snapshot in configuration admin service, operation is directly updated according to corresponding content, without reading each node
Complete configuration is simultaneously compared, and reduces and updates operation spent time.
In one embodiment, as shown in figure 4, being configured between providing a kind of distributed type assemblies node based on operation log
Synchronous method, in this way be applied to Fig. 1 in cluster in slave node for be illustrated, comprising the following steps:
S402 receives the update message of configuration storage server, and update message includes configuring request and more new logo.
Specifically, configuration storage server, which provides, subscribes to function, other nodes in cluster in addition to host node, which are subscribed to, matches
Set the update message of storage server.After receiving the update message that configuration server is sent from node, update message is read
In include configuring request and more new logo.
Wherein, configuring request be the logarithm that is sent to host node of client accordingly and the request that is updated of relevant configuration,
For more new logo for determining whether host node is updated operation, more new logo can be serial number corresponding with configuring request,
For recording the time of configuring request.
The more new logo received is compared by S404 with the more new logo being locally stored.
Specifically, more new logo after reading the more new logo in update message from node, with node itself storage
It is compared, and obtains the newly all configuring requests and more new logo in the more new logo being locally stored from update message.
Since more new logo includes serial number corresponding with configuring request, and serial number is in the state of monotonic increase, because
This can judge the new and old of corresponding more new logo by comparing the size of serial number, and judge the new and old of configuring request.
S406, if the more new logo received is updated newly in the more new logo being locally stored according to configuring request
Processing.
Specifically, when the serial number included by the more new logo received is greater than the serial number being locally stored, from update
Obtain serial number in message and be greater than the corresponding configuring request of serial number that is locally stored, and according to corresponding configuring request, to from
The configuration of node itself and data are updated processing.
Wherein, if the serial number that the more new logo being locally stored includes is more than or equal to the serial number received,
Update operation without the configuration being locally stored.
Configuration and synchronization method between the above-mentioned distributed type assemblies node based on operation log, applied to the slave node in cluster,
The configuration stored from node itself can be updated by receiving the update message that configuration storage server is sent.Without
When there is data update every time, each node in cluster carries out configuration update simultaneously, and configuration service need to be only read from node
Update message in device, and judge whether to need to be updated according to the more new logo in update message, the root if needing to update
It is executed according to corresponding configuring request and updates operation, reduce the time-consuming for updating operation, saved and update cost.
In one of the embodiments, after the step of being updated processing according to configuring request, further includes: according to connecing
The more new logo received updates the more new logo being locally stored.
Specifically, the more new logo received from node is from configuration storage server, wherein configuration management server
Middle storage be host node send configuring request and more new logo, from node pass through Subscriber in update message, and
The update message configuring request that includes and more new logo are read, when judging that received more new logo is newly locally stored in from node
More new logo when, processing is updated according to the received configuring request of institute, updates after being disposed, will also locally be deposited from node
The more new logo of storage is updated to received more new logo.
In a further embodiment, as shown in figure 5, matching between providing a kind of distributed type assemblies node based on operation log
Synchronous method is set, is illustrated for the slave node in cluster being applied in Fig. 1 in this way, further comprising the steps of:
S502, when according to the more new logo that receives and the more new logo being locally stored determine currently from node for a long time not more
When new, the snapshot in configuration management server is obtained.
Wherein, the slave node in the present embodiment is not updated point for a long time from node, can also be expressed as not online and recovery
Slave node, and the node of long-term not online recovery refers to more new logo that the node receives much newly in being locally stored more
It is believed that mark.
Specifically, when the more new logo that basis receives determines that current slave node is to grow with the more new logo being locally stored
Phase it is not online and restore node when, i.e., when the more new logo received is much newly when the more new logo being locally stored, currently
Snapshot is read from configuration management server from node.
S504 reads the configuring request in snapshot.
Wherein, in configuration management server snapshot is that current configuring request and more new logo copies host node
Obtained copy currently gets after obtaining snapshot in configuration management server from node, configuring request is obtained from snapshot, that is, is obtained
It takes and newest configuring request is identified as according to update.
S506 is updated processing according to configuring request.
Specifically, currently from node according to read configuring request, the configuration and update that are locally stored are updated
The configuration being locally stored and more new logo are updated to the configuration obtained from snapshot and update mark by processing.
It currently can also be the slave node being newly added from node in one of the embodiments, the slave node being newly added is not
It carried out updating operation, newest snapshot can be obtained from configuration management server, and obtain configuring request and more from snapshot
New logo is updated operation according to the configuring request, and using acquired more new logo as the more new logo being locally stored.
Configuration and synchronization method between the above-mentioned distributed type assemblies node based on operation log is applied to long-term not online in cluster
The slave node for restoring again or being newly added periodically carries out configuration snapshot, reduces calculation processing cost when operation log is reformed.
In one embodiment, as shown in fig. 6, being configured between providing a kind of distributed type assemblies node based on operation log
The timing diagram of synchronous method, method includes the following steps:
S602, client send configuring request to host node.
Specifically, it when client detects that data update, needs to be updated configuration, is configured to cluster sending
The configuring request of update.
S604, the configuring request that host node customer in response end is sent, is updated processing.
Body after the host node in cluster receives the configuring request that client is initiated, responds the configuring request, and execute with
The corresponding update processing operation of configuring request.
S606, host node is updated be disposed after, generate more new logo.
Specifically, after host node updates the data of itself and configuration, more new logo is generated.Wherein, mark is updated
Knowledge is for judging whether node updates the mark finished.
Configuring request and more new logo are sent in configuration storage server by S608, host node.
Received configuring request and more new logo are synchronized to the slave section in cluster by S610, configuration storage server
Point.
Specifically, each update message that configuration storage server is subscribed to from node, configuration storage server can pass through
Configuring request and more new logo are synchronized to other nodes in cluster by update message.S612, the update that will be received from node
It identifies and is compared with the more new logo being locally stored.
Specifically, more new logo after reading the more new logo in update message from node, with node itself storage
It is compared, and obtains the newly all configuring requests and more new logo in the more new logo being locally stored from update message.
S614 matches according to what is received when the more new logo received from node is newly when the more new logo being locally stored
It sets request and is updated processing.
Specifically, when the serial number included by the more new logo received is greater than the serial number being locally stored, from update
Obtain serial number in message and be greater than the corresponding configuring request of serial number that is locally stored, and according to corresponding configuring request, to from
The configuration of node itself and data are updated processing.
S616 updates the more new logo being locally stored from node according to the more new logo received.
In another embodiment, as shown in fig. 7, matching between providing a kind of distributed type assemblies node based on operation log
The timing diagram for setting synchronous method, applied to the slave node not updated for a long time in cluster, method includes the following steps:
S702, client send configuring request to host node.
S704, the configuring request that host node customer in response end is sent, is updated processing.
S706, host node is updated be disposed after, generate more new logo.
S708, host node carry out snapshot to current configuring request and more new logo.
Specifically, when reaching the preset condition of triggering snapshot, host node to current configuring request and more new logo into
Row snapshot.Wherein, the preset condition for triggering snapshot includes when the corresponding serial number of configuring request has reached the integer of snapshot threshold value N
Times, N takes positive integer.
Snapshot is sent in configuration management server by S710, host node.
S712, the slave node not updated for a long time obtain snapshot from configuration management server.
S714, the slave node not updated for a long time read the configuring request in snapshot.
S716 does not update point be updated processing from node according to the configuring request of acquisition for a long time.
Specifically, the slave node definition not updated for a long time is that the more new logo received is much newly locally stored in the node
More new logo, the node definition being newly added be never carried out update operation slave node.Host node is by configuring request and more
The snapshot of new logo is sent in configuration management server, and the slave node not updated for a long time or the slave node being newly added are from configuration
Snapshot is obtained in management server, and obtains configuring request from snapshot, and operation is updated according to corresponding configuring request.
It should be understood that although each step in the flow chart of Fig. 2-7 is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-7
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively
It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately
It executes.
In one embodiment, as shown in figure 8, being configured between providing a kind of distributed type assemblies node based on operation log
Synchronizing device, applied to the host node in cluster, which includes:
Configuring request receiving module 802, for receiving the configuring request of client initiation.
Specifically, the configuring request that client is initiated is received for the host node in cluster.Processing module 804 is updated, is used
In respond, it is updated processing.
Specifically, after the host node in cluster receives the configuring request that client is initiated, the configuring request is responded, and execute
Update processing operation corresponding with configuring request.
Identifier generation module 806 after being disposed for update, generates more new logo.
Specifically, after host node updates the data of itself and configuration, more new logo is generated.Wherein, mark is updated
Knowledge is for judging whether node updates the mark finished.Sending module 808 is updated, for sending out configuring request and more new logo
It send into configuration storage server, configuring request and more new logo is synchronized to other sections of cluster by configuration storage server
Point.
Specifically, configuring request and more new logo are sent in configuration storage server by host node, each to order from node
The update message of configuration storage server is read, configuration storage server can be by update message by configuring request and more new logo
Other nodes being synchronized in cluster.
It is configured in synchronizing device between the above-mentioned distributed type assemblies node based on operation log, the host node in cluster passes through sound
Answer client initiate configuring request can realize real-time update configure, and be recorded in configuration storage server in configuring request and
More new logo can be synchronized to other nodes in cluster, therefore can realize that each node in cluster is based on operation log and is configured more
New function, rather than be updated based on specific configuration data, it avoids duplicate configuration data and compares, reduce update
Cost.
In another embodiment, as shown in figure 9, matching between providing a kind of distributed type assemblies node based on operation log
Synchronizing device is set, applied to the host node in cluster, the device further include:
Snapshot module 902, for when reach triggering snapshot preset condition when, to current configuring request and more new logo
Carry out snapshot.
Specifically, the preset condition for triggering snapshot includes when the corresponding serial number of configuring request has reached snapshot threshold value N
Integral multiple, N take positive integer.Triggering snapshot indicates that host node carries out snapshot to current configuring request and more new logo.
Memory module 904, by snapshot storage into configuration management server.
Specifically, the snapshot of configuring request and more new logo is sent in configuration management server by host node, for a long time not
The slave node updated or the slave node being newly added obtain snapshot from configuration management server, and obtain configuration from snapshot and ask
It asks, operation is updated according to corresponding configuring request.
It is configured in synchronizing device between the above-mentioned distributed type assemblies node based on operation log, is reaching the default of triggering snapshot
When condition, that is, serial number reaches the integral multiple of snapshot threshold value, host node will carry out current configuring request and more new logo fast
According to, and the snapshot is stored in configuration admin service, match so that node that is not online or being newly added long-term in cluster is directly read
After setting the snapshot in management service, operation is directly updated according to corresponding content, without reading completely matching for each node
It sets and is compared, reduce and update operation spent time.
In one embodiment, as shown in Figure 10, it provides and matches between a kind of distributed type assemblies node based on operation log
Synchronizing device is set, applied to the slave node in cluster, which includes:
Update message receiving module 1002, for receiving the update message of configuration storage server, update message includes matching
Set request and more new logo.
Specifically, configuration storage server, which provides, subscribes to function, other nodes in cluster in addition to host node, which are subscribed to, matches
Set the update message of storage server.After receiving the update message that configuration server is sent from node, update message is read
In include configuring request and more new logo.
Comparison module 1004, the more new logo for that will receive are compared with the more new logo being locally stored.
Specifically, more new logo after reading the more new logo in update message from node, with node itself storage
It is compared, and obtains the newly all configuring requests and more new logo in the more new logo being locally stored from update message.
Configure update module 1006, if the more new logo received newly in the more new logo of storage, according to configuring request
It is updated processing.
Specifically, when the serial number included by the more new logo received is greater than the serial number being locally stored, from update
Obtain all serial numbers in message and be greater than the configuring request of serial number being locally stored, and according to corresponding configuring request, to from
The configuration of node itself and data are updated processing.
Synchronizing device is configured between the above-mentioned distributed type assemblies node based on operation log, applied to the slave node in cluster,
The configuration stored from node itself can be updated by receiving the update message that configuration storage server is sent.Without
When there is data update every time, each node in cluster carries out configuration update simultaneously, and configuration service need to be only read from node
Update message in device, and judge whether to need to be updated according to the more new logo in update message, the root if needing to update
It is executed according to corresponding configuring request and updates operation, reduce the time-consuming for updating operation, saved and update cost.
In another embodiment, synchronizing device is configured between a kind of distributed type assemblies node based on operation log, applied
Slave node in cluster, further includes:
Update module is identified, the more new logo being locally stored is updated according to the more new logo received.
Specifically, the more new logo received from node is from configuration storage server, wherein configuration management server
Middle storage be host node send configuring request and more new logo, from node pass through Subscriber in update message, and
The update message configuring request that includes and more new logo are read, when judging that received more new logo is newly locally stored in from node
More new logo when, processing is updated according to the received configuring request of institute, updates after being disposed, will also locally be deposited from node
The more new logo of storage is updated to received more new logo.
In a further embodiment, as shown in figure 11, it provides between a kind of distributed type assemblies node based on operation log
Synchronizing device is configured, applied to the slave node in cluster, the device further include:
Snapshot obtains module 1202, for obtaining when the more new logo received is newly when the more new logo being locally stored
Snapshot in configuration management server.
Specifically, the slave node in the present embodiment belongs to long-term not online and restores or new online from node, when connecing
The more new logo received is not online for a long time and restore or new online from node from matching newly when the more new logo being locally stored
It sets and reads snapshot in management server.Wherein, snapshot is that current configuring request and more new logo is copied host node
Copy.
Configuring request read module 1204, for reading the configuring request in snapshot.
Specifically, it is got from node after obtaining snapshot in configuration management server, configuring request is obtained from snapshot, that is, is obtained
It takes and newest configuring request is judged as according to more new logo.
Configuration updates processing module 1206, for being updated processing according to configuring request.
Specifically, from node according to read configuring request, processing is updated to the configuration and update that are locally stored,
The configuration being locally stored and more new logo are updated to the configuration obtained from snapshot and update mark.
Synchronizing device is configured between the above-mentioned distributed type assemblies node based on operation log, is applied to long-term not online in cluster
Restore again or new online from node, periodically carry out configuration snapshot, reduces calculation processing cost when operation log is reformed.
It may refer to above about the specific restriction for configuring synchronizing device between the distributed type assemblies node based on operation log
In restriction for configuration and synchronization method between the distributed type assemblies node based on operation log, details are not described herein.It is above-mentioned to be based on
Between the distributed type assemblies node of operation log configure synchronizing device in modules can fully or partially through software, hardware and
A combination thereof is realized.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also
Be stored in the memory in computer equipment in a software form, in order to which processor calls the above modules of execution corresponding
Operation.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction
Composition is shown in Fig.12.The computer equipment include by system bus connect processor, memory, network interface and
Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment
Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data
Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating
The network interface of machine equipment is used to communicate with external terminal by network connection.When the computer program is executed by processor with
Realize configuration and synchronization method between a kind of distributed type assemblies node based on operation log.
It will be understood by those skilled in the art that structure shown in Figure 12, only part relevant to application scheme
The block diagram of structure, does not constitute the restriction for the computer equipment being applied thereon to application scheme, and specific computer is set
Standby may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, processor perform the steps of when executing computer program
Receive the configuring request that client is initiated;
The configuring request is responded, processing is updated;
After the update is disposed, more new logo is generated;
The configuring request and more new logo are sent in configuration storage server, it will by the configuration storage server
The configuring request and more new logo are synchronized to other nodes of cluster.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of when being executed by processor
Receive the configuring request that client is initiated;
The configuring request is responded, processing is updated;
After the update is disposed, more new logo is generated;
The configuring request and more new logo are sent in configuration storage server, it will by the configuration storage server
The configuring request and more new logo are synchronized to other nodes of cluster.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.