Equipment access and supervision method and system based on swan gap terminal, and storage medium
By adopting equipment access and supervision methods based on Hongmeng terminals in the power grid management system, the problem of increasing operating pressure in traditional systems when facing multiple devices is solved, and the simultaneous access and supervision of multiple devices is realized, which improves the stability and efficiency of the system.
Patent Information
- Application Number
- CN202411771303.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-04
- Publication Date
- 2025-03-25
AI Technical Summary
When traditional power grid management systems face multiple and diverse equipment access and supervision, the operating pressure increases, affecting the stability of the system, making it difficult to meet the needs of complex power grid business scenarios.
The device access and supervision method based on Hongmeng terminal is adopted, and the access request and information data of the device are received through the Hongmeng terminal, and access authentication is performed, and multiple devices are simultaneously accessed and supervised by using distributed characteristics and flexible access protocols.
It significantly improves the ability of equipment access and supervision, supports multiple types and numbers of equipment access, realizes fast access and real-time monitoring, and improves the stability and efficiency of the power grid management system.
Smart Images

Figure CN119691724A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of distribution network equipment management, and specifically relates to a device access and supervision method, system and storage medium based on Hongmeng terminal. Background Art
[0002] The whole of the power system, which consists of substations and transmission and distribution lines of various voltages, is called the power grid, or grid for short. The grid consists of three units: substation, transmission, and distribution. Its task is to transmit and distribute electric energy and change voltage. As an important network in the power system, the grid needs to collect data in real time during operation to monitor the operation status of the grid. This process is generally achieved through real-time monitoring of the equipment connected and supervised in the grid by the grid management system.
[0003] At present, the ability of traditional power grid management systems to access and supervise equipment is limited. For example, in the Chinese invention patent with application number "202211002886.4", the access of devices of the same type but different models is mainly achieved. Correspondingly, in the application number "202411434411.1", the access to devices of the same type is also mainly achieved. That is, the types and quantities of devices that can be accessed and supervised by traditional power grid systems are relatively small.
[0004] However, with the increasing complexity of power grid business scenarios, the types and numbers of devices that need to be accessed and supervised by the power grid management system have increased significantly. The increase in the types and numbers of devices that need to be accessed and supervised can easily put operational pressure on traditional power grid management systems, affect the overall operational stability of the power grid management system, and thus have an adverse impact on the overall operation of the power grid. Summary of the invention
[0005] The technical problem to be solved by the present invention is how to improve the ability of the power grid management system to access and supervise equipment. In view of the shortcomings of the existing technology, a device access and supervision method, system and storage medium based on Hongmeng terminal are provided.
[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0007] In a first aspect, the present invention provides a device access and supervision method based on a Hongmeng terminal, comprising the following steps:
[0008] Receive an access request and information data of at least one device through the Hongmeng terminal, and transmit the information data of the device to the information processing module;
[0009] According to the information data of the device, the information processing module performs access authentication on the device and generates an authentication result;
[0010] When the authentication result is a failure, an access failure message is generated on the interactive terminal to deny the device access to the Hongmeng terminal;
[0011] When the authentication result is successful, access success information is generated at the interactive terminal, allowing the device to access the Hongmeng terminal;
[0012] For the device connected to the Hongmeng terminal, the working data of the device is synchronized to the interactive terminal in real time through the Hongmeng terminal and the information processing module within a preset interval.
[0013] Compared with the prior art, the beneficial effects of the device access and supervision method based on Hongmeng terminal of the present invention include: setting Hongmeng terminal as the main module for device access and supervision, Hongmeng terminal has distributed characteristics and flexible access protocol, among which, the distributed characteristics of Hongmeng terminal can meet the simultaneous access and supervision of multiple devices, thereby improving the ability to supervise devices, and the flexible access protocol of Hongmeng terminal can meet the access of multiple types and quantities of devices, realize rapid access of devices, and significantly improve the access and supervision capabilities of devices; on this basis, the information processing module is used to authenticate the devices in the access process to ensure that the devices that have completed the access meet the access and supervision conditions, and avoid the occurrence of erroneous information during the access and supervision process. At the same time, the interactive terminal is used to generate access process information and information data of the receiving device. Through the regular uploading of work data, it is convenient for management personnel to monitor the equipment in real time, promptly discover and handle equipment failures, and significantly improve the supervision capabilities of the equipment.
[0014] Optionally, receiving an access request and information data of at least one device through the Hongmeng terminal, and transmitting the information data of the device to the information processing module specifically includes:
[0015] After receiving the access request of the device, the data information of the device is collected through the Hongmeng terminal, and the data information of the device and the access request information of the Hongmeng terminal are integrated to form a data packet;
[0016] Transmitting the data packet to the information transmission module through the Hongmeng terminal, parsing and verifying the data packet through the information transmission module, and extracting the data information of the device and the access requirement information of the Hongmeng terminal;
[0017] The data information of the device and the access request information of the Hongmeng terminal are transmitted to the information processing module through the information transmission module.
[0018] Optionally, the data information of the device includes first data information, and the first data information includes at least one of an identification code or an authorization code of the device; and performing access authentication on the device through the information processing module and generating an authentication result specifically includes:
[0019] Extracting pre-stored device information stored in the interactive terminal, and comparing the pre-stored device information with the first data information through the information processing module;
[0020] If the comparison result between the pre-stored device information and the first data information is consistent, a recognition result is generated as preliminary consistency;
[0021] If the comparison result between the pre-stored device information and the first data information is inconsistent, the generated identification result is failure.
[0022] Optionally, the data information of the device further includes second data information, the second data information including at least one of the type, version or hardware configuration of the device, and after the generating identification result is initially consistent, performing access authentication on the device through the information processing module, and generating the authentication result specifically includes:
[0023] Comparing the access requirement information of the Hongmeng terminal and the second data information by the information processing module;
[0024] If the comparison result of the access requirement information of the Hongmeng terminal and the second data information is consistent, the identification result is generated as successful;
[0025] If the comparison result between the access requirement information of the Hongmeng terminal and the second data information is inconsistent, the generated recognition result is failure.
[0026] Optionally, the working data of the device includes status data and collected data. For the device connected to the Hongmeng terminal, after synchronizing the working data of the device to the interactive terminal in real time within a preset interval, the device access and supervision method based on the Hongmeng terminal also includes:
[0027] generating a real-time status of the device according to the status data received by the interactive terminal, and outputting an alarm message through the interactive terminal when the real-time status is abnormal;
[0028] According to the collected data received by the interactive terminal, a collection database is generated and stored in a storage module for the interactive terminal to retrieve.
[0029] Optionally, the Hongmeng terminal is used to install operating software to read data information of the device and adjust configuration parameters of the device through the operating software. For the device connected to the Hongmeng terminal, the device access and supervision method based on the Hongmeng terminal also includes:
[0030] Sending an action instruction to the Hongmeng terminal through the interactive terminal via the information processing module, wherein the action instruction includes at least one of an installation or upgrade instruction of the operating software;
[0031] The Hongmeng terminal retrieves the action data through the storage module according to the action instruction, and completes the action instruction according to the action data, and the action data includes at least one of the installation or upgrade data of the operating software.
[0032] Optionally, for the device connected to the Hongmeng terminal, the device access and supervision method based on the Hongmeng terminal further includes:
[0033] receiving an external terminal access request through the information processing module, and verifying the external terminal according to verification data of the external terminal access request;
[0034] If the verification is passed, the access channel between the interactive terminal and the external terminal is opened, and the execution data of the access request of the external terminal is read and executed through the interactive terminal;
[0035] If the verification fails, an access record of the external terminal is generated and stored in a storage module.
[0036] In the second aspect, the present invention provides a device access management system based on HarmonyOS terminal, which is applied to the device access and supervision method based on HarmonyOS terminal as described above. The device access management system based on HarmonyOS terminal includes a HarmonyOS terminal, an information processing module and an interactive terminal. The HarmonyOS terminal is communicatively connected with the interactive terminal through the information processing module.
[0037] Compared with the prior art, the beneficial effects of the device access management system based on Hongmeng terminal of the present invention are the same as the beneficial effects of the device access management method based on Hongmeng terminal as described above, and will not be repeated here.
[0038] Optionally, the device access management system based on Hongmeng terminal also includes a storage module, which includes a cache unit, a database and a file server. The cache unit is used to receive and store temporary data and intermediate data in the device access and management process, the database is used to receive and store data information and configuration parameters of the device, and the file server is used to receive and store installation or upgrade data of the operating software.
[0039] In the third aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the device access and supervision method based on the Hongmeng terminal as described above is implemented.
[0040] Compared with the prior art, the beneficial effects of the computer-readable storage medium of the present invention are the same as the beneficial effects of the device access management method based on Hongmeng terminal as described above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The present invention is further described in detail below in conjunction with the accompanying drawings.
[0042] Figure 1 : A flowchart of a device access and supervision method based on a Hongmeng terminal in one embodiment of the present invention;
[0043] Figure 2 : Figure 1 A sub-flowchart of the device access and supervision method based on Hongmeng terminal shown in ;
[0044] Figure 3 : Figure 1 Another sub-flow chart of the device access and supervision method based on Hongmeng terminal shown in ;
[0045] Figure 4 : Figure 1 Another sub-flow chart of the device access and supervision method based on Hongmeng terminal shown in ;
[0046] Figure 5 : A flowchart of a device access and supervision method based on a Hongmeng terminal in another embodiment of the present invention;
[0047] Figure 6 : A flowchart of a device access and supervision method based on a Hongmeng terminal in another embodiment of the present invention;
[0048] Figure 7 : A flowchart of a device access and supervision method based on a Hongmeng terminal in another embodiment of the present invention;
[0049] Figure 8 : A schematic diagram of communication transmission of a device access management system based on Hongmeng terminals in one embodiment of the present invention;
[0050] Fig. 9 : A communication transmission diagram of a device access management system based on Hongmeng terminals in another embodiment of the present invention. DETAILED DESCRIPTION
[0051] In order to better understand the present invention, the content of the present invention is further clearly described below in conjunction with the embodiments and the accompanying drawings, but the protection content of the present invention is not limited to the following embodiments. In the following description, a large number of specific details are provided to provide a more thorough understanding of the present invention. However, it is obvious to those skilled in the art that the present invention can be implemented without one or more of these details.
[0052] In the related technologies, with the increasing number of access terminals of the power grid management platform and the increasing complexity of business scenarios, the current southbound device access technology of the power grid management platform is difficult to support the rapidly growing collection needs of various professional data; and with the update and iteration of edge computing equipment technology, new devices such as Hongmeng system equipment, low-voltage intelligent integrated distribution box intelligent gateway, and industrial CPE edge computing gateway emerge in an endless stream, exposing the problems of limited access support capabilities and insufficient management capabilities of the power grid management platform equipment. The rapid development of Internet of Things technology has promoted the intelligent transformation of the distribution network, but at the same time it has also put forward higher requirements for equipment access management technology. At present, the equipment access management technology of the distribution network faces multiple challenges. On the one hand, with the introduction of new operating systems such as Hongmeng system, the equipment has shown new features in data format, communication protocol and security authentication, which has aggravated the limitations of traditional access technology. On the other hand, the equipment access and supervision capabilities are weak, the number and types of access are small, and it is difficult to achieve remote configuration, upgrade and maintenance, which affects the efficiency and life of the equipment. In addition, traditional access methods require regular equipment inspections, troubleshooting, and operating software upgrades, which increases maintenance costs and time costs; due to the wide variety of equipment and complex communication protocols, maintenance personnel need to have a high level of technical skills and expertise; due to network delays, equipment failures, or limitations of communication protocols, traditional access methods lack real-time performance during data transmission, affecting the operating efficiency and safety of the power grid.
[0053] In order to solve the above technical problems, firstly, Figure 1 As shown, an embodiment of the present invention provides a device access and supervision method based on a Hongmeng terminal, comprising the following steps:
[0054] Receive access requests and information data from at least one device through the Hongmeng terminal, and transmit the information data of the device to the information processing module.
[0055] Specifically, Figure 8 As shown, the Hongmeng terminal has good distributed characteristics and can form multiple communication transmission channels at the same time, communicate and transmit with devices and information processing modules to realize the reception and transmission of information. At the same time, the Hongmeng terminal has a flexible access protocol, that is, the Hongmeng terminal can apply multiple types of access protocols to realize the reception of access requests from different types of devices. For example, Fig. 9As shown, the Hongmeng terminal can communicate with the information processing module through the MQTT protocol, and can also access the device through the HTTP protocol.
[0056] According to the information data of the device, the device is access authenticated through the information processing module and an authentication result is generated.
[0057] Specifically, the information data sent by the device includes authentication information that can be received and identified by the information processing module. The information processing module can perform access authentication based on the authentication information and generate an authentication result.
[0058] When the authentication result is failed, access failure information is generated on the interactive terminal, and the device is denied access to the Harmony terminal.
[0059] Specifically, if the authentication result is a failure, it means that the device sending the access request does not meet the access requirements. For example, the access requirements may be the type of device, the performance parameters of the device, and the operating status of the device. Figure 8 and Fig. 9 As shown, access failure information will be generated in the interactive terminal and can also be stored in the file server of the storage module to form an access log for query. For example, the interactive terminal can be a portable platform for data input and information display query such as a mobile phone or a PC platform such as a computer.
[0060] When the authentication result is successful, access success information is generated on the interactive terminal, allowing the device to access the Harmony terminal.
[0061] Specifically, if the authentication result is successful, it means that the device sending the access request meets the access requirements, and the HarmonyOS terminal accesses the device; when the authentication result is successful, access success information will still be generated on the interactive terminal, and it can also be stored to form an access log for query.
[0062] For devices connected to the HarmonyOS terminal, the device's working data will be synchronized to the interactive terminal in real time through the HarmonyOS terminal and the information processing module within the preset interval.
[0063] Specifically, for devices connected to the Hongmeng terminal, the devices can be supervised by synchronizing the working data of the devices to the interactive terminal in real time for real-time query, and the data storage package corresponding to the device can be stored for query and retrieval; the preset interval time is a predetermined time. For all devices, a unified preset interval time can be used, or different preset interval times can be set according to the type of device. For example, the preset interval time is a unified time, specifically one hour, that is, every hour, the working data of the device is synchronized to the interactive terminal in real time through the Hongmeng terminal and the information processing module; the working data includes the collection data of the device and the status information of the device.
[0064] In this embodiment, Figure 1 and Figure 8 As shown, the Hongmeng terminal is set as the main module for access and supervision of the device. In this way, the distributed characteristics and flexible access protocols of the Hongmeng terminal can be utilized. The distributed characteristics of the Hongmeng terminal can meet the simultaneous access and supervision of multiple devices, thereby improving the ability to supervise the device. The flexible access protocol of the Hongmeng terminal can meet the access of multiple types and numbers of devices, realize rapid access of devices, and significantly improve the access and supervision capabilities of the device. On this basis, the information processing module is used to authenticate the devices in the access process to ensure that the devices that have completed the access meet the access and supervision conditions, avoid the occurrence of erroneous information in the access and supervision process, and use the interactive terminal to generate access process information and information data of the receiving device. Through the regular uploading of work data, it is convenient for management personnel to monitor the equipment in real time, promptly discover and handle equipment failures, and significantly improve the equipment supervision capabilities.
[0065] It should be noted that, in this embodiment, the connected and supervised equipment includes at least one of a photovoltaic inverter, a photovoltaic circuit breaker, a multi-function meter, a leakage protector, a temperature and humidity sensor, a smoke sensor or a water level sensor. Correspondingly, the working data of the equipment includes at least one of the equipment type, capacity, off-grid / grid status, online time, number of branches, communication address, temperature and humidity, smoke concentration or water level height.
[0066] Alternatively, if Figure 2 As shown, receiving an access request and information data of at least one device through a Hongmeng terminal, and transmitting the information data of the device to the information processing module specifically includes:
[0067] After receiving the access request of the device, the data information of the device is collected through the Hongmeng terminal, and the data information of the device and the access request information of the Hongmeng terminal are integrated to form a data packet.
[0068] Specifically, after the device sends an access request, the Hongmeng terminal can collect device information and its own information and package them into a data packet in json format.
[0069] The data packet is transmitted to the information transmission module through the Hongmeng terminal, and the data packet is parsed and verified by the information transmission module to extract the data information of the device and the access requirement information of the Hongmeng terminal.
[0070] Specifically, Figure 8 and Fig. 9As shown, the information transmission module includes a gateway and an EMQX cluster. The gateway can communicate with the Hongmeng terminal through different protocols. After the gateway receives the data packet, it will encrypt the data packet and then transmit the encrypted data packet to the EMQX cluster; the EMQX cluster has a distributed feature and can receive data packets from different devices. After receiving the data packet, the data packet can be parsed to extract the data information of the device contained in the data packet and the access requirement information of the Hongmeng terminal. At the same time, the EMQX cluster verifies the integrity and authenticity of the data packet. For example, when the Hongmeng terminal packages the data packet, a verification code can be added to the data packet. During the parsing process of the data packet, if the verification code is extracted by the EMQX cluster, the data packet is determined to be authentic and complete. If the verification code is not extracted, the data packet is determined to be unauthentic or incomplete.
[0071] The device’s data information and the access request information of the Hongmeng terminal are transmitted to the information processing module through the information transmission module.
[0072] Specifically, Figure 8 and Fig. 9 As shown, the information processing module includes a message processing service unit, which can receive data information of the device transmitted by the information transmission module and access requirement information of the Hongmeng terminal, and the message processing service unit can perform device access authentication.
[0073] In this optional embodiment, after the device sends an access request, the Hongmeng terminal can collect device information and its own information and package them into a data packet in JSON format. JSON (JavaScript Object Notation) is a lightweight data exchange format that is easy to parse and generate, which can improve the data packet transmission effect and the efficiency of subsequent data packet parsing; on this basis, Figure 8 and Fig. 9 As shown, a gateway and an EMQX cluster are set up to form an information transmission module. The gateway can be used to realize communication with the Hongmeng terminal between different protocols. At the same time, the gateway will encrypt the data packets to ensure the security of data packet transmission. The EMQX cluster has a distributed characteristic and can receive data packets from different devices. At the same time, the data packets can be parsed and verified to further ensure the efficiency and security of data transmission. In addition, the message processing service unit in the information processing module can receive the data information of the information transmission module transmission device and the access requirement information of the Hongmeng terminal, realize rapid authentication of device access, and effectively improve the efficiency of device access.
[0074] Optionally, the data information of the device includes first data information, and the first data information includes at least one of an identification code or an authorization code of the device; performing access authentication on the device through the information processing module and generating an authentication result specifically includes:
[0075] like Figure 3 As shown, the pre-stored device information stored in the interactive terminal is extracted, and the pre-stored device information and the first data information are compared through the information processing module.
[0076] Specifically, managers can use interactive terminals to create equipment data files and form pre-stored equipment information, such as Figure 8 and Fig. 9 As shown, the pre-stored device information can be stored in the database of the storage module; the device identification code can be unique identification information such as the device ID, and the device authorization code can be an information code built into the data by the device before transmitting the data.
[0077] If the comparison result between the pre-stored device information and the first data information is consistent, the generated identification result is preliminary consistency.
[0078] Specifically, the message processing service unit compares the pre-stored device information and the data information of the device, and the recognition result is preliminarily consistent, indicating that the first data information in the data information of the device applying for access is the same as the pre-stored device information, that is, the device information applying for access is consistent with the device information pre-set by the administrator, but because the device also needs to meet the access requirements of the Harmony terminal, the generated recognition result is preliminarily consistent.
[0079] If the comparison result between the pre-stored device information and the first data information is inconsistent, the generated identification result is failure.
[0080] Specifically, if the identification result is failure, it means that the first data information in the data information of the device applying for access is different from the pre-stored device information, that is, the device information applying for access is inconsistent with the device information preset by the administrator, and the device applying for access is not the required device.
[0081] In this optional embodiment, the management personnel can use the interactive terminal to establish a device data file to form pre-stored device information. After the information processing module receives the data information of the device, the pre-stored device information can be extracted from the device data file for comparison to see whether the pre-stored device information matches the first data information of the device data information. If they match, it means that the device applying for access has the conditions for further verification of whether it has the authority to access the Hongmeng terminal, such as Figure 8 and Fig. 9 As shown, the identification result is stored in the cache unit of the storage module, pending subsequent verification of whether it has the authority to access the Hongmeng terminal. If there is no match, it means that the device applying for access does not meet the access conditions at all. In this way, through the preliminary authentication method, the device applying for access is first preliminarily identified, which effectively reduces the steps for some devices that do not meet the access conditions when applying for access, thereby improving the efficiency of device access applications and reducing the operating pressure of the entire access and supervision system.
[0082] Optionally, the data information of the device further includes second data information, the second data information including at least one of the type, version or hardware configuration of the device. After the identification result is generated as a preliminary consistency, such as Figure 4 As shown, the device is access authenticated through the information processing module, and the authentication result is generated, which specifically includes:
[0083] The access requirement information of the Harmony terminal and the second data information are compared through the information processing module; if the comparison results of the access requirement information of the Harmony terminal and the second data information are consistent, the generated recognition result is successful; if the comparison results of the access requirement information of the Harmony terminal and the second data information are inconsistent, the generated recognition result is failed.
[0084] In this optional embodiment, the message processing service unit compares the pre-stored device information with the second data information in the device's data information to see if they match. If they match, it means that the device applying for access meets the access requirements of the Harmony system and has the authority to access the Harmony terminal, and can operate stably after accessing the Harmony system. If they do not match, it means that although the first data information of the device applying for access matches the pre-stored device information, the device applying for access does not meet the access requirements of the Harmony system, that is, the stability of the device after accessing the Harmony system is questionable. Therefore, in order to ensure the stability of the entire access and supervision system, the device's access cannot be allowed, thereby ensuring the stable operation of the entire device access and supervision system based on the Harmony system.
[0085] Optionally, the working data of the device includes status data and collection data. For a device connected to a Hongmeng terminal, the working data of the device is synchronized to the interactive terminal in real time within a preset interval. Figure 5 As shown, the device access and supervision method based on Hongmeng terminal also includes:
[0086] The real-time status of the equipment is generated according to the status data received by the interactive terminal. When the real-time status is abnormal, the alarm information is output through the interactive terminal.
[0087] Specifically, the status data may be a change value of a device parameter, etc.; the alarm information may be a pop-up window information appearing on the interactive terminal display page, or color change information of the interactive terminal display page, or sound information output through the interactive terminal.
[0088] According to the collected data received by the interactive terminal, a collection database is generated and stored in the storage module for the interactive terminal to retrieve.
[0089] Specifically, Figure 8 and Fig. 9 As shown, the acquisition database is stored in a database in the storage module.
[0090] In this optional embodiment, after the access is completed, the working data of the equipment, that is, the status data and the collected data, can be synchronized with the interactive terminal in real time. With this arrangement, when the interactive terminal receives the status data, the real-time status of the equipment can be analyzed through the status data, so that the interactive terminal can output an alarm message when the real-time status of the equipment is abnormal, and remind the management personnel, so as to repair, adjust and replace the equipment in time to ensure the stable operation of the entire equipment; at the same time, the interactive terminal can generate a collection database from the collected data and store it in the storage module for the convenience of the management personnel to consult.
[0091] It should be noted that, in an embodiment of the present invention, the information processing module also includes a file processing service unit and a business processing service unit. The management personnel can query the log data through the interactive terminal. Specifically, after the management personnel sends the query instruction through the interactive terminal, the message processing service unit and the EMQX cluster parse the action instruction and send it to the Hongmeng terminal. After receiving the query instruction, the Hongmeng terminal collects the log information of the corresponding device and packages it and uploads it to the file server of the storage module through the file processing service unit. Then, the business processing service unit retrieves the log file in the file server and uploads it to the interactive terminal for log display.
[0092] Different from the above embodiment, the Hongmeng terminal is used to install the operating software to read the data information of the device and adjust the configuration parameters of the device through the operating software. For devices connected to the Hongmeng terminal, such as Figure 6 As shown, the device access and supervision method based on Hongmeng terminal also includes:
[0093] The action instruction is sent to the Hongmeng terminal through the interactive terminal via the information processing module, and the action instruction includes at least one of the installation or upgrade instructions of the operating software.
[0094] Specifically, the operating software refers to an application program, i.e., an APP, which includes a photovoltaic APP, a charging pile APP, a traffic procurement APP, a fault analysis APP, or a leakage protection APP; Figure 8 and Fig. 9 As shown, after the interactive terminal sends the action instruction, the business processing service unit of the information processing module parses the action instruction, and then sends the action instruction through the message processing service unit and the EMQX cluster.
[0095] The Hongmeng terminal retrieves action data through the storage module according to the action instruction, and completes the action instruction according to the action data. The action data includes at least one of the installation or upgrade data of the operating software.
[0096] Specifically, Figure 8 and Fig. 9As shown, the information processing module also includes a file processing service unit and a business processing service unit. After receiving the action instruction, the Hongmeng terminal retrieves at least one of the installation or upgrade data of the operating software stored in the file server of the storage module through the file processing service unit and the business processing service unit of the information processing module to perform the installation or upgrade operation of the operating software; in addition, the action instruction received by the Hongmeng terminal also includes the address information and directory information of the installation package / upgrade package of the operating software.
[0097] In this optional embodiment, by issuing action instructions via the interactive terminal, the installation and upgrade of the operating software in the Harmony terminal can be quickly completed, facilitating the stable operation of the entire device access and supervision system based on the Harmony terminal.
[0098] Different from the above embodiments, Figure 7 As shown, for a device connected to a Hongmeng terminal, the device access and supervision method based on the Hongmeng terminal also includes:
[0099] An external terminal access request is received through the information processing module, and the external terminal is verified according to the verification data of the external terminal access request.
[0100] Specifically, the information processing module also includes a business processing service unit, which is configured with an API interface. External terminals can access the Harmony terminal through the API interface and send access requests.
[0101] If the verification is passed, the access channel between the interactive terminal and the external terminal is opened, and the execution data of the external terminal access request is read and executed through the interactive terminal.
[0102] If the verification fails, an access record of the external terminal is generated and stored in the storage module.
[0103] In this optional embodiment, the API interface configured by the business processing service unit can be used to realize communication between external terminals such as other system platforms and the business processing service unit. With this arrangement, the external terminal can obtain relevant data of the device access management system based on the Harmony terminal through the API interface, and transmit information data back and forth, wherein the relevant data of the device access management system based on the Harmony terminal includes but is not limited to the number information of accessed and supervised devices; on this basis, the access request sent by the external terminal is also verified by the information processing module to ensure the security of the external terminal access.
[0104] In the second aspect, an embodiment of the present invention also provides a device access management system based on HarmonyOS terminal, which is applied to the above-mentioned device access and supervision method based on HarmonyOS terminal. The device access management system based on HarmonyOS terminal includes a HarmonyOS terminal, an information processing module and an interactive terminal. The HarmonyOS terminal is communicatively connected with the interactive terminal through the information processing module.
[0105] The technical effect of the device access management system based on HarmonyOS terminal in this embodiment is similar to the technical effect of the device access management method based on HarmonyOS terminal mentioned above, and will not be repeated here.
[0106] Optionally, the device access management system based on Hongmeng terminal also includes a storage module, which includes a cache unit, a database and a file server. The cache unit is used to receive and store temporary data and intermediate data in the device access and management process, the database is used to receive and store device data information and configuration parameters, and the file server is used to receive and store installation or upgrade data of the operating software.
[0107] Specifically, the cache unit can be used to store temporary data and intermediate data. The use of the cache unit can reduce the number of times the system accesses the database, improve data access speed and processing efficiency; the database can be used to store persistent data that needs to be saved and managed for a long time, including but not limited to device version, device parameters, device status, system time or login password. The database can facilitate the query and analysis of device information data; the file server can be used to store installation packages, upgrade packages, patch packages and log files of the operating software.
[0108] In this optional embodiment, a cache module is composed of a cache unit, a database and a file server, and a variety of data storage forms are adopted to effectively improve the data processing efficiency and reliability of the entire device access and supervision system based on the Hongmeng system.
[0109] In the third aspect, an embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned device access and supervision method based on Hongmeng terminal is implemented.
[0110] The technical effect of the computer-readable storage medium in this embodiment is similar to the technical effect of the above-mentioned device access and supervision method based on Hongmeng terminal, which will not be repeated here.
[0111] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0112] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0113] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Other modifications or equivalent substitutions made to the technical solution of the present invention by ordinary technicians in the field should be included in the scope of the claims of the present invention as long as they do not depart from the spirit and scope of the technical solution of the present invention.
Claims
1. A device access and supervision method based on Hongmeng terminal, characterized by: The following steps are involved: Receive an access request and information data of at least one device through the Hongmeng terminal, and transmit the information data of the device to the information processing module; According to the information data of the device, the information processing module performs access authentication on the device and generates an authentication result; When the authentication result is a failure, an access failure message is generated on the interactive terminal to deny the device access to the Hongmeng terminal; When the authentication result is successful, access success information is generated at the interactive terminal, allowing the device to access the Hongmeng terminal; For the device connected to the Hongmeng terminal, the working data of the device is synchronized to the interactive terminal in real time through the Hongmeng terminal and the information processing module within a preset interval.
2. The device access and supervision method based on Hongmeng terminal according to claim 1 is characterized in that: The receiving an access request and information data of at least one device through the Hongmeng terminal, and transmitting the information data of the device to the information processing module specifically includes: After receiving the access request of the device, the data information of the device is collected through the Hongmeng terminal, and the data information of the device and the access request information of the Hongmeng terminal are integrated to form a data packet; Transmitting the data packet to the information transmission module through the Hongmeng terminal, parsing and verifying the data packet through the information transmission module, and extracting the data information of the device and the access requirement information of the Hongmeng terminal; The data information of the device and the access request information of the Hongmeng terminal are transmitted to the information processing module through the information transmission module.
3. The device access and supervision method based on Hongmeng terminal as claimed in claim 2 is characterized in that: The data information of the device includes first data information, and the first data information includes at least one of an identification code or an authorization code of the device; performing access authentication on the device through the information processing module and generating an authentication result specifically includes: Extracting pre-stored device information stored in the interactive terminal, and comparing the pre-stored device information with the first data information through the information processing module; If the comparison result between the pre-stored device information and the first data information is consistent, a recognition result is generated as preliminary consistency; If the comparison result between the pre-stored device information and the first data information is inconsistent, the generated identification result is failure.
4. The device access and supervision method based on Hongmeng terminal as claimed in claim 3 is characterized in that: The data information of the device also includes second data information, and the second data information includes at least one of the type, version, or hardware configuration of the device. After the generated identification result is initially consistent, the access authentication of the device is performed by the information processing module, and the generated authentication result specifically includes: Comparing the access requirement information of the Hongmeng terminal and the second data information by the information processing module; If the comparison result of the access requirement information of the Hongmeng terminal and the second data information is consistent, the identification result is generated as successful; If the comparison result between the access requirement information of the Hongmeng terminal and the second data information is inconsistent, the generated recognition result is failure.
5. The device access and supervision method based on Hongmeng terminal according to any one of claims 1 to 4, characterized in that: The working data of the device includes status data and collected data. For the device connected to the Hongmeng terminal, after synchronizing the working data of the device to the interactive terminal in real time within a preset interval, the device access and supervision method based on the Hongmeng terminal also includes: generating a real-time status of the device according to the status data received by the interactive terminal, and outputting an alarm message through the interactive terminal when the real-time status is abnormal; According to the collected data received by the interactive terminal, a collection database is generated and stored in a storage module for the interactive terminal to retrieve.
6. The device access and supervision method based on Hongmeng terminal according to any one of claims 1 to 4, characterized in that: The Hongmeng terminal is used to install operating software to read data information of the device and adjust configuration parameters of the device through the operating software. For the device connected to the Hongmeng terminal, the device access and supervision method based on the Hongmeng terminal also includes: Sending an action instruction to the Hongmeng terminal through the interactive terminal via the information processing module, wherein the action instruction includes at least one of an installation or upgrade instruction of the operating software; The Hongmeng terminal retrieves the action data through the storage module according to the action instruction, and completes the action instruction according to the action data, and the action data includes at least one of the installation or upgrade data of the operating software.
7. The device access and supervision method based on Hongmeng terminal according to any one of claims 1 to 4, characterized in that: For the device connected to the Hongmeng terminal, the device access and supervision method based on the Hongmeng terminal also includes: receiving an external terminal access request through the information processing module, and verifying the external terminal according to verification data of the external terminal access request; If the verification is passed, the access channel between the interactive terminal and the external terminal is opened, and the execution data of the access request of the external terminal is read and executed through the interactive terminal; If the verification fails, an access record of the external terminal is generated and stored in a storage module.
8. A device access management system based on Hongmeng terminal, characterized by: Applied to the device access and supervision method based on HarmonyOS terminal as described in any one of claims 1 to 7, the device access management system based on HarmonyOS terminal includes a HarmonyOS terminal, an information processing module and an interactive terminal, and the HarmonyOS terminal is communicatively connected to the interactive terminal through the information processing module.
9. The device access management system based on Hongmeng terminal according to claim 8 is characterized in that: It also includes a storage module, which includes a cache unit, a database and a file server. The cache unit is used to receive and store temporary data and intermediate data during device access and management. The database is used to receive and store data information and configuration parameters of the device. The file server is used to receive and store installation or upgrade data of the operating software.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, the device access and supervision method based on the Hongmeng terminal as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Calibration access method, device and equipment of optical sensor and storage medium
CN115361211A
Method for safely connecting photovoltaic inverter to power grid information system and secure communication connector
CN118972170B
Cited By
Web shell command line access and operation management system and web shell command line access and operation management method of swan mongolian 5.0 system
CN121118027A
A method and system for standardizing access of power grid equipment based on a hon g meng system
CN122824591A