CN116192672A - Script viewing method and related equipment - Google Patents

Script viewing method and related equipment Download PDF

Info

Publication number
CN116192672A
CN116192672A CN202211622280.0A CN202211622280A CN116192672A CN 116192672 A CN116192672 A CN 116192672A CN 202211622280 A CN202211622280 A CN 202211622280A CN 116192672 A CN116192672 A CN 116192672A
Authority
CN
China
Prior art keywords
service
script
target
terminal
configuration information
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
CN202211622280.0A
Other languages
Chinese (zh)
Other versions
CN116192672B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202211622280.0A priority Critical patent/CN116192672B/en
Priority claimed from CN202211622280.0A external-priority patent/CN116192672B/en
Publication of CN116192672A publication Critical patent/CN116192672A/en
Application granted granted Critical
Publication of CN116192672B publication Critical patent/CN116192672B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a script viewing method and related equipment, wherein the method comprises the following steps: acquiring a target parameter of a target service application and an identifier of the target service, and generating a script preview request according to the identifier and the target parameter; the script preview request is sent to a control terminal, and the target parameters in the script preview request are used for the control terminal to generate a script corresponding to the target service; and receiving configuration information of the script sent by the control terminal and displaying the configuration information. In the invention, the service opening and script checking functions are arranged on the service terminal, the control terminal is used for configuring the script of the service, the script preview and the script configuration are decoupled, the control terminal is enabled to concentrate on the script configuration, namely, the control terminal can configure the script meeting the service requirement, the script checking method is applicable to script checking corresponding to all the services, and the flexibility of script checking is improved.

Description

Script viewing method and related equipment
Technical Field
The present invention relates to the field of script technologies, and in particular, to a script viewing method and related devices.
Background
Currently, service provisioning for operators is a full-automatic one-key provisioning mode based on control terminals. In the opening process, the control terminal needs to provide scripts for the user to audit or check.
In an exemplary technique, the system allows a user to view scripts by setting the functionality of script viewing.
However, the functions of service opening, script configuration, script viewing and the like are concentrated on the system, namely, the script viewing and the system are too coupled, the system can only display the information of the script of the service matched with the system, and the script viewing of the service which is not matched with the system is not applicable, so that the script viewing flexibility of the service is lower.
Disclosure of Invention
The invention provides a script viewing method and related equipment, which are used for solving the problem of low flexibility of service script viewing.
In one aspect, the present invention provides a script viewing method, applied to a service terminal, including:
acquiring a target parameter of a target service application and an identifier of the target service, and generating a script preview request according to the identifier and the target parameter;
the script preview request is sent to a control terminal, and the target parameters in the script preview request are used for the control terminal to generate a script corresponding to the target service;
and receiving configuration information of the script sent by the control terminal and displaying the configuration information.
Optionally, after the step of displaying the configuration information, the method further includes:
acquiring a service list of the target service, wherein the service list comprises a first parameter for acquiring service information of the target service;
generating a message acquisition request according to the service list, and sending the message acquisition request to the control terminal, wherein the message acquisition request is used for the control terminal to send the script to a target terminal so as to acquire service information of the target service;
and receiving a message sent by the control terminal, and displaying the message, wherein the message comprises service information corresponding to target service fed back by the target terminal.
Optionally, the step of obtaining the target parameter of the target service application and the identifier of the target service includes:
acquiring a target file corresponding to the target service;
and when the configuration information of the script corresponding to the target service is not stored in the target file, acquiring the target parameters of the target service application and the identification corresponding to the target service.
Optionally, after the step of displaying the configuration information, the method further includes:
checking the configuration information;
and after the configuration information passes the verification, storing the configuration information into the target file.
On the other hand, the invention also provides a script checking method, which is applied to the control terminal and comprises the following steps:
receiving a script preview request sent by a service terminal, and acquiring an identifier and a target parameter according to the script preview request;
generating a script of the target service corresponding to the identifier according to the target parameter;
and sending the configuration information of the script to the service terminal so that the service can display the configuration information.
Optionally, after the step of sending the configuration information of the script to the service terminal, the method further includes:
receiving a message acquisition request sent by the service terminal;
acquiring a service list according to the message acquisition request, and determining a target terminal to be issued by the script according to a first parameter in the service list;
transmitting the script to the target terminal;
and receiving service information corresponding to the target service obtained by the target terminal executing the script, and sending a message to the service terminal, wherein the message comprises the service information.
In another aspect, the present invention further provides a service terminal, including:
the acquisition module is used for acquiring target parameters of a target service application and the identification of the target service and generating a script preview request according to the identification and the target parameters;
the first sending module is used for sending the script preview request to a control terminal, and the target parameter in the script preview request is used for the control terminal to generate a script corresponding to the target service;
the first receiving module is used for receiving the configuration information of the script sent by the control terminal and displaying the configuration information.
In another aspect, the present invention further provides a service device, including: a memory and a processor;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored by the memory, causing the processor to perform the script viewing method as described above.
On the other hand, the invention also provides a control terminal, which comprises:
the second receiving module is used for receiving a script preview request sent by the service terminal and acquiring an identifier and a target parameter according to the script preview request;
the generation module is used for generating a script of the target service corresponding to the identifier according to the target parameter;
and the second sending module is used for sending the configuration information of the script to the service terminal so as to enable the service to display the configuration information.
In another aspect, the present invention also provides a control apparatus, including: a memory and a processor;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored by the memory, causing the processor to perform the script viewing method as described above.
In another aspect, the present invention also provides a computer-readable storage medium having stored therein computer-executable instructions for implementing the script viewing method as described above when executed by a processor.
According to the script checking method and the related equipment, the target parameters and the corresponding identifiers of the target service application are obtained, the script preview request is generated according to the identifiers and the target parameters, and the script preview request is sent to the control terminal, so that the control terminal generates the script corresponding to the target service based on the target parameters and the identifiers, the service terminal receives the script sent by the control terminal, and finally configuration information of the script is displayed. In the invention, the service opening and script checking functions are arranged on the service terminal, the control terminal is used for configuring the script of the service, the script preview and the script configuration and the service opening are decoupled, so that the control terminal is focused on the script configuration, namely, the control terminal can configure the script meeting the service requirement, the script checking method is suitable for checking the scripts corresponding to all the services, and the flexibility of script checking is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic diagram of a scenario illustrating a script viewing method of the present invention;
FIG. 2 is a flow chart of a first embodiment of a script viewing method of the present invention;
FIG. 3 is a flow chart of a second embodiment of a script viewing method of the present invention;
FIG. 4 is a flow chart of a third embodiment of a script viewing method of the present invention;
FIG. 5 is a flowchart of a fourth embodiment of a script viewing method of the present invention;
FIG. 6 is a flowchart of a fifth embodiment of a script viewing method of the present invention;
fig. 7 is a schematic block diagram of a service terminal according to the present invention;
FIG. 8 is a schematic block diagram of a control terminal according to the present invention;
fig. 9 is a schematic diagram of a hardware structure of the service device/control device of the present invention.
Specific embodiments of the present disclosure have been shown by way of the above drawings and will be described in more detail below. These drawings and the written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the disclosed concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Currently, service provisioning for operators is a full-automatic one-key provisioning mode based on control terminals. In the opening process, the control terminal needs to provide scripts for the user to audit or check. In an exemplary technique, the system allows a user to view scripts by setting the functionality of script viewing.
The inventor discovers that the functions of opening the service, configuring the script, viewing the script and the like are concentrated on the system, namely, the script viewing is excessively coupled with the system, the system can only display the information of the script of the service matched with the system, but the script viewing of the service which is not matched with the system is not applicable, and the script viewing flexibility of the service is lower.
The inventor of the patent thinks that the function of opening the service and checking the script is set in the service terminal, and the control terminal is used for configuring the script of the service, decoupling script preview and configuration of the script and opening the service, so that the control terminal is focused on the configuration of the script, namely, the control terminal can configure the script meeting the service requirement, the method is suitable for checking the script corresponding to all the services, and flexibility of checking the script is improved.
Referring to fig. 1, fig. 1 is a schematic view of a scenario of the script viewing method of the present invention. As shown in fig. 1, the service terminal 100 is communicatively connected to the control terminal 200. The user may submit a service application on the service terminal 100, and the service terminal 100 sends a script preview request to the control terminal 200 based on the service of the submitted application. The control terminal 200 generates a script corresponding to the service based on the script preview request, and transmits the script to the service terminal 100, and the service terminal 100 displays configuration information of the script for the user to review and view.
The following describes the technical scheme of the present invention and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Referring to fig. 2, fig. 2 is a first embodiment of the script viewing method of the present invention, the script viewing method comprising the steps of:
step S201, obtaining the target parameter of the target service application and the identification of the target service, and generating a script preview request according to the identification and the target parameter.
In this embodiment, the execution subject is a service terminal. And the user submits a service application at the service terminal, and the service terminal can determine the service required to be applied by the user based on the service application, wherein the service is defined as a target service. The service application also comprises a service list, and the service list comprises the identification of the target service. The service ticket has a corresponding state including a to-be-inspected state and an inspected completed state. In the state to be checked, the service terminal needs to acquire the service information required by the target service. In contrast, when the state of the service list is the state to be checked, the service terminal acquires the target parameters of the target service application and the identification of the target service. The target parameters refer to parameters required for generating a script corresponding to the target service. In addition, when the state of the service list is determined to be a state to be checked, and the configuration preview operation of the user is detected, the service terminal acquires the target parameters and the identification corresponding to the target service.
After the target parameter and the identifier are obtained, the service terminal generates a script preview request based on the identifier and the target parameter, that is, the script preview request includes the identifier and the target parameter.
Step S202, a script preview request is sent to a control terminal, and target parameters in the script preview request are used for the control terminal to generate a script corresponding to a target service.
And the service terminal sends the script preview request to the control terminal. After receiving the script preview request, the control terminal analyzes the script preview request to obtain the identification and the target parameter, so that a script corresponding to the target service is generated through the target parameter, and the identification and the script are associated and stored. In addition, the service terminal can send the script preview request to the orchestration coordination device, and the orchestration coordination device can transmit the script preview request to the control terminal. The control terminal sends the configuration information of the script to the orchestration coordination device, and the orchestration coordination device sends the configuration information of the script to the service terminal.
Step S203, receiving configuration information of the script sent by the control terminal and displaying the configuration information.
After receiving the configuration information of the script, the service terminal displays the configuration information for the user to check and audit. The service terminal may display the configuration information in the form of a popup window.
It should be noted that, the preview capability of the configuration information may be set for the scenarios such as the mobile service VPN-SVC and site instance delivery, the subinterface description modification, the batch modification subinterface description, the internet private line service VPN-SVC and site instance delivery, etc.
In this embodiment, the target parameter and the corresponding identifier of the target service application are obtained, a script preview request is generated according to the identifier and the target parameter, and the script preview request is sent to the control terminal, so that the control terminal generates a script corresponding to the target service based on the target parameter and the identifier, and the service terminal receives the script sent by the control terminal, and finally displays configuration information of the script. Because the service opening and script checking functions are arranged on the service terminal, the control terminal is used for configuring the script of the service, the script preview and the script configuration and the service opening are decoupled, the control terminal is enabled to concentrate on the script configuration, namely, the control terminal can configure the script meeting the service requirement, the script checking method is suitable for checking the scripts corresponding to all the services, and the flexibility of script checking is improved.
Referring to fig. 3, fig. 3 is a second embodiment of the script viewing method according to the present invention, and after step S203, further includes:
step S301, acquiring a service ticket of a target service, where the service ticket includes a first parameter for acquiring service information of the target service.
In this embodiment, after the service terminal displays the configuration information, the user may confirm the configuration information, and if the configuration information is confirmed without errors, the service terminal may request the control terminal to obtain the message. The message comprises interaction information between the control terminal and the target terminal, wherein the interaction information comprises service information corresponding to the target service, namely, the message fed back to the service terminal by the control terminal comprises service information corresponding to the target service.
The method comprises the steps that a business terminal firstly carries out auditing on a target business when detecting an application for submitting the target business, the auditing passes, the business terminal obtains a business list of the target business, and the business list comprises a first parameter for obtaining business information of the target business. The first parameter is for example the identity of the terminal with which the control terminal is in business interaction. The auditing of the target business refers to auditing the first parameter in the business bill of the target business, namely determining whether the first parameter is correct or not, and if so, the business bill auditing is passed.
Step S302, a message acquisition request is generated according to the service list and is sent to the control terminal, wherein the message acquisition request is used for the control terminal to send a script to the target terminal so as to acquire service information of the target service.
The service terminal generates a message acquisition request based on the service list, namely the message acquisition request comprises all the first parameters. And the service terminal sends the message acquisition request to the control terminal. In addition, the service terminal can send the message acquisition request to the arrangement coordination device, and the arrangement coordination device can transmit the message acquisition request to the control terminal. After receiving the message acquisition request, the control terminal analyzes the message acquisition request to obtain first parameters, wherein the first parameters can be identifiers of the terminals, and the control terminal determines a target terminal corresponding to the first parameters. The control terminal stores the script corresponding to the target service before, and the control terminal issues the script to the target terminal. After receiving the script, the target terminal executes the script, thereby generating service information corresponding to the target service. The target terminal may be a network device. The target terminal sends the service information to the control terminal, and the control terminal generates a message based on the service information and sends the message to the service terminal. In addition, the control terminal can also send the message to the arrangement cooperative device, and the arrangement cooperative device forwards the message to the service terminal.
Step S303, receiving the message sent by the control terminal, and displaying the message, wherein the message comprises the service information corresponding to the target service fed back by the target terminal.
And after receiving the message sent by the control terminal, the service terminal displays the message. Further, the control terminal feeds back the message to the service terminal. The message carries information whether the service list is successfully issued. If the service list is successfully issued, the message comprises service information corresponding to the target service, and the service terminal stores the service message and modifies the state of the service list into successful issuing. If the message is that the service list is not successfully issued, the state of the service list is modified to be unsuccessful. The control terminal can send the message to the arrangement coordination device, and the arrangement coordination device forwards the message to the service terminal.
In this embodiment, the message viewing, service opening and script configuration are decoupled, so that the message viewing function can be applicable to all service scenarios in which interfaces are created and modified.
Referring to fig. 4, fig. 4 is a third embodiment of the script viewing method of the present invention, based on the first or second embodiment, step S201 includes:
step S401, obtaining a target file corresponding to a target service.
Step S402, when the configuration information of the script corresponding to the target service is not stored in the target file, the target parameter of the target service application and the identifier corresponding to the target service are obtained.
In this embodiment, when the service terminal has acquired the configuration information of the script from the control terminal, the configuration information may be stored in a query file, and the query file is defined as a target file. In this regard, when the application of the target service is submitted, the service terminal first obtains the target file corresponding to the target service.
The service key detects whether the configuration information of the script corresponding to the target service exists in the target file. And if the configuration information of the script corresponding to the target service is not stored in the target file, the service terminal acquires the target parameter and the identifier. If the configuration information is stored in the target file, the configuration information is directly displayed.
Further, after the service terminal receives the configuration information, the configuration information needs to be checked, if the configuration information passes the check, the configuration information is displayed, and the configuration information is stored in the target file. If the configuration information does not pass the verification, only the configuration information is displayed, and the configuration information is not stored in the target file. In addition, the service terminal can also check the configuration information after displaying the configuration information, and if the configuration information passes the check, the configuration information is stored in the target file.
In this embodiment, the service terminal first checks whether there is configuration information of a script corresponding to the target service from the target file, and if the configuration information is not included in the target file, obtains the target parameter to request the control terminal to issue the configuration information.
The invention also provides a script checking method which is applied to the control terminal.
Referring to fig. 5, fig. 5 is a diagram illustrating a fourth embodiment of a script viewing method of the present invention, which is applied to a control terminal, the method includes:
step S501, receiving a script preview request sent by a service terminal, and acquiring an identification and a target parameter according to the script preview request.
In this embodiment, the execution body is a control terminal, and the control terminal is in communication connection with the service terminal.
And the user submits a service application at the service terminal, and the service terminal can determine the service required to be applied by the user based on the service application, wherein the service is defined as a target service. The service application also comprises a service list, and the service list comprises the identification of the target service. The service ticket has a corresponding state including a to-be-inspected state and an inspected completed state. In the state to be checked, the service terminal needs to acquire the service information required by the target service. In contrast, when the state of the service list is the state to be checked, the service terminal acquires the target parameters of the target service application and the identification of the target service. The target parameters refer to parameters required for generating a script corresponding to the target service. In addition, when the state of the service list is determined to be a state to be checked, and the configuration preview operation of the user is detected, the service terminal acquires the target parameters and the identification corresponding to the target service. After the target parameter and the identifier are obtained, the service terminal generates a script preview request based on the identifier and the target parameter, that is, the script preview request includes the identifier and the target parameter. And the service terminal sends the script preview request to the control terminal.
Step S502, generating a script for identifying the corresponding target service according to the target parameters.
Step S503, the configuration information of the script is sent to the service terminal for displaying the configuration information.
After receiving the script preview request, the control terminal analyzes the script preview request to obtain the identification and the target parameter, so that a script corresponding to the target service is generated through the target parameter, and the identification and the script are associated and stored. In addition, the service terminal can send the script preview request to the orchestration coordination device, and the orchestration coordination device can transmit the script preview request to the control terminal. The control terminal sends the configuration information of the script to the orchestration coordination device, and the orchestration coordination device sends the configuration information of the script to the service terminal.
After receiving the configuration information of the script, the service terminal displays the configuration information for the user to check and audit. The service terminal may display the configuration information in the form of a popup window.
It should be noted that, the preview capability of the configuration information may be set for the scenarios such as the mobile service VPN-SVC and site instance delivery, the subinterface description modification, the batch modification subinterface description, the internet private line service VPN-SVC and site instance delivery, etc.
In this embodiment, the target parameter and the corresponding identifier of the target service application are obtained, a script preview request is generated according to the identifier and the target parameter, and the script preview request is sent to the control terminal, so that the control terminal generates a script corresponding to the target service based on the target parameter and the identifier, and the service terminal receives the script sent by the control terminal, and finally displays configuration information of the script. Because the service opening and script checking functions are arranged on the service terminal, the control terminal is used for configuring the script of the service, the script preview and the script configuration and the service opening are decoupled, the control terminal is enabled to concentrate on the script configuration, namely, the control terminal can configure the script meeting the service requirement, the script checking method is suitable for checking the scripts corresponding to all the services, and the flexibility of script checking is improved.
Referring to fig. 6, fig. 6 is a diagram illustrating a fifth embodiment of a script viewing method according to the present invention, and after step S503, further includes:
step S601, receiving a message acquisition request sent by a service terminal.
In this embodiment, after the service terminal displays the configuration information, the user may confirm the configuration information, and if the configuration information is confirmed without errors, the service terminal may request the control terminal to obtain the message. The message comprises interaction information between the control terminal and the target terminal, wherein the interaction information comprises service information corresponding to the target service, namely, the message fed back to the service terminal by the control terminal comprises service information corresponding to the target service.
The method comprises the steps that a business terminal firstly carries out auditing on a target business when detecting an application for submitting the target business, the auditing passes, the business terminal obtains a business list of the target business, and the business list comprises a first parameter for obtaining business information of the target business. The first parameter is for example the identity of the terminal with which the control terminal is in business interaction. The auditing of the target business refers to auditing the first parameter in the business bill of the target business, namely determining whether the first parameter is correct or not, and if so, the business bill auditing is passed.
Step S602, a service list is acquired according to the message acquisition request, and a target terminal to which the script is to be issued is determined according to a first parameter in the service list.
Step S603, the script is sent to the target terminal.
Step S604, receiving service information corresponding to the target service obtained by the target terminal executing script, and sending a message to the service terminal, wherein the message comprises the service information.
The service terminal generates a message acquisition request based on the service list, namely the message acquisition request comprises all the first parameters. And the service terminal sends the message acquisition request to the control terminal. In addition, the service terminal can send the message acquisition request to the arrangement coordination device, and the arrangement coordination device can transmit the message acquisition request to the control terminal. After receiving the message acquisition request, the control terminal analyzes the message acquisition request to obtain first parameters, wherein the first parameters can be identifiers of the terminals, and the control terminal determines a target terminal corresponding to the first parameters. The control terminal stores the script corresponding to the target service before, and the control terminal issues the script to the target terminal. After receiving the script, the target terminal executes the script, thereby generating service information corresponding to the target service. The target terminal may be a network device. The target terminal sends the service information to the control terminal, and the control terminal generates a message based on the service information and sends the message to the service terminal. In addition, the control terminal can also send the message to the arrangement cooperative device, and the arrangement cooperative device forwards the message to the service terminal.
And after receiving the message sent by the control terminal, the service terminal displays the message. Further, the control terminal feeds back the message to the service terminal. The message carries information whether the service list is successfully issued. If the service list is successfully issued, the message comprises service information corresponding to the target service, and the service terminal stores the service message and modifies the state of the service list into successful issuing. If the message is that the service list is not successfully issued, the state of the service list is modified to be unsuccessful. The control terminal can send the message to the arrangement coordination device, and the arrangement coordination device forwards the message to the service terminal.
In this embodiment, the message viewing, service opening and script configuration are decoupled, so that the message viewing function can be applicable to all service scenarios in which interfaces are created and modified.
The present invention also provides a service terminal, referring to fig. 7, a service terminal 700 includes:
the acquiring module 710 is configured to acquire a target parameter of the target service application and an identifier of the target service, and generate a script preview request according to the identifier and the target parameter;
the first sending module 720 is configured to send a script preview request to the control terminal, where a target parameter in the script preview request is used to control the terminal to generate a script corresponding to the target service;
the first receiving module 730 is configured to receive configuration information of a script sent by the control terminal, and display the configuration information.
In one embodiment, service terminal 700 includes:
an obtaining module 710, configured to obtain a service ticket of the target service, where the service ticket includes a first parameter for obtaining service information of the target service;
the generation module is used for generating a message acquisition request according to the service list and sending the message acquisition request to the control terminal, wherein the message acquisition request is used for sending a script to the target terminal by the control terminal so as to acquire service information of the target service;
the first receiving module 730 is configured to receive a message sent by the control terminal, and display a message, where the message includes service information corresponding to a target service fed back by the target terminal.
In one embodiment, service terminal 700 includes:
an obtaining module 710, configured to obtain a target file corresponding to a target service;
the obtaining module 710 is configured to obtain the target parameter of the target service application and the identifier corresponding to the target service when the configuration information of the script corresponding to the target service is not stored in the target file.
In one embodiment, service terminal 700 includes:
the verification module is used for verifying the configuration information;
and the storage module is used for storing the configuration information into the target file after the configuration information passes the verification.
The present invention also provides a control terminal, referring to fig. 8, a control terminal 800 includes:
the second receiving module 810 is configured to receive a script preview request sent by the service terminal, and obtain an identifier and a target parameter according to the script preview request;
a generating module 820, configured to generate a script for identifying a corresponding target service according to the target parameter;
and the second sending module 830 is configured to send the configuration information of the script to the service terminal, so that the service displays the configuration information.
In an embodiment, the control terminal 800 includes:
a second receiving module 810, configured to receive a message acquisition request sent by a service terminal;
the acquisition module is used for acquiring the service list according to the message acquisition request and determining a target terminal to be issued by the script according to a first parameter in the service list;
a second transmitting module 830, configured to transmit the script to the target terminal;
the second receiving module 810 is configured to receive service information corresponding to a target service obtained by the target terminal executing script, and send a message to the service terminal, where the message includes the service information.
Fig. 9 is a hardware configuration diagram of a control device/service device according to an exemplary embodiment.
The control device/service device 900 may include: a process 901, such as a CPU, memory 902, and transceiver 903. It will be appreciated by those skilled in the art that the structure shown in fig. 9 does not constitute a limitation of the control device/service device, and may include more or fewer components than shown, or may combine certain components, or may have a different arrangement of components. The memory 902 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The processor 901 may call a computer program stored in the memory 902 to complete all or part of the steps of the script viewing method described above.
The transceiver 903 is used to receive information transmitted by an external device and transmit information to the external device.
A non-transitory computer readable storage medium, which when executed by a processor of a control device/business device, causes the control device/business device to perform the script viewing method described above.
A computer program product comprising a computer program which, when executed by a processor of a control device/service device, enables the control device/service device to perform the script viewing method described above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (11)

1. The script viewing method is characterized by being applied to a service terminal and comprising the following steps:
acquiring a target parameter of a target service application and an identifier of the target service, and generating a script preview request according to the identifier and the target parameter;
the script preview request is sent to a control terminal, and the target parameters in the script preview request are used for the control terminal to generate a script corresponding to the target service;
and receiving configuration information of the script sent by the control terminal and displaying the configuration information.
2. The script viewing method of claim 1, wherein after the step of displaying the configuration information, further comprising:
acquiring a service list of the target service, wherein the service list comprises a first parameter for acquiring service information of the target service;
generating a message acquisition request according to the service list, and sending the message acquisition request to the control terminal, wherein the message acquisition request is used for the control terminal to send the script to a target terminal so as to acquire service information of the target service;
and receiving a message sent by the control terminal, and displaying the message, wherein the message comprises service information corresponding to target service fed back by the target terminal.
3. The script viewing method according to claim 1 or 2, wherein the step of obtaining the target parameter of the target service application and the identification of the target service comprises:
acquiring a target file corresponding to the target service;
and when the configuration information of the script corresponding to the target service is not stored in the target file, acquiring the target parameters of the target service application and the identification corresponding to the target service.
4. A script viewing method according to claim 3, wherein after the step of displaying the configuration information, further comprising:
checking the configuration information;
and after the configuration information passes the verification, storing the configuration information into the target file.
5. The script viewing method is characterized by being applied to a control terminal and comprising the following steps:
receiving a script preview request sent by a service terminal, and acquiring an identifier and a target parameter according to the script preview request;
generating a script of the target service corresponding to the identifier according to the target parameter;
and sending the configuration information of the script to the service terminal so that the service can display the configuration information.
6. The script viewing method of claim 5, wherein after the step of transmitting the configuration information of the script to the service terminal, further comprising:
receiving a message acquisition request sent by the service terminal;
acquiring a service list according to the message acquisition request, and determining a target terminal to be issued by the script according to a first parameter in the service list;
transmitting the script to the target terminal;
and receiving service information corresponding to the target service obtained by the target terminal executing the script, and sending a message to the service terminal, wherein the message comprises the service information.
7. A service terminal, comprising:
the acquisition module is used for acquiring target parameters of a target service application and the identification of the target service and generating a script preview request according to the identification and the target parameters;
the first sending module is used for sending the script preview request to a control terminal, and the target parameter in the script preview request is used for the control terminal to generate a script corresponding to the target service;
the first receiving module is used for receiving the configuration information of the script sent by the control terminal and displaying the configuration information.
8. A service device, comprising: a memory and a processor;
the memory stores computer-executable instructions;
the processor executing computer-executable instructions stored in the memory causes the processor to perform the script viewing method of any of claims 1 to 4.
9. A control terminal, characterized by comprising:
the second receiving module is used for receiving a script preview request sent by the service terminal and acquiring an identifier and a target parameter according to the script preview request;
the generation module is used for generating a script of the target service corresponding to the identifier according to the target parameter;
and the second sending module is used for sending the configuration information of the script to the service terminal so as to enable the service to display the configuration information.
10. A control apparatus, characterized by comprising: a memory and a processor;
the memory stores computer-executable instructions;
the processor executing computer-executable instructions stored in the memory causes the processor to perform the script viewing method of claim 5 or 6.
11. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are for implementing the script viewing method of any of claims 1 to 6.
CN202211622280.0A 2022-12-16 Script viewing method and related equipment Active CN116192672B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211622280.0A CN116192672B (en) 2022-12-16 Script viewing method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211622280.0A CN116192672B (en) 2022-12-16 Script viewing method and related equipment

Publications (2)

Publication Number Publication Date
CN116192672A true CN116192672A (en) 2023-05-30
CN116192672B CN116192672B (en) 2024-07-16

Family

ID=

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6748418B1 (en) * 1999-06-18 2004-06-08 International Business Machines Corporation Technique for permitting collaboration between web browsers and adding content to HTTP messages bound for web browsers
KR20090075600A (en) * 2008-01-04 2009-07-08 (주)양지에너지 Automation test system and method for a financial work program
US20110185038A1 (en) * 2010-01-28 2011-07-28 Seok-Hyun Yoon Apparatus and method for providing a terminal web service
US20120198342A1 (en) * 2011-01-28 2012-08-02 International Business Machines Corporation Automatic generation of task scripts from web browsing interaction history
US20140167936A1 (en) * 2012-12-14 2014-06-19 Electronics And Telecommunications Research Institute Remote control apparatus and method using dynamic script
CN107450899A (en) * 2016-06-01 2017-12-08 深圳市信锐网科技术有限公司 The generation method and device of terminal control script
CN107608889A (en) * 2017-09-15 2018-01-19 杭州销冠网络科技有限公司 A kind of test script automatic generation method and system
CN112162825A (en) * 2020-10-12 2021-01-01 北京首都在线科技股份有限公司 Equipment configuration method, device, equipment and storage medium
CN112799656A (en) * 2021-04-15 2021-05-14 智道网联科技(北京)有限公司 Script file configuration method, device, equipment and storage medium for automation operation
US11075823B1 (en) * 2018-10-31 2021-07-27 Vmware, Inc. Techniques for network packet event related script execution
CN113704099A (en) * 2021-08-20 2021-11-26 北京空间飞行器总体设计部 Test script generation method and equipment for spacecraft power system evaluation
CN114793232A (en) * 2022-04-01 2022-07-26 中国工商银行股份有限公司 Service processing method and device, electronic equipment and storage medium
CN115225707A (en) * 2021-04-16 2022-10-21 腾讯科技(深圳)有限公司 Resource access method and device

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6748418B1 (en) * 1999-06-18 2004-06-08 International Business Machines Corporation Technique for permitting collaboration between web browsers and adding content to HTTP messages bound for web browsers
KR20090075600A (en) * 2008-01-04 2009-07-08 (주)양지에너지 Automation test system and method for a financial work program
US20110185038A1 (en) * 2010-01-28 2011-07-28 Seok-Hyun Yoon Apparatus and method for providing a terminal web service
US20120198342A1 (en) * 2011-01-28 2012-08-02 International Business Machines Corporation Automatic generation of task scripts from web browsing interaction history
US20140167936A1 (en) * 2012-12-14 2014-06-19 Electronics And Telecommunications Research Institute Remote control apparatus and method using dynamic script
CN107450899A (en) * 2016-06-01 2017-12-08 深圳市信锐网科技术有限公司 The generation method and device of terminal control script
CN107608889A (en) * 2017-09-15 2018-01-19 杭州销冠网络科技有限公司 A kind of test script automatic generation method and system
US11075823B1 (en) * 2018-10-31 2021-07-27 Vmware, Inc. Techniques for network packet event related script execution
CN112162825A (en) * 2020-10-12 2021-01-01 北京首都在线科技股份有限公司 Equipment configuration method, device, equipment and storage medium
CN112799656A (en) * 2021-04-15 2021-05-14 智道网联科技(北京)有限公司 Script file configuration method, device, equipment and storage medium for automation operation
CN115225707A (en) * 2021-04-16 2022-10-21 腾讯科技(深圳)有限公司 Resource access method and device
CN113704099A (en) * 2021-08-20 2021-11-26 北京空间飞行器总体设计部 Test script generation method and equipment for spacecraft power system evaluation
CN114793232A (en) * 2022-04-01 2022-07-26 中国工商银行股份有限公司 Service processing method and device, electronic equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
FERMIN C.ARAGON;JOEL C.HUEGEL: "Comparison between Classic Control Systems Techniques against Adaptive and Nonlinear Control Techniques in a Lower Limb Prostheses", 2019 4TH INTERNATIONAL CONFERENCE ON CONTROL AND ROBOTICS ENGINEERING, 30 May 2019 (2019-05-30) *
吴湘剑: "异构网络策略控制***的设计", 中国优秀硕士学位论文数据库, 16 April 2015 (2015-04-16) *
李春雷;高峰;颜运强;: "基于Actor模型的软总线设计", 计算机工程, no. 05, 23 April 2018 (2018-04-23) *

Similar Documents

Publication Publication Date Title
CN112769834B (en) Identity verification system, method and platform
US20210240955A1 (en) Displaying and recognizing two-dimensional code
CN108335237B (en) Scheme setting method, terminal and computer readable storage medium
CN106296144A (en) Payment processes server, client and payment processing method
CN108764848B (en) Electronic contract signing method and system
CN109656931B (en) Contract data consistency verification method, device, equipment and storage medium
CN106130998A (en) A kind of identifying code transmission method and device
US20220377556A1 (en) Internet-of-things device registration method and apparatus, device, and storage medium
CN108933789B (en) Method for preventing personal information leakage and third-party application server
CN110619208A (en) User authentication method, server, user equipment and system
CN110555681A (en) Bank card signing method, device, server and medium
CN107371123B (en) Ticket checking method, device and system
CN116192672B (en) Script viewing method and related equipment
CN116192672A (en) Script viewing method and related equipment
CN111027950B (en) Payment signing system, method and device
CN109412811B (en) Method for issuing authentication certificate and acquiring authentication certificate
CN111932326B (en) Data processing method based on block chain network and related equipment
CN114449520A (en) Remote acquisition method and device for bank flow
CN114841686A (en) Payment transaction method, payment mechanism server, merchant terminal and electronic equipment
CN113537745A (en) Business processing method, device, medium and computer program product
CN113537962A (en) Alias-based payment method, device, equipment, storage medium and program product
CN113869903A (en) Network payment signing system, network payment signing method and device
CN114697125B (en) Information processing method, operation server and storage medium
US20240223701A1 (en) Telephone Number Verification
CN113922997B (en) Certificate activation method, device and equipment of network camera 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