CN114928516A - Data transmission method, device and system, edge gateway and storage medium - Google Patents

Data transmission method, device and system, edge gateway and storage medium Download PDF

Info

Publication number
CN114928516A
CN114928516A CN202210674090.7A CN202210674090A CN114928516A CN 114928516 A CN114928516 A CN 114928516A CN 202210674090 A CN202210674090 A CN 202210674090A CN 114928516 A CN114928516 A CN 114928516A
Authority
CN
China
Prior art keywords
interface
data
memory
edge gateway
built
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210674090.7A
Other languages
Chinese (zh)
Inventor
陈德锋
李满廷
李泽民
刘红春
马慧琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Flett Intelligent Medical Technology Co ltd
Original Assignee
Shanghai Flett Intelligent Medical Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Flett Intelligent Medical Technology Co ltd filed Critical Shanghai Flett Intelligent Medical Technology Co ltd
Priority to CN202210674090.7A priority Critical patent/CN114928516A/en
Publication of CN114928516A publication Critical patent/CN114928516A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/10Current supply arrangements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a data transmission method, a data transmission device, a data transmission system, an edge gateway and a storage medium. The method is applied to an edge gateway, the edge gateway comprises an internal memory with double interfaces, and the edge gateway is connected with an external device through a first interface of the internal memory, and the method comprises the following steps: responding to a data storage instruction sent by the server, supplying power to the first interface so that the external equipment stores the equipment data into the internal memory through the first interface in a power-on state; and if the current preset data sending condition is met, powering off the first interface, supplying power to the second interface of the built-in memory, and sending the equipment data stored in the built-in memory to the server through the second interface in the power-on state. Through the technical scheme of this embodiment, can automatic transmission non-networking device's equipment data, need not artifical the participation, improved data transmission efficiency.

Description

