[go: up one dir, main page]

CN113656291B - Dynamic calling method for software script engine - Google Patents

Dynamic calling method for software script engine Download PDF

Info

Publication number
CN113656291B
CN113656291B CN202110889646.XA CN202110889646A CN113656291B CN 113656291 B CN113656291 B CN 113656291B CN 202110889646 A CN202110889646 A CN 202110889646A CN 113656291 B CN113656291 B CN 113656291B
Authority
CN
China
Prior art keywords
script
code
engine
user terminal
script code
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.)
Active
Application number
CN202110889646.XA
Other languages
Chinese (zh)
Other versions
CN113656291A (en
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.)
Chengdu Zhongke Hexun Technology Co ltd
Original Assignee
Chengdu Zhongke Hexun Technology Co ltd
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 Chengdu Zhongke Hexun Technology Co ltd filed Critical Chengdu Zhongke Hexun Technology Co ltd
Priority to CN202110889646.XA priority Critical patent/CN113656291B/en
Publication of CN113656291A publication Critical patent/CN113656291A/en
Application granted granted Critical
Publication of CN113656291B publication Critical patent/CN113656291B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3696Methods or tools to render software testable
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a dynamic calling method of a software script engine, which is used for remotely controlling a server terminal through a user terminal, so that a developer can call and start a corresponding script engine to the server terminal through the user terminal; meanwhile, the script code task can be divided into a plurality of script code subtasks which are relatively independent, so that each script code subtask can be respectively executed by utilizing different script engines to realize code testing, corresponding execution logs and script dynamic links can be generated according to the code testing process, and then the script dynamic links are returned to the user terminal, so that a developer can grasp the real-time running state of the software script at any time through a software script running prompt window of the user terminal, and the efficiency of software development and the convenience of the developer for testing the software code can be greatly improved.

Description

Dynamic calling method for software script engine
Technical Field
The invention relates to the technical field of computers, in particular to a dynamic calling method of a software script engine.
Background
In the software development process, the software script codes need to be tested, specifically, different script codes contained in the software are executed and run one by utilizing a service terminal, so that each script code can be ensured to run normally. The test operation of the script code requires the powerful operation capability of the service terminal as support, so that a developer can only develop and test software on the special service terminal. In addition, the software contains a large amount of script code, which requires assistance in the testing process by means of different script engines to facilitate script code testing. In order to improve the efficiency of software development, it is necessary to quickly and flexibly call different script engines to perform modularized test on the software script codes in the software script code test process.
Disclosure of Invention
Aiming at the defects existing in the prior art, the invention provides a dynamic calling method of a software script engine, which remotely controls a server terminal through a user terminal, so that a developer can call and start a corresponding script engine to the server terminal through the user terminal; meanwhile, the script code task can be divided into a plurality of script code subtasks which are relatively independent, so that each script code subtask can be respectively executed by utilizing different script engines to realize code testing, corresponding execution logs and script dynamic links can be generated according to the code testing process, and then the script dynamic links are returned to the user terminal, so that a developer can grasp the real-time running state of the software script at any time through a software script running prompt window of the user terminal, and the efficiency of software development and the convenience of the developer for testing the software code can be greatly improved.
The invention provides a dynamic calling method of a software script engine, which comprises the following steps:
step S1, after the identity information of a user terminal is determined, a script engine calling request is sent to a server terminal through the user terminal; the server terminal starts a corresponding script engine according to the script engine call request, and selects a corresponding script code task from a dynamic script library;
step S2, executing the selected script code task through the script engine; collecting process data corresponding to the script code task in the process of executing the script code task by the script engine; generating an execution log corresponding to the script code task according to the process data, and identifying the script code task according to the execution log;
step S3, generating a corresponding script dynamic link according to the identification result of the script code task, and returning the script dynamic link to the user terminal; the server terminal updates the script dynamic link according to the process change of executing the script code by the script engine; the user terminal generates a corresponding software script operation prompt window according to the script dynamic link so as to display the real-time operation state of the software script;
in one embodiment disclosed in the present application, before determining the identity information of the user terminal in the step S1, the method includes:
the method comprises the steps that a user terminal sends a connection request to a server terminal, wherein the connection request comprises physical address information of the user terminal and serves as identity information of the user terminal;
after the server terminal receives the connection request, extracting the physical address information from the connection request; comparing the physical address information with a preset physical address information list;
when the physical address information exists in a preset physical address information list, the connection request is accepted;
rejecting the connection request when the physical address information does not exist in a preset physical address information list;
in one embodiment disclosed in the present application, in the step S1, after determining identity information of the user terminal, sending, by the user terminal, a script engine call request to the server terminal specifically includes:
after the server terminal receives the connection request, the server terminal deploys a corresponding Web layer and performs initialization operation on the Web layer; simultaneously returning a response message to the user terminal;
after the user terminal receives the response message, the user terminal sends a script engine calling request to the server terminal; wherein the script engine call request comprises the type of script engine to be called;
in one embodiment disclosed in the present application, in the step S1, the server terminal starts a corresponding script engine according to the script engine call request, and selects a corresponding script code task from a dynamic script library specifically includes:
after the server terminal receives the script engine call request, analyzing the script engine call request to determine the type of the script engine to be called;
according to the type of the script engine required to be called, calling a corresponding script engine from a script engine library through a Web layer; after interfacing the interface of the called script engine with the Web layer, starting the called script engine;
selecting a corresponding script code task from a dynamic script library through the Web layer; wherein the dynamic script library comprises a plurality of software scripts formed by different languages;
in one embodiment disclosed in the present application, in the step S2, executing, by the script engine, the selected script code task specifically includes:
dividing the selected script code task into a plurality of script code sub-tasks in sequence according to the code executing process of the selected script code task, wherein each script code sub-task comprises a script code field capable of being executed independently;
after the Web layer of the server terminal is utilized to start the script engine, each script code subtask is copied to the script engine in turn, so that the script engine executes each script code subtask in turn;
in one embodiment disclosed in the present application, in the step S2, in a process of executing a script code task by the script engine, collecting process data corresponding to the executing script code task specifically includes:
collecting memory values of server terminals occupied by different operation functions in a script engine call operation function set in the process of executing script codes contained in each script code subtask by the script engine, and taking the memory values as the process data;
in one embodiment disclosed in the present application, in the step S2, generating an execution log corresponding to the script code task according to the process data, and identifying the script code task according to the execution log specifically includes:
according to the sequence of occupying the memory value of the server terminal from big to small when the script engine executes each script code subtask, all script code subtasks are orderly arranged, so that an execution log about all script code subtasks is generated; the execution log is used for displaying the execution priority sequence of each script code subtask, and when the memory value occupied by the execution script code subtask is higher, the execution priority sequence is higher;
marking the execution sequence of each script code subtask according to the execution priority sequence of each script code subtask in the execution log;
in one embodiment disclosed in the present application, in the step S3, generating a corresponding script dynamic link according to the identification result of the script code task, and returning the script dynamic link to the user terminal specifically includes:
sequentially generating script dynamic links related to each script code subtask according to the execution sequence of each script code subtask identifier; wherein the script dynamic link comprises an HTML hyperlink for pointing to each script code sub-task execution process;
then, the script dynamic link of each script code subtask is returned to the user terminal;
in one embodiment disclosed in the present application, in the step S3, the updating, by the server terminal, the script dynamic link according to a process change of the script engine executing the script code specifically includes:
when the memory value of a certain script code subtask occupies the server terminal in the execution process and changes, updating the identification of the execution sequence of each script code subtask, and then updating the script dynamic link corresponding to each script code subtask;
in one embodiment disclosed in the present application, in the step S3, the user terminal generates a corresponding software script operation prompt window according to the script dynamic link, so as to display a real-time operation state of the software script specifically includes:
and the user terminal generates an operation prompt window of each script code subtask in the server terminal according to the script dynamic link so as to display the respective real-time operation state of each script code subtask.
Compared with the prior art, the software script engine dynamic calling method of the invention carries out remote control on the server terminal through the user terminal, so that a developer can call and start the corresponding script engine to the server terminal through the user terminal; meanwhile, the script code task can be divided into a plurality of script code subtasks which are relatively independent, so that each script code subtask can be respectively executed by utilizing different script engines to realize code testing, corresponding execution logs and script dynamic links can be generated according to the code testing process, and then the script dynamic links are returned to the user terminal, so that a developer can grasp the real-time running state of the software script through a software script running prompt window of the user terminal at any time, and the efficiency of software development and the convenience of the developer for testing the software code can be greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the technical descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a dynamic calling method of a software script engine provided by the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flow chart of a dynamic calling method of a software script engine is provided. The dynamic calling method of the software script engine comprises the following steps:
step S1, after the identity information of a user terminal is determined, a script engine calling request is sent to a server terminal through the user terminal; the server terminal starts a corresponding script engine according to the script engine call request, and selects a corresponding script code task from a dynamic script library;
step S2, executing the selected script code task through the script engine; collecting process data corresponding to the script code task in the process of executing the script code task by the script engine; generating an execution log corresponding to the script code task according to the process data, and identifying the script code task according to the execution log;
step S3, generating a corresponding script dynamic link according to the identification result of the script code task, and returning the script dynamic link to the user terminal; the server terminal updates the script dynamic link according to the process change of executing the script code by the script engine; and the user terminal generates a corresponding software script operation prompt window according to the script dynamic link so as to display the real-time operation state of the software script.
The dynamic calling method of the software script engine carries out remote control on the server terminal through the user terminal, so that a developer can call and start a corresponding script engine to the server terminal through the user terminal; meanwhile, the script code task can be divided into a plurality of script code subtasks which are relatively independent, so that each script code subtask can be respectively executed by utilizing different script engines to realize code testing, corresponding execution logs and script dynamic links can be generated according to the code testing process, and then the script dynamic links are returned to the user terminal, so that a developer can grasp the real-time running state of the software script at any time through a software script running prompt window of the user terminal, and the efficiency of software development and the convenience of the developer for testing the software code can be greatly improved.
Preferably, in this step S1, before determining the identity information of the user terminal, it includes:
the user terminal sends a connection request to the server terminal, wherein the connection request comprises physical address information of the user terminal and is used as identity information of the user terminal;
when the server terminal receives the connection request, the physical address information is extracted from the connection request; comparing the physical address information with a preset physical address information list;
when the physical address information exists in a preset physical address information list, the connection request is accepted;
and rejecting the connection request when the physical address information does not exist in the preset physical address information list.
The user terminal can be, but is not limited to, a portable terminal such as a smart phone or a tablet computer held by a software developer; the server terminal may be, but is not limited to, a service server dedicated to software programming. The user terminal and the server terminal may be communicatively connected via a private encrypted wireless network.
When the user terminal needs to make a communication connection with the server terminal, the user terminal will first send a connection request to the server terminal. After receiving the connection request, the server terminal analyzes the connection request so as to compare the physical address information of the user terminal in the connection request with a preset physical address information list; the preset physical address information list may include physical address information of at least one authenticated terminal, which has authority to make a direct communication connection with the server terminal. Through the comparison, the authority of communication connection with the server terminal can be obtained only when the user terminal belongs to the authenticated terminal, so that the software code of the server terminal is effectively prevented from being tampered and the code data security of the server terminal is improved.
Preferably, in the step S1, after determining identity information of the user terminal, sending, by the user terminal, a script engine call request to the server terminal specifically includes:
after the server terminal receives the connection request, the server terminal deploys a corresponding Web layer and performs initialization operation on the Web layer; simultaneously, a response message is returned to the user terminal;
after the user terminal receives the response message, the user terminal sends a script engine calling request to the server terminal; wherein the script engine call request includes a type of script engine that needs to be invoked.
After the server terminal confirms that the communication connection is carried out with the user terminal, the server terminal deploys a corresponding Web layer through an operating system of the server terminal; wherein the Web layer may be, but is not limited to, a Web layer formed based on operating system virtualization or a Web layer that is native to the operating system itself. And meanwhile, initializing the Web layer so as to ensure that the Web layer does not leave other software code data. The server terminal then returns a response message to the user terminal so that the server terminal can be in interactive communication connection with the user terminal. And then, the user terminal sends a script engine call request to the server terminal, so that a developer can realize remote control of the server terminal by operating the user terminal, and the convenience of the developer in software code development test is greatly improved.
Preferably, in the step S1, the server terminal starts a corresponding script engine according to the script engine call request, and selects a corresponding script code task from a dynamic script library specifically includes:
after the server terminal receives the script engine call request, analyzing the script engine call request so as to determine the type of the script engine to be called;
according to the type of the script engine required to be called, calling a corresponding script engine from a script engine library through a Web layer; after interfacing the interface of the called script engine with the Web layer, starting the called script engine;
selecting a corresponding script code task from a dynamic script library through the Web layer; wherein the dynamic script library comprises software scripts formed in a plurality of different languages.
When the server terminal receives the script engine call request, the server terminal can call the corresponding script engine from a script engine library on the level of the Web layer based on the script engine call request, wherein the script engine library can comprise a plurality of controls for executing and detecting script code tasks. And the Web layer selects corresponding script code tasks from the dynamic script library, and the Web layer is used as a calling platform of the script engine and the script code tasks, so that the script engine and the script code tasks can be called on a relatively independent software layer to realize execution and detection of the script codes, thereby improving the execution detection efficiency of the script codes.
Preferably, in the step S2, executing the selected script code task by the script engine specifically includes:
dividing the selected script code task into a plurality of script code sub-tasks in sequence according to the code executing process of the selected script code task, wherein each script code sub-task comprises a script code field capable of being executed independently;
after the Web layer of the server terminal is utilized to start the script engine, each script code subtask is copied to the script engine in turn, so that the script engine executes each script code subtask in turn.
Because the script code task generally comprises a huge amount of script codes, if the script code task is directly executed and detected as a whole, a great amount of memory operation capacity of the server terminal is occupied, and meanwhile, the execution and detection efficiency of the script code task is reduced. The script code task is divided into a plurality of script code subtasks comprising a script code field capable of being independently executed, so that the script code subtasks obtained by dividing can be ensured to be independent relatively, the integrity of the script code task can be ensured, each script code subtask can be independently executed and detected, and the efficiency and the accuracy of script engine on script code task execution and detection are improved.
Preferably, in the step S2, in the process of executing the script code task by the script engine, collecting process data corresponding to the execution script code task specifically includes:
and collecting memory values of server terminals occupied by different operation functions in the operation function set called by the script engine as the process data in the process of executing the script code contained in each script code subtask by the script engine.
Because the number of the script codes contained in each script code subtask is different, the memory value of the server terminal occupied by the script engine for executing different script code subtasks to call different operation functions is different, and the occupied memory value directly determines the execution detection process of the script code subtask. Generally, the larger the amount of script code included in a script code subtask, the larger the memory value it occupies.
Preferably, in the step S2, generating an execution log corresponding to the script code task according to the process data, and identifying the script code task according to the execution log specifically includes:
according to the sequence of occupying the memory value of the server terminal from big to small when the script engine executes each script code subtask, all script code subtasks are orderly arranged, so that an execution log about all script code subtasks is generated; the execution log is used for displaying the execution priority sequence of each script code subtask, and when the memory value occupied by the execution script code subtask is higher, the execution priority sequence is more forward;
and marking the execution sequence of each script code subtask according to the execution priority sequence of each script code subtask in the execution log.
According to the memory value of the occupied server terminal when the script engine executes each script code subtask, the difficulty degree of executing and detecting each script code subtask can be accurately judged. And then, arranging all script code subtasks in sequence to generate execution logs about all script code subtasks, and then, marking the execution sequence of each script code subtask, so that reliable and accurate marking can be carried out according to the execution detection difficulty of each script code subtask, and the subsequent detection adjustment of adaptation to different script code subtasks is facilitated.
Preferably, in the step S3, generating a corresponding script dynamic link according to the identification result of the script code task, and returning the script dynamic link to the user terminal specifically includes:
sequentially generating script dynamic links related to each script code subtask according to the execution sequence of each script code subtask identifier; wherein the script dynamic link comprises an HTML hyperlink for pointing to each script code subtask execution process;
and then the script dynamic link of each script code subtask is returned to the user terminal.
By generating an HTML hyperlink for each script code sub-task and returning the HTML hyperlink to the user terminal, it can be convenient for a developer to obtain real-time running status of each script code sub-task in real-time by clicking the HTML hyperlink at the user terminal.
Preferably, in the step S3, the updating the script dynamic link by the server terminal according to the process variation of the script code executed by the script engine specifically includes:
when the memory value of the server terminal occupied by a certain script code subtask changes in the execution process, the identification of the execution sequence of each script code subtask is updated, and then the script dynamic link corresponding to each script code subtask is updated.
When the script code of the script code subtask is changed, the memory value of the server terminal occupied in the execution process is also changed, and the dynamic links of the script corresponding to each script code subtask are updated by updating the identification of the execution sequence of each script code subtask, so that the developer can be ensured to obtain the real-time running state of each updated script code subtask in time through the user terminal.
Preferably, in the step S3, the user terminal generates a corresponding software script operation prompt window according to the script dynamic link, so as to display the real-time operation state of the software script specifically includes:
and the user terminal generates an operation prompt window of each script code subtask in the server terminal according to the script dynamic link so as to display the respective real-time operation state of each script code subtask.
The beneficial effects of the technical scheme are as follows: by generating the corresponding operation prompt window at the user terminal, a developer can grasp the respective real-time operation state of each script code subtask in a more visual mode.
From the above embodiments, it can be seen that the software script engine dynamic calling method remotely controls the server terminal through the user terminal, so that the developer can call and start the corresponding script engine to the server terminal through the user terminal; meanwhile, the script code task can be divided into a plurality of script code subtasks which are relatively independent, so that each script code subtask can be respectively executed by utilizing different script engines to realize code testing, corresponding execution logs and script dynamic links can be generated according to the code testing process, and then the script dynamic links are returned to the user terminal, so that a developer can grasp the real-time running state of the software script at any time through a software script running prompt window of the user terminal, and the efficiency of software development and the convenience of the developer for testing the software code can be greatly improved.

Claims (8)

1. The dynamic calling method of the software script engine is characterized by comprising the following steps:
step S1, after the identity information of a user terminal is determined, a script engine calling request is sent to a server terminal through the user terminal; the server terminal starts a corresponding script engine according to the script engine call request, and selects a corresponding script code task from a dynamic script library;
step S2, executing the selected script code task through the script engine; collecting process data corresponding to the script code task in the process of executing the script code task by the script engine; generating an execution log corresponding to the script code task according to the process data, and identifying the script code task according to the execution log;
step S3, generating a corresponding script dynamic link according to the identification result of the script code task, and returning the script dynamic link to the user terminal; the server terminal updates the script dynamic link according to the process change of executing the script code by the script engine; the user terminal generates a corresponding software script operation prompt window according to the script dynamic link so as to display the real-time operation state of the software script;
wherein,,
in the step S2, executing, by the script engine, the selected script code task specifically includes:
dividing the selected script code task into a plurality of script code sub-tasks in sequence according to the code executing process of the selected script code task, wherein each script code sub-task comprises a script code field capable of being executed independently;
after the Web layer of the server terminal is utilized to start the script engine, each script code subtask is copied to the script engine in turn, so that the script engine executes each script code subtask in turn;
in the step S2, generating an execution log corresponding to the script code task according to the process data, and identifying the script code task according to the execution log specifically includes:
according to the sequence of occupying the memory value of the server terminal from big to small when the script engine executes each script code subtask, all script code subtasks are orderly arranged, so that an execution log about all script code subtasks is generated; the execution log is used for displaying the execution priority sequence of each script code subtask, and when the memory value occupied by the execution script code subtask is higher, the execution priority sequence is higher;
and marking the execution sequence of each script code subtask according to the execution priority sequence of each script code subtask in the execution log.
2. The software script engine dynamic call method of claim 1, wherein:
in the step S1, before determining the identity information of the user terminal, the method includes:
the method comprises the steps that a user terminal sends a connection request to a server terminal, wherein the connection request comprises physical address information of the user terminal and serves as identity information of the user terminal;
after the server terminal receives the connection request, extracting the physical address information from the connection request; comparing the physical address information with a preset physical address information list;
when the physical address information exists in a preset physical address information list, the connection request is accepted;
and rejecting the connection request when the physical address information does not exist in a preset physical address information list.
3. The software script engine dynamic call method of claim 2, wherein:
in the step S1, after determining identity information of the user terminal, the sending, by the user terminal, a script engine call request to the server terminal specifically includes:
after the server terminal receives the connection request, the server terminal deploys a corresponding Web layer and performs initialization operation on the Web layer; simultaneously returning a response message to the user terminal;
after the user terminal receives the response message, the user terminal sends a script engine calling request to the server terminal; wherein the script engine call request includes a type of script engine to be called.
4. A software script engine dynamic call method as claimed in claim 3 wherein:
in the step S1, the server terminal starts a corresponding script engine according to the script engine call request, and selects a corresponding script code task from a dynamic script library, which specifically includes:
after the server terminal receives the script engine call request, analyzing the script engine call request to determine the type of the script engine to be called;
according to the type of the script engine required to be called, calling a corresponding script engine from a script engine library through a Web layer; after interfacing the interface of the called script engine with the Web layer, starting the called script engine;
selecting a corresponding script code task from a dynamic script library through the Web layer; wherein the dynamic script library comprises a plurality of software scripts formed by different languages.
5. The software script engine dynamic call method of claim 1, wherein:
in the step S2, in the process of executing the script code task by the script engine, collecting process data corresponding to the execution script code task specifically includes:
and collecting memory values of server terminals occupied by different operation functions in the operation function set called by the script engine in the process of executing script codes contained in each script code subtask by the script engine, and taking the memory values as the process data.
6. The software script engine dynamic call method of claim 1, wherein:
in the step S3, generating a corresponding script dynamic link according to the identification result of the script code task, and returning the script dynamic link to the user terminal specifically includes:
sequentially generating script dynamic links related to each script code subtask according to the execution sequence of each script code subtask identifier; wherein the script dynamic link comprises an HTML hyperlink for pointing to each script code sub-task execution process;
and then, the script dynamic link of each script code subtask is returned to the user terminal.
7. The software script engine dynamic call method of claim 6, wherein:
in the step S3, the updating, by the server terminal, the script dynamic link according to the process change of the script code executed by the script engine specifically includes:
when the memory value of the server terminal occupied by a certain script code subtask changes in the execution process, updating the identification of the execution sequence of each script code subtask, and then updating the script dynamic link corresponding to each script code subtask.
8. The software script engine dynamic call method of claim 7, wherein:
in the step S3, the user terminal generates a corresponding software script operation prompt window according to the script dynamic link, so as to display the real-time operation state of the software script specifically includes:
and the user terminal generates an operation prompt window of each script code subtask in the server terminal according to the script dynamic link so as to display the respective real-time operation state of each script code subtask.
CN202110889646.XA 2021-08-04 2021-08-04 Dynamic calling method for software script engine Active CN113656291B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110889646.XA CN113656291B (en) 2021-08-04 2021-08-04 Dynamic calling method for software script engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110889646.XA CN113656291B (en) 2021-08-04 2021-08-04 Dynamic calling method for software script engine

