Equipment configuration method
By introducing the automated configuration method in the communication system, the main device automatically sends configuration requests from the device and query configuration tables, solving the problem of relying on a large number of manual configuration in existing technologies, and realized high -efficiency and automated main and consisting configurations.
Patent Information
- Application Number
- CN202411846134.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2025-01-21
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The prior art relies on a large amount of labor in the configuration of the master-slave equipment of the communication system, resulting in large workload and low processing efficiency.
By implementing the automated configuration method in the master device, when the device configuration operation is triggered, the master device automatically sends a configuration request to the slave device, obtains the device characteristic parameters of the slave device, and queries whether the pre-created master-slave device configuration table exists. Device characteristic parameters, if present, will be configured.
The automated configuration of the main and slave devices is achieved, reducing manual participation, reducing workload and cost, and improving the configuration efficiency.
Smart Images

Figure CN119341903A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network communication technology, and in particular to a device configuration method. Background Art
[0002] The remote weighing data acquisition method of the communication interface (RS-485 or 485) communication method is a serial communication protocol widely used in industrial automation, power communication, intelligent instruments and other fields. It adopts differential signal transmission, has the characteristics of long transmission distance, strong anti-interference ability, and support for multi-node connection. The master-slave configuration of 485 devices mainly involves the setting and communication process of the master and slave devices. In the 485 communication system, the master device is responsible for controlling the entire communication process, and the slave device is controlled by the master device, which can be one or more devices. This configuration allows multiple devices to be connected in an industrial environment to realize data transmission and control.
[0003] In the related art, when the master device and the slave device are configured, each slave device needs to register on the master device. After the registration is completed, the physical address of each slave device can be queried through the master device. The operation and maintenance personnel need to reach the physical address of each slave device, manually record the relevant information of the slave device, and configure the relevant information in the master device to achieve matching of the master and slave devices.
[0004] However, the configuration of master and slave devices in the communication system in the prior art relies on a large amount of manual work, resulting in a large workload for device configuration and low processing efficiency. Summary of the invention
[0005] The present application provides a device configuration method, thereby solving the problem in the prior art that the configuration of master and slave devices in a communication system relies on a large amount of manual work, the workload of device configuration is large, and the processing efficiency is low.
[0006] In a first aspect, the present application provides a device configuration method, applied to a master device, comprising:
[0007] In response to a triggering of a device configuration operation, sending a configuration request to at least one slave device, so that each slave device obtains a device characteristic parameter of the slave device according to the configuration request;
[0008] Obtaining a pre-created master-slave device configuration table, wherein the master-slave device configuration table includes device characteristic parameters of all slave devices pre-configured for the master device;
[0009] Receive device characteristic parameters sent by each slave device;
[0010] In the pre-created master-slave device configuration table, query whether there are device characteristic parameters of the slave device;
[0011] If the device characteristic parameters exist in the pre-created master-slave device configuration table, configuration is implemented with the slave device.
[0012] The present application provides a method for automatically and efficiently implementing master-slave device configuration. When a device configuration operation is triggered, the master device can automatically send a configuration request to at least one slave device to obtain device characteristic parameters of the slave device sent by the slave device. The master device obtains a pre-created master-slave device configuration table in the process. Based on the device characteristic parameters of the slave device sent by the slave device, the pre-created master-slave device configuration table can be queried to determine whether the slave device is a pre-configured slave device. If so, the configuration is implemented with the slave device, thereby realizing automatic configuration of the master-slave devices. The entire process does not require human intervention, thereby reducing human workload and improving the efficiency of master-slave device configuration.
[0013] Optionally, implementing configuration with the slave device includes: sending device characteristic parameters of the master device to the slave device so that the slave device saves the device characteristic parameters of the master device; and saving the device characteristic parameters of the slave device.
[0014] Among them, the present application realizes the configuration of the master and slave devices by having the master and slave devices save each other's device characteristic parameters. When the master and slave devices communicate with each other, communication can be achieved based on the saved device characteristic parameters.
[0015] Optionally, the configuration with the slave device includes: generating a unique code for the slave device; sending device characteristic parameters of the master device and the unique code to the slave device so that the slave device saves the device characteristic parameters of the master device and the unique code; and saving the unique code of the slave device.
[0016] Among them, after the master device in the present application determines the slave device to be configured, it can assign a unique code to the slave device. The unique code can serve as the device characteristic parameter of the slave device and is saved in both the master device and the slave device to implement the configuration of the master-slave devices. For the situation where the device characteristic parameters of the slave device occupy a large amount of memory, it can effectively improve resource utilization and improve the efficiency of communication between the master and slave devices.
[0017] Optionally, sending a configuration request to at least one slave device includes: detecting whether there is at least one slave device to be configured within a preset range; if so, sending a configuration request to the slave device.
[0018] Here, the master device of the present application can respond to the trigger of the device configuration operation and actively start automatic inspection registration to detect the slave devices within the preset range, thereby realizing the automatic detection of the slave devices by the master device and the automatic registration of the slave devices in the master device without manual participation, further improving the automation of the master-slave device configuration and improving the efficiency of the master-slave device configuration. In addition, the present application adopts the master device to automatically detect the slave device, which reduces the manual workload and reduces the cost compared with the traditional manual operation method.
[0019] Optionally, obtaining the pre-created master-slave device configuration table includes: in response to a master device matching request sent by a terminal device, sending device characteristic parameters of the master device to the terminal device, so that the terminal device determines the pre-created master-slave device configuration table corresponding to the master device according to the device characteristic parameters of the master device; and receiving the pre-created master-slave device configuration table sent by the terminal device.
[0020] Here, the master device of the present application can respond to the master device matching request sent by the terminal device and return its own device characteristic parameters to the terminal device. The terminal device determines the pre-created master-slave device configuration table corresponding to the master device based on the device characteristic parameters of the master device and sends it to the master device. The pre-created master-slave device configuration table includes the device characteristic parameters of all slave devices pre-configured for the master device. The master device can match the slave device through the master-slave device configuration table, eliminating the process of manual recording and re-entering, thereby improving the efficiency of master-slave device configuration and reducing configuration costs.
[0021] Optionally, the device configuration operation includes: a power-on operation of the master device; or a device configuration operation initiated by a user on a terminal device.
[0022] Among them, the present application can automatically start the configuration of the master and slave devices after the master device is powered on, and can also respond to the user's device configuration operation, thereby improving the flexibility of the master and slave device configuration, being able to adapt to a variety of user needs, and improving the user experience.
[0023] Optionally, if the device characteristic parameters exist in the pre-created master-slave device configuration table, after implementing the configuration with the slave device, it also includes: generating configuration information of the master device and all slave devices; sending the configuration information to the terminal device so that the terminal device displays the configuration information.
[0024] Here, the master device of the present application can generate configuration information of the master device and all slave devices after the configuration is completed, and send it to the terminal device to display the configuration information of the master device and the configured slave devices on the terminal device. The user can view it on the terminal device, which improves the user experience and facilitates the maintenance of the device.
[0025] In a second aspect, the present application provides a device configuration method, applied to a slave device, comprising:
[0026] Receive a configuration request sent by a master device, wherein the configuration request is generated by the master device in response to a trigger of a device configuration operation; obtain device characteristic parameters of the slave device according to the configuration request; send the device characteristic parameters of the slave device to the master device, so that the master device queries whether the device characteristic parameters of the slave device exist in a pre-created master-slave device configuration table, and if the device characteristic parameters exist in the pre-created master-slave device configuration table, implement configuration with the slave device; wherein the pre-created master-slave device configuration table is obtained by the master device after generating the configuration request, and the pre-created master-slave device configuration table includes the device characteristic parameters of all slave devices pre-configured for the master device.
[0027] The present application provides a device configuration method applied to a slave device. In response to a configuration request sent by a master device, the slave device can feed back its own device characteristic parameters to the master device, so that the master device determines whether to establish a configuration with the slave device based on the fed-back device characteristic parameters and a pre-created master-slave device configuration table. The configuration of the master and slave devices can be achieved without human intervention, thereby improving the efficiency of device configuration.
[0028] Optionally, after sending the device characteristic parameters of the slave device to the master device according to the configuration request, the method further includes: receiving the device characteristic parameters of the master device sent by the master device; and saving the device characteristic parameters of the master device.
[0029] Optionally, after sending the device characteristic parameters of the slave device to the master device according to the configuration request, the method further includes: receiving the device characteristic parameters and a unique code of the master device sent by the master device; and saving the device characteristic parameters and the unique code of the master device.
[0030] Here, the slave device of the present application can realize the configuration of the master-slave device by saving the device characteristic parameters between the master device and the slave device, and can also realize the configuration of the master-slave device by saving the unique code. If the device characteristic parameters of the slave device are large, the unique code can improve the resource utilization rate and improve the communication efficiency between the master and slave devices.
[0031] In a third aspect, the present application provides a device configuration apparatus, applied to a master device, comprising:
[0032] A configuration initiation module, configured to send a configuration request to at least one slave device in response to a trigger of a device configuration operation, so that each slave device obtains a device characteristic parameter of the slave device according to the configuration request;
[0033] A first acquisition module is used to acquire a pre-created master-slave device configuration table, wherein the master-slave device configuration table includes device characteristic parameters of all slave devices pre-configured for the master device;
[0034] A first receiving module, used for receiving device characteristic parameters sent by each slave device;
[0035] A query processing module, used for querying whether the device characteristic parameters of the slave device exist in the pre-created master-slave device configuration table;
[0036] The configuration processing module is used to implement configuration with the slave device if the device characteristic parameters exist in the pre-created master-slave device configuration table.
[0037] Optionally, the configuration processing module is specifically used to: send the device characteristic parameters of the master device to the slave device so that the slave device saves the device characteristic parameters of the master device; and save the device characteristic parameters of the slave device.
[0038] Optionally, the configuration processing module is also specifically used to: generate a unique code for the slave device; send the device characteristic parameters of the master device and the unique code to the slave device so that the slave device saves the device characteristic parameters of the master device and the unique code; and save the unique code of the slave device.
[0039] Optionally, the configuration initiating module is specifically used to: detect whether there is at least one slave device to be configured within a preset range; if so, send a configuration request to the slave device.
[0040] Optionally, the first acquisition module is specifically used to: in response to a master device matching request sent by a terminal device, send device characteristic parameters of the master device to the terminal device, so that the terminal device determines the pre-created master-slave device configuration table corresponding to the master device according to the device characteristic parameters of the master device; and receive the pre-created master-slave device configuration table sent by the terminal device.
[0041] Optionally, the device configuration operation includes: a power-on operation of the master device; or a device configuration operation initiated by a user on a terminal device.
[0042] Optionally, the configuration processing module is used to implement the configuration with the slave device if the device characteristic parameters exist in the pre-created master-slave device configuration table. The above-mentioned device also includes a configuration display module, which is used to: generate configuration information of the master device and all slave devices; send the configuration information to the terminal device so that the terminal device displays the configuration information.
[0043] In a fourth aspect, the present application provides a device configuration apparatus, applied to a slave device, including:
[0044] A second receiving module, configured to receive a configuration request sent by a master device, wherein the configuration request is generated by the master device in response to a trigger of a device configuration operation;
[0045] A second acquisition module is used to acquire the device characteristic parameters of the slave device according to the configuration request.
[0046] a sending module, configured to send the device characteristic parameters of the slave device to the master device, so that the master device queries whether the device characteristic parameters of the slave device exist in a pre-created master-slave device configuration table, and implements configuration with the slave device if the device characteristic parameters exist in the pre-created master-slave device configuration table;
[0047] The pre-created master-slave device configuration table is obtained by the master device after generating a configuration request, and the pre-created master-slave device configuration table includes device characteristic parameters of all slave devices pre-configured for the master device.
[0048] Optionally, after the sending module is used to send the device characteristic parameters of the slave device to the master device according to the configuration request, the above-mentioned device also includes a first configuration response module, which is used to: receive the device characteristic parameters of the master device sent by the master device; and save the device characteristic parameters of the master device.
[0049] Optionally, after the sending module is used to send the device characteristic parameters of the slave device to the master device according to the configuration request, the above-mentioned device also includes a second configuration response module, which is used to: receive the device characteristic parameters and unique code of the master device sent by the master device; and save the device characteristic parameters and the unique code of the master device.
[0050] The present application provides a device configuration method, wherein when the device configuration operation is triggered, the master device can automatically send a configuration request to at least one slave device to obtain the device characteristic parameters of the slave device sent by the slave device. The master device obtains a pre-created master-slave device configuration table in the process, and based on the device characteristic parameters of the slave device sent by the slave device, it can query the pre-created master-slave device configuration table to determine whether the slave device is a pre-configured slave device. If so, the configuration is implemented with the slave device, thereby realizing automatic configuration of the master-slave devices. The whole process does not require human intervention, which reduces the manual workload and improves the efficiency of master-slave device configuration. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0052] Figure 1 A schematic diagram of a device configuration system architecture provided in an embodiment of the present application;
[0053] Figure 2 A schematic diagram of a device configuration method provided in an embodiment of the present application;
[0054] Figure 3 A flowchart of another device configuration method provided in an embodiment of the present application;
[0055] Figure 4 A flowchart of another device configuration method provided in an embodiment of the present application;
[0056] Figure 5 A flowchart of another device configuration method provided in an embodiment of the present application;
[0057] Figure 6 A flowchart of another device configuration method provided in an embodiment of the present application;
[0058] Figure 7 A flowchart of another device configuration method provided in an embodiment of the present application;
[0059] Figure 8 A schematic diagram of the structure of a device configuration apparatus provided in an embodiment of the present application;
[0060] Fig. 9 A schematic diagram of the structure of a device configuration device provided in an embodiment of the present application.
[0061] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0062] Here, exemplary embodiments will be described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application.
[0063] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0064] First, the terms involved in this application are explained:
[0065] Characteristic value: The unique attribute of each device, that is, the unique identifier of the device.
[0066] Automatic matching: Automatically search for identical features and then automatically match and associate them.
[0067] Physical address: The address used for communication interaction output by actual dialing or keystrokes.
[0068] Master device: A device that actively sends and controls the communication of the entire system.
[0069] Slave device: A communication device that passively receives data and returns corresponding data based on the data.
[0070] In the 485 communication system, the master device is responsible for controlling the entire communication process, while the slave device is controlled by the master device. Only after the master device and the slave device are configured, can the master device control the communication of the slave device. The master-slave device configuration in the prior art often requires manual participation. The specific configuration method is: each slave device needs to register with the master device. After the registration is completed, the physical address of each slave device can be queried through the master device. The operation and maintenance personnel need to reach the physical address of each slave device, manually record the relevant information of the slave device, and configure the relevant information in the master device to achieve the matching of the master and slave devices. The prior art solution relies on a lot of manual labor in the configuration of the master and slave devices in the communication system, and the workload of equipment configuration is large and the processing efficiency is low.
[0071] In order to solve the above problems, the embodiments of the present application provide a device configuration method, apparatus, device and medium. When the device configuration operation is triggered, the master device automatically sends a configuration request to the slave device to obtain the device characteristic parameters of the slave device sent by the slave device. The master device obtains the pre-created master-slave device configuration table in the process. Based on the device characteristic parameters of the slave device sent by the slave device, the master device can query the pre-created master-slave device configuration table to determine whether the slave device is a pre-configured slave device. If so, the master device is configured with the slave device. The whole process does not require human intervention. The master device can automatically initiate the configuration and implement the configuration with the slave device, which reduces the manual workload and improves the configuration accuracy.
[0072] Optionally, based on the above solution, the equipment configuration cost is reduced by reducing the manual workload.
[0073] Optional, Figure 1 A schematic diagram of a device configuration system architecture provided in an embodiment of the present application. Figure 1 In the above architecture, the master device 101, the first slave device 102, the second slave device 103, the third slave device 104 and the terminal device 105.
[0074] The master device 101 may establish communication connections with the first slave device 102 , the second slave device 103 , and the third slave device 104 , respectively. The master device 101 may also establish a communication connection with the terminal device 105 .
[0075] The master device 101 is an RS485 device.
[0076] Optionally, the terminal device 105 may be an application (APP) client, such as a mobile terminal such as a user's mobile phone, personal computer, tablet computer, vehicle-mounted terminal, or a management terminal, server, etc. of a 485 device.
[0077] Understandably, Figure 1 The number of slave devices is only schematic and can be determined according to actual conditions. A master device can establish connections and configurations with any number of slave devices.
[0078] In one possible implementation, the APP client directly interacts with the master device and sends configuration data to the master device. The master device automatically matches the configuration based on the characteristic values and then displays it on the APP client configuration interface. The operation and maintenance installation personnel can view the automatically matched configured slave devices.
[0079] In a possible implementation, the master device is responsible for automatically registering the connected slave devices, and then automatically matching the configuration according to the configuration feature values sent by the APP client.
[0080] In a possible implementation, each slave device mainly interacts with the master device and passively responds to inquiries from the master device.
[0081] It is understandable that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the device configuration system architecture. In other feasible implementations of the present application, the above architecture may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently, which can be determined according to the actual application scenario and is not limited here. Figure 1 The components shown may be implemented in hardware, software, or a combination of software and hardware.
[0082] Optionally, the master device 101 , the first slave device 102 , the second slave device 103 , the third slave device 104 and the terminal device 105 may all include a processor.
[0083] It should be understood that the above-mentioned processor can be implemented by the processor reading instructions in the memory and executing the instructions, or it can be implemented by a chip circuit.
[0084] In addition, the network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0085] The technical solution of the present application is described in detail below in conjunction with specific embodiments:
[0086] Optionally, Figure 2 A schematic diagram of a device configuration method provided in an embodiment of the present application. The execution subject of the embodiment of the present application may be Figure 1 The main device 101 in the embodiment, or the processor of the main device 101, can be specifically executed according to the actual application scenario. Figure 2 As shown, the method comprises the following steps:
[0087] S201: In response to triggering of a device configuration operation, a configuration request is sent to at least one slave device, so that each slave device obtains a device characteristic parameter of the slave device according to the configuration request.
[0088] Optionally, the device characteristic parameter is a characteristic value.
[0089] Optionally, the characteristic value includes one or more of a device model, a serial number, a configuration parameter, or a software version, and may also be other parameters that can serve as a unique identifier of the device.
[0090] Optionally, the device configuration operation includes: a power-on operation of a master device; or a device configuration operation initiated by a user on a terminal device.
[0091] In a possible implementation, the master device and the slave device can install and wire the master and slave devices after the master and slave device configuration table is created. When the master and slave devices are installed and wired, the master device and the slave device can be powered on uniformly. In response to the power-on operation of the master device, the master device starts the configuration. After the master device is powered on, the configuration with the slave device is automatically started, thereby improving the efficiency of device configuration.
[0092] In one possible implementation, the main device can respond to device configuration operations initiated by the user. For example, an operation interface or operation buttons are set on the terminal device, and the user can trigger the main device to start configuration at any time through operations on the terminal device, thereby improving the flexibility of device configuration, meeting the needs of users in various scenarios, and improving user experience.
[0093] Among them, the embodiment of the present application can automatically start the configuration of the master and slave devices after the master device is powered on, and can also respond to the user's device configuration operation, thereby improving the flexibility of the master and slave device configuration, being able to adapt to a variety of user needs, and improving the user experience.
[0094] Optionally, sending a configuration request to at least one slave device includes: detecting whether there is at least one slave device to be configured within a preset range; if so, sending the configuration request to the slave device.
[0095] The preset range here can be determined according to actual conditions, and the embodiments of the present application do not impose any specific restrictions on this.
[0096] In one possible implementation, the master device of the embodiment of the present application can automatically initiate a patrol registration to detect whether there is at least one slave device to be configured within a preset range. If any slave device is detected, a configuration request is sent to the slave device to try to implement configuration with the slave device.
[0097] Here, the master device of the embodiment of the present application can respond to the trigger of the device configuration operation and actively start automatic inspection registration to detect the slave devices within the preset range, thereby realizing the automatic detection of the slave device by the master device and the automatic registration of the slave device in the master device without manual participation, further improving the automation of the master-slave device configuration and improving the efficiency of the master-slave device configuration. In addition, the embodiment of the present application adopts the master device to automatically detect the slave device, which reduces the manual workload and reduces the cost compared with the traditional manual operation method.
[0098] S202: Obtain a pre-created master-slave device configuration table.
[0099] The master-slave device configuration table includes device characteristic parameters of all slave devices pre-configured for the master device.
[0100] Optionally, before installing and wiring the master device and the slave device, the terminal device can receive the device characteristic parameters of the master device and the slave device uploaded or input by the user, and receive the configuration relationship of the master device and the slave device uploaded by the user. And according to the device characteristic parameters of the master device and the slave device and the configuration relationship of the master device and the slave device, a master-slave device configuration table is created.
[0101] Optionally, the terminal device may provide a creation interface, a creation form, etc., to provide an input window for the user.
[0102] S203: Receive device characteristic parameters sent by each slave device.
[0103] S204: In the pre-created master-slave device configuration table, query whether there are device characteristic parameters of the slave device.
[0104] S205: If the device characteristic parameters exist in the pre-created master-slave device configuration table, configuration is implemented with the slave device.
[0105] The embodiment of the present application provides a method for automatically and efficiently implementing master-slave device configuration. When a device configuration operation is triggered, the master device can automatically send a configuration request to at least one slave device to obtain device characteristic parameters of the slave device sent by the slave device. The master device obtains a pre-created master-slave device configuration table in the process. Based on the device characteristic parameters of the slave device sent by the slave device, the pre-created master-slave device configuration table can be queried to determine whether the slave device is a pre-configured slave device. If so, the configuration is implemented with the slave device, thereby realizing automatic configuration of the master-slave devices. The entire process does not require human intervention, thereby reducing human workload and improving the efficiency of master-slave device configuration.
[0106] Optionally, based on the above-mentioned device configuration method, if there are device characteristic parameters in the pre-created master-slave device configuration table, after implementing the configuration with the slave device, it also includes: generating configuration information of the master device and all slave devices; sending the configuration information to the terminal device so that the terminal device displays the configuration information.
[0107] Optionally, the configuration information here may include device characteristic parameters of the master device and the slave device.
[0108] Optionally, the configuration information here may include a master-slave device configuration table, which includes a mark of completed configuration. For example, if a slave device and a master device have completed configuration, a mark is added to the corresponding position in the master-slave device configuration table.
[0109] Here, the master device of the embodiment of the present application can generate configuration information of the master device and all slave devices after the configuration is completed, and send it to the terminal device to display the configuration information of the master device and the configured slave devices on the terminal device. The user can view it on the terminal device, which improves the user experience and facilitates the maintenance of the device.
[0110] Optionally, the embodiment of the present application can automatically obtain a pre-created master-slave device configuration table through interaction with a terminal device, and implement automatic configuration based on the pre-created master-slave device configuration table. Accordingly, Figure 3 A flow chart of another device configuration method provided in an embodiment of the present application. Figure 3 As shown, the method includes:
[0111] S301: In response to triggering of a device configuration operation, a configuration request is sent to at least one slave device, so that each slave device obtains device characteristic parameters of the slave device according to the configuration request.
[0112] The implementation of step S301 is the same as that of step S201, and will not be described in detail here.
[0113] S302: In response to the master device matching request sent by the terminal device, send the device characteristic parameters of the master device to the terminal device, so that the terminal device determines the pre-created master-slave device configuration table corresponding to the master device according to the device characteristic parameters of the master device.
[0114] Optionally, the terminal device stores device characteristic parameters of multiple master devices, or each master-slave device configuration table stored in the terminal device includes device characteristic parameters of the master device corresponding to the table. Based on the device characteristic parameters sent by the master device, the terminal device sends the corresponding pre-created master-slave device configuration table to the master device.
[0115] S303: Receive a pre-created master-slave device configuration table sent by the terminal device.
[0116] The master-slave device configuration table includes device characteristic parameters of all slave devices pre-configured for the master device.
[0117] Optionally, steps S302-S303 may also be performed before step S301, and the master device may interact with the terminal device at any time to receive the master-slave device configuration table sent by the terminal device.
[0118] Optionally, the embodiment of the present application can also update the master-slave device configuration table according to the user's operation. Specifically, the user can update the master-slave device configuration table through the terminal device. After the master-slave device configuration table is updated, the terminal device determines the master device corresponding to the updated master-slave device configuration table and sends the updated master-slave device configuration table to the master device. The master device can trigger a new configuration operation based on the updated master-slave device configuration table.
[0119] S304: Receive device characteristic parameters sent by each slave device.
[0120] S305: In the pre-created master-slave device configuration table, query whether there are device characteristic parameters of the slave device.
[0121] S306: If the device characteristic parameters exist in the pre-created master-slave device configuration table, configuration is performed with the slave device.
[0122] Here, the master device of the embodiment of the present application can respond to the master device matching request sent by the terminal device and return its own device characteristic parameters to the terminal device. The terminal device determines the pre-created master-slave device configuration table corresponding to the master device based on the device characteristic parameters of the master device and sends it to the master device. The pre-created master-slave device configuration table includes the device characteristic parameters of all slave devices pre-configured for the master device. The master device can match the slave device through the master-slave device configuration table, eliminating the process of manual recording and re-entering, thereby improving the efficiency of master-slave device configuration and reducing configuration costs.
[0123] Optionally, the embodiment of the present application can implement the configuration of the master and slave devices through device characteristic parameters. Accordingly, Figure 4 A flow chart of another device configuration method provided in an embodiment of the present application. Figure 4 As shown, the method includes:
[0124] S401: In response to triggering of a device configuration operation, a configuration request is sent to at least one slave device, so that each slave device obtains a device characteristic parameter of the slave device according to the configuration request.
[0125] S402: Obtain a pre-created master-slave device configuration table.
[0126] The master-slave device configuration table includes device characteristic parameters of all slave devices pre-configured for the master device.
[0127] The implementation of steps S401-S402 is the same as that of steps S301-S303, and will not be described in detail here.
[0128] S403: Receive device characteristic parameters sent by each slave device.
[0129] S404: In the pre-created master-slave device configuration table, query whether there are device characteristic parameters of the slave device.
[0130] S405: If the device characteristic parameters exist in the pre-created master-slave device configuration table, the device characteristic parameters of the master device are sent to the slave device, so that the slave device saves the device characteristic parameters of the master device.
[0131] S406: Save the device characteristic parameters of the slave device.
[0132] Specifically, the master device and the slave device realize the configuration between the devices by saving the device characteristic parameters of each other, and the master device can reasonably schedule and control the slave device according to the device characteristic parameters.
[0133] In the embodiment of the present application, the master and slave devices save each other's device characteristic parameters to achieve configuration of the master and slave devices. When the master and slave devices communicate, communication can be achieved based on the saved device characteristic parameters.
[0134] Optionally, the embodiment of the present application can implement the configuration of the master and slave devices through unique coding. Accordingly, Figure 5 A flow chart of another device configuration method provided in an embodiment of the present application. Figure 5 As shown, the method includes:
[0135] S501: In response to triggering of a device configuration operation, a configuration request is sent to at least one slave device, so that each slave device obtains device characteristic parameters of the slave device according to the configuration request.
[0136] S502: Obtain a pre-created master-slave device configuration table.
[0137] The master-slave device configuration table includes device characteristic parameters of all slave devices pre-configured for the master device.
[0138] The implementation of steps S501-S502 is the same as that of steps S301-S303, and will not be described in detail here.
[0139] S503: Receive device characteristic parameters sent by each slave device.
[0140] S504: In the pre-created master-slave device configuration table, query whether there are device characteristic parameters of the slave device.
[0141] S505: If the device characteristic parameters exist in the pre-created master-slave device configuration table, a unique code of the slave device is generated.
[0142] Among them, a unique code (Identity Document) is generated for each slave device, and there is no need to save and transmit device characteristic parameters that occupy a large memory and transmission channel.
[0143] S506: Send the device characteristic parameters and unique code of the master device to the slave device, so that the slave device saves the device characteristic parameters and unique code of the master device.
[0144] S507: Save the unique code of the slave device.
[0145] Specifically, the master device and the slave device realize the configuration between the devices by saving the unique code, and the master device can reasonably schedule and control the slave device according to the unique code.
[0146] After determining the slave device to be configured, the master device in the embodiment of the present application can assign a unique code to the slave device. The unique code can serve as the device characteristic parameter of the slave device and is saved in both the master device and the slave device to implement the configuration of the master-slave devices. In view of the situation where the device characteristic parameters of the slave device occupy a large amount of memory, it can effectively improve resource utilization and improve the efficiency of communication between the master and slave devices.
[0147] Optionally, Figure 6 A flowchart of another device configuration method provided in an embodiment of the present application. The execution subject of the embodiment of the present application can be Figure 1 Any slave device in the system, or the processor of the slave device, the specific execution subject can be determined according to the actual application scenario. Figure 6 As shown, the method comprises the following steps:
[0148] S601: Receive a configuration request sent by a master device.
[0149] The configuration request is generated by the master device in response to a trigger of a device configuration operation.
[0150] S602: Acquire device characteristic parameters of the slave device according to the configuration request.
[0151] S603: Send the device characteristic parameters of the slave device to the master device, so that the master device queries whether the device characteristic parameters of the slave device exist in the pre-created master-slave device configuration table. If the device characteristic parameters exist in the pre-created master-slave device configuration table, the master device implements configuration with the slave device.
[0152] The pre-created master-slave device configuration table is obtained by the master device after generating a configuration request, and the pre-created master-slave device configuration table includes device characteristic parameters of all slave devices pre-configured for the master device.
[0153] An embodiment of the present application provides a device configuration method applied to a slave device. In response to a configuration request sent by a master device, the slave device can feed back its own device characteristic parameters to the master device, so that the master device determines whether to establish a configuration with the slave device based on the fed-back device characteristic parameters and a pre-created master-slave device configuration table. The configuration of the master and slave devices can be achieved without human intervention, thereby improving the efficiency of device configuration.
[0154] Optionally, after sending the device characteristic parameters of the slave device to the master device according to the configuration request, the method further includes: receiving the device characteristic parameters of the master device sent by the master device; and saving the device characteristic parameters of the master device.
[0155] Optionally, after sending the device characteristic parameters of the slave device to the master device according to the configuration request, the method further includes: receiving the device characteristic parameters and a unique code of the master device sent by the master device; and saving the device characteristic parameters and the unique code of the master device.
[0156] Here, the slave device of the embodiment of the present application can realize the configuration of the master-slave device by saving the device characteristic parameters between the slave device and the master device, and can also realize the configuration of the master-slave device by saving the unique code. If the device characteristic parameters of the slave device are large, the unique code can improve resource utilization and improve the communication efficiency between the master and slave devices.
[0157] Optionally, Figure 7 A flowchart of another device configuration method provided in an embodiment of the present application. Figure 7 Taking a master device configuring two slave devices as an example, the device configuration process is introduced. Figure 7 In the process, the master and slave device configuration table is created through the APP client.
[0158] Optionally, Figure 7 In the example, the device characteristic parameter is the characteristic value.
[0159] It is understandable that in Figure 7 In the figure, the process of sending the master-slave device configuration table from the APP client to the master device, that is, the process of "issuing the master-slave device configuration table", is shown. This process can be performed at any time before the step of "the master device returns the characteristic value and the ID assigned to the slave device 1", as long as the master device receives the master-slave device configuration table before configuring with the slave device.
[0160] based on Figure 7 The execution process of the device configuration method of the embodiment of the present application is as follows:
[0161] Step 7.1, create a master-slave device configuration table.
[0162] Optionally, the master-slave device configuration table supports exporting and saving to facilitate subsequent maintenance by operation and maintenance personnel.
[0163] Step 7.2: The APP client records the characteristic value of the main device.
[0164] Step 7.3, the APP client records the characteristic values of the slave device and automatically associates them with the master device configuration table. The configuration table can be customized.
[0165] Step 7.4: After installation and power-on, the master device automatically adds the slave device.
[0166] Step 7.5: After adding, the APP client automatically matches the characteristic value of the master device and sends the master-slave device configuration table.
[0167] Step 7.6: The master device automatically performs matching configuration according to the master-slave device configuration table.
[0168] Compared with the manual configuration method, the embodiment of the present application omits the physical address. After the APP client records the characteristic value, the main device automatically matches the configuration according to the characteristic value, eliminating the process of manual recording and then entering, thereby improving configuration efficiency and reducing costs.
[0169] Figure 8 A schematic diagram of a device configuration apparatus provided in an embodiment of the present application, which is applied to a main device, such as Figure 8 As shown, the device of the embodiment of the present application includes: a configuration initiation module 801, a first acquisition module 802, a first receiving module 803, a query processing module 804 and a configuration processing module 805. The device configuration device here can be the processor itself of the above-mentioned main device, or a chip or integrated circuit that implements the function of the processor. It should be noted here that the division of the configuration initiation module 801, the first acquisition module 802, the first receiving module 803, the query processing module 804 and the configuration processing module 805 is only a division of logical functions, and the two can be physically integrated or independent.
[0170] The configuration initiation module is used to send a configuration request to at least one slave device in response to the triggering of the device configuration operation, so that each slave device obtains the device characteristic parameters of the slave device according to the configuration request;
[0171] A first acquisition module is used to acquire a pre-created master-slave device configuration table, wherein the master-slave device configuration table includes device characteristic parameters of all slave devices pre-configured for the master device;
[0172] A first receiving module, used for receiving device characteristic parameters sent by each slave device;
[0173] A query processing module, used for querying whether there are device characteristic parameters of the slave device in the pre-created master-slave device configuration table;
[0174] The configuration processing module is used to implement configuration with the slave device if the device characteristic parameters exist in the pre-created master-slave device configuration table.
[0175] Optionally, the configuration processing module is specifically used to: send device characteristic parameters of the master device to the slave device so that the slave device saves the device characteristic parameters of the master device; and save the device characteristic parameters of the slave device.
[0176] Optionally, the configuration processing module is further specifically used to: generate a unique code for the slave device; send device characteristic parameters and a unique code of the master device to the slave device so that the slave device saves the device characteristic parameters and the unique code of the master device; and save the unique code of the slave device.
[0177] Optionally, the configuration initiating module is specifically used to: detect whether there is at least one slave device to be configured within a preset range; if so, send a configuration request to the slave device.
[0178] Optionally, the first acquisition module is specifically used to: send device characteristic parameters of the master device to the terminal device in response to a master device matching request sent by the terminal device, so that the terminal device determines the pre-created master-slave device configuration table corresponding to the master device according to the device characteristic parameters of the master device; and receive the pre-created master-slave device configuration table sent by the terminal device.
[0179] Optionally, the device configuration operation includes: a power-on operation of a master device; or a device configuration operation initiated by a user on a terminal device.
[0180] Optionally, after the configuration processing module is used to implement configuration with the slave device if device characteristic parameters exist in the pre-created master-slave device configuration table, the above-mentioned device also includes a configuration display module, which is used to: generate configuration information of the master device and all slave devices; and send the configuration information to the terminal device so that the terminal device displays the configuration information.
[0181] The embodiment of the present application also provides a device configuration apparatus, which is applied to a slave device. The device of the embodiment of the present application includes: a second receiving module, a second acquisition module and a sending module. The device configuration apparatus here can be the processor of the above-mentioned slave device itself, or a chip or integrated circuit that implements the function of the processor. It should be noted here that the division of the second receiving module, the second acquisition module and the sending module is only a division of logical functions. Physically, the two can be integrated or independent.
[0182] The second receiving module is used to receive a configuration request sent by the master device, wherein the configuration request is generated by the master device in response to a trigger of a device configuration operation;
[0183] The second acquisition module is used to obtain the device characteristic parameters of the slave device according to the configuration request.
[0184] A sending module, used for sending device characteristic parameters of the slave device to the master device, so that the master device queries whether the device characteristic parameters of the slave device exist in the pre-created master-slave device configuration table, and if the device characteristic parameters exist in the pre-created master-slave device configuration table, the master device implements configuration with the slave device;
[0185] The pre-created master-slave device configuration table is obtained by the master device after generating a configuration request, and the pre-created master-slave device configuration table includes device characteristic parameters of all slave devices pre-configured for the master device.
[0186] Optionally, after the sending module is used to send the device characteristic parameters of the slave device to the master device according to the configuration request, the above-mentioned device also includes a first configuration response module, which is used to: receive the device characteristic parameters of the master device sent by the master device; and save the device characteristic parameters of the master device.
[0187] Optionally, after the sending module is used to send the device characteristic parameters of the slave device to the master device according to the configuration request, the above-mentioned device also includes a second configuration response module, which is used to: receive the device characteristic parameters and unique code of the master device sent by the master device; and save the device characteristic parameters and unique code of the master device.
[0188] refer to Fig. 9 , which shows a schematic diagram of the structure of a device configuration device 900 suitable for implementing the embodiment of the present disclosure, the device configuration device 900 can be a master device or a slave device, and the master device or the slave device can be a terminal device or a server. The terminal device can include but is not limited to mobile terminals such as mobile phones, laptops, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (Portable Android Devices, PADs), portable multimedia players (PMPs), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig. 9 The device configuration shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0189] like Fig. 9 As shown, the device configuration device 900 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 to a random access memory (RAM) 903. Various programs and data required for the operation of the device configuration device 900 are also stored in the RAM 903. The processing device 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0190] Typically, the following devices may be connected to the I / O interface 905: input devices 906 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 907 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 908 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 909. The communication devices 909 may allow the device configuration device 900 to communicate with other devices wirelessly or by wire to exchange data. Although Fig. 9 The device configuration device 900 having various devices is shown, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0191] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 909, or installed from a storage device 908, or installed from a ROM 902. When the computer program is executed by the processing device 901, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0192] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than computer readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0193] The computer-readable medium may be included in the device configuration device; or may exist independently without being assembled into the device configuration device.
[0194] The computer-readable medium carries one or more programs. When the one or more programs are executed by the device configuration device, the device configuration device executes the method shown in the above embodiment.
[0195] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0196] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0197] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".
[0198] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0199] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0200] The device configuration device of the embodiment of the present application can be used to execute the technical solutions in the above-mentioned method embodiments of the present application. Its implementation principles and technical effects are similar and will not be repeated here.
[0201] An embodiment of the present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement any of the above-mentioned device configuration methods.
[0202] An embodiment of the present application also provides a computer program product, including a computer program, which is used to implement any of the above-mentioned device configuration methods when the computer program is executed by a processor.
[0203] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units 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 an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0204] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0205] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0206] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A device configuration method, characterized in that: Applied to a master device, the method comprises: In response to a triggering of a device configuration operation, sending a configuration request to at least one slave device, so that each slave device obtains a device characteristic parameter of the slave device according to the configuration request; Obtaining a pre-created master-slave device configuration table, wherein the master-slave device configuration table includes device characteristic parameters of all slave devices pre-configured for the master device; Receive device characteristic parameters sent by each slave device; In the pre-created master-slave device configuration table, query whether there are device characteristic parameters of the slave device; If the device characteristic parameters exist in the pre-created master-slave device configuration table, configuration is implemented with the slave device.
2. The method according to claim 1, characterized in that: The configuration is implemented with the slave device, comprising: Sending the device characteristic parameters of the master device to the slave device so that the slave device saves the device characteristic parameters of the master device; The device characteristic parameters of the slave device are saved.
3. The method according to claim 1, characterized in that The configuration is implemented with the slave device, comprising: generating a unique code for the slave device; Sending the device characteristic parameters of the master device and the unique code to the slave device, so that the slave device saves the device characteristic parameters of the master device and the unique code; The unique code of the slave device is stored.
4. The method according to claim 1, characterized in that The sending of a configuration request to at least one slave device comprises: Detecting whether there is at least one slave device to be configured within a preset range; If so, a configuration request is sent to the slave device.
5. The method according to claim 1, characterized in that The step of obtaining a pre-created master-slave device configuration table includes: In response to a master device matching request sent by a terminal device, sending device characteristic parameters of the master device to the terminal device, so that the terminal device determines a pre-created master-slave device configuration table corresponding to the master device according to the device characteristic parameters of the master device; Receive the pre-created master-slave device configuration table sent by the terminal device.
6. The method according to any one of claims 1 to 5, characterized in that: The device configuration operation includes: A power-on operation of the master device; or, Device configuration operations initiated by the user on the terminal device.
7. The method according to any one of claims 1 to 5, characterized in that: After the configuration is implemented with the slave device if the device characteristic parameters exist in the pre-created master-slave device configuration table, the method further includes: Generate configuration information of the master device and all slave devices; The configuration information is sent to a terminal device so that the terminal device displays the configuration information.
8. A device configuration method, characterized in that: Applied to a slave device, the method comprises: Receiving a configuration request sent by a master device, wherein the configuration request is generated by the master device in response to a trigger of a device configuration operation; Acquire device characteristic parameters of the slave device according to the configuration request; Sending the device characteristic parameters of the slave device to the master device, so that the master device queries whether the device characteristic parameters of the slave device exist in a pre-created master-slave device configuration table, and if the device characteristic parameters exist in the pre-created master-slave device configuration table, implementing configuration with the slave device; The pre-created master-slave device configuration table is obtained by the master device after generating a configuration request, and the pre-created master-slave device configuration table includes device characteristic parameters of all slave devices pre-configured for the master device.
9. The method according to claim 8, characterized in that After sending the device characteristic parameters of the slave device to the master device according to the configuration request, the method further includes: receiving a device characteristic parameter of the master device sent by the master device; Saving device characteristic parameters of the master device; or, Receiving device characteristic parameters and a unique code of the master device sent by the master device; The device characteristic parameters of the main device and the unique code are saved.
10. A device configuration device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7, or any one of claims 8 to 9.
Citation Information
Patent Citations
Method and device for management of carrier equipment
CN104158565A
Internet of Things equipment batch network distribution method and system
CN116684270A
Automatic address allocation method of telemetering system, telemetering system and storage medium
CN117544596A
Topological relationship establishment method and device of master and slave devices, equipment and storage medium
CN118368202A