Description and claims of this specification and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing
Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that
It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have
It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap
Include other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
Equipment in micro services system involved by the embodiment of the present application can be server, virtual machine, physical machine, cloud
Hold server etc..
It describes in detail below to the embodiment of the present application.
In order to be best understood from the data bank access method of the application, a kind of micro services system is disclosed first.Referring to Fig. 1,
Fig. 1 is a kind of structural schematic diagram of micro services system disclosed in the embodiment of the present application, as shown in Figure 1, the micro services system includes
Client 11, data base handling system 12 and database 13.Wherein, client 11 can be understood as program.User can be in visitor
Initiate on family end 11 to the service request of database, with realize some services (for example, data query service, data storage service,
Data modification service, data statistics service, data delete service etc.), after data base handling system 12 receives service request, when
When service request does not use default transport protocol, data base handling system 12 protocol parameter of service request can be converted to
The corresponding uniform protocol parameter of the default transport protocol, can support the service request of various protocols language.At database
After the protocol parameter of service request is converted to uniform protocol parameter corresponding with the default transport protocol by reason system 12, number
Corresponding database manipulation can be executed according to the type of service request according to library processing system 12.Client 11 may be mounted at hand
In the terminals such as machine.Data base handling system 12 and database 13 can be server, for example, can be distributed server.It should
Distributed server can be any one of virtual machine, physical machine, cloud server.
Based on micro services system shown in FIG. 1, the embodiment of the present application discloses a kind of data bank access method, referring to Fig. 2,
Fig. 2 is a kind of flow diagram of data bank access method disclosed in the embodiment of the present application, as shown in Fig. 2, the database access
Method includes the following steps.
201, data base handling system receives the service request that client is directed to database, and service request carries agreement ginseng
Number.
In the embodiment of the present application, the service request that client is sent to data base handling system can use Hyper text transfer
Agreement (Hyper Text Transfer Protocol, HTTP), can also use transmission control protocol (Transmission
Control Protocol, TCP), User Datagram Protocol (User Datagram Protocol, UDP) can also be used.Number
May include protocol adaptation module according to library processing system, the protocol adaptation module include Transmission Control Protocol interface, http protocol interface,
Udp protocol interface.Wherein, Transmission Control Protocol interface supports asynchronous message queue mode, and http protocol interface can be adapted to different
Programming language and the decoupling of specific business service.Protocol adaptation module transfers to data to grasp after can converting different protocol parameters
Make layer processing.
202, data base handling system determines whether service request uses default transport protocol according to protocol parameter.
203, if service request does not use default transport protocol, data base handling system turns the protocol parameter of service request
It is changed to uniform protocol parameter corresponding with default transport protocol.
In the embodiment of the present application, default transport protocol can be any one of http protocol, Transmission Control Protocol, udp protocol.
If service request does not use default transport protocol, data base handling system the protocol parameter of service request can be converted to
The corresponding uniform protocol parameter of default transport protocol.Data base handling system can be handled uniform protocol parameter.For
The protocol parameter of default transport protocol, data base handling system then can be handled directly.For non-default transport protocol
Protocol parameter, data base handling system then can not be handled directly (for example, parameter extraction, verification, parameter encapsulation, parameter lattice
Formula conversion etc.).For example, http protocol can be set by default transport protocol.
Wherein, protocol parameter may include: format/type of request content, request length, the client of body that can receive
Data type, client can support returned content compressed encoding type, the receivable language of client, whether keep with
The long connection of server indicates that request is field write with what language or frame etc..
In the embodiment of the present application, when service request does not use default transport protocol, the agreement of service request can be joined
Number is converted to uniform protocol parameter corresponding with the default transport protocol, so as to subsequent carry out parameter processing, can support more
The service request of kind protocol language.
Referring to Fig. 3, Fig. 3 is the flow diagram of another kind data bank access method disclosed in the embodiment of the present application, such as
Shown in Fig. 3, which includes the following steps.
301, data base handling system receives the service request that client is directed to database, and service request carries agreement ginseng
Number.
302, data base handling system determines whether service request uses default transport protocol according to protocol parameter.
303, if service request does not use default transport protocol, data base handling system turns the protocol parameter of service request
It is changed to uniform protocol parameter corresponding with default transport protocol.
Wherein, if the service request uses default transport protocol, directly execution step 304 to step 305.
It should be noted that the specific implementation of step 301 to step 303 in the embodiment of the present application may refer to Fig. 2 institute
The step 201 shown is to step 203, and details are not described herein again.
304, data base handling system carries out parameter extraction and parameter verification to uniform protocol parameter and other parameters, obtains
The request type of service request.
305, data base handling system executes database manipulation corresponding with request type to database according to request type.
In the embodiment of the present application, uniform protocol parameter is and protocol-dependent parameter.Other parameters are unrelated with agreement
Parameter, for example, time field, request type field, data field, Data Format fields etc..Due to including asking in other parameters
Type field is sought, parameter extraction and parameter verification, the request type of available service request are carried out to other parameters.
Wherein, the request type of service request may include saving data type, modification data type, deleting data class
Type, inquiry data type, statistical data type etc..Data base handling system executes database according to request type and requests class
The corresponding database manipulation of type, specifically:
If request type is to save data type, data base handling system executes database and saves data manipulation;
If request type is modification data type, data base handling system executes modification data manipulation to database;
If request type is to delete data type, data base handling system executes deletion data operation to database;
If request type is inquiry data type, data base handling system executes inquiry data manipulation to database;
If request type is statistical data type, data base handling system executes statistical data operation to database.
Optionally, data base handling system carries out parameter extraction and parameter verification to uniform protocol parameter and other parameters
Meanwhile data base handling system can also carry out parameter encapsulation to uniform protocol parameter and other parameters and format is converted.Data
Library processing system carries out parameter extraction, parameter verification, parameter encapsulation and format to uniform protocol parameter and other parameters and converts.Its
In, format conversion includes conversion, the conversion of integer real-coded GA etc. of time field.
In the embodiment of the present application, when service request does not use default transport protocol, the agreement of service request can be joined
Number is converted to uniform protocol parameter corresponding with the default transport protocol, carries out parameter to uniform protocol parameter and other parameters
Extraction and parameter verification, obtain the request type of service request, are executed according to request type to database corresponding with request type
Database manipulation, can support the service request of various protocols language, the database of a variety of request types can also be supported to grasp
Make.
Optionally, step 305 can specifically include following steps:
(11) if the type of service request is to save data type, the data that data base handling system carries service request
Deposit caching, is arranged the cache invalidation time;
(12) data that data base handling system carries service request are stored in database;
(13) it when not reaching the cache invalidation time, if the data that service request carries successfully are stored in database, reaches
When the cache invalidation time, data base handling system deletes the data that the service request in caching carries;
(14) when not reaching the cache invalidation time, if there is abnormal, number in the data deposit database that service request carries
The data that the service request in caching carries are deleted according to library processing system.
In the embodiment of the present application, if the type of service request is to save data type, service request carrying needs to save
Data, after data base handling system receives the service request, what which can be carried needs data to be saved
It is stored in the caching of the data base handling system, and the cache invalidation time is set.
Wherein, the caching in data base handling system can cache the number that the needs carried in various service requests save
According to the data base handling system can externally provide unified access interface, which can be compatible with different
Agreement shields language details, guarantees that different language can access.The data base handling system can also provide caching, can be right
The data of multiple services are cached in micro services system.The application can store general in the caching of data base handling system
Type data provide the storage solution of universal data under micro services system.
The cache invalidation time is set, and the data that can be carried to avoid service request occupy caching for a long time.Due to database
The service request quantity of processing system processing is larger, and the processing time for being assigned to each service request is limited, if one
A service request failure, then need to discharge caching in time.The embodiment of the present application can be in data base handling system by service request
When the data of carrying are stored in caching, the setting cache invalidation time (specifically, can by starting timer setting timing length,
And start timing).The cache invalidation time of setting, corresponding cache invalidation duration (that is, timing length) can be according to service request
Type, the size of data that carries of service request it is related.In general, the data that service request carries are bigger, the caching of setting
The duration that fails is longer.
When not reaching the cache invalidation time, if the data that service request carries successfully are stored in database, database processing
System can return to the successful notification message of service request, when reaching the cache invalidation time, database processing system to client
System deletes the data that the service request in caching carries, so as to discharge caching in time.When not reaching the cache invalidation time,
If exception occurs in the data deposit database that service request carries, data base handling system can return to service request to client
The notification message of failure, data base handling system deletes the data that the service request in caching carries, so as to discharge in time
Caching.
The embodiment of the present application can do the guarantee of things consistency to the data in the data and database in caching.Such as
Fruit is saved in failed database, then will be deleted the data in caching, if deleting or having modified the record of database, and right
If the record answered also saves in the buffer, corresponding deletion or update operation are also done.
Optionally, step 305 can specifically include following steps:
(21) if the type of service request is modification data type, the data that data base handling system carries service request
Deposit caching, is arranged the cache invalidation time;
(22) number of targets to be modified is needed in the data and database that data base handling system foundation service request carries
Data modification operation is executed according to database;
(23) if do not reach the cache invalidation time, if data modification operation runs succeeded, the cache invalidation time is reached
When, data base handling system deletes the data that the service request in caching carries;
(24) when not reaching the cache invalidation time, if data modification operation executes failure, data base handling system is deleted
The data that service request in caching carries.
In the embodiment of the present application, if the type of service request is modification data type, which carries the number of modification
It can be by the service after data base handling system receives the service request according to the mark with target data that need to be to be modified
The data that request carries are stored in the caching of the data base handling system, and the cache invalidation time is arranged.
Wherein, the caching in data base handling system can cache the number that the needs carried in various service requests are modified
According to.The cache invalidation time is set, and the data that can be carried to avoid service request occupy caching for a long time.Due to database processing system
Uniting, the service request quantity handled is larger, and the processing time for being assigned to each service request is limited, if a service
Request failure then needs to discharge caching in time.What the embodiment of the present application can carry service request in data base handling system
When data deposit caching, the setting cache invalidation time (specifically, can be by starting timer setting timing length, and start
Timing).The cache invalidation time of setting, corresponding cache invalidation duration (that is, timing length) can be according to the class of service request
The size of data that type, service request carry is related.In general, the data that service request carries are bigger, the cache invalidation of setting
Duration is longer.
Target data pair to be modified is needed in the data and database that data base handling system foundation service request carries
Database executes data modification operation.When not reaching the cache invalidation time, if data modification operation runs succeeded, at database
Reason system can return to the successful notification message of service request, when reaching the cache invalidation time, database processing to client
The data that service request in system-kill caching carries, so as to discharge caching in time.The cache invalidation time is not reached
When, if data modification operation executes failure, the notice that data base handling system can return to service request failure to client disappears
Breath, data base handling system deletes the data that the service request in caching carries, so as to discharge caching in time.
Optionally, step 305 can specifically include following steps:
(31) if the type of service request is to delete data type, data base handling system extracts to be deleted in database
Data;
(32) data to be deleted are stored in and cache by data base handling system, and the cache invalidation time is arranged;
(33) data base handling system carries out data delete operation to the data to be deleted in database;
(34) if data delete operation runs succeeded before reaching the cache invalidation time, when reaching the cache invalidation time,
Delete the data to be deleted in caching;
(35) when not reaching the cache invalidation time, if data delete operation executes failure, data base handling system will delay
Deletion data in depositing are newly stored into database.
In the embodiment of the present application, if the type of service request is to delete data type, service request carrying is needed wait delete
Except the mark of data, after data base handling system receives the service request, the data to be deleted in database can be extracted, it will
The data to be deleted are stored in the caching of the data base handling system, and the cache invalidation time is arranged.
Wherein, the caching in data base handling system can cache the number that the needs carried in various service requests are deleted
According to.The cache invalidation time is set, caching can be occupied for a long time to avoid data to be deleted.Due to data base handling system processing
Service request quantity is larger, and the processing time for being assigned to each service request is limited, if a service request failure,
It then needs to discharge caching in time.The embodiment of the present application can data base handling system by data to be deleted be stored in cache when, if
Set the cache invalidation time (specifically, can be by starting timer setting timing length, and start timing).The caching of setting loses
Imitating time corresponding cache invalidation duration (that is, timing length) can type, the size of data to be deleted according to service request
It is related.In general, data to be deleted are bigger, the cache invalidation duration of setting is longer.
Data base handling system carries out data delete operation to the data to be deleted in database.If reach cache invalidation
Between before data delete operation run succeeded, data base handling system can to client return service request successfully notify to disappear
Breath, when reaching the cache invalidation time, data base handling system deletes the data to be deleted in caching, so as to discharge in time
Caching.When not reaching the cache invalidation time, if data delete operation executes failure, data base handling system can will be in caching
Data to be deleted be newly stored into database, re-execute data delete operation;Data base handling system can also will be in caching
Data to be deleted delete, and to client return service request failure notification message.
Optionally, step 305 can specifically include following steps:
(41) if the type of service request is inquiry data type or statistical data type, data base handling system extracts number
According to the data to be checked or data to be counted in library;
(42) the cache invalidation time is arranged in data to be checked or data to be counted deposit caching by data base handling system;
(43) data base handling system carries out data query operation to the data to be checked in database or treats statistical number
According to progress data statistics operation;
(44) slow reaching if data query operation or data statistics operation run succeeded before reaching the cache invalidation time
When depositing the out-of-service time, the data to be checked or data to be counted in caching are deleted;
(45) when not reaching the cache invalidation time, if data query operation or data statistics operation execute failure, data
Library processing system deletes the data to be checked or data to be counted in caching.
In the embodiment of the present application, if the type of service request is that inquiry data type or statistical data type, the service are asked
The mark for carrying the mark or data to be counted that need data to be checked is sought, data base handling system receives the service request
Afterwards, the data to be checked or data to be counted in database can be extracted, it should by the data to be checked or data to be counted deposit
The caching of data base handling system, and the cache invalidation time is set.
Wherein, the caching in data base handling system can cache the needs inquiry carried in various service requests or needs
The data of statistics.The cache invalidation time is set, caching can be occupied for a long time to avoid data to be checked or data to be counted.Due to
The service request quantity of data base handling system processing is larger, and the processing time for being assigned to each service request is limited,
If a service request failure, needs to discharge caching in time.The embodiment of the present application can will be in data base handling system
Inquire data deposit caching when, setting the cache invalidation time (specifically, can by start timer setting timing length, and
Start timing).The cache invalidation time of setting, corresponding cache invalidation duration (that is, timing length) can be according to service request
Type, data to be checked or size of data to be counted are related.In general, data to be checked or data to be counted are bigger, setting
Cache invalidation duration it is longer.
Data base handling system in database data to be checked carry out data query operation or treat statistical data into
Line number operates according to statistics.If data query operation or data statistics operation run succeeded before reaching the cache invalidation time, data
Library processing system can return to the successful notification message of service request, when reaching the cache invalidation time, database to client
Processing system deletes the data to be checked or data to be counted in caching, so as to discharge caching in time.Caching is not reached
When the out-of-service time, if data query operation or data statistics operation execute failure, data base handling system can be returned to client
The notification message of service request failure is returned, data base handling system deletes the data to be checked or data to be counted in caching.
Optionally, Fig. 3 can also include the following steps:
(51) the identical inquiry of querying condition in received inquiry request in data base handling system statistics preset time period
The quantity of request;
(52) if the quantity of the identical inquiry request of querying condition is greater than or equal to the first preset quantity, and in database
Index corresponding with querying condition is not set up, data base handling system establishes index corresponding with querying condition in the database;
(53) if the quantity of the identical inquiry request of querying condition has been established less than the second preset quantity, and in database
Index corresponding with querying condition, data base handling system delete index corresponding with querying condition, and the first preset quantity is greater than
Second preset quantity.
In the embodiment of the present application, data base handling system needs to handle a large amount of service request, in service request
Inquiry request, the querying condition carried in the available inquiry request of data base handling system, if querying condition is in database
In establish corresponding index, then can directly be searched by indexing, can greatly improve data query in database
Efficiency.If not establishing index, and the querying condition utilization rate is lower, then data base handling system is directly according to inquiry item
Part is searched from database.
The embodiment of the present application can count in preset time period that the identical inquiry of querying condition is asked in received inquiry request
The quantity asked, wherein preset time period can be the past period, for example, one month, the past three months, past six in the past
A month, the past 1 year etc..Received inquiry request in preset time period, can be over a month received inquiry request, or
All inquiry requests of past 1 year received inquiry request or historical reception.The embodiment of the present application is without limitation.
Data base handling system may include index module, look into received inquiry request for counting in preset time period
The quantity of the identical inquiry request of inquiry condition, if the quantity of the identical inquiry request of querying condition is greater than the first preset quantity,
Then think that the querying condition is that focus inquiry condition counts if not setting up index corresponding with the querying condition in database
Establish index corresponding with the querying condition in the database according to library processing system;If had been established in database and the inquiry item
The corresponding index of part, then data base handling system can be inquired by the index.Wherein, which can also
With referred to as Data Storage And Retrieval System.
If the quantity of the identical inquiry request of querying condition is less than the second preset quantity, then it is assumed that the querying condition is cold
Door querying condition, if index corresponding with querying condition has been established in database, data base handling system is deleted and inquiry
The corresponding index of condition.
Wherein, the first preset quantity is greater than the second preset quantity.First preset quantity and the second preset quantity are ok
It is set and is stored in the memory (for example, nonvolatile memory) of data base handling system in advance.For example,
One preset quantity is 100, and the second preset quantity is 3.
In the embodiment of the present application, for no focus inquiry condition for establishing index, corresponding index can be automatically created,
So as to improve the corresponding efficiency data query of focus inquiry condition in database;Unexpected winner for having built up index is inquired
Condition can be automatically deleted corresponding index, and unnecessary index is avoided to occupy the index resource of database.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is understood that
, in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or software module for terminal.This
Field technical staff should be readily appreciated that, unit and algorithm described in conjunction with the examples disclosed in the embodiments of the present disclosure
Step, the present invention can be realized with the combining form of hardware or hardware and computer software.Some function actually with hardware also
It is the mode of computer software driving hardware to execute, the specific application and design constraint depending on technical solution.Profession
Technical staff can specifically realize described function to each using distinct methods, but this realization should not be recognized
It is beyond the scope of this invention.
The embodiment of the present application can carry out the division of functional unit according to above method example to terminal, for example, can be right
The each functional unit of each function division is answered, two or more functions can also be integrated in a processing unit.
Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.It needs
Illustrate, is schematical, only a kind of logical function partition to the division of unit in the embodiment of the present application, it is practical to realize
When there may be another division manner.
Referring to Fig. 4, Fig. 4 is a kind of structural schematic diagram of data base handling system disclosed in the embodiment of the present application.The number
It is applied to the micro services system of Fig. 1 according to library processing system, as shown in figure 4, the data base handling system 400 includes receiving unit
401, determination unit 402 and parameter conversion unit 403, in which:
Receiving unit 401, the service request for being directed to database for receiving client, service request carry protocol parameter;
Determination unit 402, for determining whether service request uses default transport protocol according to protocol parameter;
Parameter conversion unit 403, for will service when determination unit determines that service request does not use default transport protocol
The protocol parameter of request is converted to uniform protocol parameter corresponding with default transport protocol.
Optionally, which can also include parameter processing unit 404 and database operating unit
405。
Parameter processing unit 404 is obtained for carrying out parameter extraction and parameter verification to uniform protocol parameter and other parameters
To the request type of service request;
Database manipulation unit 405, for executing database corresponding with request type to database according to request type
Operation.
Optionally, database manipulation unit 405 executes data corresponding with request type to database according to request type
Library operation, specifically: if the type of service request is to save data type, the data that service request is carried are stored in caching, if
Set the cache invalidation time;The data that service request is carried are stored in database;When not reaching the cache invalidation time, if service is asked
It asks the data of carrying to be successfully stored in database, when reaching the cache invalidation time, deletes the number that the service request in caching carries
According to;When not reaching the cache invalidation time, if exception occurs in the data deposit database that service request carries, delete in caching
The data that service request carries.
Optionally, database manipulation unit 405 executes data corresponding with request type to database according to request type
Library operation, specifically: if the type of service request is modification data type, the data that service request is carried are stored in caching, if
Set the cache invalidation time;Target data to be modified is needed to hold database in the data and database carried according to service request
Row data modification operation;If do not reach the cache invalidation time, if data modification operation runs succeeded, when reaching cache invalidation
Between when, delete caching in service request carry data;When not reaching the cache invalidation time, if data modification operation executes
The data that the service request in caching carries are deleted in failure.
Optionally, database manipulation unit 405 executes data corresponding with request type to database according to request type
Library operation, specifically: if the type of service request is to delete data type, extract the data to be deleted in database;It will be wait delete
It is cached except data are stored in, the cache invalidation time is set;Data delete operation is carried out to the data to be deleted in database;If reaching
Data delete operation runs succeeded before the cache invalidation time, when reaching the cache invalidation time, deletes to be deleted in caching
Data.
Optionally, database manipulation unit 405 executes data corresponding with request type to database according to request type
Library operation, specifically: if the type of service request is inquiry data type or statistical data type, extract to be checked in database
Ask data or data to be counted;By data to be checked or data to be counted deposit caching, the cache invalidation time is set;To database
In data to be checked carry out data query operation or treat statistical data carry out data statistics operation;If reach cache invalidation
Between before data query operation or data statistics operation run succeeded, when reaching the cache invalidation time, delete cache in
Inquire data or data to be counted;When not reaching the cache invalidation time, if data query operation or data statistics operation execute
Data to be checked or data to be counted in caching are deleted in failure.
Optionally, which can also include statistic unit 406, index creation unit 407, index
Delete unit 408.
Statistic unit 406, for counting, the identical inquiry of querying condition is asked in received inquiry request in preset time period
The quantity asked;
It is default to be greater than or equal to first for the quantity when the identical inquiry request of querying condition for index creation unit 407
Quantity, and when not setting up index corresponding with querying condition in database, it establishes in the database corresponding with querying condition
Index;
Index deletes unit 408, for the quantity when the identical inquiry request of querying condition less than the second preset quantity, and
And when index corresponding with querying condition having been established in database, index corresponding with querying condition, the first preset quantity are deleted
Greater than the second preset quantity.
Implement data base handling system shown in Fig. 4, when service request does not use default transport protocol, can will service
The protocol parameter of request is converted to uniform protocol parameter corresponding with the default transport protocol, at subsequent progress parameter
Reason, can support the service request of various protocols language.
Referring to Fig. 5, Fig. 5 is a kind of structural schematic diagram of database processing device disclosed in the embodiment of the present application.Such as Fig. 5
Shown, which includes processor 501 and memory 502, wherein database processing device 500 can be with
Including bus 503, processor 501 and memory 502 can be connected with each other by bus 503, and bus 503 can be external components
Interconnection standards (Peripheral Component Interconnect, abbreviation PCI) bus or expanding the industrial standard structure
(Extended Industry Standard Architecture, abbreviation EISA) bus etc..Bus 503 can be divided into address
Bus, data/address bus, control bus etc..Only to be indicated with a thick line in Fig. 5, it is not intended that only one convenient for indicating
Bus or a type of bus.Memory 502 is used to store one or more programs comprising instruction;Processor 501 is used for
Call the above-mentioned Fig. 2 of the instruction execution method and step some or all of into Fig. 3 being stored in memory 502.
Implement database processing device shown in fig. 5, when service request does not use default transport protocol, can will service
The protocol parameter of request is converted to uniform protocol parameter corresponding with the default transport protocol, at subsequent progress parameter
Reason, can support the service request of various protocols language.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity
The computer program of subdata exchange, it is as any in recorded in above method embodiment which execute computer
A kind of some or all of data bank access method step.
The embodiment of the present application also provides a kind of computer program product, which includes storing computer
The non-transient computer readable storage medium of program, the computer program are operable to execute computer as the above method is real
Apply some or all of any data bank access method recorded in example step.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because
According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention
It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way
It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of
Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit,
It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer-readable access to memory.Based on this understanding, technical solution of the present invention substantially or
Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products
Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment
(can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the present invention
Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory
The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory
May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English:
Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the present invention and
Embodiment is expounded, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas;
At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the present invention
There is change place, in conclusion the contents of this specification are not to be construed as limiting the invention.