A data encoding and decoding method and device

A technology for data encoding and decoding methods, applied in the field of data encoding and decoding methods and devices, can solve problems such as unsuccessful encoding or decoding, incompatible data formats, and equipment heating, so as to avoid excessive CPU resource consumption and reduce CPU load excessive effect

CN108282164BActive Publication Date: 2022-07-15TENCENT TECH (SHENZHEN) CO LTD
0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2022-07-15

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The present application discloses a data encoding and decoding method and device. After determining the data set to be encoded or decoded, the solution obtains the data format set supported by the hard encoder or the hard decoder. The tested data format, select the target data format to be tested; while controlling the soft encoder or soft decoder to encode or decode the currently processed target data, control the hard encoder or hard decoder based on the target data. The format encodes or decodes the target data. If the data encoded by the hard encoder or decoded by the hard decoder is normal, the decoding of the soft encoder or the soft decoder can be terminated, and the hard encoder or the hard decoder can be used directly. Data in the collection that has not yet been processed is encoded or decoded. In the solution of the present application, the encoding and decoding methods can be reasonably selected, so as to minimize the CPU occupancy rate.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present application relates to the technical field of data processing, and in particular, to a data encoding and decoding method and apparatus. Background technique

[0002] The application range of data encoding and decoding is very wide. For example, since audio and video files contain a large amount of data, in order to reduce the amount of data transmitted by the network, audio and video files need to be processed when audio and video files need to be transmitted. After encoding, the encoded audio or video data is transmitted through the network; correspondingly, at the playback end that receives the encoded audio and video, the encoded audio and video data can be decoded to achieve audio and video playback. .

[0003] At present, there are two types of data encoding and decoding methods: soft encoding and decoding and hard encoding and decoding. Among them, soft encoding and decoding refers to using software algorithms to realize encoding or ...

Examples

Embodiment Construction

[0038] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of this application.

[0039] The data encoding and decoding methods of the embodiments of the present application can be applied to any computer equipment with encoding and decoding functions, so as to realize a reasonable selection of encoding and decoding methods, improve encoding and decoding efficiency, and reduce the processor occupied by encoding and decoding. resource.

[0040] In the data encoding method of the embodiment of the present application, after determini...