Publications (2)

Publication Number Publication Date
CN113656291A CN113656291A (en) 2021-11-16
CN113656291B true CN113656291B (en) 2023-04-28

Family

ID=78490294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110889646.XA Active CN113656291B (en) 2021-08-04 2021-08-04 Dynamic calling method for software script engine

Country Status (1)

Country Link
CN (1) CN113656291B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116757916B (en) * 2023-08-21 2023-10-20 成都中科合迅科技有限公司 Method and system for controlling change of graphic drawing engine

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250179A (en) * 2016-07-26 2016-12-21 北京北森云计算股份有限公司 The method that system dynamics function intercepts extension is realized by the compiling of multilingual cloud

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681854B (en) * 2012-05-18 2015-04-29 华为技术有限公司 Service execution method, server and computer system
US9038032B2 (en) * 2012-05-25 2015-05-19 Fujitsu Limited Symbolic execution and automatic test case generation for JavaScript programs
CN102880546B (en) * 2012-09-03 2015-06-17 北大方正集团有限公司 Software integration testing method and system based on extensible markup language (XML) database
CN102890652B (en) * 2012-11-07 2015-07-01 武汉光迅信息技术有限公司 Method for constructing testing software and testing system employing method
CN105491143A (en) * 2015-12-15 2016-04-13 国云科技股份有限公司 A software running state monitoring system and its implementation method
CN106250178B (en) * 2016-07-26 2019-10-25 北京北森云计算股份有限公司 The method that realization system dynamic function intercepts extension online is compiled by multilingual cloud
CN106533810A (en) * 2016-12-28 2017-03-22 Tcl集团股份有限公司 Log management methods, terminal and cloud server
CN109766124B (en) * 2018-12-26 2022-05-03 深圳左邻永佳科技有限公司 Business development method, apparatus, computer equipment and storage medium
CN112948190B (en) * 2021-02-26 2023-07-14 浪潮电子信息产业股份有限公司 A server hardware testing method, system and related device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250179A (en) * 2016-07-26 2016-12-21 北京北森云计算股份有限公司 The method that system dynamics function intercepts extension is realized by the compiling of multilingual cloud

