Specific embodiment
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with this specification
Attached drawing in embodiment is clearly and completely described the technical solution in this specification embodiment, it is clear that described
Embodiment is merely a part but not all of the embodiments of the present application.Based on the embodiment in the application, this field
Those of ordinary skill's every other embodiment obtained without creative efforts, all should belong to the application
The range of protection.
The thought of this specification embodiment is that used test frame is modular testing frame, i.e. test frame
Corresponding each testing process is individually enclosed in different modules, obtains multiple test modules, in this way, to target detection
When test script corresponding to interface is configured, test module can be selected according to actual needs, configured, to make
It is flexible and changeable to obtain test script generated;Based on this thought, this specification embodiment provides a kind of generation of test script
Method, apparatus, equipment and storage medium.It is following that the life of test script provided by this specification embodiment will be discussed in detail one by one
At method, apparatus, equipment and storage medium.
Method provided by this specification embodiment is applied to support the computer of widows and mac operating system, including platform
Formula computer or laptop computer etc..I.e. the executing subject of method provided by this specification embodiment is computer, specifically,
It can be the generating means for the test script being mounted on computer.
Fig. 1 is one of the method flow diagram of generation method of test script that this specification embodiment provides, shown in FIG. 1
Method includes at least following steps:
Step 102, the connection of test frame Yu target detection interface is established;Wherein, which is modular testing
Frame.
It wherein, is software interface in the target detection interface arrived mentioned in above-mentioned steps 102, which can be
Interactive interface etc. between application programming interfaces, people and software.Certainly, instruction herein illustrates some specific softwares and connects
Mouthful, above-mentioned target detection interface can also be other software interfaces, and this specification embodiment is not to the tool of above-mentioned software interface
Body type is defined, can be raw using method provided by this specification embodiment as long as belonging to the scope of software interface
At test script.
In general, test frame can execute the testing process of complete set, for example, may include data preparation, result
Multiple testing process such as verification, data scrubbing.So-called modular testing frame is then each test stream by test frame respectively
Cheng Jinhang splits, encapsulates, to obtain independent test module one by one.Such as, continue to use the example above, then it can be by data preparation
Process, result checking process, data scrubbing process carry out fractionation encapsulation respectively, to obtain individual module one by one, that is, divide
Other corresponding data preparation module, result correction verification module and data cleaning modul.
Certainly, in some cases, can also otherwise to test frame carry out modularization, if for example, certain
A test frame tests the login interface of certain application program, then general login process include user name input, password it is defeated
Enter and determines that the multiple testing process of login therefore, can be by user name input test when being packaged to test module
Process, Password Input testing process determine that log in testing process etc. is split respectively, to obtain individual mould one by one
Block respectively corresponds user name input test module, Password Input test module and determines login test module.
Certainly, above-mentioned only exemplary two kinds of modular modes for describing test frame, in addition to this it is possible to according to
Other modes carry out modularization to test frame, and specifically splitting according to which kind of fractionation rule to test frame can be according to reality
Border application scenarios are configured, and this specification embodiment is defined not to this.
Wherein, for above-mentioned steps 102, a kind of possible implementation is then test circle that user is shown in computer
The mark (such as title) that target detection interface in need of test is selected or inputted on face, so that computer is according to user's
Selection or input determine the target detection interface for needing that connection is established with test frame.
In the specific implementation, when needing to test target detection interface, then enter test interface, tool on computers
Body, test interface list can be shown on the surface, so that user selects currently to need to survey from the test interface list
The target detection interface of examination;Alternatively, test interface input frame is shown on the surface, so that user is in the test interface input frame
Interior input currently needs target detection interface to be tested.
Above-mentioned only to list two kinds of specific implementations for determining range estimation test interface, this specification embodiment is not right
Determine that target detection interface is that the concrete mode of which interface is defined.
In this specification embodiment, used test frame is module test frame, the i.e. test frame
It is split at each test module be independent module, for testing mould required for can selecting according to actual needs
Block avoids and is generating the test script for being directed to entire test frame, that is, simplifies test script generated, convenient for test foot
This maintenance and modification, while the test script that still must be generated is flexible and changeable.
Step 104, in response to the instruction of test script corresponding to generation target detection interface, displaying connects target detection
The configuration interface that test script corresponding to mouthful is configured, so that user configures test script;Wherein, configuration interface
Including the first configuration interface for configuring user to test module corresponding to test frame and for making user couple
The second configuration interface that the test parameter of target detection interface is configured.
In above-mentioned steps 104, the instruction of test script corresponding to above-mentioned generation target detection interface can be user
Triggered on computers by mouse, if computer is contact screen type computer, user can directly execute on computer interface
Corresponding operation (such as clicking operation) generates the instruction of test script to trigger.
For example, in a kind of concrete implementation mode, after establishing the connection between target detection interface and test frame,
User can execute right click operation on target detection interface by the mouse of computer, so that ejector pin is to target detection interface
Drop-down menu, comprising " generating test script " option in the drop-down menu, user clicks the drop-down dish by the mouse of computer
The option of " generating test script " in list, to send the instruction for generating test script to computer.
It is customized for that can be carried out according to current testing requirement to test script due in this specification embodiment
Or configuration, therefore, when user trigger generate target detection interface corresponding to test script instruction after, computer can to
Family shows the configuration interface configured to test script.
Specifically, can generally be carried out to the test module corresponding to test frame when being configured to test script
Configuration, can also configure the test parameter of target detection interface, and therefore, the configuration interface of showed user includes two
A interface, one is the first configuration interface configured to test module corresponding to the mad frame of test, and one is to target
The second configuration interface that the test parameter of test interface is configured.
In the specific implementation, two configuration interfaces can be simultaneously displayed on computer screen, when the user clicks above interface
" the first configuration interface " when, then the first configuration interface is shown on current screen, when the user clicks on interface " second configuration
When interface ", then the second configuration interface is shown on current screen;Also alternatively, when showing configuration interface, first show on a display screen
Show the first configuration interface, when user has executed to test module with postponing, then again to user's the second configuration interface of displaying;When
So, it can also first show the second configuration interface, then show the first configuration interface.
Above-mentioned only to list several concrete forms that configuration interface is shown to user, above-mentioned is exemplary illustration, and
The restriction to this specification embodiment is not constituted.
In addition, it is necessary to explanation, the above-mentioned test parameter to target detection interface is configured, actually for life
At the yaml file in test script.
Step 106, the test script for being directed to target detection interface is generated in the configuration of configuration interface according to user.
After illustrating the configuration interface configured to test script to user, being used for can be enterprising in the configuration interface
Row corresponding information being chosen or inputting, to generate test script according to actual needs.When user has executed in configuration interface
To test script with postponing, computer is according to user in configuration interface to the configuration item of test script, calling test script generation
Plug-in unit generates the test script for being directed to target detection interface.
The generation method for the test script that this specification embodiment provides, since the test frame used is modular testing
Therefore frame can configure each test module of test frame, needed for being selected in current test according to actual needs
Test module to be used, so that the test script generated is flexible and changeable.
The generation method for the test script that this specification embodiment provides for ease of understanding, it is following will be described in detail it is above-mentioned each
The specific implementation process of a step.
In this specification embodiment, above-mentioned test frame includes at least one or more of following test module:
Data preparation module, result correction verification module and data cleaning modul;
Wherein, above-mentioned data preparation module one of comprises the following modules or a variety of:
User's initialization module, data initialization module, service initialisation module and mock initialization module.
Wherein, Fig. 2 shows a kind of possible test module division mode of the test frame in this specification embodiment,
In test frame shown in Fig. 2, test module included by the test frame is user's initialization module, data initialization mould
Block, server initiation module, mock initialization module, result correction verification module and data cleaning modul.
In the specific implementation, in above-mentioned steps 104, in response to generating the finger of test script corresponding to target detection interface
It enables, shows the configuration interface configured to test script corresponding to target detection interface, include at least following steps (one)
And step (2);
Step (1), the instruction in response to generating test script corresponding to target detection interface show the first configuration circle
Face and the second configuration interface so that user the first configuration interface execute choose test module choose operation, and second
Configuration interface, which executes, to be chosen the test parameter of target detection interface and chooses operation;
Step (2) chooses operation in response to what user executed on the first configuration interface, shows the survey that user is chosen
Module corresponding to die trial block configures sub-interface, so that user matches corresponding test module in module configuration sub-interface
It sets.
Wherein, after user triggers the instruction for generating test script corresponding to target detection interface, in the aobvious of computer
Test script configuration interface is shown to user in display screen, wherein the configuration interface includes first configured to test module
Configuration interface, and the second configuration interface for entering ginseng and being configured to target detection interface.
Specifically, user can match to needing test module to be used to choose second on the first configuration interface
It sets on interface, for that can be chosen to the test parameter of target detection interface.The one kind configured to test script can
The configuration interface of energy is as shown in Figure 3.
On configuration interface shown in Fig. 3, user is made by clicking " the first configuration interface " above interface shown in Fig. 3
It obtains and currently shows to be the first configuration interface, test module option corresponding to test frame is provided on the configuration interface,
Including user's initialization module, data initialization module, mock initialization module, service initialisation module, result correction verification module
With data cleaning modul, and be provided with choice box before each test module, user by click (mouse click or
Gesture operation) choice box before corresponding test module carries out the selection of the test module, if for example, being connect to target detection
When mouth is tested, needing using service initialisation module, then user can click the choice box before service initialisation module,
And after user clicks, it will appear one in the choice box to hook, show that the test module has been selected in user;Certainly, if
It is that user selects mistake, clicks choice box before the test module again, then can cancel the selection to the test module.
In the same way, the test parameter of target detection interface can be configured on the second configuration interface,
When the user clicks when " the second configuration interface " above interface shown in Fig. 3, then it is currently configured interface and jumps to the second configuration interface,
The interface that the test parameter of target detection interface is configured, as shown in Figure 4.
On configuration interface shown in Fig. 4, currently shows to be the second configuration interface, be provided with mesh on the configuration interface
The test parameter option for marking test interface there are the test ginseng of whole corresponding to target detection interface on the configuration interface
Number, so that user chooses according to actual needs, if in addition, some test parameter corresponding to the target detection interface is
Reference type then also can all show all fields under cited test parameter on the second configuration interface.
For example, as shown in figure 4, test parameter corresponding to current goal test interface is the identity mark for showing all students
Know (Identification, ID), then the test interface introduces " student ", and needing on the surface will be corresponding to " student "
All fields are all shown, and such as student Name (student name), student No (student number), student Sex (are learned
Natural disposition is other), student Age (students ' age) and school Name (school's title) etc..
If need select " students' genders " this parameter, then user can be clicked on computer interface " students' genders " this
Choice box before one parameter, before choice box when display " to hooking ", then explanation has selected for the test parameter.
In addition, in this specification embodiment, when user chooses operation to test module execution on the first configuration interface
When, which test module user has chosen, and can jump to the configuration sub-interface of module corresponding to the test module, automatically so as to right
The test module is configured accordingly.
Specifically, configuring to each test module, corresponding data can be inputted in the test module, selection is somebody's turn to do
The information such as the test operation executed required for test module.In the specific implementation, each test module includes multiple functions, example
Such as, user's initialization module may include creating functions, the data initialization modules such as new user, old user's initialization to may include
Interface enters ginseng initialization, database (Database, DB) data initialization etc.;Mock initialization module includes that input uses mock
Precondition, the expected results of mock etc.;Service initialisation module includes definition interface service to be measured, calls interface clothes to be measured
Business etc.;As a result correction verification module include the verification of interface return parameters, DB data check, message checking and message verification etc. contents;Number
It include the functions such as the precondition for clearing up data, cleaning mock service, cleaning tair, cleaning DB data according to cleaning modul.Therefore,
A kind of specific structural schematic diagram of test frame is as shown in Figure 2.Certainly, Fig. 2 is that the exemplary test frame that lists is drawn
Function items corresponding to each test module and each test module divided, do not constitute the restriction to this specification embodiment.
If the interface then currently shown can jump for example, user has chosen result correction verification module on the first configuration interface
It goes to configuration sub-interface corresponding to result correction verification module to be configured, as shown in figure 5, specifically, in result correction verification module institute
In corresponding configuration sub-interface, user can choose corresponding verification content.Certainly, the configuration corresponding to certain test modules
In sub-interface, user can also carry out the input of data or certain parameters, for different test modules, corresponding configuration
There are difference, above-mentioned Fig. 5 only to illustrate, not constituted to this specification by taking result correction verification module as an example for sub-interface
The restriction of embodiment.
In addition, it is necessary to explanation, in order to realize method provided by this specification embodiment, establish test frame with
Before the connection of target detection interface, method provided by this specification embodiment further includes following steps:
Test frame is split and encapsulated according to setting rule, obtains multiple tests corresponding to the test frame
Module.
Specifically, above-mentioned setting rule can be test function or corresponding test point, it is exemplary in front
Describe the specific fractionation mode split to test frame, details are not described herein again.
In addition, test script generated is general frame in this specification embodiment, test script is being generated
Afterwards, comma separated value (Comma-Separated can be filled in test script generated according to actual case
Values, CSV) format data, for example, the data filled can be the interface field information, some of target detection interface
Parameter information needed for remark information, interface field etc..
In addition, being associated in advance with remote server in this specification embodiment, in this way, being directed to target generating
After the test script of test interface, then the test script of generation is sent to server and stored.In this way, carrying out continuing collection
Cheng Shi can also run the test script.
In addition, frame can be used and be packaged to target detection interface, in this way, right in this specification embodiment
When target detection interface is tested, then it need not call problem by concerned interface again, testing efficiency can be improved.
In addition, the writing lattice in this specification embodiment, in each test module in the Code Template of corresponding function
Formula is unified, in this way, the code format of each test module part is also unified in test script generated, so that surveying
Entire code format write cascade that is consistent, also, being also convenient between each test module in training sheet.
Fig. 7 is the two of the method flow diagram of the generation method for the test script that this specification embodiment provides, shown in Fig. 7
Method includes at least following steps:
Step 702, the instruction of user's triggering tested target detection interface is received.
Wherein, the mark of target detection interface, such as title are carried in the instruction.
Step 704, the connection of test frame Yu target detection interface is established;Wherein, which is modular testing
Frame.
Step 706, the instruction for generating test script corresponding to target detection interface for receiving user's triggering, to user's exhibition
Show the first configuration interface and the second configuration interface configured to test script.
Step 708, operation is chosen in response to what user executed on the first configuration interface, shows the test that user is chosen
Module corresponding to module configures sub-interface, so that user matches corresponding test module in module configuration sub-interface
It sets.
Step 710, matched according to what user executed in the first configuration interface, the second configuration interface and module configuration sub-interface
Operation is set, the test script for being directed to target detection interface is generated.
Wherein, the specific implementation process of each step can refer to the reality of method corresponding to Fig. 1-Fig. 6 in embodiment corresponding to Fig. 7
The specific implementation process of each step in example is applied, details are not described herein again.
The generation method for the test script that this specification embodiment provides, using modular test frame to target detection
Interface is tested, and when generating test script, user can be by the test script configuration interface that is shown, according to practical need
The test parameter to test module corresponding to test frame and target detection interface is asked to configure, to realize basis
User's actual need to test script carry out configuration or it is customized so that test script generated is flexible and changeable.
Corresponding to the method that this specification embodiment provides, it is based on identical thinking, this specification embodiment provides one
The generating means of kind test script, the generation method of the test script for executing the offer of this specification embodiment, Fig. 8 is this theory
The module composition schematic diagram of the generating means for the test script that bright book embodiment provides, device shown in Fig. 8, comprising:
Module 802 is established, for establishing the connection of test frame Yu target detection interface;Wherein, test frame is module
Change test frame;
Display module 804 is shown for the instruction in response to generating test script corresponding to target detection interface to mesh
The configuration interface that test script corresponding to mark test interface is configured, so that user configures test script;Wherein,
Configuration interface includes the first configuration interface for configuring user to test module corresponding to test frame and is used for
The second configuration interface for configuring user to the test parameter of target detection interface;
Generation module 806, for generating the test foot for being directed to target detection interface in the configuration of configuration interface according to user
This.
Optionally, above-mentioned display module 804, comprising:
First display unit shows for the instruction in response to generating test script corresponding to target detection interface
One configuration interface and the second configuration interface so that user the first configuration interface execute choose test module choose operation, with
And it is executed in the second configuration interface and chooses the test parameter of target detection interface and choose operation;
Second display unit, the operation of choosing for executing on the first configuration interface in response to user show user institute
Module corresponding to the test module chosen configures sub-interface, so that user is in module configuration sub-interface to corresponding test mould
Block is configured.
Optionally, above-mentioned test frame includes at least one or more of following test module:
Data preparation module, result correction verification module and data cleaning modul;
Wherein, above-mentioned data preparation module includes one or more of following test module:
User's initialization module, data initialization module, service initialisation module and mock initialization module.
Optionally, the device that this specification embodiment provides, further includes:
Sending module is stored for the test script of generation to be sent to server.
Optionally, the device that this specification embodiment provides, further includes:
Module is split, for the test frame to be split and encapsulated according to setting rule, obtains the test block
Multiple test modules corresponding to frame.
The generating means of the test script of this specification embodiment can also carry out the generating means of test script in Fig. 1-Fig. 7
The method of execution, and the generating means of test script are realized in Fig. 1-embodiment illustrated in fig. 7 function, details are not described herein.
The generating means for the test script that this specification embodiment provides, using modular test frame to target detection
Interface is tested, and when generating test script, user can be by the test script configuration interface that is shown, according to practical need
The test parameter to test module corresponding to test frame and target detection interface is asked to configure, to realize basis
User's actual need to test script carry out configuration or it is customized so that test script generated is flexible and changeable.
Further, based on above-mentioned Fig. 1 to method shown in Fig. 7, this specification embodiment additionally provides a kind of test foot
This generating device, as shown in Figure 9.
The generating device of test script can generate bigger difference because configuration or performance are different, may include one or
More than one processor 901 and memory 902 can store one or more storages in memory 902 using journey
Sequence or data.Wherein, memory 902 can be of short duration storage or persistent storage.The application program for being stored in memory 902 can be with
Including one or more modules (diagram is not shown), each module may include one in the generating device to test script
Family computer executable instruction information.Further, processor 901 can be set to communicate with memory 902, test
The series of computation machine executable instruction information in memory 902 is executed in the generating device of script.The generation of test script 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, the generating device of test script include memory and one or one with
On program, perhaps more than one program is stored in memory and one or more than one program can wrap for one of them
Include one or more modules, and each module may include that series of computation machine in generating device to test script can
Information is executed instruction, and is configured to execute this by one or more than one processor or more than one program includes
For carrying out following computer executable instructions information:
Establish the connection of test frame Yu target detection interface;Wherein, test frame is modular testing frame;
In response to generating the instruction of test script corresponding to target detection interface, show to corresponding to target detection interface
The configuration interface that is configured of test script so that user configures test script;Wherein, configuration interface includes being used for
The first configuration interface for configuring user to test module corresponding to test frame and for making user to target detection
The second configuration interface that the test parameter of interface is configured;
The test script for being directed to target detection interface is generated in the configuration of configuration interface according to user.
Optionally, computer executable instructions information when executed, in response to generate target detection interface corresponding to
The instruction of test script shows the configuration interface configured to test script corresponding to target detection interface, comprising:
In response to generating the instruction of test script corresponding to target detection interface, show that the first configuration interface and second is matched
Interface is set, so that user executes the operation of choosing for choosing test module in the first configuration interface, and is held in the second configuration interface
The capable test parameter for choosing target detection interface chooses operation;
Operation is chosen in response to what user executed on the first configuration interface, the test module institute for showing that user is chosen is right
The module configuration sub-interface answered, so that user configures corresponding test module in module configuration sub-interface.
Optionally, when executed, above-mentioned test frame includes at least following test mould to computer executable instructions information
One or more of block:
Data preparation module, result correction verification module and data cleaning modul;
Wherein, above-mentioned data preparation module includes one of following test module or a variety of:
User's initialization module, data initialization module, service initialisation module and mock initialization module.
Optionally, computer executable instructions information when executed, it is above-mentioned according to above-mentioned user in above-mentioned configuration interface
Configuration generate for above-mentioned target detection interface test script after, following steps can also be performed:
The test script of generation is sent to server to store.
Optionally, computer executable instructions information is when executed, above-mentioned to establish test frame and target detection interface
Connection before, can also carry out following steps:
The test frame is split and encapsulated according to setting rule, is obtained multiple corresponding to the test frame
Test module.
The generating device for the test script that this specification embodiment provides, using modular test frame to target detection
Interface is tested, and when generating test script, user can be by the test script configuration interface that is shown, according to practical need
The test parameter to test module corresponding to test frame and target detection interface is asked to configure, to realize basis
User's actual need to test script carry out configuration or it is customized so that test script generated is flexible and changeable.
Further, based on above-mentioned Fig. 1 to method shown in Fig. 7, this specification embodiment additionally provides a kind of storage Jie
Matter, for storing computer executable instructions information, in a kind of specific embodiment, the storage medium can for USB flash disk, CD,
Hard disk etc., the computer executable instructions information of storage medium storage are able to achieve following below scheme when being executed by processor:
Establish the connection of test frame Yu target detection interface;Wherein, test frame is modular testing frame;
In response to generating the instruction of test script corresponding to target detection interface, show to corresponding to target detection interface
The configuration interface that is configured of test script so that user configures test script;Wherein, configuration interface includes being used for
The first configuration interface for configuring user to test module corresponding to test frame and for making user to target detection
The second configuration interface that the test parameter of interface is configured;
The test script for being directed to target detection interface is generated in the configuration of configuration interface according to user.
Optionally, the computer executable instructions information of storage medium storage is when being executed by processor, in response to life
At the instruction of test script corresponding to target detection interface, test script corresponding to target detection interface is matched in displaying
The configuration interface set, comprising:
In response to generating the instruction of test script corresponding to target detection interface, show that the first configuration interface and second is matched
Interface is set, so that user executes the operation of choosing for choosing test module in the first configuration interface, and is held in the second configuration interface
The capable test parameter for choosing target detection interface chooses operation;
Operation is chosen in response to what user executed on the first configuration interface, the test module institute for showing that user is chosen is right
The module configuration sub-interface answered, so that user configures corresponding test module in module configuration sub-interface.
Optionally, the computer executable instructions information of storage medium storage is when being executed by processor, test frame
Including at least one or more of following test module:
Data preparation module, result correction verification module and data cleaning modul;
Wherein, data preparation module includes one of following test module or a variety of:
User's initialization module, data initialization module, service initialisation module and mock initialization module.
Optionally, the computer executable instructions information of storage medium storage is when being executed by processor, according to user
After the configuration of configuration interface generates the test script for target detection interface, following process can also be performed:
The test script of generation is sent to server to store.
Optionally, the computer executable instructions information of storage medium storage establishes test when being executed by processor
Before the connection of frame and target detection interface, following process can also be performed:
The test frame is split and encapsulated according to setting rule, is obtained multiple corresponding to the test frame
Test module.
The computer executable instructions information for the storage medium storage that this specification embodiment provides is being executed by processor
When, target detection interface is tested using modular test frame, when generating test script, user can pass through institute
The test script configuration interface of displaying, according to actual needs to test module corresponding to test frame and target detection interface
Test parameter configured, thus realize according to user's actual need to test script carry out configuration or it is customized, make
It is flexible and changeable to obtain test script generated.
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 reference according to the method for this specification embodiment, the stream of equipment (system) and computer program product
Journey figure and/or block diagram describe.It should be understood that can be by computer program instructions information realization flowchart and/or the block diagram
The combination of process and/or box in each flow and/or block and flowchart and/or the block diagram.It can provide these calculating
Machine program instruction information is to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices
Processor is to generate a machine, so that the instruction executed by computer or the processor of other programmable data processing devices
Information generates specifies for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
Function device.
These computer program instructions information, which may also be stored in, is able to guide computer or other programmable data processing devices
In computer-readable memory operate in a specific manner, so that command information stored in the computer readable memory produces
Raw includes the manufacture of command information device, the command information device realize in one or more flows of the flowchart and/or
The function of being specified in one or more blocks of the block diagram.
These computer program instructions information also can be loaded onto a computer or other programmable data processing device, so that
Series of operation steps are executed on a computer or other programmable device to generate computer implemented processing, thus calculating
The command information that is executed on machine or other programmable devices provide for realizing in one or more flows of the flowchart and/or
The step of function of being specified in one or more blocks of the block diagram.
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 instruction information, data structure, the module of program or other numbers
According to.The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory
(SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory
(ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory techniques, CD-ROM are read-only
Memory (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.According to
Herein defines, and computer-readable medium does not include temporary computer readable media (transitory media), such as modulation
Data-signal and carrier wave.
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 computer executable instructions information it is general up and down described in the text, such as
Program module.Generally, program module include routines performing specific tasks or implementing specific abstract data types, it is program, right
As, component, data structure etc..The application can also be practiced in a distributed computing environment, in these distributed computing environment
In, by executing task by the connected remote processing devices of communication network.In a distributed computing environment, program module
It can be located 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.