CN113965787B - Picture sharing method and device, display terminal and storage medium - Google Patents

Picture sharing method and device, display terminal and storage medium Download PDF

Info

Publication number
CN113965787B
CN113965787B CN202111218514.0A CN202111218514A CN113965787B CN 113965787 B CN113965787 B CN 113965787B CN 202111218514 A CN202111218514 A CN 202111218514A CN 113965787 B CN113965787 B CN 113965787B
Authority
CN
China
Prior art keywords
frequency band
target
wireless
point
radio frequency
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
CN202111218514.0A
Other languages
Chinese (zh)
Other versions
CN113965787A (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.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics 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 Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202111218514.0A priority Critical patent/CN113965787B/en
Publication of CN113965787A publication Critical patent/CN113965787A/en
Application granted granted Critical
Publication of CN113965787B publication Critical patent/CN113965787B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • H04N21/43076Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen of the same content streams on multiple devices, e.g. when family members are watching the same movie on different devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • H04N21/6437Real-time Transport Protocol [RTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

The application discloses a picture sharing method for a display terminal, which comprises the following steps: when negotiating wireless picture sharing with target wireless equipment, acquiring a first wireless frequency band of the target wireless equipment, wherein the display terminal is connected with the target wireless equipment through a miracast protocol; obtaining a target radio frequency band based on the first radio frequency band and the second radio frequency band; establishing a point-to-point transmission channel with the target wireless device by utilizing the target wireless frequency band; and receiving the shared picture sent by the target wireless device through the point-to-point transmission channel, and outputting the shared picture. The application also discloses a picture sharing device, a display terminal and a computer readable storage medium. By adopting the method of the application, the transmission channel is limited to the point-to-point mode, and the data transmission stability and reliability of the point-to-point mode are better, thereby the data integrity of the shared picture is extremely high, and the display effect is better.

Description

Picture sharing method and device, display terminal and storage medium
Technical Field
The present application relates to the field of data sharing, and in particular, to a method and apparatus for sharing a picture, a display terminal, and a computer readable storage medium.
Background
miracast was established by Wi-Fi alliance in 2012, and the underlying transmission was based on wifi Direct (Wi-Fi Direct) based wireless display standards. Devices supporting this standard, such as smartphones, computers, etc., can transmit audio and video to the display device wirelessly. This technique allows devices to be interconnected without a wireless AP (e.g., a wireless router) and to be dropped wirelessly anytime and anywhere instead of using a wired connection for audio and video data transmission (e.g., HDMI).
The miracast technology topology structure is divided into a transmitting end (source) and a receiving end (sink), the miracast technology can support one-to-many wireless data transmission, and a plurality of transmitting ends simultaneously transmit data to the receiving end for display. After negotiating with the receiving end, the transmitting end establishes a plurality of different transmission channels with the receiving end, and transmits data to the receiving end for display through the plurality of different channels.
However, with the conventional screen sharing method, when the transmitting end shares the screen to the receiving end, the screen display effect is poor.
Disclosure of Invention
The application mainly aims to provide a picture sharing method, a device, a display terminal and a computer readable storage medium, which aim to solve the technical problem that a picture display effect is poor when a sending end shares a picture to a receiving end in the prior art.
In order to achieve the above object, the present application provides a method for sharing pictures, for a display terminal, the method comprising the steps of:
when negotiating wireless picture sharing with target wireless equipment, acquiring a first wireless frequency band of the target wireless equipment, wherein the display terminal is connected with the target wireless equipment through a miracast protocol;
determining a second radio frequency band of the display terminal;
obtaining a target radio frequency band based on the first radio frequency band and the second radio frequency band;
establishing a point-to-point transmission channel with the target wireless device by utilizing the target wireless frequency band;
and receiving the shared picture sent by the target wireless device through the point-to-point transmission channel, and outputting the shared picture.
Optionally, before the step of establishing a point-to-point transmission channel with the target wireless device by using the target radio frequency band, the method further includes:
acquiring a target working mode based on the first wireless frequency band and the second wireless frequency band;
the step of establishing a point-to-point transmission channel with the target wireless device by using the target wireless frequency band includes:
and establishing a point-to-point transmission channel with the target wireless device by utilizing the target wireless frequency band and the target working mode.
Optionally, the step of obtaining the target radio frequency band based on the first radio frequency band and the second radio frequency band includes:
and if the first wireless frequency band is a first preset frequency band and the second wireless frequency band is the first preset frequency band or the second preset frequency band, determining the first preset frequency band as the target wireless frequency band.
Optionally, the step of obtaining the target radio frequency band based on the first radio frequency band and the second radio frequency band includes:
and if the first wireless frequency band comprises a first preset frequency band and a second preset frequency band, and the second wireless frequency band is the first preset frequency band or the second preset frequency band, determining the second preset frequency band as the target wireless frequency band.
Optionally, the step of obtaining the target working mode based on the first radio frequency band and the second radio frequency band includes:
if the first radio frequency band is a first preset frequency band and the second radio frequency band is a first preset frequency band, determining a single-channel concurrency mode as a target working mode, or,
and if the first wireless frequency band comprises a first preset frequency band and a second preset frequency band and the second wireless frequency band is the second preset frequency band, determining a single-channel concurrency mode as a target working mode.
Optionally, the step of obtaining the target working mode based on the first radio frequency band and the second radio frequency band includes:
if the first radio frequency band is a first preset frequency band and the second radio frequency band is a second preset frequency band, determining a dual-frequency dual-transmission mode as a target working mode, or,
and if the first wireless frequency band comprises a first preset frequency band and a second preset frequency band, and the second wireless frequency band is the first preset frequency band, determining a double-frequency double-transmission mode as a target working mode.
Optionally, the first preset frequency band is a 2.4G frequency band, the second preset frequency band is a 5G frequency band, and the shared picture is rtp data.
In addition, in order to achieve the above object, the present application also provides a picture sharing device for a display terminal, the device including:
the acquisition module is used for acquiring a first wireless frequency band of the target wireless device when negotiating wireless picture sharing with the target wireless device, and the display terminal is connected with the target wireless device through a miracast protocol;
the determining module is used for determining a second wireless frequency band of the display terminal;
the obtaining module is used for obtaining a target wireless frequency band based on the first wireless frequency band and the second wireless frequency band;
the establishing module is used for establishing a point-to-point transmission channel with the target wireless device by utilizing the target wireless frequency band;
and the sharing module is used for receiving the sharing picture sent by the target wireless device through the point-to-point transmission channel and outputting the sharing picture.
In addition, in order to achieve the above object, the present application also provides a display terminal, including: the image sharing method according to any one of the preceding claims comprises a memory, a processor, and a screen sharing program stored in the memory and running on the processor, wherein the screen sharing program when executed by the processor realizes the steps of the screen sharing method according to any one of the preceding claims.
In addition, in order to achieve the above object, the present application also proposes a computer-readable storage medium having stored thereon a picture sharing program which, when executed by a processor, implements the steps of the picture sharing method as set forth in any one of the above.
The technical scheme of the application provides a picture sharing method for a display terminal, which comprises the following steps: when negotiating wireless picture sharing with target wireless equipment, acquiring a first wireless frequency band of the target wireless equipment, wherein the display terminal is connected with the target wireless equipment through a miracast protocol; determining a second radio frequency band of the display terminal; obtaining a target radio frequency band based on the first radio frequency band and the second radio frequency band; establishing a point-to-point transmission channel with the target wireless device by utilizing the target wireless frequency band; and receiving the shared picture sent by the target wireless device through the point-to-point transmission channel, and outputting the shared picture.
In the existing method, when the display terminal and the wireless device share pictures, a plurality of transmission channel coexistence modes are adopted to establish transmission channels, and meanwhile, the data transmission stability and reliability of the plurality of transmission channel coexistence modes are poor, so that the integrity of the data of the shared pictures is poor, the data of the shared pictures are incomplete when the display terminal outputs the shared pictures, and the picture display effect is poor. By adopting the method of the application, the point-to-point transmission channel is established with the target wireless device by utilizing the target wireless frequency band, the transmission channel is limited to the point-to-point mode, and the data transmission stability and reliability of the point-to-point mode are better, so that the data integrity of the shared picture is extremely high and the picture display effect is better when the display terminal outputs the shared picture.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to the structures shown in these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a display terminal in a hardware operating environment according to an embodiment of the present application;
FIG. 2 is a flowchart of a first embodiment of a frame sharing method according to the present application;
fig. 3 is a block diagram illustrating a first embodiment of a picture sharing apparatus according to the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Referring to fig. 1, fig. 1 is a schematic diagram of a display terminal structure of a hardware running environment according to an embodiment of the present application.
The display terminal may be a television, a display, a projector, or the like.
In general, a display terminal includes: at least one processor 301, a memory 302 and a picture sharing program stored on said memory and executable on said processor, said picture sharing program being configured to implement the steps of the picture sharing method as described above.
Processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 301 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 301 may also include a main processor, which is a processor for processing data in an awake state, also called a CPU (Central ProcessingUnit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 301 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. The processor 301 may also include an AI (Artificial Intelligence ) processor for processing related picture sharing method operations so that the picture sharing method model may be self-training learning, improving efficiency and accuracy.
Memory 302 may include one or more computer-readable storage media, which may be non-transitory. Memory 302 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 302 is used to store at least one instruction for execution by processor 301 to implement the picture sharing method provided by the method embodiments of the present application.
In some embodiments, the terminal may further optionally include: a communication interface 303, and at least one peripheral device. The processor 301, the memory 302 and the communication interface 303 may be connected by a bus or signal lines. The respective peripheral devices may be connected to the communication interface 303 through a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 304, a display screen 305, and a power supply 306.
The communication interface 303 may be used to connect at least one peripheral device associated with an I/O (Input/Output) to the processor 301 and the memory 302. In some embodiments, processor 301, memory 302, and communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 301, the memory 302, and the communication interface 303 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 304 is configured to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuitry 304 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 304 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 304 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuitry 304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G and second preset frequency bands), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuitry 304 may also include NFC (Near Field Communication ) related circuitry, which is not limiting of the application.
The display screen 305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 305 is a touch screen, the display 305 also has the ability to collect touch signals at or above the surface of the display 305. The touch signal may be input as a control signal to the processor 301 for processing. At this point, the display 305 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the display 305 may be one, the front panel of an electronic device; in other embodiments, the display screen 305 may be at least two, respectively disposed on different surfaces of the electronic device or in a folded design; in still other embodiments, the display 305 may be a flexible display disposed on a curved surface or a folded surface of the electronic device. Even more, the display screen 305 may be arranged in an irregular pattern other than rectangular, i.e., a shaped screen. The display 305 may be made of LCD (LiquidCrystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The power supply 306 is used to power the various components in the electronic device. The power source 306 may be alternating current, direct current, disposable or rechargeable. When the power source 306 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology. It will be appreciated by those skilled in the art that the structure shown in fig. 1 is not limiting of the display terminal and may include more or fewer components than shown, or may combine certain components, or may be arranged in different components.
In addition, the embodiment of the application also provides a computer readable storage medium, wherein a picture sharing program is stored on the computer readable storage medium, and the picture sharing program realizes the steps of the picture sharing method when being executed by a processor. Therefore, a detailed description will not be given here. In addition, the description of the beneficial effects of the same method is omitted. For technical details not disclosed in the embodiments of the computer-readable storage medium according to the present application, please refer to the description of the method embodiments of the present application. As determined as an example, the program instructions may be deployed to be executed on one display terminal or on multiple display terminals located at one site or, alternatively, on multiple display terminals distributed across multiple sites and interconnected by a communication network.
Those skilled in the art will appreciate that implementing all or part of the above-described methods may be accomplished by way of computer programs, which may be stored on a computer-readable storage medium, and which, when executed, may comprise the steps of the embodiments of the methods described above. The computer readable storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random access Memory (Random AccessMemory, RAM), or the like.
Based on the above hardware structure, an embodiment of the picture sharing method of the present application is presented.
Referring to fig. 2, fig. 2 is a flowchart of a first embodiment of a picture sharing method according to the present application, where the method is used for a display terminal, and includes the following steps:
step S11: and when negotiating wireless picture sharing with the target wireless equipment, acquiring a first wireless frequency band of the target wireless equipment, wherein the display terminal is connected with the target wireless equipment through a miracast protocol.
It should be noted that, the execution body of the present application is a display terminal, the structure of the display terminal is described above, and not described in detail herein, the display terminal is installed with a picture sharing program, and the steps of the picture sharing method of the present application are implemented when the display terminal executes the picture sharing program. In the present application, the display terminal is preferably a television, and the present application is explained by taking a television as an example, and other types of display terminals are similar to the television in steps.
The target wireless device is the wireless device as the transmitting end, and can be a mobile phone or a tablet computer, and the display terminal is used as the receiving end.
In the application, the data packet transmitted by the common wifi chip is analyzed, and the stability and reliability of data transmission of a single p2p (point-to-point) communication mode is determined to be more stable than that of a p2p+sta coexistence communication mode (sta mode comprises stations (sta, such as a transmitting end and a receiving end), an access point (router and the like), a wireless medium, a distributed system and the like).
Meanwhile, in a p2p+sta coexistence communication working mode, the wifi chip takes a p2p working channel as a reference, six working modes (each frequency band corresponds to one mode, for example, 2.4G/5G SCC refers to two modes of 2.4G and SCC combination and 5G and SCC combination) of 2.4G/5G DBDC, 2.4G/5G MCC and 2.4G/5G SCC exist, wherein the DBDC mode refers to a double-frequency double-transmission mode (Dual Band Dual Concurrent), the SCC mode refers to a single-channel concurrent mode (Single Channel Concurrency), and the MCC mode refers to a multi-channel concurrent mode (Multiple Channel Concurrency). When the television wifi chip adopts the mt7921wifi chip of Mediatek and the television is used as a receiving end, the data packet corresponding to the shared picture is analyzed, and the following is found: when wireless equipment (such as a mobile phone) and the like are switched to a sta channel in a time division multiplexing mode (Multiple Channel Concurrency) of the wifi chip, the wireless equipment side (a transmitting end) cannot respond to a Power Save message of the switching channel of the wifi chip side (a receiving end) to stop sending a p2p message, so that when a television wifi enters the sta time division working, the transmitting end cannot receive the transmitting message, periodic uninterrupted packet loss occurs, and the receiving end is caused to turn on a screen.
It can be understood that the negotiation process in step S11 is a process in which the display terminal and the target wireless device are connected through a miracast protocol, and when the display terminal and the target wireless device share a picture through the miracast protocol, the display terminal and the target wireless device perform p2p negotiation, and in the negotiation process, the display terminal needs to be used as go, and meanwhile, the go_intent value of the display terminal is increased as much as possible, and is set to be 14 at the maximum.
Specifically, the first radio frequency band of the target wireless device is generally divided into two cases: the first wireless frequency band includes only 2.4G frequency bands, and the first wireless frequency band includes two frequency bands, a 2.4G frequency band and a 5G frequency band. Namely, the target wireless devices are classified into two types, the first: the target wireless device supports only wireless networks in the 2.4G band, the second: the target wireless device supports wireless networks of the 2.4G band and the 5G band.
Step S12: and determining a second wireless frequency band of the display terminal.
Specifically, the second radio frequency band of the display terminal is generally divided into two cases: the second radio frequency band is a 2.4G frequency band and the second radio frequency band is a 5G frequency band. The second radio frequency band of the display terminal refers to the frequency band to which the display terminal sta has been connected.
Step S13: and obtaining a target wireless frequency band based on the first wireless frequency band and the second wireless frequency band.
Specifically, the step of obtaining the target radio frequency band based on the first radio frequency band and the second radio frequency band includes:
if the first radio frequency band is a first preset frequency band and the second radio frequency band is a first preset frequency band or a second preset frequency band, determining the first preset frequency band as the target radio frequency band, or,
and if the first wireless frequency band comprises a first preset frequency band and a second preset frequency band, and the second wireless frequency band is the first preset frequency band or the second preset frequency band, determining the second preset frequency band as the target wireless frequency band.
In the present application, the first preset frequency band is a 2.4G frequency band, and the second preset frequency band is a 5G frequency band. As can be seen from the above: when the wireless terminal only supports the 2.4G frequency band and the display terminal sta is connected to the frequency band which is 2.4G frequency band, the target wireless frequency band is the 2.4G frequency band; when the wireless terminal only supports the 2.4G frequency band and the display terminal sta is connected to the frequency band which is the 5G frequency band, the target wireless frequency band is the 2.4G frequency band; the wireless terminal supports a 2.4G frequency band and a 5G frequency band, and when the display terminal sta is connected to the frequency band which is the 2.4G frequency band, the target wireless frequency band is the 5G frequency band; the wireless terminal supports the 2.4G band+5g band, and when the display terminal sta is connected to the band of 2.4G band, the target wireless band is the 5G band.
Step S14: and establishing a point-to-point transmission channel with the target wireless device by utilizing the target wireless frequency band.
It can be appreciated that after the p2p negotiation is completed and the target radio band is obtained, a point-to-point transmission channel is established with the target wireless device. In addition, before establishing the peer-to-peer transmission channel, the target working mode of the display terminal needs to be obtained, so that the peer-to-peer transmission channel is established with the target wireless device through the target working mode and the target wireless frequency band, namely the display terminal executes: acquiring a target working mode based on the first wireless frequency band and the second wireless frequency band; correspondingly, the step of establishing a point-to-point transmission channel with the target wireless device by using the target wireless frequency band includes: and establishing a point-to-point transmission channel with the target wireless device by utilizing the target wireless frequency band and the target working mode.
Specifically, the step of obtaining the target working mode based on the first radio frequency band and the second radio frequency band includes:
if the first radio frequency band is a first preset frequency band and the second radio frequency band is a first preset frequency band, determining a single-channel concurrency mode as a target working mode, or,
if the first radio frequency band includes a first preset frequency band and a second preset frequency band, and the second radio frequency band is the second preset frequency band, determining a single-channel concurrency mode as a target working mode, or,
if the first radio frequency band is a first preset frequency band and the second radio frequency band is a second preset frequency band, determining a dual-frequency dual-transmission mode as a target working mode, or,
and if the first wireless frequency band comprises a first preset frequency band and a second preset frequency band, and the second wireless frequency band is the first preset frequency band, determining a double-frequency double-transmission mode as a target working mode.
It will be appreciated that the point-to-point transmission channel is established based on two factors, the target radio frequency band and the target operating mode. The target operation mode is an operation mode of the display terminal, the dual-frequency dual-transmission mode is Dual Band Dual Concurrent (DBDC for short), and the single-channel concurrent mode is Single Channel Concurrency (SCC) mode.
In summary, it is possible to obtain: when the wireless terminal only supports 2.4G frequency bands and the display terminal sta is connected to the frequency band which is 2.4G frequency bands, the target wireless frequency band is 2.4G frequency bands, and the target working mode is a single-channel concurrent mode; when the wireless terminal only supports 2.4G frequency bands and the display terminal sta is connected to the frequency band which is 5G frequency bands, the target wireless frequency band is 2.4G frequency bands, and the target working mode is a double-frequency double-transmission mode; the wireless terminal supports a 2.4G frequency band and a 5G frequency band, and when the display terminal sta is connected to the frequency band which is 2.4G frequency band, the target wireless frequency band is the 5G frequency band, and the target working mode is a double-frequency double-transmission mode; the wireless terminal supports a 2.4G frequency band and a 5G frequency band, and when the display terminal sta is connected to the frequency band which is the 5G frequency band, the target wireless frequency band is the 5G frequency band, and the target working mode is a single-channel concurrent mode.
Step S15: and receiving the shared picture sent by the target wireless device through the point-to-point transmission channel, and outputting the shared picture.
After the point-to-point transmission channel is established, data can be transmitted through the point-to-point transmission channel, at the moment, the display terminal receives the shared picture sent by the target wireless device, the shared picture is transmitted in the rtp data format, the display terminal obtains the shared picture based on the received rtp data, and the shared picture is output, so that the picture sharing process is realized.
The technical scheme of the application provides a picture sharing method for a display terminal, which comprises the following steps: when negotiating wireless picture sharing with target wireless equipment, acquiring a first wireless frequency band of the target wireless equipment, wherein the display terminal is connected with the target wireless equipment through a miracast protocol; determining a second radio frequency band of the display terminal; obtaining a target radio frequency band based on the first radio frequency band and the second radio frequency band; establishing a point-to-point transmission channel with the target wireless device by utilizing the target wireless frequency band; and receiving the shared picture sent by the target wireless device through the point-to-point transmission channel, and outputting the shared picture.
In the existing method, when the display terminal and the wireless device share pictures, a plurality of transmission channel coexistence modes are adopted to establish transmission channels, and meanwhile, the data transmission stability and reliability of the plurality of transmission channel coexistence modes are poor, so that the integrity of the data of the shared pictures is poor, the data of the shared pictures are incomplete when the display terminal outputs the shared pictures, and the picture display effect is poor. By adopting the method of the application, the point-to-point transmission channel is established with the target wireless device by utilizing the target wireless frequency band, the transmission channel is limited to the point-to-point mode, and the data transmission stability and reliability of the point-to-point mode are better, so that the data integrity of the shared picture is extremely high and the picture display effect is better when the display terminal outputs the shared picture.
Referring to fig. 3, fig. 3 is a block diagram showing a first embodiment of a picture sharing apparatus for a display terminal according to the present application, based on the same inventive concept as the previous embodiment, the apparatus comprising:
the acquiring module 10 is configured to acquire a first wireless frequency band of a target wireless device when negotiating wireless picture sharing with the target wireless device, where the display terminal is connected with the target wireless device through a miracast protocol;
a determining module 20, configured to determine a second radio frequency band of the display terminal;
an obtaining module 30, configured to obtain a target radio frequency band based on the first radio frequency band and the second radio frequency band;
an establishing module 40, configured to establish a point-to-point transmission channel with the target wireless device using the target wireless frequency band;
and the sharing module 50 is configured to receive a sharing picture sent by the target wireless device through the peer-to-peer transmission channel, and output the sharing picture.
It should be noted that, since the steps executed by the apparatus of this embodiment are the same as those of the foregoing method embodiment, specific implementation manners and technical effects that can be achieved of the apparatus of this embodiment may refer to the foregoing embodiment, and will not be repeated herein.
The foregoing description is only of the optional embodiments of the present application, and is not intended to limit the scope of the application, and all the equivalent structural changes made by the description of the present application and the accompanying drawings or the direct/indirect application in other related technical fields are included in the scope of the application.

Claims (9)

1. A picture sharing method for a display terminal, the method comprising the steps of:
when negotiating wireless picture sharing with target wireless equipment, acquiring a first wireless frequency band of the target wireless equipment, wherein the display terminal is connected with the target wireless equipment through a miracast protocol;
determining a second radio frequency band of the display terminal;
obtaining a target radio frequency band based on the first radio frequency band and the second radio frequency band;
establishing a point-to-point transmission channel with the target wireless device by utilizing the target wireless frequency band;
receiving a shared picture sent by the target wireless device through the point-to-point transmission channel, and outputting the shared picture;
before the step of establishing a point-to-point transmission channel with the target wireless device by using the target wireless frequency band, the method further includes:
acquiring a target working mode based on the first wireless frequency band and the second wireless frequency band; the target working mode is a double-frequency double-transmitting mode or a single-channel concurrent mode;
the step of establishing a point-to-point transmission channel with the target wireless device by using the target wireless frequency band includes:
and establishing a point-to-point transmission channel with the target wireless device by utilizing the target wireless frequency band and the target working mode.
2. The method of claim 1, wherein the step of obtaining the target radio frequency band based on the first radio frequency band and the second radio frequency band comprises:
and if the first wireless frequency band is a first preset frequency band and the second wireless frequency band is the first preset frequency band or the second preset frequency band, determining the first preset frequency band as the target wireless frequency band.
3. The method of claim 1, wherein the step of obtaining the target radio frequency band based on the first radio frequency band and the second radio frequency band comprises:
and if the first wireless frequency band comprises a first preset frequency band and a second preset frequency band, and the second wireless frequency band is the first preset frequency band or the second preset frequency band, determining the second preset frequency band as the target wireless frequency band.
4. The method of claim 1, wherein the step of obtaining a target operating mode based on the first radio frequency band and the second radio frequency band comprises:
if the first radio frequency band is a first preset frequency band and the second radio frequency band is a first preset frequency band, determining a single-channel concurrency mode as a target working mode, or,
and if the first wireless frequency band comprises a first preset frequency band and a second preset frequency band and the second wireless frequency band is the second preset frequency band, determining a single-channel concurrency mode as a target working mode.
5. The method of claim 1, wherein the step of obtaining a target operating mode based on the first radio frequency band and the second radio frequency band comprises:
if the first radio frequency band is a first preset frequency band and the second radio frequency band is a second preset frequency band, determining a dual-frequency dual-transmission mode as a target working mode, or,
and if the first wireless frequency band comprises a first preset frequency band and a second preset frequency band, and the second wireless frequency band is the first preset frequency band, determining a double-frequency double-transmission mode as a target working mode.
6. The method according to any one of claims 2-5, wherein the first preset frequency band is a 2.4G frequency band, the second preset frequency band is a 5G frequency band, and the shared picture is rtp data.
7. A picture sharing apparatus for a display terminal, the apparatus comprising:
the acquisition module is used for acquiring a first wireless frequency band of the target wireless device when negotiating wireless picture sharing with the target wireless device, and the display terminal is connected with the target wireless device through a miracast protocol;
the determining module is used for determining a second wireless frequency band of the display terminal;
the obtaining module is used for obtaining a target wireless frequency band based on the first wireless frequency band and the second wireless frequency band;
the establishing module is used for establishing a point-to-point transmission channel with the target wireless device by utilizing the target wireless frequency band;
the sharing module is used for receiving the sharing picture sent by the target wireless device through the point-to-point transmission channel and outputting the sharing picture;
the apparatus further comprises:
the mode determining module is specifically configured to obtain a target working mode based on the first radio frequency band and the second radio frequency band; the target working mode is a double-frequency double-transmitting mode or a single-channel concurrent mode;
the establishing module is specifically configured to establish a point-to-point transmission channel with the target wireless device by using the target wireless frequency band and the target working mode.
8. A display terminal, the display terminal comprising: memory, a processor and a picture sharing program stored on the memory and running on the processor, which when executed by the processor, implements the steps of the picture sharing method according to any one of claims 1 to 6.
9. A computer-readable storage medium, on which a picture sharing program is stored, which when executed by a processor, implements the steps of the picture sharing method as claimed in any one of claims 1 to 6.
CN202111218514.0A 2021-10-19 2021-10-19 Picture sharing method and device, display terminal and storage medium Active CN113965787B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111218514.0A CN113965787B (en) 2021-10-19 2021-10-19 Picture sharing method and device, display terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111218514.0A CN113965787B (en) 2021-10-19 2021-10-19 Picture sharing method and device, display terminal and storage medium

Publications (2)

Publication Number Publication Date
CN113965787A CN113965787A (en) 2022-01-21
CN113965787B true CN113965787B (en) 2023-11-17

Family

ID=79464775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111218514.0A Active CN113965787B (en) 2021-10-19 2021-10-19 Picture sharing method and device, display terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113965787B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114157659B (en) * 2022-02-10 2022-06-21 荣耀终端有限公司 File sharing method and terminal equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375479A (en) * 2016-10-26 2017-02-01 北京小米移动软件有限公司 Data sharing method and device
CN106973424A (en) * 2017-03-28 2017-07-21 维沃移动通信有限公司 The creation method and terminal of a kind of WAP
CN111427527A (en) * 2020-03-20 2020-07-17 海信视像科技股份有限公司 Screen projection method, device, equipment and computer readable storage medium
CN112702803A (en) * 2020-12-29 2021-04-23 珠海市魅族科技有限公司 Channel determination method and device, terminal equipment and computer readable storage medium
CN113179555A (en) * 2021-05-19 2021-07-27 北京小米移动软件有限公司 Screen projection method, screen projection device, screen projection system, electronic device, and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9306992B2 (en) * 2013-06-07 2016-04-05 Qualcomm Incorporated Method and system for using Wi-Fi display transport mechanisms to accomplish voice and data communications

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375479A (en) * 2016-10-26 2017-02-01 北京小米移动软件有限公司 Data sharing method and device
CN106973424A (en) * 2017-03-28 2017-07-21 维沃移动通信有限公司 The creation method and terminal of a kind of WAP
CN111427527A (en) * 2020-03-20 2020-07-17 海信视像科技股份有限公司 Screen projection method, device, equipment and computer readable storage medium
CN112702803A (en) * 2020-12-29 2021-04-23 珠海市魅族科技有限公司 Channel determination method and device, terminal equipment and computer readable storage medium
CN113179555A (en) * 2021-05-19 2021-07-27 北京小米移动软件有限公司 Screen projection method, screen projection device, screen projection system, electronic device, and storage medium

Also Published As

Publication number Publication date
CN113965787A (en) 2022-01-21

Similar Documents

Publication Publication Date Title
CN106658366B (en) Bluetooth working mode switching method and device, Bluetooth chip and electronic equipment
US20200245386A1 (en) Wireless connection method and device
KR20200057235A (en) Method for receiving reference signal and electronic device therefor
US9319981B2 (en) Apparatus, system and method of controlling a wireless docking device
US10499200B2 (en) Information processing device and information processing method
US11943608B2 (en) Bluetooth communication system capable of increasing generation efficiency of cypher keys required for data transmission between Bluetooth host device and Bluetooth device set, and related Bluetooth device set
WO2023169434A1 (en) Communication method and apparatus
CN113965787B (en) Picture sharing method and device, display terminal and storage medium
CN111988771A (en) Wireless connection control method and device and electronic equipment
JP2014127831A (en) Electronic apparatus, radio communication device, and communication control method
CN112689172B (en) Program playing method and device, set top box and storage medium
CN108307485B (en) Wireless network scanning method and device, terminal equipment and storage medium
CN112333795A (en) Network access method and device
WO2023165246A1 (en) Bluetooth protocol communication method, electronic device, apparatus, storage medium and product
EP4092990A2 (en) Data processing method and apparatus
WO2022127679A1 (en) Information transmission method and apparatus, and terminal and network side device
JP6643841B2 (en) Communication device, communication device control method, and program
US20220141900A1 (en) Communication method, communication system, and wireless communication device
US10681759B2 (en) Paging schemes for peer-to-peer communications
CN108337718B (en) Wireless network scanning method and device, terminal equipment and storage medium
CN113014998B (en) Audio output method, device, television and computer readable storage medium
WO2022237616A1 (en) Resource pool configuration method and apparatus, and terminal and network side device
US20200359399A1 (en) Method and Apparatus for Identifying Interference in a Wireless Communication System
WO2023011532A1 (en) Method for determining beam application time, and terminal and network side device
CN114173172B (en) Data processing method, device, terminal equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant