Wireless video data acquisition method, system, device and storage medium

By establishing a WIFI connection in the wireless video data acquisition system and configuring the transmission protocol of the video source terminal using the weight reduction algorithm, the problem of confusion in the transmission protocol and unstable data transmission in the existing system is solved, and efficient and stable video data acquisition is achieved.

CN116017030BActive Publication Date: 2025-03-11SHENZHEN XFANIC TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211576768.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-09
Publication Date
2025-03-11
Estimated Expiration
2042-12-09

AI Technical Summary

Technical Problem

The existing wireless video data acquisition system has the problem of confusion in the use of transmission protocols, and data transmission is prone to crashes and insufficient transmission.

Method used

By receiving the WIFI connection request sent by the video source terminal, establish a WIFI connection, and obtain the transmission protocol type supported by the video source terminal. In combination with the protocol usage of each configured video source terminal, the preset weight reduction algorithm is used to configure the transmission protocol of the video source terminal to ensure the stability and efficiency of data transmission.

Benefits of technology

The wireless video data acquisition is realized, and the efficiency and stability of data transmission are improved by standardizing the transmission protocol configuration of the video source terminal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116017030B_ABST
    Figure CN116017030B_ABST
Patent Text Reader

Abstract

The present invention provides a wireless video data acquisition method, system, device and storage medium, wherein the method includes receiving a request for establishing a WIFI connection sent by a video source terminal; establishing a WIFI connection with the video source terminal in response to the WIFI connection request; obtaining the type of transmission protocol supported by the video source terminal; configuring the transmission protocol of the video source terminal through a preset weight reduction algorithm in combination with the protocol usage of each configured video source terminal; receiving video data sent by the video source terminal based on the transmission protocol; decoding the video data and converting the output format, and then transmitting it to a display terminal for display. The wireless video data acquisition method of the present invention uses WIFI to transmit video source data, realizing wireless video data acquisition, while the video source terminal transmission protocol has a standardized configuration, and data transmission is more stable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of video data acquisition, and in particular to a wireless video data acquisition method, system, device and storage medium. Background Art

[0002] Video data acquisition (Video Capture) mainly uses a device with a camera to collect video data within the field of view, and then saves or transmits the collected video data. Traditional video data acquisition systems mainly transmit the collected video data through wired methods, but with the development of mobile networks, current video data acquisition systems have transformed traditional wired transmission methods into wireless transmission methods, such as Bluetooth, WiFi, ZigBee, etc. However, existing video data acquisition solutions using wireless transmission methods still have technical problems such as confusing use of transmission protocols, easy data transmission crashes, and unstable transmission.

[0003] Therefore, the prior art still needs to be improved and developed. Summary of the invention

[0004] The main purpose of the present invention is to provide a wireless video data acquisition method, system, device and storage medium to solve the above-mentioned problems described in the prior art.

[0005] The first aspect of the present invention discloses a wireless video data acquisition method, comprising the following steps:

[0006] Receive a request to establish a WIFI connection sent by a video source terminal;

[0007] Establishing a WIFI connection with the video source terminal in response to the WIFI connection request;

[0008] Obtaining the transmission protocol type supported by the video source terminal;

[0009] In combination with the protocol usage of each configured video source terminal, the transmission protocol of the video source terminal is configured by a preset weight reduction algorithm;

[0010] Receiving video data sent by the video source terminal based on the transmission protocol;

[0011] The video data is decoded and converted into an output format before being transmitted to a display terminal for display.

[0012] In an optional implementation of the first aspect of the present invention, the configuring the transmission protocol of the video source terminal by using a preset weight reduction algorithm in combination with the protocol usage of each configured video source terminal includes:

[0013] Obtain the protocol usage of each configured video source terminal and generate a list of assigned protocols;

[0014] Determine whether there is a type of transmission protocol supported by the video source terminal that does not belong to the allocated protocol list;

[0015] If there is a type of transmission protocol supported by the video source terminal that does not belong to the allocated protocol list, the type of transmission protocol supported by the video source terminal that does not belong to the allocated protocol list is used as the transmission protocol of the video source terminal.

[0016] In an optional implementation manner of the first aspect of the present invention, the configuring the transmission protocol of the video source terminal by using a preset weight reduction algorithm in combination with the protocol usage of each configured video source terminal further includes:

[0017] If there is no type that does not belong to the allocated protocol list among the transmission protocol types supported by the video source terminal, counting the frequencies of various types of the transmission protocols in the allocated protocol list;

[0018] Calculate the remaining transmission bandwidth of various types of transmission protocols according to the frequencies of various types of transmission protocols;

[0019] Calculating a first product of the frequency and a first weight coefficient;

[0020] Calculating a second product of the transmission bandwidth and a second weight coefficient;

[0021] Adding the first product and the second product to obtain recommended values ​​of various types of the transmission protocols;

[0022] A target transmission protocol that belongs to the allocated protocol list and has the largest recommendation value among the transmission protocol types supported by the video source terminal is obtained as the transmission protocol of the video source terminal.

[0023] In an optional implementation manner of the first aspect of the present invention, the configuring the transmission protocol of the video source terminal by using a preset weight reduction algorithm in combination with the protocol usage of each configured video source terminal further includes:

[0024] If there are multiple target transmission protocols in the transmission protocol types supported by the video source terminal that belong to the allocated protocol list and have the largest recommendation value, the target transmission protocol with the smallest frequency is selected from the multiple target transmission protocols as the transmission protocol of the video source terminal.

[0025] In an optional implementation manner of the first aspect of the present invention, the decoding and output format conversion of the video data and then transmitting the video data to the display terminal for display includes:

[0026] Decoding the video data according to the encoding format of the video data to obtain video decoding data;

[0027] Acquire the display format and display parameters supported by the display terminal;

[0028] Converting the video decoded data into the display format;

[0029] Adjusting the resolution and frame rate of the video decoded data after format conversion according to the display parameters to obtain target video decoded data;

[0030] The target video decoding data is transmitted to the display terminal for display.

[0031] In an optional implementation of the first aspect of the present invention, the sum of the first weight coefficient and the second weight coefficient is equal to 1, and the first weight coefficient is less than the second weight coefficient.

[0032] In an optional implementation of the first aspect of the present invention, the video source terminal includes a mobile phone and a tablet; the transmission protocol type includes AirPlay protocol, Miracast protocol and DLNA protocol.

[0033] A second aspect of the present invention provides a wireless video data acquisition system, the wireless video data acquisition system comprising:

[0034] A request receiving module, used to receive a request to establish a WIFI connection sent by a video source terminal;

[0035] A connection establishing module, configured to establish a WIFI connection with the video source terminal in response to the WIFI connection request;

[0036] A protocol type acquisition module, used to acquire the transmission protocol type supported by the video source terminal;

[0037] A protocol configuration module, configured to configure the transmission protocol of the video source terminal through a preset weight reduction algorithm in combination with the protocol usage of each configured video source terminal;

[0038] A data receiving module, used for receiving video data sent by the video source terminal based on the transmission protocol;

[0039] The decoding output module is used to decode the video data and convert the output format before transmitting it to the display terminal for display.

[0040] A third aspect of the present invention provides a wireless video data acquisition device, the wireless video data acquisition device comprising: a memory and at least one processor, the memory storing instructions, the memory and the at least one processor being interconnected via a line;

[0041] The at least one processor calls the instructions in the memory to enable the wireless video data acquisition device to execute any one of the wireless video data acquisition methods described above.

[0042] A fourth aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the wireless video data acquisition method as described in any one of the above items is implemented.

[0043] Beneficial effects: The present invention provides a wireless video data acquisition method, system, device and storage medium, wherein the method includes receiving a request for establishing a WIFI connection sent by a video source terminal; establishing a WIFI connection with the video source terminal in response to the WIFI connection request; obtaining the type of transmission protocol supported by the video source terminal; configuring the transmission protocol of the video source terminal through a preset weight reduction algorithm in combination with the protocol usage of each configured video source terminal; receiving the video data sent by the video source terminal based on the transmission protocol; decoding the video data and converting the output format and transmitting it to the display terminal for display. The wireless video data acquisition method of the present invention uses WIFI to transmit video source data, realizing wireless video data acquisition, while the video source terminal transmission protocol has a standardized configuration, and the data transmission efficiency is higher. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 A schematic diagram of an embodiment of a wireless video data acquisition card of the present invention;

