Data transmission method and related device

By introducing the first error detection code into the data burst of the wireless communication system, the problem that the short-length data field cannot carry the error detection code is solved, and the error detection capability of data burst key information without increasing the air interface resources is improved, and the reliability of data transmission is improved.

CN119967068APending Publication Date: 2025-05-09HYTERA COMM CORP
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510088390.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-20
Publication Date
2025-05-09

AI Technical Summary

Technical Problem

In wireless communication systems, due to physical channel bandwidth constraints or transmission rate limitations, shorter data fields cannot carry error detection codes, resulting in data bursts that may be mistakenly detected as other data types, resulting in error processing and data loss.

Method used

By introducing a first error detection code into the data burst, part or all of the data of the PDU corresponding to the first data, and the check code obtained by the PDU corresponding to the second data processed by the verification algorithm, and transmitting it as the second part of the data to realize error detection of the first data and the second data.

Benefits of technology

Without increasing the air interface burst resources, the error detection capability of key information in data bursts is improved, and data bursts are avoided being mishandled, thereby improving the reliability of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119967068A_ABST
    Figure CN119967068A_ABST
Patent Text Reader

Abstract

Provided are a data transmission method and a related device, the method comprising: a sending device generating a data burst, in the data burst, a first part of data comprising a PDU corresponding to first data, the first data comprising key information, and a second part of data comprising a PDU corresponding to second data and a first error detection code, the first error detection code is obtained by processing part or all of the PDU corresponding to the first data and the PDU corresponding to the second data; the sending device sends the data burst; and the receiving equipment receives the data burst and decodes the data burst. The first error detection code is obtained by processing part or all of the PDU corresponding to the first data and the PDU corresponding to the second data through a detection algorithm, and can be used for carrying out error detection on the PDU corresponding to the first data and the PDU corresponding to the second data, so that the error detection efficiency of the PDU corresponding to the first data and the PDU corresponding to the second data is improved under the condition that air interface burst resources are not increased. And the error detection capability of the key information in the data burst is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a data transmission method and related devices. Background Art

[0002] In wireless communication systems, the accuracy of data transmission is crucial. In order to prevent data bursts from being affected by electromagnetic interference, other communication signals, or signal fading during air interface transmission and thus causing errors, and to enhance the reliability of data burst transmission, an error detection and correction mechanism is usually used on the data bursts to generate error detection codes and error correction codes, and the error detection codes and error correction codes are then transmitted over the air interface together with the data bursts. The receiving device receives the data bursts from the air interface, and then uses the error detection and correction mechanism algorithm to decode the data bursts, as well as detect and correct errors in the received data bursts.

[0003] However, due to the physical channel bandwidth constraint or transmission rate limitation, the longer data field in the data burst can carry data signals, error detection codes and error correction codes, but the shorter data field can only carry data signals and error correction codes due to the limited number of bits, and cannot carry error detection codes. Key information such as data type is usually located in the shorter data field of the data burst. Once an error in this data field is not detected, the data burst may be mistakenly detected as other data types, which will cause the longer data field to be parsed according to the wrong data type, resulting in misprocessing and more data loss.

[0004] Therefore, it is particularly important to improve the error detection capability of key information in data bursts and avoid misprocessing of data bursts without increasing air interface burst resources under limited bandwidth constraints. Summary of the invention

[0005] The present application provides a data transmission method and related devices, the purpose of which is to improve the error detection capability of key information in data bursts without increasing air interface burst resources.

[0006] In order to achieve the above objectives, this application provides the following technical solutions:

[0007] In a first aspect, the present application provides a data transmission method, comprising:

[0008] The sending device generates a data burst to be sent in response to a demand for transmitting designated data; the data burst includes a first part of data and a second part of data, the first part of data includes a protocol data unit PDU corresponding to the first data, the first data includes key information associated with a data burst attribute, and the second part of data includes: a PDU corresponding to the second data and a first error detection code, the first error detection code is obtained by processing part or all of the PDU corresponding to the first data and the PDU corresponding to the second data through a check algorithm; there is a corresponding relationship between the PDU format corresponding to the second data and at least one item of the key information;

[0009] The sending device sends a data burst;

[0010] The receiving device receives the data burst, and decodes the first part of the data and the second part of the data in the data burst respectively according to a preset decoding rule, and obtains the designated data sent by the sending device.

[0011] In the above technical solution, in the data burst, the second part of the data includes a first error detection code, and the first error detection code is obtained by processing part or all of the data of the PDU corresponding to the first data and the PDU corresponding to the second data through a verification algorithm. It can be used to perform error detection on the PDU corresponding to the first data and the PDU corresponding to the second data, thereby improving the error detection capability of key information in the data burst without increasing air interface burst resources.

