CN111800631A - Data processing method and system - Google Patents

Data processing method and system Download PDF

Info

Publication number
CN111800631A
CN111800631A CN202010576141.3A CN202010576141A CN111800631A CN 111800631 A CN111800631 A CN 111800631A CN 202010576141 A CN202010576141 A CN 202010576141A CN 111800631 A CN111800631 A CN 111800631A
Authority
CN
China
Prior art keywords
sequence
target
preset
target image
image sequence
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
CN202010576141.3A
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 CN202010576141.3A priority Critical patent/CN111800631A/en
Publication of CN111800631A publication Critical patent/CN111800631A/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/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/142Detection of scene cut or scene change
    • 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/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/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/159Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
    • 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

Abstract

The invention provides a data processing method and a data processing system, relates to the technical field of electronic information, and can solve the problem of large data volume of encoding and decoding processing when images are transmitted in a cloud desktop system. The specific technical scheme is as follows: when the coding equipment acquires a target image, firstly searching a target image sequence containing the target image in at least one preset image sequence, when the target image sequence is searched, acquiring a preset reference frame and target sequence identification information corresponding to the target image sequence, and coding the target image according to the preset reference frame and the target sequence identification information. The present disclosure is used for image encoding processing and decoding processing.

Description

Data processing method and system
Technical Field
The present disclosure relates to the field of electronic information technologies, and in particular, to a data processing method and system.
Background
With the increasingly higher personalization requirements of enterprises, VDI (Virtual Desktop Infrastructure) is popular with more and more enterprises. The VDI can virtualize a plurality of virtual machines VM (virtual machine) on a server with strong performance through a desktop virtualization technology, a user and an administrator can install an operating system, an application program and the like in the VM, and the administrator can allocate one or more VMs to one or more users as required. And a user desktop does not need to deploy a personal computer with strong performance, and only needs to deploy a safe and easily managed zero terminal to connect to the VM of the data center. The user can input a user name and a password in the zero terminal, the zero terminal sends the input user name and the input password to the server for user authentication, if the user authentication of the server is passed, the server transmits a display picture of the VM to the zero terminal and displays the display picture to the user, and meanwhile, the user can operate the VM through the zero terminal.
When the VDI system is used in an office environment, a user frequently switches the use interfaces of multiple applications when using the VM, for example, WORD, web page, and PPT are opened simultaneously, and when the use interfaces are continuously switched, because the difference between the pictures of the use interfaces of different applications is large, when transmitting images of different use interfaces, if the picture quality of the VM end is to be improved, the data amount transmitted by the server code is increased; if the amount of encoded data is limited, the quality of the picture at the VM end is affected.
Disclosure of Invention
The embodiment of the disclosure provides a data processing method and system, which can solve the problem of large coding and decoding data volume during image transmission in a desktop transmission system. The technical scheme is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided a data processing method applied to an encoding device, including:
acquiring a target image to be coded;
according to a preset algorithm, when a target image sequence containing the target image is found in at least one preset image sequence, acquiring target sequence identification information and a preset reference frame corresponding to the target image sequence;
and performing interframe coding processing on the target image according to the preset reference frame and the target sequence identification information to generate coded data.
In one embodiment, the method for finding a target image sequence containing the target image from at least one preset image sequence includes:
processing the target image to obtain a target image characteristic value of the target image;
acquiring at least one preset image characteristic value corresponding to the at least one preset image sequence according to the at least one preset image sequence;
comparing the target image characteristic value with the at least one preset image characteristic value one by one, and determining that the preset image sequence contains the target image when the comparison result of the target image characteristic value and the preset target characteristic value is within a preset threshold value.
In one embodiment, the method further comprises:
according to the characteristic value of the target image, when a preset image sequence containing the target image cannot be found in at least one preset image sequence, a target image sequence is created in the at least one preset image sequence according to the target image;
and carrying out coding processing on the target image according to the target image sequence.
In one embodiment, the method for creating a sequence of target images from the target images comprises:
acquiring sequence identification information corresponding to the target image;
and determining a target reference frame corresponding to the target image sequence according to the target image.
And creating the target image sequence according to the sequence identification information and the target reference frame.
In one embodiment, the acquiring a preset reference frame corresponding to the target image sequence in the method includes:
acquiring target sequence identification information corresponding to the preset image sequence;
and searching a preset reference frame corresponding to the target image sequence in a target mapping according to the target sequence identification information, wherein the target mapping is used for indicating the corresponding relation between the sequence identification information corresponding to the preset image sequence and the reference frame corresponding to the preset image sequence.
According to a second aspect of the embodiments of the present disclosure, there is provided a data processing method applied to a decoding device, including:
acquiring coded data, wherein the coded data comprise a target image and target sequence identification information, and the target sequence identification information is used for indicating a target image sequence corresponding to the target image;
according to the target sequence identification information, when a target image sequence corresponding to the target sequence identification information is found in a preset image sequence, a preset reference frame corresponding to the target image sequence is obtained;
and decoding the coded data according to the preset reference frame to obtain a target image.
According to a third aspect of the embodiments of the present disclosure, there is provided a data processing system, which is applied to a decoding device, including: an encoding device, a decoding device, the encoding device being connected to the decoding device,
the encoding device is used for acquiring a target image, wherein the target image comprises an operation interface image of a server;
according to a preset algorithm, when a target image sequence containing the target image is found in at least one preset image sequence, a preset reference frame corresponding to the target image sequence is obtained, wherein the preset image sequence comprises a historical operation interface image of the server;
according to the preset reference frame and the target sequence identification information, performing interframe coding processing on the target image to generate coded data, and sending the coded data to the decoding equipment;
the decoding device is used for acquiring coded data, wherein the coded data comprises a target image and target sequence identification information, and the target sequence identification information is used for indicating a target image sequence corresponding to the target image;
according to the target sequence identification information, when a target image sequence corresponding to the target sequence identification information is found in a preset image sequence, acquiring a preset reference frame and target sequence identification information corresponding to the target image sequence;
and decoding the coded data according to the preset reference frame to obtain a target 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 logic diagram 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. 3a is table 1 in a data processing method provided by an embodiment of the present disclosure;
fig. 3b is a table 2 in a data processing method provided by the embodiment of the present disclosure;
FIG. 4 is a flowchart 2 of a data processing method provided by an embodiment of the present disclosure;
fig. 5a is a table 3 in a data processing method provided by an embodiment of the present disclosure;
FIG. 5b is a table 4 in a data processing method provided by an embodiment of the present disclosure;
FIG. 6 is a block diagram of a data processing system 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.
Referring to fig. 1, a schematic flow chart logic diagram illustrating a data processing method provided by the present disclosure is shown. In the method, after acquiring a target image, an encoder searches a target image sequence corresponding to the target image according to a pre-stored image sequence, encodes the target image according to the target image sequence, and then sends the encoded target image to a decoder, and the decoder searches the pre-stored image sequence according to the encoded data, searches the target image sequence corresponding to the identification information of the target sequence, and decodes the target image according to the target image sequence. Specifically, the left storage logic schematic and the right storage logic schematic are both the correspondence between the reference frame of each image sequence and the sequence number of each image sequence, the left storage logic schematic is stored in the memory 1, and the right storage logic schematic is stored in the memory 2. In the scenario that the decoder and the encoder are close to each other, a memory may be used, which may be determined according to actual situations.
Example one
The disclosed embodiment provides a data processing method, as shown in fig. 1, the method is applied to an encoding device, and the data encoding method includes the following steps:
101. and acquiring a target image to be coded.
The target image in the method provided by the disclosure can comprise a terminal device remote control server, and the server responds to the remotely operated interface image; the method also comprises the step that the terminal equipment accesses a server, and the server sends the desktop image.
The obtaining of the target image in the method provided by the present disclosure may be that the server obtains an interface image responding to an operation instruction of the terminal device, and sends the target image to the terminal device, so as to achieve a technical effect of remotely controlling the server through the target image, and specifically, the target image may be encoded through an encoder in the server.
102. According to a preset algorithm, when a target image sequence containing the target image is found in at least one preset image sequence, a preset reference frame and target sequence identification information corresponding to the target image sequence are obtained.
The preset image sequence may include a historical operation interface image of the server.
The method provided by the disclosure further comprises the step of creating a preset image sequence, wherein the preset image sequence can be generated according to the image with the utilization rate higher than the threshold value in the history record, and can also be generated according to the operation interface image of the target software in the server. For example, a preset image sequence is generated according to a word software toolbar image, when a server transmits a word operation interface image to a terminal device, the probability of change of the toolbar image is smaller than a threshold value, and is not changed in the daily use process, so that when the toolbar image is coded and transmitted, the preset image sequence can be used as a coding reference image, and the coding data amount is reduced.
Further, in the method provided by the present disclosure, sequence identification information may be generated for the preset image sequence, and the preset image sequence may be identified by the sequence identification information, so that a plurality of preset image sequences may be distinguished by the sequence identification information, where the sequence identification information may be a sequence number.
After the preset image sequence is generated in the method provided by the disclosure, the image characteristic value corresponding to the preset image sequence and the preset reference frame of the preset image sequence are also obtained, and the mapping relation between each preset reference frame and each preset image sequence is established.
In a specific implementation, the method provided by the present disclosure may establish a corresponding relationship between preset image sequences and image feature values by establishing a table, where each image sequence is respectively labeled by a sequence number, as shown in fig. 3 a: as can be seen from the table lookup, the image feature value corresponding to the image sequence number 1 is the a feature value, and the image sequence corresponding to the image sequence number 1 is the image sequence a.
Further, the method provided by the present disclosure may further establish a corresponding relationship between the reference frame of each image sequence and the sequence number of each image sequence by establishing a table, as shown in fig. 5b, by looking up the table, it can be known that: the reference frame corresponding to the image sequence number 1 is an A reference frame, and the image sequence corresponding to the image sequence number 1 is an image sequence A.
The method provided by the present disclosure can compare the target image frame with a preset image sequence through the image feature value, so as to determine whether the target image belongs to the preset image sequence, and the specific determination method includes:
in the step, firstly, extracting an image characteristic value of a target frame image, wherein the target image characteristic value of the target image can be extracted from the target image by using a perceptual Hash algorithm, such as a-Hash, p-Hash, d-Hash and the like;
searching in the corresponding relation between the preset image sequence and the image characteristic value according to the extracted target image characteristic value, wherein the specific search can be searched by a table in fig. 3 a;
if the target frame image can be found, the image sequence to which the target frame image belongs is a preset target image sequence, and a preset reference frame corresponding to the preset target image sequence can be used for coding;
if not, it indicates that the image sequence to which the target frame image belongs is not a preset image sequence, and cannot be encoded by using a reference frame corresponding to the preset image sequence.
The target image frame is found in the preset image sequence, and the target image frame can be determined according to the difference between the two images: when the difference between the image feature value extracted from the target frame image and the image feature value extracted from the preset image sequence is smaller than the preset feature value threshold, the target frame image can be considered to belong to the image sequence corresponding to the preset image feature value.
It can be understood that images with image feature values belonging to the same image sequence are all similar. The same reference frame can be used for interframe coding, the image quality is higher, and the code stream is smaller. Even in a scene of page switching, the image sequence of the image can be found according to the image characteristic value of the image, and then the reference frame corresponding to the image sequence can be found.
For example, an a-Hash algorithm is used to extract an image feature value, and the preset feature value threshold may be a hamming distance (the hamming distance between 2 vectors is defined as the percentage of different components of the 2 vectors), and specifically, the threshold may be set to (0.25); the image feature value extracted from the target frame image a is (1010101010), the image feature value corresponding to the preset image sequence a is (1010101011), and as can be seen, the hamming distance between the two is (0.1), and is smaller than the preset feature value threshold, it can be considered that the target frame image a belongs to the image sequence a.
In the specific implementation process, if the preset image sequence comprises a plurality of images, the preset image sequence can be compared one by one to confirm that the specific image comprises the target frame image
The finding of the reference frame corresponding to the target image sequence in the method provided by the present disclosure may include:
according to the sequence identification information of the target image sequence to which the target image belongs, the reference frame corresponding to the sequence identification information is searched in the database, and the corresponding relationship between the reference frame of at least one image sequence and the sequence number identification information of at least one image sequence is stored in the memory of the specific server in advance, so that the reference frame corresponding to the target image can be searched through the sequence identification information, and the specific search can be searched through the table in fig. 3 b.
103. And performing interframe coding on the target frame image according to the preset reference frame and the target sequence identification information to generate coded data.
The method for inter-frame coding the target image to generate coded data includes:
acquiring sequence identification information corresponding to the target preset image, wherein the sequence identification information can be a serial number of an image serial number;
and generating the coded data after marking the preset reference frame by the sequence identification information.
By the sequence identification information, the decoding device can find the reference frame used when the target image is coded, so that the decoding efficiency is improved.
According to the method, when the target image is not found in the preset image sequence, a new image sequence is generated according to the target image, and coding processing is carried out. And the encoder performs intra-frame encoding on the target data to generate encoded data, wherein the encoded data carries the sequence identification information of the new image sequence.
It will be appreciated that the encoder will only perform intra-frame encoding if the image to be encoded belongs to a new image sequence, and the encoded data will only include the reference frame.
After a new image sequence is created, the method provided by the disclosure can send the new image sequence and the identification information thereof and the reference frame image to the encoding device, thereby ensuring that the same reference frame can be used for encoding and decoding, and achieving the effect of improving the encoding and decoding processing efficiency.
In a specific practical process, an encoder in a server creates and stores a new image sequence, the target image belongs to the new image sequence, and the target image and identification information corresponding to the target image are sent to a memory; the memory stores the target image as a reference frame of a new target image sequence.
After the memory receives the target image and the sequence number of the target image sequence, the memory stores the target image as a reference frame of a new target image sequence, and establishes a corresponding relation between the reference frame of the new image sequence and the sequence number of the new image sequence.
The data processing method provided by the embodiment of the disclosure is applied to an encoding device, when the encoding device acquires a target image, a target image sequence including the target image is firstly searched in at least one preset image sequence, when the target image sequence is searched, a preset reference frame corresponding to the target image sequence is acquired, and the target image is encoded according to the preset reference frame.
In the method provided by the disclosure, each preset image sequence corresponds to a reference frame, and when the same image sequence is coded, the reference frame corresponding to the image sequence is used for coding; meanwhile, the reference frames corresponding to the image sequences are saved in the decoding equipment, and the reference frames corresponding to the image sequences are used for decoding the coded data of the same image sequence. Therefore, under the scene of image switching, different reference frames are respectively used for images belonging to different image sequences so as to ensure the picture quality, and in addition, the reference frames in the coded data sent to the decoding end by the coding end are less, so that the coded data amount is smaller.
Example two
Based on the data encoding method provided by the embodiment corresponding to fig. 2, another embodiment of the present disclosure provides a data decoding method, which can be applied to a terminal device to decode a target image sent by a processing server. Referring to fig. 4, the data processing method provided in this embodiment includes the following steps:
301. obtaining coded data
The coded data refers to a target image which is coded and processed, and the coded data comprises target sequence identification information of a preset image sequence; the target sequence identification information may include a sequence number of the target image sequence, thereby facilitating finding the target image sequence among a plurality of stored preset image sequences.
In a specific practice, the acquired encoded image in the method provided by the present disclosure may be encoded data sent by a terminal device decoding processing server, where the encoded data may be data obtained by performing encoding processing on an interface image acquired by the server in response to an operation instruction of the terminal device, and specifically, the encoded image may be decoded by a decoder in the terminal device.
The encoded data provided by the present disclosure includes a target image and target sequence identification information, where the target sequence identification information is used to indicate a preset image sequence corresponding to the target image.
302. And according to the target sequence identification information, when the target image sequence corresponding to the target sequence identification information is found in a preset image sequence, acquiring a preset reference frame corresponding to the target image sequence.
In the decoding method provided by the present disclosure, a preset image sequence list is stored, where the preset image sequence list includes image sequences and each image sequence corresponds to a sequence number, as shown in fig. 5a, it can be known through table lookup that: the image sequence with the image sequence number 1 is the image sequence a.
In the decoding method provided by the present disclosure, the correspondence between the reference frame of each image sequence and the sequence number of the corresponding image sequence of each image sequence is also stored, as shown in fig. 5b, it can be known through table lookup that: the reference frame corresponding to the image sequence number 1 is a reference frame a.
In summary, in the decoding method provided by the present disclosure, the first corresponding relationship between the identification information and the preset image sequence is consistent with the second corresponding relationship between the identification information and the reference frame image corresponding to the preset image sequence. For example, the preset image sequence a corresponding to the sequence number 1 may be found in fig. 5a and 5b by using the sequence number 1, or the reference frame a corresponding to the sequence number 1 may be found by using the sequence number 1, that is, it can be known that the reference frame a is a reference frame corresponding to the preset image sequence a.
When judging whether the identification information has a corresponding preset image, the method searches the reference frame corresponding to the sequence number in the pre-stored correspondence between the reference frame of each image sequence and the sequence number of each image sequence according to the sequence number of the image sequence analyzed from the encoded data, and the processing process comprises the following steps:
analyzing the coded data, and acquiring identification information according to an analysis result;
according to the identification information, searching whether a target image sequence matched with the identification information exists in a preset image sequence list;
if the target image sequence matched with the identification information is found, acquiring a reference frame image corresponding to the target image sequence;
if the target image sequence corresponding to the data to be decoded is not found, the preset image sequence does not include the target image sequence corresponding to the data to be decoded, the encoded data is generated by intra-frame encoding, and a reference frame required for decoding the encoded data is not stored in the memory 2.
In the method provided by the present disclosure, when a target image sequence corresponding to the target sequence identification information is not found in a preset image sequence, a target image sequence may be created according to encoded data, which specifically includes:
decoding the coded data to obtain a complete target image;
creating a new image sequence according to the target image and the target sequence identification information, and establishing a mapping relation between the target sequence identification information and the new image sequence;
and storing the target image sequence, the target sequence identification information and the mapping relation into a second memory.
Furthermore, a new target image sequence can be processed, the target frame image is used as a reference frame corresponding to the target image sequence, and a mapping relation between the reference frame and the target sequence identification information is established
Through the above processing, the decoding method provided by the present disclosure may determine, according to the identification information carried in the encoded data, such as the sequence number, that the new target image sequence is included in the preset image sequence list when the encoded data generated by inter-frame encoding through the target image sequence is encountered next time, and then obtain the required reference frame from the memory 2 according to the identification information.
303. And decoding the coded data according to the preset reference frame to obtain a target frame image.
The method provided by the present disclosure decodes the encoded data by using the preset reference frame to obtain a complete target image.
Furthermore, in order to improve the decoding efficiency, the present disclosure may further replace the reference frame corresponding to the target image sequence in the correspondence relationship by the target image, and through the replacement processing, the reference frame corresponding to each image sequence stored in the memory may be continuously updated, so that the image during encoding and decoding is as close as possible to the reference frame, which not only can reduce the encoded data, but also can improve the image quality of the decoding processing.
In the specific practice process of the method provided by the disclosure, the complete image obtained by decoding and the serial number of the resolved image sequence can be sent to the memory through the decoder; the memory replaces the reference frame corresponding to the sequence number of the analyzed image sequence with the complete image, that is, the decoded complete image is used to update the reference frame of the image sequence to which the complete image belongs.
The data processing method provided by the embodiment of the disclosure is applied to a decoding device, when the decoding device acquires encoded data, the encoded data is firstly analyzed to acquire preset identification information corresponding to the encoded data, a target image sequence corresponding to the preset identification information is searched in at least one preset image sequence according to the preset identification information, when the target image sequence is searched, a preset reference frame corresponding to the target image sequence is acquired, and the encoding is decoded according to the preset reference frame. According to the decoding method and device, the encoded data are decoded through the pre-stored reference frame during decompression processing, the decoding processing efficiency can be improved, and the decoding quality can also be guaranteed.
Example 3
Based on the data processing code method described in the embodiments corresponding to fig. 2 and fig. 4, the following is an embodiment of the system 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 data processing system, as shown in fig. 6, the data processing system 60 includes:
the system 60 includes: an encoding device 601, a decoding device 602; the encoding device 601 is connected to the decoding device 602,
the encoding device 601 is configured to obtain a target image, where the target image includes an operation interface image of a server;
according to a preset algorithm, when a target image sequence containing the target image is found in at least one preset image sequence, acquiring a preset reference frame and target sequence identification information corresponding to the target image sequence, wherein the preset image sequence can comprise a historical operation interface image of the server;
according to the preset reference frame and the target sequence identification information, inter-frame coding processing is performed on the target image to generate coded data, and the coded data is sent to the decoding device 602.
The encoding device 601 is further configured to, according to the target image feature value, create a target image sequence in at least one preset image sequence according to the target image when the preset image sequence including the target image is not found in the at least one preset image sequence;
and according to the target image sequence, carrying out coding processing on the target image.
The decoding device 602 is configured to obtain encoded data, where the encoded data includes a target image and target sequence identification information, and the target sequence identification information is used to indicate a target image sequence corresponding to the target image;
according to the sequence identification information, when a target image sequence corresponding to the target sequence identification information is found in a preset image sequence, a preset reference frame corresponding to the target image sequence is obtained;
and decoding the coded data according to the preset reference frame to obtain a target image.
The decoding device 602 is further configured to, when the identification information of the target sequence is not found in the identification information in the preset image sequence, perform decoding processing on the encoded data according to a preset decoding rule to obtain a target image;
and creating a target image sequence in the at least one preset image sequence according to the target image.
In one embodiment, the system 60 further comprises a first memory 603 and a second memory 604, the first memory 603 being connected to the encoding device 601;
the second memory 604 is connected to the decoding device 602;
the first memory 603 is configured to store the at least one preset image sequence, a preset image feature value corresponding to the preset image sequence, a preset reference frame corresponding to the preset image sequence, and sequence identification information corresponding to the preset image sequence.
The first memory 603 is further configured to, when the first memory 603 receives a first query instruction sent by the encoding device 601, instruct to search a corresponding target image sequence in a preset image sequence according to a target image feature value corresponding to a target image;
and generating a query result according to the first query instruction, wherein the query result comprises: when the target image sequence is found, the target image sequence, the preset reference frame corresponding to the target image sequence, and the sequence identification information corresponding to the preset image sequence are sent to the encoding device 601.
When the target image sequence cannot be found, the search failure information is sent to the encoding apparatus 601.
The first memory 603 is used for receiving the newly created target image sequence sent by the encoding apparatus 601.
The second memory 604 is configured to store the at least one preset image sequence, a preset reference frame corresponding to the preset image sequence, and sequence identification information corresponding to the preset image sequence.
When the second memory 604 receives a first query instruction sent by the decoding device 602, the first query instruction is used to instruct to search a corresponding target image sequence in a preset image sequence according to sequence identification information corresponding to an encoded image;
and generating a query result according to the second query instruction, wherein the query result comprises:
when the target image sequence is found, the target image sequence, the preset reference frame corresponding to the target image sequence, and the sequence identification information corresponding to the preset image sequence are sent to the decoding apparatus 602.
When the target image sequence cannot be found, the finding failure information is sent to the decoding apparatus 602.
In a specific implementation, the first memory and the second memory may be the same memory; the first memory may be an internal memory of the encoding apparatus or an external memory of the encoding apparatus.
The data processing system provided by the embodiment of the disclosure comprises an encoding device and a decoding device, wherein when the encoding device acquires a target image, a target image sequence containing the target image is searched in at least one preset image sequence, when the target image sequence is searched, a preset reference frame corresponding to the target image sequence is acquired, the target image is encoded according to the preset reference frame, and the encoded data is sent to the decoding device; when the decoding device acquires the coded data, the coded data is firstly analyzed to acquire preset identification information corresponding to the coded data, a target image sequence corresponding to the preset identification information is searched in at least one preset image sequence according to the preset identification information, when the target image sequence is searched, a preset reference frame corresponding to the target image sequence is acquired, and the coding is decoded according to the preset reference frame.
Based on the data processing method described in the embodiment corresponding to fig. 2 and fig. 4, 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. 2 and fig. 4, 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 a target image to be coded;
according to a preset algorithm, when a target image sequence containing the target image is found in at least one preset image sequence, acquiring target sequence identification information and a preset reference frame corresponding to the target image sequence;
and performing interframe coding processing on the target image according to the preset reference frame and the target sequence identification information to generate coded data.
2. The method according to claim 1, wherein the finding of the target image sequence containing the target image in the at least one preset image sequence comprises:
processing the target image to obtain a target image characteristic value of the target image;
acquiring at least one preset image characteristic value corresponding to the at least one preset image sequence according to the at least one preset image sequence;
and comparing the target image characteristic value with the at least one preset image characteristic value one by one, and determining that the preset image sequence contains the target image when the comparison result of the target image characteristic value and the preset target characteristic value is within a preset threshold value.
3. The method of claim 1, further comprising:
according to the target image characteristic value, when a preset image sequence containing the target image cannot be found in at least one preset image sequence, creating a target image sequence in the at least one preset image sequence according to the target image;
and according to the target image sequence, carrying out coding processing on the target image.
4. The method of claim 3, wherein creating a sequence of target images from the target image comprises:
acquiring sequence identification information corresponding to the target image;
and determining a target reference frame corresponding to the target image sequence according to the target image.
And creating the target image sequence according to the sequence identification information and the target reference frame.
5. The method according to claim 1, wherein the obtaining of the preset reference frame corresponding to the target image sequence in the method includes:
acquiring target sequence identification information corresponding to the preset image sequence;
and searching a preset reference frame corresponding to the target image sequence in a target mapping according to the target sequence identification information, wherein the target mapping is used for indicating the corresponding relation between the sequence identification information corresponding to the preset image sequence and the reference frame corresponding to the preset image sequence.
6. A data processing method, applied to a decoding device, comprising:
acquiring coded data, wherein the coded data comprise a target image and target sequence identification information, and the target sequence identification information is used for indicating a target image sequence corresponding to the target image;
according to the target sequence identification information, when a target image sequence corresponding to the target sequence identification information is found in a preset image sequence, a preset reference frame corresponding to the target image sequence is obtained;
and decoding the coded data according to the preset reference frame to obtain a target image.
7. The method of claim 6, further comprising:
when the identification information of the target sequence cannot be found in the identification information in the preset image sequence, decoding the coded data according to a preset decoding rule to obtain a target image;
and creating a target image sequence in the at least one preset image sequence according to the target image.
8. A data processing system, characterized in that the system comprises: an encoding device, a decoding device; the encoding device is connected with the decoding device,
the encoding device is used for acquiring a target image to be encoded;
according to a preset algorithm, when a target image sequence containing the target image is found in at least one preset image sequence, acquiring target sequence identification information corresponding to the target image sequence and a preset reference frame corresponding to the target image sequence, wherein the preset image sequence comprises a historical operation interface image of the server;
according to the preset reference frame and the target sequence identification information, performing interframe coding processing on the target image to generate coded data, and sending the coded data to the decoding equipment;
the decoding device is used for acquiring encoded data, wherein the encoded data comprises a target image and target sequence identification information, and the target sequence identification information is used for indicating a target image sequence corresponding to the target image;
according to the target sequence identification information, when a target image sequence corresponding to the target sequence identification information is found in a preset image sequence, a preset reference frame corresponding to the target image sequence is obtained;
and decoding the coded data according to the preset reference frame to obtain a target image.
9. The system of claim 8, further comprising a first memory and a second memory,
the first memory is connected with the coding device;
the second memory is connected with the decoding device;
the first memory is used for storing the at least one preset image sequence, a preset image characteristic value corresponding to the preset image sequence, a preset reference frame corresponding to the preset image sequence and sequence identification information corresponding to the preset image sequence;
the second memory is configured to store the at least one preset image sequence, a preset reference frame corresponding to the preset image sequence, and sequence identification information corresponding to the preset image sequence.
10. The system according to claim 8, wherein the encoding device is further configured to create a target image sequence in at least one preset image sequence according to the target image when no preset image sequence containing the target image is found in the at least one preset image sequence according to the target image feature value;
and according to the target image sequence, carrying out coding processing on the target image.
CN202010576141.3A 2020-06-22 2020-06-22 Data processing method and system Pending CN111800631A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010576141.3A CN111800631A (en) 2020-06-22 2020-06-22 Data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010576141.3A CN111800631A (en) 2020-06-22 2020-06-22 Data processing method and system

