IP Library › Granted Patent US 12,418,308
Granted Patent B2
US 12,418,308 · App. 17/294,695 · Granted Sep 16, 2025

Data encoding method, device, and storage medium

Inventor: Jinfeng Liu (Guangdong, CN)
Assignee: TCL China Star Optoelectronics Technology Co., Ltd.
H03M7/14
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,418,308
App. No.
17/294,695
Granted
Sep 16, 2025
Kind
B2
Abstract

The present disclosure discloses a data encoding method, a device, and a storage medium. In the present application, by acquiring a first data stream that does not meet a preset standard and recording the first data stream as a data stream to be assigned, performing an arithmetic operation on the first data stream in the data stream to be assigned to generate a second data stream that meets the preset standard, and adding a third preset number of data bits to the data stream that meets the preset standard to obtain the second data stream, the data stream that meets the preset standard can be screened out, and only the data stream that does not meet the preset standard is encoded, which reduces complexity of data calculation and improves efficiency of data transmission.

Claims (71)

1. A data encoding method, comprising:

obtaining raw data, wherein the raw data comprises a plurality of first data streams;

obtaining a first data stream that does not meet a preset standard and recording the first data stream as a data stream to be assigned a value, wherein the first data stream comprises a first preset number of data bits, each of the data bits is filled with a corresponding value, and the preset standard is that a number of consecutive data bits with a same value does not exceed a second preset number; and

performing an arithmetic operation on the first data stream in the data stream to be assigned the value to generate a second data stream that meets the preset standard,

wherein the first data stream comprises a zeroth data bit in the first data steam, a first data bit in the first data stream, a second data bit in the first data stream, a third data bit in the first data stream, a fourth data bit in the first data stream, a fifth data bit in the first data stream, a sixth data bit in the first data stream, and a seventh data bit in the first data stream, and

wherein the second data stream comprises a zeroth data bit in the second data stream, a first data bit in the second data stream, a second data bit in the second data stream, a third data bit in the second data stream, a fourth data bit in the second data stream, a fifth data bit in the second data stream, a sixth data bit in the second data stream, a seventh data bit in the second data stream, and an eighth data bit in the second data stream.

2. The data encoding method of claim 1 , wherein the arithmetic operation comprises:

assigning a value of the third data bit in the first data stream to the zeroth data bit in the second data stream;

assigning a value of the fifth data bit in the first data stream to the third data bit in the second data stream;

assigning a value of the sixth data bit in the first data stream to the fourth data bit in the second data stream;

assigning a value of the fourth data bit in the first data stream to the seventh data bit in the second data stream; and

assigning a value of the seventh data bit in the first data stream to the eighth data bit in the second data stream.

3. The data encoding method of claim 2 , wherein the arithmetic operation further comprises:

when the second data bit in the first data stream is a first value and the first data bit in the first data stream is a second value, the first data bit in the second data stream is the second value;

when the third data bit in the first data stream is the first value, the second data bit in the first data stream is the second value, and the first data bit in the first data stream is the second value, the first data bit in the second data stream is the second value;

when the second data bit in the first data stream is the first value and the zeroth data bit in the first data stream is the first value, the first data bit in the second data stream is the second value;

when the second data bit in the first data stream is the second value and the first data bit in the first data stream is the second value, the second data bit in the second data stream is the second value;

when the third data bit in the first data stream is the first value, the second data bit in the first data stream is the second value, and the first data bit in the first data stream is the second value, the second data bit in the second data stream is the second value; and

when the first data bit in the first data stream is the first value and the zeroth data bit in the first data stream is the second value, the second data bit in the second data stream is the second value.

4. The data encoding method of claim 3 , wherein the arithmetic operation further comprises:

when the fourth data bit in the first data stream is the first value, the second data bit in the first data stream is the first value, and the first data bit in the first data steam is the first value, the fifth data bit in the second data stream is the second value;

when the second data bit in the first data stream is the second value and the zeroth data bit in the first data stream is the first value, the fifth data bit in the second data stream is the second value;

when the first data bit in the first data stream is the second value and the zeroth data bit in the first data stream is the first value, the fifth data bit in the second data stream is the second value;

when the fourth data bit in the first data stream is the first value, the second data bit in the first data stream is the first value, and the first data bit in the first data steam is the first value, the sixth data bit in the second data stream is the second value;

when the second data bit in the first data stream is the second value and the zeroth data bit in the first data stream is the second value, the sixth data bit in the second data stream is the second value; and

when the first data bit in the first data stream is the second value and the zeroth data bit in the first data stream is the second value, the sixth data bit in the second data stream is the second value.

5. The data encoding method of claim 1 , wherein the data encoding method comprises steps of:

obtaining the first data stream that meets the preset standard and recording the first data steam as a data stream to be filled; and

adding a third preset number of data bits to the data stream to be filled to obtain the second data stream.

6. The data encoding method of claim 1 , wherein a value of the first preset number is greater than a value of the second preset number.

7. The data encoding method of claim 1 , wherein a number of data bits in the second data stream is greater than a number of data bits in the first data stream.

8. The data encoding method of claim 1 , wherein a value of the second preset number is not greater than 5 .

9. A data encoding device, comprising:

a data acquisition unit configured to obtain raw data, wherein the raw data comprises a plurality of first data streams;

an assignment data acquisition unit configured to obtain a first data stream that does not meet a preset standard and recording the first data stream as a data stream to be assigned, wherein the first data stream comprises a first preset number of data bits, each of the data bits is filled with a corresponding value, and the preset standard is that a number of consecutive data bits with a same value does not exceed a second preset number; and

a data assignment unit configured to perform an arithmetic operation on the first data stream in the data stream to be assigned to generate a second data stream that meets the preset standard.

10. The data encoding device of claim 9 , wherein a value of the first preset number is greater than a value of the second preset number.

11. The data encoding device of claim 9 , wherein a number of data bits in the second data stream is greater than a number of data bits in the first data stream.

12. The data encoding device of claim 9 , wherein a value of the second preset number is not greater than 5 .

13. A storage medium, wherein a plurality of instructions are stored in the storage medium, and the instructions are adapted to be loaded by a processor to execute an encoding method, and the encoding method comprises:

obtaining raw data, wherein the raw data comprises a plurality of first data streams;

obtaining a first data stream that does not meet a preset standard and recording the first data stream as a data stream to be assigned, wherein the first data stream comprises a first preset number of data bits, each of the data bits is filled with a corresponding value, and the preset standard is that a number of consecutive data bits with a same value does not exceed a second preset number; and

performing an arithmetic operation on the first data stream in the data stream to be assigned to generate a second data stream that meets the preset standard,

wherein the first data stream comprises a zeroth data bit in the first data steam, a first data bit in the first data stream, a second data bit in the first data stream, a third data bit in the first data stream, a fourth data bit in the first data stream, a fifth data bit in the first data stream, a sixth data bit in the first data stream, and a seventh data bit in the first data stream, and

wherein the second data stream comprises a zeroth data bit in the second data stream, a first data bit in the second data stream, a second data bit in the second data stream, a third data bit in the second data stream, a fourth data bit in the second data stream, a fifth data bit in the second data stream, a sixth data bit in the second data stream, a seventh data bit in the second data stream, and an eighth data bit in the second data stream.

14. The storage medium of claim 13 , wherein the arithmetic operation comprises:

assigning a value of the third data bit in the first data stream to the zeroth data bit in the second data stream;

assigning a value of the fifth data bit in the first data stream to the third data bit in the second data stream;

assigning a value of the sixth data bit in the first data stream to the fourth data bit in the second data stream;

assigning a value of the fourth data bit in the first data stream to the seventh data bit in the second data stream; and

assigning a value of the seventh data bit in the first data stream to the eighth data bit in the second data stream.

15. The storage medium of claim 14 , wherein the arithmetic operation further comprises:

when the second data bit in the first data stream is a first value and the first data bit in the first data stream is a second value, the first data bit in the second data stream is the second value;

when the third data bit in the first data stream is the first value, the second data bit in the first data stream is the second value, and the first data bit in the first data stream is the second value, the first data bit in the second data stream is the second value;

when the second data bit in the first data stream is the first value and the zeroth data bit in the first data stream is the first value, the first data bit in the second data stream is the second value;

when the second data bit in the first data stream is the second value and the first data bit in the first data stream is the second value, the second data bit in the second data stream is the second value;

when the third data bit in the first data stream is the first value, the second data bit in the first data stream is the second value, and the first data bit in the first data stream is the second value, the second data bit in the second data stream is the second value; and

when the first data bit in the first data stream is the first value and the zeroth data bit in the first data stream is the second value, the second data bit in the second data stream is the second value.

16. The storage medium of claim 15 , wherein the arithmetic operation further comprises:

when the fourth data bit in the first data stream is the first value, the second data bit in the first data stream is the first value, and the first data bit in the first data steam is the first value, the fifth data bit in the second data stream is the second value;

when the second data bit in the first data stream is the second value and the zeroth data bit in the first data stream is the first value, the fifth data bit in the second data stream is the second value;

when the first data bit in the first data stream is the second value and the zeroth data bit in the first data stream is the first value, the fifth data bit in the second data stream is the second value;

when the fourth data bit in the first data stream is the first value, the second data bit in the first data stream is the first value, and the first data bit in the first data steam is the first value, the sixth data bit in the second data stream is the second value;

when the second data bit in the first data stream is the second value and the zeroth data bit in the first data stream is the second value, the sixth data bit in the second data stream is the second value; and

when the first data bit in the first data stream is the second value and the zeroth data bit in the first data stream is the second value, the sixth data bit in the second data stream is the second value.

17. The storage medium of claim 16 , wherein the data encoding method comprises steps of:

obtaining the first data stream that meets the preset standard and recording the first data steam as a data stream to be filled; and

adding a third preset number of data bits to the data stream to be filled to obtain the second data stream.

18. The storage medium of claim 13 , wherein a value of the first preset number is greater than a value of the second preset number.

19. The storage medium of claim 13 , wherein a number of data bits in the second data stream is greater than a number of data bits in the first data stream.

20. The storage medium of claim 13 , wherein a value of the second preset number is not greater than 5.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 25, 2021
From: LIU, JINFENG
To: TCL CHINA STAR OPTOELECTRONICS TECHNOLOGY CO., LTD.
Reel/Frame 056340/0231 →
Priority Claims (1)
CN 202110294235.6 · Mar 19, 2021 · national
Continuity (1)
Related Publication 20240088911A1 · Mar 14, 2024
References Cited (23)
US 5231545A · Gold · 1993 [cited by examiner]
US 5740186A · Widmer · 1998 [cited by examiner]
US 5929783A · King · 1999 [cited by examiner]
US 8004429B2 · Oh · 2011 [cited by examiner]
US 8059016B2 · Oh · 2011 [cited by examiner]
US 8184745B2 · Xie · 2012 [cited by examiner]
US 10652625B1 · Saxton · 2020 [cited by examiner]
US 20080048892A1 · Carvalho · 2008 [cited by examiner]
US 20110022718A1 · Evans · 2011 [cited by examiner]
US 20130162453A1 · Jaquette · 2013 [cited by examiner]
US 20150180504A1 · Kang · 2015 [cited by examiner]
US 20160103757A1 · Liu · 2016 [cited by examiner]
US 20170026054A1 · Nagata · 2017 [cited by examiner]
US 20200050437A1 · Raman · 2020 [cited by examiner]
US 20240056096A1 · Liu · 2024 [cited by examiner]
CN 108768587 · 2018 [cited by applicant]
CN 108847916 · 2018 [cited by applicant]
CN 110086575 · 2019 [cited by applicant]
CN 110474709 · 2019 [cited by applicant]
CN 110474710 · 2019 [cited by applicant]
CN 111384959 · 2020 [cited by applicant]
International Search Report and the Written Opinion Dated Dec. 22, 2021 From the International Searhcing Authority Re. Application No. PCT/CN2021/084646 and Its Translation Into English. (13 Pages). [cited by applicant]
Notification of Office Action and Search Report Dated May 20, 2023 From the State Intellectual Property Office of the People's Republic of China Re. Application No. 202110294235.6 and Its Translation Into English. (18 P… [cited by applicant]