CN201266944Y - Script device of multi-terminal mode - Google Patents

Script device of multi-terminal mode Download PDF

Info

Publication number
CN201266944Y
CN201266944Y CNU2008201093111U CN200820109311U CN201266944Y CN 201266944 Y CN201266944 Y CN 201266944Y CN U2008201093111 U CNU2008201093111 U CN U2008201093111U CN 200820109311 U CN200820109311 U CN 200820109311U CN 201266944 Y CN201266944 Y CN 201266944Y
Authority
CN
China
Prior art keywords
script
instruction
terminal
master control
control set
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CNU2008201093111U
Other languages
Chinese (zh)
Inventor
何山度
林艳椿
江炜斌
邝嘉升
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CNU2008201093111U priority Critical patent/CN201266944Y/en
Application granted granted Critical
Publication of CN201266944Y publication Critical patent/CN201266944Y/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The utility model relates to a script device based on a multiple terminal mode, which communicates with a basic business terminal. The script device comprises a master control set, a macroinstruction interpretation device, a script translation device and a data storage device; the master control set is respectively connected with the macroinstruction interpretation device, the script translation device and the data storage device; the script translation device acquires instruction set script from the data storage device by the master control set and analyzes and translates the script instructions into macroinstructions or operations of the basic business terminal; and the macroinstruction interpretation device communicates with the basic business terminal by the master control set, and restores the macroinstructions generated by the script translation device into the operations adapted to terminal modes of the basic business terminal. In the device, the same set of script can be adapted to application interfaces of different terminal modes, after designing test cases, a user can realize tests in various terminal modes by only maintaining one set of script.

Description

