CROSS REFERENCE TO RELATED APPLICATIONS

This application is a U.S. National Stage Application, filed under 35 U.S.C. 371, of International Patent Application No. PCT/CN2018/081517, filed on Apr. 2, 2018, which claims a priority to a Chinese patent application No. 201710532541.2 filed on Jul. 3, 2017, disclosure of which are incorporated herein by reference in their entireties.

TECHNICAL FIELD

The present disclosure relates to the field of telecommunication technology of Internet of Things and, for example, relates to a data transmission method and a data transmission device.

BACKGROUND

Internet of Things (IoT) is a major trend in the development of communication technology. On one hand, not only large-scale specification organizations such as the 3rd generation partnership project (3GPP), but also network operators and terminal manufacturers in various countries have begun to seek technology directions of low-speed, low-bandwidth and low-power-consumption. On the other hand, the IoT has very strict requirements on terminal power consumption. Therefore, improving data transmission efficiency, reducing power consumption and prolonging battery lifetime of terminal equipment are important research directions.

Solutions in the existing art basically are standard transmission control protocol/internet protocol (TCP/IP) and wireless protocol transmission solutions of the 3GPP. In view of IoT characteristics, 3GPP has also proposed to optimize transmission-related characteristics in an enhanced machine-type communication (eMTC) protocol and a cellular-based narrowband Internet of Things (NB-IoT) protocol, such as transmitting small data through a signaling plane to reduce a number of radio bearer establishments of a terminal from an idle state to a connection state and speed up the transmission.

In 3GPP standards, basically two characteristics exist for each of the methods for reducing power consumption and optimizing transmission efficiency. One is that terminal underlying hardware support is required and the implementation is complex. The other is that the methods need be implemented by corresponding functional modules at both of the terminal side and the network side; however, realization of the functions need be promoted by standards organizations and supported by network operators, resulting in a high cost.

SUMMARY

Embodiments of the present disclosure provide a data transmission method and device, which are able to easily implement reducing the amount of data actually transmitted, and have a low cost.

An embodiment of the present disclosure provides a data transmission method. The method includes:

processing a first data packet to be sent by using a compression strategy obtained in advance from a receiving end, deleting specified duplicated data included in the compression strategy in the first data packet;

generating a second data packet to be sent from the processed first data packet, where the second data packet includes a modification record field for indicating the deleted duplicated data; and

sending the second data packet to the receiving end.

An embodiment of the present disclosure further provides a data transmission method. The method includes:

receiving a second data packet from a sending end, and checking that the second data packet carries a modification record field which is used for indicating duplicated data deleted by the sending end according to a compression strategy obtained in advance;

performing a recovery processing on the second data packet according to the modification record field and the compression strategy to generate a first data packet.

An embodiment of the present disclosure further provides a data transmission device, including: a compression module, a processing module, a sending module, and a first storage module configured to store a compression strategy obtained from a receiving end in advance.

The compression module is configured to process a first data packet to be sent by using a compression strategy in a first storage module, delete specified duplicated data included in the compression strategy in the first data packet.

The processing module is configured to generate a second data packet to be sent from the processed first data packet, where the second data packet includes a modification record field for indicating the deleted duplicated data.

The sending module is configured to send the second data packet.

An embodiment of the present disclosure further provides a terminal, which includes the data transmission device provided by any embodiment described above. An embodiment of the present disclosure further provides a computer-readable storage medium storing computer-executable instructions for executing the method described above.

The data transmission method provided in the embodiments of the present disclosure deletes information repeatedly sent in a data packet to be sent, and reduces the amount of data actually transmitted. The method provided by the embodiments of the present disclosure does not need additional hardware support, and simply reduces the amount of data actually transmitted, thereby saving the cost.

