[go: up one dir, main page]

CN111258806B - Data type error detection method and device - Google Patents

Data type error detection method and device Download PDF

Info

Publication number
CN111258806B
CN111258806B CN202010032864.7A CN202010032864A CN111258806B CN 111258806 B CN111258806 B CN 111258806B CN 202010032864 A CN202010032864 A CN 202010032864A CN 111258806 B CN111258806 B CN 111258806B
Authority
CN
China
Prior art keywords
data
data type
type
error detection
header
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202010032864.7A
Other languages
Chinese (zh)
Other versions
CN111258806A (en
Inventor
甘圣典
张威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Auctus Technologies Co ltd
Original Assignee
Auctus Technologies Co ltd
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 Auctus Technologies Co ltd filed Critical Auctus Technologies Co ltd
Priority to CN202010032864.7A priority Critical patent/CN111258806B/en
Publication of CN111258806A publication Critical patent/CN111258806A/en
Application granted granted Critical
Publication of CN111258806B publication Critical patent/CN111258806B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Error Detection And Correction (AREA)

Abstract

The invention provides an error detection method and an error detection device for data types, a communication terminal comprising the error detection device and a corresponding computer readable storage medium. The general idea of the error detection method of the invention is as follows: when the communication terminal transmits data at the transmitting end, the error injection mask disclosed in the prior art is not adopted, and the data type is stored by using a free section in the data section of the DMR data control and burst data frame, so that the data type is reliably determined. Compared with the traditional method of checking the data type by adopting the error injection mask, the method is more reliable, simpler and more convenient.

Description

Data type error detection method and device
Technical Field
The present invention relates to the field of data communications. More particularly, the present invention relates to a method and apparatus for error detection of data types in digital mobile radio data bursts.
Background
The Digital Mobile Radio (DMR) protocol is drafted for medium and low-end professional and commercial needs, and is applicable to the industries of utilities, schools, hospitals, hotels, property industries, and the like. Digital Mobile Radio DMR (Digital Mobile Radio) data and control burst data frames are defined in the European Telecommunications Standards Institute ETSI (European Telecommunications Standards Institute) Technical Specification TS (Technical Specification) 102 361-1. Fig. 1 shows a DMR data Control and burst data frame, where the data type is a Control Signaling Block CSBK (Control Signaling Block). The DMR data control and burst data frame generation process is as follows: since the data type is CSBK, 16-bit Cyclic Redundancy Check (CRC) 1018 is generated for 80-bit CSBK data 1016 as specified by the international telegraph telephone consultancy committee CCITT. Then BPTC (196, 96) encoding 1014 is carried out on the 80-bit CSBK data 1016 and the 16-bit CRC 1018 thereof, and then control information such as a Synchronization (SYNC) or Embedded Signaling (Embedded Signaling) section 1030 and a Slot Type (Slot Type) section 1020 is added through the interleaver 1012 to obtain a burst data frame.
As can be seen, a 48-bit synchronization or embedded signaling section is provided in the middle of each DMR data and control burst. On both sides of the synchronization or embedded signaling section, slot Type (Slot Type) sections of 10 bits each and thus 20 bits in total are provided. Information sections of 98 bits each and thus 196 bits in total are provided on both sides of the slot type section, and the data type in the slot type section indicates the data type of the information section.
In data burst communication, since the data type in the slot type section may be erroneous, the receiving end may decode the erroneous data type, and thus, the burst may not be correctly processed.
It is known that in chinese patent application CN200780010467.2 there is an error detection method of data type. In the data type error detection method, a communication terminal selects an error injection mask according to a specific data type at a transmitting end, applies the error injection mask to an information section; the communication terminal selects a corresponding error injection mask for decoding check at the receiving end according to the data type in the slot type section.
However, the error detection method using the error injection mask in the prior art is complicated. Therefore, a new technical solution is needed to solve the problem.
Disclosure of Invention
The present invention is directed to a data type error detection method and apparatus to overcome the above-mentioned problems of the prior art.
The general idea of the data type error detection method and device of the invention is that: when the communication terminal transmits data at the transmitting end, the error injection mask disclosed in the prior art is not adopted, and the data type is stored by using a free section in the data section of the DMR data control and burst data frame, so that the data type is reliably determined. When the communication terminal receives data at the receiving end, after the slot type is decoded according to the FEC parity check code (e.g., golay (20, 8)), the data segment is decoded by selecting an appropriate decoding method according to the data type contained in the slot type segment, and the decoded data segment and the cyclic redundancy check code are obtained. The decoded data segment is checked against a cyclic redundancy check code. If the check passes and the data type stored in the free section of the decoded data section is the same as the data type in the slot type section, the data type stored in the free section of the decoded data section is the data type of the received data. If the check fails or the data type stored in the free section of the decoded data section is different from the data type in the slot type section, the received data is discarded.
According to a first aspect of the present invention, there is provided an error detection method for a data type, the error detection method comprising:
setting a free section in the initial data section as a first data type to obtain a first modified data section;
calculating a cyclic redundancy check code for the first modified data segment according to the first data type, the first modified data segment and the cyclic redundancy check code constituting a second modified data segment;
encoding the second modified data segment to obtain an encoded data segment;
transmitting a data frame including at least the encoded data segment and a slot type segment, the slot type segment including a second data type;
wherein the first data type is used to compare with the second data type to determine the data type of the initial data segment upon a receiver-side error detection.
An error detection method according to a first aspect of the present invention relates to a data transmission method of a communication terminal.
The "free sector" belongs to a sector that is not frequently used among the data sectors. In the DMR standard, there are some "free sections" that the producer can customize.
The inventor of the present invention utilizes 'free sector' in the data sector to store the data type innovatively, which not only avoids using the complex error injection mask in the prior art, but also makes redundant setting for the data type in data burst communication, and reliably identifies the data type in the data sector. Meanwhile, the data types are stored by using the 'free sections', and the method can also be compatible with standard DMR communication to the maximum extent, and only partial modification is needed.
According to a preferred embodiment of the error detection method according to the invention, the free one of the data sections is the upper four bits of the second byte in the data section.
The inventors of the present invention have found that the upper four bits of the second byte of a data section are the least frequently used free sections. The use of this free section also enables maximum compatibility with standard DMR communications, with only partial modifications.
According to a preferred embodiment of the error detection method of the present invention, the first data type or the second data type is one of a PI header, a voice LC header, a terminator with LC, a CSBK, and a data header.
The inventors of the present invention have found that the above five data types are the most common and important five in DMR communications. The data types mentioned in the present invention are preferably the above five data types.
According to a preferred embodiment of the error detection method according to the invention, the value of the first data type or the second data type is one of the binary values 1011, 1100, 1101, 1110 and 1111 or one of the values of the data types defined in the digital mobile radio DMR standard.
The inventors of the present invention have found that the reason for adopting the above binary values is that most of the values in 0000 to 1010 (the values already used are 0000, 0010, 0011, 0100, 0101, 1001, 1010) have been used in the existing DMR standard communication when the data type of the data is "data header". The binary values described above are preferably used in order to be maximally compatible with standard DMR communications. However, it will also be appreciated by those skilled in the art that values of the data types defined in the digital mobile radio DMR standard may be employed.
According to a preferred embodiment of the error detection method of the present invention, the first data type or the second data type is one of a PI header, a voice LC header, a terminator with LC, a CSBK, a data header, an MBC continuation, a rate 1/2 data continuation, and a rate 3/4 data continuation.
According to a second aspect of the present invention, there is provided an error detection method for a data type, the error detection method comprising:
receiving a data frame, wherein the data frame at least comprises a time slot type section and a data section, and the time slot type section comprises a first data type;
decoding the data segment according to the first data type bit to obtain a decoded data segment and a cyclic redundancy check code;
checking the decoded data segment according to the cyclic redundancy check code:
if the verification passes, obtaining verified data sections, wherein free sections in the verified data sections store a second data type;
if the first data type is the same as the second data type, taking the second data type as the data type of the data in the data frame; discarding the data frame if the first data type is different from the second data type;
and if the verification is not passed, discarding the data frame.
An error detection method according to a second aspect of the present invention relates to a data reception method of a communication terminal.
According to a preferred embodiment of the error detection method of the present invention, the free one of the verified data sections is the upper four bits of the second byte of the verified data section.
According to a preferred embodiment of the error detection method of the present invention, the first data type or the second data type is one of a PI header, a voice LC header, a terminator with LC, a CSBK, and a data header.
According to a preferred embodiment of the error detection method according to the invention, the value of the first data type or the second data type is one of the binary values 1011, 1100, 1101, 1110 and 1111 or one of the values of the data types defined in the digital mobile radio DMR standard.
According to a preferred embodiment of the error detection method of the present invention, the first data type or the second data type is one of a PI header, a voice LC header, a terminator with LC, a CSBK, a data header, an MBC continuation, a rate 1/2 data continuation, and a rate 3/4 data continuation.
According to a third aspect of the present invention, there is provided an error detection apparatus of a data type, the error detection apparatus comprising:
the data type setting module is used for setting a free section in the initial data section as a first data type to obtain a first modified data section;
a calculation module for calculating a cyclic redundancy check code for the first modified data segment according to the first data type, the first modified data segment and the cyclic redundancy check code constituting a second modified data segment;
an encoding module, configured to encode the second modified data segment to obtain an encoded data segment;
a transmitting module for transmitting a data frame including at least the encoded data segment and a slot type segment, the slot type segment including a second data type;
wherein the first data type is used to compare with the second data type to determine a data type of the initial data segment upon a receiving end error detection.
According to a preferred embodiment of the error detection arrangement according to the invention, the free one of the data sections is the upper four bits of the second byte of the data section.
According to a preferred embodiment of the error detection arrangement of the present invention, the first data type or the second data type is one of a PI header, a voice LC header, a terminator with LC, a CSBK, and a data header.
According to a preferred embodiment of the error detection arrangement according to the invention, the value of the first data type or the second data type is one of the binary values 1011, 1100, 1101, 1110 and 1111 or one of the values of the data types defined in the digital mobile radio DMR standard.
According to a preferred embodiment of the error detection arrangement of the present invention, the first data type or the second data type is one of a PI header, a voice LC header, a terminator with LC, a CSBK, a data header, an MBC continuation, a rate 1/2 data continuation and a rate 3/4 data continuation.
According to a fourth aspect of the present invention, there is provided an error detection apparatus of a data type, the error detection apparatus comprising:
a receiving module, configured to receive a data frame, where the data frame at least includes a timeslot type section and a data section, and the timeslot type section includes a first data type;
a decoding module, configured to decode the data segment according to the first data type to obtain a decoded data segment and a cyclic redundancy check code;
a checking module for checking the decoded data segment according to the cyclic redundancy check code:
if the verification is passed, obtaining a verified data section, wherein a free section in the verified data section stores a second data type;
if the first data type is the same as the second data type, taking the second data type as the data type of the data in the data frame; discarding the data frame if the first data type is different from the second data type;
and if the check is not passed, discarding the data frame.
According to a preferred embodiment of the error detection apparatus of the present invention, the free one of the verified data sections is the upper four bits of the second byte of the verified data section.
According to a preferred embodiment of the error detection arrangement of the present invention, the first data type or the second data type is one of a PI header, a voice LC header, a terminator with LC, a CSBK, and a data header.
According to a preferred embodiment of the error detection arrangement according to the invention, the value of the first data type or the second data type is one of the binary values 1011, 1100, 1101, 1110 and 1111 or one of the values of the data types defined in the digital mobile radio DMR standard.
According to a preferred embodiment of the error detection arrangement of the present invention, the first data type or the second data type is one of a PI header, a voice LC header, a terminator with LC, a CSBK, a data header, an MBC continuation, a rate 1/2 data continuation, and a rate 3/4 data continuation.
According to a fifth aspect of the present invention, there is provided a communication terminal comprising the error detection apparatus according to the third aspect and any preferred embodiment thereof.
According to a sixth aspect of the present invention, there is provided a communication terminal comprising the error detection apparatus according to the fourth aspect and any preferred embodiment thereof.
In the present invention, the communication terminal includes, but is not limited to, an intercom.
According to a seventh aspect of the present invention, there is provided a computer readable storage medium having stored thereon computer program code which, when executed on a computer, causes the computer to perform the error detection method of the first aspect and any preferred embodiment thereof as described above.
According to an eighth aspect of the present invention, there is provided a computer readable storage medium having stored thereon computer program code which, when executed on a computer, causes the computer to perform the error detection method of the second aspect and any of its preferred embodiments as described above.
It will be appreciated by those skilled in the art that the second to eighth aspects of the present invention are also capable of achieving the technical effects described in relation to the first aspect of the present invention.
In summary, the method of the present invention is more reliable, simpler and more convenient than the conventional method of error checking data types using error injection masks.
Drawings
The present invention will be more readily understood by the following description in conjunction with the accompanying drawings. Throughout the drawings, like reference numerals are used to designate the same or similar elements.
Fig. 1 shows DMR data and control burst data frames defined in ETSI TS102 361-1, where the data types are control signaling blocks.
Fig. 2 is a block diagram of a data segment and a cyclic redundancy check code segment according to one embodiment of the present invention.
Fig. 3 is one embodiment of an error detection method of data types according to the present invention, illustrating a data transmission method of a communication terminal.
Fig. 4 is an embodiment of an error detection method of data types according to the present invention, illustrating a method of receiving data by a communication terminal.
It is understood that these drawings are for illustrative purposes only and are not necessarily drawn to scale.
Detailed Description
Embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
Fig. 2 is a block diagram of a data segment and a cyclic redundancy check code segment according to one embodiment of the present invention. In this figure, the data type of the data section is CSBK.
The inventors of the present invention wish to point out that the method of the present invention is partially compatible with standard DMR, but not fully compatible. Preferably, the communication terminal employs the data type error detection method of the present invention at both the receiving end and the transmitting end.
In the present invention, one example of the type of data and defined values used is shown in table 1:
TABLE 1 data types and corresponding values
Data type Value of
PI header 1011
Voice LC header 1100
Terminator with LC 1101
CSBK 1110
Data header 1111
It should be noted that the five data types listed in table 1 are the most common and important five data types in DMR. Other data types such as MBC header, MBC continuation, rate 1/2 data continuation, and rate 3/4 data continuation may also be implemented using the method of the present invention.
In addition, it should be noted that the reason why the data types in table 1 take values of 1011, 1100, 1101, 1110, and 1111 is that most values of 0000 to 1010 (already used values are 0000, 0010, 0011, 0100, 0101, 1001, 1010) have been used in the existing DMR when the data type of the data is "data header". The binary values described above are preferably used in order to be maximally compatible with standard DMR communications.
Further, it should be noted that table 1 is merely an example of a combination of data types of a PI header, a voice LC header, a terminator with LC, a CSBK, and a data header, and their corresponding values. These data types may also take on additional combinations of corresponding values. For example, the values of the PI header, voice LC header, terminator with LC, CSBK, and data header may be 1100, 1101, 1110, 1111, and 1011, respectively. Or for example, the values of the PI header, voice LC header, terminator with LC, CSBK, and data header may be 1101, 1110, 1111, 1011, and 1100, respectively. It should be understood that there may be a total of 120 combinations of data types of the PI header, the voice LC header, the terminator with LC, the CSBK, and the data header, and their corresponding values.
In addition, the data type in the present invention may be a value of a data type defined in the digital mobile radio DMR standard.
The error detection method of the data type according to the present invention is further explained in conjunction with the data transmission method of the communication terminal in fig. 3.
In block 301, the communication terminal sets a free segment of the data segment to a first data type at the transmitting end, resulting in a first modified data segment.
Referring to FIG. 2, the first data type is data type CSBK and, according to Table 1, the value of the CSBK data type is set to "1110" resulting in first modified data segment 216. In addition, in fig. 2, the "free sector" refers to the upper four bits of the second byte of the data sector. The inventor of the present invention found that the data segment belongs to a data segment that can be customized by a producer in the DMR standard, and is the most frequently vacant segment.
In block 302, a cyclic redundancy check code is calculated for the first modified data segment according to a first data type, the first modified data segment and the cyclic redundancy check code constituting a second modified data segment.
In connection with fig. 2, a 16-bit cyclic redundancy check code 218 is computed for the CSBK data type using CRC-CCITT, based on the CSBK data type. The first modified data segment 216 (80 bits) and the cyclic redundancy check code 218 (16 bits) constitute a second modified data segment.
As known to those skilled in the art, a CRC-CCITT calculation is used to generate a 16-bit CRC for data of the data type PI header, CSBK, and data header. For data types of voice LC header and terminator with LC, a 24-bit CRC is generated using Reed-Solomon calculation.
In block 303, the second modified data segment is encoded, resulting in an encoded data segment.
Referring to fig. 2, the second modified data segment is encoded by a BPTC (196, 96) encoder 214, and then a burst data frame is obtained by adding control information such as a synchronization or embedded signaling segment and a slot type segment through an interleaver 212. The burst data frame includes an information section 210, a slot type section 220, and a synchronization or embedded command 230. The slot type section 220 contains a Color Code CC (Color Code) 222, a data type CSBK 224 (where the value of the data type CSBK is "1110"), and a FEC parity 226 generated for the data type. When generating the FEC parity check codes for this data type, methods known in the art, such as Golay coding, are used.
In block 304, a data frame is transmitted that includes at least the encoded data segment and a slot type segment, the slot type segment including a second data type.
In connection with fig. 2, the burst data frame is sent including an information section 210, a slot type section 220, and a synchronization or embedded command 230.
The error detection method of the data type according to the present invention is further explained below in conjunction with the data reception method of the communication terminal in fig. 4.
In block 401, the receiving side receives a burst data frame including at least a slot type section and a data section, the slot type section containing a data type, where the data type has a value of "1110".
In block 402, decoding the data segment according to the first data type to obtain a decoded data segment and a cyclic redundancy check code;
here, it is known that the data type is CSBK according to the value '1110' of the data type. And decoding the data section according to a decoding mode corresponding to the data type CSBK.
In block 403, the decoded data segment is checked according to the cyclic redundancy check code.
If the check passes, a checked data segment is obtained. In block 404, the second data type stored by the free ones of the verified data segments is compared to the first data type, and if the same (here, both CSBK data types), then in block 405, the second data type is taken as the data type of the data in the data frame. If the free one of the checked data segments stores a second data type different from the first data type, block 406 is returned to discarding the data frame.
If the check fails, then block 406 is also passed and the data frame is discarded. The reason for the failed check may be that the slot type is wrong, or the data frame is discarded because the number of error bits introduced during transmission exceeds the error correction capability of the receiving end.
The invention also provides an error detection device for executing the error detection method, and a communication terminal comprising the error detection device.
The data type error detection device of the present invention includes: the data type setting module is used for setting a free section in the initial data section as a first data type to obtain a first modified data section; a calculation module to calculate a cyclic redundancy check code for the first modified data segment according to the first data type, the first modified data segment and the cyclic redundancy check code constituting a second modified data segment; an encoding module configured to encode the second modified data segment to obtain an encoded data segment; a transmitting module for transmitting a data frame including at least the encoded data segment and a slot type segment, the slot type segment including a second data type; wherein the first data type is used to compare with the second data type to determine the data type of the initial data segment upon a receiver-side error detection.
The data type error detection device of the present invention includes: a receiving module, configured to receive a data frame, where the data frame at least includes a timeslot type segment and a data segment, and the timeslot type segment includes a first data type; a decoding module, configured to decode the data segment according to the first data type to obtain a decoded data segment and a cyclic redundancy check code; a check module to check the decoded data segment according to the cyclic redundancy check code: if the verification passes, obtaining verified data sections, wherein free sections in the verified data sections store a second data type; if the first data type is the same as the second data type, taking the second data type as the data type of the data in the data frame; discarding the data frame if the first data type is different from the second data type; and if the verification is not passed, discarding the data frame.
In this context, the term module shall be used to refer to a functional unit or block that may be implemented at least in part by a dedicated hardware component, such as a custom circuit, and/or at least in part by one or more software processors or by appropriate code running on an appropriate general purpose processor or the like. The module itself may comprise further modules or functional units. A module may be provided by a plurality of components or sub-modules which need not be co-located and may be provided on different integrated circuits and/or run on different processors.
In the present invention, the communication terminal includes, but is not limited to, an intercom.
In addition, the present invention also provides a computer-readable storage medium having stored thereon computer program code which, when executed on a computer, causes the computer to execute the above-described error detection method.
Examples of computer-readable storage media include, but are not limited to, read Only Memories (ROMs), random Access Memories (RAMs), magnetic or optical disks, and the like.
It is to be understood that although the present disclosure makes reference to particular embodiments, certain modifications and changes may be made to these embodiments without departing from the scope and coverage of the present disclosure. Moreover, no benefit, advantage, or solution to the problems described herein with regard to specific embodiments is intended to be construed as a critical, required, or essential feature or element. The word "comprising" does not exclude the presence of elements or steps other than those listed in a claim or embodiment, "a" or "an" does not exclude a plurality, and a single feature or other unit may fulfil the functions of several units recited in the claims or embodiments. Any reference signs or labels in the claims or embodiments should not be construed as limiting the scope thereof.

Claims (24)

1. A method for error detection of a data type, the method comprising:
setting a free section in the initial data section as a first data type to obtain a first modified data section;
calculating a cyclic redundancy check code for the first modified data segment according to the first data type, the first modified data segment and the cyclic redundancy check code constituting a second modified data segment;
encoding the second modified data segment to obtain an encoded data segment;
transmitting a data frame including at least the encoded data segment and a slot type segment, the slot type segment including a second data type;
wherein the first data type is used to compare with the second data type to determine the data type of the initial data segment upon a receiver-side error detection.
2. The error detection method of claim 1 wherein a free one of the data sections is the upper four bits of the second byte in the data section.
3. The error detection method of claim 1 or 2, wherein the first data type or the second data type is one of a PI header, a voice LC header, a terminator with LC, a CSBK, and a data header.
4. An error detection method as claimed in claim 3, characterised in that the value of the first data type or the second data type is one of the binary values 1011, 1100, 1101, 1110 and 1111 or one of the values of the data types defined in the digital mobile radio, DMR, standard.
5. The method of claim 1 or 2, wherein the first data type or the second data type is one of a PI header, a voice LC header, a terminator with LC, a CSBK, a data header, an MBC continuation, a rate 1/2 data continuation, and a rate 3/4 data continuation.
6. A method for error detection of a data type, the method comprising:
receiving a data frame, wherein the data frame at least comprises a time slot type section and a data section, and the time slot type section contains a first data type;
decoding the data section according to the first data type to obtain a decoded data section and a cyclic redundancy check code;
checking the decoded data segment according to the cyclic redundancy check code:
if the verification is passed, obtaining a verified data section, wherein a free section in the verified data section stores a second data type;
if the first data type is the same as the second data type, taking the second data type as the data type of the data in the data frame; discarding the data frame if the first data type is different from the second data type;
and if the check is not passed, discarding the data frame.
7. The error detection method of claim 6 wherein a free one of the verified data segments is the upper four bits of the second byte of the verified data segment.
8. The error detection method of claim 6 or 7, wherein the first data type or the second data type is one of a PI header, a voice LC header, a terminator with LC, a CSBK, and a data header.
9. An error detection method as claimed in claim 8 wherein the value of the first data type or the second data type is one of binary values 1011, 1100, 1101, 1110 and 1111 or one of the values of data types defined in a digital mobile radio, DMR, standard.
10. The error detection method of claim 6 or 7, wherein the first data type or the second data type is one of a PI header, a voice LC header, a terminator with LC, a CSBK, a data header, an MBC continuation, a rate 1/2 data continuation, and a rate 3/4 data continuation.
11. An error detection apparatus of a data type, the error detection apparatus comprising:
the data type setting module is used for setting a free section in the initial data section as a first data type to obtain a first modified data section;
a calculation module to calculate a cyclic redundancy check code for the first modified data segment according to the first data type, the first modified data segment and the cyclic redundancy check code constituting a second modified data segment;
an encoding module configured to encode the second modified data segment to obtain an encoded data segment;
a transmitting module for transmitting a data frame including at least the encoded data segment and a slot type segment, the slot type segment including a second data type;
wherein the first data type is used to compare with the second data type to determine the data type of the initial data segment upon a receiver-side error detection.
12. The error detection apparatus of claim 11 wherein a free one of the data sections is the upper four bits of the second byte in the data section.
13. The error detection apparatus of claim 11 or 12, wherein the first data type or the second data type is one of a PI header, a voice LC header, a terminator with LC, a CSBK, and a data header.
14. The error detection apparatus of claim 13 wherein the value of the first data type or the second data type is one of binary values 1011, 1100, 1101, 1110 and 1111 or one of the values of data types defined in a Digital Mobile Radio (DMR) standard.
15. The error detection apparatus of claim 11 or 12, wherein the first data type or the second data type is one of a PI header, a voice LC header, a terminator with LC, a CSBK, a data header, an MBC continuation, a rate 1/2 data continuation, and a rate 3/4 data continuation.
16. An apparatus for detecting an error in a data type, the apparatus comprising:
a receiving module, configured to receive a data frame, where the data frame at least includes a timeslot type segment and a data segment, and the timeslot type segment includes a first data type;
a decoding module, configured to decode the data segment according to the first data type to obtain a decoded data segment and a cyclic redundancy check code;
a checking module for checking the decoded data segment according to the cyclic redundancy check code:
if the verification is passed, obtaining a verified data section, wherein a free section in the verified data section stores a second data type;
if the first data type is the same as the second data type, taking the second data type as the data type of the data in the data frame; discarding the data frame if the first data type is different from the second data type;
and if the check is not passed, discarding the data frame.
17. The error detection apparatus of claim 16 wherein a free one of the verified data segments is the upper four bits of the second byte in the verified data segment.
18. The error detection apparatus of claim 16 or 17, wherein the first data type or the second data type is one of a PI header, a voice LC header, a terminator with LC, a CSBK, and a data header.
19. The error detection apparatus of claim 18 wherein the value of the first data type or the second data type is one of binary values 1011, 1100, 1101, 1110 and 1111 or one of the values of a data type defined in a digital mobile radio, DMR, standard.
20. The error detection apparatus of claim 16 or 17, wherein the first data type or the second data type is one of a PI header, a voice LC header, a terminator with LC, a CSBK, a data header, an MBC continuation, a rate 1/2 data continuation, and a rate 3/4 data continuation.
21. A communication terminal comprising an error detection arrangement according to any of claims 11-15.
22. A communication terminal comprising an error detection arrangement as claimed in any one of claims 16 to 20.
23. A computer-readable storage medium having stored thereon computer program code which, when executed on a computer, causes the computer to perform the error detection method of any of claims 1-5.
24. A computer-readable storage medium on which computer program code is stored, which when executed on a computer causes the computer to perform the error detection method according to any one of claims 6-10.
CN202010032864.7A 2020-01-13 2020-01-13 Data type error detection method and device Active CN111258806B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010032864.7A CN111258806B (en) 2020-01-13 2020-01-13 Data type error detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010032864.7A CN111258806B (en) 2020-01-13 2020-01-13 Data type error detection method and device

Publications (2)

Publication Number Publication Date
CN111258806A CN111258806A (en) 2020-06-09
CN111258806B true CN111258806B (en) 2022-11-29

Family

ID=70946887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010032864.7A Active CN111258806B (en) 2020-01-13 2020-01-13 Data type error detection method and device

Country Status (1)

Country Link
CN (1) CN111258806B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5867480A (en) * 1996-09-12 1999-02-02 Cabletron Systems, Inc. Method and apparatus for controlling congestion in a network node
CN107579920A (en) * 2017-09-25 2018-01-12 盛科网络(苏州)有限公司 Transmission method, device, storage medium and the processor of data flow
WO2018197811A1 (en) * 2017-04-25 2018-11-01 Cameon Radio reception and control system, assembly and method for controlling electrical equipment or groups of electrical equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7564830B2 (en) * 2006-08-25 2009-07-21 Motorola, Inc. System and method for terminating a voice call in any burst within a multi-burst superframe
US8347199B2 (en) * 2009-01-21 2013-01-01 Cisco Technology, Inc. Enhanced error detection in multilink serdes channels

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5867480A (en) * 1996-09-12 1999-02-02 Cabletron Systems, Inc. Method and apparatus for controlling congestion in a network node
WO2018197811A1 (en) * 2017-04-25 2018-11-01 Cameon Radio reception and control system, assembly and method for controlling electrical equipment or groups of electrical equipment
CN107579920A (en) * 2017-09-25 2018-01-12 盛科网络(苏州)有限公司 Transmission method, device, storage medium and the processor of data flow

Also Published As

Publication number Publication date
CN111258806A (en) 2020-06-09

Similar Documents

Publication Publication Date Title
US7680057B2 (en) Data transmission method, data transmission system, transmitter and receiver
US7418644B2 (en) System for error correction coding and decoding
US20210385012A1 (en) Multi-mode channel coding
KR100612481B1 (en) How to reduce the frame error rate when sending data in the form of data frames
JP3613448B2 (en) Data transmission method, data transmission system, transmission device, and reception device
US20120257887A1 (en) Method and device for indicating an uncorrectable data block
FI96650C (en) Procedure and facility for sound transmission in a telecommunication system
KR101050830B1 (en) Video error detection technology using the RC parity code
JP2010051014A (en) Transmission system with adaptive channel encoder and decoder
CN101001127B (en) Equipment and method of correcting and coding for transmission information
JP2002043953A (en) Error correction method and error correction device
WO2020165260A1 (en) Multi-mode channel coding with mode specific coloration sequences
US5917837A (en) Method and apparatus for performing decoding of codes with the use of side information associated with the encoded data
US6985726B2 (en) Method of blind transport format detection
KR20050114162A (en) Method and apparatus for decoding inner code and outer code in a mobile communication system using reed-solomon code
CN111258806B (en) Data type error detection method and device
CA2326589A1 (en) Mobile station employing crc verification using decoding reliability and methods therefor
EP3697005A1 (en) Multi-mode channel coding with mode specific coloration sequences
JPH09130368A (en) Data communication equipment
JP3471779B2 (en) Data transmission method, data transmission system, transmitting device and receiving device
WO2003105392A1 (en) Methods for use with timeslot identifiers in a timeslot-based protocol and apparatus
JP3445279B2 (en) Data transmission method, data transmission system and transmission device, reception device
HK1140864A1 (en) Method and device for information block coding and synchronization detecting
HK1140864B (en) Method and device for information block coding and synchronization detecting

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant