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

Dynamic calling method for software script engine Download PDF

Info

Publication number
CN113656291A
CN113656291A CN202110889646.XA CN202110889646A CN113656291A CN 113656291 A CN113656291 A CN 113656291A CN 202110889646 A CN202110889646 A CN 202110889646A CN 113656291 A CN113656291 A CN 113656291A
Authority
CN
China
Prior art keywords
script
engine
code
dynamic
user terminal
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.)
Granted
Application number
CN202110889646.XA
Other languages
Chinese (zh)
Other versions
CN113656291B (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; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3696Methods or tools to render software testable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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 characterized in that a user terminal remotely controls a server 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 relatively independent script code subtasks, so that each script code subtask can be executed by using different script engines respectively to realize code testing, corresponding execution logs and script dynamic links can be generated according to the progress of the code testing, and the script dynamic links are returned to the user terminal, so that developers can conveniently master the real-time running state of the software script through the software script running prompt window of the user terminal at any time, and the software development efficiency and the convenience of testing the software code by the developers 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, software script codes need to be tested, specifically, different script codes included in the software are executed and operated one by using the service terminal, so that each script code can be ensured to be normally operated. The test operation of the script code requires the strong computing power of the service terminal machine as a support, so that developers can only develop and test software on the special service terminal machine. In addition, the software contains a huge amount of script codes, and different script engines are needed to assist in script code testing in the testing process. In order to improve the efficiency of software development, different script engines need to be called quickly and flexibly to perform modular testing on software script codes in the software script code testing process.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a dynamic calling method of a software script engine, which is characterized in that a user terminal remotely controls a server terminal, so that developers 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 relatively independent script code subtasks, so that each script code subtask can be executed by using different script engines respectively to realize code testing, corresponding execution logs and script dynamic links can be generated according to the progress of the code testing, and the script dynamic links are returned to the user terminal, so that developers can conveniently master the real-time running state of the software script through the software script running prompt window of the user terminal at any time, and the software development efficiency and the convenience of testing the software code by the developers 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 the user terminal is determined, a script engine calling request is sent to the server terminal through the user terminal; the server terminal starts a corresponding script engine according to the script engine calling request and selects a corresponding script code task from a dynamic script library;
step S2, executing the selected script code task by the script engine; acquiring process data corresponding to the script code execution 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, according to the identification result of the script code task, generating a corresponding script dynamic link, and returning the script dynamic link to the user terminal; the server terminal updates the script dynamic link according to the process change of the script code executed 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 an embodiment of the disclosure, in the step S1, determining the identity information of the user terminal includes:
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;
when the physical address information does not exist in a preset physical address information list, rejecting the connection request;
in an embodiment of the disclosure, in step S1, after determining the identity information of the user terminal, sending, by the user terminal, a script engine invocation request to the server terminal specifically includes:
after the server terminal receives the connection request, the server terminal deploys a corresponding Web layer and carries out 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; the script engine calling request comprises the type of a script engine needing to be called;
in an embodiment disclosed in the present application, in step S1, the starting, by the server terminal, a corresponding script engine according to the script engine call request, and selecting a corresponding script code task from a dynamic script library specifically includes:
after the server terminal receives the script engine calling request, analyzing the script engine calling request so as to determine the type of the script engine to be called;
calling a corresponding script engine from a script engine library through a Web layer according to the type of the script engine to be called; after the interface of the called script engine is in butt joint with the Web layer, starting the called script engine;
selecting a corresponding script code task from a dynamic script library through the Web layer; the dynamic script library comprises a plurality of software scripts formed by different languages;
in an embodiment disclosed in the present application, in the step S2, executing the selected script code task by the script engine specifically includes:
sequentially dividing the selected script code task into a plurality of script code subtasks according to the code execution process of the selected script code task, wherein each script code subtask comprises a script code field which can be independently executed;
after the script engine is started by utilizing a Web layer of the server terminal, copying each script code subtask to the script engine in sequence, so that the script engine executes each script code subtask in sequence;
in an embodiment disclosed in the present application, in step S2, in the process of executing the script code task by the script engine, the acquiring process data corresponding to the executing script code task specifically includes:
in the process of executing script codes contained in each script code subtask by the script engine, acquiring memory values occupied by different operation functions in an operation function set called by the script engine, and taking the memory values as process data;
in an embodiment disclosed in the present application, in 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:
arranging all script code subtasks in sequence according to the sequence from large to small of the memory value occupied by the server terminal when the script engine executes each script code subtask, thereby generating an execution log about all script code subtasks; the execution log is used for displaying the execution priority of each script code subtask, and when the higher the memory value occupied by executing the script code subtask is, the higher the execution priority is;
according to the execution priority of each script code subtask in the execution log, identifying the execution sequence of each script code subtask;
in an embodiment disclosed in the present application, in the step S3, generating a corresponding dynamic script link according to the result of identifying the script code task, and returning the dynamic script 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;
then returning the script dynamic link of each script code subtask to the user terminal;
in an embodiment of the disclosure, in 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 occupied by a certain script code subtask in the server terminal 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;
in an embodiment disclosed in the present application, in step S3, the generating, by the user terminal, 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 dynamic calling method of the software script engine remotely controls the server terminal through the user terminal, so that developers 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 relatively independent script code subtasks, so that each script code subtask can be executed by using different script engines respectively to realize code testing, corresponding execution logs and script dynamic links can be generated according to the progress of the code testing, and the script dynamic links are returned to the user terminal, so that developers can conveniently master the real-time running state of the software script through the software script running prompting window of the user terminal at any time, and the software development efficiency and the convenience of testing the software codes by the developers 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 needed to be used in the embodiments or technical descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow diagram of a dynamic calling method of a software script engine provided by the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flow diagram of a dynamic calling method of a software script engine provided by the present invention is shown. The dynamic calling method of the software script engine comprises the following steps:
step S1, after the identity information of the user terminal is determined, a script engine calling request is sent to the server terminal through the user terminal; the server terminal starts a corresponding script engine according to the script engine calling request and selects a corresponding script code task from a dynamic script library;
step S2, executing the selected script code task by the script engine; collecting process data corresponding to the script code execution 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, according to the identification result of the script code task, generating a corresponding script dynamic link, and returning the script dynamic link to the user terminal; the server terminal updates the script dynamic link according to the process change of the script engine executing the script code; 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 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 relatively independent script code subtasks, so that each script code subtask can be executed by using different script engines respectively to realize code testing, corresponding execution logs and script dynamic links can be generated according to the progress of the code testing, and the script dynamic links are returned to the user terminal, so that developers can conveniently master the real-time running state of the software script through the software script running prompt window of the user terminal at any time, and the software development efficiency and the convenience of testing the software code by the developers can be greatly improved.
Preferably, in this step S1, determining the identity information of the user terminal previously includes:
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, 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 a 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 personal 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 can be in communication connection through a private encrypted wireless network.
When the user terminal needs to perform communication connection with the server terminal, the user terminal first sends 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 physical address information may be, but is not limited to, MAC address information or IP address information of the user terminal, and the preset physical address information list may include physical address information of at least one authenticated terminal having a right to perform direct communication connection with the server terminal. Through the comparison, the permission of communication connection with the server terminal can be ensured to 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 step S1, after determining the identity information of the user terminal, sending a script engine invocation request to the server terminal through the user terminal specifically includes:
after the server terminal receives the connection request, the server terminal deploys a corresponding Web layer and carries out 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 calling request comprises the type of the script engine needing to be called.
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 can be, but is not limited to, a Web layer formed based on operating system virtualization or a Web layer owned by the operating system itself. Meanwhile, the Web layer is initialized, so that the Web layer is ensured not to have other software code data left. Subsequently, the server terminal returns a response message to the user terminal so that the server terminal can be connected for interactive communication with the user terminal. And then, the user terminal sends a script engine calling request to the server terminal, so that a developer can realize remote control on the server terminal by operating the user terminal, and the convenience of software code development and test of the developer is greatly improved.
Preferably, in step S1, the step of starting, by the server terminal, a corresponding script engine according to the script engine call request, and selecting a corresponding script code task from the dynamic script library specifically includes:
after the server terminal receives the script engine calling request, analyzing the script engine calling request so as to determine the type of the script engine to be called;
calling a corresponding script engine from a script engine library through a Web layer according to the type of the script engine to be called; after the interface of the called script engine is in butt joint with the Web layer, starting the called script engine;
selecting a corresponding script code task from a dynamic script library through the Web layer; the dynamic script library comprises software scripts formed by a plurality of different languages.
After the server terminal receives the script engine calling request, the server terminal can call a corresponding script engine from a script engine library on the Web layer level according to the script engine calling request, wherein the script engine library can comprise a plurality of controls for executing and detecting script code tasks. And the Web layer selects a corresponding script code task from the dynamic script library, and the Web layer is used as a calling platform of the script engine and the script code task, so that the script engine and the script code task can be called on a relatively independent software layer to realize the execution and detection of the script code, and the execution detection efficiency of the script code is improved.
Preferably, in step S2, the executing the selected script code task by the script engine specifically includes:
sequentially dividing the selected script code task into a plurality of script code subtasks according to the code execution process of the selected script code task, wherein each script code subtask comprises a script code field which can be independently executed;
and after the script engine is started by utilizing the Web layer of the server terminal, copying each script code subtask to the script engine in sequence, so that the script engine executes each script code subtask in sequence.
Since the script code task usually includes a huge amount of script codes, if the whole script code task is directly detected, not only a large amount of memory operation capacity of the server terminal needs to be occupied, but also the execution detection efficiency of the script code task is reduced. The script code task is divided into a plurality of script code subtasks which comprise script code fields capable of being executed independently, so that each script code subtask obtained through division can be ensured to be relatively independent, the integrity of the script code task can be ensured, each script code subtask can execute detection independently, and the efficiency and the accuracy of the script engine for executing detection on the script code task are improved.
Preferably, in step S2, in the process of executing the script code task by the script engine, the collecting process data corresponding to the executing script code task specifically includes:
and in the process of executing the script codes contained in each script code subtask by the script engine, acquiring the memory value of a server terminal occupied by different operation functions in the operation function set called by the script engine, and taking the memory value as the process data.
Because the script code quantity contained in each script code subtask is different, the script engine executes different script code subtasks to call different operation functions, so that the occupied memory value of the server terminal is different, and the occupied memory value directly determines the execution detection process of the script code subtask. Generally, the larger the number of the script codes included in the script code subtasks is, the larger the memory value occupied by the script codes is.
Preferably, in 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:
arranging all script code subtasks in sequence according to the sequence from large to small of the memory value occupied by the server terminal when the script engine executes each script code subtask, thereby generating an execution log about all script code subtasks; the execution log is used for displaying the execution priority of each script code subtask, and when the higher the memory value occupied by executing the script code subtask is, the higher the execution priority is;
and identifying 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 occupied by the 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 the script code subtasks in sequence to generate an execution log about all the script code subtasks, and then identifying the execution sequence of each script code subtask, so that reliable and accurate identification can be carried out according to the execution detection difficulty of each script code subtask, and further, the follow-up detection and adjustment for adapting to different script code subtasks are facilitated.
Preferably, in step S3, generating a corresponding dynamic script link according to the result of identifying the script code task, and returning the dynamic script 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 returning the script dynamic link of each script code subtask to the user terminal.
By generating an HTML hyperlink for each script code subtask and returning the HTML hyperlink to the user terminal, developers can obtain real-time running status of each script code subtask in real time by clicking on the HTML hyperlink at the user terminal.
Preferably, in step S3, the updating the script dynamic link by the server terminal according to the process change of the script code executed by the script engine specifically includes:
when the memory value occupied by a certain script code subtask in the server terminal changes in the execution process, the identifier 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 changes, the memory value occupied by the script code subtask in the server terminal changes in the execution process, and the script dynamic link corresponding to each script code subtask is updated through updating the identification of the execution sequence of each script code subtask, so that developers can be ensured to obtain the real-time running state of each updated script code subtask in time through the user terminal.
Preferably, in step S3, the generating, by the user terminal, a corresponding software script running prompt window according to the script dynamic link, so as to display the real-time running 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 above technical scheme are: by generating a corresponding operation prompt window at the user terminal, developers can master the respective real-time operation state of each script code subtask in a more intuitive mode.
It can be known from the content of the above embodiment that the dynamic calling method of the software script engine 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 relatively independent script code subtasks, so that each script code subtask can be executed by using different script engines respectively to realize code testing, corresponding execution logs and script dynamic links can be generated according to the progress of the code testing, and the script dynamic links are returned to the user terminal, so that developers can conveniently master the real-time running state of the software script through the software script running prompt window of the user terminal at any time, and the software development efficiency and the convenience of testing the software code by the developers can be greatly improved.

Claims (10)

1. The dynamic calling method of the software script engine is characterized by comprising the following steps:
step S1, after the identity information of the user terminal is determined, a script engine calling request is sent to the server terminal through the user terminal; the server terminal starts a corresponding script engine according to the script engine calling request and selects a corresponding script code task from a dynamic script library;
step S2, executing the selected script code task by the script engine; acquiring process data corresponding to the script code execution 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, according to the identification result of the script code task, generating a corresponding script dynamic link, and returning the script dynamic link to the user terminal; the server terminal updates the script dynamic link according to the process change of the script code executed 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.
2. The software scripting engine dynamic calling method of claim 1, wherein:
in step S1, determining the identity information of the user terminal previously includes:
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 when the physical address information does not exist in a preset physical address information list, rejecting the connection request.
3. The software scripting engine dynamic calling method of claim 2, wherein:
in step S1, after determining the identity information of the user terminal, sending a script engine invocation request to the server terminal through the user terminal specifically includes:
after the server terminal receives the connection request, the server terminal deploys a corresponding Web layer and carries out 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 calling request comprises the type of the script engine needing to be called.
4. The software scripting engine dynamic calling method of claim 3, wherein:
in step S1, the step of starting, by the server terminal, a corresponding script engine according to the script engine call request, and selecting a corresponding script code task from a dynamic script library specifically includes:
after the server terminal receives the script engine calling request, analyzing the script engine calling request so as to determine the type of the script engine to be called;
calling a corresponding script engine from a script engine library through a Web layer according to the type of the script engine to be called; after the interface of the called script engine is in butt joint with the Web layer, starting the called script engine;
selecting a corresponding script code task from a dynamic script library through the Web layer; the dynamic script library comprises software scripts formed by a plurality of different languages.
5. The software scripting engine dynamic calling method of claim 1, wherein:
in step S2, the executing the selected script code task by the script engine specifically includes:
sequentially dividing the selected script code task into a plurality of script code subtasks according to the code execution process of the selected script code task, wherein each script code subtask comprises a script code field which can be independently executed;
and after the script engine is started by utilizing the Web layer of the server terminal, copying each script code subtask to the script engine in sequence, so that the script engine executes each script code subtask in sequence.
6. The dynamic calling method of software script engine of claim 5, wherein:
in step S2, in the process of executing the script code task by the script engine, the acquiring process data corresponding to the executing script code task specifically includes:
and in the process of executing the script codes contained in each script code subtask by the script engine, acquiring the memory value of a server terminal occupied by different operation functions in the operation function set called by the script engine, and taking the memory value as the process data.
7. The dynamic calling method of software script engine of claim 6, wherein:
in 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:
arranging all script code subtasks in sequence according to the sequence from large to small of the memory value occupied by the server terminal when the script engine executes each script code subtask, thereby generating an execution log about all script code subtasks; the execution log is used for displaying the execution priority of each script code subtask, and when the higher the memory value occupied by executing the script code subtask is, the higher the execution priority is;
and identifying the execution sequence of each script code subtask according to the execution priority sequence of each script code subtask in the execution log.
8. The software scripting engine dynamic calling method of claim 7, wherein:
in step S3, generating a corresponding dynamic script link according to the result of identifying the script code task, and returning the dynamic script 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 returning the script dynamic link of each script code subtask to the user terminal.
9. The software scripting engine dynamic calling method of claim 8, wherein:
in 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 occupied by a certain script code subtask in the server terminal changes in the execution process, the identifier 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.
10. The software scripting engine dynamic calling method of claim 9, wherein:
in step S3, the generating, by the user terminal, 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 true CN113656291A (en) 2021-11-16
CN113656291B 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)

Cited By (1)

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

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681854A (en) * 2012-05-18 2012-09-19 华为技术有限公司 Service execution method, server and computer system
CN102880546A (en) * 2012-09-03 2013-01-16 上海方正数字出版技术有限公司 Software integration testing method and system based on extensible markup language (XML) database
CN102890652A (en) * 2012-11-07 2013-01-23 武汉光迅信息技术有限公司 Method for constructing testing software and testing system employing method
US20130318503A1 (en) * 2012-05-25 2013-11-28 Fujitsu Limited Symbolic execution and automatic test case generation for javascript programs
CN105491143A (en) * 2015-12-15 2016-04-13 国云科技股份有限公司 Software running state monitoring system and realization method thereof
CN106250178A (en) * 2016-07-26 2016-12-21 北京北森云计算股份有限公司 The method that system dynamics function intercepts extension online is realized by the compiling of multilingual cloud
CN106250179A (en) * 2016-07-26 2016-12-21 北京北森云计算股份有限公司 The method that system dynamics function intercepts extension is realized by the compiling of multilingual cloud
CN106533810A (en) * 2016-12-28 2017-03-22 Tcl集团股份有限公司 Log management methods, terminal and cloud server
CN109766124A (en) * 2018-12-26 2019-05-17 深圳左邻永佳科技有限公司 Business development method, apparatus, computer equipment and storage medium
CN112948190A (en) * 2021-02-26 2021-06-11 浪潮电子信息产业股份有限公司 Hardware testing method, system and related device of server

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681854A (en) * 2012-05-18 2012-09-19 华为技术有限公司 Service execution method, server and computer system
US20130318503A1 (en) * 2012-05-25 2013-11-28 Fujitsu Limited Symbolic execution and automatic test case generation for javascript programs
CN102880546A (en) * 2012-09-03 2013-01-16 上海方正数字出版技术有限公司 Software integration testing method and system based on extensible markup language (XML) database
CN102890652A (en) * 2012-11-07 2013-01-23 武汉光迅信息技术有限公司 Method for constructing testing software and testing system employing method
CN105491143A (en) * 2015-12-15 2016-04-13 国云科技股份有限公司 Software running state monitoring system and realization method thereof
CN106250178A (en) * 2016-07-26 2016-12-21 北京北森云计算股份有限公司 The method that system dynamics function intercepts extension online is realized by the compiling of multilingual cloud
CN106250179A (en) * 2016-07-26 2016-12-21 北京北森云计算股份有限公司 The method that system dynamics function intercepts extension is realized by the compiling of multilingual cloud
CN106533810A (en) * 2016-12-28 2017-03-22 Tcl集团股份有限公司 Log management methods, terminal and cloud server
CN109766124A (en) * 2018-12-26 2019-05-17 深圳左邻永佳科技有限公司 Business development method, apparatus, computer equipment and storage medium
CN112948190A (en) * 2021-02-26 2021-06-11 浪潮电子信息产业股份有限公司 Hardware testing method, system and related device of server

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ZHE SUN 等: "A Web Testing Platform Based on Hybrid Automated Testing Framework" *
乔向东: "综合数据业务平台业务逻辑执行模块的设计与实现" *

