Data transmission method, system and device, electronic equipment and computer readable storage medium
Through a mobile device, a local area network is formed in a remote area to receive environmental sensor data and forward it to the server through a satellite terminal, which solves the problems of low efficiency and high cost of environmental data transmission in remote areas, and achieves low-cost, fast and efficient data transmission.
Patent Information
- Application Number
- CN202510318174.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-17
- Publication Date
- 2025-06-24
AI Technical Summary
Environmental sensors deployed in remote areas cannot quickly and efficiently transmit environmental data to servers due to the lack of ground base station network coverage. Existing solutions such as using mobile hard disks or deploying low-orbit satellite ground terminals have problems of inefficiency and high cost.
The mobile device forms a local area network with the data acquisition device when entering the target area, receives the data sent by the data acquisition device, and sends the data to the server through the satellite ground terminal. The method includes receiving the amount of data sent by the data acquisition device within the local area network, determining the movement speed to receive data, establishing a Wi-Fi direct link, and forwarding data through a satellite terminal.
It realizes the low-cost, fast and efficient transmission of data to servers in remote areas, reducing deployment and operation costs and improving data transmission efficiency.
Smart Images

Figure CN120201387A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of data processing, and in particular to a data transmission method, system, device, electronic device, and computer-readable storage medium. Background Art
[0002] In order to detect environmental data such as temperature, humidity, wind speed, and landform in remote areas such as mountains, islands, deserts, and gobi, a large number of environmental sensors have been deployed in these areas to collect relevant environmental data. Since there is no ground base station network coverage in these remote areas, it is impossible to quickly transmit environmental data to the server through the network.
[0003] In one solution, researchers drive a vehicle to the location of the sensor and copy the environmental data in the environmental sensor to a mobile hard disk. This method is time-consuming and laborious, and the efficiency is relatively low. In another solution, a ground terminal of a low-earth orbit satellite is deployed at each location where sensors are concentrated. The ground terminal is connected to the low-earth orbit satellite to send environmental data to the low-earth orbit satellite, and the environmental data is forwarded to the server through the low-earth orbit satellite. However, this solution requires a ground terminal to be deployed at each location where sensors are concentrated, resulting in high deployment costs and operating costs. Summary of the Invention
[0004] The embodiments of the present application provide a data transmission method, system, device, electronic device, and computer-readable storage medium, which can send data to the server at low cost, quickly and efficiently.
[0005] In a first aspect, the embodiments of the present application provide a data transmission method, which is applied to a mobile device; the method includes:
[0006] When entering a target area, establish a local area network with at least one data collection device in the target area;
[0007] Within the local area network, receive data sent by the data collection device; and
[0008] Send the data to the server.
[0009] In one embodiment, the receiving, within the local area network, the data sent by the data collection device includes:
[0010] Receive the data volume sent by each data collection device; the data volume is the data volume of the data to be sent by the data collection device;
[0011] Obtain the data transmission rate and the distance to be moved in the target area;
[0012] Determine the moving speed according to the sum of the data amounts, the data transmission rate, and the distance to be moved;
[0013] Move at the moving speed, and before leaving the target area, receive the data sent by each of the data acquisition devices.
[0014] In one embodiment, the method further includes:
[0015] Receive the Wi-Fi direct connection addresses sent by each of the data acquisition devices;
[0016] The receiving the data sent by each of the data acquisition devices includes:
[0017] Establish a Wi-Fi direct connection link with the data acquisition device according to the Wi-Fi direct connection address sent by the data acquisition device;
[0018] Receive the data sent by the data acquisition device through the Wi-Fi direct connection link.
[0019] In one embodiment, the receiving the data sent by each of the data acquisition devices includes:
[0020] Receive the data sent by each of the data acquisition devices in ascending order of the data amounts sent by the data acquisition devices.
[0021] In one embodiment, the local area network is a Wi-Fi sensing network, and the establishing the local area network with at least one data acquisition device in the target area includes:
[0022] Send a discovery beacon frame;
[0023] Receive the synchronization beacon frames sent by the at least one data acquisition device in response to the discovery beacon frame;
[0024] The receiving the data sent by the data acquisition device within the local area network includes:
[0025] Receive the service discovery frames sent by the data acquisition device within the local area network;
[0026] Extract the data from the data body field of the service discovery frame.
[0027] In one embodiment, the mobile device includes a ground terminal of a satellite;
[0028] The sending the data to the server includes:
[0029] Through the ground terminal of the satellite, the data is sent to the satellite so that the satellite forwards the data to the server.
[0030] In one embodiment, before sending the data to the server, the method further includes:
[0031] Preprocessing the data; the preprocessing includes: combining like terms, deleting irrelevant items, and compressing.
[0032] In a second aspect, an embodiment of the present application provides a data transmission system, which includes: a data acquisition device, a mobile device, and a server;
[0033] When the mobile device enters the target area, it forms a local area network with at least one of the data acquisition devices in the target area;
[0034] The data acquisition device sends data to the mobile device within the local area network;
[0035] The server receives the data sent by the mobile device.
[0036] In a third aspect, an embodiment of the present application provides a data transmission device, which is applied to a mobile device. The device includes:
[0037] A network formation module, which is used to form a local area network with at least one data acquisition device in the target area when entering the target area;
[0038] A data receiving module, which is used to receive the data sent by the data acquisition device within the local area network;
[0039] A data sending module, which is used to send the data to the server.
[0040] In one embodiment, the data receiving module includes:
[0041] A data volume receiving unit, which is used to receive the data volumes sent by each of the data acquisition devices; the data volume is the data volume of the data to be sent by the data acquisition device;
[0042] A distance acquisition unit, which is used to acquire the data transmission rate and the distance to be moved in the target area;
[0043] A speed determination unit, which is used to determine the moving speed according to the sum of the data volumes, the data transmission rate, and the distance to be moved;
[0044] A first data receiving unit, which is used to move at the moving speed and receive the data sent by each of the data acquisition devices before leaving the target area.
[0045] In one embodiment, the device further includes:
[0046] An address receiving module, configured to receive the Wi-Fi direct connection addresses sent by each of the data acquisition devices;
[0047] The data receiving module includes:
[0048] A link establishing unit, configured to establish a Wi-Fi direct connection link with the data acquisition device according to the Wi-Fi direct connection address sent by the data acquisition device;
[0049] A second data receiving unit, configured to receive the data sent by the data acquisition device through the Wi-Fi direct connection link.
[0050] In one embodiment, the first data receiving unit includes:
[0051] A data receiving subunit, configured to sequentially receive the data sent by each of the data acquisition devices in ascending order of the data volume sent by each of the data acquisition devices.
[0052] In one embodiment, the local area network is a Wi-Fi sensing network, and the network formation module includes:
[0053] A beacon sending unit, configured to send a discovery beacon frame;
[0054] A beacon receiving unit, configured to receive the synchronization beacon frames sent by the at least one data acquisition device in response to the discovery beacon frame;
[0055] The data receiving module includes:
[0056] A discovery frame receiving unit, configured to receive the service discovery frames sent by the data acquisition device within the local area network;
[0057] A data extraction unit, configured to extract the data from the data body field of the service discovery frame.
[0058] In one embodiment, the mobile device includes a ground terminal of a satellite; the data sending module includes:
[0059] A data sending unit, configured to send the data to the satellite through the ground terminal of the satellite, so that the satellite forwards the data to the server.
[0060] In one embodiment, before sending the data to the server, the device further includes:
[0061] A preprocessing module for preprocessing the data; the preprocessing includes: combining like terms, deleting irrelevant terms, and compressing.
[0062] In a fourth aspect, an embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps in the above data transmission method are implemented.
[0063] In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above data transmission method are implemented.
[0064] In a sixth aspect, an embodiment of the present application further provides a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in various alternative implementation manners of the embodiments of the present application.
[0065] In summary, in the embodiments of the present application, after the mobile device enters the target area, it can form a local area network with the data collection device in the target area, so as to receive the data sent by the data collection device within the local area network; and then it can send the data to the server. Since the mobile device can move, a mobile device can form a local area network in each target area and receive the data sent by the data collection devices in each target area. Compared with deploying ground terminals at the locations where each sensor is concentrated, the deployment cost and operation cost can be reduced, and the data can be sent to the server quickly and efficiently. Description of the Drawings
[0066] In order to more clearly illustrate the technical solutions in the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative efforts.
[0067] Figure 1 It is a schematic diagram of the steps of the data transmission method provided by an embodiment of the present application;
[0068] Figure 2 It is a schematic diagram of the movement path of the mobile device provided by an embodiment of the present application;
[0069] Figure 3 It is a schematic diagram of the format of the service discovery frame provided by an embodiment of the present application;
[0070] Figure 4 It is a schematic structural diagram of a data transmission system provided by an embodiment of the present application;
[0071] Figure 5 It is a schematic working diagram of a data transmission system provided by an embodiment of the present application;
[0072] Figure 6 It is a schematic structural diagram of a data transmission device provided by an embodiment of the present application;
[0073] Figure 7 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0074] Next, the technical solutions in the present application will be clearly and completely described in conjunction with the accompanying drawings in the present application. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present invention.
[0075] In one embodiment, as Figure 1 shown, a data transmission method is provided. Although the logical order is shown in the step schematic diagram, in some cases, the steps shown or described can be executed in an order different from that shown in the drawings. Specifically, the data transmission method can be applied to a mobile device, and the mobile device can move. In one embodiment, the mobile device can be an autonomous vehicle.
[0076] The following will be described in detail respectively. It should be noted that the description order of the following embodiments does not limit the priority order of the embodiments.
[0077] According to Figure 1 the data transmission method shown, the method at least includes steps S110 to S130, which are introduced in detail as follows:
[0078] In step S110, when entering the target area, a local area network is established with at least one data acquisition device in the target area.
[0079] The target area is an area where a local area network can be established with a data acquisition device. Since the coverage range of the local area network is limited, when the mobile device enters the target area, a local area network can be established with the data acquisition devices in the target area. In one embodiment, the target area can be an area where data acquisition devices are concentrated, and the target area includes multiple data acquisition devices.
[0080] As Figure 2Schematic diagram of the movement path of the mobile device shown. The target area A, target area B, and target area C can be areas where data collection devices are concentrated respectively. After the mobile device enters the target area A, it can establish a first local area network with multiple data collection devices in the target area A; after the mobile device leaves the target area A, because the coverage of the local area network is limited, the first local area network will be disconnected; after the mobile device enters the target area B, it can establish a second local area network with multiple data collection devices in the target area B; similarly, after the mobile device leaves the target area B, the second local area network will also be disconnected; after the mobile device enters the target area C, it can establish a third local area network with multiple data collection devices in the target area C; after the mobile device leaves the target area C, the third local area network will be disconnected.
[0081] The data collection device can be an environmental sensor, and the data collected by the environmental sensor can be environmental data such as temperature, humidity, wind force, and / or landform.
[0082] In remote areas such as mountains, islands, deserts, and gobi, because there is no ground base station network coverage, there is no 2G (the 2nd Generation, the second-generation wireless communication technology), 3G (the 3rd Generation, the third-generation wireless communication technology), 4G (the 4th Generation, the fourth-generation wireless communication technology), LTE (Long Term Evolution, long-term evolution technology), or 5G (the 5th Generation, the fifth-generation wireless communication technology) network, nor is there Wi-Fi Internet. Conventional Wi-Fi Internet needs to connect to the Internet through a wireless access point (such as a wireless router). The device searches for and connects to a known Wi-Fi network, and after entering authentication information such as a password, it can access the Internet to realize data interaction between the device and the Internet server.
[0083] The local area network established by the mobile device can be a Wi-Fi Aware network. In a Wi-Fi Aware network, devices can discover each other by actively broadcasting and receiving specific signals, without connecting to a traditional network infrastructure (such as a wireless router) or the Internet, so as to directly establish a connection between devices. For example, in an outdoor scenario without network coverage, devices supporting Wi-Fi Aware can directly discover and connect to each other.
[0084] In step S120, within the local area network, receive the data sent by the data collection device.
[0085] In the local area network, communication can be carried out between the mobile device and the data collection device. The mobile device can receive the data sent by each data collection device within the local area network.
[0086] In step S130, the data is sent to the server.
[0087] After receiving the data sent by the data acquisition device, the mobile device can send the data to the server.
[0088] In one embodiment, in order to quickly send the data to the server, the mobile device may include a ground terminal of a satellite. Through the ground terminal of the satellite, the data is quickly sent to the satellite so that the satellite forwards the data to the server. Among them, the satellite may be a low-earth orbit satellite.
[0089] In another embodiment, considering the satellite communication traffic cost and in order to save costs, when the mobile device moves to an area covered by the ground base station network, it can send the data to the server through the ground base station network.
[0090] Adopting the technical solution of the embodiment of the present application, after the mobile device enters the target area, it can form a local area network with the data acquisition devices in the target area, so as to receive the data sent by the data acquisition devices within the local area network; and then it can send the data to the server. The mobile device can move. Therefore, a mobile device can form local area networks in each target area and receive the data sent by the data acquisition devices in each target area. Compared with deploying ground terminals at the locations where each sensor is concentrated, the deployment cost and operation cost can be reduced, and the data can be sent to the server quickly and efficiently.
[0091] Based on the above technical solution, as an embodiment, receiving the data sent by the data acquisition device within the local area network may include: receiving the data volumes sent by each of the data acquisition devices; the data volume is the data volume of the data to be sent by the data acquisition device; obtaining the data transmission rate and the distance to be moved in the target area; determining the moving speed according to the sum of the data volumes, the data transmission rate, and the distance to be moved; moving at the moving speed, and receiving the data sent by each of the data acquisition devices before leaving the target area.
[0092] In one embodiment, as Figure 2 shown, the mobile device can move periodically according to a preset moving path. When the mobile device moves according to the preset moving path, it can form a local area network with the data acquisition devices in the concentrated area of each data acquisition device.
[0093] After the mobile device forms a local area network with the data acquisition device, the data acquisition device can first send the data volume to the mobile device to inform the mobile device of the data volume of the data to be sent by the data acquisition device. After receiving the data volumes sent by each data acquisition device, the mobile device can determine the sum of the data volumes sent by each data acquisition device as the sum of the data volumes to be received within the local area network.
[0094] After the mobile device drives out of the target area, due to the limited coverage of the local area network, the local area network will be interrupted. The mobile device needs to ensure that it receives the data sent by each data acquisition device within the local area network before driving out of the target area.
[0095] The range of the target area can be determined through experiments or calculations. The mobile device can determine the remaining moving distance within the target area, which can be: the total distance of the preset moving path of the mobile device within the target area minus the distance the mobile device has traveled within the target area. The target correspondence between each position within the target area and the remaining moving distance within the target area can be preset. The mobile device can obtain its current position in real time, and thus query the target correspondence according to the current position to determine the remaining moving distance within the target area.
[0096] The mobile device can directly obtain the data transmission rate from the parameters of the local area network or obtain the data transmission rate through experiments.
[0097] The mobile device can determine the moving speed according to the sum of the data volumes, the data transmission rate, and the remaining moving distance. Moving at this moving speed can ensure that before leaving the target area, the mobile device receives the data sent by each data acquisition device within the target area. Among them, the sum of the data volumes can be divided by the data transmission rate to determine the time required to transmit all the data. Dividing the remaining moving distance by this time can obtain the maximum moving speed. The moving speed of the mobile device can be less than or equal to the maximum moving speed.
[0098] Before leaving the target area, the mobile device can maintain the local area network connection. If the mobile device receives the data sent by each data acquisition device before leaving the target area, it can also actively disconnect the local area network connection in advance.
[0099] By adopting the technical solution of the embodiment of the present application, it is possible to determine the moving speed according to the sum of the data volumes, the data transmission rate, and the remaining moving distance. The mobile device moving at this moving speed can ensure that before leaving the target area, it receives the data sent by each data acquisition device, thereby avoiding the problem of missing received data due to too fast moving speed.
[0100] Based on the above technical solution, as an embodiment, receiving the data sent by each of the data acquisition devices may include: receiving the data sent by each of the data acquisition devices in ascending order of the data volume sent by each of the data acquisition devices.
[0101] After receiving the data volumes sent by each data acquisition device, the mobile device may arrange each data volume and the number of the data acquisition device corresponding to each data volume in ascending order of the data volume, and receive the data sent by each data acquisition device in ascending order of the data volume.
[0102] In one embodiment, arranging each data volume and the number of the data acquisition device corresponding to each data volume in ascending order of the data volume may obtain Table 1. Then, when receiving the data sent by each data acquisition device, first receive the data sent by the data acquisition device numbered 012, and then receive the data sent by the data acquisition device numbered 003 until all the data sent by each data acquisition device is received.
[0103] Table 1. Data Volume List
[0104] Data acquisition device number Data volume 012 500M 003 650M … … 027 2.5G
[0105] Adopting the technical solution of the embodiment of the present application, because the transmission of small data volumes takes a short time, the transmission can be completed faster, and the waiting time can be reduced. Therefore, the data with smaller data volumes is received first; and if a large data volume is received at the beginning, it may instantaneously occupy a large amount of network bandwidth, resulting in network congestion; in addition, if an error or interruption occurs, the retransmission cost of small data volumes is low. If a large data volume is transmitted first and the transmission fails, the retransmission not only takes time but may also affect the subsequent data transmission. By transmitting small data volumes first, even if problems occur, the impact on the overall data reception is small, the system recovery is easier, and the stability is higher.
[0106] Based on the above technical solution, as an embodiment, before sending the data to the server, the method may further include: preprocessing the data; the preprocessing includes: combining like terms, deleting irrelevant terms, and compressing.
[0107] After receiving the data sent by the data acquisition device, the mobile device may first preprocess the data to reduce the data volume sent to the server and reduce the traffic cost of satellite communication.
[0108] Among them, preprocessing the data may include, but is not limited to, combining like terms, deleting irrelevant items, and compressing the data. Combining like terms may be to merge and integrate data with the same characteristics or attributes to simplify the data structure, improve the data processing efficiency, and the accuracy of analysis. Deleting irrelevant items may refer to identifying and removing data elements, features, or records in the dataset that are irrelevant to a specific analysis objective, task, or model to improve the data quality, optimize the data analysis efficiency, and enhance the result accuracy. Compressing the data may be a process of reducing the storage space or transmission bandwidth requirements of the data through a specific algorithm without losing or minimizing the loss of necessary information to improve the storage efficiency and transmission speed.
[0109] After preprocessing the data, the preprocessed data is sent to the server.
[0110] Adopting the technical solution of the embodiment of the present application, preprocessing the data before sending the data to the server can effectively reduce the amount of data transmitted, save bandwidth, save transmission costs, and improve the transmission efficiency.
[0111] On the basis of the above technical solution, as an embodiment, the mobile device may include a ground terminal of a satellite; the sending the data to the server may include: sending the data to the satellite through the ground terminal of the satellite so that the satellite forwards the data to the server.
[0112] The mobile device may include a ground terminal of a satellite, which may be a ground terminal of a low-earth orbit satellite. The ground terminal may be linked to the low-earth orbit satellite and transmit data at high speed based on a liquid crystal phased array antenna. The liquid crystal phased array antenna refers to changing the dielectric constant of the liquid crystal material by applying different bias voltages to the liquid crystal materials below each antenna element, thereby changing the steering of the liquid crystal molecules, changing the propagation speed of the electromagnetic wave in the delay line, changing the phase of the electromagnetic wave of each antenna element, and finally changing the direction where the maximum gain of the antenna array is located (i.e., the direction of the main lobe of the antenna), that is, achieving the effect of phase scanning. For the liquid crystal phased array antenna, its input is different bias voltages, and the corresponding output is the scanning direction of the main lobe of the antenna array. Compared with the traditional electronic phased array antenna, the liquid crystal phased array antenna has the advantages of low cost and low power consumption.
[0113] The mobile device may be linked to a low-earth orbit satellite through a ground terminal based on a liquid crystal phased array antenna and send data to the low-earth orbit satellite. The low-earth orbit satellite, as a relay node, forwards the data to a ground measurement and control station, and the ground measurement and control station may upload the data to a cloud server. After receiving the data, the cloud server parses and deeply processes the data.
[0114] By adopting the technical solution of the embodiment of the present application, in places where the ground base station network coverage is unavailable, data can be directly sent to the satellite through the ground terminal on the mobile device, so as to quickly send the data to the server, enabling the server to process the data, improving the efficiency of transmitting the data to the server, and ensuring the timeliness of data processing.
[0115] Based on the above technical solution, as an embodiment, the local area network is a Wi-Fi sensing network. The establishment of the local area network with at least one data collection device in the target area may include: sending a discovery beacon frame; receiving the synchronization beacon frame sent by the at least one data collection device in response to the discovery beacon frame. Receiving the data sent by the data collection device within the local area network may include: receiving the service discovery frame sent by the data collection device within the local area network; extracting the data from the data body field of the service discovery frame.
[0116] The mobile device can act as the initiator of the Wi-Fi sensing network, establish the Wi-Fi sensing network, and maintain the normal operation of the Wi-Fi sensing network. The mobile device and multiple data collection devices send and receive signaling messages through the Wi-Fi sensing network, enabling the data collection device to quickly transmit data to the mobile device through a Wi-Fi Direct link when the mobile device passes by the data collection device. The mobile device is equipped with a Wi-Fi sensing transceiver module, a Wi-Fi Direct transceiver module, and a ground terminal.
[0117] The Wi-Fi sensing network is a low-power local area network defined by the Wi-Fi Alliance and has relatively wide applications in the Internet of Things field. The communication range of the Wi-Fi sensing network is a circular area with a radius of 100 meters. The mobile device can act as the initiator to establish the Wi-Fi sensing network, and multiple data collection devices join the network.
[0118] The Wi-Fi sensing network has three roles, namely the master device, the non-master synchronization device, and the non-master non-synchronization device. The establishment process of the Wi-Fi sensing network may include: the mobile device acts as the master device and sends a discovery beacon frame, which is used to discover numerous data collection devices to form a Wi-Fi sensing network, and numerous data collection devices randomly become the roles of the non-master synchronization device or the non-master non-synchronization device; the master device and the non-master synchronization device in the group send synchronization beacon frames; within the group, the master device, the non-master synchronization device, or the non-master non-synchronization device can send and receive service discovery frames to obtain specific information.
[0119] After the Wi-Fi sensing network is successfully established, each device in the network has an interface address (6 bytes) to distinguish different devices. Any device in the Wi-Fi sensing network can communicate one-to-one with any other device, one-to-many with multiple devices, or broadcast communicate in the network. The communication messages can be carried in the service discovery frame.
[0120] On the premise of conforming to the Wi-Fi sensing protocol, the devices in the Wi-Fi sensing network use the service discovery frame to send and receive specific messages to each other. The format of the service discovery frame is as Figure 3 shown. Among them, Category refers to the type of this frame as a Public Action Frame; Action Field refers to the public action frame related to the specified manufacturer; OUI refers to the Organizationally Unique Identifier; OUI Type refers to the type of OUI; Attributes refer to the attributes, including service description attributes and manufacturer-specific attributes. In the manufacturer-specific attributes, Attribute ID refers to the number of the manufacturer-specific attribute; Length refers to the byte length sum of OUI and Body; OUI refers to the number of the manufacturer; Body refers to the specific information of the manufacturer.
[0121] To better understand the format of the service discovery frame specified in an embodiment of the present application, Table 2 shows Figure 3 the simplified representation of the service discovery frame described, and the Body field in Table 2 is the Figure 3 data body (Body) field in
[0122] Table 2. Simplified Format of Service Discovery Frame
[0123]
[0124] Table 3 is the definition and description of the message ID in Table 2.
[0125] Table 3. Definition and Description of Message ID
[0126]
[0127]
[0128] The mobile device broadcasts and sends a discovery beacon frame. After the data acquisition device receives the discovery beacon frame, the data acquisition device sends a synchronization beacon frame to the mobile device, thus completing the establishment of the local area network between the mobile device and the data acquisition device.
[0129] After the local area network is established, the mobile device can receive the service discovery frame sent by the data acquisition device within the local area network. The data body field of the service discovery frame contains the data sent by the data acquisition device. The mobile device can extract the data from the data body field of the service discovery frame.
[0130] By adopting the technical solution of the embodiment of the present application, in an area without ground base station network coverage, the mobile device can establish a Wi-Fi sensing network with the data acquisition device, so as to communicate with the data acquisition device in the Wi-Fi sensing network and obtain the data sent by the data acquisition device, realizing the rapid and efficient acquisition of the data in the data acquisition device.
[0131] On the basis of the above technical solution, as an embodiment, the method may further include: receiving the Wi-Fi direct connection addresses sent by each of the data acquisition devices. The receiving the data sent by each of the data acquisition devices may include: establishing a Wi-Fi direct connection link with the data acquisition device according to the Wi-Fi direct connection address sent by the data acquisition device; and receiving the data sent by the data acquisition device through the Wi-Fi direct connection link.
[0132] After the mobile device establishes a Wi-Fi sensing network, the mobile device can broadcast a message (as shown in Table 4) in the Wi-Fi sensing network to notify a plurality of data acquisition devices to report the data volume of the collected data. After receiving the message as shown in Table 4, the data acquisition device can send a message as shown in Table 5 to report the Wi-Fi direct connection address and the data volume.
[0133] Table 4. Message for the mobile device to notify the data acquisition device to report the data volume
[0134]
[0135] Table 5. Message for the data acquisition device to report the Wi-Fi direct connection address and the data volume
[0136]
[0137]
[0138] After receiving the Wi-Fi direct connection address sent by the data acquisition device, the mobile device can establish a one-to-one Wi-Fi direct connection link with the data acquisition device according to the Wi-Fi direct connection address sent by the data acquisition device, and receive the data sent by the data acquisition device through the Wi-Fi direct connection link.
[0139] Continuing with the embodiments described above, when the amount of data received by the mobile device is as shown in Table 1, the mobile device, in the order of Table 1, starts from the data acquisition device with the smallest amount of data and successively establishes Wi-Fi direct connections with numerous data acquisition devices to transfer data at high speed. The mobile device first establishes a Wi-Fi direct connection with the data acquisition device numbered 012 in Table 1. The data acquisition device numbered 012 transfers data to the mobile device at high speed through the Wi-Fi direct connection. Then, the mobile device establishes a Wi-Fi direct connection with the data acquisition device numbered 003 in Table 1. The data acquisition device numbered 003 transfers data to the mobile device at high speed through the Wi-Fi direct connection, and so on. After the mobile device receives the data from all data acquisition devices, the mobile device notifies the numerous data acquisition devices of the message that the data transmission is complete as shown in Table 6, and then disbands the Wi-Fi sensing network.
[0140] Table 6. Message for the mobile device to notify the data acquisition device that the data transmission is complete
[0141]
[0142] The mobile device continues to move along the preset travel path. When moving to the next target area, it forms a Wi-Fi sensing network in the same way. Numerous data acquisition devices join the Wi-Fi sensing network, and the data acquisition devices transfer data to the mobile device at high speed through Wi-Fi direct connections. Finally, the mobile device performs preprocessing operations such as combining like terms, deleting irrelevant items, and integrating and compressing all data to reduce the overall amount of data and form a compressed data packet.
[0143] Adopting the technical solution of the embodiment of the present application, the mobile device can transfer data with each data acquisition device in turn without relying on intermediate devices such as routers. As long as the device supports Wi-Fi direct connection, a connection can be quickly established, and data can be transferred at any time and anywhere, without being restricted by a specific network environment. The operation is simple, saving the time and effort of setting up the network; reducing the forwarding link of intermediate devices, the data is directly transferred between devices, the path is shorter, the transmission delay is low, and a higher data transmission rate can be achieved.
[0144] To facilitate better implementation of the data transmission method of the present application, the present application also provides a data transmission system based on the above data transmission method. The meanings of the terms are the same as those in the above data transmission method, and the specific implementation details can refer to the description in the method embodiments.
[0145] Please refer to Figure 4 , Figure 4 which is a schematic structural diagram of the data transmission system provided by the embodiment of the present application. The data transmission system includes: a data acquisition device, a mobile device, and a server;
[0146] When the mobile device enters the target area, it forms a local area network with at least one of the data collection devices in the target area;
[0147] The data collection device sends data to the mobile device within the local area network;
[0148] The server receives the data sent by the mobile device.
[0149] Figure 5 It is a schematic flowchart of a data transmission system provided by an embodiment of the present application. As Figure 5 shown, the data collection device can collect data. The data collection device can transmit the data to the mobile device through the Wi-Fi sensing network. The mobile device can preprocess the data. The mobile device can upload the data to the server through the satellite network. The server can deeply process the data.
[0150] The data collection device can collect a large amount of data. The mobile device can periodically travel along a fixed route. When passing by the data collection device, the mobile device and numerous data collection devices form a Wi-Fi sensing network. Numerous data collection devices sequentially establish Wi-Fi direct connection links with the mobile device and send the data to the mobile device through the Wi-Fi direct connection links. After receiving the data, the mobile device performs preprocessing to compress the data volume.
[0151] A Wi-Fi sensing transceiver module, a Wi-Fi direct connection transceiver module, and a liquid crystal phased array ground terminal can be installed in the mobile device. A Wi-Fi sensing transceiver module and a Wi-Fi direct connection transceiver module are installed in the data collection device.
[0152] Adopting the technical solution of the embodiment of the present application, after the mobile device enters the target area, it can form a local area network with the data collection devices in the target area, thereby receiving the data sent by the data collection devices within the local area network; and then it can send the data to the server. The mobile device can move. Therefore, a mobile device can form a local area network in each target area and receive the data sent by the data collection devices in each target area. Compared with deploying ground terminals at the positions where various sensors are concentrated, it can reduce the deployment cost and operation cost and quickly and efficiently send the data to the server.
[0153] To facilitate better implementation of the data transmission method of the present application, the present application also provides a data transmission device based on the above data transmission method. The meanings of the nouns are the same as those in the above data transmission method, and the specific implementation details can refer to the description in the method embodiment.
[0154] Please refer to Figure 6 , Figure 6The following is a schematic structural diagram of a data transmission device provided by an embodiment of the present application. The data transmission device is applied to a mobile device and includes:
[0155] A network construction module 601, configured to construct a local area network with at least one data collection device in the target area when entering the target area;
[0156] A data receiving module 602, configured to receive data sent by the data collection device within the local area network;
[0157] A data sending module 603, configured to send the data to a server.
[0158] In one embodiment, the data receiving module 602 includes:
[0159] A data volume receiving unit, configured to receive the data volumes sent by each of the data collection devices; the data volume is the data volume of the data to be sent by the data collection device;
[0160] A distance obtaining unit, configured to obtain a data transmission rate and a distance to be moved in the target area;
[0161] A speed determining unit, configured to determine a moving speed according to the sum of the data volumes, the data transmission rate, and the distance to be moved;
[0162] A first data receiving unit, configured to move at the moving speed and receive the data sent by each of the data collection devices before leaving the target area.
[0163] In one embodiment, the device further includes:
[0164] An address receiving module, configured to receive Wi-Fi direct connection addresses sent by each of the data collection devices;
[0165] The data receiving module 602 includes:
[0166] A link establishing unit, configured to establish a Wi-Fi direct connection link with the data collection device according to the Wi-Fi direct connection address sent by the data collection device;
[0167] A second data receiving unit, configured to receive the data sent by the data collection device through the Wi-Fi direct connection link.
[0168] In one embodiment, the first data receiving unit includes:
[0169] A data receiving subunit, configured to sequentially receive the data sent by each of the data acquisition devices in ascending order of the data volume sent by each of the data acquisition devices.
[0170] In one embodiment, the local area network is a Wi-Fi sensing network, and the network building module 601 includes:
[0171] A beacon sending unit, configured to send a discovery beacon frame;
[0172] A beacon receiving unit, configured to receive the synchronization beacon frames sent by the at least one data acquisition device in response to the discovery beacon frame;
[0173] The data receiving module 602 includes:
[0174] A discovery frame receiving unit, configured to receive the service discovery frames sent by the data acquisition devices within the local area network;
[0175] A data extraction unit, configured to extract the data from the data body field of the service discovery frame.
[0176] In one embodiment, the mobile device includes a ground terminal of a satellite; the data sending module 603 includes:
[0177] A data sending unit, configured to send the data to the satellite through the ground terminal of the satellite, so that the satellite forwards the data to the server.
[0178] In one embodiment, before sending the data to the server, the device further includes:
[0179] A preprocessing module, configured to preprocess the data; the preprocessing includes: combining like terms, deleting irrelevant terms, and compressing.
[0180] By adopting the technical solution of the embodiment of the present application, after the mobile device enters the target area, it can build a local area network with the data acquisition devices in the target area, so as to receive the data sent by the data acquisition devices within the local area network; and then the data can be sent to the server. Since the mobile device can move, a mobile device can build a local area network in each target area and receive the data sent by the data acquisition devices in each target area. Compared with deploying ground terminals at the locations where each sensor is concentrated, the deployment cost and operation cost can be reduced, and the data can be sent to the server quickly and efficiently.
[0181] For the specific limitations of the data transmission device, reference can be made to the limitations of the data transmission method in the foregoing text, which will not be elaborated here. Each module in the above data transmission device can be implemented in whole or in part by software, hardware, and their combination. Each of the above modules can be embedded in the processor of the computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each of the above modules.
[0182] In addition, the present application also provides an electronic device. As Figure 7 shown, it shows a schematic structural diagram of the electronic device involved in the present application. Specifically:
[0183] The electronic device may include a processor 701 with one or more processing cores and a memory 702 with one or more computer-readable storage media and other components. Those skilled in the art can understand that Figure 7 the structure of the electronic device shown in
[0184] does not constitute a limitation on the electronic device, and it may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements. Among them:
[0185] The processor 701 is the control center of the electronic device, connecting various parts of the entire electronic device through various interfaces and lines. By running or executing software programs and / or modules stored in the memory 702, and calling the data stored in the memory 702, it executes various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 701 may include one or more processing cores; preferably, the processor 701 may integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above modem processor may not be integrated into the processor 701 either.
[0186] In one embodiment, the electronic device further includes a power supply 703 for supplying power to each component. Preferably, the power supply 703 can be logically connected to the processor 701 through a power management system, so as to manage functions such as charging, discharging, and power consumption management through the power management system. The power supply 703 may further include any components such as one or more DC or AC power supplies, a recharge system, a power device debugging circuit, a power converter or inverter, and a power status indicator.
[0187] In one embodiment, the electronic device may further include an input unit 704, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
[0188] Although not shown, the electronic device may further include a display unit, etc., which will not be elaborated here. Specifically, in this embodiment, the processor 701 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 702 according to the following instructions, and the processor 701 will run the application programs stored in the memory 702, so as to implement the steps in any of the data transmission methods provided in the embodiments of the present application.
[0189] In one embodiment, the electronic device may be a mobile device. When the electronic device is a mobile device, the electronic device further includes a Wi-Fi sensing transceiver module, a Wi-Fi direct connection transceiver module, and a ground terminal.
[0190] Those skilled in the art can understand that Figure 7 the structure shown in
[0191] is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the electronic device to which the solution of the present application is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0192] In one embodiment, there is provided an electronic device including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the method described in any embodiment of the present application is implemented.
[0193] In some embodiments, there is also provided a computer program product including a computer program or instruction, and when the computer program or instruction is executed by a processor, the method described in any embodiment of the present application is implemented.
[0194] For the specific implementation of each of the above operations, reference may be made to the previous embodiments, which will not be elaborated herein.
[0195] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by controlling relevant hardware through instructions. The instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0196] To this end, the present application provides a computer-readable storage medium on which a computer program is stored. The computer program can be loaded by a processor to execute the steps in any of the data transmission methods provided by the present application.
[0197] For the specific implementation of each of the above operations, reference may be made to the previous embodiments, which will not be elaborated herein.
[0198] Among them, the computer-readable storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc.
[0199] Since the instructions stored in the computer-readable storage medium can execute the steps in any of the data transmission methods provided by the present application, the beneficial effects that can be achieved by any of the data transmission methods provided by the present application can be realized. For details, reference may be made to the previous embodiments, which will not be elaborated herein.
[0200] Finally, it should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or terminal device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or terminal device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the existence of additional identical elements in the process, method, article or terminal device comprising the element.
[0201] The above has introduced in detail a data transmission method, system, device, electronic device, and computer-readable storage medium provided by the present application. Specific examples are used in this article to elaborate on the principles and implementation manners of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation manners and application scopes. In summary, the content of this specification should not be construed as a limitation to the present invention.
Claims
1. A data transmission method, characterized in that: Applied to a mobile device; the method comprises: When entering a target area, establishing a local area network with at least one data acquisition device in the target area; In the local area network, receiving data sent by the data acquisition device; and The data is sent to the server.
2. The method according to claim 1, characterized in that The step of receiving data sent by the data acquisition device in the local area network includes: Receiving the amount of data sent by each of the data acquisition devices; the amount of data is the amount of data to be sent by the data acquisition device; Acquire a data transmission rate and a distance to be moved in the target area; Determine a moving speed according to the sum of the data amounts, the data transmission rate and the distance to be moved; Move at the moving speed, and receive the data sent by each of the data acquisition devices before leaving the target area.
3. The method according to claim 2, characterized in that The method further comprises: Receiving the Wi-Fi direct connection address sent by each of the data acquisition devices; The receiving of the data sent by each of the data acquisition devices comprises: Establishing a Wi-Fi direct connection link with the data acquisition device according to the Wi-Fi direct connection address sent by the data acquisition device; The data sent by the data acquisition device is received through the Wi-Fi direct link.
4. The method according to claim 2, characterized in that: The receiving of the data sent by each of the data acquisition devices comprises: The data sent by each of the data acquisition devices are received in sequence according to the order of the amount of data sent by each of the data acquisition devices from small to large.
5. The method according to claim 1, characterized in that The local area network is a Wi-Fi aware network, and the establishment of a local area network with at least one data collection device in the target area includes: Send a discovery beacon frame; receiving a synchronization beacon frame sent by the at least one data acquisition device in response to the discovery beacon frame; The step of receiving data sent by the data acquisition device in the local area network includes: In the local area network, receiving a service discovery frame sent by the data acquisition device; The data is extracted from a data body field of the service discovery frame.
6. The method according to claim 1, characterized in that The mobile device includes a ground terminal for a satellite; The sending the data to the server comprises: The data is sent to the satellite through the ground terminal of the satellite, so that the satellite forwards the data to the server.
7. The method according to claim 1, characterized in that Before sending the data to the server, the method further includes: The data is preprocessed; the preprocessing includes: merging similar items, deleting irrelevant items and compressing.
8. A data transmission system, characterized in that: The data transmission system comprises: a data acquisition device, a mobile device and a server; When the mobile device enters a target area, it establishes a local area network with at least one of the data collection devices in the target area; The data acquisition device sends data to the mobile device in the local area network; The server receives the data sent by the mobile device.
9. A data transmission device, characterized in that: Applied to a mobile device, the device comprising: A network building module, used to build a local area network with at least one data acquisition device in the target area when entering the target area; A data receiving module, used for receiving data sent by the data acquisition device in the local area network; The data sending module is used to send the data to the server.
10. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the data transmission method according to any one of claims 1 to 7 when executing the computer program.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the data transmission method according to any one of claims 1 to 7 are implemented.