[go: up one dir, main page]

CN111031325A - Data processing method and system - Google Patents

Data processing method and system Download PDF

Info

Publication number
CN111031325A
CN111031325A CN201911033211.4A CN201911033211A CN111031325A CN 111031325 A CN111031325 A CN 111031325A CN 201911033211 A CN201911033211 A CN 201911033211A CN 111031325 A CN111031325 A CN 111031325A
Authority
CN
China
Prior art keywords
data
rule
instruction
coding
target
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
CN201911033211.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 CN201911033211.4A priority Critical patent/CN111031325A/en
Publication of CN111031325A publication Critical patent/CN111031325A/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/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/70Media network packetisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present disclosure provides a data processing method and system, relating to the technical field of electronic information, and capable of solving the problem of asynchronous data transmission under the condition of limited bandwidth resources. The specific technical scheme is as follows: the method comprises the steps of obtaining a first instruction, determining first data needing high-definition display or priority display in target data through the first instruction, carrying out high-quality coding and decoding processing on the first data, and carrying out coding and decoding on other data in the target data in a preset coding mode, so that the target data can be completely transmitted under the condition of limited bandwidth, the display effect of key data in the target data can be ensured, the data synchronism and the data display effect are ensured, and the real-time display requirement of a user is met. The present disclosure is for data 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 development of science and technology, video conference systems are more and more widely applied, and especially, the demand of teleconferencing accessed through the internet is increasing day by day. By holding the network video conference, the real-time synchronization of the local conference process and the remote conference process is realized.
In the prior art, the remote device and the near-end device synchronously display target data in a remote transmission mode, but when data is transmitted and a user has high display image quality, due to the limitation of bandwidth resources, when the user transmits high-definition data to the near-end device from the remote device, the data transmission of the remote device and the data transmission of the near-end device are not synchronous.
Disclosure of Invention
The embodiment of the disclosure provides a data processing method and system, which can solve the problem of asynchronous data transmission under the condition of limited bandwidth resources. 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 a first device, the method including:
acquiring a first instruction, wherein the first instruction is used for indicating a data processing rule corresponding to processing target data;
determining first data and a first coding rule corresponding to the first data in the target data according to the data processing rule;
the first data is processed according to the first encoding rule.
In one embodiment, the method, prior to fetching the first instruction, comprises:
acquiring a second instruction, wherein the second instruction is used for indicating the first equipment to transmit target data;
and analyzing the second instruction, and finding the target data according to an analysis result.
In one embodiment, the determining the first data and the first encoding rule corresponding to the first data in the method includes:
analyzing the data processing rule, and determining the characteristic information and the priority information of the data to be transmitted in the data processing rule according to the analysis result, wherein the characteristic information comprises the format information of the data to be transmitted or the type information of the data to be transmitted;
determining the first data in the target data according to the characteristic information;
and determining a first coding rule corresponding to the first data according to the priority information.
In one embodiment, the method further comprises:
according to the data processing rule, second data is searched in the target data, wherein the second data is data except the first data in the target data;
processing the second data according to a preset encoding rule, wherein the encoding rate of the preset encoding rule is lower than that of the first encoding rule;
and generating a second data packet according to second coding information corresponding to the second data and the second data, wherein the second coding information comprises identification information corresponding to the preset coding rule and position information corresponding to the second data.
In one embodiment, the method further comprises:
and generating a first data packet according to first coding information corresponding to the first data and the first data, wherein the first coding information comprises identification information corresponding to the first coding rule and position information corresponding to the first data.
According to a second aspect of the embodiments of the present disclosure, there is provided a data processing method, applied to a second device, including:
receiving a first data packet, wherein the first data packet comprises first data and first coding information corresponding to the first data;
and decoding the first data packet to obtain first data.
In one embodiment, the method of acquiring first data comprises:
analyzing the first data packet, and acquiring identification information corresponding to the first coding rule in the first coding information and position information corresponding to the first data according to an analysis result;
and decoding the first data packet according to the first coding information to obtain first data.
In one embodiment, the method further comprises:
receiving a second data packet, where the second data packet includes second data and second encoding information corresponding to the second data, and the second data is data of the target data other than the first data;
and processing the second data packet according to the second data packet to acquire second data.
In one embodiment, the method further comprises:
and synthesizing the first data and the second data according to the first position information and the second position information to generate target data.
According to a third aspect of embodiments of the present disclosure, there is provided a data processing system comprising: a first device and a second device;
the first device is connected with the second device;
the first device is connected with the second device;
the first device is used for acquiring a first instruction, wherein the first instruction is used for indicating a data processing rule corresponding to processing target data;
acquiring a data processing rule and target data corresponding to the data processing rule;
determining first data and a first coding rule corresponding to the first data in the target data according to the data processing rule;
and processing the first data according to the first coding rule to generate a first data packet.
The second device is used for receiving a first data packet sent by the first device, wherein the first data packet comprises first data, and the first data is data determined in target data according to a data processing rule;
and decoding the first data packet according to the first data packet to acquire first data.
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 an interaction diagram of a data processing method provided by an embodiment of the present disclosure;
FIG. 4 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.
The embodiment of the present disclosure provides a data processing method, as shown in fig. 1, applied to a first device, where the data processing method includes the following steps:
101. a first instruction is fetched.
The first instruction is for instructing processing of the target data according to the data processing rule.
In an alternative example, the method provided by the present disclosure, before obtaining the first instruction, further comprises:
acquiring a second instruction, where the second instruction is used to instruct the first device to transmit target data, and specifically may instruct the first device to transmit the target data to a second device;
and analyzing the second instruction, and acquiring the target data according to an analysis result.
The obtained target data may be found in the database of the first device, or may be obtained by another third-party device.
When the method provided by the disclosure is used for acquiring the first instruction, the first instruction sent by the second device can be received, and the first instruction can also be directly received.
In the method provided by the present disclosure, the first instruction may include a data processing rule, and the data processing rule may include at least one of a priority processing rule, an encoding rule, a key display content rule, or feature information of the data to be transmitted, for example, the data rule information may be a rule such as "high definition display face", "priority display text", "high definition display license plate", and the like.
In the method provided by the present disclosure, a user may indicate, through an instruction, to transmit target data and a data processing rule corresponding to the target data, that is, a first instruction includes a second instruction or a second instruction includes a first instruction or the first instruction and the second instruction are the same; the first instruction can also be used for indicating the transmission target data, and the second instruction is used for indicating the data processing rule corresponding to the target data.
In the method provided by the present disclosure, the first instruction may include a voice instruction, and may also include a text instruction, for example, a user instruction is input through a microphone, or a user instruction is input through a keyboard, a mouse, a writing pad, or other devices.
The first device may be a near-end device, and specifically includes: the display device in the first device and the processing device in the first device are connected through the Internet. The first device transmits the encoded media resource to the second device, and the second device decodes the received media resource and displays the decoded media resource on a remote display.
102. According to the data processing rule, first data and a first coding rule corresponding to the first data are determined in the target data.
The first data is key data or data preferentially displayed in the target data. In an alternative embodiment, the first data may be equal to the target data.
The method for confirming the first data in the method provided by the present disclosure may include:
analyzing the data processing rule, and determining the characteristic information of the data to be transmitted in the data processing rule according to an analysis result, wherein the characteristic information comprises format information of the data to be transmitted or type information of the data to be transmitted;
and determining the first data according to the characteristic information.
When the target keyword includes feature information, the first data is determined according to the information of the recognition object.
The format information of the data to be transmitted may include: image format, video format, sound format, etc., such as: and judging that the second instruction A is a high-definition transmission image, if the format information in the corresponding data processing rule is the image, acquiring data with the format of the image from the target data.
In the method provided by the present disclosure, before determining the first encoding rule, a database may be generated according to the encoding rules included in the historical first instruction, where the database includes a correspondence between at least one encoding rule and at least one instruction information. For example, the encoding rule corresponding to the preset keyword "face" may be a recognition encoding rule based on a neural network, or the encoding rule corresponding to the preset keyword "high definition" may be a high definition lossless encoding mode, such as VGTP encoding.
In the method provided by the present disclosure, determining the first encoding rule corresponding to the first data may be determined according to the first data by analyzing the keyword in the first instruction, and specifically includes:
example one:
analyzing the data processing rule, and determining transmission quality information in the data processing rule according to an analysis result;
and determining a first coding rule corresponding to the first data according to the transmission quality information.
If the first instruction is to display the face image in high definition, the transmission quality information in the corresponding data processing rule is as follows: and if the first coding rule is high-definition, the corresponding first coding rule is a coding rule for high-definition display.
Example two:
and analyzing the data processing rule, determining the corresponding first coding rule according to the characteristic information of the first data according to the analysis result.
If the feature information of the first data in the first instruction is 'face', the first coding rule is a face recognition coding rule, and the keyword 'license plate' corresponds to a license plate recognition coding rule.
103. The first data is processed according to the first encoding rule.
In an optional example, the method provided by the present disclosure, after processing the first data, further marks the first data to generate a first data packet, specifically including:
and generating a first data packet according to first coding information corresponding to the first data and the first data, wherein the first coding information comprises identification information corresponding to the first coding rule and position information corresponding to the first data, and the position information refers to the position of the first data in target data, and can be position information of a macro block or position information of an image.
In an alternative example, the method provided by the present disclosure further comprises:
according to the data processing rule, second data is searched in the target data, wherein the second data is data except the first data in the target data;
processing the second data according to a preset encoding rule, wherein the encoding rate of the preset encoding rule is lower than that of the first encoding rule;
and generating a second data packet according to second coding information corresponding to the second data and the second data, wherein the second coding information comprises identification information corresponding to the preset coding rule and position information corresponding to the second data.
The second data is data except the first data in the target data, and the encoding rate of the preset encoding rule is smaller than that of the first encoding rule, so that the display effect of the key data can be ensured, and the synchronism during data transmission can be ensured.
Here, the first instruction is: the description will be given by taking "human face in high-definition display image" as an example. Firstly, according to a data processing rule in a first instruction: and displaying the human face in the target data in high definition, and determining the first data as a human face image, thereby determining a human face partial image in the image as the first data, and determining other images in the image as second data. And then determining that the first coding rule is a VGTP coding rule according to the transmission quality information high definition in the data processing rule, and setting the preset H264 coding rule as a second coding rule. And finally, processing the first data according to a VGTP encoding rule, and processing the second data according to an H264 encoding rule to generate processed target data.
By synchronously sending the coding information and the target data, the decoding device can be ensured to quickly and accurately find the decoding mode of the first data and the second data, and the first data and the second data can be quickly and accurately synthesized to generate the target data.
According to the method provided by the disclosure, according to the data processing rule in the first instruction including "picture", "high definition" and "face", the picture is firstly identified from the media resource to be transmitted, the face in the picture is identified by using the face identification coding rule, then the identified face part is subjected to high-definition lossless coding, the part except the face part is subjected to coding in a coding mode with higher compression efficiency, and the coded data is transmitted. Therefore, the problem that in the prior art, due to the fact that the transmission bandwidth between the first device and the second device is limited, the delay of partial media resources displayed on the second device is obvious, the first device and the second device cannot be synchronously displayed, and the effect of data transmission is influenced is solved.
The data processing method provided by the embodiment of the disclosure is applied to first equipment, and comprises the steps of firstly obtaining a first instruction, determining target data and a data processing rule corresponding to the target data by analyzing the first instruction, and then determining first data in the target data and a first coding rule corresponding to the first data according to the data processing rule; and finally, processing the first data according to the first coding rule and processing second data except the first data in the target data according to a preset coding rule.
According to the method and the device, high-quality coding processing is carried out on the key data, namely the first data, in the target data, and other data in the target data are coded in a preset low-quality coding mode, so that the target data can be completely transmitted under the condition of limited bandwidth, the display effect of the key data in the target data can be ensured, the data synchronism and the data display effect are ensured, and the real-time display requirement of a user is met.
Example two
Based on the data processing method described in the embodiment corresponding to fig. 1, another method embodiment of the present disclosure is described below, which may be used to execute the method embodiment of the present disclosure.
The embodiment of the present disclosure provides a data processing method, which is applied to a second device, and as shown in fig. 2, the data processing method includes:
201. a first data packet is received.
The first data packet includes first data and first coding information corresponding to the first data, and the first data is data determined in the target data according to the data processing rule
In an alternative example, the method provided by the present disclosure, before receiving the first data packet, further comprises:
and acquiring a first instruction, and sending the first instruction to the first device, wherein the first instruction is used for indicating that target data is processed according to the data processing rule. The data processing rule may include how to determine first data, which is key data in the target data or data preferentially displayed.
Further, the second device may further obtain a second instruction, and send the second instruction to the first device, where the second instruction is used to instruct the first device to transmit the target data to the second device.
The method for specifically determining the first data comprises the steps of setting multiple priorities in the target data according to the transmission quality requirement of a user on the target data.
The encoding rule is divided into a plurality of grades according to the compression degree and the definition degree, and a user selects the grade required by part of media resources according to actual requirements, wherein the grade can be a voice input grade or a character input grade, so that on the premise of meeting the requirements of the user, bandwidth resources are saved as much as possible, and the transmission rate is improved.
Of course, the user can also set the priority of each media resource, and control the display sequence of each media resource, which can be the voice input priority or the text input priority, so as to meet the personalized requirements of the user.
In the method provided by the disclosure, when the first instruction is a voice instruction, the second device may recognize the voice instruction first and then convert the voice instruction into text instruction information.
In the method provided by the present disclosure, the second device may obtain the first instruction before the video conference is performed, or may obtain the first instruction while the video conference is performed.
Furthermore, the method provided by the disclosure can establish a corresponding database aiming at different languages of users, and uniformly convert instruction information of users using foreign languages or dialects, thereby avoiding the problem of inaccurate voice recognition.
Further, different scene modes corresponding to the preset first instruction may also be set based on the historical instruction information of the user, and the scene modes may include: the method comprises the steps of displaying human faces in a high-definition mode, preferentially displaying sounds and the like, and a user can quickly acquire information instruction information by selecting a preset first instruction.
202. And decoding the first data packet according to the first data packet to acquire first data.
After receiving the first data packet, the method further includes parsing the first data packet, and acquiring the first data according to a parsing result, and specifically includes:
analyzing the first data packet, and acquiring identification information corresponding to the first coding rule in the first coding information and position information corresponding to the first data according to an analysis result;
and decoding the first data packet according to the first coding information to obtain first data.
The decoding the first data packet according to the first encoding information includes acquiring a first encoding rule, and includes the specific steps of:
and searching the first coding rule corresponding to the identification information in the database through the identification information corresponding to the first coding rule.
In an alternative example, the method provided by the present disclosure further comprises:
receiving a second data packet, where the second data packet includes second data and second encoding information corresponding to the second data, and the second data is data of the target data other than the first data;
and processing the second data packet according to the second data packet to acquire second data.
Further, the second data packet is analyzed, and according to an analysis result, identification information corresponding to the preset encoding rule in the second encoding information and position information corresponding to the second data are obtained;
and decoding the second data packet according to the preset coding rule to obtain second data.
In an alternative example, the method provided by the present disclosure further comprises:
and synthesizing the first data and the second data according to the position information in the coding information.
The data processing method provided by the embodiment of the disclosure is applied to the second device, and the second device sends the first instruction to the first device after acquiring the first instruction. The method comprises the steps of receiving a first data packet or/and a second data packet sent by a first device, wherein the first data packet is key data, the second data packet is other data except the key data in target data, and then decompressing the first data packet and the second data packet to obtain the first data or/and the second data.
According to the method and the device, high-quality decoding processing is carried out on the key data, namely the first data, in the target data, and decoding processing is carried out on other data in the target data in a preset low-quality coding mode, so that the target data can be completely transmitted under the condition of limited bandwidth, the display effect of the key data in the target data can be ensured, the data synchronism and the data display effect are ensured, and the real-time display requirement of a user is met.
EXAMPLE III
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 first device and a second device, for example, the first device may be a terminal device or a network server, and the second device may also be a terminal device or a network server. In this embodiment, the first instruction and the second instruction are taken as an example for description, and the disclosure is not limited thereto. Referring to fig. 3, the data processing method provided in this embodiment includes the following steps:
301. the second device acquires the first instruction and sends the first instruction to the first device.
The first instruction is for indicating transfer target data.
The first instruction may be a text instruction message or a voice instruction message, and the first instruction includes a data processing rule, which may include a priority processing rule, an encoding rule, a key display content rule, and the like.
302. The first device receives the first instruction and acquires target data according to the first instruction.
303. The first device determines first data and a first coding rule corresponding to the first data in the target data according to the data processing rule.
The first data is key data in the target data, wherein the method for determining the first data can be according to characteristic information in the data processing rule.
304. The first device processes the first data according to a first coding rule, and generates processed target data after processing the second data according to a preset coding rule.
The second data is the rest of the target data except the first data, and the coding rate of the first coding rule is greater than that of the preset coding rule.
305. The first device sends the processed target data to the second device
306. The second device receives the processed target data.
The target data includes: a first data packet and a second data packet,
wherein the first data packet includes: the processed first data and first coding information corresponding to the first data; the second packet includes: the processed second data and second encoding information corresponding to the second data.
307. And the second equipment decodes the processed target data according to the first data packet and the second data packet to acquire the target data.
According to the data processing method provided by the embodiment of the disclosure, after the first instruction is acquired by the second device, the first instruction is sent to the first device. The first device finds the target data according to the first instruction, and determines first data in the target data and a first coding rule corresponding to the first data according to a data processing rule in the first instruction; and finally, processing the first data according to the first coding rule and processing the second data according to a preset coding rule to generate processed target data and send the processed target data to the second equipment. And after receiving the processed target data, the second device performs decompression processing according to the first data packet and the second data packet to obtain the target data.
According to the method, after the first instruction is obtained, the first data needing high-definition display or priority display in the target data is determined according to the first instruction, high-quality coding and decoding processing is carried out on the first data, and coding and decoding are carried out on other data in the target data in a preset low-quality coding mode, so that the target data can be completely transmitted under the condition of limited bandwidth, the display effect of key data in the target data can be guaranteed, the data synchronism and the data display effect are guaranteed, and the real-time display requirement of a user is met.
For example, in a conference related to a reconnaissance task such as a public security system, a face image in monitoring data needs to be displayed in a highlight mode, and a background image except the face does not have a requirement, so that a user can input a 'face in a high-definition display picture' through voice or characters through the second device to generate instruction information of the user, and then the user instruction is transmitted to the first device through the second device. After receiving the instruction information, the first device identifies a picture from the multimedia resource to be transmitted according to a user instruction, then performs face identification from the picture according to a data processing rule in the instruction information to acquire face information, performs high-definition coding on the face information, and can use a preset coding mode with a low coding rate for the parts except the face. Therefore, high-definition display of the face part in the picture and high-speed transmission of the whole picture can be guaranteed under the condition that bandwidth resources are limited.
Example four
Based on the data processing method described in the embodiment corresponding to fig. 1, 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. 4, the data processing system 40 includes: the device comprises a first device 401 and a second device 402, wherein the first device 401 and the second device 402 are connected in a wireless mode or a wired mode.
The first device 401 is configured to obtain a first instruction, where the first instruction is used to indicate a corresponding data processing rule when processing target data;
acquiring target data and a data processing rule corresponding to the target data according to the second instruction;
determining first data and a first coding rule corresponding to the first data in the target data according to the data processing rule;
and processing the first data according to the first coding rule to generate a first data packet.
The second device is used for receiving a first data packet sent by the first device, wherein the first data packet comprises first data, and the first data is determined in target data according to a data processing rule;
and decoding the first data packet to obtain first data.
In one embodiment, the first device 401 in the system 40 is further configured to obtain a second instruction, where the second instruction is used to instruct the first device to transmit the target data;
and acquiring target data according to the second instruction.
In one embodiment, the first device 401 in the system 40 is further configured to:
generating a first data packet according to first coding information corresponding to the first data and the first data, wherein the first coding information comprises identification information corresponding to the first coding rule and position information corresponding to the first data;
generating a second data packet according to second coding information corresponding to the second data and the second data, wherein the second coding information includes identification information corresponding to the preset coding rule and position information corresponding to the second data;
and generating processed target data according to the first data packet and the second data packet.
In one embodiment, the first device 401 in the system 40 is further configured to:
analyzing the data processing rule, and determining the characteristic information of the data to be transmitted in the data processing rule according to an analysis result, wherein the characteristic information comprises format information of the data to be transmitted or type information of the data to be transmitted;
and determining the first data according to the characteristic information.
In one embodiment, the first device 401 in the system 40 is further configured to:
after second data is processed according to a preset coding rule, processed target data is generated, the second data is data except the first data in the target data, and the coding rate of the preset coding rule is lower than that of the first coding rule.
In one embodiment, the second device 402 of the system 40 is further configured to:
analyzing the first data packet, and acquiring identification information corresponding to the first coding rule in the first coding information and position information corresponding to the first data according to an analysis result;
analyzing the second data packet, and acquiring identification information corresponding to the preset encoding rule in the second encoding information and position information corresponding to the second data according to an analysis result;
decoding the first data packet according to the first coding information to obtain first data;
decoding the second data packet according to the preset coding rule to obtain second data;
and synthesizing the first data and the second data according to the first position information and the second position information to generate target data.
The data processing system provided by the embodiment of the disclosure sends the first instruction to the first device after the first instruction is acquired by the second device. The first device finds the target data according to the first instruction, and determines first data in the target data and a first coding rule corresponding to the first data according to a data processing rule in the first instruction; and finally, processing the first data according to the first coding rule and processing the second data according to a preset coding rule to generate processed target data and send the processed target data to the second equipment. And after receiving the processed target data, the second device performs decompression processing according to the first data packet and the second data packet to obtain the target data.
According to the method, after the first instruction is obtained, the first data needing high-definition display or priority display in the target data is determined according to the first instruction, high-quality coding and decoding processing is carried out on the first data, and other data in the target data are coded and decoded in a preset low-quality coding mode, so that the target data can be completely transmitted under the condition of limited bandwidth, the display effect of key data in the target data can be guaranteed, the data synchronism and the data display effect are guaranteed, and the real-time display requirement of a user is met. Therefore, the problem that due to the fact that the transmission bandwidth between the first device and the second device is limited, delay of displaying of part of media resources on the display of the second device is obvious, the display of the first device and the display of the second device cannot be synchronously displayed, and the data transmission effect is affected is avoided.
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 a first device, the method comprising:
acquiring a first instruction, wherein the first instruction is used for indicating to process target data according to a data processing rule;
according to the data processing rule, determining first data and a first coding rule corresponding to the first data in the target data;
processing the first data according to the first encoding rule.
2. The method of claim 1, prior to fetching the first instruction, comprising:
acquiring a second instruction, wherein the second instruction is used for indicating the first equipment to transmit target data;
and analyzing the second instruction, and finding the target data according to an analysis result.
3. The method of claim 1, wherein determining the first data and the first encoding rule corresponding to the first data comprises:
analyzing the data processing rule, and determining the characteristic information and the priority information of the data to be transmitted in the data processing rule according to an analysis result, wherein the characteristic information comprises format information of the data to be transmitted or type information of the data to be transmitted;
determining the first data in the target data according to the characteristic information;
and determining a first coding rule corresponding to the first data according to the priority information.
4. The method of claim 1, further comprising:
according to the data processing rule, second data are determined in the target data, and the second data are data except the first data in the target data;
processing the second data according to a preset encoding rule, wherein the encoding rate of the preset encoding rule is lower than that of the first encoding rule;
and generating a second data packet according to second coding information corresponding to the second data and the second data, wherein the second coding information comprises identification information corresponding to the preset coding rule and position information corresponding to the second data.
5. The method of claim 1, further comprising:
and generating a first data packet according to first coding information corresponding to the first data and the first data, wherein the first coding information comprises identification information corresponding to the first coding rule and position information corresponding to the first data.
6. A data processing method, applied to a second device, the method comprising:
receiving a first data packet, wherein the first data packet comprises first data and first coding information corresponding to the first data, and the first data is data determined in target data according to a data processing rule;
and decoding the first data packet to obtain first data.
7. The method of claim 6, wherein the obtaining first data comprises:
analyzing the first data packet, and acquiring identification information corresponding to the first coding rule in the first coding information and position information corresponding to the first data according to an analysis result;
and decoding the first data packet according to the first coding information to obtain first data.
8. The method of claim 6, further comprising:
receiving a second data packet, where the second data packet includes second data and second encoding information corresponding to the second data, and the second data is data of the target data other than the first data;
and processing the second data packet according to the second data packet to acquire second data.
9. The method according to claims 6 and 8, characterized in that the method further comprises:
and synthesizing the first data and the second data according to the first position information and the second position information to generate target data.
10. A data processing system, characterized in that the system comprises: a first device and a second device;
the first equipment is connected with the second equipment;
the first device is used for acquiring a first instruction, and the first instruction is used for indicating a data processing rule corresponding to processing target data;
acquiring a data processing rule and target data corresponding to the data processing rule;
according to the data processing rule, determining first data and a first coding rule corresponding to the first data in the target data;
and processing the first data according to the first coding rule to generate a first data packet.
The second device is configured to receive the first data packet sent by the first device, where the first data packet includes first data, and the first data is data determined in target data according to a data processing rule;
and decoding the first data packet according to the first data packet to acquire first data.
CN201911033211.4A 2019-10-28 2019-10-28 Data processing method and system Pending CN111031325A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911033211.4A CN111031325A (en) 2019-10-28 2019-10-28 Data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911033211.4A CN111031325A (en) 2019-10-28 2019-10-28 Data processing method and system

