CN110740316A - Data coding method and device - Google Patents

Data coding method and device Download PDF

Info

Publication number
CN110740316A
CN110740316A CN201910849181.8A CN201910849181A CN110740316A CN 110740316 A CN110740316 A CN 110740316A CN 201910849181 A CN201910849181 A CN 201910849181A CN 110740316 A CN110740316 A CN 110740316A
Authority
CN
China
Prior art keywords
image frame
frame sequence
encoding
target
target image
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.)
Pending
Application number
CN201910849181.8A
Other languages
Chinese (zh)
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.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics Technology 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 Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN201910849181.8A priority Critical patent/CN110740316A/en
Publication of CN110740316A publication Critical patent/CN110740316A/en
Priority to PCT/CN2020/086315 priority patent/WO2021047177A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • H04N19/137Motion inside a coding unit, e.g. average field, frame or block difference
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/172Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention provides data coding methods and devices, relates to the technical field of electronic information, and can solve the problem of resource waste during coding of image frames.

Description

Data coding method and device
Technical Field
The present disclosure relates to the field of electronic information technologies, and in particular, to a data encoding method and apparatus.
Background
With the development of information technology, the demand of people for communication service is continuously increasing, and the contradiction between image communication and the capacity of a communication network is increasingly prominent. Especially for video image communication, due to its huge data volume, it is difficult to transmit and store data without image compression. Therefore, image compression capability is particularly important for video images.
The image codec in the prior art mainly realizes image compression by means of inter-frame and intra-frame redundancy removal, but the redundancy is only for the image itself and is not for the encoding processing aiming at visual redundancy. The visual redundancy is relative to the visual characteristics of human eyes, and the human visual system cannot sense any change of an image picture.
For example, when the image changes rapidly, the human eye cannot clearly capture every frames of images, and if each frames of images in the scene are encoded and transmitted with high quality, not only is the data encoding resource and bandwidth resource seriously wasted, but also the visual perception of the user cannot be improved.
Disclosure of Invention
The embodiment of the disclosure provides data encoding methods and devices, which can solve the problem of resource waste in the image encoding process.
According to an th aspect of the disclosed embodiment, there is provided a data encoding method, the method comprising:
acquiring a target image frame sequence, wherein the target image frame sequence is generated according to a display picture in a preset time period of terminal equipment;
acquiring a change frequency corresponding to the target image frame sequence according to a preset algorithm, wherein the change frequency refers to the change frequency between image frames in the image frame sequence;
when the change frequency is greater than the preset value, the target image frame sequence is coded according to the th coding rule, and the coding rate corresponding to the th coding rule is lower than the coding rate corresponding to the preset coding rule.
In embodiments, the obtaining the change frequency corresponding to the target image frame sequence in the method includes:
comparing a current image frame in the image frame sequence with a lower image frame corresponding to the current image frame by frame to obtain the change number of the image frames in the image frame sequence;
and acquiring the change frequency corresponding to the target image frame sequence according to the change number.
In embodiments, the obtaining the change frequency corresponding to the target image frame sequence in the method includes:
acquiring target instruction information, wherein the target instruction information is instruction information generated when the terminal equipment processes image frames in the target image frame sequence;
analyzing the target instruction information, and determining whether the target instruction information comprises a word processing instruction according to an analysis result;
when the target instruction information comprises a word processing instruction, acquiring the generation frequency of the word processing instruction;
and acquiring the change frequency corresponding to the target image frame sequence according to the generation frequency of the word processing instruction.
In embodiments, the method for encoding the target image frame sequence according to the encoding rule includes:
and compressing the value range of the pixel point corresponding to each image frame in the image frame sequence, and encoding the target image frame sequence.
In embodiments, the method for encoding the target image frame sequence according to the encoding rule includes:
after each image frame in the image frame sequence is subjected to frequency domain transformation processing, the image frame with the frequency lower than a preset value is subjected to coding processing, and the image frame with the frequency higher than or equal to the preset value is not subjected to coding processing, so that the target image frame sequence is subjected to coding processing.
In embodiments, the method further comprises:
and when the change frequency is less than or equal to a preset value, carrying out encoding processing on the target image frame sequence according to a second encoding rule, wherein the encoding rate corresponding to the second encoding rule is greater than the encoding rate corresponding to the th encoding rule.
The method provided by the embodiment of the disclosure adopts different coding strategies according to the image change speed in the image frame sequence, when the image change speed in the image frame sequence is high, the requirement of the user on the image quality is low, and the definition cannot cause more influence on the user viewing even if the definition is reduced, so that the data coding amount is reduced, the computing resources and the network transmission resources are saved, when the image change speed in the image frame sequence is low, the requirement of the user on the image quality is high, the image frame is processed by adopting a coding rule with a high coding rate, so that the requirement of the user on the definition is met, the requirement of the user on the image quality is high, and the image frame is processed by adopting a coding rule with a high coding rate, so that the requirement of the user on the definition is met, the requirement of the user on the image quality is met, and the network coding rate is saved.
According to a second aspect of the embodiments of the present disclosure, there is provided data encoding apparatuses, comprising a receiver and a processor,
the receiver is connected with the processor;
the receiver is used for acquiring a target image frame sequence, and the target image frame sequence is generated according to a display picture in a preset time period of the terminal equipment;
the processor is used for acquiring the change frequency corresponding to the target image frame sequence according to a preset algorithm, wherein the change frequency refers to the change frequency between image frames in the image frame sequence;
when the change frequency is greater than a preset value, encoding the target image frame sequence according to an th encoding rule, wherein the encoding rate corresponding to the th encoding rule is lower than the encoding rate corresponding to the preset encoding rule;
when the change frequency of the image data is less than or equal to a preset value, the target image frame sequence is encoded according to a second encoding rule, wherein the encoding rate corresponding to the second encoding rule is greater than the encoding rate corresponding to the th encoding rule.
The processor of the device in the embodiments is also adapted to,
comparing a current image frame in the image frame sequence with a lower image frame corresponding to the current image frame by frame to obtain the change number of the image frames in the image frame sequence;
and acquiring the change frequency corresponding to the target image frame sequence according to the change number.
The processor of the device in the embodiments is also adapted to,
acquiring target instruction information, wherein the target instruction information is instruction information generated when the terminal equipment processes image frames in the target image frame sequence;
analyzing the target instruction information, and determining whether the target instruction information comprises a word processing instruction according to an analysis result;
when the target instruction information comprises a word processing instruction, acquiring the generation frequency of the word processing instruction;
and acquiring the change frequency corresponding to the target image frame sequence according to the generation frequency of the word processing instruction.
The processor of the device in the embodiments is also adapted to,
and compressing the value range of the pixel point corresponding to each image frame in the image frame sequence, and encoding the target image frame sequence.
The processor of the device in the embodiments is also adapted to,
after each image frame in the image frame sequence is subjected to frequency domain transformation processing, the image frame with the frequency lower than a preset value is subjected to coding processing, and the image frame with the frequency higher than or equal to the preset value is not subjected to coding processing, so that the target image frame sequence is subjected to coding processing.
It is to be understood that both the foregoing -general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description , serve to explain the principles of the disclosure.
FIG. 1 is a flow chart of an data encoding method provided by an embodiment of the disclosure;
fig. 2 is a schematic diagram of distribution of pixel points in data encoding methods according to the present disclosure;
fig. 3 is a block diagram of data encoding devices according to an embodiment of the present disclosure.
Detailed Description
The embodiments described in the exemplary embodiments below do not represent all embodiments consistent with the present disclosure at , but rather are merely examples of apparatus and methods consistent with the aspects of the present disclosure at as recited in the appended claims.
Example
The disclosed embodiment provides data encoding methods, as shown in fig. 1, the data encoding method includes the following steps:
101. acquiring a target image frame sequence, wherein the target image frame sequence is generated according to a display picture in a preset time period of a terminal device
Before the target image frame is obtained, a display picture of the terminal device is obtained, and the obtaining mode may include obtaining through a software mode or a hardware mode. For example, the display picture of the terminal device is acquired through screen recording software or through an image collector.
The terminal equipment can be computer, mobile phone and other terminal equipment.
In a specific implementation, the target image frame sequence may be generated after ten seconds of display of the computer desktop is acquired.
102. And acquiring the change frequency corresponding to the target image frame sequence according to a preset algorithm.
The above-mentioned change frequency is a change frequency indicating the content of the image frame in the target image frame sequence, so that it can be determined whether the target image frame sequence is a fast-changing image frame sequence.
In the method provided by the present disclosure, the change frequency corresponding to the target image frame sequence may be obtained through an instruction sent by the terminal device or an image comparison of the target image frame, and two examples are listed here to illustrate a specific determination method:
example obtaining, by an instruction of a terminal device to a display screen, a change frequency corresponding to a sequence of target image frames:
acquiring instruction information generated by the terminal equipment to the display picture;
analyzing the instruction information, and determining whether the instruction information comprises a word processing instruction according to an analysis result;
when the instruction information comprises a word processing instruction, acquiring the generation frequency of the word processing instruction;
and acquiring the change frequency corresponding to the target image frame sequence according to the generation frequency of the word processing instruction.
The word processing instruction may be a word processing instruction such as Text Rendering instruction or DrawString instruction.
The method provided by the present disclosure can determine whether the current computer image has a rapid change by judging the generation frequency of the word processing related instruction, because the generation frequency of the word processing related instruction is significantly increased when the word content has a rapid change.
Example two: obtaining the corresponding change frequency of the target image frame sequence through the content of the target image frame sequence:
comparing a current image frame in the image frame sequence with a lower image frame corresponding to the current image frame by frame to obtain the number of changes corresponding to the image frame sequence;
and acquiring the change frequency corresponding to the target image frame sequence according to the change number.
Here, the acquisition of the number of changes is explained by taking an image frame sequence including, in chronological order, an image frame a, an image frame B, an image frame C, an image frame D, an image frame E, and an image frame F as an example, whether the image frame is the same as the next image frames by frame is compared, and the number of changes is determined when the image frame is different from the next image frames after the frame-by-frame comparison, the image frame a is the same as the image frame B, the image frame B is different from the image frame C, the image frame C is different from the image frame D, the image frame D is different from the image frame E, and the image frame E is.
Step may be to determine whether the image frame sequence includes an image frame of a text type, and then obtain a change frequency corresponding to the target image frame sequence for the number of changes of the image frame of the text type in the image frame sequence.
The method for determining the text image frame contained in the target image frame sequence in the judging method comprises the following steps:
each image frames in the target image frame sequence are divided into at least macroblocks, and in practical implementation, each image frame can be divided into a plurality of M × N macroblocks, for example, each image frame is divided into 16 × 16 macroblocks, or 8 × 8 macroblocks, etc.
Detecting every image frames block by block, and determining the ratio of character macro blocks in every image frames;
and when the character macro block ratio of the image is larger than a second preset threshold value, judging that the image frame is a character frame.
In this embodiment, if the continuous change rate of the image frames of the text type exceeds the preset threshold, it is determined that the text frame currently exceeding the preset threshold has changed rapidly.
103. And when the change frequency is greater than the preset value, carrying out encoding processing on the target image frame sequence according to an -th encoding rule.
The th encoding rule corresponds to a lower encoding rate than the predetermined encoding rule.
The method provided by the present disclosure further includes confirming that the change frequency is greater than a preset value, and specifically may include:
when the generation frequency of the word processing instruction is greater than th preset threshold value, it is determined that the corresponding change frequency of the target image frame sequence is greater than a preset value.
Or, when the continuous change rate of the text frame is greater than a third preset threshold, determining that the change frequency corresponding to the target image frame sequence is greater than a preset value.
The method provided by the present disclosure, in which the target image frame sequence is encoded according to the th encoding rule, may be performed by encoding after processing every th image frame in the image frame sequence, which is to be explained by way of three examples, and does not represent that the present disclosure is limited thereto.
Example :
and after compressing the pixel value range corresponding to each image frame in the image frame sequence, encoding the target image frame sequence.
When the value of each pixel in the image frame is represented as 2-system by using the value range corresponding to each pixels as [0, 255], the value of each pixels can be represented by 8-bit characters for explanation.
For example, the pixel values of two pixel points are 01011101 and 11010111 respectively, if the former four-bit data is reserved and the latter four-bit data is discarded, the obtained numerical values are 0101 and 1101, and the obtained numerical values are used as the pixel values of the pixel points for coding and compressing.
Alternatively, when processing the image frame, the first four bits are still retained, and the last four bits are discarded, which may be defined as the quotient of the current pixel value (10) divided by the step value (e.g., 16) to obtain the integer portion. For example, two points having pixel values of 240 and 180, the pixel values become 15 and 12 after being processed in this manner.
Through the two modes, the value range of the pixel point with the original value range of [0, 255] is changed into [0, 15 ].
The above is just two different implementations, but the final result is -fold.
, after the coding device codes the image frame according to coding rules, it sends the coded image frame to the decoding device, after the decoding device decodes according to the corresponding decoding algorithm, it needs to multiply the decoded value by the step value, such as 16, to get the final displayed pixel value.
Example two:
and performing frequency domain transformation processing on the target image frame sequence, performing coding processing on the image frame sequence with the frequency lower than a preset value, and not performing coding processing on the image frame sequence with the frequency higher than or equal to the preset value. Specifically, the frequency domain transformation is carried out on the pixel points, and for the transformed result, only the pixel points corresponding to the low-frequency component are reserved, and the pixel points corresponding to the high-frequency component are discarded; for example, in JPEG, after DCT (discrete cosine transform) processing is performed on a pixel point, the energy of an image is concentrated on a low frequency portion after discrete cosine transform, and therefore, only an image frame corresponding to a DC (direct current) portion is processed, and thus, image quality can be ensured and compression rate can be improved.
Example three:
and after reducing the pixel value corresponding to each image frame in the image frame sequence, carrying out encoding processing on the target image frame sequence.
The pixel values of the image frame are reduced by dividing a preset number of adjacent pixels into groups in the image frame, designating a pixel at a preset position in the group as a reference pixel after dividing the image frame into a plurality of groups, and finally setting the pixel values of all the pixels in the same group to be the same as the reference pixel.
Referring to the schematic distribution diagram of the pixel points in fig. 2, the adjacent 4 pixel points are selected as groups, for example, the pixel point a1 to the pixel point a4 are groups, the pixel point B1 to the pixel point B4 are second groups, the pixel point C1 to the pixel point C4 are third groups, and the pixel point D1 to the pixel point D4 are fourth groups.
The designated positions can be set according to actual needs, for example, th pixel point at the upper left corner can be set as a reference pixel point, based on fig. 2, pixel point a1 is used as a reference pixel point of the th group, pixel point B1 is used as a reference pixel point of the second group, pixel point C1 is used as a reference pixel point of the third group, and pixel point D1 is used as a reference pixel point of the fourth group.
And finally, setting the pixel values of other pixel points in each group to be the same as the reference pixel point.
After the above processing, the richness of the image colors in the image frame sequence is reduced to a certain extent, but the image contents can be distinguished.
The method provided by the disclosure can be applied to the encoding processing of the computer desktop display image during specific implementation. When a user browses a word document, a PDF document, a web page or the like, and quickly drags a scroll bar to quickly reach a desired positioning position, during the operation, the sliding speed of the display screen is very high, and the user only roughly browses the content of the display image during the sliding process and does not pay attention to the details thereof. Therefore, for the computer display image with rapidly changing content in the situation, high-quality coding processing is not needed, the coding quality can be reduced, the data coding amount is reduced, and the coding efficiency is improved.
According to the method provided by the present disclosure, when the variation frequency of the target image frame sequence is less than or equal to the preset value, the target image frame sequence may be encoded according to the second encoding rule.
The code rate corresponding to the second encoding rule is greater than the code rate corresponding to the th encoding rule.
When the image frame sequence is not an image frame with rapid change, after the target image frame sequence is coded according to the second coding rule with higher coding rate, the normal coding processing effect can be ensured, thereby improving the display effect of the target image frame sequence, such as definition and color richness, ensuring higher user experience and meeting the requirement of a user on high definition.
The method provided by the embodiment of the disclosure adopts different coding strategies according to the image change speed in the image frame sequence, when the image change speed in the image frame sequence is high, the requirement of the user on the image quality is low, and the definition cannot cause more influence on the viewing of the user even if the definition is reduced, so that the data coding amount is reduced, the computing resources and the network transmission resources are saved, when the image change speed in the image frame sequence is low, the requirement of the user on the image quality is high, the image frame is processed by adopting a coding rule with a high coding rate, so that the requirement of the user on the definition is met, the requirement of the user on the image quality is high, the image frame is processed by adopting a coding rule with a high coding rate, the requirement of the user on the definition is met, the requirement of the user on the definition of the image frame is met, and the network transmission data is saved.
Example two
Based on the data encoding method described in the embodiment corresponding to fig. 1, the following is an embodiment of the apparatus of the present disclosure, which can be used to execute the embodiment of the method of the present disclosure.
The disclosed embodiment provides data encoding devices, as shown in fig. 3, the data encoding device 30 includes a receiver 301 and a processor 302;
the receiver 301 is connected to the processor 302, and the connection may be a hardware connection or a software connection;
the receiver 301 is configured to acquire a target image frame sequence, where the target image frame sequence is generated according to a display screen within a preset time period of a terminal device. For example, by an image acquisition module, or by software means.
The processor 302 is configured to obtain a change frequency corresponding to the target image frame sequence according to a preset algorithm, where the change frequency is a change frequency between image frames in the image frame sequence;
when the variation frequency is greater than the preset value, the target image frame sequence is encoded according to the th encoding rule, and the encoding rate corresponding to the th encoding rule is lower than the encoding rate corresponding to the preset encoding rule.
When the change frequency of the image data is less than or equal to a preset value, the target image frame sequence is encoded according to a second encoding rule, wherein the encoding rate corresponding to the second encoding rule is greater than the encoding rate corresponding to the th encoding rule.
In an alternative embodiment, the processor 302 in the apparatus 30 provided by the present disclosure is further configured to,
comparing a current image frame in the image frame sequence with a lower image frame corresponding to the current image frame by frame to obtain the change number of the image frames in the image frame sequence;
and acquiring the change frequency corresponding to the target image frame sequence according to the change number.
In an alternative embodiment, the processor 302 in the apparatus 30 provided by the present disclosure is further configured to,
acquiring target instruction information, wherein the target instruction information is instruction information generated when the terminal equipment processes image frames in the target image frame sequence;
analyzing the target instruction information, and determining whether the target instruction information comprises a word processing instruction according to an analysis result;
when the target instruction information comprises a word processing instruction, acquiring the generation frequency of the word processing instruction;
and acquiring the change frequency corresponding to the target image frame sequence according to the generation frequency of the word processing instruction.
In an alternative embodiment, the processor 302 in the apparatus 30 provided by the present disclosure is further configured to,
and compressing the value range of the pixel point corresponding to each image frame in the image frame sequence, and encoding the target image frame sequence.
In an alternative embodiment, the processor 302 in the apparatus 30 provided by the present disclosure is further configured to,
after each image frame in the image frame sequence is subjected to frequency domain transformation processing, the image frame with the frequency lower than a preset value is subjected to coding processing, and the image frame with the frequency higher than or equal to the preset value is not subjected to coding processing, so that the target image frame sequence is subjected to coding processing.
In an alternative embodiment, the apparatus 30 provided by the present disclosure further includes a transmitter 303, where the transmitter 303 is configured to transmit the encoded target image frame sequence to a display device, or to a decoding apparatus, or to a receiving device.
The data coding device provided by the embodiment of the disclosure generates a target image frame sequence after a display picture of a terminal device is acquired, and calculates the change frequency corresponding to the target image frame sequence according to a preset algorithm, when the change frequency is greater than a preset value, the target image frame sequence is coded according to a coding rule, and when the change frequency is less than or equal to the preset value, the target image frame sequence is coded according to a second coding rule.
Based on the data encoding method described in the embodiment corresponding to fig. 1, computer-readable storage media are further provided in the embodiment of the present disclosure, for example, the non-transitory computer-readable storage media 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, and the like.
This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the -like principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains and as may be applied to the essential features hereinbefore set forth, the description and examples are to be regarded as illustrative only and the true scope and spirit of the disclosure is to be indicated by the following claims.

Claims (10)

1, A method for encoding data, the method comprising:
acquiring a target image frame sequence, wherein the target image frame sequence is generated according to a display picture in a preset time period of terminal equipment;
acquiring change frequency corresponding to the target image frame sequence according to a preset algorithm, wherein the change frequency refers to the change frequency between image frames in the image frame sequence;
when the change frequency is greater than a preset value, the target image frame sequence is subjected to encoding processing according to an th encoding rule, and an encoding rate corresponding to the th encoding rule is lower than an encoding rate corresponding to a preset encoding rule.
2. The method according to claim 1, wherein the obtaining of the variation frequency corresponding to the target image frame sequence comprises:
comparing a current image frame in the image frame sequence with a lower image frame corresponding to the current image frame by frame to obtain the change number of the image frames in the image frame sequence;
and acquiring the change frequency corresponding to the target image frame sequence according to the change number.
3. The method according to claim 1, wherein the obtaining of the variation frequency corresponding to the target image frame sequence comprises:
acquiring target instruction information, wherein the target instruction information is instruction information generated when the terminal equipment processes image frames in the target image frame sequence;
analyzing the target instruction information, and determining whether the target instruction information comprises a word processing instruction or not according to an analysis result;
when the target instruction information comprises a word processing instruction, acquiring the generation frequency of the word processing instruction;
and acquiring the change frequency corresponding to the target image frame sequence according to the generation frequency of the word processing instruction.
4. The method according to claim 1, wherein said encoding said sequence of target image frames according to an -th encoding rule comprises:
compressing the value range of a pixel point corresponding to each image frame in the image frame sequence, and encoding the target image frame sequence;
or after frequency domain transformation processing is carried out on each image frame in the image frame sequence, the image frame with the frequency lower than a preset value is subjected to coding processing, and the image frame with the frequency higher than or equal to the preset value is not subjected to coding processing, so that the target image frame sequence is subjected to coding processing.
5. The method of claim 1, further comprising:
and when the change frequency is less than or equal to a preset value, carrying out encoding processing on the target image frame sequence according to a second encoding rule, wherein the encoding rate corresponding to the second encoding rule is greater than the encoding rate corresponding to the th encoding rule.
6, data coding device, which comprises receiver and processor,
the receiver is connected with the processor;
the receiver is used for acquiring a target image frame sequence, and the target image frame sequence is generated according to a display picture in a preset time period of the terminal equipment;
the processor is used for acquiring the change frequency corresponding to the target image frame sequence according to a preset algorithm, wherein the change frequency refers to the change frequency between image frames in the image frame sequence;
when the change frequency is greater than a preset value, the target image frame sequence is subjected to encoding processing according to an th encoding rule, and an encoding rate corresponding to the th encoding rule is lower than an encoding rate corresponding to a preset encoding rule.
7. The apparatus of claim 6, wherein the processor is further configured to,
comparing a current image frame in the image frame sequence with a lower image frame corresponding to the current image frame by frame to obtain the change number of the image frames in the image frame sequence;
and acquiring the change frequency corresponding to the target image frame sequence according to the change number.
8. The apparatus of claim 7, wherein the processor is further configured to,
acquiring target instruction information, wherein the target instruction information is instruction information generated when the terminal equipment processes image frames in the target image frame sequence;
analyzing the target instruction information, and determining whether the target instruction information comprises a word processing instruction or not according to an analysis result;
when the target instruction information comprises a word processing instruction, acquiring the generation frequency of the word processing instruction;
and acquiring the change frequency corresponding to the target image frame sequence according to the generation frequency of the word processing instruction.
9. The apparatus of claim 7, wherein the processor is further configured to,
compressing the value range of a pixel point corresponding to each image frame in the image frame sequence, and encoding the target image frame sequence;
or after frequency domain transformation processing is carried out on each image frame in the image frame sequence, the image frame with the frequency lower than a preset value is subjected to coding processing, and the image frame with the frequency higher than or equal to the preset value is not subjected to coding processing, so that the target image frame sequence is subjected to coding processing.
10. The apparatus of claim 6, wherein the processor is further configured to,
and when the change frequency of the image data is less than or equal to a preset value, encoding the target image frame sequence according to a second encoding rule, wherein the encoding rate corresponding to the second encoding rule is greater than the encoding rate corresponding to the th encoding rule.
CN201910849181.8A 2019-09-09 2019-09-09 Data coding method and device Pending CN110740316A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910849181.8A CN110740316A (en) 2019-09-09 2019-09-09 Data coding method and device
PCT/CN2020/086315 WO2021047177A1 (en) 2019-09-09 2020-04-23 Data encoding method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910849181.8A CN110740316A (en) 2019-09-09 2019-09-09 Data coding method and device

Publications (1)

Publication Number Publication Date
CN110740316A true CN110740316A (en) 2020-01-31

Family

ID=69267840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910849181.8A Pending CN110740316A (en) 2019-09-09 2019-09-09 Data coding method and device

Country Status (2)

Country Link
CN (1) CN110740316A (en)
WO (1) WO2021047177A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111447450A (en) * 2020-03-16 2020-07-24 西安万像电子科技有限公司 Data processing method and device
WO2021047177A1 (en) * 2019-09-09 2021-03-18 西安万像电子科技有限公司 Data encoding method and apparatus
CN114598893A (en) * 2020-11-19 2022-06-07 京东方科技集团股份有限公司 Text video implementation method and system, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130003846A1 (en) * 2011-07-01 2013-01-03 Apple Inc. Frame encoding selection based on frame similarities and visual quality and interests
CN103412701A (en) * 2012-11-01 2013-11-27 华为技术有限公司 Method and device for processing remote desktop images
US20160072873A1 (en) * 2014-09-09 2016-03-10 Vmware, Inc. Virtual desktop encoding based on user input behavior
CN106227477A (en) * 2016-07-08 2016-12-14 中霆云计算科技(上海)有限公司 A kind of damage automatic switching method for the lossless of RDP
US20170150145A1 (en) * 2015-11-20 2017-05-25 Ellation, Inc. Adaptive compression rate control
CN107666610A (en) * 2017-09-25 2018-02-06 北京小鱼易连科技有限公司 Desktop video content analysis method

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05130587A (en) * 1991-10-31 1993-05-25 Nec Corp Buffer memory control circuit for image encoding device
US5592225A (en) * 1993-09-30 1997-01-07 Matsushita Electric Industrial Co., Ltd. Device and method for controlling coding
CN101389014B (en) * 2007-09-14 2010-10-06 浙江大学 Resolution variable video encoding and decoding method based on regions
CN102710949B (en) * 2012-05-11 2014-06-04 宁波大学 Visual sensation-based stereo video coding method
CN103297773B (en) * 2013-05-07 2016-05-04 福州大学 Based on the method for encoding images of JND model
CN106375841B (en) * 2015-07-23 2020-02-11 阿里巴巴集团控股有限公司 Wireless screen projection data processing method, wireless screen projection data processing device, wireless screen projection video data display method, wireless screen projection video data display device and electronic equipment
CN107172376B (en) * 2017-06-26 2020-04-21 北京奇艺世纪科技有限公司 Video coding method and device based on screen sharing
CN109561310B (en) * 2017-09-26 2022-09-16 腾讯科技(深圳)有限公司 Video coding processing method, device, equipment and storage medium
CN110139112B (en) * 2019-04-29 2022-04-05 暨南大学 Video coding method based on JND model
CN110740316A (en) * 2019-09-09 2020-01-31 西安万像电子科技有限公司 Data coding method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130003846A1 (en) * 2011-07-01 2013-01-03 Apple Inc. Frame encoding selection based on frame similarities and visual quality and interests
CN103412701A (en) * 2012-11-01 2013-11-27 华为技术有限公司 Method and device for processing remote desktop images
US20160072873A1 (en) * 2014-09-09 2016-03-10 Vmware, Inc. Virtual desktop encoding based on user input behavior
US20170150145A1 (en) * 2015-11-20 2017-05-25 Ellation, Inc. Adaptive compression rate control
CN106227477A (en) * 2016-07-08 2016-12-14 中霆云计算科技(上海)有限公司 A kind of damage automatic switching method for the lossless of RDP
CN107666610A (en) * 2017-09-25 2018-02-06 北京小鱼易连科技有限公司 Desktop video content analysis method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021047177A1 (en) * 2019-09-09 2021-03-18 西安万像电子科技有限公司 Data encoding method and apparatus
CN111447450A (en) * 2020-03-16 2020-07-24 西安万像电子科技有限公司 Data processing method and device
CN114598893A (en) * 2020-11-19 2022-06-07 京东方科技集团股份有限公司 Text video implementation method and system, electronic equipment and storage medium
CN114598893B (en) * 2020-11-19 2024-04-30 京东方科技集团股份有限公司 Text video realization method and system, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2021047177A1 (en) 2021-03-18

Similar Documents

Publication Publication Date Title
CN105472205B (en) Real-time video noise reduction method and device in encoding process
CN110149555B (en) Video processing method and video receiving device
US9094681B1 (en) Adaptive segmentation
CN110740316A (en) Data coding method and device
CN111182303A (en) Encoding method and device for shared screen, computer readable medium and electronic equipment
CN110149515B (en) Data transmission method and device
CN111263243B (en) Video coding method and device, computer readable medium and electronic equipment
US11689748B2 (en) Pixel filtering for content
CN111131828B (en) Image compression method and device, electronic equipment and storage medium
Wang et al. Perceptual screen content image quality assessment and compression
US20140254688A1 (en) Perceptual Quality Of Content In Video Collaboration
CN111182300B (en) Method, device and equipment for determining coding parameters and storage medium
CN111556315A (en) Data transmission method and device
WO2023134523A1 (en) Content adaptive video coding method and apparatus, device and storage medium
WO2016033725A1 (en) Block segmentation mode processing method in video coding and relevant apparatus
CN115118964A (en) Video encoding method, video encoding device, electronic equipment and computer-readable storage medium
CN106921840B (en) Face beautifying method, device and system in instant video
CN110460855B (en) Image processing method and system
CN108933945B (en) GIF picture compression method, device and storage medium
CN112114760A (en) Image processing method and device
CN107547895B (en) Image processing method and device
CN110677728A (en) Method, device and equipment for playing video and storage medium
CN114786037B (en) VR projection-oriented adaptive coding compression method
CN112422964B (en) Progressive coding method and device
CN113099220B (en) Video conference video image green screen detection method, system and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200131

RJ01 Rejection of invention patent application after publication