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
script
service
target
terminal
control 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
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
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)
  • Telephonic Communication Services (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 invention relates to the technical field of scripts, in particular to a script viewing method and related equipment.

背景技术Background technique

目前,针对运营商的业务开通,是基于控制终端的全自动化的一键开通方式。在开通过程中,控制终端需要提供脚本给使用者进行审核或者查看。At present, the service provisioning for operators is a fully automated one-key provisioning method based on the control terminal. During the activation process, the control terminal needs to provide scripts for users to review or view.

示例性技术中,系统通过设置脚本查看的功能以供用户查看脚本。In an exemplary technology, the system allows the user to view the script by setting the function of viewing the script.

但业务的开通、脚本的配置以及脚本的查看等功能都集中在系统上,也即脚本的查看与系统过于耦合,系统只能显示与自身匹配的业务的脚本的信息,而不适用与系统不匹配的业务的脚本查看,业务的脚本查看灵活性较低。However, functions such as service activation, script configuration, and script viewing are all concentrated on the system, that is, script viewing is too coupled with the system, and the system can only display information about business scripts that match itself, which is not applicable The script of the matching business is checked, and the flexibility of the script of the business is low.

发明内容Contents of the invention

本发明提供一种脚本查看方法和相关设备,用以解决业务的脚本查看灵活性较低的问题。The invention provides a script viewing method and related equipment, which are used to solve the problem of low flexibility of business script viewing.

一方面,本发明提供一种脚本查看方法,应用于业务终端,包括:On the one hand, the present invention provides a script viewing method, which is applied to a business terminal, including:

获取目标业务申请的目标参数以及所述目标业务的标识,并根据所述标识以及所述目标参数生成脚本预览请求;Acquiring 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;

将所述脚本预览请求发送至控制终端,所述脚本预览请求中的所述目标参数用于所述控制终端生成所述目标业务对应的脚本;sending the script preview request to a control terminal, where the target parameter in the script preview request is used by the control terminal to generate a script corresponding to the target service;

接收所述控制终端发送的脚本的配置信息,并显示所述配置信息。receiving the configuration information of the script sent by the control terminal, and displaying the configuration information.

可选地,所述显示所述配置信息的步骤之后,还包括:Optionally, after the step of displaying the configuration information, it further includes:

获取所述目标业务的业务单,所述业务单包括用于获取所述目标业务的业务信息的第一参数;Acquiring a service order of the target service, where the service form includes a first parameter for obtaining service information of the target service;

根据所述业务单生成报文获取请求,并将所述报文获取请求发送至所述控制终端,其中,所述报文获取请求用于所述控制终端将所述脚本发送至目标终端,以获取所述目标业务的业务信息;Generate a message acquisition request according to the service order, and send the message acquisition request to the control terminal, where the message acquisition request is used for the control terminal to send the script to the target terminal, so as to Acquiring business information of the target business;

接收所述控制终端发送的报文,并显示所述报文,所述报文包括所述目标终端反馈的目标业务所对应的业务信息。receiving the message sent by the control terminal, and displaying the message, where the message includes service information corresponding to the target service fed back by the target terminal.

可选地,所述获取目标业务申请的目标参数以及所述目标业务的标识的步骤包括:Optionally, the step of obtaining the target parameters of the target service application and the identification of the target service includes:

获取所述目标业务对应的目标文件;Obtaining a target file corresponding to the target business;

在所述目标文件中未存储所述目标业务对应的脚本的配置信息时,获取所述目标业务申请的目标参数以及所述目标业务对应的标识。When the configuration information of the script corresponding to the target service is not stored in the target file, the target parameters of the target service application and the identifier corresponding to the target service are acquired.

可选地,所述显示所述配置信息的步骤之后,还包括:Optionally, after the step of displaying the configuration information, it further includes:

对所述配置信息进行校验;Verifying the configuration information;

在所述配置信息校验通过后,将所述配置信息存储至所述目标文件。After the configuration information is verified and passed, the configuration information is stored in the target file.

另一方面,本发明还提供一种脚本查看方法,应用于控制终端,包括:On the other hand, the present invention also provides a script viewing method, which is applied to the control terminal, including:

接收业务终端发送的脚本预览请求,并根据所述脚本预览请求获取标识以及目标参数;receiving a script preview request sent by a business terminal, and obtaining an identifier and target parameters according to the script preview request;

根据所述目标参数生成所述标识对应的目标业务的脚本;generating a script corresponding to the identified target service according to the target parameter;

将所述脚本的配置信息发送至所述业务终端,以供所述业务显示所述配置信息。Send the configuration information of the script to the service terminal for the service to display the configuration information.

可选地,所述将所述脚本的配置信息发送至所述业务终端的步骤之后,还包括:Optionally, after the step of sending the configuration information of the script to the service terminal, it further includes:

接收所述业务终端发送的报文获取请求;receiving a message acquisition request sent by the service terminal;

根据所述报文获取请求获取业务单,并根据所述业务单中的第一参数确定所述脚本待下发的目标终端;Acquiring a service order according to the message acquisition request, and determining the target terminal to which the script is to be issued according to the first parameter in the service order;

将所述脚本发送至所述目标终端;sending the script to the target terminal;

接收所述目标终端执行所述脚本获得的目标业务对应的业务信息,并将报文发送至所述业务终端,所述报文包括所述业务信息。receiving the service information corresponding to the target service obtained by the target terminal executing the script, and sending a message to the service terminal, the message including the service information.

另一方面,本发明还提供一种业务终端,包括:On the other hand, the present invention also provides a service terminal, including:

获取模块,用于获取目标业务申请的目标参数以及所述目标业务的标识,并根据所述标识以及所述目标参数生成脚本预览请求;An acquisition module, configured to acquire the target parameters of the target service application and the identification of the target business, and generate a script preview request according to the identification and the target parameters;

第一发送模块,用于将所述脚本预览请求发送至控制终端,所述脚本预览请求中的所述目标参数用于所述控制终端生成所述目标业务对应的脚本;A first sending module, configured to send the script preview request to a control terminal, where the target parameter in the script preview request is used by the control terminal to generate a script corresponding to the target service;

第一接收模块,用于接收所述控制终端发送的脚本的配置信息,并显示所述配置信息。The first receiving module is configured to receive the configuration information of the script sent by the control terminal, and display the configuration information.

另一方面,本发明还提供一种业务设备,包括:存储器以及处理器;On the other hand, the present invention also provides a service device, including: a memory and a processor;

所述存储器存储计算机执行指令;the memory stores computer-executable instructions;

所述处理器执行所述存储器存储的计算机执行指令,使得所述处理器执行如上所述的脚本查看方法。The processor executes the computer-executable instructions stored in the memory, so that the processor executes the script viewing method as described above.

另一方面,本发明还提供一种控制终端,包括:On the other hand, the present invention also provides a control terminal, including:

第二接收模块,用于接收业务终端发送的脚本预览请求,并根据所述脚本预览请求获取标识以及目标参数;The second receiving module is used to receive the script preview request sent by the service terminal, and obtain the identifier and target parameters according to the script preview request;

生成模块,用于根据所述目标参数生成所述标识对应的目标业务的脚本;A generating module, configured to generate a script of the target service corresponding to the identification according to the target parameter;

第二发送模块,用于将所述脚本的配置信息发送至所述业务终端,以供所述业务显示所述配置信息。The second sending module is configured to send the configuration information of the script to the service terminal, so that the service can display the configuration information.

另一方面,本发明还提供一种控制设备,包括:存储器以及处理器;On the other hand, the present invention also provides a control device, including: a memory and a processor;

所述存储器存储计算机执行指令;the memory stores computer-executable instructions;

所述处理器执行所述存储器存储的计算机执行指令,使得所述处理器执行如上所述的脚本查看方法。The processor executes the computer-executable instructions stored in the memory, so that the processor executes the script viewing method as described above.

另一方面,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如上所述的脚本查看方法。On the other hand, the present invention also provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, they are used to implement the script viewing method as described above .

本发明提供的脚本查看方法和相关设备,获取目标业务申请的目标参数以及对应的标识,并根据标识以及目标参数生成脚本预览请求,且将脚本预览请求发送至控制终端,使得控制终端基于目标参数以及标识生成目标业务对应的脚本,从而使得业务终端接收控制终端发送的脚本,最后显示脚本的配置信息。在本发明中,业务的开通以及脚本查看功能设置于业务终端,而控制终端用于配置业务的脚本,将脚本预览和脚本的配置、业务的开通进行了解耦,让控制终端专注于脚本的配置,也即使得控制终端能够配置出符合业务需求的脚本,适用于所有的业务对应的脚本查看,提高了脚本查看的灵活性。The script viewing method and related equipment provided by the present invention acquire the target parameter and the corresponding identification of the target service application, and generate a script preview request according to the identification and the target parameter, and send the script preview request to the control terminal, so that the control terminal is based on the target parameter And identify the script corresponding to the generated target service, so that the service terminal receives the script sent by the control terminal, and finally displays the configuration information of the script. In the present invention, the service opening and script viewing functions are set on the service terminal, and the control terminal is used to configure the script of the service, and the script preview is decoupled from the configuration of the script and the opening of the service, so that the control terminal can focus on the script Configuration means that the control terminal can configure scripts that meet business requirements, which is applicable to script viewing corresponding to all services, and improves the flexibility of script viewing.

附图说明Description of 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.

图1为本发明脚本查看方法的一场景示意图;Fig. 1 is a schematic diagram of a scene of the script viewing method of the present invention;

图2为本发明脚本查看方法第一实施例的流程示意图;Fig. 2 is a schematic flow chart of the first embodiment of the script checking method of the present invention;

图3为本发明脚本查看方法第二实施例的流程示意图;Fig. 3 is a schematic flow chart of the second embodiment of the script checking method of the present invention;

图4为本发明脚本查看方法第三实施例的流程示意图;Fig. 4 is a schematic flow chart of the third embodiment of the script viewing method of the present invention;

图5为本发明脚本查看方法第四实施例的流程示意图;FIG. 5 is a schematic flow chart of a fourth embodiment of the script viewing method of the present invention;

图6为本发明脚本查看方法第五实施例的流程示意图;FIG. 6 is a schematic flowchart of a fifth embodiment of the script viewing method of the present invention;

图7为本发明业务终端的模块示意图;Fig. 7 is a schematic diagram of modules of the service terminal of the present invention;

图8为本发明控制终端的模块示意图;Fig. 8 is a schematic diagram of modules of the control terminal of the present invention;

图9为本发明业务设备/控制设备的硬件结构示意图。Fig. 9 is a schematic diagram of the hardware structure of the service device/control device of the present invention.

通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。By means of the above-mentioned drawings, certain embodiments of the present disclosure have been shown and will be described in more detail hereinafter. These drawings and written description are not intended to limit the scope of the disclosed concept in any way, but to illustrate the disclosed concept for those skilled in the art by referring to specific embodiments.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

目前,针对运营商的业务开通,是基于控制终端的全自动化的一键开通方式。在开通过程中,控制终端需要提供脚本给使用者进行审核或者查看。示例性技术中,系统通过设置脚本查看的功能以供用户查看脚本。At present, the service provisioning for operators is a fully automated one-key provisioning method based on the control terminal. During the activation process, the control terminal needs to provide scripts for users to review or view. In an exemplary technology, the system allows the user to view the script by setting the function of viewing the script.

本专利发明人发现,但业务的开通、脚本的配置以及脚本的查看等功能都集中在系统上,也即脚本的查看与系统过于耦合,系统只能显示与自身匹配的业务的脚本的信息,而不适用与系统不匹配的业务的脚本查看,业务的脚本查看灵活性较低。The inventors of this patent found that functions such as service activation, script configuration, and script viewing are all concentrated on the system, that is, the script viewing is too coupled with the system, and the system can only display the information of the business scripts that match itself. It is not suitable for script checking of services that do not match the system, and the flexibility of script checking of services is low.

本专利发明人因此想到,业务的开通以及脚本查看功能设置于业务终端,而控制终端用于配置业务的脚本,将脚本预览和脚本的配置、业务的开通进行了解耦,让控制终端专注于脚本的配置,也即使得控制终端能够配置出符合业务需求的脚本,适用于所有的业务对应的脚本查看,提高了脚本查看的灵活性。Therefore, the inventor of this patent thinks that the opening of the service and the script viewing function are set in the service terminal, and the control terminal is used to configure the script of the service, and the script preview is decoupled from the configuration of the script and the opening of the service, so that the control terminal can focus on The configuration of scripts enables the control terminal to configure scripts that meet business requirements, which is applicable to script viewing corresponding to all businesses and improves the flexibility of script viewing.

参照图1,图1为本发明脚本查看方法的一场景示意图。如图1所示,业务终端100与控制终端200通信连接。用户可以在业务终端100上提交业务申请,业务终端100则基于提交申请的业务向控制终端200发送脚本预览请求。控制终端200基于脚本预览请求生成业务所对应的脚本,并将脚本发送至业务终端100,业务终端100再显示脚本的配置信息以供用户进行审核以及查看。Referring to FIG. 1 , FIG. 1 is a schematic diagram of a scenario of a script checking method of the present invention. As shown in FIG. 1 , the service terminal 100 is communicatively connected to the control terminal 200 . The user can 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 submitted for the application. The control terminal 200 generates a script corresponding to the service based on the script preview request, and sends the script to the service terminal 100, and the service terminal 100 displays the configuration information of the script for the user to review and view.

下面以具体地实施例对本发明的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本发明的实施例进行描述。The technical solution of the present invention and how the technical solution of the present application solves the above technical problems will be described in detail below with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.

参照图2,图2为本发明脚本查看方法的第一实施例,脚本查看方法包括以下步骤:Referring to Fig. 2, Fig. 2 is the first embodiment of the script checking method of the present invention, and the script checking method comprises the following steps:

步骤S201,获取目标业务申请的目标参数以及目标业务的标识,并根据标识以及目标参数生成脚本预览请求。In step S201, the target parameter of the target service application and the target service identifier are obtained, and a script preview request is generated according to the target parameter and the target parameter.

在本实施例中,执行主体是业务终端。用户在业务终端提交业务申请,业务终端基于业务申请即可确定用户所需申请的业务,该业务定义为目标业务。业务申请中还包括有业务单,业务单包括有目标业务的标识。业务单具有对应的状态,该状态包括待审核状态以及审核完成状态。待审核状态下,业务终端需要获取目标业务所需的业务信息。对此,在当业务单的状态是待审核状态,业务终端则获取目标业务申请的目标参数以及目标业务的标识。目标参数指的是生成目标业务对应的脚本所需的参数。另外,在确定业务单的状态是待审核状态,且检测到用户的配置预览操作,业务终端则获取目标参数以及目标业务对应的标识。In this embodiment, the execution subject is a service terminal. The user submits a service application at the service terminal, and the service terminal can determine the service that the user needs to apply for based on the service application, which is defined as the target service. The service application also includes a service order, and the service order includes an identifier of the target service. The business order has a corresponding status, which includes the status of pending approval and the status of approval completion. In the pending review state, the business terminal needs to obtain the business information required by the target business. In this regard, when the status of the business order is pending review, the business terminal obtains the target parameters of the target business application and the target business identifier. The target parameter refers to a parameter required to generate a script corresponding to the target service. In addition, after determining that the status of the business order is pending review, and detecting the user's configuration preview operation, the business terminal obtains the target parameters and the identification corresponding to the target business.

在获得目标参数以及标识后,业务终端基于标识以及目标参数生成脚本预览请求,也即脚本预览请求包括有标识以及目标参数。After obtaining the target parameter and the identifier, 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.

步骤S202,将脚本预览请求发送至控制终端,脚本预览请求中的目标参数用于控制终端生成目标业务对应的脚本。In step S202, a script preview request is sent to the 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 service terminal sends the script preview request to the control terminal. After receiving the script preview request, the control terminal parses the script preview request to obtain the identifier and target parameters, thereby generating a script corresponding to the target business through the target parameters, and associates the identifier with the script for storage. In addition, the service terminal can send the script preview request to the arrangement coordination device, and the arrangement cooperation device transparently transmits the script preview request to the control terminal. The control terminal sends the configuration information of the script to the arrangement coordination device, and the arrangement cooperation device sends the configuration information of the script to the service terminal.

步骤S203,接收控制终端发送的脚本的配置信息,并显示配置信息。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 business terminal displays the configuration information for users to view and review. The service terminal can display configuration information in the form of a pop-up window.

需要说明的是,配置信息的预览能力可针对移动业务VPN-SVC及site实例下发、子接口描述修改、批量修改子接口描述、互联网专线业务VPN-SVC及site实例下发等场景设置。It should be noted that the preview capability of configuration information can be set for scenarios such as delivering mobile service VPN-SVC and site instances, modifying sub-interface descriptions, modifying sub-interface descriptions in batches, and delivering Internet private line service VPN-SVC and site instances.

在本实施例中,获取目标业务申请的目标参数以及对应的标识,并根据标识以及目标参数生成脚本预览请求,且将脚本预览请求发送至控制终端,使得控制终端基于目标参数以及标识生成目标业务对应的脚本,从而使得业务终端接收控制终端发送的脚本,最后显示脚本的配置信息。由于业务的开通以及脚本查看功能设置于业务终端,而控制终端用于配置业务的脚本,将脚本预览和脚本的配置、业务的开通进行了解耦,让控制终端专注于脚本的配置,也即使得控制终端能够配置出符合业务需求的脚本,适用于所有的业务对应的脚本查看,提高了脚本查看的灵活性。In this embodiment, the target parameter and the corresponding identifier of the target service application are obtained, and 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 the target service based on the target parameter and the identifier corresponding script, so that the service terminal receives the script sent by the control terminal, and finally displays the configuration information of the script. Since the service opening and script viewing functions are set on the service terminal, and the control terminal is used to configure the service script, the script preview is decoupled from the script configuration and service opening, so that the control terminal can focus on the script configuration, even if The control terminal can configure scripts that meet business requirements, which is applicable to script viewing corresponding to all businesses, and improves the flexibility of script viewing.

参照图3,图3为本发明脚本查看方法第二实施例,基于第一实施例,步骤S203之后,还包括:Referring to FIG. 3, FIG. 3 is a second embodiment of the script viewing method of the present invention. Based on the first embodiment, after step S203, it also includes:

步骤S301,获取目标业务的业务单,业务单包括用于获取目标业务的业务信息的第一参数。Step S301, acquiring a service order of a target business, the business order including a first parameter for acquiring business information of the target business.

在本实施例中,当业务终端显示配置信息后,用户可以进行确认,若是配置信息确认无误,业务终端则可请求控制终端获取报文。报文包括有控制终端与目标终端之间的交互信息,交互信息包括有目标业务所对应的业务信息,也即控制终端反馈给业务终端的报文包括目标业务对应的业务信息。In this embodiment, after the service terminal displays the configuration information, the user can confirm it. If the configuration information is confirmed to be correct, the service terminal can request the control terminal to obtain the message. The message includes interaction information between the control terminal and the target terminal, and the interaction information includes service information corresponding to the target service, that is, the message fed back from the control terminal to the service terminal includes service information corresponding to the target service.

业务终端在检测到提交目标业务的申请,先对目标业务进行审核,审核通过,业务终端获取目标业务的业务单,业务单包括用于获取目标业务的业务信息的第一参数。第一参数例如为与控制终端进行业务交互的终端的标识。目标业务的审核,指的是对目标业务的业务单中的第一参数的审核,也即确定第一参数是否正确,若是正常,则业务单审核通过。When the service terminal detects the application for submitting the target service, it first reviews the target service, and if the review is passed, the service terminal obtains the service order of the target service, and the service form includes the first parameter used to obtain the service information of the target service. The first parameter is, for example, an identifier of a terminal that performs service interaction with the control terminal. The review of the target business refers to the review of the first parameter in the business order of the target business, that is, to determine whether the first parameter is correct, and if it is normal, the business order is approved.

步骤S302,根据业务单生成报文获取请求,并将报文获取请求发送至控制终端,其中,报文获取请求用于控制终端将脚本发送至目标终端,以获取目标业务的业务信息。Step S302, generating a message acquisition request according to the service order, and sending the message acquisition request to the control terminal, wherein the message acquisition request is used for the control terminal to send a script to the target terminal to obtain service information of the target service.

业务终端基于业务单生成报文获取请求,也即报文获取请求中包括有各个第一参数。业务终端将报文获取请求发送至控制终端。此外,业务终端可将报文获取请求发送至编排协同装置,编排协同装置则将报文获取请求透传至控制终端。控制终端接收到报文获取请求后,解析报文获取请求得到各个第一参数,第一参数可为终端的标识,控制终端确定第一参数对应的目标终端。控制终端之前存储有目标业务所对应的脚本,控制终端则将脚本下发至目标终端。目标终端在接收到脚本后,执行脚本,从而产生目标业务所对应的业务信息。目标终端可以是网络设备。目标终端将业务信息发送至控制终端,控制终端则基于业务信息生成报文,再将报文发送至业务终端。此外,控制终端也可将报文发送至编排协同装置,编排协同装置则将报文转发至业务终端。The service terminal generates a packet acquisition request based on the service order, that is, the packet acquisition request includes each first parameter. The service terminal sends the packet acquisition request to the control terminal. In addition, the service terminal can send the packet acquisition request to the orchestration coordination device, and the orchestration collaboration device transparently transmits the packet acquisition request to the control terminal. After receiving the message acquisition request, the control terminal parses the message acquisition request to obtain each first parameter, where the first parameter may be an identifier of the terminal, and the control terminal determines the target terminal corresponding to the first parameter. The script corresponding to the target service is stored in the control terminal, and the control terminal sends 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 then sends the message to the service terminal. In addition, the control terminal can also send the message to the arrangement coordination device, and the arrangement cooperation device forwards the message to the service terminal.

步骤S303,接收控制终端发送的报文,并显示报文,报文包括目标终端反馈的目标业务所对应的业务信息。Step S303, receiving the message sent by the control terminal, and displaying the message, the message includes the service information corresponding to the target service fed back by the target terminal.

业务终端接收到控制终端发送的报文后,显示报文。进一步的,控制终端会向业务终端反馈消息。该消息中携带有业务单是否下发成功的信息。若是业务单下发成功,则该消息中包括有目标业务对应的业务信息,业务终端将业务消息进行存储,并将业务单的状态修改为下发成功。若消息是业务单下发未成功,则将业务单的状态修改为未下发成功。控制终端可将报文发送至编排协同装置,编排协同装置再将报文转发至业务终端。After receiving the message sent by the control terminal, the service terminal displays the message. Further, the control terminal will feed back a message to the service terminal. The message carries information about whether the service order is delivered successfully. If the service order is delivered successfully, the message includes the service information corresponding to the target service, and the service terminal stores the service message and modifies the status of the service order to be delivered successfully. If the message is that the delivery of the business order was not successful, the status of the business order is changed to not delivered successfully. The control terminal can send the message to the orchestration coordination device, and the orchestration coordination device forwards the message to the service terminal.

在本实施例中,将报文查看与业务开通、脚本配置进行解耦,从而使得报文查看功能能够适用所有创建、修改接口的业务场景。In this embodiment, message viewing is decoupled from service provisioning and script configuration, so that the message viewing function can be applied to all business scenarios of creating and modifying interfaces.

参照图4,图4为本发明脚本查看方法第三实施例,基于第一或第二实施例,步骤S201包括: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:

步骤S401,获取目标业务对应的目标文件。Step S401, acquiring the target file corresponding to the target service.

步骤S402,在目标文件中未存储目标业务对应的脚本的配置信息时,获取目标业务申请的目标参数以及目标业务对应的标识。Step S402, when the configuration information of the script corresponding to the target business is not stored in the target file, acquire the target parameter of the target business application and the identifier corresponding to the target business.

在本实施例中,在当业务终端已经从控制终端获取脚本的配置信息,则配置信息会存储查询文件中,查询文件定义为目标文件。对此,在提交目标业务的申请时,业务终端先获取目标业务对应的目标文件。In this embodiment, when the service terminal has acquired the configuration information of the script from the control terminal, the configuration information will be stored in the query file, and the query file is defined as the target file. In this regard, when submitting the application for the target service, the service terminal first obtains the target file corresponding to the target service.

业务重点检测目标文件中是否有目标业务所对应的脚本的配置信息。若是目标文件中未存储有目标业务对应的脚本的配置信息时,业务终端则获取目标参数以及标识。若是目标文件中存储有配置信息,则直接显示配置信息。The business focus detects whether there is configuration information of the script corresponding to the target business in the target file. If the configuration information of the script corresponding to the target service is not stored in the target file, the service terminal obtains the target parameter and identification. If configuration information is stored in the target file, the configuration information will be displayed directly.

进一步的,在当业务终端接收到配置信息后,需要对配置信息进行校验,若是校验通过,则显示配置信息,且将配置信息存储至目标文件。若是配置信息未通过校验,则只显示配置信息,而不会将配置信息存储至目标文件。此外,业务终端也可在显示配置信息之后,对配置信息进行校验,若是校验通过,则将配置信息存储至目标文件。Further, after receiving the configuration information, the service terminal needs to verify the configuration information, if the verification is passed, the configuration information is displayed, and the configuration information is stored in the target file. If the configuration information fails the verification, only the configuration information will be displayed, and the configuration information will not be stored in the target file. In addition, the service terminal may also verify the configuration information after displaying the configuration information, and store the configuration information in the target file if the verification is passed.

在本实施例中,业务终端先从目标文件中查看是否有目标业务对应的脚本的配置信息,如目标文件中未包括该配置信息,则获取目标参数以请求控制终端下发配置信息。In this embodiment, the service terminal first checks whether there is configuration information of the script corresponding to the target service from the target file, and if the configuration information is not included in the target file, obtains target parameters to request the control terminal to deliver the configuration information.

本发明还提供一种脚本查看方法,应用于控制终端。The invention also provides a script viewing method, which is applied to the control terminal.

参照图5,图5为为本发明脚本查看方法第四实施例,应用于控制终端,该方法包括:Referring to Fig. 5, Fig. 5 is the fourth embodiment of the script viewing method of the present invention, which is applied to the control terminal, and the method includes:

步骤S501,接收业务终端发送的脚本预览请求,并根据脚本预览请求获取标识以及目标参数。Step S501, receiving a script preview request sent by a service terminal, and obtaining an identifier and target parameters according to the script preview request.

在本实施例中,执行主体为控制终端,控制终端与业务终端通信连接。In this embodiment, the execution subject is the control terminal, and the control terminal communicates with the service terminal.

用户在业务终端提交业务申请,业务终端基于业务申请即可确定用户所需申请的业务,该业务定义为目标业务。业务申请中还包括有业务单,业务单包括有目标业务的标识。业务单具有对应的状态,该状态包括待审核状态以及审核完成状态。待审核状态下,业务终端需要获取目标业务所需的业务信息。对此,在当业务单的状态是待审核状态,业务终端则获取目标业务申请的目标参数以及目标业务的标识。目标参数指的是生成目标业务对应的脚本所需的参数。另外,在确定业务单的状态是待审核状态,且检测到用户的配置预览操作,业务终端则获取目标参数以及目标业务对应的标识。在获得目标参数以及标识后,业务终端基于标识以及目标参数生成脚本预览请求,也即脚本预览请求包括有标识以及目标参数。业务终端将脚本预览请求发送至控制终端。The user submits a service application at the service terminal, and the service terminal can determine the service that the user needs to apply for based on the service application, which is defined as the target service. The service application also includes a service order, and the service order includes an identifier of the target service. The business order has a corresponding status, which includes the status of pending approval and the status of approval completion. In the pending review state, the business terminal needs to obtain the business information required by the target business. In this regard, when the status of the business order is pending review, the business terminal obtains the target parameters of the target business application and the target business identifier. The target parameter refers to a parameter required to generate a script corresponding to the target service. In addition, after determining that the status of the business order is pending review, and detecting the user's configuration preview operation, the business terminal obtains the target parameters and the identification corresponding to the target business. After obtaining the target parameter and the identifier, 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. The service terminal sends the script preview request to the control terminal.

步骤S502,根据目标参数生成标识对应的目标业务的脚本。Step S502, generating a script identifying the corresponding target service according to the target parameter.

步骤S503,将脚本的配置信息发送至业务终端,以供业务显示配置信息。Step S503, sending the configuration information of the script to the service terminal for displaying the configuration information by the service.

控制终端在接收到脚本预览请求后,解析脚本预览请求得到标识以及目标参数,从而通过目标参数生成目标业务对应的脚本,且会将标识与脚本进行关联存储。此外,业务终端可将脚本预览请求发送至编排协同装置,编排协同装置则将脚本预览请求透传至控制终端。控制终端将脚本的配置信息发送至编排协同装置,编排协同装置将脚本的配置信息发送至业务终端。After receiving the script preview request, the control terminal parses the script preview request to obtain the identifier and target parameters, thereby generating a script corresponding to the target business through the target parameters, and associates the identifier with the script for storage. In addition, the service terminal can send the script preview request to the arrangement coordination device, and the arrangement cooperation device transparently transmits the script preview request to the control terminal. The control terminal sends the configuration information of the script to the arrangement coordination device, and the arrangement cooperation device sends the configuration information of the script to the service terminal.

业务终端在接收到脚本的配置信息后,显示配置信息,以供用户进行查看以及审核。业务终端可以以弹窗的形式显示配置信息。After receiving the configuration information of the script, the business terminal displays the configuration information for users to view and review. The service terminal can display configuration information in the form of a pop-up window.

需要说明的是,配置信息的预览能力可针对移动业务VPN-SVC及site实例下发、子接口描述修改、批量修改子接口描述、互联网专线业务VPN-SVC及site实例下发等场景设置。It should be noted that the preview capability of configuration information can be set for scenarios such as delivering mobile service VPN-SVC and site instances, modifying sub-interface descriptions, modifying sub-interface descriptions in batches, and delivering Internet private line service VPN-SVC and site instances.

在本实施例中,获取目标业务申请的目标参数以及对应的标识,并根据标识以及目标参数生成脚本预览请求,且将脚本预览请求发送至控制终端,使得控制终端基于目标参数以及标识生成目标业务对应的脚本,从而使得业务终端接收控制终端发送的脚本,最后显示脚本的配置信息。由于业务的开通以及脚本查看功能设置于业务终端,而控制终端用于配置业务的脚本,将脚本预览和脚本的配置、业务的开通进行了解耦,让控制终端专注于脚本的配置,也即使得控制终端能够配置出符合业务需求的脚本,适用于所有的业务对应的脚本查看,提高了脚本查看的灵活性。In this embodiment, the target parameter and the corresponding identifier of the target service application are obtained, and 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 the target service based on the target parameter and the identifier corresponding script, so that the service terminal receives the script sent by the control terminal, and finally displays the configuration information of the script. Since the service opening and script viewing functions are set on the service terminal, and the control terminal is used to configure the service script, the script preview is decoupled from the script configuration and service opening, so that the control terminal can focus on the script configuration, even if The control terminal can configure scripts that meet business requirements, which is applicable to script viewing corresponding to all businesses, and improves the flexibility of script viewing.

参照图6,图6为本发明脚本查看方法第五实施例,基于第四实施例,步骤S503之后,还包括:Referring to FIG. 6, FIG. 6 is the fifth embodiment of the script viewing method of the present invention. Based on the fourth embodiment, after step S503, it also includes:

步骤S601,接收业务终端发送的报文获取请求。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 can confirm it. If the configuration information is confirmed to be correct, the service terminal can request the control terminal to obtain the message. The message includes interaction information between the control terminal and the target terminal, and the interaction information includes service information corresponding to the target service, that is, the message fed back from the control terminal to the service terminal includes service information corresponding to the target service.

业务终端在检测到提交目标业务的申请,先对目标业务进行审核,审核通过,业务终端获取目标业务的业务单,业务单包括用于获取目标业务的业务信息的第一参数。第一参数例如为与控制终端进行业务交互的终端的标识。目标业务的审核,指的是对目标业务的业务单中的第一参数的审核,也即确定第一参数是否正确,若是正常,则业务单审核通过。When the service terminal detects the application for submitting the target service, it first reviews the target service, and if the review is passed, the service terminal obtains the service order of the target service, and the service form includes the first parameter used to obtain the service information of the target service. The first parameter is, for example, an identifier of a terminal that performs service interaction with the control terminal. The review of the target business refers to the review of the first parameter in the business order of the target business, that is, to determine whether the first parameter is correct, and if it is normal, the business order is approved.

步骤S602,根据报文获取请求获取业务单,并根据业务单中的第一参数确定脚本待下发的目标终端。Step S602, obtain the service order according to the message acquisition request, and determine the target terminal to which the script is to be delivered according to the first parameter in the service order.

步骤S603,将脚本发送至目标终端。Step S603, sending the script to the target terminal.

步骤S604,接收目标终端执行脚本获得的目标业务对应的业务信息,并将报文发送至业务终端,报文包括业务信息。Step S604, receiving service information corresponding to the target service obtained by the target terminal executing the script, and sending a message to the service terminal, the message including the service information.

业务终端基于业务单生成报文获取请求,也即报文获取请求中包括有各个第一参数。业务终端将报文获取请求发送至控制终端。此外,业务终端可将报文获取请求发送至编排协同装置,编排协同装置则将报文获取请求透传至控制终端。控制终端接收到报文获取请求后,解析报文获取请求得到各个第一参数,第一参数可为终端的标识,控制终端确定第一参数对应的目标终端。控制终端之前存储有目标业务所对应的脚本,控制终端则将脚本下发至目标终端。目标终端在接收到脚本后,执行脚本,从而产生目标业务所对应的业务信息。目标终端可以是网络设备。目标终端将业务信息发送至控制终端,控制终端则基于业务信息生成报文,再将报文发送至业务终端。此外,控制终端也可将报文发送至编排协同装置,编排协同装置则将报文转发至业务终端。The service terminal generates a packet acquisition request based on the service order, that is, the packet acquisition request includes each first parameter. The service terminal sends the packet acquisition request to the control terminal. In addition, the service terminal can send the packet acquisition request to the orchestration coordination device, and the orchestration collaboration device transparently transmits the packet acquisition request to the control terminal. After receiving the message acquisition request, the control terminal parses the message acquisition request to obtain each first parameter, where the first parameter may be an identifier of the terminal, and the control terminal determines the target terminal corresponding to the first parameter. The script corresponding to the target service is stored in the control terminal, and the control terminal sends 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 then sends the message to the service terminal. In addition, the control terminal can also send the message to the arrangement coordination device, and the arrangement cooperation device forwards the message to the service terminal.

业务终端接收到控制终端发送的报文后,显示报文。进一步的,控制终端会向业务终端反馈消息。该消息中携带有业务单是否下发成功的信息。若是业务单下发成功,则该消息中包括有目标业务对应的业务信息,业务终端将业务消息进行存储,并将业务单的状态修改为下发成功。若消息是业务单下发未成功,则将业务单的状态修改为未下发成功。控制终端可将报文发送至编排协同装置,编排协同装置再将报文转发至业务终端。After receiving the message sent by the control terminal, the service terminal displays the message. Further, the control terminal will feed back a message to the service terminal. The message carries information about whether the service order is delivered successfully. If the service order is delivered successfully, the message includes the service information corresponding to the target service, and the service terminal stores the service message and modifies the status of the service order to be delivered successfully. If the message is that the delivery of the business order was not successful, the status of the business order is changed to not delivered successfully. The control terminal can send the message to the orchestration coordination device, and the orchestration coordination device forwards the message to the service terminal.

在本实施例中,将报文查看与业务开通、脚本配置进行解耦,从而使得报文查看功能能够适用所有创建、修改接口的业务场景。In this embodiment, message viewing is decoupled from service provisioning and script configuration, so that the message viewing function can be applied to all business scenarios of creating and modifying interfaces.

本发明还提供一种业务终端,参照图7,业务终端700包括:The present invention also provides a service terminal. Referring to FIG. 7, the service terminal 700 includes:

获取模块710,用于获取目标业务申请的目标参数以及目标业务的标识,并根据标识以及目标参数生成脚本预览请求;The obtaining module 710 is used to obtain the target parameters of the target business application and the identification of the target business, and generate a script preview request according to the identification and the target parameters;

第一发送模块720,用于将脚本预览请求发送至控制终端,脚本预览请求中的目标参数用于控制终端生成目标业务对应的脚本;The first sending module 720 is configured to send the script preview request to the 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;

第一接收模块730,用于接收控制终端发送的脚本的配置信息,并显示配置信息。The first receiving module 730 is configured to receive the configuration information of the script sent by the control terminal, and display the configuration information.

在一实施例中,业务终端700包括:In one embodiment, the service terminal 700 includes:

获取模块710,用于获取目标业务的业务单,业务单包括用于获取目标业务的业务信息的第一参数;An acquisition module 710, configured to acquire a business order of the target business, where the business order includes a first parameter for acquiring business information of the target business;

生成模块,用于根据业务单生成报文获取请求,并将报文获取请求发送至控制终端,其中,报文获取请求用于控制终端将脚本发送至目标终端,以获取目标业务的业务信息;A generating module, configured to generate a message acquisition request according to the service order, and send the message acquisition request to the control terminal, wherein the message acquisition request is used for the control terminal to send the script to the target terminal to obtain the service information of the target service;

第一接收模块730,用于接收控制终端发送的报文,并显示报文,报文包括目标终端反馈的目标业务所对应的业务信息。The first receiving module 730 is configured to receive a message sent by the control terminal and display the message, where the message includes service information corresponding to the target service fed back by the target terminal.

在一实施例中,业务终端700包括:In one embodiment, the service terminal 700 includes:

获取模块710,用于获取目标业务对应的目标文件;An acquisition module 710, configured to acquire a target file corresponding to the target business;

获取模块710,用于在目标文件中未存储目标业务对应的脚本的配置信息时,获取目标业务申请的目标参数以及目标业务对应的标识。The obtaining module 710 is configured to obtain the target parameter of the target service application and the identification corresponding to the target service when the configuration information of the script corresponding to the target service is not stored in the target file.

在一实施例中,业务终端700包括:In one embodiment, the service terminal 700 includes:

校验模块,用于对配置信息进行校验;A verification module, configured to verify configuration information;

存储模块,用于在配置信息校验通过后,将配置信息存储至目标文件。The storage module is configured to store the configuration information to the target file after the configuration information is verified.

本发明还提供一种控制终端,参照图8,控制终端800包括:The present invention also provides a control terminal. Referring to FIG. 8, the control terminal 800 includes:

第二接收模块810,用于接收业务终端发送的脚本预览请求,并根据脚本预览请求获取标识以及目标参数;The second receiving module 810 is configured to receive the script preview request sent by the service terminal, and obtain the identifier and target parameters according to the script preview request;

生成模块820,用于根据目标参数生成标识对应的目标业务的脚本;A generating module 820, configured to generate a script identifying a corresponding target service according to the target parameter;

第二发送模块830,用于将脚本的配置信息发送至业务终端,以供业务显示配置信息。The second sending module 830 is configured to send the configuration information of the script to the service terminal, so that the service can display the configuration information.

在一实施例中,控制终端800包括:In one embodiment, the control terminal 800 includes:

第二接收模块810,用于接收业务终端发送的报文获取请求;The second receiving module 810 is configured to receive the message acquisition request sent by the service terminal;

获取模块,用于根据报文获取请求获取业务单,并根据业务单中的第一参数确定脚本待下发的目标终端;An acquisition module, configured to acquire a service order according to the message acquisition request, and determine the target terminal to which the script is to be issued according to the first parameter in the business order;

第二发送模块830,用于将脚本发送至目标终端;The second sending module 830 is configured to send the script to the target terminal;

第二接收模块810,用于接收目标终端执行脚本获得的目标业务对应的业务信息,并将报文发送至业务终端,报文包括业务信息。The second receiving module 810 is configured to receive service information corresponding to the target service obtained by the target terminal executing the script, and send a message to the service terminal, the message including the service information.

图9是根据一示例性实施例示出的一种控制设备/业务设备的硬件结构图。Fig. 9 is a hardware structural diagram of a control device/service device according to an exemplary embodiment.

控制设备/业务设备900可以包括:处理901,例如CPU,存储器902以及收发器903。本领域技术人员可以理解,图9中示出的结构并不构成对控制设备/业务设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。存储器902可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The control device/service device 900 may include: a processing 901 such as a CPU, a memory 902 and a transceiver 903 . Those skilled in the art can understand that the structure shown in Figure 9 does not constitute a limitation to the control device/service device, and may include more or less components than shown in the figure, or combine certain components, or arrange different components . The memory 902 can be implemented by any type of volatile or non-volatile storage device or their combination, 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.

处理器901可以调用存储器902内存储的计算机程序,以完成上述的脚本查看方法的全部或部分步骤。The processor 901 can call the computer program stored in the memory 902 to complete all or part of the steps of the script viewing method described above.

收发器903用于接收外部设备发送的信息以及向外部设备发送信息。The transceiver 903 is used for receiving information sent by the external device and sending information to the external device.

一种非临时性计算机可读存储介质,当该存储介质中的指令由控制设备/业务设备的处理器执行时,使得控制设备/业务设备能够执行上述脚本查看方法。A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the control device/service device, the control device/service device can execute the above script viewing method.

一种计算机程序产品,包括计算机程序,当该计算机程序由控制设备/业务设备的处理器执行时,使得控制设备/业务设备能够执行上述脚本查看方法。A computer program product, including a computer program. When the computer program is executed by a processor of the control device/service device, the control device/service device can execute the script viewing method described above.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本发明旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求书指出。Other embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. The present invention is intended to cover any modification, use or adaptation of the present disclosure. These modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure. . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求书来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (11)

1.一种脚本查看方法,其特征在于,应用于业务终端,包括:1. A script viewing method, characterized in that it is applied to a business terminal, comprising: 获取目标业务申请的目标参数以及所述目标业务的标识,并根据所述标识以及所述目标参数生成脚本预览请求;Acquiring 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; 将所述脚本预览请求发送至控制终端,所述脚本预览请求中的所述目标参数用于所述控制终端生成所述目标业务对应的脚本;sending the script preview request to a control terminal, where the target parameter in the script preview request is used by the control terminal to generate a script corresponding to the target service; 接收所述控制终端发送的脚本的配置信息,并显示所述配置信息。receiving the configuration information of the script sent by the control terminal, and displaying the configuration information. 2.根据权利要求1所述的脚本查看方法,其特征在于,所述显示所述配置信息的步骤之后,还包括:2. The script viewing method according to claim 1, characterized in that, after the step of displaying the configuration information, further comprising: 获取所述目标业务的业务单,所述业务单包括用于获取所述目标业务的业务信息的第一参数;Acquiring a service order of the target service, where the service form includes a first parameter for obtaining service information of the target service; 根据所述业务单生成报文获取请求,并将所述报文获取请求发送至所述控制终端,其中,所述报文获取请求用于所述控制终端将所述脚本发送至目标终端,以获取所述目标业务的业务信息;Generate a message acquisition request according to the service order, and send the message acquisition request to the control terminal, where the message acquisition request is used for the control terminal to send the script to the target terminal, so as to Acquiring business information of the target business; 接收所述控制终端发送的报文,并显示所述报文,所述报文包括所述目标终端反馈的目标业务所对应的业务信息。receiving the message sent by the control terminal, and displaying the message, where the message includes service information corresponding to the target service fed back by the target terminal. 3.根据权利要求1或2所述的脚本查看方法,其特征在于,所述获取目标业务申请的目标参数以及所述目标业务的标识的步骤包括:3. The script viewing method according to claim 1 or 2, characterized in that the step of obtaining the target parameter of the target service application and the identification of the target service comprises: 获取所述目标业务对应的目标文件;Obtaining a target file corresponding to the target business; 在所述目标文件中未存储所述目标业务对应的脚本的配置信息时,获取所述目标业务申请的目标参数以及所述目标业务对应的标识。When the configuration information of the script corresponding to the target service is not stored in the target file, the target parameters of the target service application and the identifier corresponding to the target service are acquired. 4.根据权利要求3所述的脚本查看方法,其特征在于,所述显示所述配置信息的步骤之后,还包括:4. The script viewing method according to claim 3, characterized in that, after the step of displaying the configuration information, further comprising: 对所述配置信息进行校验;Verifying the configuration information; 在所述配置信息校验通过后,将所述配置信息存储至所述目标文件。After the configuration information is verified and passed, the configuration information is stored in the target file. 5.一种脚本查看方法,其特征在于,应用于控制终端,包括:5. A script viewing method, characterized in that it is applied to a control terminal, comprising: 接收业务终端发送的脚本预览请求,并根据所述脚本预览请求获取标识以及目标参数;receiving a script preview request sent by a business terminal, and obtaining an identifier and target parameters according to the script preview request; 根据所述目标参数生成所述标识对应的目标业务的脚本;generating a script corresponding to the identified target service according to the target parameter; 将所述脚本的配置信息发送至所述业务终端,以供所述业务显示所述配置信息。Send the configuration information of the script to the service terminal for the service to display the configuration information. 6.根据权利要求5所述的脚本查看方法,其特征在于,所述将所述脚本的配置信息发送至所述业务终端的步骤之后,还包括:6. The script viewing method according to claim 5, characterized in that, after the step of sending 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 order according to the message acquisition request, and determining the target terminal to which the script is to be issued according to the first parameter in the service order; 将所述脚本发送至所述目标终端;sending the script to the target terminal; 接收所述目标终端执行所述脚本获得的目标业务对应的业务信息,并将报文发送至所述业务终端,所述报文包括所述业务信息。receiving the service information corresponding to the target service obtained by the target terminal executing the script, and sending a message to the service terminal, the message including the service information. 7.一种业务终端,其特征在于,包括:7. A service terminal, characterized in that it comprises: 获取模块,用于获取目标业务申请的目标参数以及所述目标业务的标识,并根据所述标识以及所述目标参数生成脚本预览请求;An acquisition module, configured to acquire the target parameter of the target service application and the identification of the target service, and generate a script preview request according to the identification and the target parameter; 第一发送模块,用于将所述脚本预览请求发送至控制终端,所述脚本预览请求中的所述目标参数用于所述控制终端生成所述目标业务对应的脚本;A first sending module, configured to send the script preview request to a control terminal, where the target parameter in the script preview request is used by the control terminal to generate a script corresponding to the target service; 第一接收模块,用于接收所述控制终端发送的脚本的配置信息,并显示所述配置信息。The first receiving module is configured to receive the configuration information of the script sent by the control terminal, and display the configuration information. 8.一种业务设备,其特征在于,包括:存储器以及处理器;8. A service device, comprising: a memory and a processor; 所述存储器存储计算机执行指令;the memory stores computer-executable instructions; 所述处理器执行所述存储器存储的计算机执行指令,使得所述处理器执行如权利要求1至4任一项所述的脚本查看方法。The processor executes the computer-executable instructions stored in the memory, so that the processor executes the script viewing method according to any one of claims 1 to 4. 9.一种控制终端,其特征在于,包括:9. A control terminal, characterized in that, comprising: 第二接收模块,用于接收业务终端发送的脚本预览请求,并根据所述脚本预览请求获取标识以及目标参数;The second receiving module is used to receive the script preview request sent by the service terminal, and obtain the identifier and target parameters according to the script preview request; 生成模块,用于根据所述目标参数生成所述标识对应的目标业务的脚本;A generating module, configured to generate a script of the target service corresponding to the identification according to the target parameter; 第二发送模块,用于将所述脚本的配置信息发送至所述业务终端,以供所述业务显示所述配置信息。The second sending module is configured to send the configuration information of the script to the service terminal, so that the service can display the configuration information. 10.一种控制设备,其特征在于,包括:存储器以及处理器;10. A control device, comprising: a memory and a processor; 所述存储器存储计算机执行指令;the memory stores computer-executable instructions; 所述处理器执行所述存储器存储的计算机执行指令,使得所述处理器执行如权利要求5或6所述的脚本查看方法。The processor executes the computer-executable instructions stored in the memory, so that the processor executes the script viewing method according to claim 5 or 6. 11.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如权利要求1至6任一项所述的脚本查看方法。11. A computer-readable storage medium, characterized in that, computer-executable instructions are stored in the computer-readable storage medium, and the computer-executable instructions are used to implement any one of claims 1 to 6 when executed by a processor The script viewing method described above.
CN202211622280.0A 2022-12-16 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 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 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=86439305

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN116192672B (en)

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 (주)양지에너지 Automated Test System and Method of Financial Business 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 (주)양지에너지 Automated Test System and Method of Financial Business 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) *

Also Published As

Publication number Publication date
CN116192672B (en) 2024-07-16

Similar Documents

Publication Publication Date Title
US10104066B2 (en) User login methods, devices, and systems
CN112333239B (en) Business audit notification method, gateway, electronic equipment and readable medium
TW202201298A (en) Electronic device for providing information to courier and control method thereof
CN112836198A (en) Account login method and device, server, electronic equipment and storage medium
CN108364171B (en) Graphic code generation method, resource sending and receiving method, device and electronic equipment
CN107818455B (en) Remote processing system and method for image
CN109922109B (en) Service providing method, system and equipment
US12328367B2 (en) Method and apparatus for establishing session, and related device
US20170300679A1 (en) Identity verification
CN104753892A (en) Network resource transmission method, device and system
CN113839978B (en) Billing method, electronic device and storage medium based on billing platform
EP4087206A1 (en) Internet-of-things device registration method and apparatus, device and storage medium
CN111724206A (en) Advertisement processing method, responsibility chain object generation method, device, equipment and medium
US8909263B2 (en) Communication terminal, communication method, computer readable recording medium having communication program recorded, and network system
CN116192672A (en) Script viewing method and related equipment
CN111027950A (en) Payment signing system, method and device
CN111400684A (en) Electronic certificate information acquisition method, system, device, equipment and storage medium
US10997539B2 (en) Supplier analysis and verification system and method
EP4301022A1 (en) A method for downloading a profile from a sm-dp+ to a a secure element and corresponding sm-dp+
CN113869903A (en) Network payment signing system, network payment signing method and device
US10785379B2 (en) Server system, non-transitory computer-readable medium storing computer-readable instructions for server system, and method performed by server system
WO2023155685A1 (en) Communication method, system, and apparatus, storage medium, and processor
CN116993404A (en) Advertisement display method and device
CN114558320A (en) Script killing and releasing system and method based on holographic projection
CN113537745A (en) Business processing method, apparatus, medium and computer program product

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