Power data transmission method, device and system and electronic equipment
By combining LoRa gateways and 4G gateways, the power data transmission method solves the problems of low efficiency and unstable data transmission in traditional power safety monitoring. It enables local relay and remote reporting of power data in areas with weak or no mobile communication signals, improving the adaptability of power safety monitoring and the reliability of data transmission.
Patent Information
- Application Number
- CN202510929659.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-07
- Publication Date
- 2025-11-04
AI Technical Summary
Existing technologies cannot effectively monitor users' electricity safety. Traditional manual inspections are inefficient, and the built-in protection devices of electrical equipment cannot detect deep-seated safety hazards in a timely manner. Furthermore, existing electricity monitoring systems have limited functionality and poor data transmission stability, making it impossible to achieve remote real-time monitoring and big data analysis.
By combining LoRa gateways and 4G gateways, and using wireless and mobile communication protocols, the power data transmission path is intelligently determined. In areas with weak or no mobile communication signals, local relay and remote reporting are achieved. The host device is used as a relay node to ensure the continuity and stability of data transmission.
It improves the adaptability and flexibility of electricity safety monitoring, reduces the risk of data loss due to poor communication, and realizes comprehensive and efficient monitoring and early warning of users' electricity safety.
Smart Images

Figure CN120897176A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of electric power, in particular, the present application relates to a kind of electric power data transmission method, device, system and electronic equipment. BACKGROUND
[0002] With the continuous development of smart grid and Internet of Things technology, the importance of user power safety detection is increasingly prominent. At present, the conventional power safety detection means mainly includes artificial periodic inspection and basic protection device of electrical equipment. The former has problems such as low monitoring efficiency and inability to realize real-time early warning; the latter is mostly aimed at common faults such as short circuit and overload, and it is difficult to find deep-seated safety hazards such as line aging induced leakage and electric vehicle illegal charging.
[0003] In addition, some early power monitoring systems have relatively single functions, often can only collect part of electrical parameters, and the data transmission stability is poor, which is difficult to support remote real-time monitoring and big data analysis, and cannot meet the current demand for efficient and accurate power safety management.
[0004] From the above, the problem that user's power safety cannot be effectively monitored still needs to be solved. SUMMARY
[0005] The present application provides a kind of electric power data transmission method, device, electronic equipment and storage medium, can solve the problem that user's power safety cannot be effectively monitored in related technology. The technical solution is as follows:
[0006] According to one aspect of the present application, a power data transmission method is applied to a power data transmission system, the system includes at least one gateway device, a host device and a cloud device, the method comprises: acquiring power data by each gateway device using a first channel; the first channel is a channel for data transmission based on wireless communication protocol; whether there is a usable second channel between each gateway device and the cloud device is detected, if not, the power data is transmitted from the gateway device to the host device using the first channel; the second channel is a communication channel for data transmission based on mobile communication protocol; each power data is uploaded to the cloud device by the host device using the second channel.
[0007] According to an aspect of the present application, a power data transmission device is deployed in a data transmission system, the data transmission system comprising at least one gateway device, a host device and a cloud device, the device comprising: a data acquisition module configured to acquire corresponding power data from each of the gateway devices via a first channel; the first channel is a channel for data transmission based on a wireless communication protocol; a channel transmission module configured to detect whether a second channel is available between each of the gateway devices and the cloud device, and if not, transmit the power data from the gateway device to the host device via the first channel; the second channel is a communication channel for data transmission based on a mobile communication protocol signal; and a data upload module configured to upload each of the power data to the cloud device via the second channel by the host device.
[0008] According to an aspect of the present application, a power data transmission system comprises at least one gateway device, a host device and a cloud device; wherein the gateway device is configured to acquire corresponding power data via a first channel; the first channel is a channel for data transmission based on a wireless communication protocol; to detect whether a second channel is available between the gateway device and the cloud device, and if not, transmit the power data to the host device via the first channel; the second channel is a communication channel for data transmission based on a mobile communication protocol signal; the host device is configured to receive the power data sent by the gateway device, and upload each of the power data to the cloud device via the second channel; and the cloud device is configured to receive each of the power data uploaded by the host device.
[0009] According to an aspect of the present application, an electronic device comprises at least one processor and at least one memory, wherein the memory has stored thereon a computer program, and the computer program is executed by the processor to implement the power data transmission method as described above.
[0010] According to an aspect of the present application, a storage medium has stored thereon a computer program, and the computer program is executed by one or more processors to implement the power data transmission method as described above.
[0011] According to an aspect of the present application, a computer program product comprises a computer program, and the computer program is executed by one or more processors to implement the power data transmission method as described above.
[0012] The technical scheme provided by the present application has the beneficial effects that:
[0013] In the technical solution, the power data transmission path can be intelligently determined according to the field communication condition, the local relay and remote reporting of the power data can be realized in the area with weak mobile communication signal or no coverage, thereby ensuring the continuity of data transmission and the stability of system operation, reducing the risk of data loss caused by poor communication, and improving the adaptability, flexibility and practical value, thereby effectively monitoring the power safety of users, and solving the problem that the power safety of users cannot be effectively monitored in the related art. BRIEF DESCRIPTION OF DRAWINGS
[0014] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the description of the embodiments of the present application will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor on the basis of these drawings.
[0015] Figure 1 is a hardware structure diagram of a power data transmission system according to an exemplary embodiment;
[0016] Figure 2 is Figure 1 is a specific implementation schematic diagram of a data transmission system according to the embodiment;
[0017] Figure 3 is Figure 1 is a specific implementation schematic diagram of another data transmission system according to the embodiment;
[0018] Figure 4 is Figure 1 is a specific implementation schematic diagram of a data transmission system in an area without mobile communication signal according to the embodiment;
[0019] Figure 5 is a flowchart of a power data transmission method according to an exemplary embodiment;
[0020] Figure 6 is a structural block diagram of a power data transmission device according to an exemplary embodiment;
[0021] Figure 7 is a structural block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0022] Embodiments of the present application are described below in detail with reference to the accompanying drawings, examples of which are shown in the drawings, wherein the same or similar notations represent the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by reference to the accompanying drawings are exemplary only, and are for the purpose of explanation of the present application, and are not to be construed as limiting the present application.
[0023] Those skilled in the art can understand that, unless specifically stated otherwise, the singular forms "a", "an", and "the" used herein also include the plural forms. It should be further understood that the use of the term "including" in the specification of the present disclosure means that the features, integers, steps, operations, elements, and / or components described are present, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. It should be understood that when we say an element is "connected" or "coupled" to another element, it can be directly connected or coupled to the other element, or there can be an intermediate element. In addition, "connected" or "coupled" used herein can include wireless connection or wireless coupling. The phrase "and / or" used herein includes all or any single unit and all combinations of the associated listed items.
[0024] As mentioned earlier, the traditional artificial regular inspection method has the problems of low efficiency and difficulty in real-time monitoring; relying on the basic protection devices of simple electrical equipment, these devices can only protect some common faults such as obvious short circuit and overload, and cannot monitor complex electrical safety hazards such as line aging caused leakage and illegal charging of electric vehicles in the room, and cannot effectively detect and warn.
[0025] That is, some simple electrical monitoring systems developed early have a single function, can only monitor part of the electrical parameters, and have poor data transmission stability, cannot realize remote real-time monitoring and data analysis, and are difficult to meet the needs of modern society for comprehensive, accurate and efficient detection of user electrical safety, making user electrical safety face many potential risks.
[0026] Further, the electrical monitoring system can be deployed by combining LoRa gateway and 4G gateway, which can realize a certain degree of remote data transmission. However, the inventors found that the combination of LoRa gateway and 4G gateway technology is not close enough, but often has the problem of high operating cost, which causes certain obstacles to large-scale popularization and application. At the same time, in areas where 4G signal coverage is poor, the transmission data capacity is limited, and once in areas where 4G signal coverage is not available, these systems cannot realize wireless connection with the cloud platform, and can only realize wired data transmission, increasing the construction difficulty and cost, and cannot provide more forward-looking and preventive electrical safety suggestions for users.
[0027] From the above, the related art still has the defect that the user's power consumption safety cannot be effectively monitored.
[0028] Therefore, the power data transmission method provided by the present application can effectively monitor the user's power consumption safety, and accordingly, the power data transmission method is applicable to a power data transmission device which can be deployed in a power transmission system.
[0029] In order to make the purpose, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the drawings.
[0030] Figure 1 A structural block diagram of a power transmission system related to a power data transmission method. It should be noted that this structural block diagram is only an example suitable for the present application and cannot be considered as providing any limitation on the use range of the present application.
[0031] As shown in Figure 1 , the data transmission system 100 includes at least one gateway device 110, a host device 130 and a cloud device 150;
[0032] The gateway device is configured to acquire corresponding power data respectively by using a first channel; the first channel is a channel for data transmission based on a wireless communication protocol; and the gateway device is configured to detect whether a second channel is available between the gateway device and the cloud device, and if not, transmit the power data to the host device by using the first channel; the second channel is a communication channel for data transmission based on a mobile communication protocol.
[0033] The host device is configured to receive the power data transmitted by the gateway device, and upload each power data to the cloud device by using the second channel.
[0034] The cloud device is configured to receive each power data uploaded by the host device.
[0035] It should be noted that the gateway device is an electronic device supporting both the wireless communication protocol and the mobile communication protocol, and the host device is also an electronic device supporting both the wireless communication protocol and the mobile communication protocol. The wireless communication protocol can be LoRa protocol, and the mobile communication protocol can be 4G communication protocol, which are not limited herein.
[0036] In one possible implementation, each gateway device is connected to a host device, and the host device is connected to the cloud device.
[0037] In another possible implementation, the system further comprises power grid access devices and power monitoring devices; wherein the power monitoring devices are connected to the power grid access devices one by one; each power monitoring device is connected to a gateway device; the power grid access devices are configured to collect power data and transmit the power data to the gateway device; and the gateway device is configured to receive the power data collected by each power grid access device.
[0038] Figure 2 A specific implementation schematic diagram of a data transmission system is shown in FIG. 1, wherein Figure 2 As shown in FIG. 1, the gateway device refers to a LoRa-4G gateway, the host device refers to a LoRa-4G gateway host, and the cloud device refers to a cloud platform.
[0039] Each LoRa-4G gateway can be connected to one LoRa-4G gateway host, and each LoRa-4G gateway can also be connected to one cloud platform.
[0040] It should be noted that the first channel (i.e., the LoRa channel) between each LoRa-4G gateway and the LoRa-4G gateway host is a communication channel established based on the LoRa communication protocol; and the second channel (i.e., the 4g channel) between each LoRa-4G gateway and the cloud platform is a communication channel established based on the 4g communication protocol.
[0041] Figure 3 A specific implementation schematic diagram of another data transmission system is shown in FIG. 2, wherein Figure 3 As shown in FIG. 2, the gateway device refers to a LoRa-4G gateway, and the power monitoring device refers to a LoRa monitoring slave.
[0042] Each LoRa monitoring slave is connected to one LoRa-4G gateway, and each LoRa monitoring slave is connected to each power grid access device one by one.
[0043] It should be noted that the first channel (i.e., the LoRa channel) between each LoRa monitoring slave and the LoRa-4G gateway is a communication channel established based on the LoRa communication protocol; and the third channel between each LoRa monitoring slave and each power grid access device is a communication channel established based on an electrical communication protocol, such as the RS485 communication protocol, the RS232 communication protocol, etc., which is not specifically limited herein.
[0044] Figure 4 A specific implementation schematic diagram of a data transmission system in a mobile communication signal-free area is shown in FIG. 3, wherein Figure 4 As shown in FIG. 3, the gateway device refers to a LoRa-4G gateway, and the host device refers to a LoRa-4G gateway host.
[0045] Each LoRa-4G gateway can connect to one LoRa-4G gateway host, and the LoRa-4G gateway host can connect to other LoRa-4G gateway hosts.
[0046] It should be noted that when a LoRa-4G gateway is located deep in an area where mobile communication signals are not fully covered (such as underground substations or inside remote buildings), its ability to establish a second channel directly with cloud devices is limited.
[0047] To address this issue, multiple LoRa-4G gateway hosts can be deployed as relay nodes along the communication path. Data is then transmitted step by step to the final host device located in the signal coverage area via multi-hop forwarding, and the host device then uploads the power data through a second channel.
[0048] Please see Figure 5 This application provides a power data transmission method, which is applicable to power data transmission systems. For example, the electronic device may be... Figure 1 The power data transmission system shown can have the following topology: Figure 2 As shown.
[0049] In the following method embodiments, for ease of description, the execution subject of each step of the method is an electronic device, but this does not constitute a specific limitation.
[0050] like Figure 5 As shown, the method may include the following steps:
[0051] Step 310: Obtain power data through the first channel by each gateway device.
[0052] The first channel is a data transmission channel based on a wireless communication protocol, such as Wi-Fi, ZigBee, or LoRa, etc., which is not limited here. The first channel is suitable for short-range, low-power local communication.
[0053] In one possible implementation, the power data transmission system further includes grid access devices and power monitoring devices; prior to step 310, the method further includes: acquiring power data collected by the corresponding grid access devices through the power monitoring devices; connecting the power monitoring devices to the grid access devices in a one-to-one correspondence; transmitting the power data from the power monitoring devices to the gateway devices; and connecting each power monitoring device to a gateway device.
[0054] It can be understood that the power data collected by the power grid household equipment is acquired by the power monitoring device deployed at the user side of each power grid, the power monitoring device and the power grid household equipment are connected one by one, and the collected power data is transmitted to the gateway device through short-distance communication. Each gateway device can connect one or more power monitoring devices, thereby realizing the aggregation and management of multiple power data.
[0055] It should be noted that after each power monitoring device acquires the corresponding power data, the local transmission of the power data can be realized through the first channel between each power monitoring device and the gateway device, i.e. the wireless communication channel.
[0056] Step 330, respectively detecting whether there is a second channel available between each gateway device and the cloud device, if not, the power data is transmitted from the gateway device to the host device using the first channel.
[0057] Among them, the second channel is a communication channel for data transmission based on a mobile communication protocol, which can be, for example, 4G, NB-IoT or 5G, etc. without specific limitation, the second channel belongs to a long-distance communication channel, which is suitable for remote data reporting and cloud communication.
[0058] It should be noted that the gateway device can be deployed in some areas where the mobile communication signal coverage is poor, or even cannot receive the mobile communication signal, such as underground power distribution room, closed building, remote area or some special building structure, etc. In such scenarios, the second channel based on the mobile communication protocol signal cannot be normally used, and the gateway device cannot directly upload the power data to the cloud device.
[0059] In one possible implementation, according to the mobile communication signal strength, it is determined whether there is a second channel between the gateway device and the cloud device; if not, there is no second channel available between the gateway device and the cloud device.
[0060] Specifically, whether the second channel is available can be determined by judging the current mobile communication signal strength of the gateway device, for example, if the mobile communication signal strength is lower than the preset threshold or the detection fails, it is determined that the second channel is not available.
[0061] In order to ensure the stable transmission of power data and the remote collection ability, the host device is set as a relay node, and the power data transmission between the gateway device and the host device is realized by using the first channel.
[0062] In one possible implementation, based on the first channel established between the gateway device and the host device, the power data is transmitted from the gateway device to the host device, so as to transmit the power data from the area without mobile communication signal coverage to the area covered by mobile communication signal.
[0063] The host device is usually deployed in an area with good mobile communication signal coverage. When a second channel available between the host device and the cloud device is detected, the host device can upload the received power data to the cloud device.
[0064] In this way, in a mobile communication signal limited environment, the reliable transmission of power data and the remote monitoring capability of the system can still be guaranteed, and comprehensive and efficient collection and management of user power safety data can be achieved.
[0065] Of course, in the case where a second channel available between the gateway device and the cloud device exists, the transmission of power data can not need to rely on the host device as a relay, so that the transmission of power data can be realized directly through the second channel.
[0066] In one possible implementation, in the case where a second channel available between the gateway device and the cloud device exists, the power data is uploaded from the gateway device to the cloud device based on the second channel.
[0067] It is further explained that the power monitoring system can also be configured with a fault handling mechanism for scenarios of communication link abnormality. For example, when the gateway device fails to upload the power data through the second channel, it can automatically switch to the first channel and forward the power data to the host device. In addition, the host device or the gateway device can cache the power data that has not been successfully reported within a certain time period, and automatically supplement the transmission after the communication is restored, further improving the data integrity and fault tolerance capability of the system.
[0068] Step 350, each power data is uploaded to the cloud device by the host device through the second channel.
[0069] Specifically, after receiving the power data transmitted from the gateway device, the host device can perform necessary preprocessing operations on the power data, such as timestamp alignment, data integration, anomaly screening, and cache management, to ensure the integrity and consistency of the uploaded power data.
[0070] The power data can include but is not limited to current, voltage, active power, reactive power, power metering value, voltage fluctuation frequency, power factor, and other key power consumption parameters. After receiving the power data, the cloud device can further process and mine the power data.
[0071] Specifically, the cloud device can establish a user-side power consumption behavior model based on historical power consumption patterns, and real-time detect and identify abnormal power consumption behaviors, such as short-time high-power mutation, continuous overload operation, and current fluctuation anomaly.
[0072] In addition, the cloud can also analyze potential safety hazards based on changes in power data characteristics, such as leakage trends caused by line aging, damage to electrical equipment, illegal charging of electric vehicles, reverse connection or illegal electricity use, and generate safety warning information as needed, which is pushed to relevant personnel through user terminals, operation and maintenance platforms or background management systems, to achieve intelligent monitoring and forward-looking warning of user electricity safety.
[0073] In summary, the host device serves as a bridge to efficiently transmit power data from communication blind areas to the cloud, and with the cloud's big data analysis capabilities, not only does it achieve remote centralized management of data, but also improves the response speed and identification accuracy of electricity safety incidents, significantly enhancing the system's ability to perceive electricity anomalies and risk hazards.
[0074] Through the above process, the transmission path of the power data can be intelligently determined based on the communication conditions on site, and the power data can be locally relayed and remotely reported in areas with weak or no mobile communication signal coverage, thereby ensuring the continuity of data transmission and the stability of system operation. This not only improves the reliability of transmission, but also effectively reduces the risk of data loss due to poor communication, making it more adaptable, flexible and practical. This can effectively monitor the electricity safety of users.
[0075] The following is a specific implementation description of a power data transmission method in an application scenario. This application scenario is applicable to a power data transmission system, where the gateway device refers to a LoRa-4G gateway, the host device refers to a LoRa-4G gateway host, the cloud device refers to a cloud platform, and the power monitoring device refers to a LoRa monitoring slave.
[0076] First of all, the LoRa-4G gateway and the LoRa-4G gateway host are integrated with LoRa and 4G, and have both LoRa wireless communication function and 4G wireless communication function.
[0077] Each device, such as the LoRa-4G gateway host, the LoRa-4G gateway, the LoRa monitoring slave, and the power grid home device, has a unique ID number (identity number). During network setup, the LoRa-4G gateway or the LoRa-4G gateway host chooses to use LoRa or 4G based on its location (whether there is 4G network).
[0078] First, the cloud platform establishes network communication with all LoRa-4G gateways and LoRa-4G gateway hosts, at which time both parties use 4G communication. The cloud platform is the host computer, and all LoRa-4G gateways and LoRa-4G gateway hosts are the slave computers. The host computer actively accesses the slave computer, and the slave computer replies to the host computer to deliver the host computer's instruction information.
[0079] If there is a power grid home equipment in the edge of 4G signal. LoRa-4G gateway host down with LoRa-4G gateway in the signal-free area to establish network communication, at this time in the 4G signal coverage edge area, using LoRa communication networking. At this time, the LoRa-4G gateway host acts as the upper computer, and the LoRa-4G gateway in the signal-free area acts as the lower computer. The upper computer actively accesses the lower computer, and the lower computer replies to the upper computer. The LoRa-4G gateway host in the 4G signal coverage area communicates with the cloud platform to complete the first step of the action; if the power grid home equipment is in the deep 4G signal-free area, multiple LoRa-4G gateway hosts can be used as relays to continuously extend to the 4G signal coverage area.
[0080] It should be noted that all LoRa-4G gateways down with LoRa monitoring slaves to establish network communication. Each LoRa-4G gateway corresponds to one or more (the maximum number is generally 16 or 32, etc., depending on the memory size of the LoRa-4G gateway) LoRa monitoring slaves. At this time, the LoRa-4G gateway acts as the upper computer, and the LoRa monitoring slave acts as the lower computer. The upper computer actively accesses the lower computer, and the lower computer replies to the upper computer.
[0081] Further explanation is that the LoRa monitoring slave establishes network communication with the power grid home equipment. At this time, the LoRa monitoring slave acts as the upper computer, and the power grid home equipment acts as the lower computer. The upper computer actively accesses the lower computer, and the lower computer replies to the upper computer. Each LoRa monitoring slave corresponds to one or more power grid home equipment.
[0082] Regarding the logical relationship of the communication process, first of all, the cloud platform polls the monitoring situation of each power grid home equipment to the LoRa-4G gateway or LoRa-4G gateway host in time.
[0083] Specifically, the cloud platform sends a poll to the LoRa-4G gateway for the monitoring situation of each power grid home equipment, waits for the LoRa-4G gateway to return power data, and if the power data is received, the LoRa-4G gateway returns the power data to the database or reflects to the human-computer interface.
[0084] If the LoRa-4G gateway device is in the area without 4G signal coverage, it sends a poll to the LoRa-4G gateway host for the monitoring situation of each power grid home equipment, and the LoRa-4G gateway host waits for the LoRa-4G gateway to return power data. After the LoRa-4G gateway host receives the power data, it sends the power data to the cloud platform.
[0085] It can be understood that if the LoRa-4G gateway is in a 4G signal coverage area, the LoRa-4G gateway establishes a link with the cloud platform and waits for and replies to inquiries from the cloud platform at all times. Then, upon receiving inquiry and execution command information from the cloud platform, the platform inquiry and execution command information can be distributed to the corresponding LoRa monitoring slave, so as to feed back the power data sent by the LoRa monitoring slave to the cloud platform.
[0086] If the LoRa-4G gateway is in a 4G signal coverage area, the LoRa-4G gateway establishes a link with the LoRa-4G gateway host and waits for and replies to inquiries from the LoRa-4G gateway host at all times. Then, upon receiving inquiry and execution command information from the LoRa-4G gateway host, the platform inquiry and execution command information can be distributed to the corresponding LoRa monitoring slave, so as to feed back the power data sent by the LoRa monitoring slave to the LoRa-4G gateway host.
[0087] Since there is a mobile communication connection between the LoRa-4G gateway host and the cloud platform, upon receiving inquiry and execution command information from the cloud platform, the platform inquiry and execution command information can be distributed to the corresponding LoRa-4G gateway, and upon receiving information from the subordinate LoRa-4G gateway, the reply data of the subordinate LoRa-4G gateway can be fed back to the cloud platform.
[0088] It is additionally explained that the LoRa monitoring slave regularly inquires about the use of the line monitored by the power grid household equipment, and the power grid household equipment monitors various power data of the line at all times, such as whether the power is off, whether there is electricity leakage, etc., and is ready to reply to the regular inquiry of the LoRa monitoring slave at all times. At the same time, the LoRa monitoring slave uses the LoRa signal to search for the LoRa-4G gateway within the communication range and establishes a communication relationship with it, and is ready to reply to the inquiry of the LoRa-4G gateway and execute the command of the LoRa-4G gateway.
[0089] In the present application scenario, based on device unique ID recognition, automatic discovery and binding between the LoRa monitoring slave, the power grid household equipment, the gateway, and the host are realized, and various communication topologies such as "one master and multiple slaves" and "multiple masters and multiple slaves" are supported, and the system expansion and deployment flexibility are enhanced.
[0090] By constructing a multi-level LoRa communication link between the LoRa-4G gateway and the LoRa-4G gateway host, the system can flexibly cope with the case that the power grid household equipment is deployed in an area without mobile communication signal or with weak signal, effectively breaks through the communication blind area, and ensures stable uploading of data.
[0091] It should be understood that although each step in the flowchart of the accompanying drawings is shown in sequence according to the direction of the arrow, these steps are not necessarily executed in sequence according to the direction of the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and they can be executed in other sequences. Moreover, at least some of the steps in the flowchart of the accompanying drawings can include multiple sub-steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence is not necessarily sequential, but can be alternately or alternately executed with at least part of other steps or sub-steps or stages of other steps.
[0092] The following is an apparatus embodiment of the present application, which can be used to execute the power data transmission method involved in the present application. For details not disclosed in the apparatus embodiment of the present application, please refer to the method embodiment of the power data transmission method involved in the present application.
[0093] Please refer to Figure 6 In the embodiment of the present application, a power data transmission device 900 is provided, which is deployed in a data transmission system including at least one gateway device, a host device and a cloud device, including but not limited to: a data acquisition module 910, a channel transmission module 930, and a data upload module 950.
[0094] The data acquisition module is configured to acquire corresponding power data through each gateway device using a first channel; the first channel is a channel for data transmission based on a wireless communication protocol;
[0095] The channel transmission module is configured to detect whether a second channel exists between each gateway device and the cloud device, and if not, transmit the power data from the gateway device to the host device using the first channel; the second channel is a communication channel for data transmission based on a mobile communication protocol signal;
[0096] The data upload module is configured to upload each power data to the cloud device using the second channel through the host device.
[0097] It should be noted that the power data transmission device provided in the above embodiment is used for power data transmission, and the above-mentioned division of each functional module is only used as an example, and in actual application, the above-mentioned functions can be completed by different functional modules according to needs, that is, the internal structure of the power data transmission device is divided into different functional modules to complete all or part of the functions described above.
[0098] In addition, the power data transmission device and the power data transmission method provided in the above embodiment belong to the same concept, and the specific manner in which each module performs the operation has been described in detail in the method embodiment, which will not be repeated here.
[0099] Referring to Figure 7 In an embodiment of the present application, an electronic device 4000 is provided, which can include a gateway device, a host device, a cloud device, etc.
[0100] In Figure 7 The electronic device 4000 includes at least one processor 4001 and at least one memory 4003.
[0101] Data interaction between the processor 4001 and the memory 4003 can be achieved through at least one communication bus 4002. The communication bus 4002 can include a channel for transmitting data between the processor 4001 and the memory 4003. The communication bus 4002 can be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The communication bus 4002 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is shown in the figure, but it does not mean that there is only one bus or only one type of bus.
[0102] Optionally, the electronic device 4000 can also include a transceiver 4004, which can be used for data interaction between the electronic device and other electronic devices, such as data transmission and / or data reception, etc. It should be noted that the transceiver 4004 is not limited to one in actual application, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present application.
[0103] The processor 4001 can be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logical blocks, modules and circuits described in combination with the disclosure of the present application. The processor 4001 can also be a combination of computing functions, such as one or more microprocessor combinations, combinations of DSP and microprocessor, etc.
[0104] The memory 4003 can be a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory) or other type of dynamic storage device that can store information and instructions, an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store computer programs in the form of instructions or data structures and that can be accessed by the electronic device 400, but is not limited to this.
[0105] The memory 4003 stores a computer program, and the processor 4001 can read the computer program stored in the memory 4003 through the communication bus 4002.
[0106] The computer program is executed by the one or more processors 4001 to implement the power data transmission method in the above embodiments.
[0107] In addition, the present application provides a storage medium, which stores a computer program, and the computer program is executed by one or more processors to implement the power data transmission method as described above.
[0108] The present application provides a computer program product, which includes a computer program, and the computer program is executed by one or more processors to implement the power data transmission method as described above.
[0109] Compared with the related art, the present application can intelligently determine the power data transmission path according to the field communication condition, realize the local relay and remote reporting of the power data in the mobile communication signal weak or no coverage area, thereby guaranteeing the continuity of data transmission and the stability of system operation, while improving the transmission reliability, effectively reducing the data loss risk caused by poor communication, having stronger adaptability, flexibility and practical value, and thus effectively monitoring the user's power safety.
[0110] The above only describes some embodiments of the present application, and it should be pointed out that, for those skilled in the art, without departing from the principles of the present application, some improvements and refinements can be made, which should also be regarded as the protection scope of the present application.
Claims
1. A method for transmitting power data, characterized in that, Applied to a power data transmission system, the system comprising at least one gateway device, a host device, and a cloud device, the method includes: Each of the aforementioned gateway devices acquires power data through a first channel; the first channel is a data transmission channel based on a wireless communication protocol. The system detects whether a second available channel exists between each of the gateway devices and the cloud device. If not, the power data is transmitted from the gateway device to the host device using the first channel. The second channel is a communication channel for data transmission based on a mobile communication protocol. The host device uses the second channel to upload each of the power data to the cloud device.
2. The method as described in claim 1, characterized in that, The step of detecting whether a usable second channel exists between each of the gateway devices and the cloud device includes: Based on the mobile communication signal strength, determine whether a second channel exists between the gateway device and the cloud device; If not, then there is no available second channel between the gateway device and the cloud device.
3. The method as described in claim 1, characterized in that, The step of transmitting the power data from the gateway device to the host device using the first channel includes: Based on the first channel established between the gateway device and the host device, the power data is transmitted from the gateway device to the host device to transmit the power data from an area without mobile communication signal coverage to an area with mobile communication signal coverage; the gateway device is deployed in an area without mobile communication signal coverage; the host device is deployed in an area with mobile communication signal coverage.
4. The method according to any one of claims 1 to 3, characterized in that, The power data transmission system also includes power grid access equipment and power monitoring equipment; Before acquiring power data through the first channel via each of the gateway devices, the method further includes: The power monitoring equipment acquires power data collected by the power grid access device; the power monitoring equipment is connected to the power grid access device in a one-to-one correspondence. The power data is transmitted from the power monitoring device to the gateway device; the power monitoring device is connected to one of the gateway devices.
5. The method according to any one of claims 1 to 3, characterized in that, After detecting whether a usable second channel exists between each of the gateway devices and the cloud device, the method further includes: If a second channel is available between the gateway device and the cloud device, the power data is uploaded from the gateway device to the cloud device based on the second channel.
6. A power data transmission device, characterized in that, Deployed in a power data transmission system, the power data transmission system including at least one gateway device, a host device, and a cloud device, the device includes: The data acquisition module is used to acquire corresponding power data through each of the gateway devices using a first channel; the first channel is a channel for data transmission based on a wireless communication protocol. The channel transmission module is used to detect whether there is an available second channel between each of the gateway devices and the cloud device. If not, the power data is transmitted from the gateway device to the host device using the first channel. The second channel is a communication channel for data transmission based on mobile communication protocol signals. The data upload module is used to upload the power data to the cloud device via the second channel through the host device.
7. A power data transmission system, characterized in that, It includes at least one gateway device, a host device, and a cloud device; The gateway device is used to acquire corresponding power data using a first channel; the first channel is a data transmission channel based on a wireless communication protocol; it detects whether there is an available second channel between itself and the cloud device, and if not, transmits the power data to the host device using the first channel; the second channel is a communication channel for data transmission based on a mobile communication protocol signal. The host device is used to receive the power data sent by the gateway device and upload each power data to the cloud device using the second channel; The cloud device is used to receive the power data uploaded by the host device.
8. The system as claimed in any one of claims 7, characterized in that, Each of the gateway devices is connected to one of the host devices, and the host device is connected to the cloud device.
9. The system as described in claim 8, characterized in that, The system also includes grid connection equipment and power monitoring equipment; wherein, the power monitoring equipment is connected to the grid connection equipment in a one-to-one correspondence; and the power monitoring equipment is connected to one of the gateway devices. The power grid access device is used to collect the power data and transmit the power data to the gateway device; The gateway device is used to receive power data collected by each of the power grid access devices.
10. An electronic device comprising at least one processor and at least one memory, wherein, The memory stores a computer program, characterized in that the computer program, when executed by the processor, implements the power data transmission method as described in any one of claims 1 to 6.