[0012] In a possible implementation manner, the first data includes multiple items of data, each item of data indicating different key information associated with a data burst attribute.

[0013] In one possible implementation, the first part of the data also includes a first error correction code, which is obtained by processing the PDU corresponding to the first data through an error correction algorithm; the second part of the data also includes a second error correction code, which is obtained by processing the PDU corresponding to the second data and the error detection code through an error correction algorithm.

[0014] In a possible implementation manner, the data burst further includes a third portion of data, and the third portion of data includes a protocol data unit PDU corresponding to the third data.

[0015] In a possible implementation manner, a method for generating a PDU corresponding to the second data includes:

[0016] Determine, based on the data type in the key information, a format of the PDU corresponding to the second data;

[0017] The second data is processed according to the format of the PDU corresponding to the second data to obtain the PDU corresponding to the second data.

[0018] In one possible implementation, when a first error detection code is obtained by processing part or all of the data of the PDU corresponding to the first data and the PDU corresponding to the second data through a verification algorithm, part or all of the data of the PDU corresponding to the first data and the PDU corresponding to the second data are arranged as follows: part or all of the data of the PDU corresponding to the first data is located before, after or in the middle of the PDU corresponding to the second data.

[0019] In a possible implementation, the receiving device respectively decodes the first part of data and the second part of data in the data burst according to a preset decoding rule, including:

[0020] The receiving device parses the first part of the data in the data burst to obtain a PDU corresponding to the first data, and decodes the PDU corresponding to the first data to obtain key information;

[0021] Parsing the second part of the data in the data burst to obtain a PDU and a first error detection code corresponding to the second data;

[0022] Processing part or all of the PDU corresponding to the first data obtained by parsing, and the PDU corresponding to the second data obtained by parsing, through a preset check algorithm, to obtain a second error detection code;

[0023] determining whether the first error detection code and the second error detection code are the same;

[0024] If the first error detection code and the second error detection code are different, the first part of data and the second part of data are decoded incorrectly. If the first error detection code and the second error detection code are the same, the first part of data and the second part of data are decoded correctly.

[0025] In a possible implementation, after parsing the second part of data in the data burst to obtain the PDU and the first error detection code corresponding to the second data, the method further includes:

[0026] Determine, based on the data type in the key information obtained by decoding, a format of the PDU corresponding to the second data;

[0027] The PDU corresponding to the second data is decoded according to the format of the PDU corresponding to the second data.

[0028] In a possible implementation, the first part of the data further includes a first error correction code, and the second part of the data further includes a second error correction code; parsing the first part of the data in the data burst to obtain a PDU corresponding to the first data includes:

[0029] Based on the first error correction code, error correction decoding is performed on the first part of the data to obtain a PDU corresponding to the first data;

[0030] Parsing the second part of the data in the data burst to obtain a PDU and a first error detection code corresponding to the second data includes:

[0031] Based on the second error correction code, error correction decoding is performed on the second part of the data to obtain a PDU corresponding to the second data and a first error detection code.

[0032] In a second aspect, the present application provides a communication device, including a processor and a memory, the communication device also includes a communication interface, the processor is coupled to the communication interface, and the processor is coupled to the memory. In one implementation, the communication interface can be a transceiver, or an input / output interface. The processor can be used to execute instructions or data in the memory to implement the method in any possible implementation of the first aspect above.

[0033] In a third aspect, the present application provides a computer program product, which includes: a computer program (also referred to as code, or instructions), which, when executed, enables a computer to execute a method in any possible implementation of the first aspect.

[0034] In a fourth aspect, a computer-readable storage medium is provided, which stores a computer program (also referred to as code, or instructions) which, when executed on a computer, enables the computer to execute a method in any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 This is an example diagram of a scenario of a first communication device and a second communication device;

[0036] Figure 2 A flowchart of a data transmission method disclosed in an embodiment of the present application;

[0037] Figure 3 A schematic diagram of the structure of a data burst disclosed in an embodiment of the present application;

[0038] Figure 4 A relationship diagram of the check code Data2.Check of the second part of data disclosed in the embodiment of the present application, the protocol data unit Data2.PDU of the second part of data, and the protocol data unit Data1.PDU of the first part of data;

[0039] Figure 5 A schematic diagram of a process for generating a data burst by a first communication device disclosed in an embodiment of the present application;

[0040] Figure 6 A schematic diagram of a process of parsing a data burst by a second communication device disclosed in an embodiment of the present application;

[0041] Figure 7A schematic diagram of the structure of a CSBK data burst disclosed in an embodiment of the present application;

[0042] Figure 8 A comparison diagram of the data burst disclosed in the embodiment of the present application and the original data burst of the DMR protocol;