Publications (1)

Publication Number Publication Date
CN111031325A true CN111031325A (en) 2020-04-17

Family

ID=70200115

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911033211.4A Pending CN111031325A (en) 2019-10-28 2019-10-28 Data processing method and system

Country Status (1)

Country Link
CN (1) CN111031325A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113157233A (en) * 2021-05-19 2021-07-23 高创(苏州)电子有限公司 Display device
CN117896546A (en) * 2024-03-14 2024-04-16 浙江华创视讯科技有限公司 Data transmission method, system, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005018305A (en) * 2003-06-25 2005-01-20 Oki Electric Ind Co Ltd Image distributing system and information processor with image communication function
CN102984495A (en) * 2012-12-06 2013-03-20 北京小米科技有限责任公司 Video image processing method and device
WO2014000238A1 (en) * 2012-06-28 2014-01-03 宇龙计算机通信科技(深圳)有限公司 Terminal and video image compression method
CN104754340A (en) * 2015-03-09 2015-07-01 南京航空航天大学 Reconnaissance image compression method for unmanned aerial vehicle
CN105721872A (en) * 2016-01-29 2016-06-29 广东欧珀移动通信有限公司 A method and terminal for image compression
CN106131670A (en) * 2016-07-12 2016-11-16 块互动(北京)科技有限公司 A kind of adaptive video coding method and terminal
CN107452388A (en) * 2017-08-16 2017-12-08 广东海翔教育科技有限公司 A kind of voice transmission method and system
CN109862365A (en) * 2019-01-30 2019-06-07 西安万像电子科技有限公司 Image processing method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005018305A (en) * 2003-06-25 2005-01-20 Oki Electric Ind Co Ltd Image distributing system and information processor with image communication function
WO2014000238A1 (en) * 2012-06-28 2014-01-03 宇龙计算机通信科技(深圳)有限公司 Terminal and video image compression method
CN102984495A (en) * 2012-12-06 2013-03-20 北京小米科技有限责任公司 Video image processing method and device
CN104754340A (en) * 2015-03-09 2015-07-01 南京航空航天大学 Reconnaissance image compression method for unmanned aerial vehicle
CN105721872A (en) * 2016-01-29 2016-06-29 广东欧珀移动通信有限公司 A method and terminal for image compression
CN106131670A (en) * 2016-07-12 2016-11-16 块互动(北京)科技有限公司 A kind of adaptive video coding method and terminal
CN107452388A (en) * 2017-08-16 2017-12-08 广东海翔教育科技有限公司 A kind of voice transmission method and system
CN109862365A (en) * 2019-01-30 2019-06-07 西安万像电子科技有限公司 Image processing method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113157233A (en) * 2021-05-19 2021-07-23 高创(苏州)电子有限公司 Display device
CN117896546A (en) * 2024-03-14 2024-04-16 浙江华创视讯科技有限公司 Data transmission method, system, electronic equipment and storage medium
CN117896546B (en) * 2024-03-14 2024-06-07 浙江华创视讯科技有限公司 Data transmission method, system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105915953B (en) Method, device, system, server and storage medium for live video identification
JP6928041B2 (en) Methods and equipment for processing video
CN110049324B (en) Video encoding method, system, device, and computer-readable storage medium
CN106303658B (en) Exchange method and device applied to net cast
US10796685B2 (en) Method and device for image recognition
US6989868B2 (en) Method of converting format of encoded video data and apparatus therefor
US10929600B2 (en) Method and apparatus for identifying type of text information, storage medium, and electronic apparatus
JP2019185728A (en) Method and apparatus for recommending video
CN108933935A (en) Detection method, device, storage medium and the computer equipment of video communication system
US9578079B2 (en) Distribution control system, distribution system, distribution control method, and computer-readable storage medium
US9596435B2 (en) Distribution control apparatus, distribution control method, and computer program product
CN108156459A (en) Telescopic video transmission method and system
CN110149515B (en) Data transmission method and device
CN110636334B (en) Data transmission method and system
CN113839829A (en) Cloud game delay testing method, device and system and electronic equipment
CN111031325A (en) Data processing method and system
CN110891195B (en) Method, device and equipment for generating screen image and storage medium
US8812584B2 (en) Moving picture file transmitting server and method of controlling operation of same
CN111263183A (en) Singing state identification method and singing state identification device
CN111629228B (en) Data transmission method and server
CN112752058B (en) Method and apparatus for adjusting properties of video stream
CN112114760A (en) Image processing method and device
CN112559111B (en) Screen capturing method and device for sharing desktop
EP3729799B1 (en) Mobile terminal and hub apparatus for use in a video communication system
CN115883768A (en) Screen sharing method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200417

RJ01 Rejection of invention patent application after publication