[0045] Figure 2 A schematic diagram of an embodiment of a wireless video data acquisition method of the present invention;

[0046] Figure 3 A schematic diagram of an embodiment of a wireless video data acquisition system of the present invention;

[0047] Figure 4 The figure is a schematic diagram of an embodiment of a wireless video data acquisition device of the present invention. DETAILED DESCRIPTION

[0048] The embodiments of the present invention provide a wireless video data acquisition method, system, device and storage medium. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, so that the embodiments described herein can be used in addition to the ones shown here.

[0049] In addition, the terms "include" or "have" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, apparatus, product or device that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed or inherent to these processes, methods, products or devices.

[0050] The first aspect of the present invention discloses a wireless video data acquisition method for a video receiving terminal device, wherein the video receiving terminal device comprises a wireless video data acquisition card. Figure 1 The wireless video data acquisition card includes a WIFI communication module, a central processing module, a DSP codec module, an HDMI to TTL and HDMI module, and a TTL to USB module. Figure 2 , the wireless video data acquisition method comprises the following steps:

[0051] S100, receiving a request for establishing a WIFI connection sent by a video source terminal; in the present invention, the video source terminal includes a mobile phone and a tablet, that is, the technical solution of the present invention includes but is not limited to a scenario in which a mobile phone and a tablet are used to obtain video source data, and WIFI is used between the video source terminal and the video receiving terminal device for data transmission, and the WIFI standard used may be WIFI4, WIFI5 and WIFI6;

[0052] S200, establishing a WIFI connection with the video source terminal in response to the WIFI connection request; in the present invention, before the video source terminal establishes a WIFI connection with the video receiving terminal device, multiple other video source terminals may have established WIFI connections with the video receiving terminal device and performed

[0053] Configuration of transport protocols;

[0054] S300, obtaining the transmission protocol type supported by the video source terminal; in the present invention, the transmission

[0055] The transmission protocol types include AirPlay protocol, Miracast protocol and DLNA protocol. For each of the 5 video source terminals, the transmission protocol type supported by the video source terminal is limited by hardware and software limitations.

[0056] The technical problem to be solved by the present invention is how to let the video source terminal select a suitable transmission protocol to transmit data with the video receiving terminal device so that the video source terminal can transmit data to the video receiving terminal device in a suitable manner.

[0057] The configuration is more balanced when using various protocols;

[0058] S400, combining the protocol usage of each configured video source terminal, configuring the transmission protocol of the video source terminal by using a preset weight reduction algorithm; in the present invention, configuring the transmission protocol of the video source terminal

[0059] The transmission protocol is mainly based on the protocol usage of each video source terminal currently connected and configured by the video receiving end device. The configuration principle adopted is to try to make all the video source terminals use various transmission protocols instead of concentrating on one, so as to avoid using a certain transmission protocol.

[0060] The video source terminal exceeds the terminal's load capacity, resulting in data processing disorder and affecting data transmission efficiency;

[0061] S500, receiving the video data sent by the video source terminal based on the transmission protocol; in the present invention, after the video source terminal has configured the corresponding transmission protocol, the video source terminal receives the video data according to the configured transmission protocol.

[0062] The video data can be transmitted using the transmission protocol;

[0063] S600: Decode the video data, convert the output format, and transmit it to the display terminal for display.

[0064] The video is sent to the corresponding display device for playback. Therefore, the video receiving device decodes and converts the format after obtaining the video data.

[0065] In an optional implementation manner of the first aspect of the present invention, the combination of each configured video source

[0066] The protocol usage of the terminal, and configuring the transmission protocol 5 of the video source terminal through a preset weight reduction algorithm include:

[0067] Acquire the protocol usage of each configured video source terminal and generate a list of assigned protocols; in the present invention, for example, before configuring the transmission protocol of the video source terminal this time, N video source terminals have been connected and the corresponding transmission protocols have been assigned. In this step, the transmission protocols used by the N video source terminals that have been connected and assigned the transmission protocols are collected. This table mainly includes the items of serial number, device ID, device IP and protocol type;

[0068] Determine whether there is a type that does not belong to the allocated protocol list among the transmission protocol types supported by the video source terminal; in the present invention, for example, the protocol types supported by the video source terminal include transmission protocol 1, transmission protocol 2, transmission protocol 3 and transmission protocol 4, and the allocated protocol list records transmission protocol 1, transmission protocol 2, transmission protocol 2, transmission protocol 4, transmission protocol 4, transmission protocol 5 and transmission protocol 6. In this step, it is to see whether transmission protocol 3 that does not exist in the allocated protocol list can be found. It is also possible that there are multiple types of protocol types supported by the video source terminal that do not exist in the allocated protocol list, so there are also multiple protocol types found;

[0069] If there is a type of transmission protocol supported by the video source terminal that does not belong to the allocated protocol list, the type of transmission protocol supported by the video source terminal that does not belong to the allocated protocol list is used as the transmission protocol of the video source terminal. In the present invention, taking the above example, when the type that does not belong to the allocated protocol list is found to be transmission protocol 3, transmission protocol 3 is used as the transmission protocol between the video source terminal and the video receiving terminal device. In this step, if there are multiple types that do not belong to the allocated protocol list, then according to the release dates of multiple transmission protocols (the date of the first publication after the transmission protocol standard is formulated), the transmission protocol with the latest release date is selected as the transmission protocol between the video source terminal and the video receiving terminal device.

[0070] In an optional implementation manner of the first aspect of the present invention, the configuring the transmission protocol of the video source terminal by using a preset weight reduction algorithm in combination with the protocol usage of each configured video source terminal further includes:

[0071] If the transmission protocol types supported by the video source terminal do not include a type that does not belong to the allocated protocol list, the frequencies of various types of the transmission protocols in the allocated protocol list are counted; in the present invention, for example, if the protocol types supported by the video source terminal include transmission protocol 1, transmission protocol 2, transmission protocol 3 and transmission protocol 4, and the allocated protocol list contains transmission protocol 1, transmission protocol 2, transmission protocol 2, transmission protocol 3, transmission protocol 3, transmission protocol 4 and transmission protocol 5, that is, the transmission protocol types supported by the video source terminal do not include a type that does not belong to the allocated protocol list;

[0072] The remaining transmission bandwidth of each type of the transmission protocol is calculated by the frequency of each type of the transmission protocol; in this step, if there is no type that does not belong to the allocated protocol list among the transmission protocol types supported by the video source terminal, the present invention will count the frequency of each transmission protocol appearing in the allocated protocol list, taking the above example as an example, for example, transmission protocol 1 is 1 time, transmission protocol 2 is 2 times, transmission protocol 3 is 2 times, transmission protocol 4 is 1 time, and transmission protocol 5 is 1 time;

[0073] Calculate a first product of the frequency and a first weight coefficient; in the present invention, the value range of the first weight coefficient a is 0.2-0.4. Taking the above example, in this step, 1*a is used for transmission protocol 1, 2*a is used for transmission protocol 2, and so on;

[0074] Calculate the second product of the transmission bandwidth and the second weight coefficient; in the present invention, the video receiving end device will pre-allocate the corresponding transmission bandwidth occupation range for various transmission protocols based on the data transmission capacity (i.e., transmission bandwidth) of the used WIFI standard. Every time a video source terminal uses a certain transmission protocol, the video source terminal will divide up a section of the transmission bandwidth occupation range. The remaining transmission bandwidth is the transmission bandwidth occupation range minus the range used by its corresponding transmission protocol. After obtaining the remaining transmission bandwidth of various types of transmission protocols, in this step, the remaining transmission bandwidth of various types of transmission protocols is multiplied by a second weight coefficient. The value range of the second weight coefficient b is 0.6-0.8, the first weight coefficient is less than the second weight coefficient, and the sum of the first weight coefficient and the second weight coefficient is equal to 1;

[0075] Adding the first product and the second product to obtain recommended values ​​for various types of the transmission protocols; in this step, for example, by adding the first product and the second product, the recommended value of transmission protocol 1 is c, the recommended value of transmission protocol 2 is d, the recommended value of transmission protocol 2 is e, the recommended value of transmission protocol 4 is f, and the recommended value of transmission protocol 5 is g;

