CN113660459B - Image data transmission method, device, storage medium and processor - Google Patents

Image data transmission method, device, storage medium and processor Download PDF

Info

Publication number
CN113660459B
CN113660459B CN202110883205.9A CN202110883205A CN113660459B CN 113660459 B CN113660459 B CN 113660459B CN 202110883205 A CN202110883205 A CN 202110883205A CN 113660459 B CN113660459 B CN 113660459B
Authority
CN
China
Prior art keywords
parameter
target
parameters
image data
determining
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.)
Active
Application number
CN202110883205.9A
Other languages
Chinese (zh)
Other versions
CN113660459A (en
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 CN202110883205.9A priority Critical patent/CN113660459B/en
Publication of CN113660459A publication Critical patent/CN113660459A/en
Application granted granted Critical
Publication of CN113660459B publication Critical patent/CN113660459B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440281Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the temporal resolution, e.g. by frame skipping
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application discloses a transmission method, a device, a storage medium and a processor of image data. Wherein the method comprises the following steps: acquiring a first parameter and a second parameter, wherein the first parameter is a parameter of a sending end, the second parameter is a parameter of a plurality of receiving ends, and the sending end is used for sending image data; determining a target receiving end from a plurality of receiving ends based on the first parameter and the second parameter, wherein the target receiving end is used for receiving the image data; and determining a target transmission mode based on the target receiving end, and transmitting the image data by using the target transmission mode. The application solves the technical problem that the picture cannot be displayed smoothly due to the fact that the receiving end of the image data is difficult to decode the image data with larger frame rate in the related art.

Description

Image data transmission method, device, storage medium and processor
Technical Field
The present application relates to the field of image data transmission, and in particular, to a method, an apparatus, a storage medium, and a processor for transmitting image data.
Background
At present, in the processes of image coding, transmission and decoding, a collecting end collects a display picture of a service terminal, the coded image coding data is transmitted to a network, a receiving end obtains the image coding data from the network, and then a decoding end in the receiving end decodes and displays the image coding data. When the frame rate of the source is high, and the decoding end has insufficient capability to decode the high frame rate, the source cannot smoothly display the picture.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the application provides a transmission method, a device, a storage medium and a processor of image data, which at least solve the technical problem that a picture cannot be smoothly displayed because a receiving end of the image data is difficult to decode the image data with a larger frame rate in the related art.
According to an aspect of an embodiment of the present application, there is provided a transmission method of image data, including: acquiring a first parameter and a second parameter, wherein the first parameter is a parameter of a sending end, the second parameter is a parameter of a plurality of receiving ends, and the sending end is used for sending image data; determining a target receiving end from a plurality of receiving ends based on the first parameter and the second parameter, wherein the target receiving end is used for receiving the image data; and determining a target transmission mode based on the target receiving end, and transmitting the image data by using the target transmission mode.
Optionally, determining the target reception from the plurality of receiving terminals based on the first parameter and the second parameter, wherein the target receiving terminal is configured to receive the image data, includes: judging whether a third parameter exists in the second parameters, wherein the third parameter is larger than or equal to the first parameter; and under the condition that the third parameter exists in the second parameter, determining the receiving end corresponding to the third parameter as a target receiving end.
Optionally, the method further comprises: acquiring a plurality of fourth parameters from the second parameters when the third parameters are not present in the second parameters, wherein the sum of the fourth parameters is greater than or equal to the first parameters; and determining a plurality of receiving ends corresponding to the fourth parameters as target receiving ends.
Optionally, in the case that the third parameter is not present in the second parameters, acquiring a plurality of fourth parameters from the second parameters includes: obtaining at least one initial parameter combination in the case that a third parameter does not exist in the second parameters, wherein the sum of parameters in each initial parameter combination is larger than or equal to the first parameter; determining a target parameter combination from the at least one initial parameter combination based on the first parameter; a plurality of fourth parameters are obtained from the target parameter combination.
Optionally, determining a target parameter combination from the at least one initial parameter combination based on the first parameter comprises: sequencing at least one initial parameter combination from big to small according to the sum of parameters in each initial parameter combination to obtain a first sequencing result; based on the first ranking result, an initial parameter combination with the smallest sum of parameters is determined as a target parameter combination.
Optionally, determining a target parameter combination from the at least one initial parameter combination based on the first parameter comprises: sequencing at least one initial parameter combination from big to small according to the parameter quantity in each initial parameter combination to obtain a second sequencing result; and determining the initial parameter combination with the least parameter number as a target parameter combination based on the second sorting result.
Optionally, determining the target transmission mode based on the target receiving end includes: acquiring a parameter proportion, wherein the parameter proportion is used for describing the proportion of parameters among a plurality of target receiving ends; and determining the target transmission mode based on the first parameter and the parameter proportion.
According to another aspect of the embodiment of the present application, there is also provided a transmission apparatus of image data, including: the acquisition module is used for acquiring a first parameter and a second parameter, wherein the first parameter is a parameter of a transmitting end, and the second parameter is a parameter of a plurality of receiving ends; a determining module, configured to determine a target receiving end from the plurality of receiving ends based on the first parameter and the second parameter; and the transmission module is used for determining a target transmission mode based on the target receiving end and transmitting the image data by utilizing the target transmission mode.
According to another aspect of the embodiment of the present application, there is also provided a computer readable storage medium, where the computer readable storage medium includes a stored program, and when the program runs, the apparatus on which the computer readable storage medium is controlled to execute the above-described image data transmission method.
According to another aspect of the embodiment of the present application, there is also provided a processor, configured to execute a program, where the program executes the above-mentioned image data transmission method.
In the embodiment of the application, the first parameter of the transmitting end and the second parameter of the plurality of receiving ends are acquired firstly, wherein the transmitting end is used for transmitting the image data, then the target receiving end is determined from the plurality of receiving ends based on the first parameter and the second parameter, wherein the target receiving end is used for receiving the image data, finally, the target transmitting mode is determined based on the target receiving end, and the image data is transmitted by utilizing the target transmitting mode, so that when the transmitting end transmits the image data with larger frame rate, the transmitting end can determine that at least one target receiving end is used for receiving the image data based on the parameter of the transmitting end and the parameters of the plurality of receiving ends, thereby avoiding the problem that the frame rate of one receiving end is too small to decode the received image data, so that the display of a picture is not smooth, and the target receiving end capable of decoding the image data is determined by combining the parameters of the plurality of receiving ends, so as to solve the technical problem that the picture cannot be smoothly displayed due to the fact that the receiving end of the image data is difficult to decode the image data with larger frame rate in the related technology.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
fig. 1 is a flowchart of a transmission method of image data according to an embodiment of the present application;
fig. 2 is a flowchart of another image data transmission method according to an embodiment of the present application;
fig. 3 is a schematic diagram of a transmission system of image data according to an embodiment of the present application;
fig. 4 is a schematic diagram of an image data transmission apparatus according to an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to an embodiment of the present application, there is provided an embodiment of a transmission method of image data, it being noted that the steps shown in the flowcharts of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that herein.
Fig. 1 is a transmission method of image data according to an embodiment of the present application, as shown in fig. 1, the method including the steps of:
step S102, a first parameter and a second parameter are acquired.
The first parameters are parameters of a sending end, the second parameters are parameters of a plurality of receiving ends, and the sending end is used for sending image data.
The transmitting terminal may be a transmitting terminal that transmits image data, and the first parameter may be a frame rate parameter of the transmitting terminal, wherein the frame rate is a number of frames displayed per second on the display in units of frames.
The plurality of receiving ends may be image data sent by the sending end to be received, and the second parameter may be frame rate parameters of the plurality of receiving ends.
In an alternative embodiment, the first parameter of the sending end may be obtained through the identification information of the sending end, and the second parameters of the plurality of receiving ends may be obtained through the identification information of the plurality of receiving ends.
In another alternative embodiment, the identification information corresponding to the transmitting end and the parameters corresponding to the identification information, and the identification information of the plurality of receiving ends and the parameters corresponding to the identification information may be stored in advance in the database, and the first parameter and the second parameter may be obtained by obtaining the identification information of the transmitting end and the identification information of the plurality of receiving ends.
It should be noted that the second parameter includes a plurality of parameters, and each of the second parameters corresponds to one receiving end.
In another alternative embodiment, the transmitting end may acquire the original image first, obtain image data after encoding the original image, and send the image data to the target receiving end, where the target receiving end decodes the image data to obtain the target image, and sends the target image to the display device for display.
In yet another alternative embodiment, the transmitting end may be determined according to a frame rate of an original image to be transmitted, wherein the frame rate of the transmitting end is greater than or equal to the frame rate of the original image.
Step S104, determining a target receiving end from a plurality of receiving ends based on the first parameter and the second parameter.
The target receiving end is used for receiving the image data sent by the sending end.
In an alternative embodiment, whether the second parameter is the same as the first parameter may be determined according to the first parameter, and if the second parameter is greater than or equal to the first parameter, it is indicated that the receiving end corresponding to the parameter may receive the image data sent by the sending end, where the receiving end may be determined to be the target receiving end.
Further, if the second parameter does not have a parameter greater than or equal to the first parameter, it is indicated that a plurality of target receiving ends need to be determined from the plurality of receiving ends, so that the plurality of target receiving ends simultaneously receive the image data sent by the sending end.
The parameter of the receiving end for receiving the image data needs to be greater than or equal to the parameter of the transmitting end that transmits the image data.
Step S106, determining a target transmission mode based on the target receiving end, and transmitting the image data by using the target transmission mode.
The above-mentioned target transmission mode may be that the transmitting end directly transmits the image data to one target receiving end, or the transmitting end transmits the image data to a plurality of target receiving ends according to the parameter ratio of the plurality of target receiving ends.
In an alternative embodiment, if the number of target receiving ends is one, the target receiving end is utilized to directly receive the image data sent by the sending end.
In another alternative embodiment, if the number of the target receiving ends is multiple, the target transmission mode needs to be determined according to the parameter of each target receiving end, and the transmitting end may uniformly transmit the image data to each target receiving end when the parameters of each target receiving end are the same. In the case that the parameters of each target receiving end are different, the transmitting end may transmit the image data to each target receiving end according to the parameter ratio between the plurality of target receiving ends.
Through the steps, the first parameter of the sending end and the second parameter of the plurality of receiving ends are obtained firstly, the sending end is used for sending image data, then the target receiving end is determined from the plurality of receiving ends based on the first parameter and the second parameter, the target receiving end is used for receiving the image data, finally, the target transmitting mode is determined based on the target receiving end, and the image data is transmitted by utilizing the target transmitting mode, so that when the sending end sends the image data with larger frame rate, at least one target receiving end is determined based on the parameter of the sending end and the parameters of the plurality of receiving ends and used for receiving the image data, the problem that the frame rate of one receiving end is too small to decode the received image data is avoided, so that the display of a picture is not smooth, and the target receiving end capable of decoding the image data is determined by combining the parameters of the plurality of receiving ends, so that the picture cannot be smoothly displayed due to the fact that the receiving end of the image data is difficult to decode the image data with larger frame rate in the related technology is solved.
Optionally, determining the target reception from the plurality of receiving terminals based on the first parameter and the second parameter, wherein the target receiving terminal is configured to receive the image data, includes: judging whether a third parameter exists in the second parameters, wherein the third parameter is larger than or equal to the first parameter; and under the condition that the third parameter exists in the second parameter, determining the receiving end corresponding to the third parameter as a target receiving end.
The third parameter may be a parameter having a frame rate greater than or equal to a frame rate of the transmitting end.
In an alternative embodiment, each parameter in the second parameters may be compared with the first parameters, a parameter greater than or equal to the first parameter in the second parameters is determined to be a third parameter, and a receiving end corresponding to the third parameter is determined to be a target receiving end for receiving the image data.
It should be noted that, if the second parameter has a plurality of parameters greater than or equal to the first parameter, one parameter is selected randomly from the plurality of parameters as the third parameter, or the parameter closest to the first parameter is selected from the plurality of parameters as the third parameter.
As shown in table 1, the first parameter of the transmitting end is 144, the second parameter of the receiving end is 30, 60, 120, 144, and each receiving end is identified as R1, R2, R3, R4, R5, R6, R7, R8. If there are two parameters 144 in the second parameter, which are the same as the first parameter, it may be determined that the third parameter is 144, and the target receiving end may be R7 or R8.
TABLE 1
Optionally, the method further comprises: acquiring a plurality of fourth parameters from the second parameters when the third parameters are not present in the second parameters, wherein the sum of the fourth parameters is greater than or equal to the first parameters; and determining a plurality of receiving ends corresponding to the fourth parameters as target receiving ends.
The third parameter may be a parameter having a frame rate smaller than the frame rate of the transmitting end.
In an alternative embodiment, if there is no parameter greater than or equal to the first parameter in the second parameter, it is indicated that it is difficult for a receiving end to receive the image data sent by the sending end, where a plurality of receiving ends may be selected as target receiving ends to receive the image data sent by the sending end, specifically, a plurality of fourth parameters, where a sum of the plurality of parameters is greater than or equal to the first parameter, may be selected from the second parameter, and a receiving end corresponding to the plurality of fourth parameters is determined to be the target receiving end.
Optionally, in the case that the third parameter is not present in the second parameters, acquiring a plurality of fourth parameters from the second parameters includes: obtaining at least one initial parameter combination in the case that a third parameter does not exist in the second parameters, wherein the sum of parameters in each initial parameter combination is larger than or equal to the first parameter; determining a target parameter combination from the at least one initial parameter combination based on the first parameter; a plurality of fourth parameters are obtained from the target parameter combination.
In an optional embodiment, under the condition that the third parameter does not exist in the second parameter, a plurality of parameters in the second parameter may be arranged and combined to obtain a plurality of parameter combinations, and then a parameter combination with a sum of parameters greater than or equal to the first parameter is determined as an initial parameter combination, where a receiving end corresponding to the plurality of parameters in each initial parameter combination may be a target receiving end, and the plurality of target receiving ends may receive image data sent by the sending end.
In another alternative embodiment, if only one initial parameter combination exists, the initial parameter combination may be directly used as the target parameter combination; if a plurality of initial parameter combinations exist, one initial parameter combination can be randomly determined from the plurality of initial parameter combinations to be a target parameter combination; the method comprises the steps of obtaining a first parameter set, wherein the first parameter set is a first parameter set, and obtaining a second parameter set; the number of parameters in the plurality of initial parameter combinations may also be obtained, and the initial parameter combination with the smallest number of parameters is determined as the target parameter combination.
As shown in table 2, the first parameter of the transmitting end is 144, the second parameter of the receiving end is 30, 60, 120, and each receiving end is identified as R1, R2, R3, R4, R5, R6.
TABLE 2
At least one initial parameter combination may be obtained when the third parameter does not exist in the second parameters shown in table 2, where the initial parameter combination may be a parameter combination corresponding to a receiving end combination, including:
the receiving end combination is R5+R6, the corresponding initial parameter combination is 120+120, and the sum of the parameters of the initial parameter combination is 240;
the receiving end combination is R5/R6+R1/R2, the corresponding initial parameter combination is 120+30, and the sum of the parameters of the initial parameter combination is 150;
the receiving end combination is R5/R6+R3/R4, the corresponding initial parameter combination is 120+60, and the sum of the parameters of the initial parameter combination is 180;
the receiving end combination is R3+R4+R5/R6, the corresponding initial parameter combination is 60+60+120, and the sum of the parameters of the initial parameter combination is 240;
the receiving end combination is R3+R4+R1+R2, the corresponding initial parameter combination is 60+60+30+30, and the sum of the parameters of the initial parameter combination is 180.
At this time, the target parameter combination may be randomly determined from the plurality of initial parameter combinations, for example, the target parameter combination may be determined to be 120+30, and then the fourth parameter in the target parameter combination may be determined to be 120 and 30, at this time, the receiving ends corresponding to 120 and 30 may be determined to be the target receiving ends, where the receiving end corresponding to 120 is R5 or R6, and the receiving end corresponding to 30 is R1 or R2, at this time, the target receiving ends may be determined to be R5 and R1, as shown in table 3 as the determined target receiving ends.
TABLE 3 Table 3
Optionally, determining a target parameter combination from the at least one initial parameter combination based on the first parameter comprises: sequencing at least one initial parameter combination from big to small according to the sum of parameters in each initial parameter combination to obtain a first sequencing result; based on the first ranking result, an initial parameter combination with the smallest sum of parameters is determined as a target parameter combination.
In an alternative embodiment, the plurality of initial parameter combinations may be ranked from large to small according to the sum of parameters in each initial parameter combination, so as to obtain a first ranking result, so as to select an initial parameter combination in which the sum of parameters in the initial parameter combinations is closest to the first parameter, that is, an initial parameter combination in which the sum of parameters in the initial parameter combination is minimum, so that the capability of the receiving end for receiving the image data matches the capability of the transmitting end for transmitting the image data, other receiving ends with stronger receiving capability are not wasted, and specifically, the initial parameter combination in which the sum of parameters is minimum from the plurality of initial parameter combinations may be determined by the first ranking result, and the initial parameter combination is determined as the target parameter combination.
Optionally, determining a target parameter combination from the at least one initial parameter combination based on the first parameter comprises: sequencing at least one initial parameter combination from big to small according to the parameter quantity in each initial parameter combination to obtain a second sequencing result; and determining the initial parameter combination with the least parameter number as a target parameter combination based on the second sorting result.
In an alternative embodiment, the plurality of initial parameter combinations may be ranked from large to small according to the number of parameters in each initial parameter combination, so as to obtain a second ranking result, so that the initial parameter combination with the smallest number of parameters in the initial parameter combinations is selected, so that the image data sent by the sending end is received by adopting the smallest number of receiving ends, and further the effect of saving resources of the receiving ends is achieved.
Optionally, determining the target transmission mode based on the target receiving end includes: acquiring a parameter proportion, wherein the parameter proportion is used for describing the proportion of parameters among a plurality of target receiving ends; and determining the target transmission mode based on the first parameter and the parameter proportion.
In an alternative embodiment, if there are multiple target receivers, the parameter ratio between the multiple target receivers may be determined. When two target receiving ends exist, the parameter proportion between the two target receiving ends can be obtained, and the mode of transmitting the image data by the transmitting end is determined based on the first parameter and the parameter proportion.
For example, the parameter of the transmitting end is 144, the parameter of the first target receiving end is 30, the parameter of the second target receiving end is 120, and it may be determined that the parameter ratio of the plurality of target receiving ends is 1:4, that is, when the first target receiving end processes 1 frame of image data, the second target receiving end may process 4 frames of image data, and it may be determined that the target transmission mode is that the number of frames sent by the transmitting end to the first target receiving end is: frame 1, frame 6 … …, 4n+1; wherein n is an integer greater than or equal to 0 and less than 36, and the number of frames sent by the sending terminal to the second target receiving terminal is: frames 2,3,4,5, 7,8,9,10, frame … …, 4n+2,4n+3,4n+4,4n+5, until the transmitting end transmits 144 frames.
In another alternative embodiment, when there are multiple target receiving ends with the same parameters, that is, when the decoding capacities of the multiple target receiving ends are the same, one frame of image data may be sent to each target receiving end in the order of the multiple target receiving ends, and when the frame cannot be divided, the last round of the frame is completed to which target receiving end.
For example, the parameter of the transmitting end is 144, five target receiving ends are shared, the parameter of each target receiving end is 30, at this time, polling can be performed in the order of decoding one frame by each decoding end of 5 frames in order, when the polling cannot be completed, which target receiving end is the round to end from which target receiving end, and the image data is transmitted in the polling mode, so that not only can the problem of insufficient frame rate of the receiving end be solved, but also the delay can be reduced.
A preferred embodiment of the present application will be described in detail with reference to fig. 2 to 3. As shown in fig. 2, the method may include the steps of:
step S201, the source end identifies the frame rate of the original image and transmits the original image to the transmitting end matched with the frame rate;
fig. 3 is a schematic diagram of a transmission system of image data. Wherein the source may be a computer device. The source end and the transmitting end may be connected by using a high-definition multimedia interface (High Definition Multimedia Interface, abbreviated as HDMI), and may also be connected by using a universal serial bus (Universal Serial Bus, abbreviated as USB).
Step S202, a transmitting end encodes an original image to obtain image data;
step S203, obtaining the frame rate of a transmitting end and the frame rates of a plurality of receiving ends;
the plurality of receiving terminals are used for receiving and decoding the image data sent by the sending terminal.
Step S204, the transmitting terminal determines a target receiving terminal from a plurality of receiving terminals according to the frame rate of the transmitting terminal and the frame rates of the plurality of receiving terminals;
in step S205, the transmitting end determines a target transmission mode according to the target receiving end, and transmits the image data by using the target transmission mode.
The sending terminal sends the image data to the target receiving terminal according to the target transmission mode, and the target receiving terminal decodes the image data and sends the decoded image data to the display equipment for display.
The image display effect corresponding to each frame rate is as follows:
12 frame rate: when the frame rate of the picture is higher than about 10-12 frames per second, it is considered to be coherent, a phenomenon called persistence of vision, on which the principle of animation is based.
24 frame rate: the shooting and playing frame rate of the audio film is 24 frames per second, which is acceptable for the average person.
30 frame rate: early high dynamic video games, with frame rates less than 30 frames per second, were not consistent.
60 frame rate: in a practical experience, a 60 frame rate has a better experience than a 30 frame rate.
85 frame rate: the limit of brain processing video is that the human eye cannot resolve the difference between 85 frames and higher frame rates.
The above data can find that when the frame rate of the picture is lower than 12 frame rate, the performance is poor, the animation can not be consistent, the effect basically resembles a slide show, when the frame rate of the picture reaches 30 frame rate, the overall effect is slightly stuck, and when the frame rate of the picture reaches 60 frame rate, the animation can have smooth and smooth experience. Currently, the display is refreshed at a frequency of 30Hz, 60Hz, 120Hz, or 144Hz depending on its setting. The most common refresh frequency is 60Hz, which is mainly to inherit the previous setting of the refresh frequency of the television set to 60 Hz.
Example 2
According to the embodiment of the present application, there is further provided a device for transmitting image data, where the device may execute the image data transmission method in the above embodiment, and the specific implementation manner and the preferred application scenario are the same as those in the above embodiment, and are not described herein.
Fig. 4 is a schematic diagram of an apparatus for transmitting image data according to an embodiment of the present application, as shown in fig. 4, the apparatus including:
an obtaining module 42, configured to obtain a first parameter and a second parameter, where the first parameter is a parameter of a transmitting end, and the second parameter is a parameter of a plurality of receiving ends;
a determining module 44, configured to determine a target receiving end from the plurality of receiving ends based on the first parameter and the second parameter;
the transmission module 46 is configured to determine a target transmission mode based on the target receiving end, and transmit the image data by using the target transmission mode.
Optionally, the determining module includes: the judging unit is used for judging whether a third parameter exists in the second parameter, wherein the third parameter is larger than or equal to the first parameter; the first determining unit is configured to determine, when the third parameter exists in the second parameter, that the receiving end corresponding to the third parameter is a target receiving end.
Optionally, the obtaining module is further configured to obtain a plurality of fourth parameters from the second parameters if the third parameter is not present in the second parameters, where a sum of the plurality of fourth parameters is greater than or equal to the first parameter; the determining module is further configured to determine a plurality of receiving ends corresponding to the plurality of fourth parameters as target receiving ends.
Optionally, the acquiring module includes: a first obtaining unit, configured to obtain at least one initial parameter combination in the case where the third parameter is not present in the second parameter, where a sum of parameters in each initial parameter combination is greater than or equal to the first parameter; a second determining unit configured to determine a target parameter combination from at least one initial parameter combination based on the first parameter; and the second acquisition unit is used for acquiring a plurality of fourth parameters from the target parameter combination.
Optionally, the second determining unit includes: the first sorting subunit is used for sorting at least one initial parameter combination from big to small according to the sum of parameters in each initial parameter combination to obtain a first sorting result; and the first determination subunit is used for determining an initial parameter combination with the smallest sum of parameters as a target parameter combination based on the first sorting result.
Optionally, the second determining unit includes: the second sorting subunit is used for sorting at least one initial parameter combination from large to small according to the parameter number in each initial parameter combination to obtain a second sorting result; and the second determining subunit is used for determining the initial parameter combination with the least parameter number as the target parameter combination based on the second sorting result.
Optionally, the transmission module includes: a third obtaining unit configured to obtain a parameter ratio, where the parameter ratio is used to describe a ratio of parameters between the plurality of target receiving ends; and the third determining unit is used for determining the target transmission mode based on the first parameter and the parameter proportion.
Example 3
According to an embodiment of the present application, there is also provided a computer-readable storage medium including a stored program, wherein the apparatus in which the computer-readable storage medium is controlled to execute the transmission method of image data in embodiment 1 described above when the program runs.
Example 4
According to an embodiment of the present application, there is also provided a processor for executing a program, wherein the program executes the image data transmission method in embodiment 1.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of units may be a logic function division, and there may be another division manner in actual implementation, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method of the various embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application, which are intended to be comprehended within the scope of the present application.

Claims (8)

1. A transmission method of image data, characterized by comprising:
acquiring a first parameter and a second parameter, wherein the first parameter is a frame rate parameter of a transmitting end, the second parameter is a frame rate parameter of a plurality of receiving ends, and the transmitting end is used for transmitting image data;
determining a target receiving end from the plurality of receiving ends based on the first parameter and the second parameter, wherein the target receiving end is used for receiving the image data, decoding the image data to obtain a target image, and sending the target image to a display device for display;
determining a target transmission mode based on the target receiving end, and transmitting the image data by utilizing the target transmission mode, wherein the target transmission mode is that the transmitting end directly transmits the image data to one target receiving end or the transmitting end transmits the image data to a plurality of target receiving ends according to the parameter proportion of the target receiving ends;
wherein determining a target receiving end from the plurality of receiving ends based on the first parameter and the second parameter comprises:
judging whether a third parameter exists in the second parameters, wherein the third parameter is larger than or equal to the first parameter;
acquiring a plurality of fourth parameters from the second parameters when the third parameters are not present in the second parameters, wherein the sum of the fourth parameters is larger than or equal to the first parameters, and the parameters contained in the fourth parameters are different in size;
determining a plurality of receiving ends corresponding to the fourth parameters as target receiving ends;
wherein, in the case that the third parameter is not present in the second parameters, obtaining a plurality of fourth parameters from the second parameters includes:
obtaining a plurality of initial parameter combinations in the absence of the third parameter in the second parameter, wherein the sum of parameters in each initial parameter combination is greater than or equal to the first parameter;
determining a target parameter combination from the plurality of initial parameter combinations based on the first parameter;
a plurality of fourth parameters are obtained from the target parameter combination.
2. The method of claim 1, wherein a target receiving end is determined from the plurality of receiving ends based on the first parameter and the second parameter, wherein the target receiving end is configured to receive the image data, comprising:
judging whether a third parameter exists in the second parameters, wherein the third parameter is larger than or equal to the first parameter;
and under the condition that the third parameter exists in the second parameter, determining the receiving end corresponding to the third parameter as a target receiving end.
3. The method of claim 1, wherein determining a target parameter combination from the at least one initial parameter combination based on the first parameter comprises:
sequencing at least one initial parameter combination from big to small according to the sum of parameters in each initial parameter combination to obtain a first sequencing result;
and determining an initial parameter combination with the smallest sum of parameters as the target parameter combination based on the first sorting result.
4. The method of claim 1, wherein determining a target parameter combination from the at least one initial parameter combination based on the first parameter comprises:
sequencing at least one initial parameter combination from big to small according to the parameter quantity in each initial parameter combination to obtain a second sequencing result;
and determining an initial parameter combination with the least parameter number as the target parameter combination based on the second sorting result.
5. The method of claim 1, wherein determining a target transmission mode based on the target receiving end comprises:
acquiring parameter proportions, wherein the parameter proportions are used for describing the proportions of parameters among a plurality of target receiving ends;
and determining the target transmission mode based on the first parameter and the parameter proportion.
6. An image data transmission apparatus, comprising:
the device comprises an acquisition module, a transmission module and a receiving module, wherein the acquisition module is used for acquiring a first parameter and a second parameter, the first parameter is a frame rate parameter of a transmitting end, and the second parameter is a frame rate parameter of a plurality of receiving ends;
the determining module is used for determining a target receiving end from the plurality of receiving ends based on the first parameter and the second parameter, wherein the target receiving end is also used for decoding the image data to obtain a target image, and sending the target image to a display device for display;
the transmission module is used for determining a target transmission mode based on the target receiving end and transmitting the image data by utilizing the target transmission mode, wherein the target transmission mode is that the transmitting end directly transmits the image data to one target receiving end or the transmitting end transmits the image data to a plurality of target receiving ends according to the parameter proportion of the target receiving ends;
the determining module is further configured to determine whether a third parameter exists in the second parameters, where the third parameter is greater than or equal to the first parameter, and obtain a plurality of fourth parameters from the second parameters when the third parameter does not exist in the second parameters, where a sum of the plurality of fourth parameters is greater than or equal to the first parameter, where parameters included in the plurality of fourth parameters are different in size, and determine a plurality of receiving ends corresponding to the plurality of fourth parameters as target receiving ends;
the determining module is further configured to obtain a plurality of initial parameter combinations if the third parameter is not present in the second parameter, where a sum of parameters in each initial parameter combination is greater than or equal to the first parameter, determine a target parameter combination from the plurality of initial parameter combinations based on the first parameter, and obtain a plurality of fourth parameters from the target parameter combination.
7. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program, when run, controls a device in which the computer-readable storage medium is located to perform the method of transmitting image data according to any one of claims 1 to 5.
8. A processor for executing a program, wherein the program when executed performs the image data transmission method according to any one of claims 1 to 5.
CN202110883205.9A 2021-08-02 2021-08-02 Image data transmission method, device, storage medium and processor Active CN113660459B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110883205.9A CN113660459B (en) 2021-08-02 2021-08-02 Image data transmission method, device, storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110883205.9A CN113660459B (en) 2021-08-02 2021-08-02 Image data transmission method, device, storage medium and processor

Publications (2)

Publication Number Publication Date
CN113660459A CN113660459A (en) 2021-11-16
CN113660459B true CN113660459B (en) 2023-11-14

Family

ID=78478289

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110883205.9A Active CN113660459B (en) 2021-08-02 2021-08-02 Image data transmission method, device, storage medium and processor

Country Status (1)

Country Link
CN (1) CN113660459B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007060488A (en) * 2005-08-26 2007-03-08 Sony Corp Image processing element, image processing method, recording medium and program
CN101166275A (en) * 2006-10-16 2008-04-23 索尼株式会社 Information processing device and method, and program
WO2016050145A1 (en) * 2014-09-30 2016-04-07 阿里巴巴集团控股有限公司 Method and apparatus for adjusting encoding parameters
CN107820103A (en) * 2017-10-16 2018-03-20 西安万像电子科技有限公司 The connection method of image transceiver, control device and system
CN108322737A (en) * 2018-02-08 2018-07-24 广东欧珀移动通信有限公司 Image frame per second measurement method and device
CN111147910A (en) * 2019-12-10 2020-05-12 西安万像电子科技有限公司 Image display method and device
CN111314741A (en) * 2020-05-15 2020-06-19 腾讯科技(深圳)有限公司 Video super-resolution processing method and device, electronic equipment and storage medium
CN113064689A (en) * 2021-03-26 2021-07-02 西安万像电子科技有限公司 Scene recognition method and device, storage medium and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110391870B (en) * 2018-04-16 2022-04-29 华为技术有限公司 Method and device for rate matching, and method and device for rate de-matching

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007060488A (en) * 2005-08-26 2007-03-08 Sony Corp Image processing element, image processing method, recording medium and program
CN101166275A (en) * 2006-10-16 2008-04-23 索尼株式会社 Information processing device and method, and program
WO2016050145A1 (en) * 2014-09-30 2016-04-07 阿里巴巴集团控股有限公司 Method and apparatus for adjusting encoding parameters
CN107820103A (en) * 2017-10-16 2018-03-20 西安万像电子科技有限公司 The connection method of image transceiver, control device and system
CN108322737A (en) * 2018-02-08 2018-07-24 广东欧珀移动通信有限公司 Image frame per second measurement method and device
CN111147910A (en) * 2019-12-10 2020-05-12 西安万像电子科技有限公司 Image display method and device
CN111314741A (en) * 2020-05-15 2020-06-19 腾讯科技(深圳)有限公司 Video super-resolution processing method and device, electronic equipment and storage medium
CN113064689A (en) * 2021-03-26 2021-07-02 西安万像电子科技有限公司 Scene recognition method and device, storage medium and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Recognition of packet loss speech using the most reliable reduced-frame-rate data;Lee-Min Lee;《2014 IEEE International Conference on Systems, Man, and Cybernetics (SMC)》;全文 *
一种单向卫星网络中冗余递增的数据分发机制;路利宁;余玉材;刘纯青;;科学技术与工程(第19期);全文 *

Also Published As

Publication number Publication date
CN113660459A (en) 2021-11-16

Similar Documents

Publication Publication Date Title
EP3232669B1 (en) Video frame processing method, video processing chip, motion estimation and motion compensation chip
US11889132B2 (en) Method and apparatus for implementing multi-person video live-streaming service, and computer device
CN110149555B (en) Video processing method and video receiving device
CN108495152B (en) Video live broadcast method and device, electronic equipment and medium
CN103281539A (en) Method, device and terminal for image encoding and decoding processing
CN106101823A (en) The processing method of a kind of Visual Display Data and display device
CN103283250A (en) Method, device and system of video redirection, and computer readable medium
EP3073754A1 (en) Systems and methods for video play control
CN107197355B (en) Bullet screen display method and device
CN112291587A (en) Dynamic video frame processing method, system, medium and server of remote desktop
CN112188282B (en) Image data display method and device and image data display system
EP3893464B1 (en) Method for transmitting image, terminal and storage medium
Van Wallendael et al. Perceptual quality of 4K-resolution video content compared to HD
CN113467741A (en) Screen transmission method, display device and screen transmission system thereof
CN110650357B (en) Video decoding method and device
CN113660459B (en) Image data transmission method, device, storage medium and processor
CN110876078A (en) Animation picture processing method and device, storage medium and processor
CN110267112B (en) Teaching video display method and device, terminal equipment, server and storage medium
CN113194276B (en) Method, system and storage medium for generating dynamic layout in video conference system
CN108683900B (en) Image data processing method and device
US8855432B2 (en) Color component predictive method for image coding
Li et al. Quantifying the influence of devices on Quality of Experience for Video streaming
CN110322525B (en) Method and terminal for processing dynamic diagram
US9807453B2 (en) Mobile search-ready smart display technology utilizing optimized content fingerprint coding and delivery
CN111711791A (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
GR01 Patent grant
GR01 Patent grant