CN111447450A - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN111447450A
CN111447450A CN202010183570.4A CN202010183570A CN111447450A CN 111447450 A CN111447450 A CN 111447450A CN 202010183570 A CN202010183570 A CN 202010183570A CN 111447450 A CN111447450 A CN 111447450A
Authority
CN
China
Prior art keywords
target
frame image
instruction
instruction set
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
CN202010183570.4A
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 CN202010183570.4A priority Critical patent/CN111447450A/en
Publication of CN111447450A publication Critical patent/CN111447450A/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/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/176Methods 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 block, e.g. a macroblock

Landscapes

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

Abstract

The present disclosure provides a data processing method and device, which relates to the technical field of electronic information and can solve the problem of low efficiency of desktop images in the encoding and decoding processes. The specific technical scheme is as follows: after the original frame image is obtained, when a target instruction corresponding to the original frame image is detected, a target instruction set corresponding to the target instruction is determined in a preset instruction set, a target coding rule is determined according to the target instruction set, and a next frame image corresponding to the original frame image, namely a target frame image, is coded according to the target coding rule. The present disclosure is used for encoding and decoding processing of images.

Description

Data processing method and device
Technical Field
The present disclosure relates to the field of electronic information technologies, and in particular, to a data processing method and device.
Background
The cloud desktop technology or desktop virtualization refers to a technology in which a user remotely accesses a server, and the server provides a desktop image of a current server host to a remote client in a virtual manner. Based on cloud desktop technique, the user can control the server through terminal equipment, and is convenient high-efficient, and its specific data processing process can be: after the server acquires the desktop image, the image is compressed and transmitted to the cloud terminal through the network, and the terminal decodes the image to obtain the content of the desktop image. In the process of compressing the desktop image, because the characteristics of the desktop image are different from those of the natural image, if the desktop image is encoded and decoded based on the general image processing rule, the encoding and decoding efficiency of the desktop image is low.
Disclosure of Invention
The embodiment of the disclosure provides a data processing method and device, which can solve the problem of low efficiency of encoding and decoding processing of desktop images. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a data processing method applied to an encoding device, the method including:
acquiring an original frame image, wherein the original frame image is generated by acquiring a desktop image of target equipment;
when a target instruction corresponding to the original frame image is detected, determining a target instruction set corresponding to the target instruction in a preset instruction set, wherein the target instruction is used for instructing to process the original frame image;
and determining a target coding rule according to the target instruction set, and coding a target frame image through the target coding rule, wherein the target frame image is a next frame image corresponding to the original frame image generated after the original frame image is processed according to the target instruction.
In one embodiment, the method for encoding the target frame image includes:
when the target instruction set belongs to a first instruction set, determining a target macro block in the target image frame according to the target instruction, wherein the first instruction set comprises an instruction set for operating a target area, and the target macro block is determined according to the target area in the target instruction;
and coding the target macro block according to the target frame image, coding macro blocks except the target macro block in the target frame image according to the original frame image, and coding the target frame image.
In one embodiment, the method for encoding the target frame image includes:
when the target instruction belongs to a second instruction set, encoding the target frame image according to an image encoding rule and the target frame image, wherein the second instruction set comprises an image switching instruction set;
or encoding the target frame image by encoding the target command.
In one embodiment, the method for encoding the target macroblock includes:
analyzing the target instruction, and acquiring operation information of the target instruction according to an analysis result, wherein the operation information comprises operation area information corresponding to the target instruction;
and performing encoding processing on the target macro block by performing encoding processing on the operation information.
In one embodiment, the method further comprises:
acquiring identification information corresponding to the target instruction;
and marking the coded target frame image according to the identification information, generating a target data packet, and sending the target data packet to a decoding device.
The data processing method provided by the embodiment of the disclosure is applied to a coding device, and after the coding device acquires an original frame image, a target instruction corresponding to the original frame image is detected, a target instruction set corresponding to the target instruction is determined in a preset instruction set, a target coding rule is determined according to the target instruction set, and the target frame image is coded according to the target coding rule. According to the method and the device, the characteristics of the next frame image, namely the target frame image, corresponding to the original frame image after the target instruction processing can be determined according to the characteristics of the target instruction for processing the original frame image, and the target frame image is coded according to the characteristics of the target frame image, so that the step that the target frame image is compared with the original frame image and then coded in the prior art is avoided, the coding efficiency is improved, and the bandwidth of data transmission is reduced.
According to a second aspect of the embodiments of the present disclosure, there is provided a data processing apparatus applied to a decoding apparatus, including:
acquiring a target data packet, wherein the target data packet comprises a target frame image and identification information, the identification information is used for indicating a target instruction, the target frame image is generated by processing an original frame image according to the target instruction, the original frame image is generated by acquiring a desktop image of a target device, and the target instruction is used for indicating the original frame image to be processed;
acquiring a target instruction corresponding to the identification information according to the identification information, and determining a target instruction set corresponding to the target instruction in a preset instruction set;
and determining a target decoding rule according to the target instruction set, and decoding the target data packet through the target decoding rule to obtain a target frame image.
In one embodiment, the method for acquiring the target frame image comprises the following steps:
when the target instruction set belongs to a first instruction set, determining a target macro block in the target image frame according to the target instruction, wherein the first instruction set is a target area operation instruction set, and the target macro block is determined according to a target operation area in the target instruction;
and decoding the target data packet by decoding the target macro block and decoding macro blocks except the target macro block in the target data packet according to the original frame image to obtain a target frame image.
In one embodiment, the method for acquiring the target frame image comprises the following steps:
when the target instruction belongs to a second instruction set, searching a preset image corresponding to the target instruction according to the target instruction, wherein the second instruction set comprises an image switching instruction set;
and decoding the preset image to obtain a target frame image.
According to a third aspect of embodiments of the present disclosure, there is provided an encoding device including: a receiver, a processor and a transmitter, the processor is respectively connected with the receiver and the transmitter,
the receiver is used for acquiring an original frame image, and the original frame image is generated by a desktop image of the acquisition target device;
the processor is used for determining a target instruction set corresponding to a target instruction in a preset instruction set when the target instruction corresponding to the original frame image is detected, wherein the target instruction is used for instructing to process the original frame image;
determining a target coding rule according to the target instruction set, and coding a target frame image according to the target coding rule, wherein the target frame image is a next frame image corresponding to an original frame image generated after the original frame image is processed according to a target instruction;
generating a target data packet according to the coded target frame image and the target instruction;
the transmitter is used for transmitting the target data packet.
According to a fourth aspect of embodiments of the present disclosure, there is provided a decoding apparatus comprising: the processor is connected with the receiver;
the receiver is used for acquiring a target data packet, wherein the target data packet comprises a target frame image and identification information, the identification information is used for indicating a target instruction, the target frame image is generated by processing an original frame image according to the target instruction, the original frame image is generated by acquiring a desktop image of a target device, and the target instruction is used for indicating the original frame image to be processed;
the processor is used for acquiring a target instruction corresponding to the identification information according to the identification information and determining a target instruction set corresponding to the target instruction in the preset instruction set;
and determining a target decoding rule according to the target instruction set, and decoding the target data packet through the target decoding rule to obtain a target frame image.
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 present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart of a data processing method provided by an embodiment of the present disclosure;
fig. 2 is a flowchart 1 of a data processing method provided by an embodiment of the present disclosure;
fig. 3 is a block diagram of an encoding apparatus provided in an embodiment of the present disclosure;
fig. 4 is a block diagram of a decoding apparatus according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The embodiment of the disclosure provides a data processing method, which can be applied to an encoding device, for example, the encoding device can also be a terminal device or a network server. As shown in fig. 1, the data processing method includes the steps of:
101. and acquiring a target frame image and a target instruction corresponding to the target frame image.
The above-mentioned target frame image is generated by processing an original frame image, which is generated as a desktop image of an acquisition target device, according to a target instruction for instructing to process the original frame image.
The above desktop image is different from the frame image in the video in the prior art: the change in the gray scale and color of the frame images in the video is continuous. The desktop image is a picture image generated according to various operation instructions, and the macro blocks formed by the picture image are complex and usually contain text information and graphic information, and the change of the pixel values in the desktop image is discontinuous. The method provided by the disclosure performs encoding processing on the features of the desktop image.
102. When the target instruction is detected, a target instruction set corresponding to the target instruction is determined in a preset instruction set.
The target instruction is used for instructing to process the original frame image.
The preset instruction set can be determined according to the operation on the original frame image and can also be determined according to other division standards, and the preset instruction set can be divided into a first instruction set and a second instruction set according to the operation area on the target frame image, wherein the first instruction set is used for local area operation instructions, and the second instruction set comprises an image switching instruction set; specific examples are set forth herein that describe a first instruction set and a second instruction set:
the local region operation instruction set in the first instruction set may include an instruction to operate a local region in the desktop image. The instructions in the local region operation instruction set include, but are not limited to: the method comprises the following steps of inputting a character input instruction, a mouse click instruction, a mouse scroll instruction, a mouse dragging instruction, an image dragging instruction, a keyboard shortcut key operation instruction, a scroll bar dragging instruction and the like, wherein in addition, aiming at the touch screen equipment, the instructions in the local area operation instruction set further comprise: touch commands, slide commands, and the like.
The image switching instruction set in the second instruction set may include an instruction to completely switch the desktop image, where the completely switching is: the desktop operation instruction executed by the user on the current frame can make the next frame desktop image completely different from the current frame desktop image. Instructions in the image switching instruction set include, but are not limited to: the method comprises the steps of switching a desktop display content shortcut key, clicking a menu bar software icon, opening a software in a closed state, closing a webpage in an open state, opening a webpage in a closed state and the like. For a touch device, the instructions in the image switching instruction set further include: and rapidly switching the instructions of the desktop image display contents in a touch manner.
The above is merely an explanation of an exemplary property of the preset instruction set, and in a specific implementation process, a corresponding preset instruction set may also be generated according to other classifications, and a target instruction set corresponding to the target instruction may be determined according to the preset instruction set.
103. And coding the original frame image according to the coding strategy corresponding to the target instruction set.
For the preset instruction set in the above steps, the encoding strategy corresponding to the target instruction set is set forth below: optional steps of encoding the target frame image to generate a target data packet:
example one, when the target instruction set is the first operation instruction set, the encoding process thereof may include:
the first method is as follows: when the target instruction set belongs to a first instruction set, determining a target macro block in the target image frame according to the target instruction, wherein the first instruction set comprises an instruction set for operating a target area, and the target macro block is determined according to the target area in the target instruction;
and coding the target macro block according to the target macro block, coding macro blocks except the target macro block in the target frame image according to the original frame image, and coding the target frame image.
Specifically, the method comprises the following steps: directly carrying out reference coding according to the current frame desktop image aiming at the region outside the change region in the next frame image; and for the changed area in the next frame image, encoding the changed area or the minimum macro block area containing the changed area.
The second method comprises the following steps:
when the target instruction set belongs to a first instruction set, analyzing the target instruction, and acquiring operation information of the target instruction according to an analysis result, wherein the operation information comprises operation area information corresponding to the target instruction;
and encoding the target macro block by encoding the operation information and the target macro block.
In a specific implementation process, the target instruction is to generate a target option frame after clicking a mouse in an original frame image, an image of the target option frame can be prestored, the encoding device only needs to send the target instruction and the target area, and the decoding device can acquire the image of the target option frame according to the target instruction, determine the position of the image of the target option frame according to target operation information, and display the position on the original frame image, so that the effect of sending the target frame image can be achieved.
Example two, when the target instruction set is the second operation instruction set, the encoding process may include:
the first method is as follows: when the target instruction belongs to the second instruction set, the encoding processing of the target frame image is realized by transmitting the target instruction.
Specifically, the identification information corresponding to the target instruction may be acquired, and the encoding processing of the target frame image may be implemented by encoding the identification information.
In a specific implementation process, a preset image matched with a target instruction can be prestored in the encoding device and the decoding device, the preset image can be a desktop image, when the target instruction is to click a switch key in an original frame image and switch to the desktop image, the encoding device only needs to send the target instruction, and the decoding device can obtain the preset image, namely the desktop image, according to the target instruction and display the desktop image, so that the effect of sending the target frame image can be achieved.
The processing process directly transmits the target instruction without comparing with the original frame image or transmitting the target frame image, so that the data transmission efficiency and the data processing efficiency can be effectively improved.
The second method comprises the following steps: and when the target instruction belongs to a second instruction set, carrying out encoding processing on the target frame image according to an image encoding rule, wherein the second instruction set comprises an image switching instruction set.
The processing process does not need to waste any image comparison resource and time, and directly transmits the picture, so that the data processing efficiency can be effectively improved.
In an optional embodiment, the destination data packet in the method provided by the present disclosure may further include a destination instruction, and therefore, when generating the destination data packet, the method further includes:
acquiring identification information corresponding to the target instruction;
and marking the coded image according to the identification information, and then sending the coded image to a decoding device.
Furthermore, the identification information corresponding to the target instruction provided in the present disclosure needs to be synchronously stored in the decoding device and the encoding device in advance, so as to ensure that the target instruction obtained after the decoding device analyzes the identification information after acquiring the identification information is consistent with the target instruction sent by the decoding device.
In an optional embodiment of the present invention, when the operation instruction executed by the user on the current frame desktop image is not an instruction in the predefined instruction set, the next frame desktop image may be encoded according to an existing arbitrary encoding method, which is not limited herein.
The data processing method provided by the embodiment of the disclosure is applied to a coding device, and after the coding device acquires an original frame image, a target instruction corresponding to the original frame image is detected, a target instruction set corresponding to the target instruction is determined in a preset instruction set, a target coding rule is determined according to the target instruction set, and the target frame image is coded according to the target coding rule. According to the method and the device, the characteristics of the next frame image, namely the target frame image, corresponding to the original frame image after the target instruction processing can be determined according to the characteristics of the target instruction for processing the original frame image, and the target frame image is coded according to the characteristics of the target frame image, so that the step that the target frame image is compared with the original frame image and then coded in the prior art is avoided, the coding efficiency is improved, and the bandwidth of data transmission is reduced.
Example two
Based on the data processing method provided by the embodiment corresponding to fig. 1, another embodiment of the present disclosure provides a data processing method, which may be applied to a decoding device, for example, the decoding device may also be a terminal device or a network server. Referring to fig. 2, the data processing method provided in this embodiment includes the following steps:
201. and acquiring a target data packet.
The target data packet in the method provided by the present disclosure includes a target frame image and identification information, the identification information indicating a target instruction, the target frame image being generated by processing an original frame image according to the target instruction, the original frame image being generated by capturing a desktop image of a target device, the target instruction indicating processing of the original frame image.
202. And acquiring a target instruction corresponding to the identification information according to the identification information, and determining a target instruction set corresponding to the target instruction in the preset instruction set.
The preset instruction set may be determined according to an operation on the original frame image, or may be determined according to other division criteria, where the preset instruction set may be divided into a first instruction set and a second instruction set according to an operation area on the target frame image, where the first instruction set includes an image switching instruction set.
203. And determining a target decoding rule according to the target instruction set, and decoding the target data packet through the target decoding rule to obtain a target frame image.
In the data processing method provided by the present disclosure, for the preset instruction set in the above steps, a decoding strategy corresponding to the target instruction set is set forth below: the decoding processing of the target data packet and the processing of obtaining the target frame image may include:
example one: when the target instruction set is the first operation instruction set, the decoding process thereof may include:
the first method is as follows: when the target instruction set belongs to a first instruction set, determining a target macro block in the target image frame according to the target instruction, wherein the first instruction set is a target area operation instruction set, and the target macro block is determined according to a target operation area in the target instruction;
and decoding the target data packet by decoding the target macro block and decoding macro blocks except the target macro block in the target data packet according to the original frame image.
The second method comprises the following steps: when the target instruction set belongs to a first instruction set, analyzing the target instruction, and acquiring operation information of the target instruction according to an analysis result, wherein the operation information comprises operation area information corresponding to the target instruction;
and decoding the target data packet by the operation information and the target macro block to obtain a target frame image.
For example, position information corresponding to the target macro block is obtained according to the operation information, a preset image corresponding to the target instruction is obtained according to the operation information, and the target macro block is obtained according to the position information and the preset image.
The decoding processing procedure improves the efficiency of image processing through the decoding processing of the operation information.
Example two: when the target instruction set is the second operation instruction set, the decoding process may include:
the first method is as follows: when the target instruction belongs to a second instruction set, searching a preset image corresponding to the target instruction according to the target instruction, wherein the second instruction set comprises an image switching instruction set;
and decoding the target data packet by decoding the preset image to obtain a target frame image.
The decoding of the target instruction replaces the image decoding processing in the prior art, so that the efficiency of decoding processing is improved.
The second method comprises the following steps: when the target instruction belongs to the second instruction set, decoding processing is directly carried out according to the target data packet to obtain a target frame image, and the decoding processing process does not refer to the original frame image, so that the decoding efficiency is improved.
In the method provided by the present disclosure, the process of decoding the target data packet and acquiring the target frame image may include:
analyzing the identification information, and acquiring a target instruction corresponding to the identification information according to an analysis result;
determining a target instruction set corresponding to the target instruction in the preset instruction set;
and decoding the target data packet according to the target instruction set to obtain a target frame image.
For the above parsing result, the process of decoding the target data packet according to the target instruction set may include:
example one: when the target instruction set belongs to a first instruction set, determining a target macro block in the target image frame according to the target instruction, wherein the first instruction set is a target area operation instruction set, and the target macro block is determined according to a target operation area in the target instruction;
and decoding the target data packet by decoding the target macro block and decoding macro blocks except the target macro block in the target data packet according to the original frame image.
Example two, when the target instruction set belongs to the second instruction set, the target data packet can be directly decoded;
or further analyzing the target instruction, finding a target image corresponding to the target instruction in the database according to the target instruction, decoding the target data packet according to the target image to obtain target frame data,
the data processing method provided by the embodiment of the disclosure is applied to a decoding device, and after the decoding device acquires a target data packet, a target instruction set corresponding to a target instruction is determined by the target instruction in the target data packet, a target decoding rule is determined according to the target instruction set, and finally the target data packet is decoded according to the target decoding rule.
EXAMPLE III
Based on the data processing method described in the embodiment corresponding to fig. 1, the following is an embodiment of the apparatus of the present disclosure, which may be used to execute an embodiment of the method of the present disclosure.
The disclosed embodiment provides an encoding apparatus, and as shown in fig. 3, the data encoding apparatus 30 includes:
a receiver 301, a processor 302 and a transmitter 303,
the processor 302 is connected to the receiver 301 and the transmitter 303 respectively,
the receiver 301 is configured to acquire an original frame image, where the original frame image is generated by a desktop image of an acquisition target device;
the processor 302 is configured to, when a target instruction corresponding to the original frame image is detected, determine a target instruction set corresponding to the target instruction in a preset instruction set, where the target instruction is used to instruct to process the original frame image;
determining a target coding rule according to the target instruction set, and coding a target frame image according to the target coding rule, wherein the target frame image is a next frame image corresponding to an original frame image generated after the original frame image is processed according to a target instruction;
and is used for generating a target data packet according to the encoded target frame image and the target instruction.
The transmitter 303 is configured to transmit the target packet.
According to the encoding device provided by the embodiment of the disclosure, after an original frame image is acquired, a target instruction corresponding to the original frame image is detected, a target instruction set corresponding to the target instruction is determined in a preset instruction set, a target rule is determined according to the target instruction set, and an encoding rule is performed on the original frame image according to the target rule. According to the method and the device, the characteristics of the next frame image, namely the target frame image, corresponding to the original frame image after the target instruction processing can be determined according to the characteristics of the target instruction for processing the original frame image, and the encoding processing is carried out according to the characteristics of the target frame image, so that the step that the original frame image is compared with the original frame image and then encoded in the prior art is avoided, the encoding efficiency is improved, and the bandwidth of data transmission is reduced.
Example four
Based on the data processing method described in the embodiment corresponding to fig. 2, the following is an embodiment of the apparatus of the present disclosure, which may be used to execute an embodiment of the method of the present disclosure.
An embodiment of the present disclosure provides a decoding apparatus, as shown in fig. 4, the decoding apparatus 40 includes: a receiver 401, a processor 402, the processor is connected with the receiver;
the receiver 401 is configured to obtain a target data packet, where the target data packet includes a target frame image and identification information, the identification information indicating a target instruction, the target frame image is generated by processing an original frame image according to the target instruction, the original frame image is generated by acquiring a desktop image of a target device, and the target instruction indicates processing of the original frame image;
the processor 402 is configured to obtain a target instruction corresponding to the identification information according to the identification information, and determine a target instruction set corresponding to the target instruction in the preset instruction set;
and determining a target decoding rule according to the target instruction set, and decoding the target data packet through the target decoding rule to obtain a target frame image.
In an alternative example, the decoding apparatus may further include a display for displaying the target frame image.
Based on the data processing method described in the embodiment corresponding to fig. 1 and fig. 2, an embodiment of the present disclosure further provides a computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores computer instructions for executing the data processing method described in the embodiment corresponding to fig. 1 and fig. 2, which is not described herein again.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the 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. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A data processing method applied to an encoding apparatus, the method comprising:
acquiring an original frame image, wherein the original frame image is generated by acquiring a desktop image of a target device;
when a target instruction corresponding to the original frame image is detected, determining a target instruction set corresponding to the target instruction in a preset instruction set, wherein the target instruction is used for instructing to process the original frame image;
and determining a target coding rule according to the target instruction set, and coding a target frame image according to the target coding rule, wherein the target frame image is a next frame image generated after the original frame image is processed according to the target instruction.
2. The method according to claim 1, wherein said encoding the target frame image comprises:
when the target instruction set belongs to a first instruction set, determining a target macro block in the target image frame according to the target instruction, wherein the first instruction set comprises an instruction set for operating a target area, and the target macro block is determined according to the target area in the target instruction;
and coding the target macro block according to the target frame image, coding macro blocks except the target macro block in the target frame image according to the original frame image, and coding the target frame image.
3. The method according to claim 1, wherein said encoding the target frame image comprises:
when the target instruction belongs to a second instruction set, encoding the target frame image according to an image encoding rule and the target frame image, wherein the second instruction set comprises an image switching instruction set;
or coding the target frame image by coding the target instruction.
4. The method according to claim 2, wherein said encoding said target macroblock comprises:
analyzing the target instruction, and acquiring operation information of the target instruction according to an analysis result, wherein the operation information comprises operation area information corresponding to the target instruction;
and encoding the target macro block by encoding the operation information.
5. The method of claim 1, wherein the pairing method further comprises:
acquiring identification information corresponding to the target instruction;
and marking the coded target frame image according to the identification information, generating a target data packet, and sending the target data packet to decoding equipment.
6. A data processing method applied to a decoding device, the method comprising:
acquiring a target data packet, wherein the target data packet comprises a target frame image and identification information, the identification information is used for indicating a target instruction, the target frame image is generated by processing an original frame image according to the target instruction, the original frame image is generated by acquiring a desktop image of a target device, and the target instruction is used for indicating the original frame image to be processed;
acquiring a target instruction corresponding to the identification information according to the identification information, and determining a target instruction set corresponding to the target instruction in a preset instruction set;
and determining a target decoding rule according to the target instruction set, and decoding the target data packet according to the target decoding rule to obtain a target frame image.
7. The method of claim 6, wherein said obtaining a target frame image comprises:
when the target instruction set belongs to a first instruction set, determining a target macro block in the target image frame according to the target instruction, wherein the first instruction set is a target region operation instruction set, and the target macro block is determined according to a target operation region in the target instruction;
and decoding the target data packet by decoding the target macro block and decoding macro blocks except the target macro block in the target data packet according to the original frame image to obtain a target frame image.
8. The method of claim 6, wherein said obtaining a target frame image comprises:
when the target instruction belongs to a second instruction set, searching a preset image corresponding to the target instruction according to the target instruction, wherein the second instruction set comprises an image switching instruction set;
and decoding the preset image to obtain a target frame image.
9. An encoding device, characterized by comprising: a receiver, a processor and a transmitter,
the processor is connected with the receiver and the transmitter respectively,
the receiver is used for acquiring an original frame image, and the original frame image is generated by a desktop image of an acquisition target device;
the processor is configured to determine, when a target instruction corresponding to the original frame image is detected, a target instruction set corresponding to the target instruction in a preset instruction set, where the target instruction is used to instruct to process the original frame image;
determining a target coding rule according to the target instruction set, and coding a target frame image according to the target coding rule, wherein the target frame image is a next frame image corresponding to an original frame image generated after the original frame image is processed according to a target instruction;
generating a target data packet according to the coded target frame image and the target instruction;
the transmitter is used for transmitting the target data packet.
10. A decoding device, characterized by comprising: the processor is connected with the receiver;
the receiver is used for acquiring a target data packet, wherein the target data packet comprises a target frame image and identification information, the identification information is used for indicating a target instruction, the target frame image is generated by processing a raw frame image according to the target instruction, the raw frame image is generated by acquiring a desktop image of a target device, and the target instruction is used for indicating the raw frame image to be processed;
the processor is used for acquiring a target instruction corresponding to the identification information according to the identification information and determining a target instruction set corresponding to the target instruction in a preset instruction set;
and determining a target decoding rule according to the target instruction set, and decoding the target data packet according to the target decoding rule to obtain a target frame image.
CN202010183570.4A 2020-03-16 2020-03-16 Data processing method and device Pending CN111447450A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010183570.4A CN111447450A (en) 2020-03-16 2020-03-16 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010183570.4A CN111447450A (en) 2020-03-16 2020-03-16 Data processing method and device

Publications (1)

Publication Number Publication Date
CN111447450A true CN111447450A (en) 2020-07-24

Family

ID=71652310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010183570.4A Pending CN111447450A (en) 2020-03-16 2020-03-16 Data processing method and device

Country Status (1)

Country Link
CN (1) CN111447450A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100104021A1 (en) * 2008-10-27 2010-04-29 Advanced Micro Devices, Inc. Remote Transmission and Display of Video Data Using Standard H.264-Based Video Codecs
CN103412701A (en) * 2012-11-01 2013-11-27 华为技术有限公司 Method and device for processing remote desktop images
CN103873886A (en) * 2012-12-14 2014-06-18 华为技术有限公司 Image information processing method, device and system
CN105681791A (en) * 2016-01-18 2016-06-15 武汉理工大学 Self-adaptive remote desktop transmission method and system
CN105791825A (en) * 2016-03-11 2016-07-20 武汉大学 Screen image coding method based on H.264 and HSV color quantization
CN109831668A (en) * 2018-12-29 2019-05-31 中兴通讯股份有限公司 Data compression method and apparatus, data encoding/decoding method and device
CN110740316A (en) * 2019-09-09 2020-01-31 西安万像电子科技有限公司 Data coding method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100104021A1 (en) * 2008-10-27 2010-04-29 Advanced Micro Devices, Inc. Remote Transmission and Display of Video Data Using Standard H.264-Based Video Codecs
CN103412701A (en) * 2012-11-01 2013-11-27 华为技术有限公司 Method and device for processing remote desktop images
CN103873886A (en) * 2012-12-14 2014-06-18 华为技术有限公司 Image information processing method, device and system
CN105681791A (en) * 2016-01-18 2016-06-15 武汉理工大学 Self-adaptive remote desktop transmission method and system
CN105791825A (en) * 2016-03-11 2016-07-20 武汉大学 Screen image coding method based on H.264 and HSV color quantization
CN109831668A (en) * 2018-12-29 2019-05-31 中兴通讯股份有限公司 Data compression method and apparatus, data encoding/decoding method and device
CN110740316A (en) * 2019-09-09 2020-01-31 西安万像电子科技有限公司 Data coding method and device

