WO2020124295A1 - Control system - Google Patents

Control system Download PDF

Info

Publication number
WO2020124295A1
WO2020124295A1 PCT/CN2018/121376 CN2018121376W WO2020124295A1 WO 2020124295 A1 WO2020124295 A1 WO 2020124295A1 CN 2018121376 W CN2018121376 W CN 2018121376W WO 2020124295 A1 WO2020124295 A1 WO 2020124295A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
control
application
unit
server
Prior art date
Application number
PCT/CN2018/121376
Other languages
French (fr)
Chinese (zh)
Inventor
刘学锴
Original Assignee
吉安市井冈山开发区金庐陵经济发展有限公司
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 吉安市井冈山开发区金庐陵经济发展有限公司 filed Critical 吉安市井冈山开发区金庐陵经济发展有限公司
Priority to PCT/CN2018/121376 priority Critical patent/WO2020124295A1/en
Publication of WO2020124295A1 publication Critical patent/WO2020124295A1/en

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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • 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/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/2818Controlling appliance services of a home automation network by calling their functionalities from a device located outside both the home and the home network

Definitions

  • the invention relates to the field of computer technology, in particular to a control system.
  • a server also called a server, is a device that provides computing services. Since the server needs to respond to the service request and process it, in general, the server should have the ability to undertake the service and guarantee the service.
  • the composition of the server includes a processor, hard disk, memory, system bus, etc., which is similar to the general computer architecture, but due to the need to provide highly reliable services, the processing power, stability, reliability, security, scalability, and scalability There are higher requirements for management and other aspects. With the increase in the number and complexity of related applications, how to effectively use one server to remotely control the applications in another server has become a problem that needs to be solved for the applications in the control server.
  • the purpose of the present invention is to provide a control system aiming at the defects of the prior art. Through the process of verifying and packaging application control information, one server can accurately and effectively control the application in another server Program to facilitate the user to manage the application program in the server.
  • the present invention provides a control system including: a first server and a second server; the first server sends first application control information to the second server for updating Application program information in the second server;
  • the second server includes: an access port module, a control forwarding module, a function controller module, and a control feedback module;
  • the access port module includes: a read-in unit, a verification unit and a packaging unit;
  • the reading unit receives the first application control information, reads the control information in the first application control information, and sends the control information and the first application control information to the school Inspection unit
  • the verification unit compares the control information with the verification information, and when the control information matches the transaction information, sends the first application control information to the packaging unit;
  • the packaging unit encapsulates the first application control information to obtain second application control information, and sends the second application control information to the control forwarding module;
  • the control forwarding module parses the second application control information to obtain the control forwarding information, and sends the control forwarding information and the second application control information to the function controller module;
  • the function controller module includes a control unit and multiple control units
  • the control unit receives the control forwarding information and the second application control information, and sends the second application control information to the control matching the control forwarding information according to the control forwarding information unit;
  • the control unit updates the application information according to the second application control information, and generates a control status code according to the update result and sends it to the control feedback module;
  • the control feedback module generates control result information according to the control status code, and sends the control result information to the first server.
  • the system further includes a storage module
  • the verification unit retrieves the verification information from the storage module.
  • the verification information includes: host address information, host port information, user name, password, service type information, operation source information, application program name and application program path information.
  • the verification unit comparing the control information with the verification information is specifically:
  • control information includes the parameter values of the host address information, host port information, user name, password, service type information, operation source information, application name and application path information;
  • control information includes parameter values of the host address information, host port information, user name, password, service type information, operation source information, application name and application path information, the control information and the transaction Information matching;
  • control information does not include any parameter value of the host address information, host port information, user name, password, service type information, operation source information, application name or application path information
  • the control information does not match the transaction information.
  • the verification unit when the control information does not match the transaction information, the verification unit generates verification failure information and sends the verification failure information to the first server through the control feedback module for the first server to The user prompts that the verification of the first application control information fails.
  • the packaging unit obtains information structure information of the control unit from the storage unit.
  • the packaging unit obtains the second application control information according to the packaging of the first application control information, specifically:
  • the packaging unit copies the value of each key in the control information of the first application to the value of the corresponding item corresponding to each key in the information structure information of the control unit to obtain the second application Control information.
  • the plurality of control units have the same information structure information.
  • a control system provided by an embodiment of the present invention enables a server to accurately and effectively control an application in another server through the process of verifying and packaging application control information, thereby facilitating users to control the server Management of applications in progress.
  • FIG. 1 is a schematic diagram of a control system provided by an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of a control system provided by an embodiment of the present invention.
  • the control system provided by the embodiment of the present invention includes: a first server 1 and a second server 2.
  • the first server 1 can be understood as the control terminal
  • the second server 2 can be understood as the controlled terminal.
  • the first server 1 sends the first application control information to the second server 2 and updates the second server with the first application control information
  • the application information in 2 has achieved the purpose of controlling the application information in the second server 2.
  • the first application control information can be understood as a text file.
  • the second server 2 includes: a storage module 20, an access port module 21, a control forwarding module 22, a function controller module 23, and a control feedback module 24.
  • the access port module 21 can be understood as a calling interface exposed to the outside world in the second server 2 for receiving and processing the first application control information sent by the first server 1.
  • the program on the first server 1 wants to use or control the application program in the second server 2, it is necessary to first write a first application control information containing control information according to the application control specification, and then call the first server 1 locally Interface and transfer the first application control information to the access port module 21 in the second server 2.
  • the access port module 21 reads the control information in the first application control information, and then verifies it. If the control information meets the application control specification, the next step is processed. If the control information does not comply with the application control specifications, the program on the first server 1 is fed back with a verification failure message.
  • the access port module 21 includes: a read-in unit 211, a verification unit 212, and an encapsulation unit 213.
  • the reading unit 211 receives the first application control information sent by the first server 1, and reads the control information in the first application control information in the form of a key-value pair set, and combines the read control information and The first application control information is sent to the verification unit 212.
  • the verification unit 212 receives the control information and the first application control information, and verifies the first application control information according to the control information, that is, determines whether the control information conforms to the application control specification. Before the verification unit 212 verifies the first application control information, the verification information must be retrieved from the storage module 20.
  • the verification information includes: host address information, host port information, user name, password, service type Information, operation source information, application name and application path information.
  • the verification unit 212 compares the control information with the verification information to determine whether the control information includes host address information, host port information, user name, password, service type information, operation source information, application The parameter value of the program name and application path information.
  • the host address information, host port information, user name, password, service type information, operation source information, application name, and application path information can be understood as keys in the control information.
  • control information When the control information includes host address information, host port information, user name, password, service type information, operation source information, application name and application path information parameter values, it can be determined that the control information matches the transaction information, that is Control information complies with application control specifications.
  • the control information does not include any of the host address information, host port information, user name, password, service type information, operation source information, application name or application path information, you can determine the control information and transaction The information does not match, that is, the control information does not comply with the application control specifications.
  • the control information that complies with the application control specification must include the host address information, host port information, user name, password, service type information, operation source information, application name and application path information parameter values, all of which are indispensable.
  • the verification unit 121 sends the first application control information to the packaging unit 213 for the packaging unit 213 to further perform the first application control information deal with.
  • the packaging unit 213 receives the first application control information, encapsulates the first application control information, obtains the second application information, and sends the second application information to the control forwarding module twenty two.
  • control unit 232 of each control application in the second server 2 follows a unified information structure during development, and the parameter value represented by each key in the control information is in this unified information structure There are corresponding items, so the packaging unit 213 only needs to copy the parameter values corresponding to each key in the control information to the corresponding items of the unified information structure.
  • control forwarding module 22 After receiving the second application control information, the control forwarding module 22 parses the second application control information to extract the parameter values of the application name key and the application path information key in the second application control information, according to the application The parameter values of the program name key and the application program path information key obtain control forwarding information, and send the control forwarding information and the second application control information to the function controller module 23.
  • the function controller module 23 includes a regulation unit 231 and a plurality of control units 232. Each control unit 232 controls different applications or types of applications.
  • the control unit 231 receives the control forwarding information and the second application control information sent by the control forwarding module 22, and sends the second application control information to the control unit 232 matching the control forwarding information according to the control forwarding information.
  • the control unit 232 updates the application information corresponding to the control forwarding information according to the second application control information, which has achieved the purpose of controlling the application.
  • the control unit 232 generates a control status code according to the update result, and sends the control status code to the control feedback module 24.
  • the control unit 232 According to the success or failure of updating the application information, the control unit 232 generates a corresponding control status code.
  • the control feedback module 24 determines whether updating the application information is successful or failed according to the control status code. When the update of the application information is successful, the control feedback module 24 generates a successful control result information and sends it to the first server 1. When the application information update fails, the control feedback module 24 generates a failed control result information and sends the control result information to the first server 1. After receiving the control result information, the first server 1 can know whether the control of the application program in the second server 2 has succeeded or failed.
  • a control system provided by an embodiment of the present invention enables a server to accurately and effectively control an application in another server through the process of verifying and packaging application control information, thereby facilitating users to control the server Management of applications in progress.
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrically programmable ROM
  • EEPROM electrically erasable and programmable ROM
  • registers hard disks, removable disks, CD-ROMs, or all devices in the technical field Any other known storage medium.

Abstract

The present invention relates to a control system. The system comprises: a first server and a second server. The second server comprises: an access port module, a control forwarding module, a function controller module and a control feedback module. The access port module comprises: a read-in unit for reading control information in first application program control information; a check unit for comparing the control information with check information and sending the first application program control information to a package unit; and the package unit for packaging the first application program control information. The control forwarding module parses second application program control information. A regulation and control unit sends, according to control forwarding information, the second application program control information to a control unit matching the control forwarding information. The control unit updates application program information, generates a control status code according to an update result, and sends the control status code to the control feedback module. The control feedback module generates control result information according to the control status code and sends the control result information to the first server.

Description

控制系统Control System 技术领域Technical field
本发明涉及计算机技术领域,尤其涉及一种控制系统。The invention relates to the field of computer technology, in particular to a control system.
背景技术Background technique
服务器,也称伺服器,是提供计算服务的设备。由于服务器需要响应服务请求,并进行处理,因此一般来说服务器应具备承担服务并且保障服务的能力。服务器的构成包括处理器、硬盘、内存、系统总线等,和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。而随着相关应用程序数量和复杂度的增长,如何有效的利用一个服务器远程控制另一个服务器中的应用程序,已经成为了目前控制服务器中的应用程序是需要解决的又要问题。A server, also called a server, is a device that provides computing services. Since the server needs to respond to the service request and process it, in general, the server should have the ability to undertake the service and guarantee the service. The composition of the server includes a processor, hard disk, memory, system bus, etc., which is similar to the general computer architecture, but due to the need to provide highly reliable services, the processing power, stability, reliability, security, scalability, and scalability There are higher requirements for management and other aspects. With the increase in the number and complexity of related applications, how to effectively use one server to remotely control the applications in another server has become a problem that needs to be solved for the applications in the control server.
发明内容Summary of the invention
本发明的目的是针对现有技术的缺陷,提供一种控制系统,通过将应用程序控制信息进行校验和封装的过程,使得一台服务器可以精准的且有效的控制另一台服务器中的应用程序,从而方便用户对服务器中应用程序的进行管理。The purpose of the present invention is to provide a control system aiming at the defects of the prior art. Through the process of verifying and packaging application control information, one server can accurately and effectively control the application in another server Program to facilitate the user to manage the application program in the server.
为实现上述目的,本发明提供了一种控制系统,所述控制系统包括:第一服务器和第二服务器;所述第一服务器向所述第二服务器发送第一应用程序控制信息,用以更新所述第二服务器中的应用程序信息;In order to achieve the above object, the present invention provides a control system including: a first server and a second server; the first server sends first application control information to the second server for updating Application program information in the second server;
所述第二服务器包括:接入端口模块、控制转发模块、功能控制器模块和控制反馈模块;The second server includes: an access port module, a control forwarding module, a function controller module, and a control feedback module;
所述接入端口模块包括:读入单元、校验单元和封装单元;The access port module includes: a read-in unit, a verification unit and a packaging unit;
所述读入单元接收所述第一应用程序控制信息,并读取所述第一应用程序控制信息中的控制信息,将所述控制信息和所述第一应用程序控制信息发送至所述校验单元;The reading unit receives the first application control information, reads the control information in the first application control information, and sends the control information and the first application control information to the school Inspection unit
所述校验单元将所述控制信息与校验信息进行对照,当所述控制信息与所述交易信息相匹配时,将所述第一应用程序控制信息发送至所述封装单元;The verification unit compares the control information with the verification information, and when the control information matches the transaction information, sends the first application control information to the packaging unit;
所述封装单元根据对所述第一应用程序控制信息进行封装,得到第二应用程序控制信息,将所述第二应用程序控制信息发送至控制转发模块;The packaging unit encapsulates the first application control information to obtain second application control information, and sends the second application control information to the control forwarding module;
所述控制转发模块解析所述第二应用程序控制信息,得到控制转发信息,并将所述控制转发信息和所述第二应用程序控制信息发送至功能控制器模块;The control forwarding module parses the second application control information to obtain the control forwarding information, and sends the control forwarding information and the second application control information to the function controller module;
所述功能控制器模块包括调控单元和多个控制单元;The function controller module includes a control unit and multiple control units;
所述调控单元接收所述控制转发信息和所述第二应用程序控制信息,并根据所述控制转发信息将所述第二应用程序控制信息发送至与所述控制转发信息相匹配的所述控制单元;The control unit receives the control forwarding information and the second application control information, and sends the second application control information to the control matching the control forwarding information according to the control forwarding information unit;
所述控制单元根据所述第二应用程序控制信息更新所述应用程序信息,并根据更新结果生成控制状态码发送至所述控制反馈模块;The control unit updates the application information according to the second application control information, and generates a control status code according to the update result and sends it to the control feedback module;
所述控制反馈模块根据所述控制状态码生成控制结果信息,并将所述控制结果信息发送至所述第一服务器。The control feedback module generates control result information according to the control status code, and sends the control result information to the first server.
优选的,所述系统还包括存储模块;Preferably, the system further includes a storage module;
所述校验单元从存储模块中调取所述校验信息。The verification unit retrieves the verification information from the storage module.
优选的,所述校验信息包括:主机地址信息、主机端口信息、用户名、密码、服务类型信息、操作源信息、应用程序名和应用程序路径信息。Preferably, the verification information includes: host address information, host port information, user name, password, service type information, operation source information, application program name and application program path information.
进一步优选的,所述校验单元将所述控制信息与校验信息进行对照具体为:Further preferably, the verification unit comparing the control information with the verification information is specifically:
确定所述控制信息中是否包括所述主机地址信息、主机端口信息、用户名、密码、服务类型信息、操作源信息、应用程序名和应用程序路径信息的参数值;Determining whether the control information includes the parameter values of the host address information, host port information, user name, password, service type information, operation source information, application name and application path information;
当所述控制信息中包括所述主机地址信息、主机端口信息、用户名、密码、服务类型信息、操作源信息、应用程序名和应用程序路径信息的参数值时,所述控制信息与所述交易信息相匹配;When the control information includes parameter values of the host address information, host port information, user name, password, service type information, operation source information, application name and application path information, the control information and the transaction Information matching;
当所述控制信息中不包括所述主机地址信息、主机端口信息、用户名、密码、服务类型信息、操作源信息、应用程序名或应用程序路径信息中的任一的参数值时,所述控制信息与所述交易信息不匹配。When the control information does not include any parameter value of the host address information, host port information, user name, password, service type information, operation source information, application name or application path information, the The control information does not match the transaction information.
进一步优选的,当所述控制信息与所述交易信息不匹配时,所述校验单元生成校验失败信息通过所述控制反馈模块发送至所述第一服务器,用以所述第一服务器向用户提示第一应用程序控制信息校验失败。Further preferably, when the control information does not match the transaction information, the verification unit generates verification failure information and sends the verification failure information to the first server through the control feedback module for the first server to The user prompts that the verification of the first application control information fails.
优选的,所述封装单元从所述存储单元获取所述控制单元的信息结构信息。Preferably, the packaging unit obtains information structure information of the control unit from the storage unit.
进一步优选的,所述封装单元根据封装所述第一应用程序控制信息,得到第二应用程序控制信息具体为:Further preferably, the packaging unit obtains the second application control information according to the packaging of the first application control information, specifically:
所述封装单元将所述第一应用程序控制信息中各个键的值复制到所述控制单元的信息结构信息中与所述各个键相对应的对应项的值中,得到所述第二应用程序控制信息。The packaging unit copies the value of each key in the control information of the first application to the value of the corresponding item corresponding to each key in the information structure information of the control unit to obtain the second application Control information.
进一步优选的,所述多个控制单元具有相同的所述信息结构信息。Further preferably, the plurality of control units have the same information structure information.
本发明实施例提供的一种控制系统,通过将应用程序控制信息进行校验和封装的过程,使得一台服务器可以精准的且有效的控制另一台服务器中的应用程序,从而方便用户对服务器中应用程序的进行管理。A control system provided by an embodiment of the present invention enables a server to accurately and effectively control an application in another server through the process of verifying and packaging application control information, thereby facilitating users to control the server Management of applications in progress.
附图说明BRIEF DESCRIPTION
图1为本发明实施例提供的控制系统的示意图。FIG. 1 is a schematic diagram of a control system provided by an embodiment of the present invention.
具体实施方式detailed description
下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。The technical solutions of the present invention will be further described in detail below through the accompanying drawings and embodiments.
图1为本发明实施例提供的控制系统的示意图。如图1所示,本发明实施例提供的控制系统包括:第一服务器1和第二服务器2。这里第一服务器1可以理解为控制端,第二服务器2可以理解为被控制端,第一服务器1向第二服务器2发送第一应用程序控制信息,通过第一应用程序控制信息更新第二服务器2中的应用程序信息,已达到控制第二服务器2中的应用程序信息的目的。第一应用程序控制信息可以理解为一个文本文件。FIG. 1 is a schematic diagram of a control system provided by an embodiment of the present invention. As shown in FIG. 1, the control system provided by the embodiment of the present invention includes: a first server 1 and a second server 2. Here, the first server 1 can be understood as the control terminal, and the second server 2 can be understood as the controlled terminal. The first server 1 sends the first application control information to the second server 2 and updates the second server with the first application control information The application information in 2 has achieved the purpose of controlling the application information in the second server 2. The first application control information can be understood as a text file.
具体的,第二服务器2包括:存储模块20、接入端口模块21、控制转发模块22、功能控制器模块23和控制反馈模块24。其中,接入端口模块21可以理解为第二服务器2中的一个暴露给外界的调用接口,用来供接收并处理第一服务器1发送的第一应用程序控制信息。Specifically, the second server 2 includes: a storage module 20, an access port module 21, a control forwarding module 22, a function controller module 23, and a control feedback module 24. The access port module 21 can be understood as a calling interface exposed to the outside world in the second server 2 for receiving and processing the first application control information sent by the first server 1.
当第一服务器1上的程序想使用或控制第二服务器2中的应用程序时,需首先按照应用控制规范,首先编写一个包含控制信息的第一应用程序控制信息,然后调用第一服务器1本地的接口并把第一应用程序控制信息传递给第二服务器2中的接入端口模块21即可。接入端口模块21会读取第一应用程序控制信息中的控制信息,然后对其进行校验。如果控制信息符合应用控制规范,则进行下一步的处理。如果控制信息不符合应用控制规范,则反馈给第一服务器1上的程序一个校验失败信息。When the program on the first server 1 wants to use or control the application program in the second server 2, it is necessary to first write a first application control information containing control information according to the application control specification, and then call the first server 1 locally Interface and transfer the first application control information to the access port module 21 in the second server 2. The access port module 21 reads the control information in the first application control information, and then verifies it. If the control information meets the application control specification, the next step is processed. If the control information does not comply with the application control specifications, the program on the first server 1 is fed back with a verification failure message.
进一步具体的,接入端口模块21包括:读入单元211、校验单元212和封装单元213。More specifically, the access port module 21 includes: a read-in unit 211, a verification unit 212, and an encapsulation unit 213.
首先,读入单元211接收第一服务器1发送的第一应用程序控制信息,并以键值对集合的形式读取第一应用程序控制信息中的控制信息,并将读取出的控制信息和第一应用程序控制信息发送至校验单元212。First, the reading unit 211 receives the first application control information sent by the first server 1, and reads the control information in the first application control information in the form of a key-value pair set, and combines the read control information and The first application control information is sent to the verification unit 212.
校验单元212接收控制信息和第一应用程序控制信息,并根据控制信息 对第一应用程序控制信息进行校验,也就是确定控制信息是否符合应用控制规范。在校验单元212对第一应用程序控制信息进行校验之前,先要从存储模块20中调取校验信息,校验信息包括:主机地址信息、主机端口信息、用户名、密码、服务类型信息、操作源信息、应用程序名和应用程序路径信息。The verification unit 212 receives the control information and the first application control information, and verifies the first application control information according to the control information, that is, determines whether the control information conforms to the application control specification. Before the verification unit 212 verifies the first application control information, the verification information must be retrieved from the storage module 20. The verification information includes: host address information, host port information, user name, password, service type Information, operation source information, application name and application path information.
在获取到校验信息后,校验单元212将控制信息与校验信息进行对照,确定控制信息中是否包括主机地址信息、主机端口信息、用户名、密码、服务类型信息、操作源信息、应用程序名和应用程序路径信息的参数值。主机地址信息、主机端口信息、用户名、密码、服务类型信息、操作源信息、应用程序名和应用程序路径信息可以理解为控制信息中的键。After acquiring the verification information, the verification unit 212 compares the control information with the verification information to determine whether the control information includes host address information, host port information, user name, password, service type information, operation source information, application The parameter value of the program name and application path information. The host address information, host port information, user name, password, service type information, operation source information, application name, and application path information can be understood as keys in the control information.
当控制信息中包括主机地址信息、主机端口信息、用户名、密码、服务类型信息、操作源信息、应用程序名和应用程序路径信息的参数值时,则可以判定控制信息与交易信息相匹配,即控制信息符合应用控制规范。当控制信息中不包括主机地址信息、主机端口信息、用户名、密码、服务类型信息、操作源信息、应用程序名或应用程序路径信息中的任一参数值时,则可以判定控制信息与交易信息不匹配,即控制信息不符合应用控制规范。也就是说符合应用控制规范的控制信息必须包括主机地址信息、主机端口信息、用户名、密码、服务类型信息、操作源信息、应用程序名和应用程序路径信息的参数值,缺一不可。When the control information includes host address information, host port information, user name, password, service type information, operation source information, application name and application path information parameter values, it can be determined that the control information matches the transaction information, that is Control information complies with application control specifications. When the control information does not include any of the host address information, host port information, user name, password, service type information, operation source information, application name or application path information, you can determine the control information and transaction The information does not match, that is, the control information does not comply with the application control specifications. In other words, the control information that complies with the application control specification must include the host address information, host port information, user name, password, service type information, operation source information, application name and application path information parameter values, all of which are indispensable.
当控制信息与交易信息相匹配时,即控制信息符合应用控制规范,校验单元121将第一应用程序控制信息发送至封装单元213,用以封装单元213对第一应用程序控制信息进行进一步的处理。When the control information matches the transaction information, that is, the control information complies with the application control specification, the verification unit 121 sends the first application control information to the packaging unit 213 for the packaging unit 213 to further perform the first application control information deal with.
而当控制信息与交易信息不匹配时,即控制信息不符合应用控制规范,校验单元212生成校验失败信息发送至控制反馈模块24,控制反馈模块24在将校验失败信息发送至第一服务器1,用以第一服务器1向用户提示第一应用程序控制信息不符合应用控制规范。When the control information and the transaction information do not match, that is, the control information does not comply with the application control specifications, the verification unit 212 generates verification failure information and sends it to the control feedback module 24. The control feedback module 24 sends the verification failure information to the first The server 1 is used by the first server 1 to remind the user that the first application control information does not comply with the application control specifications.
当控制信息符合应用控制规范时,封装单元213接收第一应用程序控制 信息,并对第一应用程序控制信息进行封装,得到第二应用程序信息,并将第二应用程序信息发送至控制转发模块22。When the control information conforms to the application control specification, the packaging unit 213 receives the first application control information, encapsulates the first application control information, obtains the second application information, and sends the second application information to the control forwarding module twenty two.
进一步具体的,由于第二服务器2中的各个控制应用程序的控制单元232在开发的时候都是遵循一个统一的信息结构,而控制信息中每一个键代表的参数值在这个统一的信息结构中都有对应项,所以封装单元213只需把控制信息中每个键对应的参数值复制到统一信息结构的对应项上即可。More specifically, since the control unit 232 of each control application in the second server 2 follows a unified information structure during development, and the parameter value represented by each key in the control information is in this unified information structure There are corresponding items, so the packaging unit 213 only needs to copy the parameter values corresponding to each key in the control information to the corresponding items of the unified information structure.
控制转发模块22接收到第二应用程序控制信息后,对第二应用程序控制信息进行解析,提取第二应用程序控制信息中的应用程序名键和应用程序路径信息键的参数值,根据的应用程序名键和应用程序路径信息键的参数值得到控制转发信息,并将控制转发信息和第二应用程序控制信息发送至功能控制器模块23。After receiving the second application control information, the control forwarding module 22 parses the second application control information to extract the parameter values of the application name key and the application path information key in the second application control information, according to the application The parameter values of the program name key and the application program path information key obtain control forwarding information, and send the control forwarding information and the second application control information to the function controller module 23.
功能控制器模块23包括调控单元231和多个控制单元232。每个控制单元232所控制的应用程序或应用程序的种类不同。The function controller module 23 includes a regulation unit 231 and a plurality of control units 232. Each control unit 232 controls different applications or types of applications.
调控单元231接收控制转发模块22发送的控制转发信息和第二应用程序控制信息,并根据控制转发信息将第二应用程序控制信息发送至与控制转发信息相匹配的控制单元232。控制单元232根据第二应用程序控制信息更新与控制转发信息相对应的应用程序信息,已达到控制应用程序的目的。并且,控制单元232根据更新结果生成一个控制状态码,将控制状态码发送至控制反馈模块24。The control unit 231 receives the control forwarding information and the second application control information sent by the control forwarding module 22, and sends the second application control information to the control unit 232 matching the control forwarding information according to the control forwarding information. The control unit 232 updates the application information corresponding to the control forwarding information according to the second application control information, which has achieved the purpose of controlling the application. In addition, the control unit 232 generates a control status code according to the update result, and sends the control status code to the control feedback module 24.
根据更新应用程序信息的成功或失败,控制单元232会生成一个相应的控制状态码。控制反馈模块24根据控制状态码确定更新应用程序信息是成功了还是失败了。当更新应用程序信息成功时,控制反馈模块24生成一个成功的控制结果信息发送至所述第一服务器1。而当更新应用程序信息失败时,控制反馈模块24生成一个失败的控制结果信息将控制结果信息发送至所述第一服务器1。第一服务器1接收到控制结果信息后可知对第二服务器2中应用程序的控制是成功的还是失败的。According to the success or failure of updating the application information, the control unit 232 generates a corresponding control status code. The control feedback module 24 determines whether updating the application information is successful or failed according to the control status code. When the update of the application information is successful, the control feedback module 24 generates a successful control result information and sends it to the first server 1. When the application information update fails, the control feedback module 24 generates a failed control result information and sends the control result information to the first server 1. After receiving the control result information, the first server 1 can know whether the control of the application program in the second server 2 has succeeded or failed.
本发明实施例提供的一种控制系统,通过将应用程序控制信息进行校验和封装的过程,使得一台服务器可以精准的且有效的控制另一台服务器中的应用程序,从而方便用户对服务器中应用程序的进行管理。A control system provided by an embodiment of the present invention enables a server to accurately and effectively control an application in another server through the process of verifying and packaging application control information, thereby facilitating users to control the server Management of applications in progress.
专业人员应该还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Professionals should also be further aware that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two, in order to clearly illustrate the hardware and software Interchangeability, in the above description, the composition and steps of each example have been generally described according to function. Whether these functions are executed in hardware or software depends on the specific application of the technical solution and design constraints. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.
结合本文中所公开的实施例描述的方法或算法的步骤可以用硬件、用户终端执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented by hardware, a software module executed by a user terminal, or a combination of both. Software modules can be placed in random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable and programmable ROM, registers, hard disks, removable disks, CD-ROMs, or all devices in the technical field Any other known storage medium.
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above further describe the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific embodiments of the present invention and are not intended to limit the scope of the present invention. The scope of protection, within the spirit and principle of the present invention, any modification, equivalent replacement, improvement, etc., should be included in the scope of protection of the present invention.

Claims (8)

  1. 一种控制系统,其特征在于,所述控制系统包括第一服务器和第二服务器;所述第一服务器向所述第二服务器发送第一应用程序控制信息,用以更新所述第二服务器中的应用程序信息;A control system, characterized in that the control system includes a first server and a second server; the first server sends first application control information to the second server to update the second server Application information;
    所述第二服务器包括:接入端口模块、控制转发模块、功能控制器模块和控制反馈模块;The second server includes: an access port module, a control forwarding module, a function controller module, and a control feedback module;
    所述接入端口模块包括:读入单元、校验单元和封装单元;The access port module includes: a read-in unit, a verification unit and a packaging unit;
    所述读入单元接收所述第一应用程序控制信息,并读取所述第一应用程序控制信息中的控制信息,将所述控制信息和所述第一应用程序控制信息发送至所述校验单元;The reading unit receives the first application control information, reads the control information in the first application control information, and sends the control information and the first application control information to the school Inspection unit
    所述校验单元将所述控制信息与校验信息进行对照,当所述控制信息与所述交易信息相匹配时,将所述第一应用程序控制信息发送至所述封装单元;The verification unit compares the control information with the verification information, and when the control information matches the transaction information, sends the first application control information to the packaging unit;
    所述封装单元根据对所述第一应用程序控制信息进行封装,得到第二应用程序控制信息,将所述第二应用程序控制信息发送至控制转发模块;The packaging unit encapsulates the first application control information to obtain second application control information, and sends the second application control information to the control forwarding module;
    所述控制转发模块解析所述第二应用程序控制信息,得到控制转发信息,并将所述控制转发信息和所述第二应用程序控制信息发送至功能控制器模块;The control forwarding module parses the second application control information to obtain the control forwarding information, and sends the control forwarding information and the second application control information to the function controller module;
    所述功能控制器模块包括调控单元和多个控制单元;The function controller module includes a control unit and multiple control units;
    所述调控单元接收所述控制转发信息和所述第二应用程序控制信息,并根据所述控制转发信息将所述第二应用程序控制信息发送至与所述控制转发信息相匹配的所述控制单元;The control unit receives the control forwarding information and the second application control information, and sends the second application control information to the control matching the control forwarding information according to the control forwarding information unit;
    所述控制单元根据所述第二应用程序控制信息更新所述应用程序信息,并根据更新结果生成控制状态码发送至所述控制反馈模块;The control unit updates the application information according to the second application control information, and generates a control status code according to the update result and sends it to the control feedback module;
    所述控制反馈模块根据所述控制状态码生成控制结果信息,并将所述控制结果信息发送至所述第一服务器。The control feedback module generates control result information according to the control status code, and sends the control result information to the first server.
  2. 根据权利要求1所述的控制系统,其特征在于,所述系统还包括存储模块;The control system according to claim 1, wherein the system further comprises a storage module;
    所述校验单元从存储模块中调取所述校验信息。The verification unit retrieves the verification information from the storage module.
  3. 根据权利要求1所述的控制系统,其特征在于,所述校验信息包括:主机地址信息、主机端口信息、用户名、密码、服务类型信息、操作源信息、应用程序名和应用程序路径信息。The control system according to claim 1, wherein the verification information includes: host address information, host port information, user name, password, service type information, operation source information, application program name, and application program path information.
  4. 根据权利要求3所述的控制系统,其特征在于,所述校验单元将所述控制信息与校验信息进行对照具体为:The control system according to claim 3, wherein the verification unit comparing the control information with the verification information is specifically:
    确定所述控制信息中是否包括所述主机地址信息、主机端口信息、用户名、密码、服务类型信息、操作源信息、应用程序名和应用程序路径信息的参数值;Determining whether the control information includes the parameter values of the host address information, host port information, user name, password, service type information, operation source information, application name and application path information;
    当所述控制信息中包括所述主机地址信息、主机端口信息、用户名、密码、服务类型信息、操作源信息、应用程序名和应用程序路径信息的参数值时,所述控制信息与所述交易信息相匹配;When the control information includes parameter values of the host address information, host port information, user name, password, service type information, operation source information, application name and application path information, the control information and the transaction Information matching;
    当所述控制信息中不包括所述主机地址信息、主机端口信息、用户名、密码、服务类型信息、操作源信息、应用程序名或应用程序路径信息中的任一的参数值时,所述控制信息与所述交易信息不匹配。When the control information does not include any parameter value of the host address information, host port information, user name, password, service type information, operation source information, application name or application path information, the The control information does not match the transaction information.
  5. 根据权利要求4所述的控制系统,其特征在于,当所述控制信息与所述交易信息不匹配时,所述校验单元生成校验失败信息通过所述控制反馈模块发送至所述第一服务器,用以所述第一服务器向用户提示第一应用程序控制信息校验失败。The control system according to claim 4, wherein when the control information does not match the transaction information, the verification unit generates verification failure information and sends the verification failure information to the first through the control feedback module The server is used for the first server to prompt the user that the verification of the first application control information fails.
  6. 根据权利要求1所述的控制系统,其特征在于,所述封装单元从所述存储单元获取所述控制单元的信息结构信息。The control system according to claim 1, wherein the packaging unit acquires information structure information of the control unit from the storage unit.
  7. 根据权利要求6所述的控制系统,其特征在于,所述封装单元根据封装所述第一应用程序控制信息,得到第二应用程序控制信息具体为:The control system according to claim 6, wherein the packaging unit obtains second application control information according to the packaging of the first application control information, specifically:
    所述封装单元将所述第一应用程序控制信息中各个键的值复制到所述控 制单元的信息结构信息中与所述各个键相对应的对应项的值中,得到所述第二应用程序控制信息。The packaging unit copies the value of each key in the control information of the first application to the value of the corresponding item corresponding to each key in the information structure information of the control unit to obtain the second application Control information.
  8. 根据权利要求7所述的控制系统,其特征在于,所述多个控制单元具有相同的所述信息结构信息。The control system according to claim 7, wherein the plurality of control units have the same information structure information.
PCT/CN2018/121376 2018-12-16 2018-12-16 Control system WO2020124295A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/121376 WO2020124295A1 (en) 2018-12-16 2018-12-16 Control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/121376 WO2020124295A1 (en) 2018-12-16 2018-12-16 Control system

Publications (1)

Publication Number Publication Date
WO2020124295A1 true WO2020124295A1 (en) 2020-06-25

Family

ID=71100048

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/121376 WO2020124295A1 (en) 2018-12-16 2018-12-16 Control system

Country Status (1)

Country Link
WO (1) WO2020124295A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1311935A (en) * 1998-05-07 2001-09-05 三星电子株式会社 Method and apparatus for universally accessiable command and control information in a network
CN105682069A (en) * 2014-12-05 2016-06-15 中国移动通信集团公司 Method, device and system for configuring network resources
CN106549856A (en) * 2016-11-24 2017-03-29 广州华多网络科技有限公司 A kind of method and apparatus for sending feedback data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1311935A (en) * 1998-05-07 2001-09-05 三星电子株式会社 Method and apparatus for universally accessiable command and control information in a network
CN105682069A (en) * 2014-12-05 2016-06-15 中国移动通信集团公司 Method, device and system for configuring network resources
CN106549856A (en) * 2016-11-24 2017-03-29 广州华多网络科技有限公司 A kind of method and apparatus for sending feedback data

Similar Documents

Publication Publication Date Title
TWI667586B (en) System and method for verifying changes to uefi authenticated variables
EP3776208B1 (en) Runtime self-correction for blockchain ledgers
US10158479B2 (en) Systems and methods for generating, uploading and executing code blocks within distributed network nodes
US9742568B2 (en) Trusted support processor authentication of host BIOS/UEFI
TWI598814B (en) System and method for managing and diagnosing a computing device equipped with unified extensible firmware interface (uefi)-compliant firmware
TWI330769B (en) Apparatus method and system for feature activation
US9594619B2 (en) Robust hardware fault management system, method and framework for enterprise devices
US11157656B2 (en) Method and system for software image verification using a Null File
US10530752B2 (en) Efficient device provision
US10621055B2 (en) Adaptive data recovery for clustered data devices
US20180288049A1 (en) Data access interface for clustered devices
WO2018000843A1 (en) Mobile payment method, system on chip and terminal
US20190392151A1 (en) Automatic verification method and system
US20230095143A1 (en) Method for Performing Secure Boot Based on Redundant Cryptographic Algorithm and Device
US20220043914A1 (en) Securing node groups
CN112148314A (en) Mirror image verification method, device, equipment and storage medium of embedded system
US10942750B2 (en) System and method to securely load non-UEFI based file format as OEM based UEFI custom capsule format in UEFI loader
WO2020211233A1 (en) Method and device for batch data editing, computer device, and storage medium
US11354107B2 (en) Communicating a data image for installing an operating system
WO2020124295A1 (en) Control system
WO2020124291A1 (en) Control apparatus
CN106656865B (en) A kind of method and device managing chained list resource
WO2020119138A1 (en) Method for verifying credibility of bios restored file and relevant device
US20230359741A1 (en) Trusted boot method and apparatus, electronic device, and readable storage medium
US11698972B2 (en) Method to securely transfer root of trust responsibilities on a common shared motherboard

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18943767

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18943767

Country of ref document: EP

Kind code of ref document: A1