[0076] The target transmission protocol that belongs to the allocated protocol list and has the largest recommended value among the transmission protocol types supported by the video source terminal is obtained as the transmission protocol of the video source terminal. In the present invention, taking the above-mentioned recommended value result as an example, since transmission protocol 5 is not in the transmission protocol types supported by the video source terminal, it is first excluded, and then the transmission protocol corresponding to the maximum value among c, d, e, and f is selected as the transmission protocol of the video source terminal according to the size of c, d, e, and f among transmission protocol 1, transmission protocol 2, transmission protocol 3, and transmission protocol 4.

[0077] In an optional implementation manner of the first aspect of the present invention, the configuring the transmission protocol of the video source terminal by using a preset weight reduction algorithm in combination with the protocol usage of each configured video source terminal further includes:

[0078] If there are multiple target transmission protocols that belong to the assigned protocol list and have the largest recommended value among the transmission protocol types supported by the video source terminal, the target transmission protocol with the smallest frequency is selected from the multiple target transmission protocols as the transmission protocol of the video source terminal. In the present invention, taking the above-mentioned recommended value result as an example, if c and d among c, d, e, and f are the same and the largest, then the corresponding frequencies of transmission protocol 1 and transmission protocol 2 are further determined, and the frequency of transmission protocol 1 is 1 and the frequency of transmission protocol 2 is 2, then transmission protocol 1 is used as the transmission protocol of the video source terminal.

[0079] In an optional implementation manner of the first aspect of the present invention, the decoding and output format conversion of the video data and then transmitting the video data to the display terminal for display includes:

[0080] Decoding the video data according to the encoding format of the video data to obtain video decoding data; generally speaking, when recording a video, the video source terminal will use a certain format (such as H.264) to encode the obtained video, and when the display terminal device plays it, it may use another format to play it, so a format conversion needs to be performed in the video receiving terminal device. For the subsequent format conversion, the video receiving terminal device needs to decode the video data to obtain complete video data;

[0081] Obtaining a display format and display parameters supported by the display terminal; in the present invention, the video data received by the video receiving end device is ultimately used for display by the display terminal, so after the video data is decoded, it is also necessary to adjust the display format and display parameters supported by the display terminal;

[0082] Converting the video decoded data into the display format; in the present invention, the function of this step is to transcode the video decoded data into a playback format supported by the display terminal;

[0083] The resolution and frame rate of the video decoded data after format conversion are adjusted according to the display parameters to obtain target video decoded data; in the present invention, in order to obtain a better playback effect of the video decoded data after format conversion on the display terminal, the video decoded data needs to be enhanced, and the enhancement part in the present invention mainly enhances the resolution and frame rate;

[0084] The target video decoding data is transmitted to the display terminal for display. In the present invention, after the video decoding data is converted and enhanced, it is transmitted to the display terminal for display via the interface protocol used by the display.

[0085] See also Figure 3 The second aspect of the present invention provides a wireless video data acquisition system, the wireless video data acquisition system comprising:

[0086] The request receiving module 10 is used to receive a request for establishing a WIFI connection sent by a video source terminal;

[0087] A connection establishing module 20, configured to establish a WIFI connection with the video source terminal in response to the WIFI connection request;

[0088] The protocol type acquisition module 30 is used to acquire the transmission protocol type supported by the video source terminal;

[0089] The protocol configuration module 40 is used to configure the transmission protocol of each configured video source terminal through a preset weight reduction algorithm in combination with the protocol usage of each configured video source terminal;

[0090] A data receiving module 50, configured to receive video data sent by the video source terminal based on the transmission protocol;

[0091] The decoding output module 60 is used to decode the video data and convert the output format and transmit it to the display terminal for display.

[0092] In an optional implementation of the second aspect of the present invention, the protocol configuration module 40 includes:

[0093] A protocol list generating unit, used to obtain the protocol usage of each configured video source terminal and generate an allocated protocol list;

[0094] A protocol determination unit, configured to determine whether there is a type of transmission protocol supported by the video source terminal that does not belong to the allocated protocol list;

[0095] The first protocol determination unit is configured to use the transmission protocol type supported by the video source terminal that does not belong to the allocated protocol list as the transmission protocol of the video source terminal if there is a type of transmission protocol supported by the video source terminal that does not belong to the allocated protocol list.

[0096] In an optional implementation of the second aspect of the present invention, the protocol configuration module 40 further includes:

[0097] The second protocol determination unit is used to count the frequencies of various types of the transmission protocols in the allocated protocol list if there is no type that does not belong to the allocated protocol list among the transmission protocol types supported by the video source terminal; calculate the remaining transmission bandwidth of various types of the transmission protocols according to the frequencies of various types of the transmission protocols; calculate a first product of the frequency and a first weight coefficient; calculate a second product of the transmission bandwidth and a second weight coefficient; add the first product and the second product to obtain recommended values ​​for various types of the transmission protocols; and obtain a target transmission protocol that belongs to the allocated protocol list and has the largest recommended value among the transmission protocol types supported by the video source terminal as the transmission protocol of the video source terminal.

[0098] In an optional implementation manner of the second aspect of the present invention, the second protocol determination unit is further configured to:

[0099] If there are multiple target transmission protocols in the transmission protocol types supported by the video source terminal that belong to the allocated protocol list and have the largest recommendation value, the target transmission protocol with the smallest frequency is selected from the multiple target transmission protocols as the transmission protocol of the video source terminal.

[0100] In an optional implementation of the second aspect of the present invention, the decoding output module 60 includes:

[0101] A data decoding unit, configured to decode the video data according to the encoding format of the video data to obtain video decoding data;

[0102] A display terminal parameter acquisition unit, used to acquire a display format and display parameters supported by the display terminal;

[0103] A format conversion unit, used for converting the video decoding data into the display format;

[0104] A resolution frame rate adjustment unit, used for adjusting the resolution and frame rate of the video decoded data after format conversion according to the display parameters to obtain target video decoded data;

[0105] A data transmission unit is used to transmit the target video decoding data to the display terminal for display.

[0106] In an optional implementation of the second aspect of the present invention, the sum of the first weight coefficient and the second weight coefficient is equal to 1, and the first weight coefficient is less than the second weight coefficient.

[0107] In an optional implementation of the second aspect of the present invention, the video source terminal includes a mobile phone and a tablet; the transmission protocol type includes AirPlay protocol, Miracast protocol and DLNA protocol.

[0108] Figure 4 1 is a schematic diagram of a wireless video data acquisition device provided by an embodiment of the present invention. The wireless video data acquisition device may have relatively large differences due to different configurations or performances, and may include one or more wireless data acquisition cards 90 (including WIFI communication modules, central processing modules (CPUs), DSP codec modules, HDMI to TTL and HDMI modules, and TTL to USB modules) (central processing units, CPUs) (for example, one or more processors) and memories 100, one or more storage media 110 for storing applications or data (for example, one or more mass storage devices). Among them, the memories and storage media may be short-term storage or permanent storage. The program stored in the storage medium may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the wireless video data acquisition device. Furthermore, the processor may be configured to communicate with the storage medium and execute a series of instruction operations in the storage medium in the interface automation test.

[0109] The wireless video data acquisition device of the present invention may also include one or more power supplies 120, one or more wired or wireless network interfaces 130, one or more input and output interfaces 140, and / or one or more operating devices, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 4 The structure of the wireless video data acquisition device shown does not constitute a specific limitation on the wireless video data acquisition device of the present invention, and may include more or less components than those shown in the figure, or combine certain components, or arrange the components differently.

[0110] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the wireless video data acquisition method.

[0111] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described device or device or unit can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.

[0112] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0113] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A wireless video data acquisition method, characterized in that: The following steps are involved: Receive a request to establish a WIFI connection sent by a video source terminal; Establishing a WIFI connection with the video source terminal in response to the WIFI connection request; Obtaining the transmission protocol type supported by the video source terminal; In combination with the protocol usage of each configured video source terminal, the transmission protocol of the video source terminal is configured by a preset weight reduction algorithm; Receiving video data sent by the video source terminal based on the transmission protocol; Decoding and converting the video data into an output format and then transmitting the video data to a display terminal for display; The configuring the transmission protocol of the video source terminal by using a preset weight reduction algorithm in combination with the protocol usage of each configured video source terminal includes: Obtain the protocol usage of each configured video source terminal and generate a list of assigned protocols; Determine whether there is a type of transmission protocol supported by the video source terminal that does not belong to the allocated protocol list; If there is a type of transmission protocol supported by the video source terminal that does not belong to the allocated protocol list, the type of transmission protocol supported by the video source terminal that does not belong to the allocated protocol list is used as the transmission protocol of the video source terminal.

2. The wireless video data acquisition method according to claim 1, characterized in that: The step of configuring the transmission protocol of the video source terminal by using a preset weight reduction algorithm in combination with the protocol usage of each configured video source terminal also includes: If there is no type that does not belong to the allocated protocol list among the transmission protocol types supported by the video source terminal, counting the frequencies of various types of the transmission protocols in the allocated protocol list; Calculate the remaining transmission bandwidth of various types of transmission protocols according to the frequencies of various types of transmission protocols; Calculating a first product of the frequency and a first weight coefficient; Calculating a second product of the transmission bandwidth and a second weight coefficient; Adding the first product and the second product to obtain recommended values ​​of various types of the transmission protocols; A target transmission protocol that belongs to the allocated protocol list and has the largest recommendation value among the transmission protocol types supported by the video source terminal is obtained as the transmission protocol of the video source terminal.

3. The wireless video data acquisition method according to claim 2, characterized in that: The step of configuring the transmission protocol of the video source terminal by using a preset weight reduction algorithm in combination with the protocol usage of each configured video source terminal also includes: If there are multiple target transmission protocols in the transmission protocol types supported by the video source terminal that belong to the allocated protocol list and have the largest recommendation value, the target transmission protocol with the smallest frequency is selected from the multiple target transmission protocols as the transmission protocol of the video source terminal.

4. The wireless video data acquisition method according to claim 1, characterized in that: The decoding and output format conversion of the video data and then transmitting the video data to the display terminal for display comprises: Decoding the video data according to the encoding format of the video data to obtain video decoding data; Acquire the display format and display parameters supported by the display terminal; Converting the video decoded data into the display format; Adjusting the resolution and frame rate of the video decoded data after format conversion according to the display parameters to obtain target video decoded data; The target video decoding data is transmitted to the display terminal for display.

5. The wireless video data acquisition method according to claim 3, characterized in that: The sum of the first weight coefficient and the second weight coefficient is equal to 1, and the first weight coefficient is smaller than the second weight coefficient.

6. The wireless video data acquisition method according to claim 1, characterized in that: The video source terminals include mobile phones and tablets; the transmission protocol types include AirPlay protocol, Miracast protocol and DLNA protocol.

7. A wireless video data acquisition system, characterized in that: The wireless video data acquisition system comprises: A request receiving module, used to receive a request to establish a WIFI connection sent by a video source terminal; A connection establishing module, configured to establish a WIFI connection with the video source terminal in response to the WIFI connection request; A protocol type acquisition module, used to acquire the transmission protocol type supported by the video source terminal; A protocol configuration module, configured to configure the transmission protocol of the video source terminal through a preset weight reduction algorithm in combination with the protocol usage of each configured video source terminal; A data receiving module, used for receiving video data sent by the video source terminal based on the transmission protocol; A decoding output module, used for decoding the video data and converting the output format and transmitting the converted video data to a display terminal for display; Wherein, the protocol configuration module includes: A protocol list generating unit, used to obtain the protocol usage of each configured video source terminal and generate an allocated protocol list; A protocol determination unit, configured to determine whether there is a type of transmission protocol supported by the video source terminal that does not belong to the allocated protocol list; The first protocol determination unit is configured to use the transmission protocol type supported by the video source terminal that does not belong to the allocated protocol list as the transmission protocol of the video source terminal if there is a type of transmission protocol supported by the video source terminal that does not belong to the allocated protocol list.

8. A wireless video data acquisition device, characterized in that: The wireless video data acquisition device comprises: a memory and at least one processor, the memory stores instructions, and the memory and the at least one processor are interconnected via a line; The at least one processor calls the instruction in the memory to enable the wireless video data acquisition device to execute the wireless video data acquisition method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the wireless video data acquisition method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Communication between wireless devices using a plurality of wireless network protocols

    CN102137501A

  • Method, device and system for self-adaptation multiple-link aggregation

    CN103618678A