[0043] Fig. 9 A schematic diagram of the structure of a communication device disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0044] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. The terms used in the following embodiments are only for the purpose of describing specific embodiments and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the embodiments of the present application, "one or more" refers to one, two or more; "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0045] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0046] The multiple involved in the embodiments of the present application means greater than or equal to two. It should be noted that in the description of the embodiments of the present application, the words "first", "second", etc. are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying an order.

[0047] The technical solution of the present application can be applied to a wireless communication system of time division multiple access (TDMA) format, which wireless communication system can be a radio system, such as a DMR system, a PDT system, etc., a second generation (2G) communication system, a third generation (3G) communication system, an LTE system, a fifth generation (5G) communication system, an LTE and 5G hybrid architecture, a 5G new radio (5G NR) system, and new communication systems that will emerge in future communication developments.

[0048] The wireless communication system includes a first communication device and a second communication device.

[0049] In some embodiments, the first communication device may be a transmitter, a transmitting terminal, or a sending device, which is responsible for modulating information onto radio waves and transmitting them, and the second communication device may be a receiver, a receiving terminal, or a receiving device, which is responsible for receiving these radio waves and converting them back into the original information. Both the first communication device and the second communication device may be digital intercom devices such as walkie-talkies and repeaters.

[0050] In other embodiments, the first communication device may be a device on the network side for providing network communication functions, which is also referred to as a network device or a network element in some cases. The network device may generally be a base station (including a functional unit of a base station, or a combination of functional units of a base station) or a core network unit. The second communication device may be a device for accessing a network, which may generally be a terminal.

[0051] An example of a wireless communication system is Figure 1 As shown, Figure 1 The invention comprises a first communication device 100 and a second communication device 200. The first communication device 100 and the second communication device 200 are digital intercom devices.

[0052] In wireless communication systems, the accuracy of data transmission is crucial. In order to prevent data bursts from being affected by electromagnetic interference, other communication signals, or signal fading during air interface transmission and thus causing errors, and to enhance the reliability of data burst transmission, an error detection and correction mechanism is usually used on the data bursts to generate error detection codes and error correction codes, and the error detection codes and error correction codes are then transmitted over the air interface together with the data bursts. The receiving device receives the data bursts from the air interface, and then uses the error detection and correction mechanism algorithm to decode the data bursts, as well as detect and correct errors in the received data bursts.

[0053] However, due to the physical channel bandwidth constraint or transmission rate limitation, the longer data field in the data burst can carry data signals, error detection codes and error correction codes, but the shorter data field can only carry data signals and error correction codes due to the limited number of bits, and cannot carry error detection codes. However, key information such as data type is usually located in the shorter data field of the data burst. Once an error in the data field is not detected, the data burst as a whole may be misdetected as other data types, which will cause the longer data field to be parsed according to the wrong data type, resulting in misprocessing and more data loss. For example: the data header is a shorter data field, which includes the data type. The data header will be followed by continuous data blocks, which belong to the longer data field. Once the data header is misunderstood as other data types, the data header and subsequent continuous data blocks will be misprocessed.

[0054] Therefore, it is particularly important to improve the error detection capability of key information in data bursts and avoid misprocessing of data bursts without increasing air interface burst resources under limited bandwidth constraints.

[0055] Based on this, the embodiment of the present application provides a data transmission method, such as Figure 2 As shown, including:

[0056] S201. A first communication device sends a data burst, and correspondingly, a second communication device receives the data burst.

[0057] It can be understood that the first communication device is a sending device, which can generate a data burst to be sent in response to the need to transmit specified data. After the first communication device generates the data burst to be sent, it can send the data burst, and correspondingly, the second communication device is a receiving device, which receives the data burst.

[0058] The data burst includes a first part of data and a second part of data, the first part of data includes a protocol data unit (PDU) corresponding to the first data, the first data includes key information of the data burst, and the second part of data includes: a PDU corresponding to the second data and a first error detection code, the first error detection code is obtained by processing part or all of the data of the PDU corresponding to the first data and the PDU corresponding to the second data through a verification algorithm.

[0059] In some embodiments, the first communication data sends a data burst when the current channel is idle. Correspondingly, the second communication device may include one or more devices, and one or more devices receive the data burst.

[0060] The key information of the data burst may refer to: key information associated with the data burst attribute.

[0061] In some embodiments, the first data includes one or more data items, each data item includes different key information, and each data item corresponds to one or more bit positions in the PDU, that is, each data item indicates different key information associated with the data burst attribute, and a PDU may contain multiple key information. The first part of the data may include a PDU corresponding to the multiple data items. For example, the key information includes a data type and a system code, the data type is used to distinguish the information meaning of the payload, the data type corresponds to one or more fixed bit positions in the PDU, and the system code corresponds to another one or more fixed bit positions in the PDU.