Data transmission method, device and system, edge gateway and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data transmission method, apparatus, system, edge gateway, and storage medium.
Background
With the popularization of the internet, the internet of things device can transmit device data to a server, such as a cloud server, through the internet.
Currently, there are a large number of non-networked or non-networked devices that cannot transmit data over a network. For such devices, device data is often manually exported by inserting a physical transmission medium such as a USB disk, an SD card, etc., and the device data exported by the device is manually uploaded by another networking device. Therefore, the manual data transmission mode is time-consuming and labor-consuming, and the data transmission efficiency is greatly reduced.
Disclosure of Invention
The invention provides a data transmission method, a device, a system, an edge gateway and a storage medium, which are used for automatically transmitting equipment data of non-networking equipment without manual participation and improving the data transmission efficiency.
According to an aspect of the present invention, there is provided a data transmission method, which is applied to an edge gateway, where the edge gateway includes an internal memory with a dual interface, and the edge gateway connects with an external device through a first interface of the internal memory, and includes:
responding to a data storage instruction sent by a server, supplying power to the first interface, so that the external equipment stores equipment data into the internal memory through the first interface in a power-on state;
and if the current preset data sending condition is met, powering off the first interface, supplying power to the second interface of the built-in memory, and sending the equipment data stored in the built-in memory to the server through the second interface in a power-on state.
According to another aspect of the present invention, there is provided a data transmission apparatus integrated in an edge gateway, where the edge gateway includes an internal memory having a dual interface, and the edge gateway connects to an external device through a first interface of the internal memory, the apparatus including:
the first interface power supply module is used for responding to a data storage instruction sent by a server and supplying power to the first interface so as to enable the external equipment to store equipment data into the internal memory through the first interface in a power-on state;
and the second interface power supply module is used for powering off the first interface and supplying power to the second interface of the built-in memory if the current condition of sending the preset data is detected to be met, and sending the equipment data stored in the built-in memory to the server through the second interface in a power-on state.
According to another aspect of the present invention, there is provided a data transmission system comprising: the system comprises an edge gateway, external equipment and a server;
the edge gateway comprises an internal memory with double interfaces, and is connected with an external device through a first interface of the internal memory;
the edge gateway is configured to implement the data transmission method according to any embodiment of the present invention.
According to another aspect of the present invention, there is provided an edge gateway, including:
a built-in memory and a controller having dual interfaces; the edge gateway is connected with an external device through a first interface of the built-in memory;
the controller is configured to implement the data transmission method according to any embodiment of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the data transmission method according to any embodiment of the present invention when the computer instructions are executed.
According to the technical scheme of the embodiment of the invention, the edge gateway is additionally provided with the built-in memory with double interfaces, and the edge gateway is connected with the non-networked external equipment through the first interface of the built-in memory, so that the external equipment realizes automatic transmission of equipment data through the edge gateway. Specifically, the edge gateway may supply power to the first interface when receiving a data storage instruction sent by the server, so that the external device may control the internal memory, and thus the external device may automatically store the device data into the internal memory through the first interface in a power-on state. If the edge gateway detects that the preset data sending condition is met currently, the first interface is powered off, and the second interface of the built-in memory is powered on, so that a controller of the built-in memory is switched from external equipment to the edge gateway, and the edge gateway can automatically send the equipment data stored in the built-in memory to the server through the second interface in a power-on state, so that the automatic transmission of the equipment data of the non-networking equipment is realized, manual participation is not needed, and the data transmission efficiency is improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a data transmission method according to an embodiment of the present invention;
fig. 2 is a flowchart of a data transmission method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a data transmission apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a data transmission system according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an edge gateway according to a fifth embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in other sequences than those illustrated or described herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1 is a flowchart of a data transmission method according to an embodiment of the present invention, which is applicable to a case where a non-networked device automatically transmits data. The method may be performed by a data transfer device, which may be implemented in hardware and/or software, integrated in a controller in the edge gateway. Wherein the edge gateway comprises a built-in memory with dual interfaces. The edge gateway can be connected with the external device through a first interface of the internal memory.
As shown in fig. 1, the method may include the steps of:
and S110, responding to a data storage instruction sent by the server, supplying power to the first interface so that the external device stores the device data into the internal memory through the first interface in the power-on state.
The data storage instruction may refer to that the edge gateway receives a request sent by the server to store the device data in the external device in an internal memory in the edge gateway. The first interface may be an interface, e.g. a USB interface, that is externally present on the edge gateway surface. An external device may refer to a non-networked device disposed outside of the edge gateway. Wherein, the external device can automatically inquire the connected internal memory. An edge gateway may refer to a gateway deployed at the edge side of a network. The built-in memory may refer to a memory integrated in the edge gateway having a dual USB function. For example, the first interface of the internal memory is connected to the external device through a USB data line.
Specifically, the edge gateway may supply power to the first interface when receiving a data storage instruction sent by the server, and at this time, the external device connected to the first interface of the internal memory becomes a controller of the internal memory, so that the external device may automatically store the generated device data in the internal memory through the first interface in the power-on state.
And S120, if the preset data sending condition is met currently, powering off the first interface, supplying power to the second interface of the built-in memory, and sending the equipment data stored in the built-in memory to the server through the second interface in the power-on state.
Wherein the second interface may be an internal interface built into the edge gateway. The second interface may be connected to a module in the edge gateway that sends data over the network. The preset data transmission condition may be a trigger condition for transmitting data, which is set in advance. For example, the preset data transmission condition may refer to that the storage of the generated device data is completed each time, or a data acquisition instruction transmitted by the server is received or the current time reaches the timing.
Specifically, in the process of storing the device data into the internal memory, the edge gateway detects whether the current state of the internal memory meets a preset data sending condition. If the current state of the built-in memory does not meet the preset data sending condition, the first interface is kept in the power-on state, and at the moment, the external device is still a controller of the built-in memory in the edge gateway until the current state of the built-in memory meets the preset data sending condition. If the current state of the internal memory meets the preset data sending condition, the first interface is powered off, and the second interface of the internal memory is powered on, so that a controller of the internal memory is switched from the external device to the edge gateway, the edge gateway can automatically send the device data stored in the internal memory to the server through the second interface in the power-on state, the automatic transmission of the device data of the non-networking device is achieved, manual participation is not needed, and the data transmission efficiency is improved.
For example, in S120, "if it is detected that the preset data transmission condition is currently met, power is supplied to the first interface, the second interface of the internal memory is powered off, and the device data in the internal memory is transmitted to the server through the second interface in the powered-on state" may include: and responding to a data acquisition instruction sent by the server or detecting that the current timing time is reached, powering off the first interface, supplying power to the second interface of the built-in memory, and sending the equipment data in the built-in memory to the server through the second interface in the power-on state.
The data obtaining instruction may refer to that the server sends the data obtaining instruction after the external device completes at least one data update. The timing time may refer to a timing interval that needs to be greater than a maximum length of time required for a single time that the device data is stored in the built-in memory.
Specifically, after the device data is stored in the internal memory, the edge gateway may power off the first interface by responding to a data acquisition instruction sent by the server or detecting that the current time reaches a set time, so that the internal memory may store the device data for multiple times, and supply power to the second interface of the internal memory, so that a controller of the internal memory switches from the external device to the edge gateway, and automatically sends the device data stored in the internal memory for multiple times to the server through the second interface in a power-on state, thereby implementing batch uploading of the device data, and saving data transmission resources.
According to the technical scheme of the embodiment of the invention, the edge gateway is additionally provided with the built-in memory with double interfaces, and the edge gateway is connected with the non-networked external equipment through the first interface of the built-in memory, so that the external equipment realizes automatic transmission of equipment data through the edge gateway. Specifically, the edge gateway may supply power to the first interface when receiving a data storage instruction sent by the server, so that the external device may control the internal memory, and the external device may automatically store the device data into the internal memory through the first interface in the power-on state. If the edge gateway detects that the preset data sending condition is met currently, the first interface is powered off, and power is supplied to the second interface of the built-in memory, so that a controller of the built-in memory is switched from the external device to the edge gateway, the edge gateway can automatically send the device data stored in the built-in memory to the server through the second interface in the power-on state, the automatic transmission of the device data of the non-networking device is achieved, manual participation is not needed, and the data transmission efficiency is improved.
On the basis of the above technical solution, after S120 "transmitting the target device data in the built-in memory to the server", the method further includes: and powering off the second interface to stop the data transmission operation of the edge gateway.
Specifically, the edge gateway may automatically send the target device data in the internal memory to the server, and then power off the second interface to stop the data sending operation of the edge gateway, where the first interface and the second interface are both in a power-off state, so as to avoid uninterrupted data sending operation by the edge gateway, further save data transmission resources, and ensure validity of data transmission.
Example two
Fig. 2 is a flowchart of a data transmission method according to a second embodiment of the present invention, where in this embodiment, further optimization is performed on the step "if it is detected that a preset data sending condition is currently met, power is supplied to the first interface, the second interface of the internal memory is powered on, and the device data in the internal memory is sent to the server through the second interface in the powered on state. Wherein explanations of the same or corresponding terms as those of the above-disclosed embodiments are omitted. As shown in fig. 2, the method may include the steps of:
s210, responding to a data storage instruction sent by the server, supplying power to the first interface, so that the external device stores the device data into the internal memory through the first interface in the power-on state.
And S220, if the current data storage is detected to be finished, powering off the first interface, supplying power to the second interface of the built-in memory, and sending the device data stored in the built-in memory at the current time to the server through the second interface in the power-on state.
Specifically, in the process of storing the device data into the built-in memory, the edge gateway may detect whether the data storage of the built-in memory is completed. If the current data storage is not completed, the first interface is kept in a power-on state, and at the moment, the external device is still a controller of an internal memory in the edge gateway until the current data storage is completed, so that the condition that the device data is uploaded to a server without being completely stored in the internal memory is avoided, the device data is prevented from being damaged, and the accuracy and the integrity of the device data are further ensured. And if the data storage is finished at the current time, powering off the first interface and supplying power to the second interface of the built-in memory, so that a controller of the built-in memory is switched from the external device to the edge gateway, and automatically transmitting the device data stored in the built-in memory to the server through the second interface in a power-on state.
Exemplarily, the "detecting that the current data storage is completed" in S220 may include: acquiring electrical frequency data corresponding to a first interface; and if the electric signal in the electric frequency data is detected to be weakened to zero, determining that the data storage is finished at the time.
The electrical data may be used to determine a data transmission status of the corresponding interface. For example, when data starts to be transmitted, the electrical signal in the electrical frequency data starts to be enhanced from zero; when the data transmission is about to end, the electric signal in the electric frequency data is weakened to zero.
Specifically, the edge gateway may obtain the electrical frequency data corresponding to the interface through the functional module connected to the first interface, and determine that the data storage is completed at this time if it is detected that the electrical signal in the electrical frequency data is weakened to zero, thereby avoiding an error caused by manually confirming whether the data transmission is completed, and further improving the accuracy of the data transmission.
According to the technical scheme, whether the data storage of the built-in memory is finished or not can be detected through the edge gateway, if the data storage of the built-in memory is finished, the first interface is powered off, and the second interface of the built-in memory is powered on, so that a controller of the built-in memory is switched to the edge gateway from the external device, and the equipment data stored in the built-in memory is automatically sent to the server through the second interface in a power-on state, the condition that the equipment data are uploaded to the server when not completely stored in the built-in memory is avoided, the equipment data are not damaged, the accuracy and the integrity of the equipment data are further ensured, meanwhile, the equipment data generated at each time are uploaded to the server in time, and the timeliness of the data is ensured.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a data transmission device according to a third embodiment of the present invention. The device is integrated in a controller in an edge gateway, the edge gateway comprises an internal memory with double interfaces, and the edge gateway is connected with an external device through a first interface of the internal memory. As shown in fig. 3, the apparatus includes: a first interface power supply module 310 and a second interface power supply module 320.
The first interface power supply module 310 is configured to supply power to the first interface in response to a data storage instruction sent by the server, so that the external device stores device data in the internal memory through the first interface in a power-on state; the second interface power supply module 320 is configured to power off the first interface and supply power to the second interface of the internal memory if it is detected that the preset data sending condition is currently met, and send the device data stored in the internal memory to the server through the second interface in the powered-on state.
According to the technical scheme of the embodiment of the invention, the edge gateway is additionally provided with the built-in memory with double interfaces, and the edge gateway is connected with the non-networked external equipment through the first interface of the built-in memory, so that the external equipment realizes automatic transmission of equipment data through the edge gateway. Specifically, the edge gateway may supply power to the first interface when receiving a data storage instruction sent by the server, so that the external device may control the internal memory, and thus the external device may automatically store the device data into the internal memory through the first interface in a power-on state. If the edge gateway detects that the preset data sending condition is met currently, the first interface is powered off, and power is supplied to the second interface of the built-in memory, so that a controller of the built-in memory is switched from the external device to the edge gateway, the edge gateway can automatically send the device data stored in the built-in memory to the server through the second interface in the power-on state, the automatic transmission of the device data of the non-networking device is achieved, manual participation is not needed, and the data transmission efficiency is improved.
Optionally, the first interface is a USB interface; the first interface of the internal memory is connected with the external device through a USB data line.
Optionally, the second interface power supply module 320 includes:
and the first equipment data sending submodule is used for powering off the first interface and supplying power to the second interface of the built-in memory if the current data storage is detected to be finished, and sending the equipment data stored in the built-in memory at the current time to the server through the second interface in the power-on state.
Optionally, the first device data sending sub-module is specifically configured to:
acquiring electrical frequency data corresponding to a first interface; and if the electric signal in the electric frequency data is detected to be weakened to zero, determining that the data storage is finished at the time.
Optionally, the second interface power supply module 320 further includes:
and the second equipment data sending submodule is used for responding to a data acquisition instruction sent by the server or detecting that the current timing time is reached, powering off the first interface, supplying power to the second interface of the built-in memory, and sending the equipment data in the built-in memory to the server through the second interface in a power-on state.
Optionally, the apparatus further comprises:
and the second interface power-off module is used for powering off the second interface after the target equipment data in the built-in memory is sent to the server so as to stop the data sending operation of the edge gateway.
The data transmission device provided by the embodiment of the invention can execute the data transmission method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
It should be noted that, in the embodiment of the data transmission apparatus, the modules included in the embodiment are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, the specific names of the functional modules are only for convenience of distinguishing from each other and are not used for limiting the protection scope of the present invention.
Example four
Fig. 4 is a schematic structural diagram of a data transmission system in a fourth embodiment of the present invention. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the data transmission system may include an edge gateway 410, an external device 420, and a server 430. The edge gateway includes an internal memory 411 with a dual interface, and the edge gateway is connected to the external device through a first interface 412 of the internal memory. The edge gateway 410 is used to implement the data transmission method as provided by any embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, the edge gateway is additionally provided with the built-in memory with double interfaces, and the edge gateway is connected with the non-networked external equipment through the first interface of the built-in memory, so that the external equipment realizes automatic transmission of equipment data through the edge gateway. Specifically, the edge gateway may supply power to the first interface when receiving a data storage instruction sent by the server, so that the external device may control the internal memory, and the external device may automatically store the device data into the internal memory through the first interface in the power-on state. If the edge gateway detects that the preset data sending condition is met currently, the first interface is powered off, and power is supplied to the second interface of the internal memory, so that a controller of the internal memory is switched from the external device to the edge gateway, the edge gateway can automatically send the device data stored in the internal memory to the server through the second interface in the power-on state, the automatic transmission of the device data of the non-networking device is achieved, manual participation is not needed, and the data transmission efficiency is improved.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an edge gateway in a fifth embodiment of the present invention. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 5, the edge gateway may include a built-in memory 411 having a dual interface and a controller 413. The edge gateway is connected with the external equipment through a first interface of the internal memory. The controller 413 is configured to implement a data transmission method as provided by any of the embodiments of the present invention.
According to the technical scheme of the embodiment of the invention, the edge gateway is additionally provided with the built-in memory with double interfaces, and is connected with the non-networked external equipment through the first interface of the built-in memory, so that the external equipment realizes the automatic transmission of equipment data through the edge gateway. Specifically, the edge gateway may supply power to the first interface when receiving a data storage instruction sent by the server, so that the external device may control the internal memory, and thus the external device may automatically store the device data into the internal memory through the first interface in a power-on state. If the edge gateway detects that the preset data sending condition is met currently, the first interface is powered off, and power is supplied to the second interface of the built-in memory, so that a controller of the built-in memory is switched from the external device to the edge gateway, the edge gateway can automatically send the device data stored in the built-in memory to the server through the second interface in the power-on state, the automatic transmission of the device data of the non-networking device is achieved, manual participation is not needed, and the data transmission efficiency is improved.
EXAMPLE six
A sixth embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method of data transmission, the method including:
responding to a data storage instruction sent by the server, supplying power to the first interface, so that the external equipment stores the equipment data into the internal memory through the first interface in a power-on state;
and if the current preset data sending condition is met, powering off the first interface, supplying power to the second interface of the built-in memory, and sending the equipment data stored in the built-in memory to the server through the second interface in the power-on state.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the above method operations, and may also perform related operations in the data transmission method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A data transmission method is applied to a controller in an edge gateway, the edge gateway comprises an internal memory with double interfaces, and the edge gateway is connected with an external device through a first interface of the internal memory, and the method comprises the following steps:
responding to a data storage instruction sent by a server, supplying power to the first interface, so that the external equipment stores equipment data into the internal memory through the first interface in a power-on state;
and if the current condition of meeting the preset data sending condition is detected, powering off the first interface, supplying power to the second interface of the built-in memory, and sending the equipment data stored in the built-in memory to the server through the second interface in a power-on state.
2. The method according to claim 1, wherein the first interface is a USB interface, and the first interface of the internal memory is connected to an external device through a USB data line.
3. The method of claim 1, wherein if it is detected that a preset data transmission condition is currently met, powering off the first interface and powering on a second interface of the built-in memory, and transmitting device data in the built-in memory to the server through the second interface in a powered-on state comprises:
and if the current data storage is detected to be completed, powering off the first interface, supplying power to the second interface of the built-in memory, and sending the current stored equipment data in the built-in memory to the server through the second interface in a power-on state.
4. The method of claim 3, wherein detecting when data storage is complete comprises:
acquiring electrical frequency data corresponding to the first interface;
and if the electric signal in the electric frequency data is detected to be weakened to zero, determining that the data storage is finished at the time.
5. The method of claim 1, wherein if it is detected that a preset data transmission condition is currently met, powering off the first interface, powering on a second interface of the built-in memory, and transmitting device data in the built-in memory to the server through the second interface in a powered-on state, further comprising:
and responding to a data acquisition instruction sent by a server or detecting that the current timing time is reached, powering off the first interface, supplying power to the second interface of the built-in memory, and sending the equipment data in the built-in memory to the server through the second interface in a power-on state.
6. The method according to any one of claims 1 to 5, further comprising, after sending the target device data in the built-in memory to the server:
and powering off the second interface to stop the data sending operation of the edge gateway.
7. A data transmission apparatus, wherein a controller is integrated in an edge gateway, the edge gateway includes an internal memory having a dual interface, and the edge gateway is connected to an external device through a first interface of the internal memory, the apparatus comprising:
the first interface power supply module is used for responding to a data storage instruction sent by a server and supplying power to the first interface so that the external equipment stores equipment data into the internal memory through the first interface in a power-on state;
and the second interface power supply module is used for powering off the first interface and supplying power to the second interface of the built-in memory if the preset data sending condition is currently met, and sending the equipment data stored in the built-in memory to the server through the second interface in a power-on state.
8. A data transmission system, the system comprising: the system comprises an edge gateway, external equipment and a server;
the edge gateway comprises an internal memory with double interfaces, and is connected with an external device through a first interface of the internal memory;
wherein the edge gateway is configured to implement the data transmission method according to any one of claims 1 to 6.
9. An edge gateway, characterized in that the edge gateway comprises: a built-in memory and a controller having dual interfaces; the edge gateway is connected with external equipment through a first interface of the internal memory;
wherein the controller is configured to implement the data transmission method of any one of claims 1-6.
10. A computer-readable storage medium storing computer instructions for causing a processor to perform the data transmission method of any one of claims 1-6 when executed.
CN202210674090.7A 2022-06-14 2022-06-14 Data transmission method, device and system, edge gateway and storage medium Pending CN114928516A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210674090.7A CN114928516A (en) 2022-06-14 2022-06-14 Data transmission method, device and system, edge gateway and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210674090.7A CN114928516A (en) 2022-06-14 2022-06-14 Data transmission method, device and system, edge gateway and storage medium

