WO2018210231A1 - Data transmitting method and receiving method, and data transmitting device and receiving device - Google Patents

Data transmitting method and receiving method, and data transmitting device and receiving device Download PDF

Info

Publication number
WO2018210231A1
WO2018210231A1 PCT/CN2018/086868 CN2018086868W WO2018210231A1 WO 2018210231 A1 WO2018210231 A1 WO 2018210231A1 CN 2018086868 W CN2018086868 W CN 2018086868W WO 2018210231 A1 WO2018210231 A1 WO 2018210231A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
sequentially arranged
identifier
data packets
length information
Prior art date
Application number
PCT/CN2018/086868
Other languages
French (fr)
Chinese (zh)
Inventor
苏莹莹
田兴龙
Original Assignee
青岛海尔股份有限公司
北京一数科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 青岛海尔股份有限公司, 北京一数科技有限公司 filed Critical 青岛海尔股份有限公司
Publication of WO2018210231A1 publication Critical patent/WO2018210231A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/40Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by components specially adapted for near-field transmission
    • H04B5/48Transceivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/34Flow control; Congestion control ensuring sequence integrity, e.g. using sequence numbers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a data transmission method, a reception method, a data transmission device, and a reception device.
  • BLE Bluetooth Low Energy
  • transmission technology is a low-cost, short-distance, interoperable wireless technology.
  • the biggest feature of BLE technology is its ultra-low power consumption, which can greatly reduce the data transmission of mobile devices. Power consumption.
  • the big data is data-cut and divided into several small data packets for transmission.
  • the transmission time of the data transmission method is relatively long.
  • the transmission data is prone to packet loss, which makes it difficult to determine when the data reception is completed when receiving the data, and thus the integrity of the received data cannot be guaranteed. Sex.
  • An object of the embodiments of the present invention is to provide a data sending method, a receiving method, a data transmitting apparatus, and a receiving apparatus, so as to ensure integrity of BLE transmission and reception data.
  • the specific technical solutions are as follows:
  • a data sending method is applied to a transmitting end of data transmission through a BLE protocol, including:
  • the adding the first identifier to the first data packet of the plurality of sequentially arranged data packets includes:
  • the adding the second identifier to each of the data packets of the plurality of sequentially arranged data packets includes:
  • a data receiving method is applied to a receiving end of data transmission through a BLE protocol, including:
  • the plurality of sequentially arranged data packets are combined into data
  • the combining the plurality of sequentially arranged data packets into data includes:
  • the comparison of the combined data length and the first length information, and determining whether the combined data is complete according to the comparison result specifically includes:
  • a data transmitting apparatus wherein the data transmitting apparatus performs data transmission by using a BLE protocol, including:
  • An obtaining module configured to acquire data and determine length information of the data
  • a splitting module configured to split the data into a plurality of sequentially arranged data packets, wherein the plurality of sequentially arranged data packets are equal in size
  • a first adding module where a first identifier is added to the first data packet of the plurality of sequentially arranged data packets, where the first identifier is used to indicate length information of the data
  • a second adding module configured to add a second identifier to each data packet of the plurality of sequentially arranged data packets, where the second identifier is used to indicate whether the data packet is in the plurality of sequentially arranged The last packet in the packet;
  • a sending module configured to sequentially send the plurality of sequentially arranged data packets after the identifier processing, so that the receiving end receives the plurality of sequentially arranged data packets.
  • the first adding module is specifically configured to:
  • the second adding module is specifically configured to:
  • a data receiving device wherein the data receiving device performs data transmission by using a BLE protocol, including:
  • a receiving module configured to receive the plurality of sequentially arranged data packets after being identified by the identifier
  • a determining module configured to determine, by using the first identifier in the plurality of sequentially arranged data packets, a total length of data included in the plurality of sequentially arranged data packets as first length information
  • a determining module configured to sequentially determine, by the second identifier in the plurality of sequentially arranged data packets, whether each data packet in the plurality of sequentially arranged data packets is the last data packet;
  • a combination module configured to combine the plurality of sequentially arranged data packets into data when determining the last data packet
  • the comparison module is configured to compare the combined data length and the first length information, and determine whether the combined data is complete according to the comparison result.
  • the combination module is specifically configured to:
  • the comparison module is specifically configured to:
  • the data transmitting method, the receiving method, the data transmitting apparatus, and the receiving apparatus provided by the embodiment of the present invention add a first identifier for indicating length information of the data in the first data packet of the plurality of sequentially arranged data packets. And adding a second identifier to indicate whether it is the last data packet in each data packet of a plurality of sequentially arranged data packets can ensure the integrity when transmitting and receiving data through BLE.
  • any product or method embodying the present invention necessarily does not necessarily require all of the advantages described above to be achieved at the same time.
  • FIG. 1 is a schematic flowchart diagram of a data sending method according to an embodiment of the present invention
  • FIG. 2 is another schematic flowchart of a data sending method according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart diagram of a data receiving method according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a data transmitting apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a data receiving apparatus according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a data transceiver apparatus according to an embodiment of the present invention.
  • FIG. 1 is a present invention.
  • a schematic flowchart of a data sending method of an embodiment including:
  • the acquired data may include, but is not limited to, text, pictures, video, audio, files, numbers, and the like.
  • the sender obtains the data
  • the length of the data is confirmed, where the length information of the data refers to the amount of data of the data. Taking a picture obtained as an example, assume that the actual data size of the picture is 300 KB, that is, the length information of the picture data is 300 KB.
  • determining the length information of the data may be confirmed by the attribute information of the data itself.
  • the obtained audio may have a size of 4 MB in the attribute information, and the system may directly read the data. Attribute information and determine the length information of the audio is 4MB.
  • the length information of the data can also be confirmed by directly calculating the size of the data. For example, if a certain piece of text is obtained, the number of bits occupied by each character is calculated, and then the total number of bits of the piece of text is calculated, and the length information of the piece of text is determined.
  • the data After determining the length information of the data, the data can be split into multiple data packets to facilitate data transmission through the BLE protocol.
  • the BLE protocol stipulates that the data packets are sent sequentially and sequentially. However, during the transmission process, packet loss may occur due to signal instability, signal interference, etc., causing the receiving end to be unable to determine when the data is received and the data cannot be determined. The accuracy.
  • the first identifier serves to indicate the length information of the data.
  • the first identifier is added to the first data packet of the plurality of sequentially arranged data packets.
  • the first identifier may specifically be: a 2-byte character containing length information of the data.
  • multiple bytes of characters can also be used as the first identifier.
  • the embodiment of the present invention minimizes the space occupied by the first identifier on the premise of ensuring the data length information.
  • the first identity is added to the packet header structure of the packet.
  • the second identifier serves to indicate whether the data packet is the last data packet in the plurality of sequentially arranged data packets
  • the second identifier may be a group of character strings having the feature information. For example, it may specifically be: 0x02 as the identifier of the non-last packet; 0x82 as the identifier of the last packet.
  • the above example is not limited to the second identification pattern of the embodiment of the present invention. It is within the protection scope of the embodiment of the present invention as long as it can satisfy whether the last data packet is distinguished among the feature information included in the second identifier.
  • the second identifier is added to the header structure of each packet of a plurality of sequentially arranged data packets.
  • the plurality of sequentially arranged data packets are sequentially sent, so that the receiving end receives the plurality of sequentially arranged data packets.
  • the plurality of sequentially arranged data packets processed by the identification are sequentially sent to the receiving end in sequence.
  • Embodiment 1 of the method of the present invention adds a first identifier for indicating length information of data and a data of a plurality of data packets arranged in order by adding a first data packet of a plurality of sequentially arranged data packets.
  • the second identifier added to the packet to indicate whether it is the last packet can guarantee the integrity when sending data through BLE.
  • FIG. 2 is Another flow diagram of a data transmission method according to an embodiment of the invention includes:
  • Splitting a packet into multiple sequential packets of the same size helps to improve the efficiency of splitting packets.
  • each transmission length of the BLE protocol for example, it may specifically be: splitting each data packet into 150 bytes.
  • Embodiment 2 of the method of the present invention by splitting a data packet into a plurality of data packets of the same size arranged in order, because each data packet defines the same size, the system does not need to be based on different data contents. Splitting into packets of different sizes helps to improve the efficiency of splitting packets.
  • a specific embodiment of a data receiving method provided by the embodiment of the present invention is applied to a receiving end for data transmission through a BLE protocol, such as a mobile terminal, a smart watch, a smart bracelet, and FIG. 3, which is the present invention.
  • a schematic flowchart of a data receiving method of an embodiment including:
  • S301 Receive a plurality of sequentially arranged data packets after the identifier processing.
  • the receiving end sequentially receives the plurality of sequentially arranged data packets that are sent by the transmitting end and are sequentially processed.
  • the receiving end can read the length information of the entire data indicated by the first identifier by reading the first identifier in the received data packet.
  • the receiving end reads the length information of the entire data indicated by the first identifier by reading the first identifier in the received first data packet, and records the first length information. In this way, the receiving end can already determine the size of the data to be received when the first data packet is received.
  • the receiving end sequentially receives the data packet and reads the second identifier in each data packet. For example, when 0x02 is used as the identifier of the non-last packet, and 0x82 is used as the identifier of the last packet, the receiving end reads the information of 0x02 in the second identifier of a certain packet, because 0x02 indicates that it is not the last.
  • the identifier of a data packet the receiving end can know that the data has not been received yet, and continues to receive the data packet; when the receiving end reads the information of 0x82 in the second identifier of the last data packet, because 0x82 represents the last data. With the identification of the packet, the receiving end can know that the data has been received. Therefore, the receiving end can determine when the data has been received. In practical applications, there is no transmission that has been interrupted, but the receiver also shows that it is receiving.
  • the receiver After the data packet is received, the receiver will reassemble all the received data packets into data for use.
  • the receiving end removes the first identifier in the first data packet, and removes the second identifier in each data packet to obtain pure data.
  • the receiving end directly ignores the first identifier and the second identifier, directly extracts the content in each data packet and reassembles the data into data.
  • the receiving end After the receiving end reassembles the received data packets into data, the length of the combined data is calculated, and compared with the first length information, thereby determining the integrity of the received data.
  • the length of the combined data is compared with the first length information to determine the integrity of the received data.
  • the receiving end calculates the length of the combined data, and records it as the second length information. By comparing the previously obtained first length information with the second length information, it can be determined whether the received data is complete. If the first length information and the second length information are consistent, the received data is incomplete; if not, the received data is incomplete.
  • the receiving end determines the total data length information received by using the first identifier in the received data packet, and determines whether each data packet is the last data packet by using the second identifier in the received data packet.
  • the receiving end can ensure that the data reception is completed. By comparing the length of the combined data with the first length information, it is determined whether the received data is consistent with the length of the transmitted data, and the integrity of the received data is ensured.
  • FIG. 4 is a schematic structural diagram of a data sending apparatus according to an embodiment of the present invention, including:
  • the obtaining module 401 is configured to acquire data and determine length information of the data.
  • the splitting module 402 is configured to split the data into a plurality of sequentially arranged data packets.
  • the first adding module 403 adds a first identifier to the first data packet of the plurality of sequentially arranged data packets, where the first identifier is used to indicate length information of the data.
  • a second adding module 404 configured to add a second identifier to each data packet of the plurality of sequentially arranged data packets, where the second identifier is used to indicate whether the data packet is the last data in the plurality of sequentially arranged data packets package.
  • the sending module 405 is configured to sequentially send the plurality of sequentially arranged data packets after the identifier processing, so that the receiving end receives the plurality of sequentially arranged data packets.
  • the splitting module 402 is further configured to: split the data into a plurality of data packets of the same size arranged in order.
  • the first adding module 403 is specifically configured to: add a first identifier in a header of the first data packet of the plurality of sequentially arranged data packets.
  • the second adding module 404 is specifically configured to: add a second identifier to a header of each data packet of the plurality of sequentially arranged data packets.
  • the data transmitting apparatus provided in Embodiment 1 of the present invention is used to implement the sending of the data sending method provided by Embodiment 1 of the method of the present invention, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
  • FIG. 5 is a schematic structural diagram of a data receiving apparatus according to an embodiment of the present invention, including:
  • the receiving module 501 is configured to receive, by the identifier processing, a plurality of sequentially arranged data packets
  • the determining module 502 is configured to determine, by using the first identifier in the plurality of sequentially arranged data packets, that the total data length included in the plurality of sequentially arranged data packets is the first length information;
  • the determining module 503 is configured to sequentially determine, by using the second identifier in the plurality of sequentially arranged data packets, whether each data packet in the plurality of sequentially arranged data packets is the last data packet;
  • the combining module 504 is configured to combine the plurality of sequentially arranged data packets into data when determining the last data packet;
  • the comparison module 505 is configured to compare the combined data length and the first length information, and determine, according to the comparison result, whether the combined data is complete.
  • the combination module 504 is specifically configured to: remove the first identifier and the second identifier in the plurality of sequentially arranged data packets, and combine the removed data packets into data.
  • the comparison module 505 is specifically configured to:
  • the data receiving apparatus provided in the second embodiment of the present invention is used to implement the data receiving method provided by the second embodiment of the present invention.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 6 is a schematic structural diagram of a data transceiver device according to an embodiment of the present invention, including a transmitting end and a receiving end, where the data receiving and transmitting apparatus specifically includes:
  • the obtaining module 401 is configured to acquire data and determine length information of the data.
  • the splitting module 402 is configured to split the data into a plurality of sequentially arranged data packets.
  • the first adding module 403 adds a first identifier to the first data packet of the plurality of sequentially arranged data packets, where the first identifier is used to indicate length information of the data.
  • a second adding module 404 configured to add a second identifier to each data packet of the plurality of sequentially arranged data packets, where the second identifier is used to indicate whether the data packet is the last data in the plurality of sequentially arranged data packets package.
  • the sending module 405 is configured to sequentially send the plurality of sequentially arranged data packets after the identifier processing, so that the receiving end receives the plurality of sequentially arranged data packets.
  • the receiving module 501 is configured to receive, by the identifier processing, a plurality of sequentially arranged data packets
  • the determining module 502 is configured to determine, by using the first identifier in the plurality of sequentially arranged data packets, that the total data length included in the plurality of sequentially arranged data packets is the first length information;
  • the determining module 503 is configured to sequentially determine, by using the second identifier in the plurality of sequentially arranged data packets, whether each data packet in the plurality of sequentially arranged data packets is the last data packet;
  • the combining module 504 is configured to combine the plurality of sequentially arranged data packets into data when determining the last data packet;
  • the comparison module 505 is configured to compare the combined data length and the first length information, and determine, according to the comparison result, whether the combined data is complete.
  • the data transceiver device provided in Embodiment 3 of the device of the present invention is used for transmitting data through the BLE protocol, and can ensure integrity when transmitting and receiving data through BLE.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Communication Control (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Provided in embodiments of the present invention are a data transmitting method and receiving method, and a data transmitting device and receiving device. The transmitting method comprises: obtaining data and determining the length of the data; dividing the data into a plurality of data packets arranged in order; adding a first identifier to a first data packet of the plurality of data packets arranged in order; adding a second identifier to the plurality of data packets arranged in order; and sequentially transmitting the data packets provided with the identifiers. The receiving method comprises: receiving the plurality of data packets arranged in order provided with the identifiers; determining the total data length as first length information by means of the first identifier in the plurality of data packets; sequentially determining whether each data packet is the last data packet by means of the second identifier in the plurality of data packets arranged in order; if a packet is determined to be the last data packet, combining the plurality of data packets arranged in order into a data item; and comparing the length of the combined data item with the first length information, and determining, according to the comparison result, whether the combined data item is complete.

Description

数据发送方法、接收方法及数据发送装置、接收装置Data transmitting method, receiving method, data transmitting device, and receiving device
本申请要求了申请日为2017年05月16日,申请号为201710344810.2,发明名称为“数据发送方法、接收方法及数据发送装置、接收装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims the priority of the Chinese patent application entitled "Data Transmission Method, Receiving Method, Data Transmission Device, and Receiving Device" on May 16, 2017, the application number is 201710344810.2, the entire contents of which are incorporated by reference. Combined in this application.
技术领域Technical field
本发明涉及网络通信技术领域,特别是涉及一种数据发送方法、接收方法及数据发送装置、接收装置。The present invention relates to the field of network communication technologies, and in particular, to a data transmission method, a reception method, a data transmission device, and a reception device.
背景技术Background technique
BLE(Bluetooth Low Energy,蓝牙低能耗)传输技术是一种低成本、短距离、可互操作的无线技术,BLE技术最大的特点是拥有超低功耗,因此能极大地降低移动设备在数据传输时的功耗。BLE (Bluetooth Low Energy) transmission technology is a low-cost, short-distance, interoperable wireless technology. The biggest feature of BLE technology is its ultra-low power consumption, which can greatly reduce the data transmission of mobile devices. Power consumption.
现有BLE技术在传输大数据时,会对大数据进行数据切割并分为若干小数据包进行传输。但是,这种数据传输方法的传输时间比较长,当环境干扰或者信号不稳定时,发送数据容易出现丢包现象,导致在接收数据时难以确定何时数据接收完成,因而无法保证接收数据的完整性。When the existing BLE technology transmits large data, the big data is data-cut and divided into several small data packets for transmission. However, the transmission time of the data transmission method is relatively long. When the environment is disturbed or the signal is unstable, the transmission data is prone to packet loss, which makes it difficult to determine when the data reception is completed when receiving the data, and thus the integrity of the received data cannot be guaranteed. Sex.
发明内容Summary of the invention
本发明实施例的目的在于提供一种数据发送方法、接收方法及数据发送装置、接收装置,以实现保证BLE发送和接收数据的完整性。具体技术方案如下:An object of the embodiments of the present invention is to provide a data sending method, a receiving method, a data transmitting apparatus, and a receiving apparatus, so as to ensure integrity of BLE transmission and reception data. The specific technical solutions are as follows:
一种数据发送方法,应用于通过BLE协议进行数据传输的发送端,包括:A data sending method is applied to a transmitting end of data transmission through a BLE protocol, including:
获取数据并确定所述数据的长度信息;Obtaining data and determining length information of the data;
将所述数据拆分为多个按顺序排列的数据包,所述多个按顺序排列的数据包大小相等;Splitting the data into a plurality of sequentially arranged data packets, wherein the plurality of sequentially arranged data packets are equal in size;
在所述多个按顺序排列的数据包的第一个数据包中添加第一标识,所述第一标识用以标明所述数据的长度信息;Adding a first identifier to the first data packet of the plurality of sequentially arranged data packets, where the first identifier is used to indicate length information of the data;
在所述多个按顺序排列的数据包的各数据包中添加第二标识,所述第二标识用以标明所述数据包是否为所述多个按顺序排列的数据包中的最后一个数据包;Adding a second identifier to each data packet of the plurality of sequentially arranged data packets, where the second identifier is used to indicate whether the data packet is the last data in the plurality of sequentially arranged data packets package;
依次发送所述经标识处理后的所述多个按顺序排列的数据包,以使接收端接收所述多个按顺序排列的数据包。And sequentially sending the plurality of sequentially arranged data packets after the identification process, so that the receiving end receives the plurality of sequentially arranged data packets.
优选地,所述在所述多个按顺序排列的数据包的第一个数据包中添加第一标识,具体包括:Preferably, the adding the first identifier to the first data packet of the plurality of sequentially arranged data packets includes:
在所述多个按顺序排列的数据包的第一个数据包的包头中添加第一标识;Adding a first identifier to a header of the first data packet of the plurality of sequentially arranged data packets;
所述在所述多个按顺序排列的数据包的各数据包中添加第二标识,具体包括:The adding the second identifier to each of the data packets of the plurality of sequentially arranged data packets includes:
在所述多个按顺序排列的数据包的各数据包的包头中添加第二标识。Adding a second identifier to a header of each data packet of the plurality of sequentially arranged data packets.
一种数据接收方法,应用于通过BLE协议进行数据传输的接收端,包括:A data receiving method is applied to a receiving end of data transmission through a BLE protocol, including:
接收经标识处理后的多个按顺序排列的数据包;Receiving a plurality of sequentially arranged data packets after being marked and processed;
通过所述多个按顺序排列的数据包中的第一标识,确定所述多个按顺序排列的数据包所含有的总数据长度为第一长度信息;Determining, by the first identifier in the plurality of sequentially arranged data packets, a total data length included in the plurality of sequentially arranged data packets as first length information;
通过所述多个按顺序排列的数据包中的第二标识,依次判断所述多个按顺序排列的数据包中的各数据包是否为最后一个数据包;Determining, by the second identifier of the plurality of sequentially arranged data packets, whether each data packet in the plurality of sequentially arranged data packets is the last data packet;
当判定为最后一个数据包时,将所述多个按顺序排列的数据包组合为数据;When it is determined as the last data packet, the plurality of sequentially arranged data packets are combined into data;
对比组合后的数据长度和所述第一长度信息,根据对比结果判断组合后的数据是否完整。Comparing the combined data length and the first length information, determining whether the combined data is complete according to the comparison result.
优选地,所述将所述多个按顺序排列的数据包组合为数据,具体包括:Preferably, the combining the plurality of sequentially arranged data packets into data includes:
去除所述多个按顺序排列的数据包中的第一标识和第二标识,将去除标识后的数据包组合为数据。And removing the first identifier and the second identifier in the plurality of sequentially arranged data packets, and combining the removed data packets into data.
优选地,所述对比组合后的数据长度和所述第一长度信息,根据对比结果判断组合后的数据是否完整,具体包括:Preferably, the comparison of the combined data length and the first length information, and determining whether the combined data is complete according to the comparison result, specifically includes:
计算组合后的数据的长度为第二长度信息;Calculating the length of the combined data as the second length information;
比对所述第一长度信息和第二长度信息,如果所述第一长度信息和所述第二长度信息一致,判定接收的数据完整;Comparing the first length information and the second length information, if the first length information and the second length information are consistent, determining that the received data is complete;
如果所述第一长度信息与所述第二长度信息不一致,判定接收的数据不完整。If the first length information does not coincide with the second length information, it is determined that the received data is incomplete.
一种数据发送装置,所述数据发送装置通过BLE协议进行数据传输,包括:A data transmitting apparatus, wherein the data transmitting apparatus performs data transmission by using a BLE protocol, including:
获取模块,用于获取数据并确定所述数据的长度信息;An obtaining module, configured to acquire data and determine length information of the data;
拆分模块,用于将所述数据拆分为多个按顺序排列的数据包,所述多个按顺序排列的数据包大小相等;a splitting module, configured to split the data into a plurality of sequentially arranged data packets, wherein the plurality of sequentially arranged data packets are equal in size;
第一添加模块,在所述多个按顺序排列的数据包的第一个数据包中添加第一标识,所述第一标识用以标明所述数据的长度信息;a first adding module, where a first identifier is added to the first data packet of the plurality of sequentially arranged data packets, where the first identifier is used to indicate length information of the data;
第二添加模块,用于在所述多个按顺序排列的数据包的各数据包中添加第二标识,所述第二标识用以标明所述数据包是否为所述多个按顺序排列的数据包中的最后一个数据包;a second adding module, configured to add a second identifier to each data packet of the plurality of sequentially arranged data packets, where the second identifier is used to indicate whether the data packet is in the plurality of sequentially arranged The last packet in the packet;
发送模块,用于依次发送所述经标识处理后的所述多个按顺序排列的数据包,以使接收端接收所述多个按顺序排列的数据包。And a sending module, configured to sequentially send the plurality of sequentially arranged data packets after the identifier processing, so that the receiving end receives the plurality of sequentially arranged data packets.
优选地,所述第一添加模块,具体用于:Preferably, the first adding module is specifically configured to:
在所述多个按顺序排列的数据包的第一个数据包的包头中添加第一标识;Adding a first identifier to a header of the first data packet of the plurality of sequentially arranged data packets;
所述第二添加模块,具体用于:The second adding module is specifically configured to:
在所述多个按顺序排列的数据包的各数据包的包头中添加第二标识。Adding a second identifier to a header of each data packet of the plurality of sequentially arranged data packets.
一种数据接收装置,所述数据接收装置通过BLE协议进行数据传输,包括:A data receiving device, wherein the data receiving device performs data transmission by using a BLE protocol, including:
接收模块,用于接收经标识处理后的多个按顺序排列的数据包;a receiving module, configured to receive the plurality of sequentially arranged data packets after being identified by the identifier;
确定模块,用于通过所述多个按顺序排列的数据包中的第一标识,确定所述多个按顺序 排列的数据包所含有的总数据长度为第一长度信息;a determining module, configured to determine, by using the first identifier in the plurality of sequentially arranged data packets, a total length of data included in the plurality of sequentially arranged data packets as first length information;
判断模块,用于通过所述多个按顺序排列的数据包中的第二标识,依次判断所述多个按顺序排列的数据包中的各数据包是否为最后一个数据包;a determining module, configured to sequentially determine, by the second identifier in the plurality of sequentially arranged data packets, whether each data packet in the plurality of sequentially arranged data packets is the last data packet;
组合模块,用于当判定为最后一个数据包时,将所述多个按顺序排列的数据包组合为数据;a combination module, configured to combine the plurality of sequentially arranged data packets into data when determining the last data packet;
对比模块,用于对比组合后的数据长度和所述第一长度信息,根据对比结果判断组合后的数据是否完整。The comparison module is configured to compare the combined data length and the first length information, and determine whether the combined data is complete according to the comparison result.
优选地,所述组合模块,具体用于:Preferably, the combination module is specifically configured to:
去除所述多个按顺序排列的数据包中的第一标识和第二标识,将去除标识后的数据包组合为数据。And removing the first identifier and the second identifier in the plurality of sequentially arranged data packets, and combining the removed data packets into data.
优选地,所述对比模块,具体用于:Preferably, the comparison module is specifically configured to:
计算组合后的数据的长度为第二长度信息;Calculating the length of the combined data as the second length information;
比对所述第一长度信息和第二长度信息,如果所述第一长度信息和所述第二长度信息一致,判定接收的数据完整;Comparing the first length information and the second length information, if the first length information and the second length information are consistent, determining that the received data is complete;
如果所述第一长度信息与所述第二长度信息不一致,判定接收的数据不完整。If the first length information does not coincide with the second length information, it is determined that the received data is incomplete.
本发明实施例提供的数据发送方法、接收方法及数据发送装置、接收装置,通过在在多个按顺序排列的数据包的第一个数据包中添加用以标明数据的长度信息的第一标识,以及在多个按顺序排列的数据包的各数据包中添加用以标明是否为最后一个数据包的第二标识,可以保证通过BLE发送和接收数据时的完整性。当然,实施本发明的任一产品或方法必不一定需要同时达到以上所述的所有优点。The data transmitting method, the receiving method, the data transmitting apparatus, and the receiving apparatus provided by the embodiment of the present invention add a first identifier for indicating length information of the data in the first data packet of the plurality of sequentially arranged data packets. And adding a second identifier to indicate whether it is the last data packet in each data packet of a plurality of sequentially arranged data packets can ensure the integrity when transmitting and receiving data through BLE. Of course, any product or method embodying the present invention necessarily does not necessarily require all of the advantages described above to be achieved at the same time.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明实施例的一种数据发送方法的一种流程示意图;FIG. 1 is a schematic flowchart diagram of a data sending method according to an embodiment of the present invention;
图2为本发明实施例的一种数据发送方法的另一种流程示意图;2 is another schematic flowchart of a data sending method according to an embodiment of the present invention;
图3为本发明实施例的一种数据接收方法的流程示意图;FIG. 3 is a schematic flowchart diagram of a data receiving method according to an embodiment of the present invention; FIG.
图4为本发明实施例的数据发送装置的一种结构示意图;4 is a schematic structural diagram of a data transmitting apparatus according to an embodiment of the present invention;
图5为本发明实施例的数据接收装置的一种结构示意图;FIG. 5 is a schematic structural diagram of a data receiving apparatus according to an embodiment of the present invention; FIG.
图6为本发明实施例的数据收发装置的一种结构示意图。FIG. 6 is a schematic structural diagram of a data transceiver apparatus according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
方法实施例一Method embodiment 1
本发明实施例提供的一种数据发送方法的一种具体实施例,应用于通过BLE议进行数据传输的发送端,例如移动终端、智能手表、智能手环,参考图1,图1为本发明实施例的一种数据发送方法的一种流程示意图,包括:A specific embodiment of a data sending method provided by the embodiment of the present invention is applied to a transmitting end, such as a mobile terminal, a smart watch, and a smart bracelet, for transmitting data through a BLE protocol. Referring to FIG. 1, FIG. 1 is a present invention. A schematic flowchart of a data sending method of an embodiment, including:
S101、获取数据并确定数据的长度信息。S101. Acquire data and determine length information of the data.
在本发明一种可行的实施例中,获取的数据可以但不限于包含:文字、图片、视频、音频、文件、数字等。发送端获取数据后,会确认数据的长度,其中数据的长度信息是指数据的数据量大小。以获取到的一张图片为例,假设图片实际数据量大小为300KB,即说明该图片数据的长度信息为300KB。In a possible embodiment of the present invention, the acquired data may include, but is not limited to, text, pictures, video, audio, files, numbers, and the like. After the sender obtains the data, the length of the data is confirmed, where the length information of the data refers to the amount of data of the data. Taking a picture obtained as an example, assume that the actual data size of the picture is 300 KB, that is, the length information of the picture data is 300 KB.
可选地,确定数据的长度信息,可以通过数据本身的属性信息进行确认,具体地可以为,获取的某段音频,其属性信息中显示的大小为4MB,那么,系统就可以直接读取该属性信息,并确定该音频的长度信息为4MB。Optionally, determining the length information of the data may be confirmed by the attribute information of the data itself. Specifically, the obtained audio may have a size of 4 MB in the attribute information, and the system may directly read the data. Attribute information and determine the length information of the audio is 4MB.
可选地,还可以通过直接计算数据的大小来确认数据的长度信息。例如,获取的某段文字,计算每个文字所占的比特数,然后计算该段文字的总比特数,即可确定该段文字的长度信息。Alternatively, the length information of the data can also be confirmed by directly calculating the size of the data. For example, if a certain piece of text is obtained, the number of bits occupied by each character is calculated, and then the total number of bits of the piece of text is calculated, and the length information of the piece of text is determined.
S102、将数据拆分为多个按顺序排列的数据包。S102. Split the data into a plurality of data packets arranged in order.
确定数据的长度信息后,即可将数据拆分为多个数据包,以方便数据通过BLE协议进行传输。BLE协议中规定数据包为顺序发送、顺序接收,但是在传输过程中,由于信号不稳定、信号干扰等因素,可能出现丢包现象,造成接收端无法判断数据何时接收完成、以及无法确定数据的准确性。After determining the length information of the data, the data can be split into multiple data packets to facilitate data transmission through the BLE protocol. The BLE protocol stipulates that the data packets are sent sequentially and sequentially. However, during the transmission process, packet loss may occur due to signal instability, signal interference, etc., causing the receiving end to be unable to determine when the data is received and the data cannot be determined. The accuracy.
S103、在多个按顺序排列的数据包的第一个数据包中添加第一标识,其中,第一标识用以标明数据的长度信息。S103. Add a first identifier to a first data packet of the plurality of sequentially arranged data packets, where the first identifier is used to indicate length information of the data.
本发明实施例中,第一标识起到标明数据的长度信息的作用,可选地,将第一标识添加到多个按顺序排列的数据包的第一个数据包中,这样做的目的是为了当接收端接收数据包时,能够第一时间获知待接收数据的数据总的大小。其中,第一标识具体地可以为:一个2字节的字符,该字符中含有数据的长度信息。当然,也可以使用多个字节的字符作为第一标识, 但是,由于每个数据包的大小固定后,随着第一标识所占的字节增多,相同的数据拆分的数据包数量就会增多。因此,优选地,本发明实施例在保证标明数据长度信息的前提下,尽量减少第一标识所占的空间。另外,通常情况下,第一标识添加至数据包的包头结构中。In the embodiment of the present invention, the first identifier serves to indicate the length information of the data. Optionally, the first identifier is added to the first data packet of the plurality of sequentially arranged data packets. In order to receive the data packet when the receiving end, the total size of the data of the data to be received can be known for the first time. The first identifier may specifically be: a 2-byte character containing length information of the data. Of course, multiple bytes of characters can also be used as the first identifier. However, since the size of each data packet is fixed, as the number of bytes occupied by the first identifier increases, the number of data packets split by the same data is Will increase. Therefore, preferably, the embodiment of the present invention minimizes the space occupied by the first identifier on the premise of ensuring the data length information. In addition, in general, the first identity is added to the packet header structure of the packet.
S104、在多个按顺序排列的数据包的各数据包中添加第二标识,第二标识用以标明数据包是否为多个按顺序排列的数据包中的最后一个数据包。S104. Add a second identifier to each data packet of the plurality of sequentially arranged data packets, where the second identifier is used to indicate whether the data packet is the last data packet in the plurality of sequentially arranged data packets.
本发明实施例中,第二标识起到标明数据包是否为多个按顺序排列的数据包中的最后一个数据包的作用,第二标识可以为一组具有特征信息的字符串。例如具体地可以为:将0x02作为非最后一个数据包的标识;将0x82作为最后一个数据包的标识。上述示例并非对本发明实施例的第二标识样式的限定,只要能满足在第二标识所含的特征信息中区分出是否为最后一个数据包,都属于本发明实施例的保护范围。另外,通常情况下,将第二标识添加至多个按顺序排列的数据包的各数据包的包头结构中。In the embodiment of the present invention, the second identifier serves to indicate whether the data packet is the last data packet in the plurality of sequentially arranged data packets, and the second identifier may be a group of character strings having the feature information. For example, it may specifically be: 0x02 as the identifier of the non-last packet; 0x82 as the identifier of the last packet. The above example is not limited to the second identification pattern of the embodiment of the present invention. It is within the protection scope of the embodiment of the present invention as long as it can satisfy whether the last data packet is distinguished among the feature information included in the second identifier. In addition, in general, the second identifier is added to the header structure of each packet of a plurality of sequentially arranged data packets.
S105、依次发送经标识处理后的多个按顺序排列的数据包,以使接收端接收多个按顺序排列的数据包。S105. The plurality of sequentially arranged data packets are sequentially sent, so that the receiving end receives the plurality of sequentially arranged data packets.
根据BLE传输协议,经标识处理后的多个按顺序排列的数据包会依次按顺序发送至接收端。According to the BLE transmission protocol, the plurality of sequentially arranged data packets processed by the identification are sequentially sent to the receiving end in sequence.
本发明方法实施例一,通过在多个按顺序排列的数据包的第一个数据包中添加用以标明数据的长度信息的第一标识,以及在多个按顺序排列的数据包的各数据包中添加用以标明是否为最后一个数据包的第二标识,能够保证通过BLE发送数据时的完整性。Embodiment 1 of the method of the present invention adds a first identifier for indicating length information of data and a data of a plurality of data packets arranged in order by adding a first data packet of a plurality of sequentially arranged data packets. The second identifier added to the packet to indicate whether it is the last packet can guarantee the integrity when sending data through BLE.
方法实施例二Method embodiment two
本发明实施例提供的一种数据发送方法的另一种具体实施例,应用于通过BLE协议进行数据传输的发送端,例如移动终端、智能手表、智能手环,参考图2,图2为本发明实施例的一种数据发送方法的另一种流程示意图,包括:Another embodiment of the data sending method provided by the embodiment of the present invention is applied to a transmitting end, such as a mobile terminal, a smart watch, and a smart wristband, for transmitting data through the BLE protocol. Referring to FIG. 2, FIG. 2 is Another flow diagram of a data transmission method according to an embodiment of the invention includes:
S201、获取数据并确定数据的长度信息。S201. Acquire data and determine length information of the data.
S202、将数据包拆分为多个按顺序排列的具有相同的大小的数据包。S202. Split the data packet into a plurality of data packets of the same size arranged in order.
S203、在多个按顺序排列的具有相同的大小的数据包的第一个数据包中添加第一标识,其中,第一标识用以标明数据的长度信息。S203. Add a first identifier to the first data packet of the plurality of data packets of the same size, wherein the first identifier is used to indicate length information of the data.
S204、在多个按顺序排列的具有相同的大小的数据包的各数据包中添加第二标识,第二标识用以标明数据包是否为多个按顺序排列的数据包中的最后一个数据包。S204. Add a second identifier to each of the plurality of sequentially arranged data packets of the same size, where the second identifier is used to indicate whether the data packet is the last one of the plurality of sequentially arranged data packets. .
S205、依次发送经标识处理后的具有相同的多个按顺序排列的数据包,以使接收端接收多个按顺序排列的数据包。S205. Transmit the identified plurality of data packets in the same order, so that the receiving end receives the plurality of sequentially arranged data packets.
将数据包拆分为多个按顺序排列的具有相同的大小的数据包,有助于提高拆分数据包的效率。根据BLE协议每次传输长度的限制,例如具体地可以为:拆分每个数据包为150字节。Splitting a packet into multiple sequential packets of the same size helps to improve the efficiency of splitting packets. According to the limitation of each transmission length of the BLE protocol, for example, it may specifically be: splitting each data packet into 150 bytes.
本发明方法实施例二,通过将数据包拆分为多个按顺序排列的具有相同的大小的数据包,因为每个数据包都规定了相同的大小,因此系统不需要再根据不同的数据内容拆分为不同大小的数据包,有助于提高拆分数据包的效率,Embodiment 2 of the method of the present invention, by splitting a data packet into a plurality of data packets of the same size arranged in order, because each data packet defines the same size, the system does not need to be based on different data contents. Splitting into packets of different sizes helps to improve the efficiency of splitting packets.
方法实施例三Method embodiment three
本发明实施例提供的一种数据接收方法的一种具体实施例,应用于通过BLE协议进行数据传输的接收端,例如移动终端、智能手表、智能手环,参考图3,图3为本发明实施例的一种数据接收方法的流程示意图,包括:A specific embodiment of a data receiving method provided by the embodiment of the present invention is applied to a receiving end for data transmission through a BLE protocol, such as a mobile terminal, a smart watch, a smart bracelet, and FIG. 3, which is the present invention. A schematic flowchart of a data receiving method of an embodiment, including:
S301、接收经标识处理后的多个按顺序排列的数据包。S301. Receive a plurality of sequentially arranged data packets after the identifier processing.
根据BLE传输协议,接收端按顺序依次接收由发送端发送的经标识处理后的多个按顺序排列的数据包。According to the BLE transmission protocol, the receiving end sequentially receives the plurality of sequentially arranged data packets that are sent by the transmitting end and are sequentially processed.
S302、通过多个按顺序排列的数据包中的第一标识,确定多个按顺序排列的数据包所含有的总数据长度为第一长度信息。S302. Determine, by using the first identifier in the plurality of sequentially arranged data packets, that the total data length included in the plurality of sequentially arranged data packets is the first length information.
由于第一标识起到标明数据的长度信息的作用,因此,接收端通过读取接收的数据包中第一标识,便可以读取第一标识所标明的整个数据的长度信息。Since the first identifier plays the role of indicating the length information of the data, the receiving end can read the length information of the entire data indicated by the first identifier by reading the first identifier in the received data packet.
可选地,接收端通过读取接收的第一个数据包中的第一标识,读取第一标识所标明的整个数据的长度信息,记为第一长度信息。这样,接收端便可以在接收到第一个数据包时,便已经能够确定出将要接收的数据的大小。Optionally, the receiving end reads the length information of the entire data indicated by the first identifier by reading the first identifier in the received first data packet, and records the first length information. In this way, the receiving end can already determine the size of the data to be received when the first data packet is received.
S303、通过多个按顺序排列的数据包中的第二标识,依次判断多个按顺序排列的数据包中的各数据包是否为最后一个数据包。S303. Determine, by using the second identifier in the plurality of sequentially arranged data packets, whether each of the plurality of sequentially arranged data packets is the last data packet.
接收端依次接收数据包,并读取每个数据包中的第二标识。例如,将0x02作为非最后一个数据包的标识,将0x82作为最后一个数据包的标识时,接收端读取到某个数据包的第二标识中的0x02这一信息时,因为0x02表示非最后一个数据包的标识,接收端就能够知晓数据还没接收完成,继续接收数据包;当接收端读取到最后一个数据包的第二标识中的0x82这一信息时,因为0x82表示最后一个数据包的标识,接收端就能够知晓数据已经接收完成。因此,接收端就能够判断出何时数据已经接收完成。在实际应用中体现为,不会出现传输虽然已经中断,但是接收端还显示正在接收的情况。The receiving end sequentially receives the data packet and reads the second identifier in each data packet. For example, when 0x02 is used as the identifier of the non-last packet, and 0x82 is used as the identifier of the last packet, the receiving end reads the information of 0x02 in the second identifier of a certain packet, because 0x02 indicates that it is not the last. The identifier of a data packet, the receiving end can know that the data has not been received yet, and continues to receive the data packet; when the receiving end reads the information of 0x82 in the second identifier of the last data packet, because 0x82 represents the last data. With the identification of the packet, the receiving end can know that the data has been received. Therefore, the receiving end can determine when the data has been received. In practical applications, there is no transmission that has been interrupted, but the receiver also shows that it is receiving.
S304、当判定为最后一个数据包时,将多个按顺序排列的数据包组合为数据。S304. When it is determined as the last data packet, the plurality of sequentially arranged data packets are combined into data.
数据包接收完毕后,接收端会将接收到的所有数据包重新组合成数据以供使用。After the data packet is received, the receiver will reassemble all the received data packets into data for use.
可选地,接收端将第一个数据包中的第一标识去除,同时将每个数据包中的第二标识去除,得到纯数据。Optionally, the receiving end removes the first identifier in the first data packet, and removes the second identifier in each data packet to obtain pure data.
或者,可选地,接收端直接忽略第一标识和第二标识,直接提取每个数据包中的内容并重新组合成数据。Alternatively, optionally, the receiving end directly ignores the first identifier and the second identifier, directly extracts the content in each data packet and reassembles the data into data.
S305、对比组合后的数据长度和第一长度信息,根据对比结果判断组合后的数据是否完整。S305. Compare the combined data length and the first length information, and determine, according to the comparison result, whether the combined data is complete.
接收端将接收的数据包重新组合为数据后,计算组合后的数据的长度,并通过与第一长度信息进行对比,从而判断接收数据的完整性。After the receiving end reassembles the received data packets into data, the length of the combined data is calculated, and compared with the first length information, thereby determining the integrity of the received data.
将组合后的数据的长度与第一长度信息进行对比,是为了判断接收数据的完整性。可选地,接收端计算组合后的数据的长度,记为第二长度信息。将之前得到的第一长度信息和第二长度信息比较,就能判断出接收数据是否完整。如果第一长度信息和第二长度信息一致,说明接收的数据不完整;如果不一致,说明接收的数据不完整。The length of the combined data is compared with the first length information to determine the integrity of the received data. Optionally, the receiving end calculates the length of the combined data, and records it as the second length information. By comparing the previously obtained first length information with the second length information, it can be determined whether the received data is complete. If the first length information and the second length information are consistent, the received data is incomplete; if not, the received data is incomplete.
本发明方法实施例三,接收端通过接收的数据包中的第一标识,确定接收的总数据长度信息,通过接收的数据包中的第二标识,判断各数据包是否为最后一个数据包,能够保证接收端判断出何时数据接收完成;通过将组合后的数据的长度与第一长度信息进行对比,从而判断接收的数据与发送的数据长度是否一致,保证接收数据的完整性。In the third embodiment of the method, the receiving end determines the total data length information received by using the first identifier in the received data packet, and determines whether each data packet is the last data packet by using the second identifier in the received data packet. The receiving end can ensure that the data reception is completed. By comparing the length of the combined data with the first length information, it is determined whether the received data is consistent with the length of the transmitted data, and the integrity of the received data is ensured.
装置实施例一Device embodiment 1
本发明实施例提供的数据发送装置的一种具体实施例,与图1所示流程相对应,参考图4,图4为本发明实施例的数据发送装置的一种结构示意图,包括:A specific embodiment of the data sending apparatus provided by the embodiment of the present invention corresponds to the flow shown in FIG. 1. Referring to FIG. 4, FIG. 4 is a schematic structural diagram of a data sending apparatus according to an embodiment of the present invention, including:
获取模块401,用于获取数据并确定数据的长度信息。The obtaining module 401 is configured to acquire data and determine length information of the data.
拆分模块402,用于将数据拆分为多个按顺序排列的数据包。The splitting module 402 is configured to split the data into a plurality of sequentially arranged data packets.
第一添加模块403,在多个按顺序排列的数据包的第一个数据包中添加第一标识,第一标识用以标明数据的长度信息。The first adding module 403 adds a first identifier to the first data packet of the plurality of sequentially arranged data packets, where the first identifier is used to indicate length information of the data.
第二添加模块404,用于在多个按顺序排列的数据包的各数据包中添加第二标识,第二标识用以标明数据包是否为多个按顺序排列的数据包中的最后一个数据包。a second adding module 404, configured to add a second identifier to each data packet of the plurality of sequentially arranged data packets, where the second identifier is used to indicate whether the data packet is the last data in the plurality of sequentially arranged data packets package.
发送模块405,用于依次发送经标识处理后的多个按顺序排列的数据包,以使接收端接收多个按顺序排列的数据包。The sending module 405 is configured to sequentially send the plurality of sequentially arranged data packets after the identifier processing, so that the receiving end receives the plurality of sequentially arranged data packets.
其中,拆分模块402,进一步用于:将数据拆分为多个按顺序排列的具有相同的大小的数据包。The splitting module 402 is further configured to: split the data into a plurality of data packets of the same size arranged in order.
第一添加模块403,具体用于:在多个按顺序排列的数据包的第一个数据包的包头中添加第一标识。The first adding module 403 is specifically configured to: add a first identifier in a header of the first data packet of the plurality of sequentially arranged data packets.
第二添加模块404,具体用于:在多个按顺序排列的数据包的各数据包的包头中添加第二标识。The second adding module 404 is specifically configured to: add a second identifier to a header of each data packet of the plurality of sequentially arranged data packets.
本发明装置实施例一提供的数据发送装置用于实现本发明方法实施例一提供的数据发送方法的发送,其实现原理和技术效果类似,此处不再赘述。The data transmitting apparatus provided in Embodiment 1 of the present invention is used to implement the sending of the data sending method provided by Embodiment 1 of the method of the present invention, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
装置实施例二Device embodiment 2
本发明实施例提供的数据接收装置的一种具体实施例,与图3所示流程相对应,参考图5,图5为本发明实施例的数据接收装置的结构示意图,包括:A specific embodiment of the data receiving apparatus provided by the embodiment of the present invention corresponds to the flow shown in FIG. 3, and FIG. 5 is a schematic structural diagram of a data receiving apparatus according to an embodiment of the present invention, including:
接收模块501,用于接收经标识处理后的多个按顺序排列的数据包;The receiving module 501 is configured to receive, by the identifier processing, a plurality of sequentially arranged data packets;
确定模块502,用于通过多个按顺序排列的数据包中的第一标识,确定多个按顺序排列的数据包所含有的总数据长度为第一长度信息;The determining module 502 is configured to determine, by using the first identifier in the plurality of sequentially arranged data packets, that the total data length included in the plurality of sequentially arranged data packets is the first length information;
判断模块503,用于通过多个按顺序排列的数据包中的第二标识,依次判断多个按顺序排列的数据包中的各数据包是否为最后一个数据包;The determining module 503 is configured to sequentially determine, by using the second identifier in the plurality of sequentially arranged data packets, whether each data packet in the plurality of sequentially arranged data packets is the last data packet;
组合模块504,用于当判定为最后一个数据包时,将多个按顺序排列的数据包组合为数据;The combining module 504 is configured to combine the plurality of sequentially arranged data packets into data when determining the last data packet;
对比模块505,用于对比组合后的数据长度和第一长度信息,根据对比结果判断组合后的数据是否完整。The comparison module 505 is configured to compare the combined data length and the first length information, and determine, according to the comparison result, whether the combined data is complete.
其中,组合模块504,具体用于:去除多个按顺序排列的数据包中的第一标识和第二标识,将去除标识后的数据包组合为数据。The combination module 504 is specifically configured to: remove the first identifier and the second identifier in the plurality of sequentially arranged data packets, and combine the removed data packets into data.
对比模块505,具体用于:The comparison module 505 is specifically configured to:
计算组合后的数据的长度为第二长度信息;Calculating the length of the combined data as the second length information;
比对第一长度信息和第二长度信息,如果第一长度信息和第二长度信息一致,判定接收的数据完整;Comparing the first length information and the second length information, if the first length information and the second length information are consistent, determining that the received data is complete;
如果第一长度信息与第二长度信息不一致,判定接收的数据不完整。If the first length information does not coincide with the second length information, it is determined that the received data is incomplete.
本发明装置实施例二提供的数据接收装置用于实现本发明方法实施例二提供的数据接收方法的接收,其实现原理和技术效果类似,此处不再赘述。The data receiving apparatus provided in the second embodiment of the present invention is used to implement the data receiving method provided by the second embodiment of the present invention. The implementation principle and technical effects are similar, and details are not described herein again.
装置实施例三Device embodiment three
本发明实施例提供的数据收发装置的一种具体实施例,参考图6,图6为本发明实施例的数据收发装置的结构示意图,包括发送端和接收端,数据收发装置具体包括:A specific embodiment of a data transceiver device according to an embodiment of the present invention is described with reference to FIG. 6. FIG. 6 is a schematic structural diagram of a data transceiver device according to an embodiment of the present invention, including a transmitting end and a receiving end, where the data receiving and transmitting apparatus specifically includes:
获取模块401,用于获取数据并确定数据的长度信息。The obtaining module 401 is configured to acquire data and determine length information of the data.
拆分模块402,用于将数据拆分为多个按顺序排列的数据包。The splitting module 402 is configured to split the data into a plurality of sequentially arranged data packets.
第一添加模块403,在多个按顺序排列的数据包的第一个数据包中添加第一标识,第一标识用以标明数据的长度信息。The first adding module 403 adds a first identifier to the first data packet of the plurality of sequentially arranged data packets, where the first identifier is used to indicate length information of the data.
第二添加模块404,用于在多个按顺序排列的数据包的各数据包中添加第二标识,第二标识用以标明数据包是否为多个按顺序排列的数据包中的最后一个数据包。a second adding module 404, configured to add a second identifier to each data packet of the plurality of sequentially arranged data packets, where the second identifier is used to indicate whether the data packet is the last data in the plurality of sequentially arranged data packets package.
发送模块405,用于依次发送经标识处理后的多个按顺序排列的数据包,以使接收端接收多个按顺序排列的数据包。The sending module 405 is configured to sequentially send the plurality of sequentially arranged data packets after the identifier processing, so that the receiving end receives the plurality of sequentially arranged data packets.
接收模块501,用于接收经标识处理后的多个按顺序排列的数据包;The receiving module 501 is configured to receive, by the identifier processing, a plurality of sequentially arranged data packets;
确定模块502,用于通过多个按顺序排列的数据包中的第一标识,确定多个按顺序排列的数据包所含有的总数据长度为第一长度信息;The determining module 502 is configured to determine, by using the first identifier in the plurality of sequentially arranged data packets, that the total data length included in the plurality of sequentially arranged data packets is the first length information;
判断模块503,用于通过多个按顺序排列的数据包中的第二标识,依次判断多个按顺序排列的数据包中的各数据包是否为最后一个数据包;The determining module 503 is configured to sequentially determine, by using the second identifier in the plurality of sequentially arranged data packets, whether each data packet in the plurality of sequentially arranged data packets is the last data packet;
组合模块504,用于当判定为最后一个数据包时,将多个按顺序排列的数据包组合为数据;The combining module 504 is configured to combine the plurality of sequentially arranged data packets into data when determining the last data packet;
对比模块505,用于对比组合后的数据长度和第一长度信息,根据对比结果判断组合后的数据是否完整。The comparison module 505 is configured to compare the combined data length and the first length information, and determine, according to the comparison result, whether the combined data is complete.
本发明装置实施例三提供的数据收发装置,用于通过BLE协议传输数据,可以保证通过BLE发送和接收数据时的完整性。The data transceiver device provided in Embodiment 3 of the device of the present invention is used for transmitting data through the BLE protocol, and can ensure integrity when transmitting and receiving data through BLE.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply such entities or operations. There is any such actual relationship or order between them. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in the present specification are described in a related manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (10)

  1. 一种数据发送方法,其特征在于,应用于通过BLE蓝牙低能耗协议进行数据传输的发送端,所述方法包括:A data transmitting method, which is applied to a transmitting end for data transmission by a BLE Bluetooth low energy protocol, the method comprising:
    获取数据并确定所述数据的长度信息;Obtaining data and determining length information of the data;
    将所述数据拆分为多个按顺序排列的数据包,所述多个按顺序排列的数据包大小相等;Splitting the data into a plurality of sequentially arranged data packets, wherein the plurality of sequentially arranged data packets are equal in size;
    在所述多个按顺序排列的数据包的第一个数据包中添加第一标识,所述第一标识用以标明所述数据的长度信息;Adding a first identifier to the first data packet of the plurality of sequentially arranged data packets, where the first identifier is used to indicate length information of the data;
    在所述多个按顺序排列的数据包的各数据包中添加第二标识,所述第二标识用以标明所述数据包是否为所述多个按顺序排列的数据包中的最后一个数据包;Adding a second identifier to each data packet of the plurality of sequentially arranged data packets, where the second identifier is used to indicate whether the data packet is the last data in the plurality of sequentially arranged data packets package;
    依次发送所述经标识处理后的所述多个按顺序排列的数据包,以使接收端接收所述多个按顺序排列的数据包。And sequentially sending the plurality of sequentially arranged data packets after the identification process, so that the receiving end receives the plurality of sequentially arranged data packets.
  2. 根据权利要求1所述的数据发送方法,其特征在于,所述在所述多个按顺序排列的数据包的第一个数据包中添加第一标识,具体包括:The data transmission method according to claim 1, wherein the adding the first identifier to the first data packet of the plurality of sequentially arranged data packets comprises:
    在所述多个按顺序排列的数据包的第一个数据包的包头中添加第一标识;Adding a first identifier to a header of the first data packet of the plurality of sequentially arranged data packets;
    所述在所述多个按顺序排列的数据包的各数据包中添加第二标识,具体包括:The adding the second identifier to each of the data packets of the plurality of sequentially arranged data packets includes:
    在所述多个按顺序排列的数据包的各数据包的包头中添加第二标识。Adding a second identifier to a header of each data packet of the plurality of sequentially arranged data packets.
  3. 一种数据接收方法,其特征在于,应用于通过BLE蓝牙低能耗协议进行数据传输的接收端,所述方法包括:A data receiving method, which is applied to a receiving end for data transmission by a BLE Bluetooth low energy protocol, the method comprising:
    接收经标识处理后的多个按顺序排列的数据包;Receiving a plurality of sequentially arranged data packets after being marked and processed;
    通过所述多个按顺序排列的数据包中的第一标识,确定所述多个按顺序排列的数据包所含有的总数据长度为第一长度信息;Determining, by the first identifier in the plurality of sequentially arranged data packets, a total data length included in the plurality of sequentially arranged data packets as first length information;
    通过所述多个按顺序排列的数据包中的第二标识,依次判断所述多个按顺序排列的数据包中的各数据包是否为最后一个数据包;Determining, by the second identifier of the plurality of sequentially arranged data packets, whether each data packet in the plurality of sequentially arranged data packets is the last data packet;
    当判定为最后一个数据包时,将所述多个按顺序排列的数据包组合为数据;When it is determined as the last data packet, the plurality of sequentially arranged data packets are combined into data;
    对比组合后的数据长度和所述第一长度信息,根据对比结果判断组合后的数据是否完整。Comparing the combined data length and the first length information, determining whether the combined data is complete according to the comparison result.
  4. 根据权利要求3所述的数据接收方法,其特征在于,所述将所述多个按顺序排列的数据包组合为数据,具体包括:The data receiving method according to claim 3, wherein the combining the plurality of sequentially arranged data packets into data comprises:
    去除所述多个按顺序排列的数据包中的第一标识和第二标识,将去除标识后的数据包组合为数据。And removing the first identifier and the second identifier in the plurality of sequentially arranged data packets, and combining the removed data packets into data.
  5. 根据权利要求3或4所述的数据接收方法,其特征在于,所述对比组合后的数据长度和所述第一长度信息,根据对比结果判断组合后的数据是否完整,具体包括:The data receiving method according to claim 3 or 4, wherein the comparing the combined data length and the first length information, and determining whether the combined data is complete according to the comparison result comprises:
    计算组合后的数据的长度为第二长度信息;Calculating the length of the combined data as the second length information;
    比对所述第一长度信息和第二长度信息,如果所述第一长度信息和所述第二长度信息一致,判定接收的数据完整;Comparing the first length information and the second length information, if the first length information and the second length information are consistent, determining that the received data is complete;
    如果所述第一长度信息与所述第二长度信息不一致,判定接收的数据不完整。If the first length information does not coincide with the second length information, it is determined that the received data is incomplete.
  6. 一种数据发送装置,其特征在于,所述数据发送装置通过BLE蓝牙低能耗协议进行数据传输,包括:A data transmitting apparatus, wherein the data transmitting apparatus performs data transmission by using a BLE Bluetooth low energy protocol, including:
    获取模块,用于获取数据并确定所述数据的长度信息;An obtaining module, configured to acquire data and determine length information of the data;
    拆分模块,用于将所述数据拆分为多个按顺序排列的数据包,所述多个按顺序排列的数据包大小相等;a splitting module, configured to split the data into a plurality of sequentially arranged data packets, wherein the plurality of sequentially arranged data packets are equal in size;
    第一添加模块,在所述多个按顺序排列的数据包的第一个数据包中添加第一标识,所述第一标识用以标明所述数据的长度信息;a first adding module, where a first identifier is added to the first data packet of the plurality of sequentially arranged data packets, where the first identifier is used to indicate length information of the data;
    第二添加模块,用于在所述多个按顺序排列的数据包的各数据包中添加第二标识,所述第二标识用以标明所述数据包是否为所述多个按顺序排列的数据包中的最后一个数据包;a second adding module, configured to add a second identifier to each data packet of the plurality of sequentially arranged data packets, where the second identifier is used to indicate whether the data packet is in the plurality of sequentially arranged The last packet in the packet;
    发送模块,用于依次发送所述经标识处理后的所述多个按顺序排列的数据包,以使接收端接收所述多个按顺序排列的数据包。And a sending module, configured to sequentially send the plurality of sequentially arranged data packets after the identifier processing, so that the receiving end receives the plurality of sequentially arranged data packets.
  7. 根据权利要求6所述的数据发送装置,其特征在于,所述第一添加模块,具体用于:The data transmitting apparatus according to claim 6, wherein the first adding module is specifically configured to:
    在所述多个按顺序排列的数据包的第一个数据包的包头中添加第一标识;Adding a first identifier to a header of the first data packet of the plurality of sequentially arranged data packets;
    所述第二添加模块,具体用于:The second adding module is specifically configured to:
    在所述多个按顺序排列的数据包的各数据包的包头中添加第二标识。Adding a second identifier to a header of each data packet of the plurality of sequentially arranged data packets.
  8. 一种数据接收装置,其特征在于,所述数据接收装置通过BLE蓝牙低能耗协议进行数据传输,包括:A data receiving device, wherein the data receiving device performs data transmission by using a BLE Bluetooth low energy protocol, including:
    接收模块,用于接收经标识处理后的多个按顺序排列的数据包;a receiving module, configured to receive the plurality of sequentially arranged data packets after being identified by the identifier;
    确定模块,用于通过所述多个按顺序排列的数据包中的第一标识,确定所述多个按顺序排列的数据包所含有的总数据长度为第一长度信息;a determining module, configured to determine, by using the first identifier in the plurality of sequentially arranged data packets, a total length of data included in the plurality of sequentially arranged data packets as first length information;
    判断模块,用于通过所述多个按顺序排列的数据包中的第二标识,依次判断所述多个按顺序排列的数据包中的各数据包是否为最后一个数据包;a determining module, configured to sequentially determine, by the second identifier in the plurality of sequentially arranged data packets, whether each data packet in the plurality of sequentially arranged data packets is the last data packet;
    组合模块,用于当判定为最后一个数据包时,将所述多个按顺序排列的数据包组合为数据;a combination module, configured to combine the plurality of sequentially arranged data packets into data when determining the last data packet;
    对比模块,用于对比组合后的数据长度和所述第一长度信息,根据对比结果判断组合后的数据是否完整。The comparison module is configured to compare the combined data length and the first length information, and determine whether the combined data is complete according to the comparison result.
  9. 根据权利要求8所述的数据接收装置,其特征在于,所述组合模块,具体用于:The data receiving device according to claim 8, wherein the combination module is specifically configured to:
    去除所述多个按顺序排列的数据包中的第一标识和第二标识,将去除标识后的数据包组合为数据。And removing the first identifier and the second identifier in the plurality of sequentially arranged data packets, and combining the removed data packets into data.
  10. 根据权利要求8或9所述的数据接收装置,其特征在于,所述对比模块,具体用于:The data receiving device according to claim 8 or 9, wherein the comparison module is specifically configured to:
    计算组合后的数据的长度为第二长度信息;Calculating the length of the combined data as the second length information;
    比对所述第一长度信息和第二长度信息,如果所述第一长度信息和所述第二长度信息一致,判定接收的数据完整;Comparing the first length information and the second length information, if the first length information and the second length information are consistent, determining that the received data is complete;
    如果所述第一长度信息与所述第二长度信息不一致,判定接收的数据不完整。If the first length information does not coincide with the second length information, it is determined that the received data is incomplete.
PCT/CN2018/086868 2017-05-16 2018-05-15 Data transmitting method and receiving method, and data transmitting device and receiving device WO2018210231A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710344810.2A CN107346981A (en) 2017-05-16 2017-05-16 Data transmission method for uplink, method of reseptance and data sending device, reception device
CN201710344810.2 2017-05-16

Publications (1)

Publication Number Publication Date
WO2018210231A1 true WO2018210231A1 (en) 2018-11-22

Family

ID=60253599

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/086868 WO2018210231A1 (en) 2017-05-16 2018-05-15 Data transmitting method and receiving method, and data transmitting device and receiving device

Country Status (2)

Country Link
CN (1) CN107346981A (en)
WO (1) WO2018210231A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107346981A (en) * 2017-05-16 2017-11-14 北京数科技有限公司 Data transmission method for uplink, method of reseptance and data sending device, reception device
CN108234595B (en) * 2017-11-29 2021-05-14 山东鲁能软件技术有限公司 Log transmission method and system
CN108966187A (en) * 2018-06-06 2018-12-07 四川斐讯全智信息技术有限公司 A kind of data transmission method and system based on BLE
CN109041036A (en) * 2018-10-29 2018-12-18 青岛海信传媒网络技术有限公司 WIFI connection method and equipment
CN109561395A (en) * 2018-12-07 2019-04-02 青岛海信电器股份有限公司 A kind of blue-tooth transmission method and device
CN110120938B (en) * 2019-04-02 2021-11-16 视联动力信息技术股份有限公司 Control method and device for cooperative server
CN113709055B (en) * 2020-05-20 2023-12-05 安徽华米信息科技有限公司 BLE-based communication method, BLE-based communication device, BLE-based communication equipment, BLE-based communication system and BLE-based storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040203371A1 (en) * 2002-10-08 2004-10-14 Hewlett Packard Company Error control in a bluetooth wireless communication system
CN101056262A (en) * 2007-03-26 2007-10-17 宝丽雅智能系统(深圳)有限公司 Connection and switching method of the service data and network data of the application system
CN102983884A (en) * 2011-09-05 2013-03-20 国民技术股份有限公司 A method for transmitting data via a magnetic channel
CN104661172A (en) * 2015-01-26 2015-05-27 武汉健坤科技有限公司 Extended data transmission method and extended data transmission system based on Bluetooth low power consumption
CN106411560A (en) * 2016-06-01 2017-02-15 深圳市永兴元科技有限公司 Data transmission method and device
CN107346981A (en) * 2017-05-16 2017-11-14 北京数科技有限公司 Data transmission method for uplink, method of reseptance and data sending device, reception device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022523A (en) * 2006-02-15 2007-08-22 上海晨兴电子科技有限公司 Mobile communication terminal video and audio file recording and broadcasting method and device
CN101131816B (en) * 2007-09-30 2012-01-04 炬力集成电路设计有限公司 Audio file generation method, device and digital player
CN102594490B (en) * 2011-01-17 2014-11-05 中兴通讯股份有限公司 Method and device for degradation rate matching
CN104850573A (en) * 2014-11-25 2015-08-19 北汽福田汽车股份有限公司 Data collection method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040203371A1 (en) * 2002-10-08 2004-10-14 Hewlett Packard Company Error control in a bluetooth wireless communication system
CN101056262A (en) * 2007-03-26 2007-10-17 宝丽雅智能系统(深圳)有限公司 Connection and switching method of the service data and network data of the application system
CN102983884A (en) * 2011-09-05 2013-03-20 国民技术股份有限公司 A method for transmitting data via a magnetic channel
CN104661172A (en) * 2015-01-26 2015-05-27 武汉健坤科技有限公司 Extended data transmission method and extended data transmission system based on Bluetooth low power consumption
CN106411560A (en) * 2016-06-01 2017-02-15 深圳市永兴元科技有限公司 Data transmission method and device
CN107346981A (en) * 2017-05-16 2017-11-14 北京数科技有限公司 Data transmission method for uplink, method of reseptance and data sending device, reception device

Also Published As

Publication number Publication date
CN107346981A (en) 2017-11-14

Similar Documents

Publication Publication Date Title
WO2018210231A1 (en) Data transmitting method and receiving method, and data transmitting device and receiving device
CN102724122B (en) Reliable serial port transmission method and device based on hardware system
JP6756009B2 (en) Data transmission
JP2006115528A5 (en)
JP2014528107A5 (en)
CN111327687B (en) Data transmission method and device, electronic equipment and storage medium
WO2013002980A3 (en) Transporting operations of arbitrary size over remote direct memory access
WO2011023068A1 (en) Device, method and related device for obtaining service content for personal network equipment
CN103067071A (en) Method and system for communication between mobile terminal and beidou communication satellite
ATE366024T1 (en) JAM HANDLING IN A PACKET COMMUNICATION SYSTEM
CN101662418A (en) Detecting method and terminal of file transmission
WO2013071791A1 (en) Method and system for automatically deleting instant messaging information
WO2023212927A1 (en) Communication method and communication apparatus for sensing measurement establishment
CN110457251B (en) Data communication method and device among multiple processors
TWI737881B (en) Method, and device for transmitting data, and transmitting end
JP2014123363A5 (en)
WO2020063381A1 (en) Data communication method, server device, client device and medium
WO2019061116A1 (en) Terminal pairing method, server and terminal
WO2023185171A1 (en) Data transmission method and apparatus, electronic device and computer-readable storage medium
JP5999461B2 (en) Method, apparatus, and system for obtaining an internet protocol address
CN109766347B (en) Data updating method, device, system, computer equipment and storage medium
CN102957633A (en) Data packing and transmitting method and data packing and transmitting system for message-oriented middleware
WO2024082238A1 (en) Communication method and apparatus, and device and storage medium
WO2024060762A1 (en) Power line communication method and apparatus
CN103888629A (en) Device for carrying out voice compression/meeting exchange processing on PCM voice

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18802247

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18802247

Country of ref document: EP

Kind code of ref document: A1