[0062] In some embodiments, there is a correspondence between the PDU format corresponding to the second data and at least one item of the key information, as detailed in the following step S302, which will not be described in detail here.

[0063] In some embodiments, the first part of the data also includes a first error correction code, which is obtained by processing the PDU corresponding to the first data through an error correction algorithm; the second part of the data also includes a second error correction code, which is obtained by processing the PDU corresponding to the second data and the error detection code through an error correction algorithm.

[0064] It is understandable that the data burst is not limited to only including the first part of data and the second part of data, but may also include other parts of data, such as including the third part of data, the third part of data includes third data, and the third data such as synchronization word unit, user data, etc.

[0065] Therefore, it can be seen that a data burst includes multiple data parts, such as the first part of data, the second part of data, and the Nth part of data, where N>1. Figure 3 As shown, a data burst includes Data1, Data2, ..., DataN.

[0066] The first part of the data, Data1, is limited in the number of bits of the data burst, that is, it is usually a short data field, which can only carry the protocol data unit Data1.PDU of the data signal (i.e., the first data) and the error correction code Data1.FEC (i.e., the first error correction code), but cannot carry the error detection code Data1.Check. The error correction code Data1.FEC can correct the error signal of Data1 within a limited range, but when the number of errors exceeds the range of error correction, the data signal may be decoded into other defined signals. In addition, the first data usually includes key information, such as: data type, which is used to define the PDU format\type information of the data burst or service transmission; color code, which is used to distinguish the walkie-talkie service group / area information; device ID, which is used to identify the identity information of the transmitting device; time slot number, which is used to indicate the time slot number occupied when the data burst is sent; and other important information related to the identity and status of the transmitting device and the attributes of the channel, time slot, service type, data format, etc. where the transmitted data burst is located, which affects the receiving device to obtain the complete specified data.

[0067] The second part of the data, Data2, usually has a data length much longer than the first part of the data, i.e., it is usually a long data field, which can carry the data signal Data2.PDU, the error detection code Data2.Check (i.e., the first error detection code) and the error correction code Data2.FEC (i.e., the second error correction code). The error detection code in the second part of the data can detect the error signal of Data2.PDU, and the error correction code Data2.FEC can correct the protocol data unit Data2.PDU of the second part of the data signal and the error detection code Data2.Check of the second part of the data together, thereby further improving the error detection performance of the second part of the data.

[0068] Since the verification capability of the second part of the data is strong and the verification capability of the first part of the data is weak, all or part of the first part of the data and the protocol data unit of the second part of the data can be combined and calculated to generate the verification code Data2.Check of the second part of the data, such as Figure 4 As shown. The check code Data2.Check of the second part of the data can check both the protocol data unit Data2.PDU of the second part of the data and the protocol data unit Data1.PDU of the first part of the data. The first part of the data can be checked together with the second part of the data to enhance the error detection capability. In this way, the length of the air interface data burst is not increased, and the reliability of the data burst transmission is improved.

[0069] It should be noted that the first communication device may first merge the first part of data and the second part of data according to a certain arrangement rule, such as inserting the first part of data before or after the second part of data, or inserting it into a predetermined position in the middle of the second part of data, or after the second part of data, and then processing the merged data through a check algorithm to obtain the check code Data2.Check of the second part of data. It should also be known that the arrangement rule of the first part of data and the second part of data during air interface transmission may also be that the first part of data is before or after the second part of data, or the first part of data is inserted in different positions of the second part of data.

[0070] Similarly, the Nth part of data DataN may also be a long data field, which may carry the data signal DataN.

[0071] S202: The second communication device decodes the data burst.

[0072] The second communication device, namely the receiving device, receives the data burst, and decodes the first part of data and the second part of data in the data burst respectively according to a preset decoding rule to obtain the designated data sent by the first communication device.

[0073] For details of step S202, see Figure 6 The corresponding implementation example content will not be described in detail here.

[0074] In an embodiment of the present application, in a data burst, the second part of data includes a first error detection code, and the first error detection code is obtained by processing part or all of the data of the PDU corresponding to the first data and the PDU corresponding to the second data through a verification algorithm. It can be used to perform error detection on the PDU corresponding to the first data and the PDU corresponding to the second data, thereby improving the error detection capability of key information in the data burst without increasing air interface burst resources.

[0075] The following combination Figure 5 , a process of generating a data burst by a first communication device is introduced.

[0076] like Figure 5 As shown, the process of generating a data burst by the first communication device includes:

[0077] S301, generate the first part of data Data1.

[0078] When the first communication device, as a transmitting terminal, needs to send data or control information, it can generate one or more data bursts. Specifically, the first communication device first frames the data type, system code and other key information used to identify the meaning of the information burst to form the protocol data unit Data1.PDU of the first unit, and then the first communication device calls the error correction coding algorithm of the first part of the data, such as BPTC block coding, adds redundant information bits Data1.FEC, and encodes to generate the first part of the data Data1.