Publications (1)

Publication Number Publication Date
CN114928516A true CN114928516A (en) 2022-08-19

Family

ID=82813900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210674090.7A Pending CN114928516A (en) 2022-06-14 2022-06-14 Data transmission method, device and system, edge gateway and storage medium

Country Status (1)

Country Link
CN (1) CN114928516A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674267A (en) * 2009-06-30 2010-03-17 中兴通讯股份有限公司 Home gateway and method thereof used for realizing driving of USB equipment
CN102075534A (en) * 2011-01-06 2011-05-25 中国联合网络通信集团有限公司 Method and system for sharing home gateway data
CN109634891A (en) * 2019-01-25 2019-04-16 凯晖科技股份有限公司 Docking station with store function
CN112751751A (en) * 2021-01-25 2021-05-04 珠海格力电器股份有限公司 Gateway equipment and energy system
US20210367811A1 (en) * 2018-02-27 2021-11-25 Murata Machinery, Ltd. Gateway device, communication system, and automated warehouse system
US20210409149A1 (en) * 2020-06-29 2021-12-30 Boe Technology Group Co., Ltd. Method and device for transmitting data, system, and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674267A (en) * 2009-06-30 2010-03-17 中兴通讯股份有限公司 Home gateway and method thereof used for realizing driving of USB equipment
CN102075534A (en) * 2011-01-06 2011-05-25 中国联合网络通信集团有限公司 Method and system for sharing home gateway data
US20210367811A1 (en) * 2018-02-27 2021-11-25 Murata Machinery, Ltd. Gateway device, communication system, and automated warehouse system
CN109634891A (en) * 2019-01-25 2019-04-16 凯晖科技股份有限公司 Docking station with store function
US20210409149A1 (en) * 2020-06-29 2021-12-30 Boe Technology Group Co., Ltd. Method and device for transmitting data, system, and storage medium
CN112751751A (en) * 2021-01-25 2021-05-04 珠海格力电器股份有限公司 Gateway equipment and energy system

