WO2016169375A1 - Proxy framework service system comprising local assembly, and method - Google Patents

Proxy framework service system comprising local assembly, and method Download PDF

Info

Publication number
WO2016169375A1
WO2016169375A1 PCT/CN2016/076948 CN2016076948W WO2016169375A1 WO 2016169375 A1 WO2016169375 A1 WO 2016169375A1 CN 2016076948 W CN2016076948 W CN 2016076948W WO 2016169375 A1 WO2016169375 A1 WO 2016169375A1
Authority
WO
WIPO (PCT)
Prior art keywords
unit
local
execution
remote
proxy
Prior art date
Application number
PCT/CN2016/076948
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 珀金埃尔默企业管理(上海)有限公司
Publication of WO2016169375A1 publication Critical patent/WO2016169375A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a proxy framework service system and method.
  • agent framework service system and method including local components for facilitating simple operations and facilitating deployment is now provided.
  • An agent framework service system including local components, wherein
  • the proxy framework service system wherein the local proxy unit comprises:
  • An interface module configured to connect to the application, and the interface module includes:
  • a configuration information acquisition component for providing system configuration information to the application
  • An instruction execution component is configured to receive a request of the application, an execution parameter corresponding to the request, and send an execution result to the application.
  • the proxy framework service system wherein the local proxy unit comprises:
  • the proxy framework service system wherein the communication unit comprises:
  • At least one proxy client module connecting the remote management module
  • the remote management module starts a corresponding proxy client module to maintain a relationship between the local proxy unit and a corresponding remote execution unit Connection.
  • the proxy framework service system wherein the communication unit comprises:
  • Monitoring component for monitoring a connection status between the local agent unit and the remote execution unit
  • a registration management component configured to receive a registration request of the remote execution unit, and register the corresponding remote execution unit to the local proxy unit according to the registration request.
  • the agent framework service system wherein the communication unit maintains communication between the home agent unit and the remote execution unit via a socket communication mode.
  • the proxy framework service system wherein the remote execution unit comprises:
  • At least one remote function component for performing a predetermined function according to the request, and Generate corresponding execution results
  • a host module which is respectively connected to the communication unit and the remote function component, for starting the remote function component, and converting the request obtained by the communication unit into a corresponding instruction acceptable by the remote function component, And controlling the remote function component to perform a predetermined function according to the corresponding instruction; and transmitting the execution result of the remote function component to the home agent unit through the communication unit.
  • the proxy framework service system wherein the local proxy unit comprises:
  • the proxy framework service system wherein the host module comprises:
  • a registration component connected to the communication unit, to send a registration request to the communication unit after the host module is started to register the host module to the local proxy unit.
  • the proxy framework service system wherein the host module comprises:
  • a status monitoring component for detecting an operating status of the local agent unit and causing the host module to be taken out of operation when the local agent unit stops working.
  • the proxy framework service system wherein the local execution module comprises:
  • At least one local function component for performing a predetermined function according to the request and generating a corresponding execution result
  • the local agent unit includes:
  • a local management component respectively connected to the interface module and the local execution module, configured to select a corresponding local functional component according to the request of the application, and control the selected local functional component to perform a predetermined function And, transmitting the execution result of the local function component to the application through the interface module.
  • the proxy framework service system wherein the local execution module further includes:
  • the local registration component is respectively connected to the local function component for registering the corresponding local function component into the local proxy unit according to the request of the local execution module.
  • the proxy framework service system wherein the remote execution unit is The local agent unit works under different operating systems; and/or
  • the local execution module works with the local proxy unit under the same operating system.
  • the service method based on the remote execution unit specifically includes:
  • Step S1a the local proxy unit acquires a request of the currently running application
  • Step S2a the local proxy unit selects the corresponding remote execution unit according to the request, to execute the request remotely and form a corresponding execution result;
  • Step S3a the local agent unit returns the execution result formed by the remote execution unit processing to the application for use by the application;
  • the service method based on the local execution module specifically includes:
  • Step S1b the local agent unit acquires a request of the currently running application
  • Step S2b the local proxy unit selects the corresponding local execution module according to the request, to execute the request and form a corresponding execution result;
  • Step S3b the local agent unit returns the execution result formed by the local execution module processing to the application for use by the application.
  • the proxy framework service method wherein the local proxy unit provides system configuration information to the application through a corresponding interface;
  • the local proxy unit acquires the request of the currently running application by the interface, and an execution parameter corresponding to the request.
  • the proxy framework service method wherein the request of the application and the corresponding execution parameter are sent to a corresponding remote execution unit by a remote management module disposed in the local proxy unit;
  • the remote management module provides a connection status between the remote execution unit and the home agent unit to be included in the system configuration information.
  • the proxy framework service method wherein, in the step S2a, when the local proxy unit sends the request by using the communication unit, the remote management module is used to form a proxy client in the communication unit.
  • the end process the connection between the local proxy unit and the corresponding remote execution unit.
  • the proxy framework service method wherein the request sent by the local proxy unit by the communication unit and the corresponding execution parameter are converted into a format acceptable to the remote server and described by Remote server receiving;
  • the execution result sent by the remote server through the communication unit is converted into a format acceptable by the home agent unit and received by the home agent unit.
  • the remote execution unit receives the request and selects a corresponding one of the remote function components to perform a predetermined function and generate a corresponding execution result;
  • the proxy framework service method wherein:
  • the home agent unit controllably launches the host module through the communication unit; and/or
  • the host module When the host module is launched, the host module sends a registration request to the communication unit to register the host module to the home agent unit.
  • the proxy framework service method wherein at least one local function component is set in each of the local execution modules, each of the local function components is configured to perform a preset function;
  • the local management component selects a corresponding one of the local execution modules according to the request of the currently running application to control the corresponding local functional component to perform a predetermined function and process correspondingly The result of the execution.
  • the proxy framework service method wherein the remote execution unit and the local proxy unit operate under different operating systems; and/or
  • the local execution module works with the local proxy unit under the same operating system.
  • agent framework service system which solves the problem that an existing computer cannot conveniently utilize a cross-platform third-party component to process a transaction, and the agent framework service system is convenient to deploy and simple to operate;
  • FIG. 1 is a schematic diagram showing the overall structure of a proxy framework service system in a preferred embodiment of the present invention
  • 5-6 are schematic flowcharts of a proxy framework service method in a preferred embodiment of the present invention.
  • a proxy framework service system including a local component is provided.
  • the overall structure is as shown in FIG. 1 and includes:
  • At least one remote server 1 (only one shown in Figure 1) is provided.
  • a remote execution unit 11 is provided in each remote server 1 for performing predetermined functions.
  • a corresponding remote execution unit 11 can be provided in a remote server 1.
  • a plurality of remote servers 1 can be provided, so that the system includes a plurality of remote execution units 11, only one of which is shown in FIG.
  • a local proxy unit 3 is provided.
  • the local proxy unit 3 is configured to select a corresponding remote execution unit to execute the request remotely according to the request of the currently running application, and obtain the execution result and return it to the application.
  • the home agent unit 3 is connected to the remote execution unit 11 provided by the remote server 1 through the communication unit 2.
  • the local proxy unit 3 further includes at least one local execution module 34.
  • Each local execution module 34 is configured to perform a predetermined function.
  • the local single profit unit 3 may also select a corresponding local execution module 34 to execute the pre-process according to the request of the application. Set the function to return the corresponding execution result to the application.
  • the foregoing local proxy unit 3 includes:
  • Interface module 31 In a preferred embodiment of the present invention, the interface module 31 is used to connect application. That is, the interface module 31 implements data transmission between the currently running application.
  • the interface module 31 includes:
  • the configuration information acquisition component 311 is configured to obtain system configuration information and provide the system configuration information to the currently running application.
  • the system configuration information may include a connection state between the local agent unit 3 and the corresponding remote execution unit 11 in the remote server 1 through the communication unit 2, and/or for current operation.
  • the application is configured to accommodate other system parameters of the local agent unit application platform, and the like.
  • Instruction execution component 312 is configured to receive a request from an application, and an execution parameter corresponding to the request, and send an execution result to the application.
  • the so-called execution parameter refers to the application executing the corresponding execution unit (the remote execution unit or the local execution module) to execute the actual execution content corresponding to the corresponding request.
  • the third-party component included in the execution unit is a component for drawing a molecular structure diagram, and the currently running application needs to draw a corresponding molecular structure diagram according to a given molecular formula, so the application can make a request to call the corresponding execution unit.
  • the third-party component, the above execution parameters may include data such as the molecular formula on which the molecular structure diagram is drawn.
  • the instruction execution component has two functions: one is to send a request to the remote server 1 and corresponding execution parameters according to the request made by the application; the second is to perform remote execution according to the remote The unit processes the resulting execution result and returns the execution result to the application.
  • the foregoing local proxy unit 3 further includes:
  • the remote management module 32 connects the interface module 31 and the communication unit 2.
  • the remote management module 32 is configured to send the request from the application acquired by the interface module 31 and the execution parameter corresponding to the request to the corresponding remote execution unit 11 through the communication unit 2, and execute the remotely.
  • the execution result of the unit 11 is sent to the interface module 31, and the connection state of the remote execution unit 11 and the local proxy unit 3 is provided to the above configuration.
  • Information acquisition component 311 In the preferred embodiment of the present invention, specifically, as shown in FIG. 3, the communication unit 2 includes:
  • the conversion component 21 is configured to convert the request sent by the local proxy unit 3 into a format acceptable to the remote server 1 for transmission to the remote server 1; and to generate the remote server 1 The execution result is converted to a format acceptable to the local proxy unit 3 and sent to the local proxy unit.
  • the conversion component 21 is configured to implement data format conversion between the local proxy unit 3 and the remote server 1 to facilitate the data received by the local proxy unit 3 and the remote server 1. The format can be parsed and processed.
  • the communication unit 2 further includes:
  • Monitoring component 22 is configured to monitor a connection state between the local agent unit 3 and the remote execution unit 11;
  • At least one proxy client module 24 (only one shown in FIG. 3) is connected to the remote management module 32.
  • the remote management module launches the corresponding proxy client module when the local proxy unit sends a request to the remote execution unit.
  • the proxy client module 24 is configured to maintain a connection between the local proxy unit 3 and the corresponding execution unit 11.
  • each remote function component 111 is operative to perform a predetermined function upon request and to generate a corresponding execution result.
  • the remote function unit 111 actually functions in the remote function unit 111, and each of the remote function units 111 is adapted to perform a corresponding function.
  • the host module 112 is connected to the communication unit 2 and the remote function component 111, respectively.
  • the host module 112 is configured to activate the remote function component 111, convert the request acquired by the communication unit 2 into an instruction acceptable to the corresponding remote function component 111, and control the remote function component 111.
  • the predetermined function is executed according to the corresponding instruction; and the execution result of the remote function component 111 is transmitted to the home agent unit through the communication unit.
  • the function of the host module 112 is to control the remote function component 111, convert the request into a corresponding instruction, and control the corresponding remote function component 111 to process the corresponding according to the instruction. Transaction and output execution results.
  • the local application can request the remote function component to execute the preset function by issuing a request, thereby calling the corresponding remote function component to process and return the corresponding execution result.
  • the startup control module 33 is connected to the corresponding host module 112 via the communication unit 2 (only the portion of the startup control module 33 that is connected to the communication unit 2 is shown in FIG. 2).
  • the startup control module 33 is configured to controllably launch the corresponding host module 112.
  • an implementation method for starting the host module 112 is provided: the local proxy unit 3 is activated, and then the control command is sent through the communication unit 2 through the startup control module 31 included therein.
  • the host module 112 in the corresponding remote execution unit 11 is activated to activate the host module 112, thereby launching the remote function component 111 corresponding to the host module 112, and the registration process of the remote execution unit 11 is completed by the registration management component 23.
  • the foregoing technical solution is used to solve the situation that the local proxy unit 3 is abnormally shut down or abnormally restarted.
  • the startup control module 31 is not provided, when the local proxy unit 3 is abnormally shut down or abnormally restarted, the corresponding remote function component 111 set in the remote execution unit 11 will not be shut down or restarted accordingly, and will not be re-localized.
  • the proxy unit 3 sends a registration request to complete the registration, so the related information is also missing in the corresponding system configuration information. Therefore, a corresponding startup control module 31 is provided in the local agent unit 3 to solve the above problem. In other words, setting the corresponding startup control module 31 in the local proxy unit 3 can synchronize the startup and shutdown of the local proxy unit 3 with the activation and shutdown of the corresponding remote functional component 111, thereby avoiding the above problem.
  • the host module 112 includes:
  • the registration component 1121 connects the communication unit 2.
  • the registration component 1121 is configured to send a registration request to the communication unit 2 after the host module 112 is started to register the host module to the local proxy unit 3.
  • the host module 112 when the host module 112 is restarted, it actively requests registration from the local proxy unit 3 to complete the corresponding registration process.
  • the status monitoring component 1122 is configured to detect the working state of the local agent unit and to cause the host module to be out of operation when the local agent unit stops working.
  • the status monitoring component 1122 functions to send a "PING" request to the local proxy unit 3 every predetermined time to Checks if the local agent unit is still working and causes the host module to quit running when the local agent unit stops working (ie, the "PING" request fails). This avoids the "Zombie Process", which avoids the situation where the corresponding host module that cannot get the request due to a loss of connection with the local proxy unit continues to occupy system resources.
  • the remote execution unit 11 and the local proxy unit 3 can be set to work under different operating systems, thereby solving the cross
  • the platform uses third-party components.
  • the local execution module 34 includes at least one local function component 341 for performing a preset function.
  • the local management component 35 extracts the type of the corresponding local function component 341 according to the request (for example, for the C# development platform, the .NET CLR type is obtained. Then, the corresponding local function component 341 is selected (for example, using the .NET CTS to select the corresponding local function component 341), and then the application's request (converted into the corresponding instruction) is sent to the selected local function component 341 for processing. The corresponding execution result is formed and returned to the currently running application.
  • the request for example, for the C# development platform, the .NET CLR type is obtained.
  • the corresponding local function component 341 is selected (for example, using the .NET CTS to select the corresponding local function component 341), and then the application's request (converted into the corresponding instruction) is sent to the selected local function component 341 for processing.
  • the corresponding execution result is formed and returned to the currently running application.
  • the local execution module 34 further includes:
  • the local registration component 342 is connected to the local function component 341 for local
  • the request of the execution module 34 registers the corresponding local function component 342 into the local proxy unit.
  • the local registration information associated with the local function component 342 is also included in the system configuration information and sent to the currently running application to inform the currently available local functional components.
  • the local agent unit 3 may activate a corresponding proxy client set in the communication unit 2 for the corresponding remote execution unit 11 according to the request of the application program.
  • the end module 25 maintains the connection between the local agent unit 3 and the corresponding execution unit 11 to send a request to the remote function component 111 in the corresponding remote execution unit 11 for processing, forming a corresponding execution result and returning.
  • the connection status of the remote execution unit 11 is registered by the host module 112 to the local agent unit 3;
  • the corresponding remote function component of the selected remote execution unit accepts the request corresponding instruction and performs a corresponding predetermined function to form a corresponding execution result, and converts to the above-mentioned home agent through the communication unit.
  • the data in the data format acceptable to the unit is sent to the local proxy unit, and the local proxy unit will change the execution result.
  • the corresponding local function component in the local execution module accepts the corresponding instruction and executes the corresponding predetermined function to form a corresponding execution result, and the local agent unit directly returns the execution result to the application.
  • the program is used.
  • a proxy framework service method is provided based on the proxy framework service system including the local components described above.
  • At least one remote server including a remote execution unit for performing a predetermined function is provided in advance;
  • a local proxy unit including at least one local execution module is provided in advance.
  • the local execution module is configured to perform a preset function
  • the service method based on the remote execution unit that is, the service method for requesting the remote third-party component to execute the corresponding function, specifically includes:
  • Step S1a the local agent unit acquires a request of the currently running application
  • the home agent unit provides system configuration information to the application via a corresponding interface.
  • the interface may be a software development kit (SDK) for providing corresponding application configuration data to the application and the application opener for the application.
  • SDK software development kit
  • the program can successfully connect to and work with the local agent unit.
  • the request of the application and the corresponding execution parameter are sent to a corresponding remote execution unit through a remote management module disposed in the local proxy unit; and the remote execution unit is provided through the remote management module.
  • Local agent unit The connection status between them is included in the system configuration information.
  • Step S2a the local proxy unit selects a corresponding remote execution unit according to the request to execute the request remotely and form a corresponding execution result;
  • the method for implementing communication between the local proxy unit and the remote remote execution unit may include: the local proxy unit is converted into a remote service by the request sent by the communication unit and the corresponding execution parameter.
  • the acceptable format is received by the remote server; the execution result sent by the remote server through the communication unit is converted into a format acceptable to the local proxy unit and received by the local proxy unit.
  • the communication unit monitors the connection status between the local agent unit and the remote execution unit, and sets the connection status in the system configuration information.
  • the application program In the case of the application program;
  • the communication unit receives the registration request of the remote execution unit and registers the corresponding remote execution unit to the local agent unit according to the registration request, so that the local agent unit notifies the remote execution unit currently available to the application.
  • a corresponding at least one remote function component and a host module are disposed in each remote execution unit;
  • the remote execution unit receives the request and selects a corresponding remote function component to perform a predetermined function and generate a corresponding execution result;
  • the execution result is sent to the local proxy unit through the communication unit.
  • step S3a the local agent unit returns the execution result of the remote acquisition to the application for use by the application.
  • the home agent unit controllably starts the host module through the communication unit;
  • the host module When the host module is launched, the host module sends a registration request to the communication unit to register the host module with the local agent unit.
  • the host module is used to detect the working state of the local agent unit, and the host module is controlled to exit when the local agent unit stops working.
  • the host module is not used for restarting and/or registration control, remote remote execution is performed when the local proxy unit is shut down or restarted.
  • the unit cannot be closed and/or restarted synchronously, and it cannot be re-registered when the local agent unit is restarted.
  • the system configuration information included in the unit is not included in the local agent unit.
  • the remote execution unit that was already in the startup state before being restarted, so the currently running application cannot know which remote execution units are available at this time.
  • the host module is used to implement synchronization between the local proxy unit and the remote remote execution unit, thereby ensuring that the remote execution unit can register with the local proxy unit at the first time. .
  • the service method based on the local execution module that is, the service method for requesting the local third-party component to execute the corresponding function, specifically includes:
  • Step S1b the local agent unit acquires a request of the currently running application
  • Step S2b the local proxy unit selects a corresponding local execution module according to the request to execute the request and form a corresponding execution result;
  • the local proxy unit is With the request of the program, the corresponding local execution module is selected, and the corresponding local function component in the selected local execution module is controlled to execute the preset function to process the corresponding execution result and return.
  • a local management component is provided in the local execution module.
  • the local management component selects a corresponding local execution module according to the request of the currently running application to control the corresponding local function component to perform a predetermined function and process to form a corresponding execution result.
  • the corresponding local function component is registered into the local proxy unit using a local registration component in accordance with the corresponding registration request.
  • step S3b the local agent unit returns the execution result formed by the local execution module processing to the application for use by the application program.
  • the local execution module and the local agent unit operate under the same operating system.

Abstract

The present invention relates to the technical field of computers. Disclosed are a proxy framework service system comprising a local assembly, and a method. The system comprises: at least one provided remote server comprising a remote execution unit; a provided communications unit; and a provided local proxy unit comprising at least one local execution module, wherein the local proxy unit is connected to the corresponding remote execution unit by means of the communications unit. The method comprises: a local proxy unit acquires a request of a currently running application program, and selects, according to the request, a corresponding remote execution unit or a local execution module to form corresponding execution results; and returns the remotely acquired execution result to the application program, or directly returns the execution result obtained in the local running to the application program. The technical solution has the beneficial effects: the problem of an existing computer failing to process a transaction by conveniently and rapidly using a cross-platform third-party assembly is solved, and the proxy framework service system is easy to deploy and is simple to operate.

Description

一种包括本地组件的代理框架服务系统及方法Agent framework service system and method including local component 技术领域Technical field
本发明涉及计算机技术领域,尤其涉及一种代理框架服务系统及方法。The present invention relates to the field of computer technologies, and in particular, to a proxy framework service system and method.
背景技术Background technique
现有的计算机应用系统中,经常需要利用一部分第三方提供的组件来实现某些业务功能,尤其是在一些需要与硬件交互的系统中,这种情况统更为常见。在类似这样的应用系统中,一个普遍的问题是,第三方提供的组件有可能是由一种老的技术来实现的,或者这些第三方提供的组件仅能运行在某一特定的平台或特定的运行时环境中。使得这些第三方提供的组件无法与整个应用系统兼容,从而造成整个第三方组件服务系统操作不便、部署困难。In existing computer application systems, it is often necessary to utilize some of the components provided by third parties to implement certain business functions, especially in systems that need to interact with hardware. In a similar application system, a common problem is that the components provided by the third party may be implemented by an old technology, or the components provided by these third parties can only run on a specific platform or specific In the runtime environment. The components provided by these third parties are not compatible with the entire application system, resulting in inconvenient operation and difficulty in deploying the entire third-party component service system.
发明内容Summary of the invention
针对现有的计算机应用系统利用第三方提供的组件时存在的上述问题,现提供一种旨在实现简单操作,且部署方便的包括本地组件的代理框架服务系统及方法的。In view of the above problems existing in existing computer application systems utilizing components provided by third parties, an agent framework service system and method including local components for facilitating simple operations and facilitating deployment is now provided.
具体技术方案如下:The specific technical solutions are as follows:
一种包括本地组件的代理框架服务系统,其中,An agent framework service system including local components, wherein
提供至少一个远程服务端,每个所述远程服务端中设置有用以执行预定功能的远程执行单元;Providing at least one remote server, each of which is provided with a remote execution unit for performing a predetermined function;
提供至少一个用以执行预定功能的本地执行模块;Providing at least one local execution module for performing a predetermined function;
提供一通信单元;Providing a communication unit;
提供一包括所述本地执行模块的本地代理单元,用以根据当前运行的应用程序的请求,选择对应的所述远程执行单元或者所述本地执行模块执行所述请求,并获取执行结果后返回给所述应用程序;Providing a local proxy unit including the local execution module, configured to select a corresponding remote execution unit or the local execution module to execute the request according to a request of a currently running application, and obtain an execution result and then return to the The application;
所述本地代理单元通过所述通信单元与所述远程服务端设置的所述远程执行单元连接。 The local proxy unit is connected to the remote execution unit set by the remote server by the communication unit.
优选的,该代理框架服务系统,其中,所述本地代理单元包括:Preferably, the proxy framework service system, wherein the local proxy unit comprises:
接口模块,所述接口模块用以连接所述应用程序,所述接口模块包括:An interface module, the interface module is configured to connect to the application, and the interface module includes:
配置信息获取组件,用以向所述应用程序提供系统配置信息;a configuration information acquisition component for providing system configuration information to the application;
指令执行组件,用以接收所述应用程序的请求,及与所述请求对应的执行参数,并向所述应用程序发送执行结果。An instruction execution component is configured to receive a request of the application, an execution parameter corresponding to the request, and send an execution result to the application.
优选的,该代理框架服务系统,其中,所述本地代理单元包括:Preferably, the proxy framework service system, wherein the local proxy unit comprises:
远程管理模块,连接所述接口模块及所述通信单元,用以将所述接口模块获取的来自所述应用程序的请求及所述请求对应的执行参数通过所述通信单元发送至对应的所述远程执行单元,并将所述远程执行单元的执行结果发送至所述接口模块,以及提供所述远程执行单元与所述本地代理单元的连接状态至所述配置信息获取组件。a remote management module, configured to connect the interface module and the communication unit to send, by the communication unit, a request from the application and an execution parameter corresponding to the request by the interface module to the corresponding Remotely executing the unit, and transmitting an execution result of the remote execution unit to the interface module, and providing a connection status of the remote execution unit and the local agent unit to the configuration information acquisition component.
优选的,该代理框架服务系统,其中,所述通信单元包括:Preferably, the proxy framework service system, wherein the communication unit comprises:
至少一个代理客户端模块,连接所述远程管理模块;At least one proxy client module connecting the remote management module;
于所述本地代理单元向所述远程执行单元发送所述请求时,所述远程管理模块启动相应的所述代理客户端模块,以维持所述本地代理单元与相应的所述远程执行单元之间的连接。And when the local proxy unit sends the request to the remote execution unit, the remote management module starts a corresponding proxy client module to maintain a relationship between the local proxy unit and a corresponding remote execution unit Connection.
优选的,该代理框架服务系统,其中,所述通信单元包括:Preferably, the proxy framework service system, wherein the communication unit comprises:
转换组件,用以将所述本地代理单元发出的请求转换为所述远程服务端可接受的格式,发送至所述远程服务端;以及,将所述远程服务端产生的执行结果转换为所述本地代理单元可接受的格式,发送至所述本地代理单元;和/或a converting component, configured to convert a request sent by the local proxy unit into a format acceptable to the remote server, to the remote server; and convert the execution result generated by the remote server into the a format acceptable to the local proxy unit, sent to the local proxy unit; and/or
监测组件,用以监测所述本地代理单元与所述远程执行单元之间的连接状态;和/或Monitoring component for monitoring a connection status between the local agent unit and the remote execution unit; and/or
注册管理组件,用以接收所述远程执行单元的注册请求,并根据所述注册请求将对应的所述远程执行单元注册至所述本地代理单元。And a registration management component, configured to receive a registration request of the remote execution unit, and register the corresponding remote execution unit to the local proxy unit according to the registration request.
优选的,该代理框架服务系统,其中,所述通信单元通过套接字通讯模式维持所述本地代理单元与所述远程执行单元之间的通信。Advantageously, the agent framework service system, wherein the communication unit maintains communication between the home agent unit and the remote execution unit via a socket communication mode.
优选的,该代理框架服务系统,其中,所述远程执行单元包括:Preferably, the proxy framework service system, wherein the remote execution unit comprises:
至少一个远程功能组件,用以根据所述请求执行预定的功能,并 产生相应的执行结果;At least one remote function component for performing a predetermined function according to the request, and Generate corresponding execution results;
宿主模块,分别连接所述通信单元及所述远程功能组件,用以启动所述远程功能组件,将通过所述通信单元获取的所述请求转换为相应的所述远程功能组件可接受的指令,并控制所述远程功能组件根据对应的所述指令执行预定功能;以及,将所述远程功能组件的所述执行结果通过所述通信单元发送至所述本地代理单元。a host module, which is respectively connected to the communication unit and the remote function component, for starting the remote function component, and converting the request obtained by the communication unit into a corresponding instruction acceptable by the remote function component, And controlling the remote function component to perform a predetermined function according to the corresponding instruction; and transmitting the execution result of the remote function component to the home agent unit through the communication unit.
优选的,该代理框架服务系统,其中,所述本地代理单元包括:Preferably, the proxy framework service system, wherein the local proxy unit comprises:
启动控制模块,通过所述通信单元连接对应的所述宿主模块,用以可控制地启动对应的所述宿主模块。And activating the control module, and connecting, by the communication unit, the corresponding host module, to controlably start the corresponding host module.
优选的,该代理框架服务系统,其中,所述宿主模块包括:Preferably, the proxy framework service system, wherein the host module comprises:
注册组件,连接所述通信单元,用以于所述宿主模块启动后向所述通信单元发送注册请求,以将所述宿主模块注册到所述本地代理单元。And a registration component, connected to the communication unit, to send a registration request to the communication unit after the host module is started to register the host module to the local proxy unit.
优选的,该代理框架服务系统,其中,所述宿主模块包括:Preferably, the proxy framework service system, wherein the host module comprises:
状态监测组件,用以检测所述本地代理单元的工作状态,并于所述本地代理单元停止工作时使所述宿主模块退出运行。a status monitoring component for detecting an operating status of the local agent unit and causing the host module to be taken out of operation when the local agent unit stops working.
优选的,该代理框架服务系统,其中,所述本地执行模块包括:Preferably, the proxy framework service system, wherein the local execution module comprises:
至少一个本地功能组件,用以根据所述请求执行预定的功能,并产生相应的执行结果;At least one local function component for performing a predetermined function according to the request and generating a corresponding execution result;
所述本地代理单元中包括:The local agent unit includes:
本地管理组件,分别连接所述接口模块和所述本地执行模块,用于根据所述应用程序的所述请求选择相应的所述本地功能组件,并控制被选择的所述本地功能组件执行预定功能;以及,将所述本地功能组件的所述执行结果通过所述接口模块发送至所述应用程序。a local management component, respectively connected to the interface module and the local execution module, configured to select a corresponding local functional component according to the request of the application, and control the selected local functional component to perform a predetermined function And, transmitting the execution result of the local function component to the application through the interface module.
优选的,该代理框架服务系统,其中,所述本地执行模块中还包括:Preferably, the proxy framework service system, wherein the local execution module further includes:
本地注册组件,分别连接所述本地功能组件,用以根据所述本地执行模块的请求,将相应的所述本地功能组件注册到所述本地代理单元中。The local registration component is respectively connected to the local function component for registering the corresponding local function component into the local proxy unit according to the request of the local execution module.
优选的,该代理框架服务系统,其中,所述远程执行单元与所述 本地代理单元工作于不同的操作系统下;和/或Preferably, the proxy framework service system, wherein the remote execution unit is The local agent unit works under different operating systems; and/or
所述本地执行模块与所述本地代理单元工作于相同的操作系统下。The local execution module works with the local proxy unit under the same operating system.
一种包括本地组件的代理框架服务方法,其中,包括:A proxy framework service method including local components, including:
提供至少一个包括用于执行预定功能的远程执行单元的远程服务端;Providing at least one remote server including a remote execution unit for performing a predetermined function;
提供一包括本地执行模块的本地代理单元;Providing a local proxy unit including a local execution module;
在所述本地代理单元与所述远程服务端中的所述远程执行单元之间实现远程连接;Implementing a remote connection between the home agent unit and the remote execution unit in the remote server;
所述代理框架服务方法中,基于所述远程执行单元的服务方法具体包括:In the proxy framework service method, the service method based on the remote execution unit specifically includes:
步骤S1a,所述本地代理单元获取当前运行的应用程序的请求;Step S1a, the local proxy unit acquires a request of the currently running application;
步骤S2a,所述本地代理单元根据所述请求选择相应的所述远程执行单元,以在远程执行所述请求并形成相应的执行结果;Step S2a, the local proxy unit selects the corresponding remote execution unit according to the request, to execute the request remotely and form a corresponding execution result;
步骤S3a,所述本地代理单元将由所述远程执行单元处理形成的所述执行结果返回至所述应用程序,以供所述应用程序使用;Step S3a, the local agent unit returns the execution result formed by the remote execution unit processing to the application for use by the application;
所述代理服务方法中,基于所述本地执行模块的服务方法具体包括:In the proxy service method, the service method based on the local execution module specifically includes:
步骤S1b,所述本地代理单元获取当前运行的应用程序的请求;Step S1b, the local agent unit acquires a request of the currently running application;
步骤S2b,所述本地代理单元根据所述请求选择相应的所述本地执行模块,以执行所述请求并形成相应的执行结果;Step S2b, the local proxy unit selects the corresponding local execution module according to the request, to execute the request and form a corresponding execution result;
步骤S3b,所述本地代理单元将由所述本地执行模块处理形成的所述执行结果返回至所述应用程序,以供所述应用程序使用。Step S3b, the local agent unit returns the execution result formed by the local execution module processing to the application for use by the application.
优选的,该代理框架服务方法,其中,所述本地代理单元通过相应的接口向所述应用程序提供系统配置信息;Preferably, the proxy framework service method, wherein the local proxy unit provides system configuration information to the application through a corresponding interface;
所述步骤S1a中,所述本地代理单元通过所述接口获取当前运行的所述应用程序的所述请求,以及与所述请求对应的执行参数。In the step S1a, the local proxy unit acquires the request of the currently running application by the interface, and an execution parameter corresponding to the request.
优选的,该代理框架服务方法,其中,所述应用程序的请求及相应的所述执行参数通过设置于所述本地代理单元中的一远程管理模块发送至相应的所述远程执行单元;以及通过所述远程管理模块提供 所述远程执行单元与所述本地代理单元之间的连接状态,以包括在所述系统配置信息中。Preferably, the proxy framework service method, wherein the request of the application and the corresponding execution parameter are sent to a corresponding remote execution unit by a remote management module disposed in the local proxy unit; The remote management module provides a connection status between the remote execution unit and the home agent unit to be included in the system configuration information.
优选的,该代理框架服务方法,其中,所述步骤S2a中,当所述本地代理单元通过所述通信单元发送所述请求时,采用所述远程管理模块于所述通信单元中形成一代理客户端进程,以所述本地代理单元与相应的所述远程执行单元之间的连接。Preferably, the proxy framework service method, wherein, in the step S2a, when the local proxy unit sends the request by using the communication unit, the remote management module is used to form a proxy client in the communication unit. The end process, the connection between the local proxy unit and the corresponding remote execution unit.
优选的,该代理框架服务方法,其中,所述本地代理单元通过所述通信单元发送的所述请求及相应的所述执行参数,被转换成所述远程服务端可接受的格式并被所述远程服务端接收;Preferably, the proxy framework service method, wherein the request sent by the local proxy unit by the communication unit and the corresponding execution parameter are converted into a format acceptable to the remote server and described by Remote server receiving;
所述远程服务端通过所述通信单元发送的所述执行结果,被转换成所述本地代理单元可接受的格式并被所述本地代理单元接收。The execution result sent by the remote server through the communication unit is converted into a format acceptable by the home agent unit and received by the home agent unit.
优选的,该代理框架服务方法,其中,当所述本地代理单元与所述远程服务端通过所述通信单元远程通信时:Preferably, the proxy framework service method, wherein when the home agent unit and the remote server communicate remotely through the communication unit:
监测所述本地代理单元与所述远程执行单元之间的连接状态;和/或Monitoring a connection status between the local agent unit and the remote execution unit; and/or
接收所述远程执行单元的注册请求,并根据所述注册请求将对应的所述远程执行单元注册至所述本地代理单元。Receiving a registration request of the remote execution unit, and registering the corresponding remote execution unit to the local proxy unit according to the registration request.
优选的,该代理框架服务方法,其中,于每个所述远程执行单元中设置相应的至少一个远程功能组件以及一宿主模块,每个所述远程功能组件用以执行预设的功能;Preferably, the proxy framework service method, wherein each of the remote execution units is provided with a corresponding at least one remote function component and a host module, each of the remote function components for performing a preset function;
所述步骤S2a中,所述远程执行单元接收所述请求,并选择相应的一个所述远程功能组件,以执行预定的功能并生成相应的所述执行结果;In the step S2a, the remote execution unit receives the request and selects a corresponding one of the remote function components to perform a predetermined function and generate a corresponding execution result;
采用所述宿主模块启动所述远程功能组件,并将所述请求转换成相应的所述远程功能组件可接受的指令,以所述指令控制所述远程功能组件执行预定的功能;以及Using the host module to launch the remote function component and converting the request into a corresponding instruction acceptable to the remote function component, with the instruction controlling the remote function component to perform a predetermined function;
将所述执行结果通过所述通信单元发送至所述本地代理单元;Transmitting the execution result to the local proxy unit by using the communication unit;
优选的,该代理框架服务方法,其中:Preferably, the proxy framework service method, wherein:
所述本地代理单元通过所述通信单元可控制地启动所述宿主模块;和/或 The home agent unit controllably launches the host module through the communication unit; and/or
当所述宿主模块被启动时,所述宿主模块向所述通信单元发送注册请求,以将所述宿主模块注册到所述本地代理单元。When the host module is launched, the host module sends a registration request to the communication unit to register the host module to the home agent unit.
优选的,该代理框架服务方法,其中,采用所述宿主模块检测所述本地代理单元的工作状态,并于所述本地代理单元停止工作时控制所述宿主模块退出运行。Preferably, the proxy framework service method, wherein the host module is used to detect an operating state of the local proxy unit, and the host module is controlled to exit when the local proxy unit stops working.
优选的,该代理框架服务方法,其中,于每个所述本地执行模块中设置至少一个本地功能组件,每个所述本地功能组件用以执行预设的功能;Preferably, the proxy framework service method, wherein at least one local function component is set in each of the local execution modules, each of the local function components is configured to perform a preset function;
于所述本地代理单元中设置一本地管理组件;Setting a local management component in the local proxy unit;
所述步骤S2b中,所述本地管理组件根据当前运行的所述应用程序的所述请求选择相应的一个所述本地执行模块,以控制相应的所述本地功能组件执行预定的功能并处理形成相应的所述执行结果。In the step S2b, the local management component selects a corresponding one of the local execution modules according to the request of the currently running application to control the corresponding local functional component to perform a predetermined function and process correspondingly The result of the execution.
优选的,该代理框架服务方法,其中,根据所述本地执行模块的相应的注册请求,将相应的所述本地功能组件注册到所述本地代理单元中。Preferably, the proxy framework service method, wherein the corresponding local function component is registered in the local proxy unit according to a corresponding registration request of the local execution module.
优选的,该代理框架服务方法,其中,所述远程执行单元与所述本地代理单元工作于不同的操作系统下;和/或Preferably, the proxy framework service method, wherein the remote execution unit and the local proxy unit operate under different operating systems; and/or
所述本地执行模块与所述本地代理单元工作于相同的操作系统下。The local execution module works with the local proxy unit under the same operating system.
上述技术方案的有益效果是:The beneficial effects of the above technical solutions are:
1)提供一种代理框架服务系统,解决现有的计算机无法便捷地利用跨平台的第三方组件处理事务的问题,且该代理框架服务系统部署方便、操作简单;1) Providing an agent framework service system, which solves the problem that an existing computer cannot conveniently utilize a cross-platform third-party component to process a transaction, and the agent framework service system is convenient to deploy and simple to operate;
2)提供一种基于上述代理框架服务系统的服务方法,于代理框架服务系统上实现代理服务管理。2) Providing a service method based on the above agent framework service system, and implementing agent service management on the agent framework service system.
附图说明DRAWINGS
图1是本发明的较佳的实施例中,一种代理框架服务系统的总体结构示意图;1 is a schematic diagram showing the overall structure of a proxy framework service system in a preferred embodiment of the present invention;
图2-4是本发明的较佳的实施例中,代理框架服务系统的分部结 构示意图;2-4 are partial junctions of a proxy framework service system in a preferred embodiment of the present invention Schematic diagram
图5-6是本发明的较佳的实施例中,一种代理框架服务方法的流程示意图。5-6 are schematic flowcharts of a proxy framework service method in a preferred embodiment of the present invention.
具体实施方式detailed description
下面结合附图和具体实施例对本发明作进一步说明,但不作为本发明的限定。The invention is further illustrated by the following figures and specific examples, but is not to be construed as limiting.
本发明的较佳的实施例中,提供一种包括本地组件的代理框架服务系统,其总体结构如图1所示,包括:In a preferred embodiment of the present invention, a proxy framework service system including a local component is provided. The overall structure is as shown in FIG. 1 and includes:
提供至少一个远程服务端1(图1中仅示出一个)。本发明的较佳的实施例中,每个远程服务端1中设置有用以执行预定功能的远程执行单元11。本发明的较佳的实施例中,于一个远程服务端1中可以设置一个对应的远程执行单元11。本发明的较佳的实施例中,可以设置多个远程服务端1,因此该系统中包括多个远程执行单元11,图1中仅示出一个。At least one remote server 1 (only one shown in Figure 1) is provided. In a preferred embodiment of the invention, a remote execution unit 11 is provided in each remote server 1 for performing predetermined functions. In a preferred embodiment of the present invention, a corresponding remote execution unit 11 can be provided in a remote server 1. In a preferred embodiment of the invention, a plurality of remote servers 1 can be provided, so that the system includes a plurality of remote execution units 11, only one of which is shown in FIG.
提供一通信单元2;Providing a communication unit 2;
提供一本地代理单元3。本发明的较佳的实施例中,本地代理单元3用以根据当前运行的应用程序的请求,选择对应的远程执行单元于远程执行请求,并获取执行结果后返回给应用程序。换言之,本发明的较佳的实施例中,本地代理单元3通过通信单元2与远程服务端1设置的远程执行单元11连接。A local proxy unit 3 is provided. In a preferred embodiment of the present invention, the local proxy unit 3 is configured to select a corresponding remote execution unit to execute the request remotely according to the request of the currently running application, and obtain the execution result and return it to the application. In other words, in the preferred embodiment of the present invention, the home agent unit 3 is connected to the remote execution unit 11 provided by the remote server 1 through the communication unit 2.
本发明的较佳的实施例中,上述本地代理单元3中还包括至少一个本地执行模块34。每个本地执行模块34用以执行预定的功能。对于本地执行模块34的构成及作用会在下文中详述,则本发明的较佳的实施例中,上述本地单利单元3还可以根据应用程序的请求,选择一个相应的本地执行模块34执行预设功能,以返回给应用程序相应的执行结果。In the preferred embodiment of the present invention, the local proxy unit 3 further includes at least one local execution module 34. Each local execution module 34 is configured to perform a predetermined function. For the configuration and function of the local execution module 34, which will be described in detail below, in the preferred embodiment of the present invention, the local single profit unit 3 may also select a corresponding local execution module 34 to execute the pre-process according to the request of the application. Set the function to return the corresponding execution result to the application.
本发明的较佳的实施例中,具体地,如图2所示,上述本地代理单元3中包括:In the preferred embodiment of the present invention, specifically, as shown in FIG. 2, the foregoing local proxy unit 3 includes:
接口模块31。本发明的较佳的实施例中,接口模块31用以连接 应用程序。即接口模块31与当前运行的应用程序之间实现数据传输。 Interface module 31. In a preferred embodiment of the present invention, the interface module 31 is used to connect application. That is, the interface module 31 implements data transmission between the currently running application.
具体地,本发明的较佳的实施例中,仍然如图2所示,上述接口模块31中包括:Specifically, in the preferred embodiment of the present invention, as shown in FIG. 2, the interface module 31 includes:
配置信息获取组件311。本发明的较佳的实施例中,配置信息获取组件311用于获取系统配置信息,并向当前运行的应用程序提供上述系统配置信息。本发明的一个较佳的实施例中,系统配置信息中可以包括本地代理单元3通过通信单元2与远程服务端1中相应的远程执行单元11之间的连接状态,和/或供当前运行的应用程序进行配置以适应本地代理单元应用平台的其他各项系统参数等。The configuration information acquisition component 311. In a preferred embodiment of the present invention, the configuration information obtaining component 311 is configured to obtain system configuration information and provide the system configuration information to the currently running application. In a preferred embodiment of the present invention, the system configuration information may include a connection state between the local agent unit 3 and the corresponding remote execution unit 11 in the remote server 1 through the communication unit 2, and/or for current operation. The application is configured to accommodate other system parameters of the local agent unit application platform, and the like.
指令执行组件312。本发明的较佳的实施例中,指令执行组件312用于接收应用程序的请求,及与请求对应的执行参数,并向应用程序发送执行结果。 Instruction execution component 312. In a preferred embodiment of the present invention, the instruction execution component 312 is configured to receive a request from an application, and an execution parameter corresponding to the request, and send an execution result to the application.
本发明的较佳的实施例中,所谓执行参数,是指应用程序请求相应的执行单元(远程执行单元或者本地执行模块)执行相应请求对应的实际的执行内容。例如,执行单元中包括的第三方组件为绘制分子结构图的组件,而当前运行的应用程序需要根据给定的分子式绘制相应的分子结构图,因此应用程序可以发出请求以调用相应的执行单元中的第三方组件,则上述执行参数中可以包括绘制分子结构图所依据的分子式等数据。In the preferred embodiment of the present invention, the so-called execution parameter refers to the application executing the corresponding execution unit (the remote execution unit or the local execution module) to execute the actual execution content corresponding to the corresponding request. For example, the third-party component included in the execution unit is a component for drawing a molecular structure diagram, and the currently running application needs to draw a corresponding molecular structure diagram according to a given molecular formula, so the application can make a request to call the corresponding execution unit. The third-party component, the above execution parameters may include data such as the molecular formula on which the molecular structure diagram is drawn.
本发明的较佳的实施例中,上述指令执行组件具有两个功能:一是根据应用程序提出的请求,向远程服务端1发送请求以及相应的执行参数;二是根据远程的相应的远程执行单元处理形成的执行结果,向应用程序返回该执行结果。In a preferred embodiment of the present invention, the instruction execution component has two functions: one is to send a request to the remote server 1 and corresponding execution parameters according to the request made by the application; the second is to perform remote execution according to the remote The unit processes the resulting execution result and returns the execution result to the application.
本发明的较佳的实施例中,具体地,仍然如图2所示,上述本地代理单元3中还包括:In the preferred embodiment of the present invention, specifically, as shown in FIG. 2, the foregoing local proxy unit 3 further includes:
远程管理模块32,连接接口模块31及通信单元2。本发明的较佳的实施例中,远程管理模块32用以将接口模块31获取的来自应用程序的请求及请求对应的执行参数通过通信单元2发送至对应的远程执行单元11,并将远程执行单元11的执行结果发送至接口模块31,以及提供远程执行单元11与本地代理单元3的连接状态至上述配置 信息获取组件311。本发明的较佳的实施例中,具体地,如图3所示,上述通信单元2中包括:The remote management module 32 connects the interface module 31 and the communication unit 2. In a preferred embodiment of the present invention, the remote management module 32 is configured to send the request from the application acquired by the interface module 31 and the execution parameter corresponding to the request to the corresponding remote execution unit 11 through the communication unit 2, and execute the remotely. The execution result of the unit 11 is sent to the interface module 31, and the connection state of the remote execution unit 11 and the local proxy unit 3 is provided to the above configuration. Information acquisition component 311. In the preferred embodiment of the present invention, specifically, as shown in FIG. 3, the communication unit 2 includes:
转换组件21。本发明的较佳的实施例中,转换组件21用于将本地代理单元3发出的请求转换为远程服务端1可接受的格式,发送至远程服务端1;以及,将远程服务端1产生的执行结果转换为本地代理单元3可接受的格式,发送至本地代理单元。换言之,本发明的较佳的实施例中,转换组件21用于在本地代理单元3与远程服务端1之间实现数据格式的转换,以便于本地代理单元3和远程服务端1接收到的数据格式均可被解析和处理。 Conversion component 21. In a preferred embodiment of the present invention, the conversion component 21 is configured to convert the request sent by the local proxy unit 3 into a format acceptable to the remote server 1 for transmission to the remote server 1; and to generate the remote server 1 The execution result is converted to a format acceptable to the local proxy unit 3 and sent to the local proxy unit. In other words, in the preferred embodiment of the present invention, the conversion component 21 is configured to implement data format conversion between the local proxy unit 3 and the remote server 1 to facilitate the data received by the local proxy unit 3 and the remote server 1. The format can be parsed and processed.
本发明的较佳的实施例中,上述通信单元2中还包括:In the preferred embodiment of the present invention, the communication unit 2 further includes:
监测组件22。本发明的较佳的实施例中,上述监测组件22用于监测本地代理单元3与远程执行单元11之间的连接状态; Monitoring component 22. In a preferred embodiment of the present invention, the monitoring component 22 is configured to monitor a connection state between the local agent unit 3 and the remote execution unit 11;
注册管理组件23。本发明的较佳的实施例中,注册管理组件23用于接收远程执行单元11的注册请求,并根据注册请求将对应的远程执行单元11注册至本地代理单元3。具体地,本发明的较佳的实施例中,上述注册管理组件23实际用于将成功与本地代理单元3连接的远程执行单元11的信息注册到本地代理单元3中,以将该连接状态信息加入到系统配置信息中,从而本地代理单元3可以通过向应用程序提供系统配置信息的方式告知应用程序此时可用的远程执行单元11及其相应的预设功能,以供应用程序参考。 Registration management component 23. In a preferred embodiment of the present invention, the registration management component 23 is configured to receive a registration request of the remote execution unit 11 and register the corresponding remote execution unit 11 to the local proxy unit 3 according to the registration request. Specifically, in a preferred embodiment of the present invention, the registration management component 23 is actually used to register information of the remote execution unit 11 successfully connected to the local proxy unit 3 into the local proxy unit 3 to associate the connection status information. It is added to the system configuration information, so that the local agent unit 3 can inform the remote execution unit 11 and its corresponding preset function available to the application at this time by providing the system configuration information to the application to supply the program reference.
本发明的较佳的实施例中,上述通信单元2通过套接字(Socket)通讯模式维持本地代理单元与远程执行单元之间的通信。In a preferred embodiment of the present invention, the communication unit 2 maintains communication between the local agent unit and the remote execution unit through a socket communication mode.
本发明的较佳的实施例中,上述通信单元2中还包括:In the preferred embodiment of the present invention, the communication unit 2 further includes:
至少一个代理客户端模块24(图3中仅示出一个),连接远程管理模块32。本发明的较佳的实施例中,于本地代理单元向远程执行单元发送请求时,远程管理模块启动相应的代理客户端模块。具体地,本发明的较佳的实施例中,上述代理客户端模块24用于维护上述本地代理单元3与相应的执行单元11之间的连接。At least one proxy client module 24 (only one shown in FIG. 3) is connected to the remote management module 32. In a preferred embodiment of the invention, the remote management module launches the corresponding proxy client module when the local proxy unit sends a request to the remote execution unit. Specifically, in the preferred embodiment of the present invention, the proxy client module 24 is configured to maintain a connection between the local proxy unit 3 and the corresponding execution unit 11.
本发明的较佳的实施例中,如图4所示,上述远程执行单元11中包括: In the preferred embodiment of the present invention, as shown in FIG. 4, the remote execution unit 11 includes:
至少一个远程功能组件111。本发明的较佳的实施例中,每个远程功能组件111用于根据请求执行预定的功能,并产生相应的执行结果。具体地,本发明的较佳的实施例中,远程执行单元11中实际起作用的是上述远程功能组件111,每个远程功能组件111适用于完成一项相应的功能。At least one remote function component 111. In a preferred embodiment of the invention, each remote function component 111 is operative to perform a predetermined function upon request and to generate a corresponding execution result. Specifically, in the preferred embodiment of the present invention, the remote function unit 111 actually functions in the remote function unit 111, and each of the remote function units 111 is adapted to perform a corresponding function.
宿主模块112,分别连接通信单元2及远程功能组件111。本发明的较佳的实施例中,上述宿主模块112用于启动远程功能组件111,并将通过通信单元2获取的请求转换为相应的远程功能组件111可接受的指令,并控制远程功能组件111根据对应的指令执行预定功能;以及,将远程功能组件111的执行结果通过通信单元发送至本地代理单元。具体地,本发明的较佳的实施例中,上述宿主模块112的作用在于对上述远程功能组件111进行控制,将请求转换成相应的指令,并根据指令控制相应的远程功能组件111处理相应的事务,并输出执行结果。The host module 112 is connected to the communication unit 2 and the remote function component 111, respectively. In a preferred embodiment of the present invention, the host module 112 is configured to activate the remote function component 111, convert the request acquired by the communication unit 2 into an instruction acceptable to the corresponding remote function component 111, and control the remote function component 111. The predetermined function is executed according to the corresponding instruction; and the execution result of the remote function component 111 is transmitted to the home agent unit through the communication unit. Specifically, in the preferred embodiment of the present invention, the function of the host module 112 is to control the remote function component 111, convert the request into a corresponding instruction, and control the corresponding remote function component 111 to process the corresponding according to the instruction. Transaction and output execution results.
因此,本发明的较佳的实施例中,本地的应用程序可以通过发出请求的方式请求远程功能组件执行预设的功能,从而调用相应的远程功能组件以处理并返回相应的执行结果。Therefore, in a preferred embodiment of the present invention, the local application can request the remote function component to execute the preset function by issuing a request, thereby calling the corresponding remote function component to process and return the corresponding execution result.
仍然以化学分子式为例。使用者想通过本地的应用程序,依照给定的化学分子式画出相应的分子结构图,但是画图的相关组件为第三方组件,且该第三方组件与本地的应用程序运行于不同的操作系统中。例如本地的应用程序运行于Windows操作系统中,而画分子结构图所需的第三方组件需要运行在Linux操作系统中。在这种情况下,可以采用本发明技术方案中所述的配置方式,将该第三方组件运行于远程的在Linux操作系统下工作的服务端中,采用本地代理单元3将应用程序的请求发送至相应的第三方组件(远程功能组件111),以请求相应的第三方组件执行预定功能并返回执行结果,可以解决现有技术中因第三方组件需要运行在与主操作系统不同的操作系统中而无法调用该第三方组件的问题。Still take the chemical formula as an example. The user wants to draw the corresponding molecular structure diagram according to the given chemical formula through the local application, but the related component of the drawing is a third-party component, and the third-party component runs in a different operating system with the local application. . For example, a local application runs on the Windows operating system, and the third-party components required to draw the molecular structure diagram need to run on the Linux operating system. In this case, the configuration method described in the technical solution of the present invention may be used to run the third-party component in a remote server working under the Linux operating system, and the local proxy unit 3 is used to send the application request. Go to the corresponding third-party component (remote function component 111) to request the corresponding third-party component to perform the predetermined function and return the execution result, which can solve the problem in the prior art that the third-party component needs to run in a different operating system from the main operating system. The problem with this third-party component could not be called.
进一步地,本发明的较佳的实施例中,仍然如图2所示,上述本地代理单元3还包括: Further, in the preferred embodiment of the present invention, as shown in FIG. 2, the foregoing local proxy unit 3 further includes:
启动控制模块33,通过通信单元2连接对应的宿主模块112(图2中仅示出启动控制模块33与通信单元2连接的部分)。本发明的较佳的实施例中,上述启动控制模块33用于可控制地启动对应的宿主模块112。具体地,本发明的一个较佳的实施例中,提供一种启动上述宿主模块112的实现方法:本地代理单元3被启动,随后通过其中包括的启动控制模块31,通过通信单元2发送控制指令至相应连接的远程执行单元11中的宿主模块112,以启动宿主模块112,从而启动该宿主模块112对应的远程功能组件111,通过注册管理组件23完成该远程执行单元11的注册过程。The startup control module 33 is connected to the corresponding host module 112 via the communication unit 2 (only the portion of the startup control module 33 that is connected to the communication unit 2 is shown in FIG. 2). In a preferred embodiment of the present invention, the startup control module 33 is configured to controllably launch the corresponding host module 112. Specifically, in a preferred embodiment of the present invention, an implementation method for starting the host module 112 is provided: the local proxy unit 3 is activated, and then the control command is sent through the communication unit 2 through the startup control module 31 included therein. The host module 112 in the corresponding remote execution unit 11 is activated to activate the host module 112, thereby launching the remote function component 111 corresponding to the host module 112, and the registration process of the remote execution unit 11 is completed by the registration management component 23.
本发明的较佳的实施例中,上述技术方案用于解决本地代理单元3异常关闭或者异常重启的情形。若不具有上述启动控制模块31,则当本地代理单元3异常关闭或者异常重启时,设置于远程执行单元11中的相应的远程功能组件111并不会相应关闭或重启,则不会重新向本地代理单元3发送注册请求以完成注册,因此在相应的系统配置信息中也会缺失相关信息。因此在本地代理单元3中设置相应的启动控制模块31,以解决上述问题。换言之,在本地代理单元3中设置相应的启动控制模块31,可以将本地代理单元3的启动与关闭和相应的远程功能组件111的启动与关闭进行同步,从而避免上述问题的发生。In the preferred embodiment of the present invention, the foregoing technical solution is used to solve the situation that the local proxy unit 3 is abnormally shut down or abnormally restarted. If the above-mentioned startup control module 31 is not provided, when the local proxy unit 3 is abnormally shut down or abnormally restarted, the corresponding remote function component 111 set in the remote execution unit 11 will not be shut down or restarted accordingly, and will not be re-localized. The proxy unit 3 sends a registration request to complete the registration, so the related information is also missing in the corresponding system configuration information. Therefore, a corresponding startup control module 31 is provided in the local agent unit 3 to solve the above problem. In other words, setting the corresponding startup control module 31 in the local proxy unit 3 can synchronize the startup and shutdown of the local proxy unit 3 with the activation and shutdown of the corresponding remote functional component 111, thereby avoiding the above problem.
本发明的较佳的实施例中,仍然如图4所示,上述宿主模块112中包括:In the preferred embodiment of the present invention, as shown in FIG. 4, the host module 112 includes:
注册组件1121,连接通信单元2。本发明的较佳的实施例中,注册组件1121用以于宿主模块112启动后向通信单元2发送注册请求,以将宿主模块注册到本地代理单元3。本发明的较佳的实施例中,如上文中所述,当宿主模块112重新启动后,其主动向本地代理单元3请求注册,以完成相应的注册过程。The registration component 1121 connects the communication unit 2. In a preferred embodiment of the present invention, the registration component 1121 is configured to send a registration request to the communication unit 2 after the host module 112 is started to register the host module to the local proxy unit 3. In a preferred embodiment of the present invention, as described above, when the host module 112 is restarted, it actively requests registration from the local proxy unit 3 to complete the corresponding registration process.
状态监测组件1122,用以检测本地代理单元的工作状态,并于本地代理单元停止工作时使宿主模块退出运行。The status monitoring component 1122 is configured to detect the working state of the local agent unit and to cause the host module to be out of operation when the local agent unit stops working.
本发明的较佳的实施例中,上述状态监测组件1122起到的作用为:每隔预设的时间向本地代理单元3发送一次“PING”请求,以 检查本地代理单元是否仍在工作,并在本地代理单元停止工作时(即“PING”请求失败)使宿主模块退出运行。这样可以避免“僵尸进程(Zombie Process)”的出现,即避免因与本地代理单元失去连接而无法获取请求的相应的宿主模块持续占用系统资源的情况发生。In a preferred embodiment of the present invention, the status monitoring component 1122 functions to send a "PING" request to the local proxy unit 3 every predetermined time to Checks if the local agent unit is still working and causes the host module to quit running when the local agent unit stops working (ie, the "PING" request fails). This avoids the "Zombie Process", which avoids the situation where the corresponding host module that cannot get the request due to a loss of connection with the local proxy unit continues to occupy system resources.
本发明的较佳的实施例中,由于本地代理单元与远程服务端之间是远程连接的,因此可以将远程执行单元11与本地代理单元3设置为工作于不同的操作系统下,从而解决跨平台使用第三方组件的问题。In a preferred embodiment of the present invention, since the local proxy unit and the remote server are remotely connected, the remote execution unit 11 and the local proxy unit 3 can be set to work under different operating systems, thereby solving the cross The platform uses third-party components.
本发明的较佳的实施例中,具体地,仍然如图2所示,上述本地执行模块34中包括至少一个本地功能组件341,本地功能组件341用以完成预设的功能。In the preferred embodiment of the present invention, specifically, as shown in FIG. 2, the local execution module 34 includes at least one local function component 341 for performing a preset function.
本发明的较佳的实施例中,上述本地代理单元3中进一步包括:In a preferred embodiment of the present invention, the foregoing local proxy unit 3 further includes:
本地管理组件35,分别连接接口模块31和本地执行模块34。本发明的较佳的实施例中,本地管理组件35用于根据应用程序的请求选择相应的本地功能组件,并控制被选择的本地功能组件执行预定功能;以及,将本地功能组件341的执行结果通过接口模块发送至应用程序。The local management component 35 connects the interface module 31 and the local execution module 34, respectively. In a preferred embodiment of the present invention, the local management component 35 is configured to select a corresponding local functional component according to the request of the application, and control the selected local functional component to perform a predetermined function; and, execute the result of the local functional component 341 Send to the application via the interface module.
具体地,本发明的较佳的实施例中,本地管理组件35在获得应用程序的请求后,根据请求提取相应的本地功能组件341的类型(例如对于C#开发平台而言,获取.NET CLR类型),随后选择相应的本地功能组件341(例如采用.NET CTS选择相应的本地功能组件341),随后将应用程序的请求(转换成相应的指令)发送给被选择的本地功能组件341,以处理形成相应的执行结果并返回给当前运行的应用程序。Specifically, in a preferred embodiment of the present invention, after obtaining the request of the application, the local management component 35 extracts the type of the corresponding local function component 341 according to the request (for example, for the C# development platform, the .NET CLR type is obtained. Then, the corresponding local function component 341 is selected (for example, using the .NET CTS to select the corresponding local function component 341), and then the application's request (converted into the corresponding instruction) is sent to the selected local function component 341 for processing. The corresponding execution result is formed and returned to the currently running application.
因此,本发明的较佳的实施例中,类似于上文中所述,使用者可以通过当前运行的应用程序提出相应请求,以调用处于本地的第三方组件(本地功能组件)执行预定功能,从而处理形成相应的执行结果并返回。Therefore, in a preferred embodiment of the present invention, similar to the above, the user can make a corresponding request through the currently running application to call a local third-party component (local functional component) to perform a predetermined function, thereby Processing forms the corresponding execution result and returns.
本发明的较佳的实施例中,上述本地执行模块34中还包括:In the preferred embodiment of the present invention, the local execution module 34 further includes:
本地注册组件342,分别连接本地功能组件341,用以根据本地 执行模块34的请求,将相应的本地功能组件342注册到本地代理单元中。本发明的较佳的实施例中,上述关联于本地功能组件342的本地注册信息同样被包括于系统配置信息中并发送给当前运行的应用程序,以告知当前可用的本地功能组件。The local registration component 342 is connected to the local function component 341 for local The request of the execution module 34 registers the corresponding local function component 342 into the local proxy unit. In a preferred embodiment of the invention, the local registration information associated with the local function component 342 is also included in the system configuration information and sent to the currently running application to inform the currently available local functional components.
上述过程与远程执行单元11的数据交互过程不同:The above process is different from the data interaction process of the remote execution unit 11:
针对调用远程执行单元11执行应用程序的相应请求的过程简化而言可以为:本地代理单元3根据应用程序的请求,针对相应的远程执行单元11启动设置于通信单元2中的一相应的代理客户端模块25,以维持本地代理单元3与相应的执行单元11之间的连接,以将请求发送至相应的远程执行单元11中的远程功能组件111进行处理,形成相应的执行结果并返回。远程执行单元11的连接状态由其中的宿主模块112向本地代理单元3注册得到;For the process simplification of invoking the remote execution unit 11 to execute the corresponding request of the application program, the local agent unit 3 may activate a corresponding proxy client set in the communication unit 2 for the corresponding remote execution unit 11 according to the request of the application program. The end module 25 maintains the connection between the local agent unit 3 and the corresponding execution unit 11 to send a request to the remote function component 111 in the corresponding remote execution unit 11 for processing, forming a corresponding execution result and returning. The connection status of the remote execution unit 11 is registered by the host module 112 to the local agent unit 3;
而相应地,针对调用本地执行模块34执行应用程序的相应请求的过程简化而言可以为:本地代理单元3根据应用程序的请求,查找相应的本地执行模块34的类型,并选择相应的本地执行模块34,以将请求发送至相应的本地执行模块34中的本地功能组件341进行处理,形成相应的执行结果并返回。Correspondingly, the process for invoking the local execution module 34 to execute the corresponding request of the application may be simplified: the local agent unit 3 searches for the type of the corresponding local execution module 34 according to the request of the application, and selects the corresponding local execution. The module 34 processes the request to the local function component 341 in the corresponding local execution module 34 to form a corresponding execution result and return.
上述两种处理过程的不同充分考虑到第三方组件设置于远程服务端和设置于本地两种情况下的不同处理过程,使得应用本发明技术方案能够同时兼顾上述两种情况。The difference between the above two processes is fully considered in the case that the third-party component is set in the remote server and the different processes are set in the local case, so that the application of the technical solution of the present invention can simultaneously take into consideration the above two situations.
综上所述,本发明技术方案中:In summary, in the technical solution of the present invention:
于远程服务端或者本地代理单元中搭建包括第三方组件的执行单元(远程执行单元或者本地执行模块),并通过本地代理单元获取当前运行的应用程序的请求以及相应的执行参数,通过通信单元转换成上述远程服务端可接受的数据格式的数据并发送至相应的远程执行单元,或者直接根据应用程序的请求选择相应的本地执行模块;Configuring an execution unit (a remote execution unit or a local execution module) including a third-party component in the remote server or the local proxy unit, and obtaining a request of the currently running application and corresponding execution parameters through the local proxy unit, and converting through the communication unit Data in a data format acceptable to the remote server is sent to the corresponding remote execution unit, or directly selects a corresponding local execution module according to the request of the application;
当选择的是远程执行单元时,被选择的该远程执行单元中相应的远程功能组件接受请求对应的指令并执行相应的预定功能,以形成相应的执行结果,并通过通信单元转换成上述本地代理单元可接受的数据格式的数据并发送至本地代理单元,本地代理单元将改执行结果返 回给应用程序使用;或者,When the remote execution unit is selected, the corresponding remote function component of the selected remote execution unit accepts the request corresponding instruction and performs a corresponding predetermined function to form a corresponding execution result, and converts to the above-mentioned home agent through the communication unit. The data in the data format acceptable to the unit is sent to the local proxy unit, and the local proxy unit will change the execution result. Return to the application; or,
当被选择的是本地执行模块时,该本地执行模块中相应的本地功能组件接受请求对应的指令并执行相应的预定功能,以形成相应的执行结果,本地代理单元直接将该执行结果返回给应用程序使用。When the local execution module is selected, the corresponding local function component in the local execution module accepts the corresponding instruction and executes the corresponding predetermined function to form a corresponding execution result, and the local agent unit directly returns the execution result to the application. The program is used.
上述技术方案能够较好地解决现有技术中无法跨平台进行第三方组件调用的问题,且本发明技术方案中的系统操作简单,部署方便。The foregoing technical solution can better solve the problem that the third-party component call cannot be performed across platforms in the prior art, and the system in the technical solution of the present invention is simple in operation and convenient to deploy.
本发明的较佳的实施例中,基于上文中所述的包括本地组件的代理框架服务系统,提供一种代理框架服务方法。In a preferred embodiment of the present invention, a proxy framework service method is provided based on the proxy framework service system including the local components described above.
本发明的较佳的实施例中,于该服务方法中,预先提供至少一个包括用于执行预定功能的远程执行单元的远程服务端;In a preferred embodiment of the present invention, in the service method, at least one remote server including a remote execution unit for performing a predetermined function is provided in advance;
预先提供一包括至少一个本地执行模块的本地代理单元。本发明的较佳的实施例中,本地执行模块用于执行预设的功能;A local proxy unit including at least one local execution module is provided in advance. In a preferred embodiment of the present invention, the local execution module is configured to perform a preset function;
以及在本地代理单元与远程服务端中的远程执行单元之间实现远程连接。And implementing a remote connection between the local proxy unit and the remote execution unit in the remote server.
本发明的较佳的实施例中,如图5所示,上述代理框架服务方法中,基于远程执行单元的服务方法,也就是请求远程的第三方组件执行相应功能的服务方法具体包括:In a preferred embodiment of the present invention, as shown in FIG. 5, in the proxy framework service method, the service method based on the remote execution unit, that is, the service method for requesting the remote third-party component to execute the corresponding function, specifically includes:
步骤S1a,本地代理单元获取当前运行的应用程序的请求;Step S1a, the local agent unit acquires a request of the currently running application;
本发明的较佳的实施例中,本地代理单元通过相应的接口向应用程序提供系统配置信息。本发明的一个较佳的实施例中,上述接口可以为一种软件开发工具包接口(Software Development Kit,SDK),用于提供给应用程序以及应用程序开放人员相应的系统配置数据,以便于应用程序能够成功与本地代理单元连接并进行工作。In a preferred embodiment of the invention, the home agent unit provides system configuration information to the application via a corresponding interface. In a preferred embodiment of the present invention, the interface may be a software development kit (SDK) for providing corresponding application configuration data to the application and the application opener for the application. The program can successfully connect to and work with the local agent unit.
本发明的较佳的实施例中,上述步骤S1a中,本地代理单元获取当前运行的应用程序的请求,以及与请求对应的执行参数。本发明的较佳的实施例中,所谓执行参数,如上文中所述,可以为应用程序请求执行的具体的内容。In a preferred embodiment of the present invention, in the above step S1a, the local agent unit acquires a request of the currently running application and an execution parameter corresponding to the request. In a preferred embodiment of the invention, the so-called execution parameters, as described above, may be specific to the application request execution.
本发明的较佳的实施例中,上述应用程序的请求及相应的执行参数通过设置于本地代理单元中的一远程管理模块发送至相应的远程执行单元;以及通过远程管理模块提供远程执行单元与本地代理单元 之间的连接状态,以包括在系统配置信息中。In a preferred embodiment of the present invention, the request of the application and the corresponding execution parameter are sent to a corresponding remote execution unit through a remote management module disposed in the local proxy unit; and the remote execution unit is provided through the remote management module. Local agent unit The connection status between them is included in the system configuration information.
步骤S2a,本地代理单元根据请求选择相应的远程执行单元,以在远程执行请求并形成相应的执行结果;Step S2a, the local proxy unit selects a corresponding remote execution unit according to the request to execute the request remotely and form a corresponding execution result;
本发明的较佳的实施例中,在本地代理单元与远程的远程执行单元之间进行通信的实现方法可以包括:本地代理单元通过通信单元发送的请求及相应的执行参数,被转换成远程服务端可接受的格式并被远程服务端接收;远程服务端通过通信单元发送的执行结果,被转换成本地代理单元可接受的格式并被本地代理单元接收。In a preferred embodiment of the present invention, the method for implementing communication between the local proxy unit and the remote remote execution unit may include: the local proxy unit is converted into a remote service by the request sent by the communication unit and the corresponding execution parameter. The acceptable format is received by the remote server; the execution result sent by the remote server through the communication unit is converted into a format acceptable to the local proxy unit and received by the local proxy unit.
换言之,本发明的较佳的实施例中,通信单元的作用在于,将本地代理单元与远程服务端之间进行通信的数据分别转换成接收方能够识别的数据格式,从而解决不同平台不同系统之间数据通信格式不匹配的问题。In other words, in a preferred embodiment of the present invention, the communication unit functions to convert the data communicated between the local proxy unit and the remote server to a data format that the receiver can recognize, thereby solving different systems of different platforms. The problem of mismatching data communication formats.
本发明的较佳的实施例中,当本地代理单元与远程服务端通过通信单元远程通信时,通信单元监测本地代理单元与远程执行单元之间的连接状态,并将连接状态设置在系统配置信息中,以供应用程序调用;In a preferred embodiment of the present invention, when the local agent unit and the remote server communicate remotely through the communication unit, the communication unit monitors the connection status between the local agent unit and the remote execution unit, and sets the connection status in the system configuration information. In the case of the application program;
和/或and / or
通信单元接收远程执行单元的注册请求,并根据注册请求将对应的远程执行单元注册至本地代理单元,以供本地代理单元通知应用程序当前可用的远程执行单元。The communication unit receives the registration request of the remote execution unit and registers the corresponding remote execution unit to the local agent unit according to the registration request, so that the local agent unit notifies the remote execution unit currently available to the application.
本发明的较佳的实施例中,于每个远程执行单元中设置相应的至少一个远程功能组件以及一宿主模块;In a preferred embodiment of the present invention, a corresponding at least one remote function component and a host module are disposed in each remote execution unit;
则本发明的较佳的实施例中,上述步骤S2a中,远程执行单元接收请求,并选择相应的一个远程功能组件,以执行预定的功能并生成相应的执行结果;In a preferred embodiment of the present invention, in the above step S2a, the remote execution unit receives the request and selects a corresponding remote function component to perform a predetermined function and generate a corresponding execution result;
采用宿主模块启动远程功能组件,并将请求转换成相应的远程功能组件可接受的指令,以指令控制远程功能组件执行预定的功能;以及Using a host module to launch a remote functional component and converting the request into an acceptable instruction for the corresponding remote functional component to command the remote functional component to perform the predetermined function;
将执行结果通过通信单元发送至本地代理单元。The execution result is sent to the local proxy unit through the communication unit.
本发明的较佳的实施例中,上述步骤S2a中,当本地代理单元通 过通信单元发送请求时,采用远程管理模块于通信单元中形成一代理客户端进程,以本地代理单元与相应的远程执行单元之间的连接。In a preferred embodiment of the present invention, in the above step S2a, when the local proxy unit is When the communication unit sends the request, the remote management module is used to form a proxy client process in the communication unit, and the connection between the local proxy unit and the corresponding remote execution unit.
步骤S3a,本地代理单元将远程获取的执行结果返回至应用程序,以供应用程序使用。In step S3a, the local agent unit returns the execution result of the remote acquisition to the application for use by the application.
本发明的较佳的实施例中,上述本地代理单元通过通信单元可控制地启动宿主模块;和/或In a preferred embodiment of the present invention, the home agent unit controllably starts the host module through the communication unit; and/or
当宿主模块被启动时,宿主模块向通信单元发送注册请求,以将宿主模块注册到本地代理单元。When the host module is launched, the host module sends a registration request to the communication unit to register the host module with the local agent unit.
相应地,本发明的较佳的实施例中,采用宿主模块检测本地代理单元的工作状态,并于本地代理单元停止工作时控制宿主模块退出运行。Correspondingly, in a preferred embodiment of the present invention, the host module is used to detect the working state of the local agent unit, and the host module is controlled to exit when the local agent unit stops working.
具体地,本发明的较佳的实施例中,如上文中所述,若不采用宿主模块进行重新启动和/或注册的控制,则当本地代理单元被关闭或者被重新启动时,远程的远程执行单元无法同步地关闭和/或重新启动,也就无法于本地代理单元被重新启动时重新进行注册,则在本地代理单元被重新启动后,其中包括的系统配置信息中就不包括在本地代理单元被重新启动前已经处于启动状态的远程执行单元,因此当前运行的应用程序也无法得知此时有哪些远程执行单元可用。基于对上述问题的考虑,本发明技术方案中,采用宿主模块实现本地代理单元与远程的远程执行单元之间启动和关闭的同步性,从而保证远程执行单元能够第一时间向本地代理单元进行注册。Specifically, in a preferred embodiment of the present invention, as described above, if the host module is not used for restarting and/or registration control, remote remote execution is performed when the local proxy unit is shut down or restarted. The unit cannot be closed and/or restarted synchronously, and it cannot be re-registered when the local agent unit is restarted. After the local agent unit is restarted, the system configuration information included in the unit is not included in the local agent unit. The remote execution unit that was already in the startup state before being restarted, so the currently running application cannot know which remote execution units are available at this time. Based on the consideration of the above problem, in the technical solution of the present invention, the host module is used to implement synchronization between the local proxy unit and the remote remote execution unit, thereby ensuring that the remote execution unit can register with the local proxy unit at the first time. .
本发明的较佳的实施例中,如上文所述,远程执行单元与本地代理单元工作于不同的操作系统下。In a preferred embodiment of the invention, as described above, the remote execution unit and the local agent unit operate under different operating systems.
本发明的较佳的实施例中,如图6所示,基于本地执行模块的服务方法,也就是请求本地的第三方组件执行相应功能的服务方法具体包括:In a preferred embodiment of the present invention, as shown in FIG. 6, the service method based on the local execution module, that is, the service method for requesting the local third-party component to execute the corresponding function, specifically includes:
步骤S1b,本地代理单元获取当前运行的应用程序的请求;Step S1b, the local agent unit acquires a request of the currently running application;
步骤S2b,本地代理单元根据请求选择相应的本地执行模块,以执行请求并形成相应的执行结果;Step S2b, the local proxy unit selects a corresponding local execution module according to the request to execute the request and form a corresponding execution result;
本发明的较佳的实施例中,如上文中所述,本地代理单元根据应 用程序的请求,选择相应的本地执行模块,并控制被选择的本地执行模块中相应的本地功能组件执行预设的功能,以处理得到相应的执行结果并返回。In a preferred embodiment of the present invention, as described above, the local proxy unit is With the request of the program, the corresponding local execution module is selected, and the corresponding local function component in the selected local execution module is controlled to execute the preset function to process the corresponding execution result and return.
本发明的较佳的实施例中,于上述本地执行模块中设置一本地管理组件。本发明的较佳的实施例中,上述本地管理组件根据当前运行的应用程序的请求选择相应的一个本地执行模块,以控制相应的本地功能组件执行预定的功能并处理形成相应的执行结果。In a preferred embodiment of the present invention, a local management component is provided in the local execution module. In a preferred embodiment of the present invention, the local management component selects a corresponding local execution module according to the request of the currently running application to control the corresponding local function component to perform a predetermined function and process to form a corresponding execution result.
本发明的较佳的实施例中,根据相应的注册请求,采用一本地注册组件将相应的本地功能组件注册到本地代理单元中。In a preferred embodiment of the present invention, the corresponding local function component is registered into the local proxy unit using a local registration component in accordance with the corresponding registration request.
步骤S3b,本地代理单元将由本地执行模块处理形成的执行结果返回至应用程序,以供应用程序使用。In step S3b, the local agent unit returns the execution result formed by the local execution module processing to the application for use by the application program.
本发明的较佳的实施例中,上述本地执行模块与本地代理单元工作于相同的操作系统下。In a preferred embodiment of the present invention, the local execution module and the local agent unit operate under the same operating system.
以上所述仅为本发明较佳的实施例,并非因此限制本发明的实施方式及保护范围,对于本领域技术人员而言,应当能够意识到凡运用本发明说明书及图示内容所作出的等同替换和显而易见的变化所得到的方案,均应当包含在本发明的保护范围。 The above is only a preferred embodiment of the present invention, and is not intended to limit the scope of the embodiments and the scope of the present invention, and those skilled in the art should be able to Alternatives and obvious variations are intended to be included in the scope of the invention.

Claims (25)

  1. 一种包括本地组件的代理框架服务系统,其特征在于,An agent framework service system including local components, characterized in that
    提供至少一个远程服务端,每个所述远程服务端中设置有用以执行预定功能的远程执行单元;Providing at least one remote server, each of which is provided with a remote execution unit for performing a predetermined function;
    提供至少一个用以执行预定功能的本地执行模块;Providing at least one local execution module for performing a predetermined function;
    提供一通信单元;Providing a communication unit;
    提供一包括所述本地执行模块的本地代理单元,用以根据当前运行的应用程序的请求,选择对应的所述远程执行单元或者所述本地执行模块执行所述请求,并获取执行结果后返回给所述应用程序;Providing a local proxy unit including the local execution module, configured to select a corresponding remote execution unit or the local execution module to execute the request according to a request of a currently running application, and obtain an execution result and then return to the The application;
    所述本地代理单元通过所述通信单元与所述远程服务端设置的所述远程执行单元连接。The local proxy unit is connected to the remote execution unit set by the remote server by the communication unit.
  2. 如权利要求1所述的代理框架服务系统,其特征在于,所述本地代理单元包括:The proxy framework service system of claim 1 wherein said local proxy unit comprises:
    接口模块,所述接口模块用以连接所述应用程序,所述接口模块包括:An interface module, the interface module is configured to connect to the application, and the interface module includes:
    配置信息获取组件,用以向所述应用程序提供系统配置信息;a configuration information acquisition component for providing system configuration information to the application;
    指令执行组件,用以接收所述应用程序的请求,及与所述请求对应的执行参数,并向所述应用程序发送执行结果。An instruction execution component is configured to receive a request of the application, an execution parameter corresponding to the request, and send an execution result to the application.
  3. 如权利要求2所述的代理框架服务系统,其特征在于,所述本地代理单元包括:The proxy framework service system of claim 2, wherein the local proxy unit comprises:
    远程管理模块,连接所述接口模块及所述通信单元,用以将所述接口模块获取的来自所述应用程序的请求及所述请求对应的执行参数通过所述通信单元发送至对应的所述远程执行单元,并将所述远程执行单元的执行结果发送至所述接口模块,以及提供所述远程执行单元与所述本地代理单元的连接状态至所述配置信息获取组件。a remote management module, configured to connect the interface module and the communication unit to send, by the communication unit, a request from the application and an execution parameter corresponding to the request by the interface module to the corresponding Remotely executing the unit, and transmitting an execution result of the remote execution unit to the interface module, and providing a connection status of the remote execution unit and the local agent unit to the configuration information acquisition component.
  4. 如权利要求3所述的代理框架服务系统,其特征在于,所述通信单元包括:The agent framework service system according to claim 3, wherein said communication unit comprises:
    至少一个代理客户端模块,连接所述远程管理模块;At least one proxy client module connecting the remote management module;
    于所述本地代理单元向所述远程执行单元发送所述请求时,所述远程管理模块启动相应的所述代理客户端模块,以维持所述本地代理单元与相应的所述远程执行单元之间的连接。 And when the local proxy unit sends the request to the remote execution unit, the remote management module starts a corresponding proxy client module to maintain a relationship between the local proxy unit and a corresponding remote execution unit Connection.
  5. 如权利要求1所述的代理框架服务系统,其特征在于,所述通信单元包括:The agent framework service system of claim 1 wherein said communication unit comprises:
    转换组件,用以将所述本地代理单元发出的请求转换为所述远程服务端可接受的格式,发送至所述远程服务端;以及,将所述远程服务端产生的执行结果转换为所述本地代理单元可接受的格式,发送至所述本地代理单元;和/或a converting component, configured to convert a request sent by the local proxy unit into a format acceptable to the remote server, to the remote server; and convert the execution result generated by the remote server into the a format acceptable to the local proxy unit, sent to the local proxy unit; and/or
    监测组件,用以监测所述本地代理单元与所述远程执行单元之间的连接状态;和/或Monitoring component for monitoring a connection status between the local agent unit and the remote execution unit; and/or
    注册管理组件,用以接收所述远程执行单元的注册请求,并根据所述注册请求将对应的所述远程执行单元注册至所述本地代理单元。And a registration management component, configured to receive a registration request of the remote execution unit, and register the corresponding remote execution unit to the local proxy unit according to the registration request.
  6. 如权利要求5所述的代理框架服务系统,其特征在于,所述通信单元通过套接字通讯模式维持所述本地代理单元与所述远程执行单元之间的通信。The proxy framework service system of claim 5 wherein said communication unit maintains communication between said home agent unit and said remote execution unit via a socket communication mode.
  7. 如权利要求1所述的代理框架服务系统,其特征在于,所述远程执行单元包括:The proxy framework service system of claim 1 wherein said remote execution unit comprises:
    至少一个远程功能组件,用以根据所述请求执行预定的功能,并产生相应的执行结果;At least one remote function component for performing a predetermined function according to the request and generating a corresponding execution result;
    宿主模块,分别连接所述通信单元及所述远程功能组件,用以启动所述远程功能组件,将通过所述通信单元获取的所述请求转换为相应的所述远程功能组件可接受的指令,并控制所述远程功能组件根据对应的所述指令执行预定功能;以及,将所述远程功能组件的所述执行结果通过所述通信单元发送至所述本地代理单元。a host module, which is respectively connected to the communication unit and the remote function component, for starting the remote function component, and converting the request obtained by the communication unit into a corresponding instruction acceptable by the remote function component, And controlling the remote function component to perform a predetermined function according to the corresponding instruction; and transmitting the execution result of the remote function component to the home agent unit through the communication unit.
  8. 如权利要求7所述的代理框架服务系统,其特征在于,所述本地代理单元包括:The proxy framework service system of claim 7, wherein the local proxy unit comprises:
    启动控制模块,通过所述通信单元连接对应的所述宿主模块,用以可控制地启动对应的所述宿主模块。And activating the control module, and connecting, by the communication unit, the corresponding host module, to controlably start the corresponding host module.
  9. 如权利要求7所述的代理框架服务系统,其特征在于,所述宿主模块包括:The proxy framework service system of claim 7, wherein the host module comprises:
    注册组件,连接所述通信单元,用以于所述宿主模块启动后向所述通信单元发送注册请求,以将所述宿主模块注册到所述本地代理单 元。a registration component, connected to the communication unit, to send a registration request to the communication unit after the host module is started to register the host module to the local agent list yuan.
  10. 如权利要求7所述的代理框架服务系统,其特征在于,所述宿主模块包括:The proxy framework service system of claim 7, wherein the host module comprises:
    状态监测组件,用以检测所述本地代理单元的工作状态,并于所述本地代理单元停止工作时使所述宿主模块退出运行。a status monitoring component for detecting an operating status of the local agent unit and causing the host module to be taken out of operation when the local agent unit stops working.
  11. 如权利要求2所述的代理框架服务系统,其特征在于,所述本地执行模块包括:The proxy framework service system of claim 2, wherein the local execution module comprises:
    至少一个本地功能组件,用以根据所述请求执行预定的功能,并产生相应的执行结果;At least one local function component for performing a predetermined function according to the request and generating a corresponding execution result;
    所述本地代理单元中包括:The local agent unit includes:
    本地管理组件,分别连接所述接口模块和所述本地执行模块,用于根据所述应用程序的所述请求选择相应的所述本地功能组件,并控制被选择的所述本地功能组件执行预定功能;以及,将所述本地功能组件的所述执行结果通过所述接口模块发送至所述应用程序。a local management component, respectively connected to the interface module and the local execution module, configured to select a corresponding local functional component according to the request of the application, and control the selected local functional component to perform a predetermined function And, transmitting the execution result of the local function component to the application through the interface module.
  12. 如权利要求11所述的代理框架服务系统,其特征在于,所述本地执行模块中还包括:The proxy framework service system of claim 11, wherein the local execution module further comprises:
    本地注册组件,分别连接所述本地功能组件,用以根据所述本地执行模块的请求,将相应的所述本地功能组件注册到所述本地代理单元中。The local registration component is respectively connected to the local function component for registering the corresponding local function component into the local proxy unit according to the request of the local execution module.
  13. 如权利要求1-12中任一所述的代理框架服务系统,其特征在于,所述远程执行单元与所述本地代理单元工作于不同的操作系统下;和/或The agent framework service system according to any one of claims 1 to 12, wherein said remote execution unit and said local agent unit operate under different operating systems; and/or
    所述本地执行模块与所述本地代理单元工作于相同的操作系统下。The local execution module works with the local proxy unit under the same operating system.
  14. 一种包括本地组件的代理框架服务方法,其特征在于,包括:A proxy framework service method including a local component, comprising:
    提供至少一个包括用于执行预定功能的远程执行单元的远程服务端;Providing at least one remote server including a remote execution unit for performing a predetermined function;
    提供一包括本地执行模块的本地代理单元;Providing a local proxy unit including a local execution module;
    在所述本地代理单元与所述远程服务端中的所述远程执行单元之间实现远程连接; Implementing a remote connection between the home agent unit and the remote execution unit in the remote server;
    所述代理框架服务方法中,基于所述远程执行单元的服务方法具体包括:In the proxy framework service method, the service method based on the remote execution unit specifically includes:
    步骤S1a,所述本地代理单元获取当前运行的应用程序的请求;Step S1a, the local proxy unit acquires a request of the currently running application;
    步骤S2a,所述本地代理单元根据所述请求选择相应的所述远程执行单元,以在远程执行所述请求并形成相应的执行结果;Step S2a, the local proxy unit selects the corresponding remote execution unit according to the request, to execute the request remotely and form a corresponding execution result;
    步骤S3a,所述本地代理单元将由所述远程执行单元处理形成的所述执行结果返回至所述应用程序,以供所述应用程序使用;Step S3a, the local agent unit returns the execution result formed by the remote execution unit processing to the application for use by the application;
    所述代理服务方法中,基于所述本地执行模块的服务方法具体包括:In the proxy service method, the service method based on the local execution module specifically includes:
    步骤S1b,所述本地代理单元获取当前运行的应用程序的请求;Step S1b, the local agent unit acquires a request of the currently running application;
    步骤S2b,所述本地代理单元根据所述请求选择相应的所述本地执行模块,以执行所述请求并形成相应的执行结果;Step S2b, the local proxy unit selects the corresponding local execution module according to the request, to execute the request and form a corresponding execution result;
    步骤S3b,所述本地代理单元将由所述本地执行模块处理形成的所述执行结果返回至所述应用程序,以供所述应用程序使用。Step S3b, the local agent unit returns the execution result formed by the local execution module processing to the application for use by the application.
  15. 如权利要求14所述的代理框架服务方法,其特征在于,所述本地代理单元通过相应的接口向所述应用程序提供系统配置信息;The proxy framework service method according to claim 14, wherein the local proxy unit provides system configuration information to the application through a corresponding interface;
    所述步骤S1a中,所述本地代理单元通过所述接口获取当前运行的所述应用程序的所述请求,以及与所述请求对应的执行参数。In the step S1a, the local proxy unit acquires the request of the currently running application by the interface, and an execution parameter corresponding to the request.
  16. 如权利要求15所述的代理框架服务方法,其特征在于,所述应用程序的请求及相应的所述执行参数通过设置于所述本地代理单元中的一远程管理模块发送至相应的所述远程执行单元;以及通过所述远程管理模块提供所述远程执行单元与所述本地代理单元之间的连接状态,以包括在所述系统配置信息中。The proxy framework service method according to claim 15, wherein the request of the application and the corresponding execution parameter are sent to a corresponding remote location by a remote management module disposed in the local proxy unit. An execution unit; and providing, by the remote management module, a connection status between the remote execution unit and the local agent unit to be included in the system configuration information.
  17. 如权利要求16所述的代理框架服务方法,其特征在于,所述步骤S2a中,当所述本地代理单元通过所述通信单元发送所述请求时,采用所述远程管理模块于所述通信单元中形成一代理客户端进程,以所述本地代理单元与相应的所述远程执行单元之间的连接。The proxy framework service method according to claim 16, wherein in the step S2a, when the local proxy unit sends the request through the communication unit, the remote management module is used in the communication unit Forming a proxy client process, the connection between the local proxy unit and the corresponding remote execution unit.
  18. 如权利要求14所述的代理框架服务方法,其特征在于,所述本地代理单元通过所述通信单元发送的所述请求及相应的所述执行参数,被转换成所述远程服务端可接受的格式并被所述远程服务端 接收;The proxy framework service method according to claim 14, wherein said request by said local proxy unit by said communication unit and said corresponding execution parameter are converted to be acceptable to said remote server Format and by the remote server receive;
    所述远程服务端通过所述通信单元发送的所述执行结果,被转换成所述本地代理单元可接受的格式并被所述本地代理单元接收。The execution result sent by the remote server through the communication unit is converted into a format acceptable by the home agent unit and received by the home agent unit.
  19. 如权利要求14所述的代理框架服务方法,其特征在于,当所述本地代理单元与所述远程服务端通过所述通信单元远程通信时:The proxy framework service method according to claim 14, wherein when said home agent unit and said remote server communicate remotely through said communication unit:
    监测所述本地代理单元与所述远程执行单元之间的连接状态;和/或Monitoring a connection status between the local agent unit and the remote execution unit; and/or
    接收所述远程执行单元的注册请求,并根据所述注册请求将对应的所述远程执行单元注册至所述本地代理单元。Receiving a registration request of the remote execution unit, and registering the corresponding remote execution unit to the local proxy unit according to the registration request.
  20. 如权利要求14所述的代理框架服务方法,其特征在于,于每个所述远程执行单元中设置相应的至少一个远程功能组件以及一宿主模块,每个所述远程功能组件用以执行预设的功能;The proxy framework service method according to claim 14, wherein each of said remote execution units is provided with a corresponding at least one remote function component and a host module, each of said remote function components for executing a preset Function
    所述步骤S2a中,所述远程执行单元接收所述请求,并选择相应的一个所述远程功能组件,以执行预定的功能并生成相应的所述执行结果;In the step S2a, the remote execution unit receives the request and selects a corresponding one of the remote function components to perform a predetermined function and generate a corresponding execution result;
    采用所述宿主模块启动所述远程功能组件,并将所述请求转换成相应的所述远程功能组件可接受的指令,以所述指令控制所述远程功能组件执行预定的功能;以及Using the host module to launch the remote function component and converting the request into a corresponding instruction acceptable to the remote function component, with the instruction controlling the remote function component to perform a predetermined function;
    将所述执行结果通过所述通信单元发送至所述本地代理单元;Transmitting the execution result to the local proxy unit by using the communication unit;
  21. 如权利要求20所述的代理框架服务方法,其特征在于:The proxy framework service method according to claim 20, wherein:
    所述本地代理单元通过所述通信单元可控制地启动所述宿主模块;和/或The home agent unit controllably launches the host module through the communication unit; and/or
    当所述宿主模块被启动时,所述宿主模块向所述通信单元发送注册请求,以将所述宿主模块注册到所述本地代理单元。When the host module is launched, the host module sends a registration request to the communication unit to register the host module to the home agent unit.
  22. 如权利要求20所述的代理框架服务方法,其特征在于,采用所述宿主模块检测所述本地代理单元的工作状态,并于所述本地代理单元停止工作时控制所述宿主模块退出运行。The proxy framework service method according to claim 20, wherein the host module is used to detect an operating state of the local proxy unit, and the host module is controlled to exit when the local proxy unit stops working.
  23. 如权利要求14所述的代理框架服务方法,其特征在于,于每个所述本地执行模块中设置至少一个本地功能组件,每个所述本地功能组件用以执行预设的功能; The proxy framework service method according to claim 14, wherein at least one local function component is disposed in each of the local execution modules, and each of the local function components is configured to execute a preset function;
    于所述本地代理单元中设置一本地管理组件;Setting a local management component in the local proxy unit;
    所述步骤S2b中,所述本地管理组件根据当前运行的所述应用程序的所述请求选择相应的一个所述本地执行模块,以控制相应的所述本地功能组件执行预定的功能并处理形成相应的所述执行结果。In the step S2b, the local management component selects a corresponding one of the local execution modules according to the request of the currently running application to control the corresponding local functional component to perform a predetermined function and process correspondingly The result of the execution.
  24. 如权利要求23所述的代理框架服务方法,其特征在于,根据所述本地执行模块的相应的注册请求,将相应的所述本地功能组件注册到所述本地代理单元中。The proxy framework service method according to claim 23, wherein the corresponding local function component is registered in the local proxy unit according to a corresponding registration request of the local execution module.
  25. 如权利要求14-24中任意一项所述的代理框架服务方法,其特征在于,所述远程执行单元与所述本地代理单元工作于不同的操作系统下;和/或The proxy framework service method according to any one of claims 14 to 24, wherein the remote execution unit and the local proxy unit operate under different operating systems; and/or
    所述本地执行模块与所述本地代理单元工作于相同的操作系统下。 The local execution module works with the local proxy unit under the same operating system.
PCT/CN2016/076948 2015-04-23 2016-03-22 Proxy framework service system comprising local assembly, and method WO2016169375A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510199127.5 2015-04-23
CN201510199127.5A CN106161409A (en) 2015-04-23 2015-04-23 A kind of agent framework service system including local component and method

Publications (1)

Publication Number Publication Date
WO2016169375A1 true WO2016169375A1 (en) 2016-10-27

Family

ID=57143715

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/076948 WO2016169375A1 (en) 2015-04-23 2016-03-22 Proxy framework service system comprising local assembly, and method

Country Status (2)

Country Link
CN (1) CN106161409A (en)
WO (1) WO2016169375A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111064588B (en) * 2018-10-16 2022-12-02 上海欣诺通信技术股份有限公司 Message processing method, system, device and storage medium
CN112445607B (en) * 2019-09-03 2024-03-08 腾讯科技(深圳)有限公司 Method and device for executing method function by application program
CN111010380A (en) * 2019-12-06 2020-04-14 杭州视洞科技有限公司 Cross-regional service integration scheme
CN113672403B (en) * 2021-07-30 2024-03-29 北京数码大方科技股份有限公司 Interface calling method and device in information system and management information system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631033A (en) * 2008-07-14 2010-01-20 中兴通讯股份有限公司 Method, system, server and client for calling remote component
US20100106804A1 (en) * 2008-10-28 2010-04-29 International Business Machines Corporation System and method for processing local files using remote applications
US20110238722A1 (en) * 2010-03-29 2011-09-29 The Aerospace Corporation Object Distributed Computer Processing System and Method
CN102629198A (en) * 2012-02-29 2012-08-08 北京大学 On-demand remote execution method of computational logic in software application
CN104142856A (en) * 2013-05-07 2014-11-12 华为技术有限公司 Service program call method, service program call system and intelligent equipment thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534316A (en) * 2008-03-13 2009-09-16 洪发生 Remote service system
CN103425517B (en) * 2012-05-14 2017-03-29 中兴通讯股份有限公司 The method of extended software function, upper layer software (applications) client and zoom out function server
CN102694866B (en) * 2012-06-01 2015-02-25 北京首钢自动化信息技术有限公司 Service request broker system in distributed network environment
CN103729292A (en) * 2013-12-30 2014-04-16 瑞达信息安全产业股份有限公司 Cross-host cross-platform remote command invoking method and system
CN203894744U (en) * 2013-12-30 2014-10-22 瑞达信息安全产业股份有限公司 Cross-host and cross-platform remote order calling system
CN104158906B (en) * 2014-08-29 2017-11-28 五八同城信息技术有限公司 A kind of server agent control system and control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631033A (en) * 2008-07-14 2010-01-20 中兴通讯股份有限公司 Method, system, server and client for calling remote component
US20100106804A1 (en) * 2008-10-28 2010-04-29 International Business Machines Corporation System and method for processing local files using remote applications
US20110238722A1 (en) * 2010-03-29 2011-09-29 The Aerospace Corporation Object Distributed Computer Processing System and Method
CN102629198A (en) * 2012-02-29 2012-08-08 北京大学 On-demand remote execution method of computational logic in software application
CN104142856A (en) * 2013-05-07 2014-11-12 华为技术有限公司 Service program call method, service program call system and intelligent equipment thereof

Also Published As

Publication number Publication date
CN106161409A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
WO2016169375A1 (en) Proxy framework service system comprising local assembly, and method
CN106855819A (en) A kind of method of automatic deployment operating system
WO2020001137A1 (en) Interactive method and system for bmc and server os
US8959534B2 (en) Enabling legacy applications to achieve end-to-end communication with corresponding legacy device services
US10326659B2 (en) Device and method for automatic switching of communication protocol of network devices based on user action
WO2018184594A1 (en) Method for remotely controlling device and remote control system
CN107769952B (en) Remote management system and method thereof
TWI498037B (en) Service information managing method and service information managing system
CN109246120B (en) Remote debugging method and system for embedded equipment
US20120191828A1 (en) Method and apparatus of performing remote command dispatching
WO2016169374A1 (en) Proxy framework service system and method
CN101499031A (en) Software bug feedback system and method
CN107277107B (en) Application debugging method, device and system
WO2016184315A1 (en) Service upgrading method and device based on network connection
JP3515839B2 (en) Communication system between computer systems
WO2022121492A1 (en) File transmission method and apparatus, computer device, and storage medium
CN103139036A (en) Electronic equipment and information processing method thereof
WO2015067052A1 (en) Method, device, and system for transmitting test command
CN110633163A (en) Development method for preventing application program from crashing based on multi-process server
CN106878379B (en) Start control method and device
CN111858433A (en) SSH (secure Shell) serial port redirection-based method, system, equipment and medium
CN104503777A (en) Centralized management system and method for operating systems of thin clients
CN112737760B (en) Method and system for duplex data communication based on pipeline communication technology
KR102497088B1 (en) Remote monitoring and control method and apparatus of embedded weapon system
CN109491826A (en) Remote hardware diagnostic system and diagnostic method

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: 16782523

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: 16782523

Country of ref document: EP

Kind code of ref document: A1