[0079] S302 : Calculate a check value Data2.Check of the second part of data based on all or part of the data of the PDU of the first part of data and the PDU of the second part of data.

[0080] The first communication device confirms the protocol data unit format of the second part of the data based on the data type in the first part of the data, and combines the information of the data or control information, such as the source address of the call, the destination address of the call, the service options and other information units, to frame the information to be sent, such as user-specified information, GPS information, voice control information, etc., to form the protocol data unit Data2.PDU of the second unit.

[0081] All or part of the protocol data unit Data1.PDU of the first part of the data and the protocol data unit Data2.PDU of the second part of the data are merged according to certain arrangement rules to generate a new data block, and then the check algorithm, such as CRC cyclic redundancy check, checksum value CS, parity check, etc., is called to calculate and generate the check value Data2.Check of the second part of the data. The arrangement rule can insert the first part of the data before, after, or in the middle of the second part of the data.

[0082] S303, generate the second part of data Data2.

[0083] The protocol data unit Data2.PDU of the second part of the data and the check value Data2.Check of the second part of the data are merged according to a certain arrangement rule to generate a new data block. Usually, Data2.Check is placed after Data2.PDU. The new data block calls the error correction coding algorithm of the second part of the data, such as BPTC block coding, adds redundant information bits Data2.FEC, and generates the second part of the data Data2.

[0084] S304: Generate a complete data burst.

[0085] Other partial data are generated according to the requirements of the data burst, such as: the third partial data Data3, the fourth partial data Data4...DataN. According to the frame format requirements of the air interface data burst, multiple partial data are arranged according to the frame format rules required by the data burst to generate an air interface data burst Data Burst. In some embodiments, multiple parts of data may be fully or partially intertwined.

[0086] In some embodiments, after receiving the data burst, the second communication device, i.e., the receiving device, may parse the data burst. Figure 6 , a process of parsing a data burst by a second communication device is introduced.

[0087] like Figure 6 As shown, the process of the second communication device parsing the data burst includes:

[0088] S401, parsing the first part of data, obtaining the PDU of the first part of data, and decoding the PDU of the first part of data to obtain key information.

[0089] The second communication device receives the data burst as a receiving terminal, and first recovers the first part of data, the second part of data, and the Nth part of data according to the format of the data burst during transmission. The second communication device first performs error correction decoding on the first part of data Data1 to obtain the protocol data unit Data1.PDU of the first part of data, that is, the PDU corresponding to the first data, and further parses the protocol data unit Data1.PDU to obtain key information such as the data type and system code for identifying the meaning of the data burst information.

[0090] In some embodiments, an implementation of parsing the first part of data to obtain the PDU of the first part of data includes:

[0091] Based on the first error correction code, according to a preset encoding and decoding rule (such as Block Product Turbo Code, BPTC encoding), error correction decoding is performed on the first part of the data to obtain a PDU corresponding to the first data.

[0092] S402: parse the second part of data to obtain a PDU and a first check value of the second part of data.

[0093] The second communication device parses the second part of the data Data2, calls the preset error correction decoding algorithm of the second part of the data, and obtains the protocol data unit Data2.PDU of the second part of the data and the first check value Data2.Check of the second part of the data. The protocol data unit Data2.PDU of the second part of the data is the PDU corresponding to the second data, and the first check value Data2.Check is the first error detection code, that is, the first check value First Check.

[0094] In some embodiments, the protocol data unit Data2.PDU of the second part of the data further includes: querying the protocol data unit format of the second part of the data based on key information for identifying the meaning of the data burst information obtained by parsing the first part of the data, such as the data type, and deframing according to the queried protocol data unit format of the second part of the data to obtain the protocol data unit Data2.PDU of the second part of the data.

[0095] In some embodiments, the implementation method of parsing the second part of data to obtain the PDU and the first check value of the second part of data includes:

[0096] Based on the second error correction code, according to a preset encoding and decoding rule (such as Block Product Turbo Code, BPTC encoding), error correction decoding is performed on the second part of the data to obtain a PDU and a first check value of the second part of the data.

[0097] S403: Process part or all of the PDU of the first part of data obtained by parsing, and the PDU of the second part of data obtained by parsing, through a verification algorithm to obtain a second verification value.

[0098] The second communication device combines part or all of the protocol data unit Data1.PDU of the first part of the data and the protocol data unit Data2.PDU of the second part of the data according to a preset arrangement rule (the same arrangement rule used by the first communication device, i.e., the transmitting device) to generate a new data block, and calls the same check algorithm used by the first communication device to calculate and generate a second check value Second Check, i.e., a second error detection code.

[0099] S404: Determine whether the received first check value and the calculated second check value are the same.

[0100] If they are the same, indicating that the data burst is decoded correctly, step S405 is executed and the second communication device can continue to process the data burst correctly; if they are not the same, indicating that an error occurred in the protocol data unit of the first data or the protocol data unit of the second data during the decoding process, step S406 is executed and the second communication device performs error processing on the received data burst.

[0101] In some embodiments, error handling may include discarding a received data burst or sending a retransmission request to the first communications device.

[0102] In some embodiments, correctly processing a data burst may include: obtaining information identifying the meaning of the data burst information based on the analysis of the first portion of data, such as the data type, querying the protocol data unit format of the second portion of data, and deframing the second portion of data according to the queried protocol data unit format, obtaining the protocol data unit Data2.PDU of the second portion of data, further obtaining the content of the second data, and then executing a specified action based on the content of the second data, such as executing a user command transmitted by the transmitting device via a data burst.

[0103] The following description is made by comparing the original control signaling block (CSBK) data burst of the DMR protocol with the data burst provided in the embodiment of the present application.

[0104] like Figure 7 As shown, the CSBK data burst is 264 bits in total and consists of three data frame parts, Data1 to Data3, where:

[0105] The first part of data Data1 is 20-bit time slot type data, including Data1.PDU and Data1.FEC. The Data1.PDU includes a 4-bit color code (CC) and a 4-bit data type Data Type. Data1.FEC refers to a 12-bit time slot type Golay error correction code (or error correction code) generated by the Golay (8, 20) encoding algorithm. It can be understood that the first part of data Data1 defines the information meaning of the second part of data Data2.

[0106] The second part of data Data2 is 196 bits in total, including Data2.PDU (80-bit CSBK PDU), Data2.Check (16-bit CRC cyclic check code, i.e. error detection code) and Data2.FEC (100-bit BPTC error correction code, i.e. error correction code).

[0107] The third part of data Data3 includes 48 bits of data synchronization text.

[0108] like Figure 8 As shown in (a), the original DMR standard protocol only requires the check code of the second part of the data to be only for the protocol data unit of the second part of the data, that is, Data2.Check only checks the 80-bit CSBK PDU. The first part of the data carries limited data and does not support the check of the CC and Data Type of Data1.PDU. Therefore, once the Data Type is misunderstood as non-CSBK type data, the PDU of the second part of the data will be parsed according to the wrong data type, resulting in incorrect data processing.

[0109] like Figure 8 As shown in (b), the CSBK data burst for the DMR standard protocol provided in the embodiment of the present application combines the PDU of the first part of the data, such as the 4-bit CC and the 4-bit Data Type, with the PDU of the second part of the data, and calculates the check code Data2.Check of the second part of the data to check the first part of the data and the second part of the data, thereby improving the error detection capability of the first part of the data. The PDU of the first part of the data is inserted before the PDU of the second part of the data, and the check code is calculated together with the PDU of the second part of the data.

[0110] The PDU of the second part of the data and the newly calculated check code Data2.Check of the second part of the data are used to call the BPTC (96, 196) coding algorithm to perform error correction coding and interleaving to generate 196 bits of the second part of the data. After that, the second part of the data, the first part of the data, and the third part of the data are framed to generate a 264-bit CSBK data burst.

[0111] The following is an example to introduce the data transmission scheme provided in the embodiment of the present application.

[0112] In this example, the first communication device generates and sends a CSBK data burst, specifically including the following steps:

[0113] 1. Generate the protocol data unit Data1 of the first part of data.

[0114] Generate the first part of data Data1.PDU, that is: the value of the color code CC of the time slot type SlotType is set to the channel color code CC of the frequency writing configuration, and the value of the data type Data Type is set to 3, indicating that it is CSBK data.

[0115] The Golay (8, 20) error correction algorithm is called on the 8-bit Data1.PDU (i.e., 8-bit SlotType PDU), and a 12-bit error correction information unit Data1.FEC is added to generate the 20-bit first part of data Data1.

[0116] 2. Calculate the check value Data2.Check of the second part of the data.

[0117] According to the data type of the first part of the data, that is, CSBK, the protocol data unit format of the second part of the data is queried, and the data that forms the second part of the data is filled with the CSBK information unit field according to the PDU structure of CSBK, such as: filling in the last block identifier LB, protection identifier PF, control signaling block operation code CSBKO, feature identifier FID, 64-bit data field (including 8-bit service options Service Options, 8-bit reserved information Reserved, 24-bit call target address TargetAddress, 24-bit call source address Souce Address) unit, and framing to form the protocol data unit Data2.PDU (80-bit CSBK PDU) of the second unit.

