Data transmission method, data gateway and system

By introducing a data gateway into the remote equipment or device end of the automatic lawn mower and dynamically matching the communication module, the problem of inefficient data transmission of automatic lawn mower is solved, and intelligent data transmission path selection and resource optimization are realized.

CN119814848AInactive Publication Date: 2025-04-11JIANGSU DONGCHENG GARDEN MASCH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510042292.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-10
Publication Date
2025-04-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When existing automatic lawn mowers transmit data, the default communication channel cannot meet the actual needs, resulting in low transmission efficiency. Users need to manually switch channels, which is cumbersome.

Method used

Introduce a data gateway in the remote device or device terminal, send and receive data packets through the data gateway, and dynamically match the communication module with the identification information and preset rules in the data packet to realize intelligent selection of the data transmission path.

Benefits of technology

It improves data transmission efficiency, simplifies user operations, avoids the inefficiency problem of manually switching channels, adapts to multiple communication scenarios, and optimizes resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119814848A_ABST
    Figure CN119814848A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of robot data transmission, and discloses a data transmission method, a data gateway and a system. The method comprises the following steps: receiving a first data packet sent by a control end based on a data interface of the data gateway; wherein the first data packet at least comprises target data and identification information of the target data, and the identification information is at least used for indicating a to-be-executed task of the equipment side; searching a target communication module matched with the first data packet in a plurality of communication modules according to the first data packet and a preset rule; wherein the preset rule is used for indicating the mapping relationship between the identification information of the data and the communication modules, and the plurality of communication modules share the same data interface; sending the first data packet to a device end through the target communication module; wherein the gateway is at least deployed at a far-end device or a device end. Through the method, user operation is effectively simplified, and the method is suitable for multi-task and multi-scene equipment communication requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the technical field of robot data transmission, and in particular to a data transmission method, a data gateway and a system. Background Art

[0002] An automatic lawn mower, also known as a lawn mower robot or smart lawn mower, is a device that can automatically walk on the lawn and complete the mowing task. In order to achieve remote control, the terminal device can establish a data transmission link with the lawn mower through a communication module. The lawn mower supports multiple types of communication modules, and when the terminal device establishes a connection with it, it usually gives priority to completing the initial link establishment through the default transmission interface.

[0003] However, due to factors such as data type, data volume or network conditions, the default communication channel may not meet the actual data transmission needs, thus affecting the transmission efficiency. To solve this problem, users usually need to manually switch the communication channel, but this process may lead to cumbersome operations and further reduce the data transmission efficiency. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a data transmission method, a data gateway and a system, which can adapt to various communication scenarios through the above data method, improve transmission efficiency, and solve the inefficiency problem of manual switching by users.

[0005] To solve the above technical problems, an embodiment of the present invention provides a data transmission method, which is applied to a data gateway, and the method includes: receiving a first data packet sent by a control end based on a data interface of the data gateway; wherein the first data packet includes at least target data and identification information of the target data, and the identification information is at least used to indicate the task to be performed by the device end, and the task includes at least: mapping task, mowing task, driving task, charging task, equipment maintenance task and / or equipment configuration task; according to the first data packet and preset rules, a target communication module matching the first data packet is found in several communication modules; wherein the preset rules are used to indicate the mapping relationship between the identification information of the data and the communication module, and the several communication modules share the same data interface; sending the first data packet to the device end through the target communication module; wherein the gateway is deployed at least on a remote device or a device end.

[0006] The embodiment of the present invention also provides a data gateway, the gateway includes a parsing unit, a channel selection unit, a packet unit and a data sending unit; wherein the parsing unit is used to receive a first data packet sent by a control end based on a data interface of the data gateway, and parse the first data packet to obtain target data and identification information of the target data; the channel selection unit is used to find a target communication module matching the first data packet in a plurality of communication modules according to the first data packet and a preset rule; the packet unit is used to encapsulate the data to be uploaded to obtain a second data packet; the data sending unit is used to send the first data packet to the device end through the target communication module; the data sending unit is also used to send the second data packet to the control end through the data interface based on the determined target communication module; the channel selection unit is also used to receive the data to be uploaded sent by the device end based on the data interface, identify the task type to which the data to be uploaded belongs, and determine the corresponding target communication module; the data sending unit is also used to send the second data packet to the control end through the data interface based on the determined target communication module; the data sending unit is also used to upload the first data packet and / or the second data packet to a cloud server.

[0007] An embodiment of the present invention also provides a data transmission method, which is applied to a control end, and the method includes: generating a first data packet, the first data packet at least including target data and identification information of the target data, the identification information at least used to indicate the task to be performed on the device end, the task at least including: mapping task, mowing task, driving task, charging task, equipment maintenance task and / or equipment configuration task; sending the first data packet to a data gateway, so that the data network can find a target communication module matching the first data packet in a number of communication modules according to the first data packet and preset rules; receiving a second data packet sent by the data gateway.

[0008] An embodiment of the present invention also provides a data transmission method, which is applied to a device side, and the method includes: receiving a parsed first data packet sent by a data gateway; wherein the first data packet includes at least target data and identification information of the target data, and the identification information is at least used to indicate the task to be performed on the device side, and the task includes at least: map modeling task, mowing task, driving task, charging task, equipment maintenance task and / or equipment configuration task; executing the corresponding task according to the identification information to generate data to be uploaded; sending the data to be uploaded to the data gateway, so that the data gateway can package the uploaded data to obtain a second data packet, and send the second data packet to the control end based on the target communication module.

[0009] The embodiment of the present invention also provides a data transmission system, the system includes a control end, a data gateway and a device end; wherein the data gateway is used to receive a first data packet sent by the control end based on the data interface of the data gateway; wherein the first data packet at least includes target data and identification information of the target data, and the identification information is at least used to indicate the task to be performed by the device end, and the task at least includes: mapping task, mowing task, driving task, charging task, equipment maintenance task and / or equipment configuration task; according to the first data packet and preset rules, a target communication module matching the first data packet is found in several communication modules; wherein the preset rules are used to indicate the mapping relationship between the identification information of the data and the communication module, and the several communication modules share the same data interface; the first data packet is sent to the device end through the target communication module; wherein the gateway is at least deployed on the remote device or the device end; based on the data interface, the data to be uploaded sent by the device end is received, and the task type to which the data to be uploaded belongs is identified to determine the corresponding target communication module; the data to be uploaded is encapsulated to obtain a second data packet, and the second data packet is transmitted to the device end through the data interface based on the determined target communication module The control end is used to generate a first data packet, the first data packet at least includes target data and identification information of the target data, the identification information is at least used to indicate the task to be performed by the device end, the task at least includes: map building task, mowing task, driving task, charging task, equipment maintenance task and / or equipment configuration task; the first data packet is sent to the data gateway, so that the data network can find the target communication module matching the first data packet in a number of communication modules according to the first data packet and preset rules; receive the second data packet sent by the data gateway; the device end is used to receive the parsed first data packet sent by the data gateway; wherein the first data packet at least includes target data and identification information of the target data, the identification information is at least used to indicate the task to be performed by the device end, the task at least includes: map building task, mowing task, driving task, charging task, equipment maintenance task and / or equipment configuration task; execute the corresponding task according to the identification information to generate data to be uploaded; send the data to be uploaded to the data gateway, so that the data gateway can encapsulate the uploaded data to obtain a second data packet, and send the second data packet to the control end based on the target communication module.

[0010] Compared with the prior art, the embodiment of the present invention adds a data gateway to the remote device or device end, and receives and sends data packets sent by each terminal through the data gateway; wherein, the identification information in the data packet indicates the task type, dynamically matches the communication module in combination with the preset rules, and utilizes the design of a multi-module shared data interface to realize the intelligent selection of the data transmission path. Through this method, the device end does not need to perform data unpacking and encapsulation during data transmission, but only needs to upload and receive data, and different data channels can be used to transmit data through a set of equipment, and the overall IOT (Internet of Things) data transmission and reception work can be completed through one interface, which can effectively improve task execution efficiency, optimize resource utilization, and adapt to multi-task requirements.

[0011] In addition, the method also includes: receiving the data to be uploaded sent by the device end based on the data interface, identifying the task type to which the data to be uploaded belongs to determine the corresponding target communication module; encapsulating the data to be uploaded to obtain a second data packet, and sending the second data packet to the control end through the data interface based on the determined target communication module.

[0012] In addition, the step of finding a target communication module that matches the first data packet in a plurality of communication modules includes: parsing the target data; if the target communication module has been specified in the target data, taking the specified communication module as the determined target communication module; if the target communication module has not been specified in the target data, determining the corresponding target communication module according to the identification information of the target data. In this way, by combining the target data parsing and the dynamic matching of the identification information, the efficiency of the specified priority is achieved, while the flexibility in the unspecified scenario is taken into account, making the communication module selection more intelligent and accurate.