Similar Documents

Publication Publication Date Title
EP2771939B1 (en) Distributed batterry management system and method of identification distribution using the same
CN103516690A (en) Service processing state information query method and apparatus thereof
CN110517676A (en) A kind of voice awakening method and terminal, server, storage medium
US10469620B2 (en) Method for transferring a new software version to at least one electricity meter via a communication network
EP3422655B1 (en) Method for managing address of meter device, and acquisition terminal and meter device
CN103701707A (en) Network equipment
US10037253B2 (en) Fault handling methods in a home service system, and associated household appliances and servers
US11237583B2 (en) Method, device, and computer program product
CN112492618A (en) Network sharing method and device, electronic equipment and storage medium
CN103037483A (en) Network server and method for connecting same and application server
CN105554151A (en) Keep-alive time determining method and electronic device
CN114928516A (en) Data transmission method, device and system, edge gateway and storage medium
JP6200734B2 (en) Communication control device
CN106850284A (en) A kind of smart jack management method and its managing device, a kind of Cloud Server
CN106982156B (en) Priority setting method, device, communication system, equipment and readable storage medium storing program for executing
CN107171915B (en) Communication protocol changing method and device
CN105404180A (en) Node address setting method applied to intelligent cabinet bus control system
CN115268951A (en) Installation method, device, equipment and storage medium of operating system
CN113133097B (en) Wireless communication method and system
CN111970136B (en) Firmware upgrading method, loRa gateway, loRa system and computer readable storage medium
CN110119111B (en) Communication method and device, storage medium, and electronic device
CN111010286A (en) Intelligent registration method and device based on serial bus, electronic equipment and medium
CN116319712B (en) Wireless upgrading method and device for slave nodes of power equipment body area network
CN115208794B (en) Timer adjustment method, device, equipment and medium of Profibus-DP protocol
CN113382094B (en) Module address determining method and device, power module and communication network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination