Specific embodiment
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality
The attached drawing in example is applied, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described implementation
Example is merely a part but not all of the embodiments of the present application.Based on the embodiment in the application, this field is common
The application protection all should belong in technical staff's every other embodiment obtained without creative efforts
Range.
Is needed for task processing equipment, the application is implemented the case where executing a variety of different types of tasks for each business
Example provides a kind of task processing method and device, to improve the execution efficiency of task.Wherein task processing method can be by appointing
Processing equipment of being engaged in executes.
Fig. 1 is the flow diagram for the task processing method that one embodiment of the application provides, which can be by task
Manage equipment execute, as shown in Figure 1, the process the following steps are included:
Step S102 obtains service configuration information and task configuration information, wherein service configuration information includes service identification
Task type corresponding with service identification, task configuration information include the execution time window of the task of task type and the type
Mouthful;
Step S104 determines the type of pending task, according to business according to the execution time window of all types of tasks
Corresponding task type is identified, determines the corresponding service identification of the type of pending task;
Step S106, according to the corresponding service identification of the type of the type of pending task and pending task, execute to
Execution task.
In the embodiment of the present application, setting service configuration information includes service identification and the corresponding task type of service identification,
Task configuration information includes the execution time window of the task of task type and the type, using task type as business configuration
Connection between information and task configuration information realizes the separation of business configuration and task configuration, can determine pending
After the type of business, the corresponding service identification of the type of pending task is simply and easily determined based on service configuration information, thus
According to the corresponding service identification of the type of the type of pending task and pending task, pending task is executed, improves task
Execution efficiency.
Further, by this present embodiment using task type as between service configuration information and task configuration information
Connection, realize the separation of business configuration and task configuration, therefore in Added Business, without for every kind of task of the business it is equal
Design executes logic, it is only necessary to which workload when changing service configuration information, therefore can reduce Added Business improves and appoints
The access and execution efficiency of business.
In above-mentioned steps S202, service configuration information and task configuration information are obtained, it can be with are as follows:
(a1) service allocation list and task allocation list are loaded from database, wherein service allocation list is used for record traffic
Configuration information, task allocation list are used for logger task configuration information;
Alternatively,
(a2) service configuration information and task configuration information are loaded by way of loading configuration file, wherein configuration text
It include service configuration information and task configuration information in part.
Specifically, service allocation list and task allocation list can be loaded from database, wherein service allocation list is for remembering
Service configuration information is recorded, task allocation list is used for logger task configuration information.Table 1 is a kind of signal situation of service allocation list,
In table 1, it is illustrated so that business is fund business as an example.
Table 1
Service allocation list is used for record traffic configuration information, and service configuration information includes service identification and the service identification pair
The task type answered.In table 1, when business is fund business, service identification is fund coding, and fund is encoded to the unique of fund
Mark, each fund correspond to different fund codings, and task type can be to apply to purchase task, redemption task, income task dispatching, often
A fund can correspond to one or more task types.
In one embodiment, it is corresponding with the service identification service identification can be recorded by a service allocation list
Task type records multiple service identifications and the corresponding task type of each service identification by multiple service allocation lists respectively,
Each service identification can correspond to one or more task types.
Table 2 is a kind of signal situation of task allocation list, in table 2, is illustrated so that business is fund business as an example.
Table 2
Task allocation list is used for logger task configuration information, and task configuration information includes the task of task type and the type
Execution time window.In table 2, when business is fund business, task type can be to apply to purchase task, redeem task, income
Task dispatching, the time segment information that the main configuration task of execution time window is run, task effective marker include effective in vain, are divided
Not Biao Shi the type task enable or deactivate, task duplication type is configurable to daily repeat, and monthly repeats.
In one embodiment, holding for the task an of task type and the type can be recorded by a task allocation list
Row time window and task effective marker and task duplication type etc., to be recorded respectively by multiple tasks allocation list more
A task type.
As it can be seen that task corresponding with the service identification can be identified by service allocation list record traffic in the present embodiment
Type, by the execution time window of task allocation list logger task type and the task of the type, above-mentioned 1 table 2 of table is with business
To show service allocation list and task allocation list for fund business, it is to be understood that the task in the present embodiment can also be
Other tasks, here without limitation.
Alternatively, service configuration information and task configuration information can also be loaded by way of loading configuration file, wherein
It include service configuration information and task configuration information in configuration file.Configuration file can be pre-configured and be stored in local
In depositing, after the starting of task processing equipment, automatic loading configuration file, to obtain service configuration information and task with confidence
Breath.
In above-mentioned steps S104, according to the execution time window of all types of tasks, the type of pending task is determined, it can
With are as follows: current time is located to the type for the task in time window that executes, the type as pending task.
Execute time window can as above " daily 13 points to 14 points " shown in table 2, that is, indicate to allow task execution when
Between section, be more than that time period task is run not yet, task processing equipment will call the police.In this step, current time is located at and is held
The type of task in row time window, the type as pending task., for example, the execution time window of certain task type
For " daily 1 point to 2 points ", if then current time is between " 1 point to 2 points ", it is determined that current time, which is located at, executes time window
In mouthful, using the task type as the type of pending task.
In above-mentioned steps S104, according to the corresponding task type of service identification, determine that the type of pending task is corresponding
Service identification, can be with are as follows: after the type for determining pending task, searches in the corresponding task type of service identification pending
The corresponding service identification of the type of task, the service identification that will be found, the corresponding business mark of type as pending task
Know.
In one embodiment, service identification task corresponding with the service identification is recorded by a service allocation list
Type, to record multiple service identifications respectively by multiple service allocation lists.Then in this step, pending task is being determined
After type, the corresponding service identification of type of pending task is searched in this multiple service allocation list, for example, multiple such as table
Search the corresponding service identification of type of pending task in service allocation list shown in 1, the service identification found (namely table
Fund coding in 1), the corresponding service identification of type of as pending task.
In the present embodiment, pending task includes file generated task.In above-mentioned steps S106, according to pending task
The corresponding service identification of the type of type and pending task, executes pending task, specifically: obtain the class of pending task
The corresponding business pipelined data of type, according in the corresponding service identification of the type of pending task and the business pipelined data of acquisition
The service identification of carrying obtains target pipelined data in the business pipelined data of acquisition, is generated according to target pipelined data special
Determine file and uploads.
By taking fund business as an example, in the present embodiment, Business Stream water meter record traffic pipelined data, each business can be passed through
The corresponding task type of the business pipelined data recorded in flowing water table, table 3 are a kind of signal situation of Business Stream water meter.
Table 3
In table 3, each Business Stream water meter respectively corresponds a kind of task type.Business serial number is unique mark of business flowing water
Know, business information is used to record the specific business information of the flowing water, and fund is encoded for identifying fund belonging to the business flowing water
Coding, task type is for indicating task type belonging to the business flowing water.It, can be right for the task of a type
Multiple Business Stream water meters are answered, for a fund encodes, multiple Business Stream water meters can also be corresponded to.In table 3, Business Stream
Water number is according to including at least business information 1 and business information 2.
In this step, first according to the task type recorded in Business Stream water meter, determine that the type of pending task is corresponding
Business Stream water meter, thus the corresponding business pipelined data of the type for obtaining pending task.Due to times for a type
For business, multiple Business Stream water meters can be corresponded to, therefore available to multiple Business Stream water meters, this multiple Business Stream here
Water meter may correspond to different service identifications (the fund coding i.e. in table 3), therefore next, according to the type of pending task
The service identification carried in corresponding service identification and the business pipelined data of acquisition, obtains in the business pipelined data of acquisition
Target pipelined data, the corresponding service identification of target pipelined data are the corresponding service identification of type of pending task.
For example, the corresponding Business Stream water meter of the type of pending task includes Table A table B and table C, wherein the corresponding base of Table A
Gold is encoded to 111, and the corresponding fund of table B is encoded to 222, and the corresponding fund of table C is encoded to 333, the type pair of pending task
The fund answered is encoded to 111, then obtaining Table A is target service flowing water table, and the business pipelined data recorded in Table A is determined as mesh
Mark pipelined data.
Finally, generating specific file according to target pipelined data and uploading, for example, target pipelined data is packaged into specific
File is simultaneously uploaded to specific file system.
In the present embodiment, in the target pipelined data for determining pending task, it is arranged in business pipelined data and carries
Service identification, being capable of simple and convenient efficient acquisition target pipelined data.
In the present embodiment, when executing pending task, can also for pending task generate task flowing water information, to
When executing task execution completion, logger task execution state information and task execution end time in task flowing water information, with
And service identification belonging to task.
By taking business is fund business as an example, a task flow water meter can be generated for each task in the present embodiment, table 4 is
A kind of signal situation of task flow water meter can pass through task flow water meter logger task flowing water information.
Table 4
As shown in table 4, task flow water meter is used for logger task flowing water information.In table 4, task ID (identity, identity)
It is the unique identification of task, execution status of task is used for the execution state of logger task, such as initializes, in progress, is completed, base
The corresponding fund coding of task, task run time started and task execution end time are used for logger task to gold coding thus
Start and end time, task type is for recording task type belonging to the task.
In the present embodiment, when executing pending task, task flow water meter is generated for pending task, passes through task flowing water
Table records the relevant information of pending task, and when pending task execution is completed, the logger task in task flowing water information
Execution state information and task execution end time, to record the details of each task by task flow water meter.
Fig. 2 is the structural schematic diagram for the task processing system that one embodiment of the application provides, as shown in Fig. 2, the system packet
Include task system, scheduling system, assignment database, transaction data base and file system.In Fig. 2, task system can be executed
Method shown in FIG. 1 is stated, is specifically included: firstly, task system obtains industry under the scheduling of scheduling system from assignment database
Business configuration information and task configuration information, parse each service identification from task configuration information and each service identification is corresponding
Task type, the execution time window of each type of service and all types of tasks is parsed from task configuration information.Its
Secondary, task system determines the type of pending task according to the execution time window of all types of tasks, in each service identification
It is searched in corresponding task type and obtains the corresponding service identification of type of pending task.Finally, task system is from number of deals
According to the corresponding business pipelined data of the type for obtaining pending task in library, and according to the corresponding business of the type of pending task
The service identification carried in mark and the business pipelined data obtained, obtains target stream water number in the business pipelined data of acquisition
It is the corresponding service identification of type of pending task according to, service identification belonging to target pipelined data, task system is by mesh
Mark pipelined data is packaged into the file of specific format and is uploaded to file system.Task system generates task flow water meter also to record
The letter such as every terms of information of pending task, including task run time started, task execution end time, execution status of task
Breath.In the system of Fig. 2, task system can also be triggered by the way of heartbeat poll by scheduling system according to all types of tasks
Execution time window, determine the type of pending task.
In the present embodiment, business may include fund business, and the file that when above-mentioned execution pending task generates can be
Fund file, fund file are the carrier that business information is transmitted to Fund Company, and Fund Company carries out business according to fund file
Processing, such as apply to purchase, redeem.
Method in the present embodiment, which may further comprise:, obtains service access instruction, is instructed according to service access, in business
Increase service identification in configuration information, and increases corresponding task type for the newly-increased service identification.
Specifically, when needing to execute different types of task for new business, in the present embodiment, due to utilizing task class
Type realizes the separation of business configuration and task configuration, therefore as the connection between service configuration information and task configuration information
It only needs to increase in service configuration information service identification, and increases corresponding task type for the newly-increased service identification and be
Can, without being changed to task configuration information, based on after increase service configuration information and original task configuration information, i.e.,
It can be the task that the business newly increased executes its corresponding types.
By taking above-mentioned service allocation list as an example, it is only necessary to which the business configuration one to newly increase opens service allocation list, in the table
The middle service identification for recording the business newly increased and corresponding task type, without doing any change to task configuration information
Become, the task of its corresponding types can be executed for the business newly increased.
Method in the present embodiment may further comprise: acquisition task alteration command, determine that task alteration command is corresponding
Service identification modifies the corresponding task type of determining service identification in service configuration information.
Specifically, when needing for its corresponding task type of certain business modification, in the present embodiment, due to utilizing task class
Type realizes the separation of business configuration and task configuration, therefore as the connection between service configuration information and task configuration information
Only it needs to be determined that the corresponding service identification of task alteration command, modifies determining service identification corresponding in service configuration information
Service type can either achieve the effect that the corresponding task type of change business without changing to task configuration information.
By taking above-mentioned service allocation list as an example, it is only necessary to determine the corresponding service identification of task alteration command, in the business
It identifies and modifies corresponding task type in corresponding service allocation list, it, can without being changed to task configuration information
Enough achieve the effect that the corresponding task type of change business.
Similarly, in the present embodiment, if desired increase certain task type, it is only necessary to newly-increased task configuration information, in task
Increase task type and corresponding execution time window in configuration information, and increasing in the corresponding task type of service identification should
Task type.Due to realizing industry using task type as the connection between service configuration information and task configuration information
The separation of business configuration and task configuration, therefore service configuration information or task configuration information can be individually modified, so that task is matched
It sets more simple and convenient.
To sum up, the present embodiment at least has the advantages that
(1) using task type as the connection between service configuration information and task configuration information, business configuration is realized
The separation configured with task, if newly to access certain business, it is only necessary to increase service identification and correspondence in service configuration information
Task type, if to modify the task type of certain business, it is only necessary to modify the business pair in service configuration information
The task type answered, new access service and change business task type is simple and convenient, improvement cost is low;
(2) in the target pipelined data for determining pending task, it is arranged in business pipelined data and carries service identification,
It being capable of simple and convenient efficient acquisition target pipelined data.
The present embodiment additionally provides a kind of Task Processing Unit, and Fig. 3 is the task processing dress that one embodiment of the application provides
The module composition schematic diagram set, as shown in figure 3, the device includes:
Module 31 is obtained, for obtaining service configuration information and task configuration information;Wherein, the service configuration information packet
Include service identification task type corresponding with the service identification;Task configuration information includes the task of task type and the type
Execute time window;
Determining module 32 determines the type of pending task, root for the execution time window according to all types of tasks
According to the corresponding task type of the service identification, the corresponding service identification of type of the pending task is determined;
Execution module 33, for according to the type of the pending task and the corresponding industry of type of the pending task
Business mark, executes the pending task.
Optionally, the acquisition module 31 is specifically used for:
Service allocation list and task allocation list are loaded from database;Wherein, the service allocation list is described for recording
Service configuration information, the task allocation list is for recording the task configuration information;
Alternatively,
The service configuration information and the task configuration information are loaded by way of loading configuration file;Wherein, institute
It states in configuration file comprising the service configuration information and the task configuration information.
Optionally, the determining module 32 is specifically used for:
Current time is located to the type of the task in the execution time window, the type as pending task.
Optionally, the pending task includes file generated task;The execution module 33 is specifically used for:
Obtain the corresponding business pipelined data of type of the pending task;
It is carried according in the corresponding service identification of type of the pending task and the business pipelined data of acquisition
Service identification, in the business pipelined data of acquisition obtain target pipelined data;
Specific file is generated according to the target pipelined data and is uploaded.
Optionally, which further includes logging modle, is used for:
When executing the pending task, task flowing water information is generated for the pending task;
The pending task execution complete when, in the task flowing water information logger task execution state information and
The task execution end time.
Optionally, which further includes AM access module, is used for:
Obtain service access instruction;
It is instructed according to the service access, increases service identification in the service configuration information, and be the newly-increased industry
Business mark increases corresponding task type.
Optionally, which further includes change module, is used for:
Acquisition task alteration command;
Determine the corresponding service identification of the task alteration command;
The determining corresponding task type of the service identification is modified in the service configuration information.
In the embodiment of the present application, setting service configuration information includes service identification and the corresponding task type of service identification,
Task configuration information includes the execution time window of the task of task type and the type, using task type as business configuration
Connection between information and task configuration information realizes the separation of business configuration and task configuration, can determine pending
After the type of business, the corresponding service identification of the type of pending task is simply and easily determined based on service configuration information, thus
According to the corresponding service identification of the type of the type of pending task and pending task, pending task is executed, improves task
Execution efficiency.
Further, by this present embodiment using task type as between service configuration information and task configuration information
Connection, realize the separation of business configuration and task configuration, therefore in Added Business, without for every kind of task of the business it is equal
Design executes logic, it is only necessary to which workload when changing service configuration information, therefore can reduce Added Business improves and appoints
The access and execution efficiency of business.
Task Processing Unit in the present embodiment can be realized each process in above method embodiment, and reach identical
Function and effect, be not repeated herein.
Further, the embodiment of the present application also provides a kind of task processing equipment, Fig. 4 provides for one embodiment of the application
Task processing equipment structural schematic diagram, as shown in figure 4, the task processing equipment can generate ratio because configuration or performance are different
Biggish difference may include one or more processor 901 and memory 902, can store in memory 902
One or more storage application programs or data.Wherein, memory 902 can be of short duration storage or persistent storage.Storage
It may include one or more modules (diagram is not shown) in the application program of memory 902, each module may include
To the series of computation machine executable instruction in task processing equipment.Further, processor 901 can be set to and store
Device 902 communicates, and the series of computation machine executable instruction in memory 902 is executed in task processing equipment.Task processing is set
Standby can also include one or more power supplys 903, one or more wired or wireless network interfaces 904, one or
More than one input/output interface 905, one or more keyboards 906 etc..
In a specific embodiment, task processing equipment includes memory and one or more journey
Sequence, perhaps more than one program is stored in memory and one or more than one program may include one for one of them
Or more than one module, and each module may include to the series of computation machine executable instruction in task processing equipment, and
Be configured to be executed this by one or more than one processor or more than one program include by carry out it is following based on
Calculation machine executable instruction:
Obtain service configuration information and task configuration information;Wherein, the service configuration information includes service identification and should
The corresponding task type of service identification;Task configuration information includes the execution time window of the task of task type and the type;
According to the execution time window of all types of tasks, the type of pending task is determined, according to the service identification
Corresponding task type determines the corresponding service identification of type of the pending task;
According to the corresponding service identification of type of the type of the pending task and the pending task, described in execution
Pending task.
Optionally, computer executable instructions when executed, the acquisition service configuration information and task configuration information,
Include:
Service allocation list and task allocation list are loaded from database;Wherein, the service allocation list is described for recording
Service configuration information, the task allocation list is for recording the task configuration information;
Alternatively,
The service configuration information and the task configuration information are loaded by way of loading configuration file;Wherein, institute
It states in configuration file comprising the service configuration information and the task configuration information.
Optionally, computer executable instructions when executed, the execution time window according to all types of tasks,
Determine the type of pending task, comprising:
Current time is located to the type of the task in the execution time window, the type as pending task.
Optionally, when executed, the pending task includes file generated task to computer executable instructions;It is described
According to the corresponding service identification of type of the type of the pending task and the pending task, described pending is executed
Business, comprising:
Obtain the corresponding business pipelined data of type of the pending task;
It is carried according in the corresponding service identification of type of the pending task and the business pipelined data of acquisition
Service identification, in the business pipelined data of acquisition obtain target pipelined data;
Specific file is generated according to the target pipelined data and is uploaded.
Optionally, computer executable instructions are when executed, further includes:
When executing the pending task, task flowing water information is generated for the pending task;
The pending task execution complete when, in the task flowing water information logger task execution state information and
The task execution end time.
Optionally, computer executable instructions are when executed, further includes:
Obtain service access instruction;
It is instructed according to the service access, increases service identification in the service configuration information, and be the newly-increased industry
Business mark increases corresponding task type.
Optionally, computer executable instructions are when executed, further includes:
Acquisition task alteration command;
Determine the corresponding service identification of the task alteration command;
The determining corresponding task type of the service identification is modified in the service configuration information.
In the embodiment of the present application, setting service configuration information includes service identification and the corresponding task type of service identification,
Task configuration information includes the execution time window of the task of task type and the type, using task type as business configuration
Connection between information and task configuration information realizes the separation of business configuration and task configuration, can determine pending
After the type of business, the corresponding service identification of the type of pending task is simply and easily determined based on service configuration information, thus
According to the corresponding service identification of the type of the type of pending task and pending task, pending task is executed, improves task
Execution efficiency.
Further, by this present embodiment using task type as between service configuration information and task configuration information
Connection, realize the separation of business configuration and task configuration, therefore in Added Business, without for every kind of task of the business it is equal
Design executes logic, it is only necessary to which workload when changing service configuration information, therefore can reduce Added Business improves and appoints
The access and execution efficiency of business.
Task processing equipment in the present embodiment can be realized each process in above method embodiment, and reach identical
Function and effect, be not repeated herein.
Further, the embodiment of the present application also provides a kind of storage medium, for storing computer executable instructions, one
In kind specific embodiment, which can be USB flash disk, CD, hard disk etc., and the computer of storage medium storage is executable
Instruction is able to achieve following below scheme when being executed by processor:
Obtain service configuration information and task configuration information;Wherein, the service configuration information includes service identification and should
The corresponding task type of service identification;Task configuration information includes the execution time window of the task of task type and the type;
According to the execution time window of all types of tasks, the type of pending task is determined, according to the service identification
Corresponding task type determines the corresponding service identification of type of the pending task;
According to the corresponding service identification of type of the type of the pending task and the pending task, described in execution
Pending task.
Optionally, the computer executable instructions of storage medium storage are when being executed by processor, the acquisition business
Configuration information and task configuration information, comprising:
Service allocation list and task allocation list are loaded from database;Wherein, the service allocation list is described for recording
Service configuration information, the task allocation list is for recording the task configuration information;
Alternatively,
The service configuration information and the task configuration information are loaded by way of loading configuration file;Wherein, institute
It states in configuration file comprising the service configuration information and the task configuration information.
Optionally, the computer executable instructions of storage medium storage are described according to all kinds of when being executed by processor
The execution time window of the task of type, determines the type of pending task, comprising:
Current time is located to the type of the task in the execution time window, the type as pending task.
Optionally, the computer executable instructions of storage medium storage are when being executed by processor, and described pending
Business includes file generated task;It is described according to the type of the pending task and the corresponding industry of type of the pending task
Business mark, executes the pending task, comprising:
Obtain the corresponding business pipelined data of type of the pending task;
It is carried according in the corresponding service identification of type of the pending task and the business pipelined data of acquisition
Service identification, in the business pipelined data of acquisition obtain target pipelined data;
Specific file is generated according to the target pipelined data and is uploaded.
Optionally, the computer executable instructions of storage medium storage are when being executed by processor, further includes:
When executing the pending task, task flowing water information is generated for the pending task;
The pending task execution complete when, in the task flowing water information logger task execution state information and
The task execution end time.
Optionally, the computer executable instructions of storage medium storage are when being executed by processor, further includes:
Obtain service access instruction;
It is instructed according to the service access, increases service identification in the service configuration information, and be the newly-increased industry
Business mark increases corresponding task type.
Optionally, the computer executable instructions of storage medium storage are when being executed by processor, further includes:
Acquisition task alteration command;
Determine the corresponding service identification of the task alteration command;
The determining corresponding task type of the service identification is modified in the service configuration information.
In the embodiment of the present application, setting service configuration information includes service identification and the corresponding task type of service identification,
Task configuration information includes the execution time window of the task of task type and the type, using task type as business configuration
Connection between information and task configuration information realizes the separation of business configuration and task configuration, can determine pending
After the type of business, the corresponding service identification of the type of pending task is simply and easily determined based on service configuration information, thus
According to the corresponding service identification of the type of the type of pending task and pending task, pending task is executed, improves task
Execution efficiency.
Further, by this present embodiment using task type as between service configuration information and task configuration information
Connection, realize the separation of business configuration and task configuration, therefore in Added Business, without for every kind of task of the business it is equal
Design executes logic, it is only necessary to which workload when changing service configuration information, therefore can reduce Added Business improves and appoints
The access and execution efficiency of business.
The computer executable instructions of storage medium storage in the present embodiment can be realized when being executed by processor
Each process in embodiment of the method is stated, and reaches identical function and effect, is not repeated herein.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So
And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker
Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " is patrolled
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer
This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages,
The hardware circuit for realizing the logical method process can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can
Read medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and insertion microcontroller, the example of controller includes but is not limited to following microcontroller
Device: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320 are deposited
Memory controller is also implemented as a part of the control logic of memory.It is also known in the art that in addition to
Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic
Controller is obtained to come in fact in the form of logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc.
Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it
The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions
For either the software module of implementation method can be the structure in hardware component again.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, 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 can be realized in the same or multiple software and or hardware when application.
It should be understood by those skilled in the art that, embodiments herein can provide 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 application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage 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), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to 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 including described want
There is also other identical elements in the process, method of element, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The application can describe in the general context of computer-executable instructions executed by a computer, such as program
Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group
Part, data structure etc..The application can also be practiced in a distributed computing environment, in these distributed computing environments, by
Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with
In the local and remote computer storage media including storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art
For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal
Replacement, improvement etc., should be included within the scope of the claims of this application.