[0013] In addition, the communication module at least includes: a first communication module and a second communication module, the transmission efficiency of the second communication module is lower than that of the first communication module; the searching for the target communication module matching the first data packet in a plurality of communication modules also includes: identifying the task type indicated by the identification information of the first data packet, and determining the corresponding target communication module from a plurality of communication modules according to the task type: wherein, if the task type belongs to the first task, the communication module is determined to be the second communication module; if the task type belongs to the second task, the communication module is determined to be the first communication module; the data volume of the first task is smaller than that of the second task, or / and the number of interactive end devices of the first task is smaller than that of the second task.

[0014] In addition, the first task includes at least: the equipment configuration task; the second task includes at least: the mapping task, the mowing task, the equipment maintenance task, or the driving task; wherein the mapping task includes at least configuring the map; the equipment maintenance task includes at least obtaining equipment logs, historical records, and firmware updates; the equipment configuration task includes at least configuring equipment working parameters and task plans; the mowing task includes at least configuring equipment mowing actions, areas, and paths; the driving task includes at least configuring equipment form paths and areas.

[0015] In addition, after determining the corresponding communication module, the method further includes: obtaining the network status of the control end and the device end; if either the control end or the device end is disconnected from the network, uploading the first data packet and / or the second data packet to the cloud server and providing a prompt. In this way, through the network status detection and cloud transfer technology, the reliability and flexibility of the system are significantly enhanced, the data loss and task interruption problems caused by network disconnection are solved, and the user experience is optimized, which is suitable for application scenarios with complex or unstable network environments. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0017] Figure 1 is a flow chart of a data transmission method provided in an embodiment of the present application;

[0018] Figure 2 is another flow chart of a data transmission method provided in an embodiment of the present application;

[0019] Figure 3 is another flow chart of a data transmission method provided in an embodiment of the present application;

[0020] Figure 4 Another flow chart of the data transmission method provided in one embodiment of the present application is

[0021] Figure 5 It is a structural diagram of a data gateway provided in an embodiment of the present application;

[0022] Figure 6 It is a structural diagram of a data transmission system provided in one embodiment of the present application. DETAILED DESCRIPTION

[0023] To make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can be implemented. The division of the following embodiments is for the convenience of description, and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined and referenced with each other without contradiction.

[0024] The device end can be an automatic lawn mower, also known as a lawn mower robot, smart lawn mower, etc., which is a device that can automatically walk on the lawn to mow the lawn. After the lawn mower robot enters the lawn in the working area, the user uses the control terminal to transmit remote control instructions to the automatic lawn mower; at the same time, the lawn mower robot needs to reply to the control terminal, including replying to the command, uploading the machine status or information.

[0025] In order to achieve remote control, the terminal device can establish a data transmission link with the lawn mower through the communication module. The lawn mower supports multiple types of communication modules, and when the terminal device establishes a connection with it, it usually gives priority to completing the initial link establishment through the default transmission interface.

[0026] The embodiment of the present invention provides a data transmission method on the one hand, which is applied to a data gateway, and the method comprises: receiving a first data packet sent by a control end based on a data interface of the data gateway; wherein the first data packet at least includes target data and identification information of the target data, and the identification information is at least used to indicate the task to be performed by the device end, and the task at least includes: mapping task, mowing task, driving task, charging task, equipment maintenance task and / or equipment configuration task; according to the first data packet and preset rules, a target communication module matching the first data packet is found in several communication modules; wherein the preset rules are used to indicate the mapping relationship between the identification information of the data and the communication module, and the several communication modules share the same data interface; the first data packet is sent to the device end through the target communication module; wherein the gateway is at least deployed on a remote device or a device end. The method adds a data gateway to the remote device or the device end, and receives and sends data packets sent by each terminal through the data gateway; wherein the identification information in the data packet indicates the task type, dynamically matches the communication module in combination with the preset rules, and utilizes the design of a multi-module shared data interface to realize the intelligent selection of the data transmission path. This method effectively improves task execution efficiency, optimizes resource utilization, adapts to multi-task requirements, and simplifies user operations through distributed gateway deployment, which is suitable for multi-task, multi-scenario device communication requirements. That is, different data channels can be used to transmit data through a set of equipment, and the overall IOT (Internet of Things) data transmission and reception work can be completed through one interface. To facilitate understanding of the data transmission method provided in the embodiment of the present application, the following will be explained in conjunction with its different implementation processes.

[0027] In some embodiments, a flowchart of a data transmission method is as follows: Figure 1 As shown, the following steps are included:

[0028] Step 101: Receive a first data packet sent by a control terminal based on a data interface of a data gateway.

[0029] Step 102: According to the first data packet and a preset rule, a target communication module matching the first data packet is searched among a plurality of communication modules.

[0030] Step 103: Send the first data packet to the device end through the target communication module.

[0031] In this way, by adding a data gateway to the remote device or device end, the data packets sent by each terminal are sent and received through the data gateway; wherein, the identification information in the data packet indicates the task type, and the communication module is dynamically matched in combination with the preset rules, and the design of a multi-module shared data interface is used to realize the intelligent selection of the data transmission path. This method effectively improves the efficiency of task execution, optimizes resource utilization, adapts to multi-task requirements, and simplifies user operations through distributed gateway deployment, which is suitable for multi-task and multi-scenario device communication requirements. Through a set of equipment, different data channels can be used to transmit data, and the overall IOT (Internet of Things) data transmission and reception work can be completed through one interface.

[0032] To facilitate better understanding of those skilled in the art Figure 1 The method shown in the figure will be further described below.

[0033] In step 101, the data gateway receives a first data packet sent by the control end based on the data interface; wherein the first data packet includes at least target data and identification information of the target data, and the identification information is at least used to indicate the task to be performed by the device end, and the tasks include at least: mapping tasks, mowing tasks, driving tasks, charging tasks, equipment maintenance tasks and / or equipment configuration tasks.

[0034] Further, in step 101, the target data may include map data, log data, device status data, device sensor data, device task data, device historical work data, and device firmware or new upgrade firmware. The identification information may include information for identifying the target data, such as: data volume identification (such as data link, number of data records, and data sampling rate, etc.), data type identification (such as data format, data type, and data dimension, etc.), and data source identification (such as device ID, data collection time, etc.), data reliability identification (such as data integrity, data validity, and data trustworthiness, etc.), and related security identification (such as encryption status and permission identification, etc.). The identification information may also include information used to prompt or specify the transmission method of the target data, such as: communication channel identification (such as channel type, channel number, channel bandwidth, etc.), port identification (such as TCP / UDP port number, port range, port protocol, etc.), communication protocol identification (such as transmission protocol and encryption protocol, etc.), etc.; the identification information may also include information used to indicate the data receiving device, such as: device identification (such as device ID, device name), device type identification (such as device category, device model and device function identification, etc.), device address identification (such as network address, geographic location and area number), communication target identification (such as communication channel, port, gateway or path information, etc.); the identification information may also include information used to indicate data broadcast or multicast, such as device group identification (such as device group ID, scene group and area group, etc.), collaboration identification (such as master-slave device and queue number, etc.); the identification information may also include information indicating network performance status, such as: data transmission method (such as traffic priority and data rate, etc.), network optimization (such as device load status and diversion strategy), etc.

[0035] In step 102, the data gateway obtains the data packet from the control end, and searches for a target communication module matching the first data packet in a plurality of communication modules according to the data packet and a preset rule, wherein the preset rule is used to indicate the mapping relationship between the identification information of the data and the communication module, and the plurality of communication modules share the same data interface.

[0036] In this way, by combining target data analysis and dynamic matching of identification information, we can achieve the high efficiency of designated priority while taking into account the flexibility in unspecified scenarios, making the communication module selection more intelligent and accurate.

[0037] Further, in some embodiments, the communication module in step 102 may include: a first communication module and a second communication module, and the transmission efficiency of the second communication module is lower than that of the first communication module. Specifically, the first communication module should be an efficient transmission module for high-bandwidth, low-latency data transmission, wherein the first communication module applied to long-distance wireless communication may be a communication module of Wi-Fi (wireless local area network), 5G network or millimeter wave, etc., and the first communication module applied to short-distance wireless communication may be a communication module of UWB (Ultra-Wide Band) or WiGig (Wireless Gigabit), etc.; the second communication module has low transmission efficiency and has the characteristics of lower power consumption, wherein the second communication module applied to short-distance wireless communication may be a communication module of LoRa (Long Range Radio, long-distance low-power network), NB-IoT (Narrow Band Internet of Things), 2G / 3G network, Sigfox (Low Power Wide Area Network), Classic Bluetooth (Bluetooth Classic), RFID (Radio Frequency Identification), ZigBee or infrared communication, etc.

[0038] This application provides a feasible embodiment, taking the first communication module as a Wi-Fi module and the second communication module as a Bluetooth module as an example. Of course, the above is only an example, and the relevant settings may be different according to different application scenarios, different requirements, different hardware capabilities, etc., and will not be repeated here.

[0039] In some embodiments, for step 102, the preset rule may be a business dictionary. Some examples of business dictionaries are given here, as shown in Table 1.

[0040] Table 1 Business dictionary (part)

[0041]

[0042] In some embodiments, for step 102, finding a target communication module that matches the first data packet among several communication modules can be achieved in the following manner: parsing the first data packet to obtain identification information; if the target communication module has been specified in the identification information, the specified communication module is used as the determined target communication module; if the target communication module is not specified in the identification information, the corresponding target communication module is determined based on the identification information and preset rules.

[0043] The identification information may include information for prompting or specifying the transmission mode of the target data, such as: communication channel identification (such as channel type, channel number, channel bandwidth, etc.), port identification (such as TCP / UDP port number, port range, port protocol, etc.), communication protocol identification (such as transmission protocol and encryption protocol, etc.), etc. The data gateway may determine the communication module according to the identification information, and further search for the target communication module from several communication modules.

[0044] Furthermore, in step 102, finding the target communication module that matches the first data packet among several communication modules can also be achieved in the following manner: identifying the task type indicated by the identification information of the first data packet, and determining the corresponding target communication module from several communication modules according to the task type: wherein, if the task type belongs to the first task, the communication module is determined to be the second communication module; if the task type belongs to the second task, the communication module is determined to be the first communication module; the data volume of the first task is smaller than that of the second task, or / and the number of interactive end devices of the first task is smaller than that of the second task.

[0045] Further, in some embodiments, the first task includes at least: an equipment configuration task; the second task includes at least: a mapping task, a mowing task, an equipment maintenance task, or a driving task;

[0046] Among them, the mapping task at least includes configuring the map; the equipment maintenance task at least includes obtaining equipment logs, historical records and firmware updates; the equipment configuration task at least includes configuring equipment working parameters and task plans; the mowing task at least includes configuring the equipment mowing action, area and path; the driving task at least includes configuring the equipment form path and area.

[0047] Furthermore, in some embodiments, the process of the data transmission method can also be as follows: Figure 2 As shown, after step 102, in some embodiments, the following steps may also be included:

[0048] Step 104: Acquire the networking status of the control terminal and the device terminal.

[0049] In step 104, when the data gateway is deployed on a remote device, the network status of the control end and the device end is obtained; if either the control end or the device end is disconnected from the network, the first data packet and / or the second data packet is uploaded to the cloud server and a prompt is given. The remote device may be a cloud device (such as a cloud server or an edge computing node), a network relay device (such as a router, an access point, or a charging station for a device), or other device ends that constitute a device group.

[0050] In this way, through network status detection and cloud transit technology, the reliability and flexibility of the system are significantly enhanced, solving the problems of data loss and task interruption caused by network disconnection, and optimizing the user experience. It is suitable for application scenarios with complex or unstable network environment.

[0051] Another embodiment of the present invention provides a data transmission method, which is applied to a control terminal. Figure 3 shown.

[0052] Step 201: Generate a first data packet, and send the first data packet to a data gateway.

[0053] Step 202: Receive a second data packet sent by the data gateway.

[0054] To facilitate better understanding of those skilled in the art Figure 3 The method shown in the figure will be explained in the following steps.

[0055] In step 201, the control end generates a first data packet, which is used to instruct the device end to perform a map modeling task, a device maintenance task and / or a device configuration task; the first data packet is sent to the data gateway, so that the data gateway parses the first data packet to obtain parsed data, and sends the parsed data to the device end based on the target communication module.

[0056] In this way, the task instruction (first data packet) is generated by the control end, parsed by the data gateway, and forwarded to the device end using the target communication module to ensure efficient transmission and accurate execution of the instruction. This design realizes the hierarchical management of tasks and the decoupling of data processing, improves the flexibility of data transmission and the accuracy of task execution, and is suitable for remote control of various task types (such as map modeling, equipment maintenance, etc.) in complex systems. At the same time, the control end is only responsible for receiving and sending data, and simplifies user operations through distributed gateway deployment, which is suitable for multi-task and multi-scenario device communication needs.

[0057] Another embodiment of the present invention provides a data transmission method, which is applied to a device. The specific process is as follows: Figure 4 shown.

[0058] Step 301: Receive a parsed first data packet sent by a data gateway.

[0059] Step 302: Execute corresponding tasks according to the identification information to generate data to be uploaded.

[0060] Step 303: Send the data to be uploaded to the data gateway.

[0061] To facilitate better understanding of those skilled in the art Figure 4 The method shown in the figure will be explained in the following steps.

[0062] In step 301, the first data packet includes at least target data and identification information of the target data, and the identification information is at least used to indicate the task to be performed on the device side, and the task includes at least: map modeling task, mowing task, driving task, charging task, equipment maintenance task and / or equipment configuration task.

[0063] In step 302, the device executes the corresponding task and generates data according to the executed task, wherein the data may be a map, a log, a device status, a historical work record of the device, etc.

[0064] In step 303, the device sends the data to be uploaded to the data gateway, so that the data gateway packages the uploaded data to obtain a second data packet, and sends the second data packet to the control end based on the target communication module.

[0065] In this way, through the above method, the device side does not need to worry about the packaging and unpacking of data, nor does it need to worry about the selection of data channels. Any data channel shares a set of structured data, and the overall IOT data transmission and reception work can be completed through the interface.

[0066] The step division of the above methods is only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.

[0067] Another embodiment of the present invention relates to a data gateway, such as Figure 5 As shown, the gateway includes a parsing unit, a channel selection unit, a packet unit and a data sending unit, wherein:

[0068] A parsing unit, configured to receive a first data packet sent by the control terminal based on a data interface of the data gateway, and parse the first data packet to obtain target data and identification information of the target data;

[0069] A channel selection unit, configured to search for a target communication module matching the first data packet among a plurality of communication modules according to the first data packet and a preset rule;

[0070] Optionally, the channel selection unit is further specifically used to: parse the first data packet to obtain identification information;

[0071] If the target communication module has been specified in the identification information, the specified communication module is used as the determined target communication module;

[0072] If the target communication module is not specified in the identification information, the corresponding target communication module is determined according to the identification information and a preset rule.

[0073] Optionally, the channel selection unit is further specifically used to: identify the task type indicated by the identification information of the first data packet, and determine a corresponding target communication module from a plurality of communication modules according to the task type:

[0074] Among them, if the task type belongs to the first task, the communication module is determined to be a Bluetooth module; if the task type belongs to the second task, the communication module is determined to be a Wi-Fi module; the data volume of the first task is smaller than that of the second task, or / and the number of interactive end devices of the first task is smaller than that of the second task.

[0075] A packaging unit, used for packaging the data to be uploaded to obtain a second data packet;

[0076] A data sending unit, used for sending a first data packet to a device end through a target communication module;

[0077] The data sending unit is further used to send the second data packet to the control end through the data interface based on the determined target communication module;

[0078] The channel selection unit is further used to identify the task type to which the data to be uploaded belongs based on the data interface receiving device end to determine the corresponding target communication module;

[0079] The data sending unit is further used to send the second data packet to the control end through the data interface based on the determined target communication module;

[0080] The data sending unit is further used to upload the first data packet and / or the second data packet to the cloud server.

[0081] It is not difficult to find that this embodiment is a system embodiment corresponding to the above method embodiment, and this embodiment can be implemented in conjunction with the above method embodiment. The relevant technical details mentioned in the above method embodiment are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the above method embodiment.

[0082] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in this embodiment.

[0083] like Figure 6 As shown, another embodiment of the present invention relates to a data transmission system, the system includes a control end, a data gateway and a device end; wherein,

[0084] A data gateway, configured to receive a first data packet sent by a control terminal based on a data interface of the data gateway; wherein the first data packet includes at least target data and identification information of the target data, and the identification information is at least used to indicate a task to be performed by the device terminal, and the task includes at least: a mapping task, a mowing task, a driving task, a charging task, a device maintenance task, and / or a device configuration task;

[0085] According to the first data packet and the preset rule, a target communication module matching the first data packet is found in a plurality of communication modules; wherein the preset rule is used to indicate a mapping relationship between identification information of the data and the communication module, and the plurality of communication modules share the same data interface;

[0086] Sending a first data packet to the device end through the target communication module; wherein the gateway is at least deployed on the remote device or the device end;

[0087] Based on the data interface, the data to be uploaded sent by the device is received, and the task type to which the data to be uploaded belongs is identified to determine the corresponding target communication module;