[0118] The protocol data unit Data1.PDU (8bit SlotType PDU) of the first part of the data and the protocol data unit Data2.PDU (80bit CSBK PDU) of the second part of the data are combined according to certain arrangement rules to generate a new data block, and the CRC-CCITT check algorithm is called to calculate and generate the check value Data2.Check (16bitCRC) of the second part of the data. The PDU of the first part of the data can be all or part of the data of the first part of the data. According to certain arrangement rules, the first part of the data can be inserted before, after or in the middle of the second part of the data.

[0119] 3. Generate the second part of data Data2.

[0120] The protocol data unit Data2.PDU (80-bit CSBK PDU) of the second part of the data and the check value Data2.Check (16-bit CRC) of the second part of the data are merged according to a certain arrangement rule to generate a new data block. Usually, Data2.Check is placed after Data2.PDU. The new data block calls the error correction coding algorithm BPTC (96, 196) of the second part of the data to encode and generate the second part of the data Data2 (196-bit payload information), of which the redundant information bits are 100 bits (Data2.FEC).

[0121] 4. Form a complete data burst and send it to at least one terminal.

[0122] The first part of data Data1 (20-bit time slot type), the second part of data Data2 (196-bit effective load) and the third part of data Data3 (48-bit synchronization frame) are framed to form a CSBK data burst (264-bit CSBK data).

[0123] When the channel is idle, a CSBK data burst is sent to at least one second communication device.

[0124] The second communication device receives and parses the CSBK data burst, specifically including the following steps:

[0125] 1. Parse the first part of the data and obtain the PDU of the first part of the data.

[0126] The second communication device receives the data burst and first performs Golay (8, 20) error correction decoding on the first part of the data (eg, time slot type) to obtain the protocol data unit PDU of the first part of the data (eg, 8-bit time slot type SlotType, including 4-bit color code CC and 4-bit data type DataType).

[0127] 2. Parse the second part of the data to obtain the PDU and the first check value of the second part of the data.

[0128] Combined with the protocol data unit data type information (DataType) of the first part of the data, the BPTC (96, 196) error correction decoding algorithm of the second part of the data is called to parse the second part of the data (i.e., the payload information) to obtain the protocol data unit PDU and the first check value First Check of the second part of the data.

[0129] If DataType=3, it indicates that CSBK data is received, and the protocol data unit Data2.PDU (80bit CSBK PDU) of the second part of the data and the check value Data2.Check (16bit CRC) of the second part of the data are restored; if DataType is other data control frame, the protocol data unit of the second part of the data and the check value of the second part of the data are restored according to the format of other data control frame.

[0130] The first check value First Check is assigned the check value Data2.Check (16-bit CRC) of the second part of the data, indicating the check value of the air interface receiving the data burst.

[0131] 3. Calculate a second check value according to the PDU of the first part of data and the PDU of the second part of data.

[0132] The second communication device merges the protocol data unit Data1.PDU (8bit SlotType, i.e., 4bit CC and 4bit Data Type) (part or all) of the first part of the data and the protocol data unit Data2.PDU (80bit CSBK) of the second part of the data according to the same arrangement rule as the first communication device to generate a new data block; calls the same check algorithm CRC-CCITT as the first communication device to calculate and generate a second check value Second Check.

[0133] 4. Perform error handling or correct handling.

[0134] Determine whether the first check value First Check and the second check value Second Check are the same.

[0135] If the first check value First Check is equal to the second check value Second Check, it indicates that the data burst is decoded correctly, and the second communication device can continue to process the CSBK data burst correctly, such as parsing the target address of the call and receiving its own CSBK data, otherwise discarding it.

[0136] If the first check value First Check is not equal to the second check value Second Check, it indicates that an error occurred in the protocol data unit Data1.PDU (8bit Slot Type) of the first part of the data or the protocol data unit Data2.PDU (80bit CSBK) of the second part of the data during the decoding process, and the second communication device performs error processing on the received data burst, such as discarding the received data burst or notifying the first communication device to retransmit the erroneous data block.

[0137] Fig. 9 A hardware structure block diagram of a communication device provided in an embodiment of the present application is shown, and the communication device may be a digital intercom device (or called an intercom).

[0138] Reference Fig. 9 The communication device may include: at least one processor 110 , at least one memory 120 , at least one communication interface 130 , and one or more antennas 140 .

[0139] In the embodiment of the present application, the processor 110, the communication interface 130, and the memory 120 communicate with each other through a communication bus; the communication interface 130 is used to receive signals from the processor 110, convert the signals into radio frequency signals, and send radio frequency signals through one or more antennas 140, and can also receive signals from other devices through one or more antennas 140. The communication interface 130 can be a transceiver, or an input / output interface.

[0140] The processor 110 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured as one or more integrated circuits, etc.

[0141] The memory 120 may include a random access memory (RAM), and may also include a non-volatile memory (NVM, etc.), such as at least one disk memory.

[0142] The memory stores a program, and the processor can call the program stored in the memory, and the program is used to execute the various functions and operation steps of the first communication device or the second communication device described above to implement any of the above-mentioned data transmission methods. Optionally, the detailed functions and extended functions of the program can refer to the above description.

[0143] An embodiment of the present application also provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is executed on one or more computing devices, the one or more computing devices execute the data transmission method described in the above embodiment.

[0144] The computer-readable storage medium may be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0145] The embodiment of the present application also provides a computer program product, when the computer program product is executed by one or more computing devices, the one or more computing devices execute any of the aforementioned data transmission methods. The computer program product can be a software installation package, and when any of the aforementioned information indication methods is required, the computer program product can be downloaded and executed on a computer.

[0146] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A data transmission method, characterized in that: include: The sending device generates a data burst to be sent in response to a demand for transmitting designated data; the data burst includes a first part of data and a second part of data, the first part of data includes a protocol data unit PDU corresponding to the first data, the first data includes key information associated with the data burst attribute, the second part of data includes: a PDU corresponding to the second data and a first error detection code, the first error detection code is obtained by processing part or all of the PDU corresponding to the first data and the PDU corresponding to the second data through a verification algorithm; the PDU format corresponding to the second data corresponds to at least one of the key information; The sending device sends the data burst; The receiving device receives the data burst, and decodes the first part of data and the second part of data in the data burst respectively according to a preset decoding rule, and obtains the designated data sent by the sending device.

2. The method according to claim 1, characterized in that The first data includes multiple items of data, each item of data indicating different key information associated with the data burst attribute.

3. The method according to claim 1 or 2, characterized in that: The first part of the data also includes a first error correction code, which is obtained by processing the PDU corresponding to the first data through an error correction algorithm; the second part of the data also includes a second error correction code, which is obtained by processing the PDU corresponding to the second data and the error detection code through an error correction algorithm.

4. The method according to claim 1 or 2, characterized in that: The data burst further includes a third portion of data, and the third portion of data includes a protocol data unit PDU corresponding to the third data.

5. The method according to claim 1 or 2, characterized in that: The method for generating the PDU corresponding to the second data includes: Determine, based on the data type in the key information, a format of a PDU corresponding to the second data; The second data is processed according to the format of the PDU corresponding to the second data to obtain the PDU corresponding to the second data.

6. The method according to claim 1 or 2, characterized in that: When a first error detection code is obtained by processing part or all of the data of the PDU corresponding to the first data and the PDU corresponding to the second data through a verification algorithm, part or all of the data of the PDU corresponding to the first data and the PDU corresponding to the second data are arranged in the following manner: part or all of the data of the PDU corresponding to the first data is located before, after or in the middle of the PDU corresponding to the second data.

7. The method according to claim 1, characterized in that The receiving device respectively decodes the first part of data and the second part of data in the data burst according to a preset decoding rule, comprising: The receiving device parses the first part of the data in the data burst to obtain a PDU corresponding to the first data, and decodes the PDU corresponding to the first data to obtain the key information; Parsing a second portion of data in the data burst to obtain a PDU corresponding to the second data and the first error detection code; Processing part or all of the PDU corresponding to the first data obtained by parsing, and the PDU corresponding to the second data obtained by parsing, through a preset check algorithm, to obtain a second error detection code; Determining whether the first error detection code and the second error detection code are the same; If the first error detection code and the second error detection code are different, the first portion of data and the second portion of data are decoded incorrectly; if the first error detection code and the second error detection code are the same, the first portion of data and the second portion of data are decoded correctly.

8. The method according to claim 7, characterized in that After parsing the second part of data in the data burst to obtain the PDU corresponding to the second data and the first error detection code, the method further includes: Determine, based on the data type in the key information obtained by decoding, a format of a PDU corresponding to the second data; The PDU corresponding to the second data is decoded according to the format of the PDU corresponding to the second data.

9. The method according to claim 7 or 8, characterized in that: The first portion of data further includes a first error correction code, and the second portion of data further includes a second error correction code; and the parsing the first portion of data in the data burst to obtain a PDU corresponding to the first data includes: Based on the first error correction code, perform error correction decoding on the first part of data to obtain a PDU corresponding to the first data; The parsing the second part of data in the data burst to obtain the PDU corresponding to the second data and the first error detection code includes: Based on the second error correction code, error correction decoding is performed on the second part of data to obtain the PDU corresponding to the second data and the first error detection code.

10. A computer program product, characterized in that A computer program thereof, when the computer program is run, enables the method according to any one of claims 1 to 9 to be executed.

Citation Information

Cited By

  • Data transmission method and related apparatus

    WO2026153141A1