Invention content
This specification embodiment provides service traffics distribution method, device and equipment, as follows for solving the problems, such as:To provide
A kind of more more effective service traffics allocation plan.
Based on this, this specification embodiment provides a kind of service traffics distribution method, including:
Service calling system sends service resources application and asks to service resource management system;
Receive the service resources information that service resource management system is returned, wherein the service resources information is at least wrapped
Include business unit address and business unit processing capacity corresponding with the business unit address;
Distribution no more than the business unit processing capacity service traffics to the business unit address.
Meanwhile the embodiment of this specification also provides another service traffics distribution method, including:
Service resource management system receives the service resources application request that service calling system is sent;
Service resources information is generated based on the resource pool being generated in advance, wherein the service resources information includes at least industry
Business element address and business unit processing capacity corresponding with the business unit address;
The service resources information is sent to the service calling system, so that service calling system is provided according to the business
Source information distributes service traffics.
Corresponding, this specification embodiment also provides a kind of service traffics distributor, including:
Application module is sent, service calling system sends service resources application and asks to service resource management system;
Receiving module receives the service resources information that service resource management system is returned, wherein the service resources letter
Breath includes at least business unit address and business unit processing capacity corresponding with the business unit address;
Assignment of traffic module, distribution are no more than the service traffics of the business unit processing capacity to the business unit
Location.
Meanwhile the embodiment of this specification also provides another service traffics distributor, including:
Receiving module, service resource management system receive the service resources application request that service calling system is sent;
Generation module generates service resources information, wherein the service resources information is extremely based on the resource pool being generated in advance
Include business unit address and business unit processing capacity corresponding with the business unit address less;
Sending module, sends the service resources information to the service calling system, so as to service calling system according to
The service resources information distribution services flow.
Corresponding, this specification embodiment also provides a kind of service traffics distributing equipment, including:
Memory is stored with service traffics distribution program;
Processor calls the service traffics distribution program in the memory, and executes:
Service calling system sends service resources application and asks to service resource management system;
Receive the service resources information that service resource management system is returned, wherein the service resources information is at least wrapped
Include business unit address and business unit processing capacity corresponding with the business unit address;
Distribution no more than the business unit processing capacity service traffics to the business unit address.
Meanwhile the embodiment of this specification also provides another service traffics distributing equipment, including:
Memory is stored with service traffics distribution program;
Processor calls the service traffics distribution program in the memory, and executes:
Service resource management system receives the service resources application request that service calling system is sent;
Service resources information is generated based on the resource pool being generated in advance, wherein the service resources information includes at least industry
Business element address and business unit processing capacity corresponding with the business unit address;
The service resources information is sent to the service calling system, so that service calling system is provided according to the business
Source information distributes service traffics.
Corresponding, the embodiment of this specification also provides a kind of nonvolatile computer storage media, is stored with computer
Executable instruction, the computer executable instructions are set as:
Service calling system sends service resources application and asks to service resource management system;
Receive the service resources information that service resource management system is returned, wherein the service resources information is at least wrapped
Include business unit address and business unit processing capacity corresponding with the business unit address;
Distribution no more than the business unit processing capacity service traffics to the business unit address.
Meanwhile the embodiment of this specification also provides another nonvolatile computer storage media, is stored with computer
Executable instruction, the computer executable instructions are set as:
Service resource management system receives the service resources application request that service calling system is sent;
Service resources information is generated based on the resource pool being generated in advance, wherein the service resources information includes at least industry
Business element address and business unit processing capacity corresponding with the business unit address;
The service resources information is sent to the service calling system, so that service calling system is provided according to the business
Source information distributes service traffics.
Above-mentioned at least one technical solution that this specification embodiment uses can reach following advantageous effect:
Each business unit synchronizes mutually the local business processing capacity that can be provided, and establishes resource pool, is supplied to industry
Business resource management center distribution.Service calling system is according to the demands of service traffics and local processing capacity to service resources pipe
Resource is applied at reason center, and flow control and routing are carried out according to the service resources that application obtains.So as to avoid business unit it
Between service traffics forwarding, improve business processing efficiency.In addition, can also meet the stream for the business unit that each is independently disposed
Demand for control is measured, the service traffics received is avoided to lead to service fail beyond the processing capacity of business unit.
Specific implementation mode
To keep the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and
Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one
Section Example, instead of all the embodiments.The embodiment of base in this manual, those of ordinary skill in the art are not having
The every other embodiment obtained under the premise of creative work is made, shall fall in the protection scope of this application.
Current, due to handle take and disaster tolerance above advantage, operation system tends to the multimachine room using horizontal
Deployment.As shown in FIG. 1, FIG. 1 is system architecture schematic diagrams involved when progress calling service in current techniques.In the framework
In, application and data are divided into different separate traffic units by operation system, some business unit (cell) is merely able to locate
Manage the service (for example, being divided according to last two of User ID) of a part of user.When processing business, service call side with
Machine is called business unit, if not in this business unit, carries out routing addressing by service provider, and forward request
To corresponding unit.
In this manner, due to the performance difference of each business unit in service provider cluster, if service call side
Using fixed method of calling carry out service traffics control (for example, some business unit of first random call, business unit according to
Family tail number is route), it is possible to cause service traffics to distribute unevenness on each business unit so that certain business unit receive
To service traffics lead to service fail more than its processing capacity.In addition, when carrying out random call, for those non-business
The calling of unit then needs to be forwarded between service side inside.
For example, for the framework in Fig. 1, it is assumed that the Accounting Request that business unit A carrying user's tail numbers are 0-4 carries
For the processing capacity of 500 issued transaction amounts (Transaction Per Second, TPS) per second, business unit B carries user's tail
Number be 5-9 Accounting Request, the processing capacity of 100TPS is provided.In the case of User ID is evenly distributed, if calling service system
System now needs the calling amount of 600TPS, and when carrying out random call, A and B will be respectively received the request of 300TPS.It can be seen that
The load of business unit B at this time has had exceeded the limitation of its performance, can processing failure by the service traffics for having 200TPS.Meanwhile
In this process, A and B has the service traffics of 150TPS to need to be transmitted to other side, reduces whole efficiency.
Based on this, this specification embodiment provides a kind of service traffics allocation plan, by service calling system to business
Resource management system application resource carries out the distribution of flow according to the resource applied, avoid single business unit overload and
Request forwarding between business unit.
As shown in Fig. 2, the framework signal involved by the service traffics allocation plan that Fig. 2 is provided by this specification embodiment
Figure.In the architecture, each business unit is in opposition to each other, respectively independently deploys a set of service resource management system, each business
Local active volume is mutually synchronized to form resource pool so that service resource management system carries out decision distribution by unit.
Below by based on framework as shown in Figure 2, the service traffics distribution that the embodiment of this specification provides is described in detail
Process, which specifically includes two aspects of service calling system and service resource management system, for service calling system side
Face, included by step as shown in figure 3, flow in terms of the service calling system that Fig. 3 is provided by this specification embodiment
Schematic diagram, including:
S301, service calling system send service resources application and ask to service resource management system.
In framework as shown in Figure 2, processing platform C can be applied at random, can also be according to certain division
Mark is applied.For example, the respective business unit in called side cluster and service side's cluster is using place city as knowledge
Not according to being divided, processing platform C can be deployed into local business unit B nearby.In other words, work as service calling system
When (each service process platform i.e. in framework) initiates service call to service side's cluster, service resources application request always can
It is enough that the business unit to same city is called to be handled.This is to meet conventional processing method, does not constitute the restriction to this programme.
S303 receives the service resources information that service resource management system is returned, wherein the service resources information is extremely
Include business unit address and business unit processing capacity corresponding with the business unit address less.
Service resource management system carries out the distribution of resource according to the resource quantity in resource pool, obtains one specific point
With strategy, service calling system is returned in the form of service resources information.The service resources information generally can be such as Fig. 2
In the relation table for containing a plurality of service resources record form, included at least business unit address in every record and should
Business unit processing capacity (capacity for distributing to service calling system), it is, of course, also possible to additional some other information, example
Such as, application name, business unit name etc..Be readily appreciated that, the service resources information can also have other such as configuration files or
The non-relational data structure of person etc. many other forms, will not enumerate herein.,
S305, distribution no more than the business unit processing capacity service traffics to the business unit address.
Service calling system be according in above-mentioned list business unit address and business unit processing capacity carry out flow
Distribution.As an implementation, the service resources information that service resource management system returns, can contain all industry
The relation table of business unit and respective current maximum available, service calling system can according to their needs be carried out according to the table
The distribution of service traffics;Under another embodiment, the service resources information that service resource management system returns, can be root
According to the needs and actual treatment ability of service calling system, and what is generated contains partial service unit and business unit processing appearance
The relation table of amount, service calling system carry out service traffics distribution according to the relation table of return.Obviously, no matter in which kind of mode
Under, when distributing to some business unit address service traffics, the business unit address is not to be exceeded provided in relation table
Business unit processing capacity.
In practical applications, it is asked to service resource management system in step S301, sending service resources application,
Can also include:Determine local processing quantity TPS per second;The service resources application for sending the carrying TPS is asked to business
Resource management system, so that the service resource management system determines the service resources information according to the TPS.In this side
Under formula, service resource management system can carry out each business unit according to the actual treatment ability of service calling system appropriate
Distribution, avoids the waste of resource in resource pool.
In another specific application scenarios, service resources information further includes:Corresponding to the business unit address
Effective time.Hence in S303, distribution no more than the business unit processing capacity service traffics to the business
Element address, including:After the effective time reaches, service traffics are no longer distributed to industry corresponding with the effective time
Business element address.
The effective time, value can be a specific time point, for example, 22:30:When being effective before 00
Between;It can also be a time span, be effective within 10 minutes for example, since the timestamp for generating service resources information
Time.Once exceeding effective time, it is meant that the business unit processing capacity corresponding to the business unit address is possible to
It is assigned to other called sides, at this point, service calling system should not be further continued for sending service traffics to the business unit address.
A plurality of record is generally comprised in the service resources information that service calling system receives, business sheet in every record
First address can be there are one corresponding effective time, and each effective time may be the same or different, specific generating mode
It is related to algorithm used by service resource management system, for example, it can wait locating transmitted by service calling system
Can also be rule of thumb directly to be set obtained by the service traffics size and TPS abilities of reason, this is not constituted to this
The restriction of scheme.By way of setting effective time, resource can be forcibly occupied for a long time to avoid some service call side, avoid resource
Waste.
Further, the pending Business Stream if service calling system advanced processing before effective time reaches is over
Amount, then following operation can also be performed:Processing ending message is sent to the service resource management system, so as to service resources
Management system discharges the business unit processing capacity.
The executive mode in terms of service calling system is illustrated above, for service resource management system aspects,
Step included by it as shown in figure 4, the service resource management system aspects that Fig. 4 is provided by this specification embodiment flow
Schematic diagram, including:
S401, service resource management system receive the service resources application request that service calling system is sent.
S403 generates service resources information, wherein the service resources information is at least wrapped based on the resource pool being generated in advance
Include business unit address and business unit processing capacity corresponding with the business unit address.
Resource pool herein is each business unit and the resource collection of respective active volume.Service resource management system
Resource pool is controlled according to the request received.Specific control mode includes such as:It is determined from current resource pool
Distribute which business unit, each business unit should distribute how many capacity, its effective time of business unit for dispensing with
And whether discharge the volume of business etc. that the business unit dispenses.Service resource management system is by above-mentioned control mode with industry
The form of business resource information is sent to calling service system.Be readily appreciated that, when service resource management system by volume of business from money
After dispensing or discharge in the pond of source, available resources in resource pool are to all service resource management systems by synchronized update.
S405 sends the service resources information to the service calling system, so that service calling system is according to
Service resources information distribution services flow.
In practical applications, it for the resource pool being generated in advance, can be obtained by such as under type:With determining local business unit
The available processes capacity of location and local business unit;That establishes the local business unit address and local business unit can use
The correspondence of capacity is managed, and is stored;With correspondence described in other service resource management system synchronizations, resource pool is generated.
Various regions are during synchronization, if it find that other remote rooms there is a problem, can be synchronized with Temporarily Closed.
It should be noted that in framework as described in Figure 2, each business unit deploys a set of service resource management system, each to be
It is mutually synchronized between system, forms a kind of distributed service resource management system.But in practical applications, using centralization
Service resource management system be also feasible, that is, local address and active volume are reported to a collection by each business unit
In service resource management center be managed collectively, service call side always arrive the service resource management center carry out business money
Apply in source.
As previously mentioned, when service resources application request carries the processing quantity TPS per second, step S403 of service calling system
In, service resources information is generated based on the resource pool being generated in advance, including:Based on preset algorithm, from the resource pool really
The business unit processing capacity that fixed each business unit address is called, generates service resources information;Wherein, each business sheet
The sum of business unit processing capacity that first address is called is equal to the TPS.
The preset algorithm may include such as under type:According to the active volume of each business unit in TPS and resource pool
Pro rate is carried out, alternatively, preferential selection is allocated with the business unit in city;Alternatively, being averagely allocated;Alternatively, random
Distribution etc..
For example, it is assumed that currently in resource pool have 3 available business unit A, B and C, residing for city be respectively
City1, City2 and City3, active volume are respectively 500TPS, 1000TPS, 500TPS.At this point, service resource management system
System receives the call request that processing capacity is initiated by the service call platform of 1200TPS in City1.
If according in TPS and resource pool each business unit active volume carry out pro rate, to 1200TPS according to
500:1000:500 ratio is allocated, and business unit A, B and C will respectively be marked off 300TPS, 600TPS and 300TPS;If
Preferential selection is allocated with the business unit in city, then business unit A will be separated out 500TPS, and remaining 700TPS will be assigned
To B and C, (such as B obtains 700TPS, C 0;Or B is 200TPS, C obtains 500TPS);If being averagely allocated, each
Business unit distributes to obtain 400TPS;And be randomly assigned etc..Service resources information is then generated according to the result of calculating.Hold
Readily understood, in this process, the available appearance of each business unit in resource pool is not to be exceeded in obtained business unit processing capacity
Amount.According to the processing capacity allocation processing capacity of calling service side, it is more than the practical place of called side to avoid the capacity dispensed
It is distributed in vain caused by reason ability, is conducive to the utilization rate for improving each business unit.
Further, when service resources application request is carried based on service traffics size, in S403, in advance
The resource pool first generated generates service resources information, further includes:It is big according to the service traffics for any business unit address
The small and described TPS determines the effective time corresponding to the business unit address;The business comprising the effective time is generated to provide
Source information.
Description has been carried out above for the form of effective time, and details are not described herein again.The generation type of effective time can
There are many, for example, service call unit determines that service traffics to be processed are 20,000, the processing energy of service call unit
Power is 20000/minute, then can estimate service call unit can complete the service traffics in 1 minute.At this point, working as
When active volume in resource pool is more than 20000/minute, it can then distribute what each business unit dispensed in resource pool
The effective time of volume of business is 1 minute.Alternatively, based on strange land processing request may increased take be 10 seconds, when will be effective
Between be set as 70S.Or some amplification coefficient K was directly multiplied by 1 minute based on experience, effective time is generated, is adjusted to service
Service traffics can have been handled within effective time but will not occupy resource for a long time with side.
In practical applications, the effective time of each business unit may be the same or different in service resources information.It is continuous
Precedent needs to extend effective time to meet practical need if the active volume in resource pool does not reach 20000/minute
It wants, for example, there is the business unit D in same city in resource pool at this time, residual capacity is 5000/minute, the business unit E in strange land,
Residual capacity is 10000/minute.At this time, it may be necessary to the capacity of business unit D and E all be dispensed, if according to Business Stream
The size mean allocation of amount is to business unit D and E (i.e. each processing 10000), at this point, by 2 minutes effective time is given extremely
D, 1 minute effective time to E.Effective time is set according to the actual needs of called side, it can be long to avoid service calling system
Phase occupies the wasting of resources that resource is formed, and improves efficiency.
In practical applications, service resource management system can also discharge the volume of business dispensed, release
Can also be such as under type when condition can be effective time arrival:The processing that service calling system is returned is received to terminate
Information discharges the business unit processing capacity corresponding to the business unit address in the resource pool.Release herein is
The processing capacity can be distributed to other service calling systems by finger in resource pool, and release in advance is conducive to raising business money
The utilization ratio in source.
In the above scheme, each business unit synchronizes mutually the local business processing capacity that can be provided, and forms money
Source pond is supplied to service resource management center to distribute.Demand and local processing energy of the service calling system according to service traffics
Power applies for resource to service resource management center, and flow control and routing are carried out according to the service resources that application obtains.To keep away
Exempt from the service traffics forwarding between business unit, improves business processing efficiency.It is independently disposed in addition, can also meet each
Business unit flow control demand, avoid the service traffics received from leading to business beyond the processing capacity of business unit
Failure.
Based on same thinking, the present invention also provides a kind of service traffics distributors, as shown in figure 5, Fig. 5 is this explanation
Apparatus structure schematic diagram in terms of the service calling system that book embodiment is provided, including:
Application module 501 is sent, service calling system sends service resources application and asks to service resource management system;
Receiving module 503 receives the service resources information that service resource management system is returned, wherein the business money
Source information includes at least business unit address and business unit processing capacity corresponding with the business unit address;
Assignment of traffic module 505, distribution no more than the business unit processing capacity service traffics to the business sheet
First address.
Further, the sending module 501 determines local processing quantity TPS per second;It sends and carries the TPS's
Service resources application is asked to service resource management system, so that the service resource management system determines institute according to the TPS
State service resources information.
Further, the service resources information further includes:With the effective time corresponding to the business unit address;Institute
Assignment of traffic module 505 is stated, after the effective time reaches, it is extremely corresponding with the effective time no longer to distribute service traffics
Business unit address.
Further, if before effective time reaches, the service traffics, the sending module have been handled
501, processing ending message is sent to the service resource management system, so that service resource management system discharges the business sheet
First processing capacity.
Meanwhile the present invention also provides another service traffics distributors, as shown in fig. 6, Fig. 6 is this specification embodiment
The apparatus structure schematic diagram of the service resource management system aspects provided, including:
Receiving module 601, service resource management system receive the service resources application request that service calling system is sent;
Generation module 603 generates service resources information based on the resource pool being generated in advance, wherein the service resources letter
Breath includes at least business unit address and business unit processing capacity corresponding with the business unit address;
Sending module 605 sends the service resources information to the service calling system, so as to service calling system root
According to the service resources information distribution services flow.
Further, described device further includes resource pool generation module 607, determines local business unit address and local industry
The available processes capacity of business unit;Establish pair of the available processes capacity of the local business unit address and local business unit
It should be related to, and store;With correspondence described in other service resource management system synchronizations, resource pool is generated.
Further, when the service resources application asks to carry the processing quantity TPS per second of service calling system, institute
Generation module 603 is stated, preset algorithm is based on, the business unit that each business unit address is called is determined from the resource pool
Processing capacity generates service resources information;Wherein, the business unit processing capacity that each business unit address is called it
With equal to the TPS sizes.
Further, when the service resources application asks to carry service traffics size, the generation module 603, needle
Any business unit address is determined according to the service traffics size and the TPS corresponding to the business unit address
Effective time;Generate the service resources information for including the effective time.
Further, the receiving module 601 receives the processing ending message that service calling system is returned, described
The business unit processing capacity corresponding to the business unit address is discharged in resource pool.
Corresponding, this specification embodiment also provides a kind of service traffics distributing equipment, including:
Memory is stored with service traffics distribution program;
Processor calls the service traffics distribution program in the memory, and executes:
Service calling system sends service resources application and asks to service resource management system;
Receive the service resources information that service resource management system is returned, wherein the service resources information is at least wrapped
Include business unit address and business unit processing capacity corresponding with the business unit address;
Distribution no more than the business unit processing capacity service traffics to the business unit address.
Meanwhile this specification embodiment also provides another service traffics distributing equipment, including:
Memory is stored with service traffics distribution program;
Processor calls the service traffics distribution program in the memory, and executes:
Service resource management system receives the service resources application request that service calling system is sent;
Service resources information is generated based on the resource pool being generated in advance, wherein the service resources information includes at least industry
Business element address and business unit processing capacity corresponding with the business unit address;
The service resources information is sent to the service calling system, so that service calling system is provided according to the business
Source information distributes service traffics.
Based on same invention thinking, the embodiment of the present application also provides a kind of corresponding non-volatile computer storage Jie
Matter, is stored with computer executable instructions, and the computer executable instructions are set as:
Service calling system sends service resources application and asks to service resource management system;
Receive the service resources information that service resource management system is returned, wherein the service resources information is at least wrapped
Include business unit address and business unit processing capacity corresponding with the business unit address;
Distribution no more than the business unit processing capacity service traffics to the business unit address.
Meanwhile the embodiment of the present application also provides corresponding another nonvolatile computer storage media, being stored with meter
Calculation machine executable instruction, the computer executable instructions are set as:
Service resource management system receives the service resources application request that service calling system is sent;
Service resources information is generated based on the resource pool being generated in advance, wherein the service resources information includes at least industry
Business element address and business unit processing capacity corresponding with the business unit address;
The service resources information is sent to the service calling system, so that service calling system is provided according to the business
Source information distributes service traffics.
Each embodiment in this specification is described in a progressive manner, identical similar portion between each embodiment
Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device,
For equipment and medium class embodiment, since it is substantially similar to the method embodiment, so description is fairly simple, related place
Illustrate referring to the part of embodiment of the method, just no longer repeats one by one here.
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 action recorded in detail in the claims or step or module can be according to different from embodiments
Sequence executes and desired result still may be implemented.In addition, the process described in the accompanying drawings is not necessarily required and is shown
Particular order or consecutive order could realize desired result.In some embodiments, multitasking and parallel processing
It is also possible or it may be advantageous.
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 " patrols
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 are 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 flow 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, application-specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, the example of controller includes but 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 for 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 in the form of logic gate, switch, application-specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc. to come in fact
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, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit is realized can in the same or multiple software and or hardware when the embodiment of specification.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer
The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of 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 count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include computer-readable medium in volatile memory, 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 realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus
Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), the data letter number and carrier wave of such as modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
Including so that process, method, commodity or equipment including a series of elements include not only those elements, but also wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that wanted including described
There is also other identical elements in the process of element, method, commodity or equipment.
It will be understood by those skilled in the art that embodiment one or more in this specification can be provided as method, system or
Computer program product.Therefore, complete hardware embodiment, complete software embodiment or combination can be used in the embodiment of this specification
Form in terms of software and hardware.Moreover, it wherein includes computer that the embodiment of this specification, which can be used in one or more,
The computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of usable program code
The form of the computer program product of upper implementation.
The embodiment of this specification can retouch in the general context of computer-executable instructions executed by a computer
It states, such as program module.Usually, program module include execute particular transaction or realize particular abstract data type routine,
Program, object, component, data structure etc..The embodiment that this specification can also be put into practice in a distributed computing environment, at this
In a little distributed computing environment, by executing affairs by the connected remote processing devices of communication network.It is counted in distribution
It calculates in environment, program module can be located in the local and remote computer storage media including storage device.