A communication address configuration method and system based on a power system and an electronic device
By obtaining device ID information through mobile terminals and automatically establishing mapping relationships with the communication host, the problem of incorrect or duplicate communication address configurations during on-site commissioning of power equipment is solved, and efficient communication address configuration of the power system is achieved.
Patent Information
- Application Number
- CN202310126427.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-08
- Publication Date
- 2026-01-27
- Estimated Expiration
- 2043-02-08
AI Technical Summary
During on-site commissioning of power equipment, errors or duplicates in communication address configuration can easily occur, affecting the communication efficiency of the power equipment.
The device ID information is obtained through the mobile terminal, and the communication host automatically establishes a mapping relationship between the device ID information and the communication address. The communication address is configured using the unique device ID information, reducing the possibility of errors or duplicate configurations.
It improves the efficiency of communication address configuration in the power system and reduces the possibility of duplicate or incorrect configuration during manual configuration.
Smart Images

Figure CN116319293B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of power data communication, specifically to a communication address configuration method, system, and electronic device based on a power system. Background Technology
[0002] The power communication network, along with relay protection and safety and stability control systems and dispatch automation systems, are collectively known as the three pillars of the safe and stable operation of the power system. The power communication network is the foundation for grid dispatch automation, market-based network operation, and modernized management; it is a crucial infrastructure of the power system, effectively ensuring the safe, stable, and economical operation of the power grid.
[0003] During on-site commissioning of power equipment, a single communication host typically connects to multiple communication buses, each with multiple serial cables used to connect to power devices. When a large number of power devices are connected to different communication buses, complex logical relationships emerge between these devices and the communication host. Currently, the communication host sets different communication addresses for different power devices, and the power devices also need to be configured with corresponding communication addresses. This process is prone to errors and duplicate address configurations, which can affect communication between the power devices. Therefore, a method is needed to improve the efficiency of communication address configuration in power systems. Summary of the Invention
[0004] This application provides a communication address configuration method, system, and electronic device based on a power system, which improves the efficiency of communication address configuration in a power system.
[0005] The first aspect of this application provides a communication address configuration method based on a power system, the method comprising:
[0006] The mobile terminal obtains device ID information of multiple target devices and sends the device ID information to the communication host;
[0007] The communication host obtains the device ID information and identifies whether the device ID information is invalid.
[0008] If the communication host identifies that the device ID information is not invalid, it retrieves a pre-stored communication address with no established mapping relationship and establishes a mapping relationship between the device ID information and the communication address; and,
[0009] The communication host sends the device ID information to multiple target devices via the communication bus. If a feedback signal is received from the first target device, the communication address is sent to the first target device.
[0010] By adopting the above technical solution, when power equipment needs to establish a communication connection with the communication host, the user only needs to obtain the device ID information of the target device through a mobile terminal and send the device ID information to the communication host. After recognizing that the device ID information is not invalid, the communication host automatically establishes a mapping relationship between the device ID information and the communication address. Since the device ID information of each target device is different, the corresponding communication address will also be different, thereby reducing the possibility of multiple devices being configured with the same communication address. Then, the communication host sends the device ID information to multiple target devices through the communication bus. If the first target device recognizes that the device ID information sent by the communication host is consistent with the preset device ID information, it sends a feedback signal to the communication host. The communication host then sends the communication address corresponding to the device ID information to the first target device, thereby completing the automatic configuration of the communication address. The communication host completes the configuration of the communication address based on the unique device ID information, which can effectively reduce the possibility of duplicate or incorrect configuration of the communication address during manual configuration, thereby improving the efficiency of communication address configuration in the power system.
[0011] Optionally, the mobile terminal acquires device ID information of multiple target devices, specifically including:
[0012] The mobile terminal scans the QR code pre-installed on the target device to obtain the device ID information recorded in the QR code.
[0013] By adopting the above technical solution, the mobile terminal can obtain the device ID information by scanning the QR code pre-installed on the target device, thereby reducing the possibility that the communication host will obtain incorrect device ID information due to user input errors.
[0014] Optionally, after the mobile terminal obtains the device ID information of multiple target devices, the method further includes:
[0015] The mobile terminal responds to input operations for other device information and obtains the other device information, which includes device function information, device parameter information, communication information, and device location information.
[0016] By adopting the above technical solution, users can customize and input other device information of the target device on the mobile terminal, which facilitates the subsequent communication host to obtain more comprehensive device information.
[0017] Optionally, after the mobile terminal obtains other information about the device, the method further includes:
[0018] The mobile terminal sends other device information to the PC.
[0019] The PC terminal responds to editing commands for other device information to obtain specific device information;
[0020] The PC records the specific device information and sends the specific device information to the communication host.
[0021] By adopting the above technical solution, the mobile terminal sends other device information it acquires to the PC, allowing users to edit this information on the PC to obtain detailed device details. After editing, the PC can archive the detailed device information and send it to the communication host.
[0022] Optionally, the mobile terminal sends the device ID information to the communication host, specifically including:
[0023] After establishing a Bluetooth connection with the communication host, the mobile terminal sends the device ID information to the communication host.
[0024] By adopting the above technical solution, the mobile terminal sends the device ID information to the communication host via Bluetooth. The communication host does not need to install other wireless communication modules, which can effectively reduce costs. At the same time, the communication host can quickly obtain the device ID information.
[0025] Optionally, after sending the device ID information to multiple target devices via a communication bus, the method further includes:
[0026] The target device receives the device ID information sent by the communication host, compares the device ID information sent by the communication host with the preset device ID information, and if the comparison results are consistent, the target device is the first target device, and the first target device sends the feedback signal to the communication host.
[0027] By adopting the above technical solution, after the communication host sends the device ID information to multiple target devices via the communication bus, the target devices receive the device ID information. If the target device finds that the device ID information sent by the communication host matches the preset device ID information, then the target device is the first target device. The first target device sends a feedback signal to the communication host, and the communication host then sends the communication address corresponding to the device ID information to the first target device, thereby automatically completing the communication address configuration process.
[0028] Optionally, after sending the device ID information to multiple target devices via a communication bus, the method further includes:
[0029] If the communication host does not receive a feedback signal, it sends the device ID information to multiple target devices at a preset frequency.
[0030] If the communication host still does not receive the feedback signal after a preset time, it sends the device ID information of another target device to multiple target devices.
[0031] By adopting the above technical solution, if a target device is not powered on, causing the communication host to not receive a feedback signal, the communication host sends device ID information to multiple target devices at a preset frequency to complete the communication address configuration after the target device is powered on. Simultaneously, if the communication host still does not receive a feedback signal after a preset time, it sends the device ID information of another target device to the multiple target devices, thereby completing the communication address configuration of that other target device.
[0032] A second aspect of this application provides a communication address configuration system based on a power system, including a communication host and a mobile terminal, wherein:
[0033] The mobile terminal is used to obtain device ID information of multiple target devices and send the device ID information to the communication host;
[0034] The communication host is used to obtain the device ID information and identify whether the device ID information is invalid.
[0035] The communication host is further configured to identify, if the device ID information is not invalid, retrieve a pre-stored communication address with no established mapping relationship, and establish a mapping relationship between the device ID information and the communication address; and,
[0036] The device ID information is sent to multiple target devices via a communication bus. If a feedback signal is received from the first target device, the communication address is sent to the first target device.
[0037] Optionally, the system may also include a PC.
[0038] The PC terminal is used to obtain specific device information in response to editing operation commands for other device information;
[0039] The PC terminal is also used to archive the specific device information and send the specific device information to the communication host.
[0040] A third aspect of this application provides an electronic device including a processor, a memory, a user interface, and a network interface, wherein the memory is used to store instructions, the user interface and the network interface are both used to communicate with other devices, and the processor is used to execute the instructions stored in the memory to cause the electronic device to perform the method as described in any of the foregoing.
[0041] In summary, this application includes at least the following beneficial technical effects:
[0042] When power equipment needs to establish a communication connection with the communication host, the user only needs to obtain the device ID information of the target device through a mobile terminal and send the device ID information to the communication host. After verifying that the device ID information is valid, the communication host automatically establishes a mapping relationship between the device ID information and the communication address. Since each target device has a different device ID, its corresponding communication address will also be different, thus reducing the possibility of multiple devices being configured with the same communication address. The communication host then sends the device ID information to multiple target devices via the communication bus. If the first target device recognizes that the device ID information sent by the communication host matches the preset device ID information, it sends a feedback signal to the communication host. The communication host then sends the communication address corresponding to the device ID information to the first target device, thus completing the automatic configuration of the communication address. The system completes the communication address configuration based on unique device ID information, effectively reducing the possibility of duplicate or incorrect communication address configuration during manual configuration, thereby improving the efficiency of communication address configuration in the power system. Attached Figure Description
[0043] Figure 1 This is a flowchart illustrating a communication address configuration method based on a power system disclosed in an embodiment of this application.
[0044] Figure 2 This is a schematic diagram of the structure of a communication address configuration system based on a power system disclosed in an embodiment of this application.
[0045] Figure 3 This is a schematic diagram of the structure of the electronic device disclosed in the embodiments of this application.
[0046] Explanation of reference numerals in the attached diagram: 1. Communication host; 2. Mobile terminal; 3. Target device; 4. PC terminal; 5. Processor; 6. Communication bus; 7. User interface; 8. Network interface; 9. Memory. Detailed Implementation
[0047] In the description of the embodiments in this application, words such as "illustrative," "for example," or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "illustrative," "for example," or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or designs. Rather, the use of words such as "illustrative," "for example," or "for example" is intended to present the relevant concepts in a specific manner.
[0048] In the description of the embodiments of this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships may exist. For example, unless otherwise stated, the term "multiple" means two or more. For example, multiple systems means two or more systems, and multiple screen terminals means two or more screen terminals. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. The terms "comprising," "including," "having," and their variations all mean "including but not limited to," unless otherwise specifically emphasized.
[0049] This embodiment discloses a communication address configuration method based on a power system, referring to... Figure 1 It includes the following steps:
[0050] S110, the mobile terminal 2 obtains the device ID information of multiple target devices 3 and sends the device ID information to the communication host 1.
[0051] S120, Communication host 1 obtains device ID information and identifies whether the device ID information is invalid.
[0052] S130, if the communication host 1 recognizes that the device ID information is not invalid, it retrieves the pre-stored communication address that has not been mapped and establishes the mapping relationship between the device ID information and the communication address.
[0053] S140, the communication host 1 sends the device ID information to multiple target devices 3 through the communication bus. If a feedback signal is received from the first target device, the communication address is sent to the first target device.
[0054] Specifically, in a power system centered on communication host 1, all power devices connected to communication host 1 are written with device ID information. The device ID information of any two devices is unique, and this information is displayed as a QR code. When a power device needs to establish a communication connection with communication host 1, the user scans the QR code with a mobile terminal 2, allowing the mobile terminal 2 to obtain the device ID information of the target device 3. After obtaining the device ID information of all target devices 3 that need to connect to communication host 1, the mobile terminal 2 sends multiple device ID information messages to communication host 1. Upon obtaining the device ID information, communication host 1 checks whether the device ID information is invalid, i.e., whether the device corresponding to the device ID information has already established a communication connection with communication host 1, or whether the device ID information has already been mapped to a communication address. If communication host 1 determines that the device ID information is not invalid, it selects an unused communication address from a pre-stored communication address database and automatically establishes a mapping relationship between the device ID information and the communication address. Because the device ID information of each target device 3 is different, the corresponding communication address will also be different, thereby reducing the possibility of multiple devices being configured with the same communication address. Then, the communication host 1 simultaneously sends the device ID information to multiple target devices 3 via the communication bus, and sends them out sequentially. The target devices 3 identify whether the device ID information sent by the communication host 1 matches the device ID information pre-written to them. If the first target device identifies that the device ID information sent by the communication host 1 matches the device ID information pre-written to it, it sends a feedback signal to the communication host 1. After receiving the feedback signal, the communication host 1 sends the communication address corresponding to the device ID information to the first target device, thereby completing the automatic configuration of the communication address and improving the efficiency of communication address configuration in the power system.
[0055] In one possible implementation, the mobile terminal 2 obtains device ID information of multiple target devices 3, specifically including: the mobile terminal 2 scans a pre-set QR code on the target device 3 to obtain the device ID information recorded in the QR code.
[0056] Specifically, since the device ID information of the target device 3 is pre-written into the QR code and displayed on the device exterior, the user can identify the device ID information by scanning the code with the mobile terminal 2, thereby reducing the possibility that the communication host 1 may obtain incorrect device ID information due to user input errors.
[0057] In one possible implementation, after the mobile terminal 2 obtains the device ID information of multiple target devices 3, the method further includes: in response to the input operation of other device information, the mobile terminal 2 obtains other device information, which includes device function information, device parameter information, communication information and device location information.
[0058] Specifically, after the mobile terminal 2 obtains the device ID information of the target device 3, the user can input other device information on the mobile terminal 2. The mobile terminal 2 obtains device function information, device parameter information, communication information and device location information, and sends them to the communication host 1, so that after the communication host 1 establishes a communication connection with the target device 3, it can determine the relevant information of the data collected from the target device 3 through the other device information.
[0059] For example, after mobile terminal 2 obtains the device ID information of a certain device as 123456789, the user enters on mobile terminal 2 the device name as "Air Conditioner A," its function as "cooling," its input power as "2000 watts," its connection to the second serial port of the first bus, and its location as the southwest corner of the second floor of Building 1. After inputting this information, mobile terminal 2 binds the aforementioned other device information with the device ID information and sends the device ID information and other device information to communication host 1. After establishing a connection with the device, communication host 1 can display the aforementioned other device information on the monitor, and if communication host 1 collects power consumption data from the device, the user can determine the source information of the power consumption data.
[0060] In one possible implementation, after the mobile terminal 2 obtains other device information, the method further includes: the mobile terminal 2 sending the other device information to the PC terminal 4; the PC terminal 4 responding to the editing operation command for the other device information to obtain specific device information; the PC terminal 4 archiving the specific device information and sending the specific device information to the communication host 1.
[0061] Specifically, after obtaining other device information from multiple target devices 3, mobile terminal 2 can send this information to PC terminal 4 for batch editing, or edit more detailed device information, such as modifying the parameter information of target devices 3. After editing, the specific device information is obtained. PC terminal 4 archives the specific device information and sends it to communication host 1.
[0062] In one possible implementation, the mobile terminal 2 sends device ID information to the communication host 1, specifically including: after the mobile terminal 2 establishes a Bluetooth connection with the communication host 1, it sends device ID information to the communication host 1.
[0063] After obtaining the device ID information of multiple target devices 3, mobile terminal 2 establishes a Bluetooth connection with communication host 1. Once the connection is successful, mobile terminal 2 sends the device ID information to communication host 1 via Bluetooth. Since communication host 1 and mobile terminal 2 communicate via Bluetooth, communication host 1 does not need to install any other wireless communication modules besides the Bluetooth module, which can effectively reduce costs. At the same time, communication host 1 can quickly obtain device ID information.
[0064] In one possible implementation, after sending the device ID information to multiple target devices 3 via a communication bus, the method further includes: the target device 3 receiving the device ID information sent by the communication host 1, comparing the device ID information sent by the communication host 1 with preset device ID information, and if the comparison results are consistent, then the target device 3 is the first target device, and the first target device sends a feedback signal to the communication host 1.
[0065] Specifically, after the communication host 1 sends multiple device ID information to multiple target devices 3 in sequence through the communication bus, the multiple target devices 3 simultaneously receive the device ID information. If a target device 3 recognizes that the received device ID information is consistent with the preset device ID information, then the target device 3 is the first target device. The first target device sends a feedback signal to the communication host 1, and the communication host 1 sends the communication address corresponding to the device ID information to the first target device, thereby completing the process of automatically configuring the communication address.
[0066] In one possible implementation, after sending the device ID information to multiple target devices 3 via a communication bus, the method further includes: if the communication host 1 does not receive a feedback signal, then sending the device ID information to the multiple target devices 3 at a preset frequency. If the communication host 1 still does not receive a feedback signal after a preset time, then sending the device ID information of another target device 3 to the multiple target devices 3.
[0067] Specifically, after the communication host 1 sequentially sends multiple device ID information to multiple target devices 3 via the communication bus, the multiple target devices 3 simultaneously receive the device ID information. If one of the devices is not powered on, it will be unable to receive its corresponding device ID information, and thus the communication host 1 will not receive a feedback signal after sending the device ID information. In this case, the communication host 1 sends the device ID information to the multiple target devices 3 at a preset frequency, for example, once every minute. If the communication host 1 still does not receive a feedback signal after a preset time, it sends the device ID information of another target device 3 to the multiple target devices 3. The preset time can be 5 minutes, 10 minutes, or 20 minutes; in this embodiment, 10 minutes is preferred.
[0068] In one possible implementation, after configuring communication addresses for all powered-on first target devices, communication host 1 continues to complete the address configuration work for unpowered target devices 3.
[0069] For example, if communication host 1 does not receive a feedback signal from the second target device corresponding to the second device ID information, after completing the communication address configuration for the other target devices 3, it sends the second device ID information to multiple target devices 3 every minute until the second target device powers on, receives the second device ID information, identifies it, and sends a feedback signal to communication host 1. Communication host 1 then sends the communication address corresponding to the second device ID information to the second target device. If communication host 1 still does not receive a feedback signal from the second target device after one hour, communication host 1 sends an alarm message indicating that a communication connection has not been established with the device corresponding to the second device ID information.
[0070] This embodiment also discloses a communication address configuration system based on a power system, referring to... Figure 2 It includes a communication host 1 and a mobile terminal 2, wherein:
[0071] Mobile terminal 2 is used to obtain device ID information of multiple target devices 3 and send the device ID information to communication host 1;
[0072] Communication host 1 is used to obtain device ID information and identify whether the device ID information is invalid.
[0073] Communication host 1 is also used to identify, if the device ID information is not expired, to retrieve a pre-stored communication address with no established mapping relationship, and to establish a mapping relationship between the device ID information and the communication address; and,
[0074] The device ID information is sent to multiple target devices 3 via the communication bus. If a feedback signal is received from the first target device, the communication address is sent to the first target device.
[0075] In one possible implementation, the system also includes a PC terminal 4;
[0076] PC terminal 4 is used to respond to editing operation commands for other device information and obtain specific device information;
[0077] PC 4 is also used to archive specific device information and send specific device information to communication host 1.
[0078] In one possible implementation, the mobile terminal 2 scans the QR code pre-installed on the target device 3 to obtain the device ID information recorded in the QR code.
[0079] In one possible implementation, the mobile terminal 2 responds to input operations for other device information and obtains other device information, including device function information, device parameter information, communication information, and device location information.
[0080] In one possible implementation, the mobile terminal 2 sends other device information to the PC terminal 4;
[0081] PC client 4 responds to editing operation commands for other device information and obtains specific device information;
[0082] PC 4 archives specific device information and sends the specific device information to communication host 1.
[0083] In one possible implementation, after the mobile terminal 2 establishes a Bluetooth connection with the communication host 1, it sends device ID information to the communication host 1.
[0084] In one possible implementation, the target device 3 receives device ID information sent by the communication host 1, compares the device ID information sent by the communication host 1 with the preset device ID information, and if the comparison results are consistent, the target device 3 is the first target device, and the first target device sends a feedback signal to the communication host 1.
[0085] In one possible implementation, if the communication host 1 does not receive a feedback signal, it sends device ID information to multiple target devices 3 at a preset frequency.
[0086] If the communication host 1 still does not receive a feedback signal after the preset time, it will send the device ID information of another target device 3 to multiple target devices 3.
[0087] This application also provides an electronic device, with reference to... Figure 3 The electronic device may include: at least one processor 5, at least one communication bus 6, user interface 7, network interface 8, and at least one memory 9.
[0088] Among them, communication bus 6 is used to realize the connection and communication between these components.
[0089] The user interface 7 may include a display screen and a camera. Optionally, the user interface 7 may also include a standard wired interface and a wireless interface.
[0090] Among them, the network interface 8 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0091] The processor 5 may include one or more processing cores. The processor 5 connects to various parts of the server via various interfaces and lines, executing instructions, programs, code sets, or instruction sets stored in the memory 9, and calling data stored in the memory 9 to perform various server functions and process data. Optionally, the processor 5 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 5 may integrate one or more of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also be implemented as a separate chip, without being integrated into the processor 5.
[0092] The memory 9 may include random access memory (RAM) or read-only memory. Optionally, the memory 9 may include a non-transitory computer-readable storage medium. The memory 9 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 9 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 9 may also be at least one storage device located remotely from the aforementioned processor 5. As shown in the figure, the memory 9, as a computer storage medium, may include an operating system, a network communication module, a user interface 7 module, and an application program for a communication address configuration method based on a power system.
[0093] exist Figure 3In the electronic device shown, the user interface 7 is mainly used to provide an input interface for the user and to obtain the user input data; while the processor 5 can be used to call an application program stored in the memory 9 that is a communication address configuration method based on a power system. When executed by one or more processors 5, the electronic device executes one or more methods as described in the above embodiments.
[0094] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0095] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0096] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some service interface; the indirect coupling or communication connection between apparatuses or units may be electrical or other forms.
[0097] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0098] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0099] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage device 9. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage device 9 and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage device 9 includes various media capable of storing program code, such as a USB flash drive, external hard drive, magnetic disk, or optical disk.
[0100] The foregoing description is merely an exemplary embodiment of this disclosure and should not be construed as limiting the scope of this disclosure. Any equivalent changes and modifications made in accordance with the teachings of this disclosure shall still fall within the scope of this disclosure. Those skilled in the art will readily conceive of other embodiments of this disclosure upon considering the specification and the disclosure of practical truth. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not described in this disclosure. The specification and embodiments are considered exemplary only, and the scope and spirit of this disclosure are defined by the claims.
Claims
1. A communication address configuration method based on a power system, characterized in that, The method includes: The mobile terminal (2) obtains the device ID information of multiple target devices (3) and sends the device ID information to the communication host (1); The communication host (1) obtains the device ID information and identifies whether the device ID information is invalid; If the communication host (1) identifies that the device ID information is not invalid, it retrieves a pre-stored communication address with no established mapping relationship and establishes a mapping relationship between the device ID information and the communication address; and, The communication host (1) sends the device ID information to multiple target devices (3) via the communication bus. If a feedback signal is received from the first target device, the communication address is sent to the first target device. After sending the device ID information to multiple target devices (3) via the communication bus, the method further includes: The target device (3) receives the device ID information sent by the communication host (1), compares the device ID information sent by the communication host (1) with the preset device ID information, and if the comparison results are consistent, then the target device (3) is the first target device, and the first target device sends the feedback signal to the communication host (1). If the communication host (1) does not receive the feedback signal, it sends the device ID information to multiple target devices (3) at a preset frequency; If the communication host (1) still does not receive a feedback signal after a preset time, it sends the device ID information of another target device (3) to multiple target devices (3).
2. The communication address configuration method based on a power system according to claim 1, characterized in that, The mobile terminal (2) acquires device ID information of multiple target devices (3), specifically including: The mobile terminal (2) scans the QR code preset on the target device (3) to obtain the device ID information recorded in the QR code.
3. The communication address configuration method based on a power system according to claim 1, characterized in that, After the mobile terminal (2) obtains the device ID information of multiple target devices (3), the method further includes: The mobile terminal (2) responds to the input operation of other device information and obtains the other device information, which includes device function information, device parameter information, communication information and device location information.
4. The communication address configuration method based on a power system according to claim 3, characterized in that, After the mobile terminal (2) obtains other information about the device, the method further includes: The mobile terminal (2) sends other information about the device to the PC (4); The PC terminal (4) responds to editing operation instructions for other device information and obtains specific device information; The PC (4) archives the specific device information and sends the specific device information to the communication host (1).
5. The communication address configuration method based on a power system according to claim 1, characterized in that, The mobile terminal (2) sends the device ID information to the communication host (1), specifically including: After the mobile terminal (2) establishes a Bluetooth connection with the communication host (1), it sends the device ID information to the communication host (1).
6. A communication address configuration system based on a power system, characterized in that, It includes a communication host (1) and a mobile terminal (2), wherein: The mobile terminal (2) is used to obtain device ID information of multiple target devices (3) and send the device ID information to the communication host (1); The communication host (1) is used to obtain the device ID information and identify whether the device ID information is invalid; The communication host (1) is further configured to identify, if the device ID information is not invalid, retrieve a pre-stored communication address with no established mapping relationship, and establish a mapping relationship between the device ID information and the communication address; and, The device ID information is sent to multiple target devices (3) via a communication bus. If a feedback signal is received from the first target device, the communication address is sent to the first target device. The target device (3) receives the device ID information sent by the communication host (1), compares the device ID information sent by the communication host (1) with the preset device ID information, and if the comparison results are consistent, then the target device (3) is the first target device, and the first target device sends the feedback signal to the communication host (1). If the communication host (1) does not receive the feedback signal, it sends the device ID information to multiple target devices (3) at a preset frequency; If the communication host (1) still does not receive a feedback signal after a preset time, it sends the device ID information of another target device (3) to multiple target devices (3).
7. A communication address configuration system based on a power system according to claim 6, characterized in that, The system also includes a PC (4); The PC terminal (4) is used to obtain specific device information in response to editing operation instructions for other device information; The PC terminal (4) is also used to archive the specific device information and send the specific device information to the communication host (1).
8. An electronic device, characterized in that, The device includes a processor (5), a memory (9), a user interface (7), and a network interface (8). The memory (9) is used to store instructions. The user interface (7) and the network interface (8) are both used to communicate with other devices. The processor (5) is used to execute the instructions stored in the memory (9) to cause the electronic device to perform the method as described in any one of claims 1-5.
Citation Information
Patent Citations
Networking configuration method and device of intelligent equipment, server and storage medium
CN112015095A
Equipment address allocation method, device and system
CN113612868A