The content of the invention
This specification embodiment provides business processing, data processing method, device and electronic equipment, as follows to solve
Technical problem:The different scenes for same business are needed, quickly access the scheme of business.
In order to solve the above technical problems, what this specification embodiment was realized in:
A kind of method for processing business that this specification embodiment provides, including:
Rule language data corresponding to service request are obtained, the rule language data are represented by one or more assemblies structure
Into operation flow, the component to the sub-process of the operation flow is abstract by obtaining;
The rule language data are explained, obtain orderly assembly set, each described group in the assembly set
The order of part meets the operation flow;
According to the service request, each component in the assembly set is performed.
Another method for processing business that this specification embodiment provides, including:
Obtain assembly set orderly corresponding to service request;
According to the service request, each component in the assembly set is performed;
Wherein, the assembly set to rule language data by explaining to obtain in advance, the rule language data
The operation flow corresponding to the service request being made up of each component is represented, the component passes through to the operation flow
Sub-process it is abstract obtain, the order of each component meets the operation flow described in the assembly set.
A kind of data processing method that this specification embodiment provides, including:
Rule language data are obtained, the rule language data represent the operation flow being made up of one or more assemblies,
The component obtains by the way that the sub-process to the operation flow is abstract;
The rule language data are explained, obtain orderly assembly set, each described group in the assembly set
The order of part meets the operation flow.
A kind of business processing device that this specification embodiment provides, including:
Acquisition module, obtains rule language data corresponding to service request, the rule language data represent by one or
The operation flow that multiple components are formed, the component obtain by the way that the sub-process to the operation flow is abstract;
Explanation module, the rule language data are explained, obtain orderly assembly set, in the assembly set
The order of each component meets the operation flow;
Execution module, according to the service request, perform each component in the assembly set.
Another business processing device that this specification embodiment provides, including:
Acquisition module, obtain assembly set orderly corresponding to service request;
Execution module, according to the service request, perform each component in the assembly set;
Wherein, the assembly set to rule language data by explaining to obtain in advance, the rule language data
The operation flow corresponding to the service request being made up of each component is represented, the component passes through to the operation flow
Sub-process it is abstract obtain, the order of each component meets the operation flow described in the assembly set.
A kind of data processing equipment that this specification embodiment provides, including:
Acquisition module, obtains rule language data, and the rule language data represent what is be made up of one or more assemblies
Operation flow, the component obtain by the way that the sub-process to the operation flow is abstract;
Explanation module, the rule language data are explained, obtain orderly assembly set, in the assembly set
The order of each component meets the operation flow.
The a kind of electronic equipment that this specification embodiment provides, including:
At least one processor;And
The memory being connected with least one processor communication;Wherein,
The memory storage has can be by the instruction of at least one computing device, and the instruction is by described at least one
Individual computing device, so that at least one processor can:
Rule language data corresponding to service request are obtained, the rule language data are represented by one or more assemblies structure
Into operation flow, the component to the sub-process of the operation flow is abstract by obtaining;
The rule language data are explained, obtain orderly assembly set, each described group in the assembly set
The order of part meets the operation flow;
According to the service request, each component in the assembly set is performed.
Another electronic equipment that this specification embodiment provides, including:
At least one processor;And
The memory being connected with least one processor communication;Wherein,
The memory storage has can be by the instruction of at least one computing device, and the instruction is by described at least one
Individual computing device, so that at least one processor can:
Obtain assembly set orderly corresponding to service request;
According to the service request, each component in the assembly set is performed;
Wherein, the assembly set to rule language data by explaining to obtain in advance, the rule language data
The operation flow corresponding to the service request being made up of each component is represented, the component passes through to the operation flow
Sub-process it is abstract obtain, the order of each component meets the operation flow described in the assembly set.
Another electronic equipment that this specification embodiment provides, including:
At least one processor;And
The memory being connected with least one processor communication;Wherein,
The memory storage has can be by the instruction of at least one computing device, and the instruction is by described at least one
Individual computing device, so that at least one processor can:
Rule language data are obtained, the rule language data represent the operation flow being made up of one or more assemblies,
The component obtains by the way that the sub-process to the operation flow is abstract;
The rule language data are explained, obtain orderly assembly set, each described group in the assembly set
The order of part meets the operation flow.
Above-mentioned at least one technical scheme that this specification embodiment uses can reach following beneficial effect:For same
The different scenes of kind business, based on corresponding rule language data, it is possible to achieve business quickly accesses, therefore, can part
Or fully solve the problems of the prior art.
Embodiment
This specification embodiment provides business processing, data processing method, device and electronic equipment.
In order that those skilled in the art more fully understand the technical scheme in this specification, below in conjunction with this explanation
Accompanying drawing in book embodiment, the technical scheme in this specification embodiment is clearly and completely described, it is clear that described
Embodiment be only some embodiments of the present application, rather than whole embodiment.Based on this specification embodiment, this area
The every other embodiment that those of ordinary skill is obtained under the premise of creative work is not made, should all belong to the application
The scope of protection.
In order to make it easy to understand, the thought of the scheme of this specification is illustrated:The various sub-processes of business are taken out respectively
As the request for corresponding component, received in component is completed to map by way of parameter mapping;For the specific field of the business
Scape, based on by the way of the rule language redaction rule language data specified, the component needed for scene is selected, and to selection
Each component carry out assembling configuration, and then can be by explaining rule language data corresponding to service request, and perform explanation
As a result, the business of corresponding scene is quickly accessed.
The composition of operation flow of the business under a variety of different scenes is at least partly different.The business such as can be with
It is the insurance business described in background technology.
Fig. 1 is a kind of overall architecture schematic diagram that the scheme of this specification is related under a kind of practical application scene.This is whole
In body framework, three parts are related generally to:Rule language data, interpreter, enforcement engine.By interpreter to rule language data
Explain, enforcement engine performs the explanation results of interpreter, it is possible to achieve business quickly accesses.Wherein, interpreter, execution are drawn
It can be software and/or hardware function to hold up, and it may be embodied in corresponding device or system.
Based on above thought and overall architecture, the scheme of this specification is described in detail below.
Fig. 2 is a kind of schematic flow sheet for method for processing business that this specification embodiment provides.The flow is possible to be held
Row main body includes but is not limited to can be as server or the following equipment of terminal:Personal computer, medium-size computer, computer
Cluster, mobile phone, tablet personal computer, intelligent wearable device, vehicle device etc..
Flow in Fig. 2 may comprise steps of:
S202:Rule language data corresponding to service request are obtained, the rule language data are represented by one or more
The operation flow that component is formed, the component obtain by the way that the sub-process to the operation flow is abstract.
In this specification embodiment, the rule language data can use the rule language specified to write, the rule
Then language such as can be the mark language such as extensible markup language (Extensible Markup Language, XML), JSON
Speech, the rule language can also be by User Defined grammar construct.
It is described write to refer to write manually, can also refer to and automatically or semi-automatically be compiled based on visual configuration interface
Write.
The logical relation between one or more component, and component can be retouched in rule language data
State, these descriptions can reflect the operation flow being made up of one or more of components.
When business scenario or service request source difference, corresponding service request may be different, it is necessary to accordingly perform
Different operation flows.And different operation flows can be represented by different rule language data, therefore, industry is being received
After business request, its corresponding rule language data can be obtained, in order to the correct operation flow of subsequent execution.
S204:The rule language data are explained, obtain orderly assembly set, each institute in the assembly set
The order for stating component meets the operation flow.
In this specification embodiment, logically operation flow is described for rule language data, and it can not
Directly perform, but need, by explaining, to perform again after translating to corresponding function code.The function code can at least wrap
The orderly assembly set is included, the assembly set includes one or more of components.
In this specification embodiment, the orderly assembly set such as can be component chained list or the component list
Deng.
S206:According to the service request, each component in the assembly set is performed.
In this specification embodiment, component execution sequence and the sequence consensus described in step S204, the execution group
Each component in part set is equivalent to the operation flow performed in step S202;Certainly, except the operation flow, also having can
Other flows can additionally be performed.
The executive agent of action involved by Fig. 2 can be same equipment or same program or distinct device or
Distinct program.For example step S204 executive agent is interpreter, step S206 executive agent is enforcement engine;Again for example,
It is same server apparatus that the executive agent of each step of flow in Fig. 2, which is,;Etc..
By Fig. 2 method, for the different scenes of same business, based on corresponding rule language data, Ke Yishi
Quickly accessing for existing business, therefore, can partly or entirely solve the problems of the prior art.
Method based on Fig. 2, this specification embodiment additionally provide some specific embodiments of this method, and extension
Scheme, it is illustrated below.
In this specification embodiment, it is contemplated that tree construction is advantageous to accelerate to explain speed, then described for step S204
The rule language data are explained, obtain orderly assembly set, can specifically be included:By the rule language data
Be converted to logic tree;The logic tree is parsed, obtains orderly assembly set.
In addition to logic tree, for example the other structures such as storehouse are also based on to being solved again after rule language data conversion
Analysis.
In this specification embodiment, the related letter comprising one or more of components in the rule language data
Breath, the relevant information can include:Information (such as function name, letter for the function of the sub-process corresponding to realizing
Number parameters, function realize logic etc.), the mapping between component parameter and required parameter configures.
The mapping configuration may indicate that how to be mapped between component parameter and required parameter.Further, the mapping
Configuration such as could also indicate which parameter is component parameter, and which parameter is required parameter, and how these parameters obtain.
Usually, the component parameter can include the function parameter and the other specification of the component, the request
Parameter inputs the parameter of the component when can be included in executive module;The required parameter can obtain according to the service request
Take, and/or the context when required parameter can perform according to the component obtains.
In this specification embodiment, more information are may also contain in the rule language data, such as, to business
The Adapted information of request, the logic groups information of component, way of output information of component etc..
In order to make it easy to understand, this specification embodiment is provided under a kind of practical application scene, write using markup language
Rule language data example.In this case, the various information included in rule language data are typically with corresponding mark
Label represent, it is assumed that the markup language is specially XML language, and the example is following (wherein, having partial content omission):
Label in above example is described as follows:
<rule>Label shows that this is an independent rule, and " id " attribute therein is used to identify the rule,
" request-type " attribute is used for the request object type for showing this service request.
<group>Label is to be used to carry out logic groups to component, and the classification of component can be facilitated to organize.
<component>Label shows that this is a specific component, and " name " attribute therein is used to show corresponding industry
The function name being engaged in code, " class " attribute are used for the title for representing the affiliated class of the function, and " dest-type " attribute is used for
Represent the object type of the component parameter.
<parameter-mapping>Label shows that the mapping of component parameter and required parameter configures;What emphasis to be illustrated
It is its subtab<field>In " src " attribute, its can have " reqeust.key " and " ctx.key " both represent shapes
Formula, " reqeust.key " form demonstrate the need for the value from request object, and " ctx.key " form is demonstrated the need for from enforcement engine
Context in value.
<component>It can also be included under label<return>Label, it is therein for showing the return value of component
" key " attribute is used to show the mark of the return value within a context, and " type " attribute is used for the type for showing the return value.
Summarized based on above example:The rule language data can be write using markup language, the rule
The various information then included in language data are with corresponding tag representation;There is labelled component (ratio in the rule language data
Described above<component>Label), be subordinated to the parameter map tags of the labelled component (than described above<
parameter-mapping>Label);Wherein, the parameter map tags can include above-mentioned mapping and configure.
Further, also there is following at least one label in the rule language data:
Regular label is (than described above<rule>Label), for representing that corresponding rule language data are independent rule
Then;
Packet label is (than described above<group>Label), for patrolling component corresponding to each labelled component
Collect packet;
Return value label is (than described above<return>Label), for representing the return value of corresponding component.
Above example is continued to use, with reference to Fig. 3, Fig. 4, the interpretation process to logic-based tree conversion regime to rule language data
Illustrate.
Fig. 3 is under a kind of practical application scene that this specification embodiment provides, and is obtained by rule language data conversion
Logic tree schematic diagram.Logic tree in Fig. 3 includes three logic groups of component:It is grouped A, packet B and packet C;The logic tree
Include 6 components altogether, the child node of component can be used to indicate that the information such as mapping configuration corresponding to the component.In the logic tree
Component need to perform after further parsing.
Fig. 4 be this specification embodiment provide obtained component chained list schematic diagram is parsed to the logic tree in Fig. 3.The group
Each component in part chained list, which has parsed, to be finished and can perform, and its order is:Component 1, component 2, component 3, component 4, component
5th, component 6.
In this specification embodiment, it is assumed that rule language data are write using markup language, then for step
S204, it is described that the rule language data are explained, orderly assembly set is obtained, can specifically be included:Successively to institute
Each labelled component that state has in rule language data is parsed, and obtains being made up of each component correspondingly parsed orderly
Assembly set;Wherein, the labelled component is carried out parsing each parameter map tags included to being subordinated to the labelled component
Parsed.
In order to make it easy to understand, this specification embodiment is provided under a kind of practical application scene, write using markup language
Rule language data interpretation algorithms pseudo-code example, the example is as follows:
In actual applications, rule language data can be explained by interpreter, then is tied by enforcement engine to explaining
Fruit is performed.
For example, for step S206, it is described according to the service request, perform each described group in the assembly set
Part, it can specifically include:According to the service request, the context of enforcement engine is created;Above and below the enforcement engine
Text, according to the order of each component in the assembly set, each component is performed successively, the process of the execution includes:
Parameter object corresponding to generation and destination object, the function according to corresponding to performing the object of generation, obtain implementing result.
Corresponding to above example, this specification embodiment additionally provides above-mentioned for performing under a kind of practical application scene
The pseudo-code example of the enforcement engine algorithm of explanation results, the example are as follows:
In this way, rule-based language data, by the way that above-mentioned interpretation algorithms and enforcement engine algorithm is used in combination, it is possible to achieve
Business quickly accesses.
In actual applications, manual redaction rule language is not friendly enough for operation personnel, can for this problem
So that in a manner of based on visual configuration, implementation rule language data is automatically or semi-automatically write.Specifically, can will not
The Component Gallery and parameter library of disconnected precipitation are supplied to operation personnel to use at rule language data configuration interface, and operation personnel then may be used
To obtain corresponding rule language data in the rule language data configuration interface configurations.
According to the analysis of the preceding paragraph, this specification embodiment provides a kind of field at rule-based language data configuration interface
The schematic flow sheet of scape insurance business access scheme, as shown in figure 5, wherein, the scene insurance business refers to for different scenes
Insurance business.
Flow in Fig. 5 can be related to 4 main bodys:Configuration personnel (such as operation personnel etc.), rule language data configuration
Interface, scene insurance business system, rule language data-storage system.Flow in Fig. 5 mainly includes the following steps that:
Configuration personnel are main specific to the configuration interface by rule language data configuration interface configurations rule language data
To include the component that selection Component Gallery provides, and carry out parameter mapping configuration;The rule language data configured are preserved
To rule language data-storage system;When operation system request task persistence, scene insurance business system please according to business
Source is asked, the rule language data corresponding to reading in the storage system;Explain that the rule language data generate by interpreter
Component chained list;Each component that the component chained list includes is performed by enforcement engine, and returns to implementing result.
In this specification embodiment, for same rule language data, if having been explained once and obtaining corresponding
Orderly assembly set, then the assembly set can be reused later, and can not have to reinterpret the rule language data,
In this way, advantageously reduce the consuming of computing resource.Method based on such thinking and Fig. 2, this specification embodiment also carry
Another method for processing business is supplied, the schematic flow sheet of another method for processing business is as shown in Figure 6.
Flow in Fig. 6 may comprise steps of:
S602:Obtain assembly set orderly corresponding to service request.
S604:According to the service request, each component in the assembly set is performed;Wherein, the assembly set leads to
Rule language data are explained to obtain after in advance, the rule language data represent to be corresponded to by what each component was formed
The operation flow of the service request, the component obtain by the way that the sub-process to the operation flow is abstract, the component set
The order of each component meets the operation flow described in conjunction.
Further, based on same thinking, this specification embodiment additionally provides a kind of data processing method, for pre-
First rule language data are explained, the schematic flow sheet of the data processing method is as shown in Figure 7.
Flow in Fig. 7 may comprise steps of:
S702:Rule language data are obtained, the rule language data represent the business being made up of one or more assemblies
Flow, the component obtain by the way that the sub-process to the operation flow is abstract.
S704:The rule language data are explained, obtain orderly assembly set, each institute in the assembly set
The order for stating component meets the operation flow.
Based on same thinking, this specification embodiment additionally provides device, such as figure corresponding to above-mentioned several method difference
8th, shown in Fig. 9, Figure 10.
A kind of structural representation for business processing device corresponding to Fig. 2 that Fig. 8 provides for this specification embodiment, the dress
Putting to be located in Fig. 2 on the executive agent of flow, including:
Acquisition module 801, obtains rule language data corresponding to service request, and the rule language data are represented by one
Or the operation flow that multiple components are formed, the component obtain by the way that the sub-process to the operation flow is abstract;
Explanation module 802, the rule language data are explained, obtain orderly assembly set, the component set
The order of each component meets the operation flow in conjunction;
Execution module 803, according to the service request, perform each component in the assembly set.
Alternatively, the explanation module 802 explains to the rule language data, obtains orderly assembly set,
Specifically include:
The rule language data are converted to logic tree by the explanation module 802;
The logic tree is parsed, obtains orderly assembly set.
Alternatively, the relevant information of one or more of components, the related letter are included in the rule language data
Breath includes:Configured for the mapping between the information of the function of the sub-process corresponding to realizing, component parameter and required parameter.
Alternatively, the mapping configuration shows that the required parameter obtains according to the service request, and/or shows described
Context when required parameter performs according to the component obtains.
Alternatively, the rule language data are write using markup language, are included in the rule language data
Various information are with corresponding tag representation;
There is labelled component in the rule language data, be subordinated to the parameter map tags of the labelled component.
Alternatively, the explanation module 802 explains to the rule language data, obtains orderly assembly set,
Specifically include:
The explanation module 802 parses to each labelled component having in the rule language data successively, obtains
The orderly assembly set being made up of each component correspondingly parsed;
Wherein, parsing is carried out to the labelled component to be included entering each parameter map tags for being subordinated to the labelled component
Row parsing.
Alternatively, also there is following at least one label in the rule language data:
Regular label, for representing that corresponding rule language data are independent rule;
Packet label, for carrying out logic groups to component corresponding to each labelled component;
Return value label, for representing the return value of corresponding component.
Alternatively, the execution module 803 performs each described group in the assembly set according to the service request
Part, specifically include:
The execution module 803 creates the context of enforcement engine according to the service request;
According to the context of the enforcement engine, according to the order of each component in the assembly set, perform successively
Each component, the process of the execution include:Parameter object corresponding to generation and destination object, performed according to the object of generation
Corresponding function, obtain implementing result.
Alternatively, the orderly assembly set is component chained list.
Alternatively, the business is insurance business, the structure of operation flow of the insurance business under a variety of different scenes
Into at least partly difference.
A kind of structural representation for business processing device corresponding to Fig. 6 that Fig. 9 provides for this specification embodiment, the dress
Putting to be located in Fig. 6 on the executive agent of flow, including:
Acquisition module 901, obtain assembly set orderly corresponding to service request;
Execution module 902, according to the service request, perform each component in the assembly set;
Wherein, the assembly set to rule language data by explaining to obtain in advance, the rule language data
The operation flow corresponding to the service request being made up of each component is represented, the component passes through to the operation flow
Sub-process it is abstract obtain, the order of each component meets the operation flow described in the assembly set.
Figure 10 is a kind of structural representation for data processing equipment corresponding to Fig. 7 that this specification embodiment provides, should
Device can be located in Fig. 7 on the executive agent of flow, including:
Acquisition module 1001, obtains rule language data, and the rule language data are represented by one or more assemblies structure
Into operation flow, the component to the sub-process of the operation flow is abstract by obtaining;
Explanation module 1002, the rule language data are explained, obtain orderly assembly set, the component set
The order of each component meets the operation flow in conjunction.
Based on same thinking, this specification embodiment additionally provides a kind of electronic equipment corresponding to Fig. 2, including:
At least one processor;And
The memory being connected with least one processor communication;Wherein,
The memory storage has can be by the instruction of at least one computing device, and the instruction is by described at least one
Individual computing device, so that at least one processor can:
Rule language data corresponding to service request are obtained, the rule language data are represented by one or more assemblies structure
Into operation flow, the component to the sub-process of the operation flow is abstract by obtaining;
The rule language data are explained, obtain orderly assembly set, each described group in the assembly set
The order of part meets the operation flow;
According to the service request, each component in the assembly set is performed.
Based on same thinking, this specification embodiment additionally provides a kind of electronic equipment corresponding to Fig. 6, including:
At least one processor;And
The memory being connected with least one processor communication;Wherein,
The memory storage has can be by the instruction of at least one computing device, and the instruction is by described at least one
Individual computing device, so that at least one processor can:
Obtain assembly set orderly corresponding to service request;
According to the service request, each component in the assembly set is performed;
Wherein, the assembly set to rule language data by explaining to obtain in advance, the rule language data
The operation flow corresponding to the service request being made up of each component is represented, the component passes through to the operation flow
Sub-process it is abstract obtain, the order of each component meets the operation flow described in the assembly set.
Based on same thinking, this specification embodiment additionally provides a kind of electronic equipment corresponding to Fig. 7, including:
At least one processor;And
The memory being connected with least one processor communication;Wherein,
The memory storage has can be by the instruction of at least one computing device, and the instruction is by described at least one
Individual computing device, so that at least one processor can:
Rule language data are obtained, the rule language data represent the operation flow being made up of one or more assemblies,
The component obtains by the way that the sub-process to the operation flow is abstract;
The rule language data are explained, obtain orderly assembly set, each described group in the assembly set
The order of part meets the operation flow.
Based on same thinking, a kind of non-volatile computer that this specification embodiment additionally provides corresponding to Fig. 2 is deposited
Storage media, is stored with computer executable instructions, and the computer executable instructions are arranged to:
Rule language data corresponding to service request are obtained, the rule language data are represented by one or more assemblies structure
Into operation flow, the component to the sub-process of the operation flow is abstract by obtaining;
The rule language data are explained, obtain orderly assembly set, each described group in the assembly set
The order of part meets the operation flow;
According to the service request, each component in the assembly set is performed.
Based on same thinking, a kind of non-volatile computer that this specification embodiment additionally provides corresponding to Fig. 6 is deposited
Storage media, is stored with computer executable instructions, and the computer executable instructions are arranged to:
Obtain assembly set orderly corresponding to service request;
According to the service request, each component in the assembly set is performed;
Wherein, the assembly set to rule language data by explaining to obtain in advance, the rule language data
The operation flow corresponding to the service request being made up of each component is represented, the component passes through to the operation flow
Sub-process it is abstract obtain, the order of each component meets the operation flow described in the assembly set.
Based on same thinking, a kind of non-volatile computer that this specification embodiment additionally provides corresponding to Fig. 7 is deposited
Storage media, is stored with computer executable instructions, and the computer executable instructions are arranged to:
Rule language data are obtained, the rule language data represent the operation flow being made up of one or more assemblies,
The component obtains by the way that the sub-process to the operation flow is abstract;
The rule language data are explained, obtain orderly assembly set, each described group in the assembly set
The order of part meets the operation flow.
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 can be come according to different from the order in embodiment
Perform and still can realize desired result.In addition, the process described in the accompanying drawings not necessarily require show it is specific suitable
Sequence or consecutive order could realize desired result.In some embodiments, multitasking and parallel processing be also can
With or be probably favourable.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.Especially for device,
For electronic equipment, nonvolatile computer storage media embodiment, because it is substantially similar to embodiment of the method, so description
It is fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
Device that this specification embodiment provides, electronic equipment, nonvolatile computer storage media with method are corresponding
, therefore, device, electronic equipment, nonvolatile computer storage media also there is the Advantageous similar with corresponding method to imitate
Fruit, due to the advantageous effects of method being described in detail above, therefore, repeat no more here corresponding intrument,
The advantageous effects of electronic equipment, nonvolatile computer storage media.
In the 1990s, the improvement for a technology can clearly distinguish 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 as 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 is 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, PLD
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, its logic function is determined by user to device programming.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, without asking chip maker to design and make
Special 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 have many kinds, 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 should
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,
Can is readily available the hardware circuit for realizing the logical method flow.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
Device and storage can by the computer of the computer readable program code (such as software or firmware) of (micro-) computing device
Read medium, 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 include 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 for the control logic of memory.It is also known in the art that except with
Pure computer readable program code mode realized beyond controller, completely can be by the way that method and step is carried out into programming in logic to make
Controller is obtained in the form of 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 various for realizing to including in it
The device of function can also be considered as the structure in hardware component.Or even, can be by for realizing that the device of various functions regards
For that not only can be the software module of implementation method but also can be the structure in hardware component.
System, device, module or the unit that above-described embodiment illustrates, it can specifically be realized by computer chip or entity,
Or realized by the product with certain function.One kind typically realizes that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet PC, wearable device or these equipment
The combination of equipment.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, this is being implemented
The function of each unit can be realized in same or multiple softwares and/or hardware during specification.
It should be understood by those skilled in the art that, this specification embodiment can be provided as method, system or computer program
Product.Therefore, this specification embodiment can use complete hardware embodiment, complete software embodiment or with reference to software and hardware
The form of the embodiment of aspect.Moreover, this specification embodiment can be can use using computer is wherein included in one or more
It is real in the computer-usable storage medium (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form for the computer program product applied.
This specification is with reference to the method, equipment (system) and computer program product according to this specification embodiment
Flow chart and/or block diagram describe.It should be understood that can be by every in computer program instructions implementation process figure and/or block diagram
One flow and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computers can be provided
Processor of the programmed instruction to all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices
To produce a machine so that produce use by the instruction of computer or the computing device of other programmable data processing devices
In the dress for realizing the function of being specified in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames
Put.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed 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 individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and internal memory.
Internal 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 storage (ROM) or flash memory (flash RAM).Internal 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 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), moved
State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein
Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of elements not only include those key elements, but also wrapping
Include the other element being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described
Other identical element also be present in the process of element, method, commodity or equipment.
This specification can be described in the general context of computer executable instructions, such as journey
Sequence module.Usually, program module include performing particular task or realize the routine of particular abstract data type, program, object,
Component, data structure etc..This specification can also be put into practice in a distributed computing environment, in these DCEs
In, by performing task by communication network and connected remote processing devices.In a distributed computing environment, program module
It can be located in the local and remote computer-readable storage medium including storage device.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for system
For applying example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.
The embodiment of this specification is the foregoing is only, is not limited to the application.For people in the art
For member, the application can have various modifications and variations.All any modifications made within spirit herein and principle, etc.
With replacement, improvement etc., should be included within the scope of claims hereof.