The script device of multi-terminal mode
Technical field
The utility model relates to network communication field, relates in particular to a kind of script device based on multiple terminal pattern.
Background technology
The function automated test tool all is to take the mode of recording/replaying to come the analog subscriber practical operation basically.When recording script, a kind C used by testing tool or other scripts (TSL:Test Script Language) generate a test script, this script logging the overall process of test operation, the process of operation before realizing repeating automatically by this script of playback by testing tool then.
Chinese patent prospectus CN1859180A discloses a kind of system that realizes network terminal equipment configuration automatic updating, as shown in Figure 1.Network-termination device 200 links to each other with upgrade server 100 by FTP or HTTP, escalation policy script generator 101 adopts script JavaScript commonly used to write the escalation policy script, and object program library 102 storage networking terminal equipments 200 carry out the target program of software upgrading or configuration information update needs.Wherein, script interpreter 201 according to the grammer of JavaScript to the script execution that makes an explanation, when running in the escalation policy script self-defining JavaScript function, call the interface function of program 202 to be upgraded by script interpreter 201 according to self-defining function life again, and relevant parameters is handed down to the interface function of program 202 to be upgraded.After interface function was finished corresponding operation, script interpreter 201 was explained according to the return value of interface function and is carried out follow-up escalation policy script.
Therefrom present as can be seen automated test tool has following two main features:
One uses different instruction set scripts at dissimilar Application Program Interfaces.Even for the test of same purpose, if application program various terminals represent pattern difference (as: character terminal, graphic terminal etc.), the instruction set script is just different.In the test process, require at different types of terminals difference recording/replaying script, and carry out the maintenance of script respectively.Thus, not only increased the script management costs, owing to need revise script repeatedly, the corresponding efficient that also reduces test.
They are two years old, business-like testing tool is in recording process, be actually the program statement that each operating procedure is decomposed into the multirow script, tester's GPRS testing tool, must possess certain Basis of Computer Engineering programming language knowledge, understanding programming principle and skill and could edit test script preferably, thereby further utilize testing tool to carry out software test.Thus, improved the gate threshold of going into of automatization testing technique, more bundle has been made an appointment with automated test tool applying in software test.
Summary of the invention
The purpose of this utility model provides a kind of script device based on multi-terminal mode, to overcome exist in the existing script technology strong to the terminal type dependence, instruction set script complexity, the defective of portable, autgmentability difference.
To achieve these goals, the utility model provides a kind of script device based on multi-terminal mode, carry out communication with the basic service terminal, it is characterized in that: this script device comprises master control set, macro-instruction interpreting means, script translating equipment and data storage device; Described master control set is connected with data storage device with described macro-instruction interpreting means, described script translating equipment respectively; Described script translating equipment obtains the instruction set script and directive script is resolved one by one the operation that is translated as macro-instruction or basic service terminal from described data storage device by described master control set; Described macro-instruction interpreting means carries out communication by described master control set and described basic service terminal, the macro-instruction of described script translating equipment generation is reduced to the operation of the terminal pattern that is adapted to described basic service terminal.
Script device based on multi-terminal mode of the present utility model also comprises the script record device, this script record device is connected with described master control set, described script record device carries out communication by unified instruction set generation script by described master control set and described basic service terminal, and the script that is generated is stored in the data storage device.
Script device based on multi-terminal mode of the present utility model comprises that also script writes modifier, and this script is write modifier and is connected with described master control set, write the described generation script of modifier by described script and revise, or direct compile script.
Wherein, the modification to described script comprises the adding custom script.
Described script record device receives described basic service terminal information, monitors the input and output operation of described basic service terminal, and the real-time status information relevant with generation script.
Described script translating equipment comprises basic directive script translation module, and described basic directive script translation module is translated into basic script and the mutual macroinstruction set of various different terminals patterns.
Described script translating equipment also comprises custom script instruction translation module, and described custom script instruction translation device instructs to custom script and resolves, to obtain to call the title and the input value of translation module.
Script device of the present utility model can be recorded module by script and be converted into instruction set script directly perceived, easy, flexible, that autgmentability is strong being applied to the Application Program Interface operation of different types of terminals pattern.In automatic test course, only need to be implemented in the Application Program Interface playback of number of different types terminal pattern by a unified instruction set script.Neither need the tester to be concerned about any script technology relevant, also do not need to be grasped the Basis of Computer Engineering programming language, greatly reduce the requirement of tester script technology with terminal interface.In addition, this mode has also reduced the cost of script management maintenance, only needs to safeguard a script, promptly applicable to various dissimilar terminal patterns.In addition, by custom instruction mode flexibly, also can increase the extensibility of this device, as: plug-in DB2 client, virtual peripheral application, localized data acquisition etc., enrich constantly and improve the various functions of test terminal, thereby the tester can be applied to the time of saving in the middle of the design of the planning of testing scheme, plan and test cases more absorbedly.
In sum, effect of the present utility model and advantage are as follows:
Same set of script can be adapted to the Application Program Interface of different terminals pattern, as: character terminal, graphic terminal etc., the user only needs to safeguard that a cover script can be implemented in the test on the various terminal patterns after having designed test cases.
By defined instruction collection script, avoided the user to manipulate computer programming language directly.Unified instruction set script is by carrying out integration processing to user's operation commonly used, under, the impregnable prerequisite of script flexibility unaffected in user function, greatly simplifies, directly perceived and expanded the instruction set script of commercialization testing tool.
By the custom script instruction set, make the script can be interconnected with external application like a cork, increased the flexibility and the extensibility of script, also make script can satisfy various special operational trials demands easily.
The instruction set script is included into input item title, operational motion and input item numerical value in the middle of same the instruction, make the user time know corresponding relation between current input item and the input value in input, the mode that helps being expanded into form defines test cases, thereby has opened up a new test mode for being directly changed into test script by test cases.
Description of drawings
Fig. 1 is the schematic network structure of prior art.
Fig. 2 is the schematic network structure according to the automatization test system of the utility model execution mode.
Fig. 3 is the structural representation based on the script device of multi-terminal mode according to the utility model execution mode.
Fig. 4 is the structural representation according to the script translating equipment of the utility model execution mode.
Fig. 5 records flow chart according to the script based on the processing method of multi-terminal mode script device of the utility model execution mode.
Fig. 6 is the script playback flow chart based on the processing method of multi-terminal mode script device according to the utility model execution mode.
Embodiment
For making the purpose of this utility model, technical scheme and advantage clear more understandable,, the utility model is described in further details below in conjunction with accompanying drawing.At this, illustrative examples of the present utility model and explanation thereof are used to explain the utility model, but not as to qualification of the present utility model.
Please refer to Fig. 2, Fig. 2 is the schematic network structure according to the automatization test system of the utility model execution mode.As shown in Figure 2, comprise that according to automatization test system script device 1, basic service terminal 2, service server end 3, database storage arrangement 4 and inner wide area network 5 form by the utility model execution mode.Script device 1 can be connected with service server end 3 and database storage arrangement 4 by inner wide area network 5 with basic service terminal 2.
Basic service terminal 2 can be the terminal of various patterns such as textual interface terminal or graphical interfaces terminal, is that the terminal that can finish the operation system basic function is preposition, equipment or instrument.It does not comprise the feature of any automatic test, and the business personnel can use basic service terminal 2 to finish pure manual operational trials under the situation that does not rely on other device.
Script device 1 is connected to basic service terminal 2, its function on the one hand, be in the transaction of basic service terminal 2 proper testings, carry out the work of recording of instruction set script, and the instruction set script of recording is put on the database storage arrangement 4, basic service terminal for other patterns on the basic service terminal of this pattern or the wide area network is used, and also the instruction set script can be stored in basic service terminal this locality, only for local basic service terminal use; On the other hand, script device 1 this instruction set script by recording before the playback, the operation of control basic service terminal 2, thus carry out automatic test.In addition, script device 1 can also be made amendment or directly writes new script script.
Service server end 3 is server ends of operation system, it can be the server platform of various operating systems such as LINUX, UNIX, SOLARIS, its function is after receiving business data packet, carries out service logic and resolves and Business Processing, and feedback service processing result information.It does not comprise the feature of any automatic test, just the backstage service server of basic service terminal 2.
Database storage arrangement 4 is preserved script device 1 and is recorded the instruction set script of generation, and correspondence leaves in data structure table 1 script table, the table 2 content for script table, its data structure and being described as follows:
Table 1, script table
Title Definition Type Explain
Script ID SCRIPT_ID NUMBER(10) The script numbering, PK
Script type SCRIPT_TYPE VARchar2(1) Script type: 1-character terminal, 2-graphic terminal, types such as 3-IE
Script name SCRIPT_NAME VARchar2(200 ) The simple description of script when having a plurality of script for single case, is ejected each script name and script type, offers the user and independently selects
Version number SCRIPT_VERSION VARchar2(50) Script version number, as: NOVA1.5 etc.
Effective marker ISVALID VARchar2(1) 0-invalid, 1-effectively, the old script of 2-
The establishment people SCRIPT_FIRST_OPR NUMBER(10) Script is worked out people ID for the first time
The establishment time SCRIPT_OPR_DATE DATETIME Script is worked out the time for the first time
Revise the people at last SCRI_PT_FINAL_OPR NUMBER(10) Script is finally worked out people ID
Last modification time SCRIPT_FINAL_DATE DATETIME The final modification time of script
Template mark ISTEMPLATE VARchar2(1) The 0-non-template, the 1-template
The script access times SCRIPT_USED_COUNT NUMBER(10) The script access times
Script is revised number of times SCRIPT_MODIFIED_COUNT NUMBER(10) Script is revised number of times
Table 2, content for script table:
Field name Definition Type Explanation
Script ID SCRIPT_ID NUMBER(10) The script numbering, PK
Content for script LONG
Inner wide area network 5 typically refers to the wide area network of enterprises.Its function is to be used to connect basic service terminal 2, service server end 3 and database storage arrangement 4.
Please refer to Fig. 3, Fig. 3 is the structural representation based on the script device of multi-terminal mode according to the utility model execution mode.As shown in Figure 3, the script device 1 based on multi-terminal mode of the present utility model comprises master control set 11, script record device 12, macro-instruction interpreting means 14, and script translating equipment 13, data storage device 15 and script are revised and write device 16.
The coordination and the interlock of each module between the communication of master control set 11 responsible whole script devices and external device (ED) and the script device inside.
Script record device 12 carries out communication by master control set 11 and basic service terminal 2, and the major function of realization is: the first, monitor all input and output operations of basic service terminal 2, and the various real-time status information relevant with generation script; The second, the input and output of filtering validated user, and by unified instruction set generation script.The script that generates will be stored in or the database storage arrangement 4 of data storage device 15 (local storage) or system in.
The major function that script translating equipment 13 is is: obtain concrete instruction set script from data storage device 15 or in the database storage arrangement 4, resolve, be translated as concrete macro-instruction one by one or to other operations of basic service terminal 2 with wherein directive script is capable.
Macro-instruction interpreting means 14 carries out communication by master control set 11 and basic service terminal 2, and the major function of realization is: with the macro-instruction that script translating equipment 13 produces, be reduced to the operation of the basic service terminal 2 that is adapted to concrete certain terminal pattern.
Therefore, script translating equipment 13 and macro-instruction interpreting means 14 have been realized the analytical capabilities of same set of script to different mode basic service terminal 2 jointly, this two parts employing separate design then greatly reduces the degree of coupling between basic service terminal 2 and the instruction set script, simpler when the dissimilar basic service terminal of interpolation 2 is handled, also help carrying out the expansion of instruction set script on the other hand.
The function of data storage device 15 is basic scripts that storage is recorded, and the instruction set script through revising, and uses for basic service terminal 2.
It is that basic script is made amendment that script is revised the function of writing device 16, as adding custom script, perhaps directly writes new script.
The basic functional principle of script device 1 can be summed up as following 2 points:
One, under the recording state, script record device 12 passes through the input-output operation that master control set 11 monitors basic service terminals 2, and generates the instruction set script according to teller's operational circumstances, is saved in data storage device 15 or the database storage arrangement 4.
Two, under the playback state; Master control set 11 is at first coordinated script translating equipment 13 and obtain the instruction set script from data storage device 15 (or database storage arrangement 4); And be translated as macro-instruction; Then master control set is sent to macro-instruction interpreting means 14 with this macro-instruction and resolves; Macro-instruction interpreting means 14 is about to the terminal pattern of operation according to script; Macro-instruction is translated as the operational order that is adapted to a certain terminal pattern; Carry out communication by master control set 11 and basic service terminal 2; Concrete operations in the reduction basic service terminal 2
Each script in database storage arrangement 4 and the data storage device 15 is made of one group of instruction, describes the intention of test.Concrete command format is:
Capable number | the instruction title | parameter one | parameter two // instruction note
Wherein, the executive condition of parameter one ordinary representation instruction, parameter is the execution parameter of presentation directives second, if when a plurality of execution parameter is arranged, between available " ^^ " separate.
For example, to following instruction:
The 12| input item | Currency Type | 12<E〉// 1. RMB (in) 12. pound of 13. Hongkong dollar (in)
Its script implication is: if when current input item title is " Currency Type ", then key in content " 12<E〉" at input domain.(herein<E〉be the escape symbol that pre-defines, i.e. enter key Enter)
The execution intention of script has been described in many instructions jointly, i.e. " when terminal interface ran into certain state, which kind of response action script need make to this ".
In addition, after recording the basic script of generation, can make amendment to this basic script according to the needs of automatic test, it is capable to increase various directive scripts.Whether directive script is capable is " self-defined " instruction according to it again, is divided into " custom script instruction " and " basic directive script ".The custom script instruction will be described below, and basic directive script collection is as shown in table 3.
Table 3, basic directive script collection table
The instruction title Explanation
Parameter Be the script variable assignment
Mark Mark during the script executing redirect (ignoring during execution)
Turn to Carry out the script redirect when running into this instruction
Calculate The calculation expression assignment is in variable
The screen item is preserved The input value of certain on the screen is saved in the variable
Table entries is preserved The a certain content of interface form is saved in the variable
Print entry is preserved Given content in the type information is saved in the variable
The user imports preservation In the variable with input content preservation former in the script
Time-delay command Carry out the time-delay of fixed time
Pick up counting Begin a timing point
Finish timing Finish a timing point
Serial ports output To be saved in the output of peripheral hardware in the variable
Sub-script Call another script
Circulation Repeat to call the certain number of times of another script
Self-defined The custom instruction interface
Screen is preserved The current picture of screen is saved in the file
Input item If current certain input item that runs into, the action that should carry out
Information If current certain information that runs into, the action that should carry out
Button If current certain button that runs into, the action that should carry out
Form If current certain form that runs into, the action that should carry out
The checkpoint Wait for the appearance of some literal on the interface
The serial ports input Data to terminal input analog peripheral
With reference to Fig. 4, Fig. 4 is the structural representation according to the script translating equipment of the utility model execution mode.As shown in Figure 4, script translating equipment 13 of the present utility model comprises basic directive script translation module 131 and custom script instruction translation primary module 132.The major function that script translating equipment 13 is is: obtain concrete instruction set script from data storage device 15 or in the database storage arrangement 4 of system, resolve, be translated as concrete macro-instruction one by one or to other operations of basic service terminal 2 with wherein directive script is capable.
Basic directive script translation module 131 is translated into basic script and the mutual macroinstruction set of various different terminals patterns.Macro-instruction is as shown in table 4.
Table 4, macroinstruction set table
The instruction title Explanation
SETCONFIG The automatic test device static parameter is set
GETCONFIG Obtain the automatic test device static parameter
FINDFIELDVALUE Obtain the input value of certain input domain
FINDPRVALUE Obtain the value of certain print entry
GETCURRENTFIELD Obtain a current input title
GETCURRENTVALUE Obtain the input value of current input field
GETCURRENTTYPE Obtain the type of current input field
GETCURRENTINFOLINE Obtain current presenting bank
GETCITEADDR Obtain the server address of connection
GETCURRENTUSERID Obtain user ID
SENDINPUT Send the input of user's keyboard
PWDINPUT The input of transmission code keypad
CARDINPUT The input of card magnetic track
WAITTYPE The input field of waiting for certain type occurs
WAITFIELD Wait for certain input appearance
GETPOSTEXT Obtain the text message of certain position on the screen
WAITSERIALOPEN The wait serial ports is opened
WAITSERIALWRITE The wait serial ports is write
GETSERIALBUFFER Obtain the serial ports output content
WAITIDLE Wait for automatic test device " not busy state "
SAVESCREEN Screen is preserved
GETPARAM Parameter when obtaining terminal operating
SETPARAM Parameter when terminal operating is set
QUIT END instruction
GETGRIDVALUE Obtain the value of the capable Y row of X in the form
For example: to above-mentioned basic directive script:
The 12| input item | Currency Type | 12<E〉// 1. RMB (in) 12. pound of 13. Hongkong dollar (in)
During through basic script translation module 131, carry out following flow process:
Generating macro-instruction WAITFIELD. order parameter is " Currency Type, input item "
By master control set 11 imperative macro WAITFIELD
If run succeeded, then
Generate macro-instruction SENDINPUT, order parameter is " 12<E〉"
By master control set 11 imperative macro SENDINPUT
Return the sign that runs succeeded
Otherwise
WAITFIELD can't wait by the time specify an input appearance, returns the execution failure flags
Need to prove,, be mainly used in and realize the virtual peripheral operating function for " serial ports input " in the basic directive script and " serial ports output ".With " serial ports input " instruction, illustrate as follows below:
The input of 1| serial ports | [password input] | 111111<E 〉
When this directive script during, carry out following flow process through basic script translation module 131:
Generate macro-instruction WAITSERIALOPEN, printenv
By master control set 11 imperative macro WAITSERIALOPEN
If the instruction in parameter one be " [password input] " then
Generate macro-instruction PWDINPUT, parameter " 111111<E〉"
By master control set 11 imperative macro PWDINPUT
Return instruction is instructed and is successfully indicated
If the parameter one in the instruction for " [input of stamping the card] " then
Generate macro-instruction CARDINPUT, parameter " 111111<E〉"
By master control set 11 imperative macro PWDINPUT
Return instruction is instructed and is successfully indicated
Otherwise
Return instruction is carried out failure flags
This moment is because parameter one equals " [password input] ", so by the flow performing in first condition judgment, generate macro-instruction:
PWDINPUT 111111<E>
When macro-instruction interpreting means 14 is handled this macro-instruction, at first be to send instruction " ONCEINPUT " (inputing password first) or AGAININPUT (inputing password once more) by master control set 11 notice basic service terminals 2 latency services server ends 3, when any one analog peripheral instruction has been received, then clear-text passwords " 111111 " is assembled into the return data " x02111111 x03 " of this macro-instruction according to the rule of password keypad macroinstruction set, again these data are turned back to service server end 3 by basic service terminal 2, finish the processing (instruction ONCEINPUT and AGAININPUT are please referring to the explanation of the simulation password keypad macroinstruction set in " a kind of peripheral hardware system for simulating and process patent application ") of virtual pin keyboard.
The resolving of " serial ports output " directive script is also similar, is omitted herein.
For testing tool can make things convenient for calling external program or interface, be with good expansibility and flexibility, the demand of closing to reality operational trials more, can carry out based on " basic directive script " at testing tool developing " custom script instruction " again gradually on the basis of recording/replaying of script.Realize data interaction, external file read-write, business flow processing etc. and the external data source of host data base client by " self-defined " instruction, reach the instruction of professional close association.Should " self-defined " instruction be what to be resolved by special custom script instruction translation primary module 132, in resolving, parameter one is specified the title of the translation module that is called, the call parameters of parameter two these translation modules of call by passing (can have a plurality of parameters, parameter with symbol " ^^ " as end mark), by both behaviors in conjunction with control basic service terminal 2.Below, illustrate in conjunction with following two these instructions of traveling far and wide:
1| is self-defined | Processor_GetVoucher|pingzheng^^10 ^^ //
The 2| input item | voucher number | pingzheng}<E〉//
The first row dos command line DOS is a custom script instruction, the title that the custom script translation module is called in parameter one expression is " Processor_GetVoucher ", parameter two these custom script translation modules of expression have two call parameters " pingzheng " and " 10 ", call attribute and define in " Processor_GetVoucher " module.The first row dos command line DOS is meant the voucher number that obtains " voucher kind=10 " in this example, and this voucher number is put in the middle of " pingzheng " this variable.The second row dos command line DOS is a basic directive script, and it is illustrated in the input item title is that " voucher number " input position input first row custom instruction obtains " pingzheng " this variate-value.Wherein, " Processor_GetVoucher " module is relevant with concrete Business Processing, and does not belong to the script device category.
In addition, the custom script translation module that calls also can carry out some background process actions, and can not produce mutual with automatic test device this moment in the custom instruction translation process.
As: in the front and back of carrying out script the data mode in the operation system is inquired about, with the validity of validation test process, also can be at the most preceding and last use custom instruction of script:
1| is self-defined | Processor_DB2Query|SELECT*FROM ... ... ^^ //the DB2 inquiry
Custom script instruction translation primary module 132 calls Processor_DB2Query and finishes translation, and the work of Processor_DB2Query is exactly to carry out the query manipulation of appointment in certain database, and the result is saved in the place of appointment.Therefore the method for using " self-defined " to instruct can be script " plug-in " utility function miscellaneous.
Please refer to Fig. 5 and Fig. 6, Fig. 5 records flow chart according to the script based on the processing method of multi-terminal mode script device of embodiment of the present invention.Fig. 6 is the script playback flow chart based on the processing method of multi-terminal mode script device according to embodiment of the present invention.
As shown in Figure 5, the flow process of recording according to the instruction set script based on the multi-terminal mode script device of the present invention comprises:
Step 501: under recording state, teller's operation requests that script record device 12 detects on the basic service terminal 2,
Step 502 after script record device 12 detects teller's operation requests, is carried out the identification of solicited message, and solicited message comprises: the input item request, the information request, button request, form operation requests, password input request, the printout request, magnetic track input request, magnetic track output request etc.;
Step 503, recognition result according to solicited message, the real-time status of 12 pairs of terminals of script record device is inquired about, as: the title of inquiring about current input item, the value of having imported, presenting bank information state or the like obtains and generates the required parameter of basic directive script, according to the generation requirement of different instruction, also not quite identical to the content of terminal real-time status inquiry;
Step 504 is assembled the information of having obtained, generates satisfactory basic directive script, and to data storage device 15 or database storage arrangement 4 outputs.
Step 505 judges in the request whether have the sign of recording end, if having, shows that this time recording process finishes.Otherwise, continue to get back to step 501 and wait for next call request.
As shown in Figure 6, the playback flow process according to the instruction set script based on the multi-terminal mode script device of the present invention comprises:
Step 601: script translating equipment 13 reads delegation's instruction of this instruction set script from data storage device 15 or database storage arrangement 4;
Step 602: judge that this row instruction is custom script instruction or basic directive script, if the custom script instruction then carry out step 603, otherwise enters step 604;
Step 603: judgement is the custom script instruction, calling custom script instruction translation device 132 translates, 132 pairs of these these instructions of traveling far and wide of custom script instruction translation device are resolved, title and input value with the translation module that obtains to call, return translation result after this translation module calls and finishes and give custom script instruction translation module 132, the custom script instruction translation device returns to the directive script translating equipment with translation result, and enter step 601, carry out the translation of next bar directive script;
Step 604: judgement is basic directive script, calls basic directive script translation module 131 basic directive script is translated into macro-instruction or other operation;
Step 605: judge that whether this macro-instruction is END instruction, is then to finish to translate the playback flow process, otherwise enters step 606;
Step 606: according to macro-instruction,, and return step 601, carry out the translation of next bar directive script through the communication generation test action of master control set and basic service terminal 2.
Above-described specific descriptions; purpose, technical scheme and beneficial effect to invention further describe; institute is understood that; the above only is a specific embodiment of the utility model; and be not used in and limit protection range of the present utility model; all within spirit of the present utility model and principle, any modification of being made, be equal to replacement, improvement etc., all should be included within the protection range of the present utility model.

Claims (5)

1, a kind of script device based on multi-terminal mode carries out communication with the basic service terminal, it is characterized in that this script device comprises:
Master control set;
Data storage device, described data storage device is connected with described master control set;
The script translating equipment, described script translating equipment is connected with described master control set, obtains the instruction set script and directive script is resolved one by one the operation that is translated as macro-instruction or basic service terminal from described data storage device by described master control set;
The macro-instruction interpreting means, described macro-instruction interpreting means is connected with described master control set, carry out communication by described master control set and described basic service terminal, the macro-instruction of described script translating equipment generation is reduced to the operation of the terminal pattern that is adapted to described basic service terminal.
2, the script device based on multi-terminal mode according to claim 1, it is characterized in that: also comprise the script record device, this script record device is connected with described master control set, described script record device carries out communication by unified instruction set generation script by described master control set and described basic service terminal, and the script that is generated is stored in the data storage device.
3, the script device based on multi-terminal mode according to claim 2, it is characterized in that: comprise that also script writes modifier, this script is write modifier and is connected with described master control set, and write the described generation script of modifier by described script and revise, or direct compile script.
4, the script device based on multi-terminal mode according to claim 1, it is characterized in that: described script translating equipment comprises basic directive script translation module, and described basic directive script translation module is translated into basic script and the mutual macroinstruction set of various different terminals patterns.
5, the script device based on multi-terminal mode according to claim 4, it is characterized in that: described script translating equipment also comprises custom script instruction translation module, described custom script instruction translation device instructs to custom script and resolves, to obtain to call the title and the input value of translation module.
CNU2008201093111U 2008-07-18 2008-07-18 Script device of multi-terminal mode Expired - Lifetime CN201266944Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNU2008201093111U CN201266944Y (en) 2008-07-18 2008-07-18 Script device of multi-terminal mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNU2008201093111U CN201266944Y (en) 2008-07-18 2008-07-18 Script device of multi-terminal mode

Publications (1)

Publication Number Publication Date
CN201266944Y true CN201266944Y (en) 2009-07-01

Family

ID=40833314

Family Applications (1)

Application Number Title Priority Date Filing Date
CNU2008201093111U Expired - Lifetime CN201266944Y (en) 2008-07-18 2008-07-18 Script device of multi-terminal mode

Country Status (1)

Country Link
CN (1) CN201266944Y (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111818177A (en) * 2020-07-24 2020-10-23 广州彩熠灯光股份有限公司 Remote control display method, server, client and system based on network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111818177A (en) * 2020-07-24 2020-10-23 广州彩熠灯光股份有限公司 Remote control display method, server, client and system based on network
CN111818177B (en) * 2020-07-24 2023-08-08 广州彩熠灯光股份有限公司 Remote control display method, server, client and system based on network

Similar Documents

Publication Publication Date Title
CN101316201A (en) Multi-terminal mode script device and data processing method and automatization test system
CN107193545B (en) Component-oriented multi-language collaborative development device, method and system
CN104731971B (en) A kind of campus personality palm service and the implementation method of user behavior custom analysis
CN101004680B (en) Flexible, fast software development method and support system by using kernels of direct operation object model definition
Gehlot et al. An introduction to systems modeling and simulation with colored petri nets
EP0489351A2 (en) Software work tool
CN104572072B (en) A kind of language transfer method and equipment to the program based on MVC pattern
CN106250116B (en) A kind of software generic skeleton code generation method and system
Veloso et al. Rationale-supported mixed-initiative case-based planning
CN102789382A (en) System and method for generating and running form
CN108647147B (en) Automatic testing robot implemented by using atlas analysis and use method thereof
CN106504088A (en) A kind of method and system that realizes quantifying transaction in removable computing device
CN109933521A (en) Automated testing method, device, computer equipment and storage medium based on BDD
CN110189220A (en) A kind of risk analysis decision-making technique, device, system and storage medium
CN107832042A (en) One kind is based on embedded software development method
Palanque et al. Formal specification as a tool for objective assessment of safety-critical interactive systems
CN112148260A (en) Decision engine implementation method, device, equipment and storage medium
CN109598427A (en) Management method, device and the electronic equipment of robot
CN108228762A (en) For the method and system of primary database common template to be configured
CN114661275A (en) Visual low-code system development platform
CN109791481A (en) Application development environ-ment provides system, Application development environ-ment providing method, information processing unit and computer-readable non-volatile storage medium
JPH04227544A (en) Method and apparatus for analyzing data flow through complicated information exchange system
CN201266944Y (en) Script device of multi-terminal mode
CN109684779A (en) A kind of simulation model assembly method based on view
CN106682910A (en) Information processing method, system and related equipment

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20090701