Cited By (2)

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

Also Published As

Publication number Publication date
CN113656291B (en) 2023-04-28

Similar Documents

Publication Publication Date Title
CN111078554B (en) Applet debugging method, device, equipment and storage medium
CN111708702A (en) Simulation test method, client, server, system and readable storage medium
CN112416327A (en) Project construction method and device, computer equipment and storage medium
KR101972825B1 (en) Method and apparatus for automatically analyzing vulnerable point of embedded appliance by using hybrid analysis technology, and computer program for executing the method
CN109471776B (en) Ethernet-based log collection method for VxWorks operating system
CN110221845A (en) Using dispositions method, device, equipment and medium
CN112562217A (en) Flow engine design, communication mode and working method of self-service terminal control system
CN116166525A (en) Method and device for generating test script
CN111831567A (en) Application test environment configuration method, device, system and medium
CN113656291B (en) Dynamic calling method for software script engine
CN107766068B (en) Application system patch installation method and device, computer equipment and storage medium
CN110888800A (en) Service interaction function test method, device, storage medium and test system
CN111078424A (en) Information interaction method and device, computer equipment and storage medium
CN113595832A (en) Network data acquisition system and method
CN110928787B (en) Automatic test script recording and playback method, device, equipment and storage medium
CN111935107A (en) Identity authentication method, device, system, electronic equipment and storage medium
CN116069334B (en) Cloud-protogenesis-based online development and code hosting method and system
CN116305133A (en) Virtualization-based kernel vulnerability patch verification method and device
CN116010254A (en) Performance detection method and system in system research and development stage
CN115617668A (en) Compatibility testing method, device and equipment
CN111427770B (en) Resource testing method and related equipment
CN113127884A (en) Virtualization-based vulnerability parallel verification method and device
CN116501596A (en) Application program testing method and device
CN111666471A (en) Information acquisition method and device, computer equipment and storage medium
CN113064601A (en) Method, device, terminal and storage medium for determining dynamic loading file

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