[0088] Encapsulating the data to be uploaded to obtain a second data packet, and sending the second data packet to the control end through the data interface based on the determined target communication module;

[0089] The control end is used to generate a first data packet, the first data packet at least includes target data and identification information of the target data, the identification information is at least used to indicate the task to be performed by the device end, and the task at least includes: mapping task, mowing task, driving task, charging task, equipment maintenance task and / or equipment configuration task; send the first data packet to the data gateway, so that the data network can find a target communication module matching the first data packet in a plurality of communication modules according to the first data packet and preset rules; receive a second data packet sent by the data gateway;

[0090] The device end is used to receive a parsed first data packet sent by a data gateway; wherein the first data packet at least includes target data and identification information of the target data, and the identification information is at least used to indicate the task to be performed by the device end, and the task at least includes: map modeling task, mowing task, driving task, charging task, equipment maintenance task and / or equipment configuration task; execute the corresponding task according to the identification information to generate data to be uploaded; send the data to be uploaded to the data gateway, so that the data gateway can package the uploaded data to obtain a second data packet, and send the second data packet to the control end based on the target communication module.

[0091] In this way, by adding a data gateway to the remote device or device end, the data packets sent by each terminal are sent and received based on the data gateway; wherein, the identification information in the data packet indicates the task type; the communication module is dynamically matched in combination with the preset rules, and the design of a multi-module shared data interface is used to realize the intelligent selection of the data transmission path. Through this method, the device end does not need to perform data unpacking and encapsulation during data transmission, but only needs to upload and receive data, and different data channels can be used to transmit data through a set of equipment, and the overall IOT (Internet of Things) data transmission and reception work can be completed through one interface, which can effectively improve the efficiency of task execution, optimize resource utilization, and adapt to multi-task requirements.

[0092] Those skilled in the art will appreciate that the above embodiments are specific embodiments for implementing the present invention, and that in actual applications, various changes may be made in form and detail without departing from the spirit and scope of the present invention.

Claims

1. A data transmission method, characterized in that: Applied to a data gateway, the method includes: Receive a first data packet sent by the control end based on the data interface of the data gateway; wherein the first data packet includes at least target data and identification information of the target data, and the identification information is at least used to indicate a task to be performed by the device end, and the task includes at least one of a mapping task, a mowing task, a driving task, a charging task, a device maintenance task and / or a device configuration task; According to the first data packet and a preset rule, a target communication module matching the first data packet is searched among a plurality of communication modules; wherein the preset rule is used to indicate a mapping relationship between identification information of the data and the communication module, and the plurality of communication modules share the same data interface; Sending the first data packet to the device end through the target communication module; The gateway is at least deployed on a remote device or the device.

2. The data transmission method according to claim 1, characterized in that: The method further comprises: Receiving the data to be uploaded sent by the device end based on the data interface, identifying the task type to which the data to be uploaded belongs to determine the corresponding target communication module; The data to be uploaded is encapsulated to obtain a second data packet, and the second data packet is sent to the control end through the data interface based on the determined target communication module.

3. The data transmission method according to claim 1, characterized in that: The step of searching, according to the first data packet and a preset rule, a target communication module matching the first data packet among a plurality of communication modules comprises: Parsing the first data packet to obtain identification information; If a target communication module has been specified in the identification information, the specified communication module is used as the determined target communication module; If the target communication module is not specified in the identification information, the corresponding target communication module is determined according to the identification information and the preset rule.

4. The data transmission method according to claim 1, characterized in that: The communication module at least includes: a first communication module and a second communication module, wherein the transmission efficiency of the second communication module is lower than that of the first communication module; The step of searching for a target communication module matching the first data packet among the plurality of communication modules further includes: Identify the task type indicated by the identification information of the first data packet, and determine a corresponding target communication module from a plurality of communication modules according to the task type, wherein: If the task type belongs to the first task, determining that the communication module is the second communication module; If the task type belongs to the second task, determining that the communication module is the first communication module; The data volume of the first task is smaller than that of the second task, or / and the number of interactive end devices of the first task is smaller than that of the second task.

5. The data transmission method according to claim 4, characterized in that: The first task at least includes: the equipment configuration task; the second task at least includes: a mapping task, a mowing task, an equipment maintenance task, or a driving task; wherein, The equipment configuration task at least includes configuring equipment working parameters and task plans; The mapping task at least includes configuring a map; The mowing task at least includes configuring the mowing action of the equipment, the mowing area and the mowing path; The device maintenance task at least includes obtaining device logs, historical records and firmware updates; The driving task at least includes a route and an area for configuring the equipment.