Similar Documents

Publication Publication Date Title
CN102203760B (en) Remote computing platforms providing high-fidelity display and interactivity for clients
CN109040792B (en) Processing method for video redirection, cloud terminal and cloud desktop server
CN109309842B (en) Live broadcast data processing method and device, computer equipment and storage medium
US7251774B2 (en) System for describing markup language for mobile use, and information processing apparatus and program for generating display content
KR101596505B1 (en) Apparatus and method of an user interface in a multimedia system
US11470387B2 (en) Methods, systems, and media for remote rendering of Web content on a television device
US20090006977A1 (en) Method and System of Computer Remote Control that Optimized for Low Bandwidth Network and Low Level Personal Communication Terminal Device
JP2024518227A (en) Data processing method, device, equipment and computer program
CN115767092A (en) Image transmission method, cloud desktop, image transmission system, image transmission equipment and product
KR20220061926A (en) Method and apparatus for switching skin of mini-program page, and electronic device
US9729931B2 (en) System for managing detection of advertisements in an electronic device, for example in a digital TV decoder
CN111866058B (en) Data processing method and system
CN111752722A (en) Data transmission method and equipment
CN111447450A (en) Data processing method and device
CN111031325A (en) Data processing method and system
US20080036695A1 (en) Image display device, image display method and computer readable medium
CN106383705B (en) Method and device for setting mouse display state in application thin client
CN111787410B (en) Keyboard input method and keyboard input device
US9324054B2 (en) Cross-platform document exchange using mobile devices
CN111541940B (en) Motion compensation method and device for display equipment, television and storage medium
JP2008112339A (en) Repeater device and relay method
CN112040171B (en) Auxiliary stream display method, system, equipment and storage medium for video conference
CN114390313B (en) Method and system for redirecting audio and Video of browser HTML5 Video tag
CN111722899A (en) Image processing method, device and image transmission system
CN113434236A (en) Display switching method and device of cloud desktop

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

Application publication date: 20200724