Publications (1)

Publication Number Publication Date
CN111800631A true CN111800631A (en) 2020-10-20

Family

ID=72804475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010576141.3A Pending CN111800631A (en) 2020-06-22 2020-06-22 Data processing method and system

Country Status (1)

Country Link
CN (1) CN111800631A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000299865A (en) * 1999-04-12 2000-10-24 Nec Corp Moving picture coder and its method
CN102075760A (en) * 2010-10-27 2011-05-25 无锡中星微电子有限公司 Quick movement estimation method and device
CN102215386A (en) * 2010-04-09 2011-10-12 华为技术有限公司 Video image block processing method and device
CN103618911A (en) * 2013-10-12 2014-03-05 北京视博云科技有限公司 Video streaming providing method and device based on video attribute information
CN103957341A (en) * 2014-04-30 2014-07-30 华为软件技术有限公司 Image transmission method and related device
CN104519364A (en) * 2014-12-10 2015-04-15 北京中星微电子有限公司 Video encoding method and device
WO2019227491A1 (en) * 2018-06-01 2019-12-05 深圳市大疆创新科技有限公司 Coding and decoding methods, and coding and decoding devices
CN110636334A (en) * 2019-08-23 2019-12-31 西安万像电子科技有限公司 Data transmission method and system
CN111083481A (en) * 2019-11-15 2020-04-28 西安万像电子科技有限公司 Image coding method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000299865A (en) * 1999-04-12 2000-10-24 Nec Corp Moving picture coder and its method
CN102215386A (en) * 2010-04-09 2011-10-12 华为技术有限公司 Video image block processing method and device
CN102075760A (en) * 2010-10-27 2011-05-25 无锡中星微电子有限公司 Quick movement estimation method and device
CN103618911A (en) * 2013-10-12 2014-03-05 北京视博云科技有限公司 Video streaming providing method and device based on video attribute information
CN103957341A (en) * 2014-04-30 2014-07-30 华为软件技术有限公司 Image transmission method and related device
CN104519364A (en) * 2014-12-10 2015-04-15 北京中星微电子有限公司 Video encoding method and device
WO2019227491A1 (en) * 2018-06-01 2019-12-05 深圳市大疆创新科技有限公司 Coding and decoding methods, and coding and decoding devices
CN110636334A (en) * 2019-08-23 2019-12-31 西安万像电子科技有限公司 Data transmission method and system
CN111083481A (en) * 2019-11-15 2020-04-28 西安万像电子科技有限公司 Image coding method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张方 等: "一种快速自适应全局运动估计算法的研究", 电子与信息学报, no. 04, 20 April 2004 (2004-04-20), pages 72 - 77 *

Similar Documents

Publication Publication Date Title
KR102283725B1 (en) Image encoding/decoding method and device
US10715817B2 (en) Apparatus and method for enhancing motion estimation based on user input
US20140369413A1 (en) Systems and methods for compressing video data using image block matching
KR101953078B1 (en) Improving service quality of video matching system using image matching system
US20140321553A1 (en) Systems and methods for using pre-calculated block hashes for image block matching
US11044486B2 (en) Split framebuffer encoding
CN110688286B (en) Application program operation information transmission method and device, storage medium and electronic equipment
EP3643069A1 (en) Effective intra encoding for screen data
CN115767092A (en) Image transmission method, cloud desktop, image transmission system, image transmission equipment and product
KR102426670B1 (en) System for cloud streaming service, method of image cloud streaming service using process shortering and apparatus for the same
US9442904B2 (en) Systems and methods for applying a residual error image
US20130223525A1 (en) Pixel patch collection for prediction in video coding system
CN106937127B (en) Display method and system for intelligent search preparation
CN111800631A (en) Data processing method and system
CN110636334B (en) Data transmission method and system
CN111629228A (en) Data transmission method and server
JP2023546513A (en) Data encoding method, device, and computer program
EP3637734B1 (en) Video data display method and device
CN111654702B (en) Data transmission method and system
CN117499663B (en) Video decoding system and method, electronic equipment and storage medium
CN112954343A (en) Encoding and decoding method, device and system
CN111447453B (en) Image processing method and device
CN112954346A (en) Encoding and decoding method, device and system
CN110830744B (en) Safety interaction system
CN111447450A (en) Data processing method and device

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