6. The data transmission method according to any one of claims 1 to 5, characterized in that: After determining the corresponding communication module, the method further includes: Acquire the networking status of the control terminal and the device terminal; If any one of the control end and the device end is disconnected from the network, the first data packet and / or the second data packet is uploaded to the cloud server and a prompt is given.

7. A data gateway, characterized in that: The gateway includes a parsing unit, a channel selection unit, a packaging unit and a data sending unit; wherein, The parsing unit is used to receive a first data packet sent by the control end based on the data interface of the data gateway, and parse the first data packet to obtain target data and identification information of the target data; The channel selection unit is used to find a target communication module matching the first data packet among a plurality of communication modules according to the first data packet and a preset rule; The packaging unit is used to package the data to be uploaded to obtain a second data packet; The data sending unit is used to send the first data packet to the device end through the target communication module; The data sending unit is further used to send the second data packet to the control end through the data interface based on the determined target communication module; The channel selection unit is further used to receive the data to be uploaded sent by the device end based on the data interface, identify the task type to which the data to be uploaded belongs to determine the corresponding target communication module; The data sending unit is further used to send the second data packet to the control end through the data interface based on the determined target communication module; The data sending unit is further configured to upload the first data packet and / or the second data packet to a cloud server.

8. A data transmission method, characterized in that: Applied to the control end, the method includes: Generate a first data packet, the first data packet at least including target data and identification information of the target data, the identification information at least used to indicate a task to be performed by the device end, the task at least including: a mapping task, a mowing task, a driving task, a charging task, a device maintenance task and / or a device configuration task; Sending the first data packet to a data gateway, so that the data network can search for a target communication module matching the first data packet among a plurality of communication modules according to the first data packet and a preset rule; A second data packet sent by the data gateway is received.

9. A data transmission method, characterized in that: Applied to the device side, the method includes: Receiving a parsed first data packet sent by a data gateway; wherein the first data packet includes at least target data and identification information of the target data, and the identification information is at least used to indicate a task to be performed by the device end, and the task includes at least: a map modeling task, a mowing task, a driving task, a charging task, a device maintenance task and / or a device configuration task; Execute corresponding tasks according to the identification information to generate data to be uploaded; The data to be uploaded is sent to the data gateway, so that the data gateway packages the uploaded data to obtain a second data packet, and sends the second data packet to the control end based on the target communication module.

10. A data transmission system, characterized in that: The system includes a control terminal, a data gateway and a device terminal; wherein, The data gateway is used to receive a first data packet sent by the control terminal based on the data interface of the data gateway; The first data packet includes at least target data and identification information of the target data, and the identification information is used to indicate at least a task to be performed by the device end, and the task includes at least: a mapping task, a mowing task, a driving task, a charging task, a device maintenance task and / or a device configuration task; According to the first data packet and a preset rule, a target communication module matching the first data packet is searched among a plurality of communication modules; wherein the preset rule is used to indicate a mapping relationship between identification information of the data and the communication module, and the plurality of communication modules share the same data interface; The first data packet is sent to the device end through the target communication module; wherein the gateway is at least deployed on the remote device or the device end; based on the data interface, the data to be uploaded sent by the device end is received, and the task type to which the data to be uploaded belongs is identified to determine the corresponding target communication module; the data to be uploaded is encapsulated to obtain a second data packet, and the second data packet is sent to the control end through the data interface based on the determined target communication module; The control end is used to generate a first data packet, the first data packet at least includes target data and identification information of the target data, the identification information is at least used to indicate the task to be performed by the device end, the task at least includes: mapping task, mowing task, driving task, charging task, equipment maintenance task and / or equipment configuration task; send the first data packet to the data gateway, so that the data network can find a target communication module matching the first data packet in a plurality of communication modules according to the first data packet and preset rules; receive a second data packet sent by the data gateway; The device end is used to receive a parsed first data packet sent by a data gateway; wherein the first data packet at least includes target data and identification information of the target data, and the identification information is at least used to indicate a task to be performed by the device end, and the task at least includes: a map modeling task, a mowing task, a driving task, a charging task, a device maintenance task and / or a device configuration task; execute the corresponding task according to the identification information to generate data to be uploaded; send the data to be uploaded to the data gateway, so that the data gateway packages the uploaded data to obtain a second data packet, and sends the second data packet to the control end based on the target communication module.