Also Published As

Publication number Publication date
CN113656291A (en) 2021-11-16

Similar Documents

Publication Publication Date Title
CN110765026B (en) Automatic test method, device, storage medium and equipment
CN113836037B (en) Interface interaction testing method, device, equipment and storage medium
CN114861773B (en) Model training visualization method, device and cloud platform
CN113094251A (en) Embedded system testing method and device, computer equipment and storage medium
CN113961199A (en) Model deployment system, method, device and storage medium
CN111666471B (en) Information acquisition method, information acquisition device, computer equipment and storage medium
CN111523097A (en) APP brush user identification method and device based on android system and storage medium
CN113656291B (en) Dynamic calling method for software script engine
CN112965895A (en) Desktop application program automatic test method, device, equipment and storage medium
CN115454827B (en) Compatibility detection method, system, equipment and medium
CN112231206A (en) Script editing method for application program test, computer readable storage medium and test platform
CN107766068B (en) Application system patch installation method and device, computer equipment and storage medium
CN113885896B (en) Application software package installation method and device, computer equipment and storage medium
CN107688479B (en) Android system network cluster, construction method thereof, and Android system network cluster data processing method and system
CN110928787B (en) Automatic test script recording and playback method, device, equipment and storage medium
CN113596077A (en) Program downloading method, device, computer equipment and storage medium
CN118557959A (en) Game automation system and method based on OCR (optical character recognition)
CN116069334B (en) Cloud-protogenesis-based online development and code hosting method and system
CN110968519A (en) Game testing method, device, server and storage medium
CN117932604A (en) Security detection method, apparatus, device, and computer-readable storage medium
CN112667498B (en) Server building method, device, computer equipment and readable storage medium
CN116755719A (en) Data processing method, device and data processing system of application component
CN112491799B (en) Remote repair method and device for communication module, computer equipment and storage medium
US20180011784A1 (en) Method for Testing a Graphical Interface and Corresponding Test System
CN113656278A (en) Cloud virtualization test method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant