Equipment management method, device and equipment based on power line carrier communication
By using the main control carrier device to send configuration information and respond to the broadcast information of the terminal device in power line carrier communication, the automatic link connection and joining of the terminal device is realized, solving the problem of inflexible joining of the device and improving management efficiency.
Patent Information
- Application Number
- CN202410240713.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-04
- Publication Date
- 2025-02-07
AI Technical Summary
In power line carrier communication, newly added terminal devices must be manually set to join the communication, resulting in insufficient flexibility.
The main control carrier device sends frame information in the configuration information to the terminal carrier device, receives and responds to the broadcast information of the terminal carrier device, determines the link connection, and realizes automatic joining of the terminal device.
There is no need to manually add terminal equipment, which improves equipment flexibility and automated management capabilities and reduces operation and maintenance costs.
Smart Images

Figure CN119402039A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of power line carrier communication, and specifically to a device management method, apparatus and equipment based on power line carrier communication. Background Art
[0002] Power line carrier communication is a power system communication that uses transmission lines as the transmission medium of carrier signals. At present, power line carrier communication has been widely used in the main helm application scenarios, such as smart street lights, national smart grids, remote meter reading systems, and smart home systems.
[0003] In power line carrier communication, due to the large number of terminal devices, it is usually necessary to centrally manage multiple terminal devices and establish communication connections between the business center server and each terminal device. However, the IP addresses of each terminal device in power line carrier communication are generally fixed, and newly added terminal devices must be manually set to join the power line carrier communication, which is very inflexible. Summary of the invention
[0004] In view of the above problems, the embodiments of the present application provide a device management method, apparatus and equipment based on power line carrier communication, which overcomes the above or at least partially solves the problem that the newly added terminal device must be manually set to join the power line carrier communication, which is very inflexible.
[0005] The first aspect of the embodiment of the present application provides a device management method based on power line carrier communication, including: obtaining configuration information, and sending frame information contained in the configuration information to a terminal carrier device. Receive broadcast information sent by the terminal carrier device, and the broadcast information is sent by the terminal carrier device after receiving the frame information. Send response information to a first terminal carrier device, and the first terminal carrier device is the terminal carrier device corresponding to the broadcast information that the main control carrier device first responds to. Receive a first link establishment request sent by the first terminal carrier device, and determine the link connection with the first terminal carrier device.
[0006] The master carrier device of the embodiment of the present application can determine the first terminal carrier device by sending the frame information contained in the configuration information to the terminal carrier device, receiving the broadcast information sent by the terminal carrier device, and sending the response information to the terminal carrier device corresponding to the broadcast information that first responds. By receiving the first link establishment request sent by the first terminal carrier device, the link connection with the first terminal carrier device is determined, so that the first terminal carrier device can establish a communication link with the master carrier device according to the above frame information and response information, without manually adding the first terminal carrier device, so that the newly added first terminal carrier device can be more flexibly added to the power line carrier communication.
[0007] In an optional manner, the configuration information includes frame information and address information, and obtaining the configuration information includes: obtaining the frame information and the address information, and obtaining a correspondence table between the frame information and the address information.
[0008] By obtaining the correspondence table between frame information and address information, after the master control carrier device receives the broadcast information sent by the terminal carrier device, before sending response information to the first terminal carrier device, the address information allocated to the first terminal carrier device can be determined according to the correspondence table between frame information and address information.
[0009] In an optional manner, the response information includes the first IP address and the first port number of the master carrier device. The response information also includes the second IP address and the second port number allocated to the first terminal carrier device.
[0010] In an optional manner, receiving a first link establishment request sent by a first terminal carrier device and determining a link connection with the first terminal carrier device includes: receiving an MQTT link establishment request sent by the first terminal carrier device according to a first IP address, a first port number, a second IP address, and a second port number, and determining an MQTT link connection with the first terminal carrier device.
[0011] In this way, the communication protocol between the master control carrier device and the first terminal carrier device is more lightweight and the communication cost is lower.
[0012] According to a second aspect of an embodiment of the present application, a device management method based on power line carrier communication is provided, comprising: receiving frame information sent by a master carrier device, and sending broadcast information carrying the frame information. Receiving response information sent by the master carrier device, the response information is sent by the master carrier device after receiving the broadcast information. Sending a first link establishment request to the master carrier device according to the response information.
[0013] A third aspect of an embodiment of the present application provides a device management method based on power line carrier communication, comprising: establishing a second link connection with a master carrier device, and sending configuration information to the master carrier device through the second link.
[0014] In a fourth aspect of an embodiment of the present application, there is provided a device management apparatus based on power line carrier communication, comprising: an acquisition module for acquiring configuration information. A first sending module for sending frame information contained in the configuration information to a terminal carrier device. A first receiving module for receiving broadcast information sent by a terminal carrier device, where the broadcast information is sent by the terminal carrier device after receiving the frame information. A second sending module for sending response information to a first terminal carrier device, where the first terminal carrier device is the terminal carrier device corresponding to the broadcast information that the master carrier device first responds to. A second receiving module for receiving a first link establishment request sent by the first terminal carrier device to determine a link connection with the first terminal carrier device.
[0015] In a fifth aspect of the embodiments of the present application, there is provided a device management apparatus based on power line carrier communication, comprising: a first receiving module, configured to receive frame information sent by a master carrier device; a first sending module, configured to send broadcast information carrying frame information; a second receiving module, configured to receive response information sent by the master carrier device, the response information being sent by the master carrier device after receiving the broadcast information; and a second sending module, configured to send a first link establishment request to the master carrier device according to the response information.
[0016] In a sixth aspect of the embodiments of the present application, there is provided a device management apparatus based on power line carrier communication, comprising: a connection establishment module for establishing a second link connection with a master carrier device; and a sending module for sending configuration information to the master carrier device via the second link.
[0017] In a seventh aspect of an embodiment of the present application, a computer device is provided, comprising a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of the device management method based on power line carrier communication provided in the first aspect of the embodiment of the present application are implemented, or the steps of the device management method based on power line carrier communication provided in the second aspect of the embodiment of the present application are implemented, or the steps of the device management method based on power line carrier communication provided in the third aspect of the embodiment of the present application are implemented.
[0018] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the embodiment of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 A flowchart of a device management method based on power line carrier communication provided in some embodiments of the present application.
[0021] Figure 2 A schematic diagram of a power line carrier communication system provided in some embodiments of the present application.
[0022] Figure 3 A correspondence table between frame information and address information is provided for some embodiments of the present application.
[0023] Figure 4 A flowchart of another device management method based on power line carrier communication provided for some embodiments of the present application.
[0024] Figure 5 A flowchart of another device management method based on power line carrier communication is provided for some embodiments of the present application.
[0025] Figure 6 A schematic structural diagram of a device management apparatus based on power line carrier communication provided in some embodiments of the present application.
[0026] Figure 7 A schematic structural diagram of another device management apparatus based on power line carrier communication provided in some embodiments of the present application.
[0027] Figure 8 A schematic structural diagram of another device management apparatus based on power line carrier communication provided in some embodiments of the present application.
[0028] Fig. 9 A schematic diagram of the structure of a computer device provided for some embodiments of the present application. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0030] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used in the specification of the application are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0031] The terms "comprising" and "having" and any variations thereof in the specification, claims and drawings of this application are intended to cover but not exclude other contents. The word "a" or "an" does not exclude the presence of a plurality.
[0032] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase "embodiments" in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0033] In addition, the terms "first", "second", etc. in the specification and claims of this application or the above-mentioned drawings are used to distinguish different objects rather than to describe a specific order, and may explicitly or implicitly include one or more of the features.
[0034] In the description of the present application, unless otherwise specified, “plurality” means more than two (including two), and similarly, “plurality groups” means more than two (including two).
[0035] In the description of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense. For example, the "connection" or "connection" of a mechanical structure may refer to a physical connection. For example, the physical connection may be a fixed connection, such as a fixed connection through a fixing member, such as a fixed connection through a screw, bolt or other fixing member; the physical connection may also be a detachable connection, such as a mutual snap connection or snap connection; the physical connection may also be an integral connection, such as welding, bonding or integral molding to form a connection for connection. The "connection" or "connection" of a circuit structure may refer to an electrical connection or a signal connection in addition to a physical connection. For example, it may be a direct connection, that is, a physical connection, or it may be an indirect connection through at least one intermediate element, as long as the circuit is connected, or it may be the internal connection of two elements; the signal connection may refer to a signal connection through a media medium, such as a radio wave, in addition to a signal connection through a circuit. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0036] The present application embodiment provides a device management method based on power line carrier communication, please refer to Figure 1 , Figure 1 A flow chart of a device management method based on power line carrier communication provided in some embodiments of the present application. In the embodiments of the present application, the device management method based on power line carrier communication can be specifically executed by a master control carrier device.
[0037] Figure 2 A schematic diagram of a power line carrier communication system provided in some embodiments of the present application. The device management method based on power line carrier communication provided in the embodiments of the present application can be applied to Figure 2 A power line carrier communication system is shown. The system includes a service center server 01, a power line 02, a main control carrier device 03 and a terminal carrier device 04. Among them, the terminal carrier device 04 can be multiple, for example, Figure 2 The case where there are two terminal carrier devices 04 is shown. Among them, the service center server 01 can be a computer connected to the Internet to provide application services. The main control carrier device 03 can be a server that provides centralized control for the terminal carrier device 04. The terminal carrier device 04 can be a smart home appliance, smart furniture, smart lathe, etc.
[0038] like Figure 1 As shown, the device management method based on power line carrier communication provided in the embodiment of the present application includes the following steps 101 to 105: Step 101, obtaining configuration information.
[0039] Specifically, the configuration information may be set by the user through the service center server, and the master carrier device may obtain the configuration information sent by the service center server and store the configuration information.
[0040] Step 102: Send the frame information included in the configuration information to the terminal carrier device.
[0041] There can be multiple terminal carrier devices, and the master carrier device can send frame information contained in the configuration information to multiple terminal carrier devices at the same time. Specifically, the master carrier device and the terminal carrier device may include an FPGA module and a PLC chip. The FPAG module cooperates with the PLC chip to complete the combinational logic function and the sequential logic function. The master carrier device can send frame messages to the terminal carrier device regularly through the FPGA module. All terminal carrier devices connected to the low-voltage power line can obtain the frame message after the FPGA module obtains delay synchronization.
[0042] Step 103: receiving broadcast information sent by the terminal carrier device. The broadcast information is sent by the terminal carrier device after receiving the frame information.
[0043] Specifically, after receiving the frame information, the terminal carrier device may send the broadcast information to the broadcast address with the frame information, and the broadcast address may be 172.xx.yy.zz. For example, the terminal carrier device may send the broadcast information to the address 172.255.255.255 with the frame information.
[0044] Step 104: Send response information to the first terminal carrier device, where the first terminal carrier device is the terminal carrier device corresponding to the broadcast information to which the master carrier device first responds.
[0045] In actual use, after receiving frame information, multiple terminal carrier devices can send broadcast information to the broadcast address with the frame information. The terminal carrier device corresponding to the broadcast information that the master carrier device first responds to is the first terminal carrier device. After responding to the broadcast information, the master carrier device sends response information to the first terminal carrier device.
[0046] Step 105: Receive a first link establishment request sent by a first terminal carrier device, and determine a link connection with the first terminal carrier device.
[0047] After receiving the response information sent by the master carrier device, the first terminal carrier device can send a first link establishment request to the master carrier device according to the received frame information and response information. After receiving the first link establishment request, the master carrier device determines the link connection with the first terminal carrier device.
[0048] The master carrier device of the embodiment of the present application can determine the first terminal carrier device by sending the frame information contained in the configuration information to the terminal carrier device, receiving the broadcast information sent by the terminal carrier device, and sending the response information to the terminal carrier device corresponding to the broadcast information that first responds. By receiving the first link establishment request sent by the first terminal carrier device, the link connection with the first terminal carrier device is determined, so that the first terminal carrier device can establish a communication link with the master carrier device according to the above frame information and response information, without manually adding the first terminal carrier device, so that the newly added first terminal carrier device can be more flexibly added to the power line carrier communication.
[0049] In actual applications, the configuration information includes frame information and address information, and obtaining the configuration information includes: obtaining the frame information and the address information, and obtaining a correspondence table between the frame information and the address information.
[0050] Specifically, the frame information is information carrying the carrier ID, and the address information is the IP address. By obtaining a correspondence table between the frame information and the address information, the corresponding unique IP address can be determined based on the unique carrier ID to prevent the IP address from being repeatedly assigned to different terminal carrier devices, thereby facilitating the establishment of a communication link between the main control carrier device and the terminal carrier device.
[0051] Figure 3 A correspondence table between frame information and address information is provided in some embodiments of the present application. Figure 3 As shown, the carrier ID is allocated in sequence from 1-253, and the IP address is from 172.20.1.1-172.20.1.253 corresponding to the carrier ID. It should be noted that the correspondence table between the carrier ID and the IP address in the embodiment of the present application is only an example, and the carrier ID and the IP address can be expanded or replaced as long as the one-to-one correspondence between the carrier ID and the IP address is ensured. It should also be noted that, for example, the address of the virtual electrical port connecting the master carrier device to the power line is 172.20.1.254, then the IP address is 172.20.1.x, that is, the IP address is in the same network segment as the master carrier device.
[0052] By obtaining the correspondence table between frame information and address information, after the master control carrier device receives the broadcast information sent by the terminal carrier device, before sending the response information to the first terminal carrier device, the address information allocated to the first terminal carrier device can be determined according to the correspondence table between frame information and address information.
[0053] In some embodiments, the response information includes a first IP address and a first port number of the master carrier device. The response information also includes a second IP address and a second port number assigned to the first terminal carrier device.
[0054] It is worth pointing out that the first IP address is the address of the virtual electrical port connecting the main control carrier device to the power line, and the second IP address is an IP address in the corresponding relationship table.
[0055] The first port number and the second port number may both be well-known port numbers, and the data transmission channel between the master carrier device and the first terminal carrier device may be determined by the first IP address, the first port number, the second IP address, and the second port number. For example, the first terminal carrier device may find the master carrier device through the first IP address, find the port corresponding to the master carrier device through the first port number, and then transmit the data to the master carrier device through the port. For another example, the master carrier device may find the first terminal carrier device through the second IP address, find the port corresponding to the first terminal carrier device through the second port number, and then transmit the data to the first terminal carrier device through the port.
[0056] In some embodiments, receiving a first link establishment request sent by a first terminal carrier device and determining a link connection with the first terminal carrier device includes: receiving an MQTT link establishment request sent by the first terminal carrier device according to a first IP address, a first port number, a second IP address, and a second port number, and determining an MQTT link connection with the first terminal carrier device. In this way, the communication protocol between the master control carrier device and the first terminal carrier device is more lightweight and the communication cost is lower.
[0057] In actual application, the main control carrier device receives the first link establishment request sent by the first terminal carrier device, and after determining the link connection with the first terminal carrier device, it can send downlink data to the first terminal carrier device and receive uplink data sent by the first terminal carrier device.
[0058] Another embodiment of the present application also provides another device management method based on power line carrier communication, please refer to Figure 4 , Figure 4 A flowchart of another device management method based on power line carrier communication provided for some embodiments of the present application. In the embodiments of the present application, the device management method based on power line carrier communication can be specifically executed by a terminal carrier device.
[0059] like Figure 4 As shown, another device management method based on power line carrier communication provided by an embodiment of the present application includes the following steps 401 to 404: Step 401: Receive frame information sent by a master carrier device.
[0060] Step 402: Send broadcast information carrying frame information.
[0061] The frame information is information carrying a carrier ID.
[0062] Step 403: receiving response information sent by the master carrier device. The response information is sent by the master carrier device after receiving the broadcast information.
[0063] It is worth pointing out that the device management method based on power line carrier communication in this step can be specifically executed by the first terminal carrier device among the terminal carrier devices.
[0064] Step 404: Send a first link establishment request to the primary carrier device according to the response information.
[0065] The first terminal carrier device may send an MQTT link establishment request to the master carrier device according to the response information of the master carrier device, and determine the MQTT link connection with the first terminal carrier device.
[0066] Another embodiment of the present application also provides another device management method based on power line carrier communication, please refer to Figure 5 , Figure 5 A flowchart of another device management method based on power line carrier communication is provided for some embodiments of the present application. In the embodiments of the present application, the device management method based on power line carrier communication can be specifically executed by a service center server.
[0067] like Figure 5 As shown, another device management method based on power line carrier communication provided in an embodiment of the present application includes the following steps 501 to 502: Step 501: Establish a second link connection with a primary carrier device.
[0068] Specifically, a TCP / IP link can be established between the service center server and the main control carrier device through the RJ45 network port.
[0069] In this way, the service center server can send downlink data to the master carrier device through the second link, and the master carrier device can send uplink data to the service center server through the second link.
[0070] Step 502: Send configuration information to the primary carrier device via the second link.
[0071] Specifically, the configuration information may include frame information and address information and a correspondence table between the frame information and the address information. The frame information is information carrying the carrier ID, and the address information is an IP address. By sending the configuration information to the master carrier device, the unique IP address corresponding to the carrier ID can be determined according to the unique carrier ID, so as to prevent the IP address from being repeatedly allocated to different terminal carrier devices, and facilitate the master carrier device and the terminal carrier device to establish a communication link.
[0072] The following is a detailed description of a device management method for power line carrier communication provided by some embodiments of the present application: Assume that there are three terminal carrier devices, namely terminal carrier device A, terminal carrier device B and terminal carrier device C.
[0073] The user can set configuration information through the business center server, and the configuration information includes frame information and address information and a correspondence table between frame information and address information. The business center server can establish a second link connection with the main control carrier device, that is, a TCP / IP link can be established through the RJ45 network port to realize data transmission between the business center server and the main control carrier device. For example, the business center server can send configuration information to the main control carrier device through the second link.
[0074] The master carrier device can obtain the configuration information sent by the service center server and store the configuration information. The master carrier device can send the frame information contained in the configuration information to the terminal carrier device. For example, the master carrier device can send information carrying the carrier ID to the terminal carrier device. For example, the master carrier device can send information carrying the carrier ID of 1 to the terminal carrier device A, the terminal carrier device B, and the terminal carrier device C.
[0075] Terminal carrier device A, terminal carrier device B, and terminal carrier device C can receive frame information sent by the master carrier device, that is, receive frame information carrying carrier ID 1. After receiving the frame information, terminal carrier device A, terminal carrier device B, and terminal carrier device C can send broadcast information carrying frame information with carrier ID 1 to a broadcast address, for example, to address 172.255.255.255.
[0076] The master carrier device sends a response message to the terminal carrier device corresponding to the broadcast information that first responds, that is, the first terminal carrier device. Assuming that the terminal carrier device corresponding to the broadcast information that the master carrier device first responds to is terminal carrier device A, terminal carrier device A is the first terminal carrier device. The response information includes the first IP address of the master carrier device, for example, 172.20.1.254 and the first port number, for example, 80. The response information also includes the second IP address and the second port number assigned to the first terminal carrier device. For example, it can be known from the correspondence table between the frame information and the address information that the second IP address when the carrier ID is 1 is 172.20.1.1, for example, the second port number is also 80.
[0077] Terminal carrier device A receives the response information sent by the main control carrier device, and sets its own IP address as the second IP address according to the response information. Terminal carrier device A can send a first link establishment request, i.e., an MQTT link establishment request, to the main control carrier device according to the first IP address, the first port number, the second IP address, and the second port number.
[0078] The main control carrier device receives the first link establishment request sent by the terminal carrier device A, determines the link connection with the terminal carrier device A, so as to realize data transmission between the terminal carrier device A and the main control carrier device, and further realizes data transmission between the terminal carrier device A and the service center server.
[0079] After the master carrier device successfully establishes a link with the terminal carrier device A, it can periodically send frame messages carrying carrier ID 2 and carrier ID 3 in sequence, and repeat the above process, so that terminal carrier device B and terminal carrier device C can both transmit data with the master carrier device, and then, terminal carrier device B and terminal carrier device C can both transmit data with the service center server. In this way, there is no need to manually add the above three terminal carrier devices, so that the newly added terminal carrier devices can be more flexibly added to the power line carrier communication. In this way, the construction of a local network of a cell or a small and medium-sized external network between cells can be completed through the existing power lines without arranging special lines.
[0080] In some embodiments, when a terminal carrier device participating in the power line carrier communication fails or the main control carrier device removes the control over the terminal carrier device, the main control carrier device may actively disconnect from the terminal carrier device.
[0081] Figure 6 A schematic diagram of a device management device based on power line carrier communication provided in some embodiments of the present application. Figure 6 As shown, a device management apparatus 6 based on power line carrier communication provided in this embodiment may include: an acquisition module 601 , a first sending module 602 , a first receiving module 603 , a second sending module 604 and a second receiving module 605 .
[0082] Among them, the acquisition module 601 is used to obtain configuration information. The first sending module 602 is used to send the frame information contained in the configuration information to the terminal carrier device. The first receiving module 603 is used to receive the broadcast information sent by the terminal carrier device, and the broadcast information is sent by the terminal carrier device after receiving the frame information. The second sending module 604 is used to send response information to the first terminal carrier device, and the first terminal carrier device is the terminal carrier device corresponding to the broadcast information that the main control carrier device first responds to. The second receiving module 605 is used to receive the first link establishment request sent by the first terminal carrier device to determine the link connection with the first terminal carrier device.
[0083] The device management device based on power line carrier communication provided in the embodiment of the present application can be used to perform the above Figure 1 The technical solution of the method embodiment shown has similar implementation principles and technical effects, which will not be repeated here.
[0084] Figure 7 A schematic diagram of another device management device based on power line carrier communication provided in some embodiments of the present application. Figure 7As shown, a device management apparatus 7 based on power line carrier communication provided in this embodiment may include: a first receiving module 701 , a first sending module 702 , a second receiving module 703 and a second sending module 704 .
[0085] The first receiving module 701 is used to receive frame information sent by the master carrier device. The first sending module 702 is used to send broadcast information carrying frame information. The second receiving module 703 is used to receive response information sent by the master carrier device, and the response information is sent by the master carrier device after receiving the broadcast information. The second sending module 704 is used to send a first link establishment request to the master carrier device according to the response information.
[0086] The device management device based on power line carrier communication provided in the embodiment of the present application can be used to perform the above Figure 4 The technical solution of the method embodiment shown has similar implementation principles and technical effects, which will not be repeated here.
[0087] Figure 8 A schematic diagram of the structure of another device management device based on power line carrier communication provided in some embodiments of the present application. Figure 8 As shown, a device management apparatus 8 based on power line carrier communication provided in this embodiment may include: a connection establishing module 801 and a sending module 802 .
[0088] The connection establishment module 801 is used to establish a second link connection with the primary carrier device. The sending module 802 is used to send configuration information to the primary carrier device through the second link.
[0089] The device management device based on power line carrier communication provided in the embodiment of the present application can be used to perform the above Figure 5 The technical solution of the method embodiment shown has similar implementation principles and technical effects, which will not be repeated here.
[0090] Another embodiment of the present application further provides a computer device 9, referring to Fig. 9 , Fig. 9 The computer device 9 includes a memory 91 and a processor 92. The memory 91 stores a computer program. When the processor 92 executes the computer program, the computer device 9 includes a memory 91 and a processor 92. Figure 1 The device management method based on power line carrier communication provided, or the implementation of the embodiment of the present application Figure 4 The device management method based on power line carrier communication provided, or the implementation of the embodiment of the present application Figure 5 Provided is a device management method based on power line carrier communication.
[0091] By using the computer device 9 provided in the embodiment of the present application, a newly added terminal carrier device can be more flexibly added to the power line carrier communication.
[0092] Another embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the present application can be implemented. Figure 1 The device management method based on power line carrier communication provided, or the implementation of the embodiment of the present application Figure 4 The device management method based on power line carrier communication provided, or the implementation of the embodiment of the present application Figure 5 The device management method based on power line carrier communication is provided. When the computer program stored in the computer-readable storage medium provided in the embodiment of the present application is executed by a processor, the newly added terminal carrier device can be more flexibly added to the power line carrier communication.
[0093] In the several embodiments provided in this 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 modules or units is only a logical function division, and 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.
[0094] Those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. For example, in the claims, any one of the claimed embodiments may be used in any combination.
[0095] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. 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 application.
Claims
1. A device management method based on power line carrier communication, characterized in that: The method comprises: Get configuration information; Sending the frame information contained in the configuration information to the terminal carrier device; receiving broadcast information sent by the terminal carrier device, where the broadcast information is sent by the terminal carrier device after receiving the frame information; Sending response information to a first terminal carrier device, where the first terminal carrier device is the terminal carrier device corresponding to the broadcast information to which the master carrier device first responds; A first link establishment request sent by the first terminal carrier device is received, and a link connection with the first terminal carrier device is determined.
2. The method according to claim 1, characterized in that The configuration information includes frame information and address information, and the acquiring of the configuration information includes: Acquire the frame information and the address information; Obtain a correspondence table between the frame information and the address information.
3. The method according to claim 1, characterized in that The response information includes the first IP address and the first port number of the master carrier device; the response information also includes the second IP address and the second port number allocated to the first terminal carrier device.
4. The method according to claim 3, characterized in that The receiving a first link establishment request sent by the first terminal carrier device and determining a link connection with the first terminal carrier device includes: An MQTT link establishment request sent by the first terminal carrier device according to the first IP address, the first port number, the second IP address, and the second port number is received, and an MQTT link connection with the first terminal carrier device is determined.
5. A device management method based on power line carrier communication, characterized in that: The method comprises: Receive frame information sent by the main control carrier device; Sending broadcast information carrying the frame information; receiving response information sent by the primary control carrier device, wherein the response information is sent by the primary control carrier device after receiving the broadcast information; Send a first link establishment request to the primary carrier device according to the response information.
6. A device management method based on power line carrier communication, characterized in that: The method comprises: Establishing a second link connection with the master carrier device; The configuration information is sent to the master carrier device through the second link.
7. A device management device based on power line carrier communication, characterized in that: The device comprises: Acquisition module, used to obtain configuration information; A first sending module, used for sending the frame information included in the configuration information to a terminal carrier device; A first receiving module, configured to receive broadcast information sent by the terminal carrier device, wherein the broadcast information is sent by the terminal carrier device after receiving the frame information; A second sending module is used to send response information to a first terminal carrier device, where the first terminal carrier device is the terminal carrier device corresponding to the broadcast information that the master control carrier device first responds to; The second receiving module is configured to receive a first link establishment request sent by the first terminal carrier device, and determine a link connection with the first terminal carrier device.
8. A device management device based on power line carrier communication, characterized in that: The device comprises: A first receiving module, used to receive frame information sent by the main control carrier device; A first sending module, used for sending broadcast information carrying the frame information; A second receiving module, configured to receive response information sent by the primary control carrier device, wherein the response information is sent by the primary control carrier device after receiving the broadcast information; The second sending module is configured to send a first link establishment request to the primary control carrier device according to the response information.
9. A device management device based on power line carrier communication, characterized in that: The device comprises: A connection establishment module, used to establish a second link connection with the main control carrier device; A sending module is used to send configuration information to the master carrier device through the second link.
10. A computer device, characterized in that: It comprises a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of the device management method based on power line carrier communication as described in any one of claims 1 to 4 are implemented, or the steps of the device management method based on power line carrier communication as described in claim 5 are implemented, or the steps of the device management method based on power line carrier communication as described in claim 6 are implemented.
Citation Information
Cited By
Metering equipment intelligent access system based on image recognition and carrier communication
CN120564312A