Graphical configuration method and system for gateway

Through graphical configuration methods and systems, the problems of command complexity and low configuration efficiency in the existing gateway configuration scheme are solved, and efficient gateway node object configuration and global D-Bus information display are realized.

CN119449600AActive Publication Date: 2025-02-14E-SURFING DIGITAL LIFE TECH CO LTD

Patent Information

Application Number
CN202411634013.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-14
Publication Date
2025-02-14
Estimated Expiration
2044-11-14

AI Technical Summary

Technical Problem

The existing gateway configuration solution has many system modules, complex command formats and variable parameters, which leads to users need to assemble D-Bus commands multiple times, and cannot query the system's global D-Bus information at one time, which reduces the connection to the gateway. Configuration efficiency of D-Bus node objects.

Method used

Provide a graphical configuration method and system. Through the graphical configuration platform, the configuration information is sent to the management platform, and the management platform assembles the configuration information according to the preset assembly format and sends it to the intelligent gateway. The intelligent gateway analyzes the assembly information according to the analysis results of the assembly information. Configure the node object and return the command result.

Benefits of technology

Through the graphical configuration platform, the configuration efficiency of smart gateway node objects is improved, and users can intuitively display the system's global D-Bus information, reducing the complexity and error rate in the configuration process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119449600A_ABST
    Figure CN119449600A_ABST
Patent Text Reader

Abstract

The invention discloses a graphical configuration method and system for a gateway, and the method comprises the steps: responding to an operation instruction through a graphical configuration platform, and transmitting corresponding configuration information to a management platform; the configuration information is assembled through the management platform according to a preset assembly format, and assembly information is generated and sent to the intelligent gateway; and configuring a node object specified by the assembly information through the intelligent gateway according to an analysis result of the assembly information, and returning a command result to the graphical configuration platform for display. Therefore, the node object configuration efficiency of the intelligent gateway is improved through the mode that the graphical configuration platform responds to the operation instruction input by the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of gateway configuration, and in particular to a graphical configuration method and system for a gateway. Background Art

[0002] With the rapid development of information technology, the application of networks in various fields is becoming more and more extensive. In modern communication systems, gateway configuration plays a vital role. As a connection point between different networks, the gateway is responsible for realizing functions such as conversion between different protocols, data routing and transmission control. In a complex network environment, accurate and efficient gateway configuration is the key to ensuring stable network operation and smooth data transmission.

[0003] At present, the intelligent home gateway system mainly adopts the common inter-process communication methods based on embedded Linux, such as pipelines (FIFO), signals, message queues, shared memory, sockets, etc. With the continuous development of home network services, the intelligent gateway introduces the D-Bus bus communication module to realize inter-process communication.

[0004] The service configuration of the gateway is usually achieved by configuring D-Bus commands. However, due to the large number of system modules deployed on the gateway, the complex command format and the changing parameters, users need to assemble D-Bus commands multiple times when configuring the device, and cannot query the global D-Bus information of the system at one time, which reduces the configuration efficiency of the D-Bus node objects associated with the gateway. Summary of the invention

[0005] The present invention provides a graphical configuration method and system for a gateway, which solves the technical problem that in the existing gateway configuration scheme, due to the large number of system modules deployed in the gateway, the complex command format and the changeable parameters, the user needs to assemble D-Bus commands multiple times when configuring the device, and the global D-Bus information of the system cannot be queried at one time, which reduces the configuration efficiency of the D-Bus node objects associated with the gateway.

[0006] The present invention provides a graphical configuration method for a gateway, comprising:

[0007] Respond to operation instructions through the graphical configuration platform and send corresponding configuration information to the management platform;

[0008] Assembling the configuration information according to a preset assembly format through the management platform, generating assembly information and sending it to the intelligent gateway;

[0009] The intelligent gateway configures the node object specified by the assembly information according to the parsing result of the assembly information and returns the command result to the graphical configuration platform for display.

[0010] Optionally, before responding to the operation instruction through the graphical configuration platform and sending the corresponding configuration information to the management platform, the method further includes:

[0011] Sending channel establishment information to the management platform through a graphical configuration platform;

[0012] Assembling the channel establishment information through the management platform, generating connection information and sending it to the intelligent gateway;

[0013] The connection information is parsed by the intelligent gateway, and a data mapping channel is established with the graphical configuration platform according to the parsing result.

[0014] Optionally, after completing the configuration of the node object, the method further includes:

[0015] Responding to the channel disconnection instruction through the graphical configuration platform, and sending channel disconnection information to the management platform;

[0016] Assembling the channel disconnection information through the management platform, generating disconnection information and sending it to the intelligent gateway;

[0017] The disconnection information is parsed by the intelligent gateway, and the data mapping channel between the intelligent gateway and the graphical configuration platform is disconnected according to the parsing result.

[0018] Optionally, the graphical configuration platform is provided with a visual interface; the step of responding to the operation instruction through the graphical configuration platform and sending the corresponding configuration information to the management platform includes:

[0019] Responding to the operation instructions on the visualization interface through the graphical configuration platform to generate a corresponding configuration request;

[0020] The configuration request is mapped via a graphical configuration platform to generate configuration information and forward it to a management platform.

[0021] Optionally, the visualization interface is divided into a node display area, a sub-node display area and a parameter display area; the generating a corresponding configuration request by responding to an operation instruction on the visualization interface through a graphical configuration platform includes:

[0022] Responding to the operation instruction in the node display area through the graphical configuration platform, locating the specified D-Bus node, and displaying the corresponding D-Bus sub-node in the sub-node display area;

[0023] Responding to the operation instruction of the D-Bus sub-node through the graphical configuration platform, and displaying a plurality of method call items corresponding to the D-Bus sub-node in the sub-node display area;

[0024] Responding to an operation instruction for any of the method call items through the graphical configuration platform, loading the method call item in the parameter display area, and displaying a parameter input box;

[0025] The graphical configuration platform responds to the input parameters of the parameter input box to generate a corresponding configuration request.

[0026] Optionally, the method further comprises:

[0027] When the graphical configuration platform receives a trigger of a query call item, it generates a node query request and sends it to the management platform;

[0028] When the intelligent gateway receives the node query request forwarded by the management platform, it returns the query information corresponding to the node query request to the graphical configuration platform for display;

[0029] The query call items include node configuration set query call items, node path query call items, single node configuration query call items and single node attribute query call items.

[0030] Optionally, configuring the node object specified by the assembly information according to the parsing result of the assembly information by the intelligent gateway and returning the command result to the graphical configuration platform includes:

[0031] The intelligent gateway calls a parsing tool to parse the assembly information and extract configuration parameters;

[0032] Creating a D-Bus command using the configuration parameters through the intelligent gateway and sending it to the node object specified by the assembly information;

[0033] When the intelligent gateway receives the command execution result of the node object, it returns the command result to the graphical configuration platform for display according to the command execution result.

[0034] The present invention also provides a graphical configuration system for a gateway, comprising a graphical configuration platform, a management platform and an intelligent gateway that are communicatively connected to each other;

[0035] The graphical configuration platform is used to respond to the operation instruction and send the configuration information corresponding to the operation instruction to the management platform;

[0036] The management platform is used to assemble the configuration information according to a preset assembly format, generate assembly information and send it to the intelligent gateway;

[0037] The intelligent gateway is used to configure the node object specified by the assembly information according to the parsing result of the assembly information and return the command result to the graphical configuration platform for display.

[0038] Optionally, the graphical configuration platform includes a request receiving module and a configuration mapping module, and is provided with a visual interface;

[0039] The request receiving module is used to respond to the operation instruction on the visual interface, generate a corresponding configuration request and send it to the configuration mapping module;

[0040] The configuration mapping module is used to perform configuration mapping on the configuration request, generate configuration information and forward it to the management platform.

[0041] Optionally, the intelligent gateway includes a gateway configuration module, and the gateway configuration module is specifically used to:

[0042] Calling a parsing tool to parse the assembly information and extract configuration parameters;

[0043] Creating a D-Bus command using the configuration parameters and sending it to the node object specified by the assembly information;

[0044] After receiving the command execution result of the node object, the command result is returned to the graphical configuration platform for display according to the command execution result.

[0045] It can be seen from the above technical solutions that the present invention has the following advantages:

[0046] The present invention responds to operation instructions through a graphical configuration platform and sends corresponding configuration information to a management platform; the management platform assembles the configuration information according to a preset assembly format, generates assembly information and sends it to an intelligent gateway; the intelligent gateway configures the node object specified by the assembly information according to the parsing result of the assembly information and returns the command result to the graphical configuration platform for display. Thus, the efficiency of node object configuration of the intelligent gateway is improved by the graphical configuration platform responding to the operation instructions input by the user. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0048] Figure 1 It is a D-Bus command configuration schematic diagram of the prior art;

[0049] Figure 2 is a schematic diagram of a visualization interface in an embodiment of the present invention;

[0050] Figure 3 A flowchart of a graphical configuration method for a gateway in an embodiment of the present invention;

[0051] Figure 4 A schematic diagram of the process of establishing / closing a data mapping channel and querying / configuring a D-Bus node in an embodiment of the present invention;

[0052] Figure 5 A flowchart of a graphical configuration method for a gateway in an embodiment of the present invention;

[0053] Figure 6 The figure is a structural block diagram of a graphical configuration system for a gateway in an embodiment of the present invention. DETAILED DESCRIPTION

[0054] In the prior art, usually a single D-Bus command is used to return a corresponding single result record, such as Figure 1 As shown, and because the configuration interface and configuration method of each module or application in the system are quite different, and the command parameters are also very different, when users configure the service, they need to combine the D-Bus object path, D-Bus interface name, method name and parameter type in the command. The command assembly is prone to failure, which can easily cause system misconfiguration. Users cannot fully display the configuration node status of the system at one time, and can only assemble multiple D-Bus commands for a certain D-Bus node for query, and can only query the relevant information of the node at one time, and cannot present the global D-Bus node information at one time.

[0055] To this end, in the embodiment of the present invention, a graphical configuration platform is provided to respond to operation instructions and display the system global D-Bus node information in real time. Users only need to click a button to display the system's D-Bus global information, without having to batch input hundreds of command lines for query. In addition, by selecting the configured D-Bus node, the system configuration update and query can be completed quickly, improving efficiency. Through the graphical configuration platform, the D-Bus node global configuration is presented in a tree format. Users can obtain all the properties and interface methods of the node by clicking on the corresponding node. Its visual interface is as follows: Figure 2 shown.

[0056] The embodiment of the present invention provides a graphical configuration method and system for a gateway, which is used to solve the technical problem that in the existing gateway configuration scheme, due to the large number of system modules deployed in the gateway, the command format is complex and the parameters are changeable, the user needs to assemble D-Bus commands multiple times when configuring the device, and the global D-Bus information of the system cannot be queried at one time, which reduces the configuration efficiency of the D-Bus node objects associated with the gateway.

[0057] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0058] See also Figure 3 , Figure 3 A flowchart of the steps of a graphical configuration method for a gateway provided by an embodiment of the present invention.

[0059] The present invention provides a graphical configuration method for a gateway, comprising:

[0060] Step 101, responding to the operation instruction through the graphical configuration platform, and sending the corresponding configuration information to the management platform;

[0061] Operation instructions refer to instructions generated by triggering actions such as clicking, inputting or sliding on the graphical configuration platform.

[0062] Configuration information refers to the parameters input by the user according to the D-Bus node and its corresponding method call item specified by the operation instruction, as well as the configuration content of the parameter mapping, such as connection parameters, method call permissions, or signal subscription information.

[0063] In an embodiment of the present invention, an operation instruction is generated by a user clicking, inputting, etc. on a graphical configuration platform, corresponding configuration information is generated with the content specified by the operation instruction, and the configuration information is sent to a management platform for further format conversion.

[0064] In an example of the present invention, a visualization interface is provided on the graphical configuration platform; step 101 may include the following sub-steps S11-S12:

[0065] S11, responding to the operation instructions on the visualization interface through the graphical configuration platform to generate a corresponding configuration request;

[0066] Furthermore, the visualization interface is divided into a node display area, a sub-node display area, and a parameter display area. S11 may include the following sub-steps:

[0067] Respond to the operation instructions in the node display area through the graphical configuration platform, locate the specified D-Bus node, and display the corresponding D-Bus sub-node in the sub-node display area;

[0068] Respond to the operation instructions of the D-Bus sub-node through the graphical configuration platform, and display multiple method call items corresponding to the D-Bus sub-node in the sub-node display area;

[0069] Respond to the operation instruction of any method call item through the graphical configuration platform, load the method call item in the parameter display area, and display the parameter input box;

[0070] The graphical configuration platform responds to the input parameters of the parameter input box and generates a corresponding configuration request.

[0071] like Figure 2 As shown, the visualization interface can be divided into a node display area, a sub-node display area, and a parameter display area. The graphical configuration platform responds to operation instructions in the node display area, such as clicking on a D-Bus node, and the corresponding D-Bus sub-node is displayed in the sub-node display area. The graphical configuration platform responds to operation instructions on any D-Bus sub-node, such as clicking on its directory expansion or directory collapse position, to display multiple method call items corresponding to the D-Bus sub-node in the sub-node display area, and responds to operation instructions on any method call item, such as clicking, to load the method call item in the parameter display area and display the parameter input box to which it belongs.

[0072] When the user enters the input parameter in the parameter input box, a mapping of the configuration request waiting for configuration information is generated according to the input parameter and the method call item. The parameter input box can be used to enter multiple input parameters, and the input parameters are the fields required for the method call item to run. The parameter display area can be divided into a parameter input box display sub-area on the left and a result display area on the right.

[0073] It should be noted that the method call items may include but are not limited to the following: the method {"RPCMethod":"SetPropertyValues"} is used to set the properties of a single D-Bus interface; the method {"RPCMethod":"CallMethod"} is used to call the method of a single D-Bus interface.

[0074] S12. Perform configuration mapping on the configuration request through the graphical configuration platform, generate configuration information and forward it to the management platform.

[0075] In this embodiment, after the graphical configuration platform generates a configuration request, its backend processing unit performs configuration mapping according to the input parameters and method call items in the configuration request, generates corresponding configuration information such as method call information and D-Bus instructions, and forwards it to the management platform for information assembly.

[0076] For each input parameter, a table query can be established to match the corresponding instruction. In the configuration mapping process, the corresponding instruction table is first retrieved according to the method call item, and then the corresponding instruction is matched according to the input parameter to generate configuration information.

[0077] In the embodiment of the present invention, a graphical configuration platform is provided to query a set of configuration objects related to a device. Through a graphical interface, the device can be queried and configured intuitively, thereby improving usage efficiency.

[0078] In one example of the present invention, before executing step 101, the method further includes the following steps:

[0079] Send channel establishment information to the management platform through the graphical configuration platform;

[0080] The channel establishment information is assembled through the management platform, connection information is generated and sent to the intelligent gateway;

[0081] The connection information is parsed through the intelligent gateway, and a data mapping channel is established between the graphical configuration platform according to the parsing results.

[0082] like Figure 4 As shown, in this embodiment, the configuration mapping module in the graphical configuration platform communicates with the gateway configuration module in the intelligent gateway via the management platform to establish a data mapping channel. Specifically, when the configuration mapping module receives any operation instruction, it automatically generates channel establishment information and sends it to the management platform, that is, through the method {"RPCMethod":"AppManipulate"}, it is used to open the D-Bus mapping data channel, establish a TCP connection with the server, and provide a data transmission channel for subsequent D-Bus node configuration operations.

[0083] In one example of the present invention, the method further comprises the following steps:

[0084] When the graphical configuration platform receives a trigger for a query call item, it generates a node query request and sends it to the management platform;

[0085] When the intelligent gateway receives the node query request forwarded by the management platform, it returns the query information corresponding to the node query request to the graphical configuration platform for display;

[0086] Among them, the query call items include node configuration set query call items, node path query call items, single node configuration query call items and single node attribute query call items.

[0087] like Figure 4As shown, when the graphical configuration platform receives a trigger for a node configuration set query call item, the D-Bus node configuration set is queried through the method {"RPCMethod":"Initialize"}, and a node query request is generated to the management platform for information assembly and then forwarded to the intelligent gateway. The intelligent gateway returns all corresponding D-Bus service names.

[0088] For the node path query call item, that is, the method {"RPCMethod":"GetServicePaths"}, it is used to obtain a single D-Bus service node and its sub-node path set, and the intelligent gateway returns the corresponding D-Bus service sub-set path.

[0089] For a single node configuration query call item, that is, the method {"RPCMethod":"Introspect"}, it is used to obtain a single D-Bus node configuration. The intelligent gateway returns the D-Bus node configuration.

[0090] For a single-node property query call item, that is, the method {"RPCMethod":"GetPropertyValues"}, which is used to obtain the properties of a single D-Bus interface, the intelligent gateway returns the properties of the D-Bus interface.

[0091] Step 102, assembling the configuration information according to a preset assembly format through the management platform, generating assembly information and sending it to the intelligent gateway;

[0092] After the management platform receives the configuration information, it parses the header, identifier or specific field of the message to determine whether it is valid configuration information, assembles the configuration information according to its built-in preset assembly format to generate the assembly information required by the smart gateway, and sends the assembly information to the smart gateway for further processing.

[0093] In the specific implementation, after receiving the configuration information and verifying its validity, the management platform parses the configuration information to understand its format requirements, extracts key information such as configuration parameters and node object addresses, and converts its content to meet the requirements of the node object associated with the smart gateway. Then, specific header information and tail check codes are added to complete the assembly of the configuration information, generate assembly information, and send it to the smart gateway in the form of message transparent transmission.

[0094] Step 103, according to the parsing result of the assembly information, the intelligent gateway configures the node object specified by the assembly information and returns the command result to the graphical configuration platform for display.

[0095] A node object refers to a D-Bus node, which can usually be an application, service, or system component. Each node has a unique name that is used to identify it in the bus. Nodes can communicate with other nodes by sending and receiving messages. For example, system nodes, application nodes, or temporary nodes.

[0096] After receiving the assembly information, the intelligent gateway identifies the format of the assembly information to determine the parsing tool required for the assembly information, uses the parsing tool to extract key information such as configuration parameters from each field of the assembly information, and creates corresponding D-Bus commands according to the configuration parameters. D-Bus commands usually include method calls, signal sending, etc., and the D-Bus commands are used as parsing results.

[0097] After the parsing is completed, the D-Bus command is issued to the node object specified by the assembly information to configure the node object. After receiving the return value of the node object, the command result is returned to the graphical configuration platform for display, thereby completing the remote configuration and management of the node object of the gateway device through the graphical configuration platform.

[0098] In an example of the present invention, step 103 may include the following sub-steps:

[0099] The intelligent gateway calls the parsing tool to parse the assembly information and extract the configuration parameters;

[0100] The intelligent gateway uses the configuration parameters to create a D-Bus command and sends it to the node object specified by the assembly information;

[0101] When the intelligent gateway receives the command execution result of the node object, it returns the command result to the graphical configuration platform for display according to the command execution result.

[0102] In an embodiment of the present invention, after the intelligent gateway receives the assembly information, it calls the corresponding parsing tool to perform data parsing according to the format of the assembly information, extracts the configuration parameters, and then uses the configuration parameters to create a D-Bus command and sends it to the node object specified by the assembly information. The node object is configured through the D-Bus command, and after receiving the return value of the node object, the command result is returned to the graphical configuration platform for display, thereby completing the remote configuration and management of the node object of the gateway device through the graphical configuration platform.

[0103] In an example of the present invention, after completing the configuration of the node object, that is, after executing step 103, the method further includes the following steps:

[0104] Respond to the channel disconnection command through the graphical configuration platform and send the channel disconnection information to the management platform;

[0105] The channel disconnection information is assembled through the management platform, disconnection information is generated and sent to the intelligent gateway;

[0106] The disconnection information is parsed by the intelligent gateway, and the data mapping channel between the graphical configuration platform is disconnected according to the parsing result.

[0107] like Figure 4 As shown, the disconnection of the data mapping channel is opposite to the establishment operation of the data mapping channel, which will not be described in detail here.

[0108] The channel disconnection information can be realized through the method {"RPCMethod":"Terminate"}, which is used to close the D-Bus mapping channel and clean up the data.

[0109] like Figure 5 As shown, Figure 5 The figure is a flow chart of a graphical configuration method for a gateway in an embodiment of the present invention.

[0110] In this embodiment, in order to further reflect the details of the data flow, the configuration mapping module in the graphical configuration platform and the gateway configuration module in the intelligent gateway are displayed. After the graphical configuration platform receives the operation instruction input from the outside, the device configuration is turned on and the configuration request is sent to the configuration mapping module. The configuration mapping module turns on the device D-Bus mapping according to the configuration request, generates configuration information and sends it to the management platform; the management platform assembles it and sends it to the gateway configuration module to turn on the device D-Bus mapping; the gateway configuration module returns prompt information of successful opening to the graphical configuration platform in turn, and establishes a data mapping channel with the graphical configuration platform; when the graphical configuration platform receives any command in the graphical command set, the corresponding configuration request is sent to the configuration mapping module, and the command mapping set, i.e., configuration information, is generated by the configuration mapping module and sent to the gateway configuration module via the management platform; after the node object is configured by the gateway configuration module, the command result is returned to the configuration mapping module via the management platform; the configuration mapping module outputs the command result graphic through the visual interface on the graphical configuration platform.

[0111] In the embodiment of the present invention, the graphical configuration platform responds to the operation instruction and sends the corresponding configuration information to the management platform; the management platform assembles the configuration information according to the preset assembly format, generates assembly information and sends it to the intelligent gateway; the intelligent gateway configures the node object specified by the assembly information according to the parsing result of the assembly information and returns the command result to the graphical configuration platform for display. Thus, the efficiency of node object configuration of the intelligent gateway is improved by the graphical configuration platform responding to the operation instruction input by the user.

[0112] See also Figure 6 , Figure 6A structural block diagram of a graphical configuration system for a gateway in an embodiment of the present invention is shown.

[0113] The embodiment of the present invention provides a graphical configuration system for a gateway, including a graphical configuration platform 601, a management platform 602 and an intelligent gateway 603 that are communicatively connected to each other;

[0114] The graphical configuration platform 601 is used to respond to the operation instruction and send the configuration information corresponding to the operation instruction to the management platform;

[0115] The management platform 602 is used to assemble the configuration information according to a preset assembly format, generate assembly information and send it to the intelligent gateway;

[0116] The intelligent gateway 603 is used to configure the node object specified by the assembly information according to the analysis result of the assembly information and return the command result to the graphical configuration platform for display.

[0117] Optionally, the graphical configuration platform 601 includes a request receiving module and a configuration mapping module, and is provided with a visual interface;

[0118] A request receiving module, used to respond to the operation instructions on the visual interface, generate a corresponding configuration request and send it to the configuration mapping module;

[0119] The configuration mapping module is used to perform configuration mapping on the configuration request, generate configuration information and forward it to the management platform.

[0120] Optionally, the intelligent gateway 603 includes a gateway configuration module, and the gateway configuration module is specifically used for:

[0121] Call the parsing tool to parse the assembly information and extract the configuration parameters;

[0122] Create a D-Bus command using configuration parameters and send it to the node object specified by the assembly information;

[0123] After receiving the command execution result of the node object, the command result is returned to the graphical configuration platform for display according to the command execution result.

[0124] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0125] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0126] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0127] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A graphical configuration method for a gateway, characterized in that: include: Respond to operation instructions through the graphical configuration platform and send corresponding configuration information to the management platform; Assembling the configuration information according to a preset assembly format through the management platform, generating assembly information and sending it to the intelligent gateway; The intelligent gateway configures the node object specified by the assembly information according to the parsing result of the assembly information and returns the command result to the graphical configuration platform for display.

2. The method according to claim 1, characterized in that Before responding to the operation instruction through the graphical configuration platform and sending the corresponding configuration information to the management platform, the method further includes: Sending channel establishment information to the management platform through a graphical configuration platform; Assembling the channel establishment information through the management platform, generating connection information and sending it to the intelligent gateway; The connection information is parsed by the intelligent gateway, and a data mapping channel is established with the graphical configuration platform according to the parsing result.

3. The method according to claim 1, characterized in that After completing the configuration of the node object, the method further includes: Responding to the channel disconnection instruction through the graphical configuration platform, and sending channel disconnection information to the management platform; Assembling the channel disconnection information through the management platform, generating disconnection information and sending it to the intelligent gateway; The disconnection information is parsed by the intelligent gateway, and the data mapping channel between the intelligent gateway and the graphical configuration platform is disconnected according to the parsing result.

4. The method according to claim 1, characterized in that The graphical configuration platform is provided with a visual interface; the graphical configuration platform responds to the operation instruction and sends the corresponding configuration information to the management platform, including: Responding to the operation instructions on the visualization interface through the graphical configuration platform to generate a corresponding configuration request; The configuration request is mapped via a graphical configuration platform to generate configuration information and forward it to a management platform.

5. The method according to claim 4, characterized in that The visualization interface is divided into a node display area, a sub-node display area and a parameter display area; The step of responding to the operation instruction on the visualization interface through the graphical configuration platform to generate a corresponding configuration request includes: Responding to the operation instruction in the node display area through the graphical configuration platform, locating the specified D-Bus node, and displaying the corresponding D-Bus sub-node in the sub-node display area; Responding to the operation instruction of the D-Bus sub-node through the graphical configuration platform, and displaying a plurality of method call items corresponding to the D-Bus sub-node in the sub-node display area; Responding to an operation instruction for any of the method call items through the graphical configuration platform, loading the method call item in the parameter display area, and displaying a parameter input box; The graphical configuration platform responds to the input parameters of the parameter input box to generate a corresponding configuration request.

6. The method according to claim 1, characterized in that The method further comprises: When the graphical configuration platform receives a trigger of a query call item, it generates a node query request and sends it to the management platform; When the intelligent gateway receives the node query request forwarded by the management platform, it returns the query information corresponding to the node query request to the graphical configuration platform for display; The query call items include node configuration set query call items, node path query call items, single node configuration query call items and single node attribute query call items.

7. The method according to claim 1, characterized in that The configuring the node object specified by the assembly information according to the parsing result of the assembly information by the intelligent gateway and returning the command result to the graphical configuration platform includes: The intelligent gateway calls a parsing tool to parse the assembly information and extract configuration parameters; Creating a D-Bus command by the intelligent gateway using the configuration parameters and sending the command to the node object specified by the assembly information; When the intelligent gateway receives the command execution result of the node object, it returns the command result to the graphical configuration platform for display according to the command execution result.

8. A graphical configuration system for a gateway, characterized in that: Includes a graphical configuration platform, management platform and intelligent gateway that communicate with each other; The graphical configuration platform is used to respond to the operation instruction and send the configuration information corresponding to the operation instruction to the management platform; The management platform is used to assemble the configuration information according to a preset assembly format, generate assembly information and send it to the intelligent gateway; The intelligent gateway is used to configure the node object specified by the assembly information according to the parsing result of the assembly information and return the command result to the graphical configuration platform for display.

9. The system according to claim 8, characterized in that The graphical configuration platform includes a request receiving module and a configuration mapping module, and is provided with a visual interface; The request receiving module is used to respond to the operation instruction on the visual interface, generate a corresponding configuration request and send it to the configuration mapping module; The configuration mapping module is used to perform configuration mapping on the configuration request, generate configuration information and forward it to the management platform.

10. The system according to claim 8, characterized in that The intelligent gateway includes a gateway configuration module, and the gateway configuration module is specifically used for: Calling a parsing tool to parse the assembly information and extract configuration parameters; Creating a D-Bus command using the configuration parameters and sending it to the node object specified by the assembly information; After receiving the command execution result of the node object, the command result is returned to the graphical configuration platform for display according to the command execution result.

Citation Information

Patent Citations

  • Device and method for realizing serial communication interface under linux environment

    CN102819430A

Cited By

  • Visual configuration method and system based on modular AI gateway

    CN120768757A