CN111542133B - Information transmission method, system, receiving device, transmitting device and storage medium - Google Patents

Information transmission method, system, receiving device, transmitting device and storage medium Download PDF

Info

Publication number
CN111542133B
CN111542133B CN202010563631.XA CN202010563631A CN111542133B CN 111542133 B CN111542133 B CN 111542133B CN 202010563631 A CN202010563631 A CN 202010563631A CN 111542133 B CN111542133 B CN 111542133B
Authority
CN
China
Prior art keywords
connection channel
network
information
content
identification code
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
CN202010563631.XA
Other languages
Chinese (zh)
Other versions
CN111542133A (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.)
Maojia Technology Guangdong Co ltd
Original Assignee
Maojia Technology Guangdong 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 Maojia Technology Guangdong Co ltd filed Critical Maojia Technology Guangdong Co ltd
Priority to CN202010563631.XA priority Critical patent/CN111542133B/en
Publication of CN111542133A publication Critical patent/CN111542133A/en
Application granted granted Critical
Publication of CN111542133B publication Critical patent/CN111542133B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • 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 stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses an information transmission method, which comprises the steps of receiving an identification code and network information of a sending device; establishing a second connection channel according to the received identification code and network information; determining the network strength of the first connection channel and the second connection channel, wherein the first connection channel is established according to the identification code and the network information of the receiving device; and selecting the content which corresponds to the first connection channel and/or the second connection channel and is transmitted by the transmitting device according to a preset strategy. The invention also discloses an information transmission system, a receiving device, a sending device and a storage medium. The invention aims to solve the problem of low connection establishment efficiency in screen projection.

Description

Information transmission method, system, receiving device, transmitting device and storage medium
Technical Field
The present invention relates to the field of data transmission technologies, and in particular, to an information transmission method, system, receiving device, transmitting device, and storage medium.
Background
With the rapid development of internet technology, information transmission technology has also been widely developed, for example, a user can throw a video/picture watched on a mobile terminal or throw the whole content on a large screen such as a television through a television so as to watch the video/picture triggered by the mobile terminal on a digital large screen.
The common information transmission method in the market at present is to transmit information through a screen, mainly through sending out invitations by a delivery device, receiving device responses and establishing connection; or the delivery equipment delivers to a server, and the server establishes connection with the receiving equipment; because the connection is unidirectional, the connection cannot be performed due to the condition of a network of a certain party, and the like, so that the connection establishment time is prolonged, and the screen throwing efficiency is reduced.
Disclosure of Invention
The invention mainly aims to provide an information transmission method, an information transmission system, a receiving device, a sending device and a storage medium, and aims to solve the problem of low screen projection efficiency in information transmission.
To achieve the above object, the present invention provides an information transmission method applied to a receiving apparatus, the method comprising:
receiving an identification code and network information of a transmitting device;
establishing a second connection channel according to the received identification code and network information;
determining the network strength of the first connection channel and the second connection channel, wherein the first connection channel is established according to the identification code and the network information of the receiving device;
and selecting the content which corresponds to the first connection channel and/or the second connection channel and is transmitted by the transmitting device according to a preset strategy.
Optionally, the identification code and the network information of the receiving and sending device include:
acquiring an identification code and network information of the transmitting device from a first auxiliary device;
or receiving the first optical signal sent by the sending device, and analyzing the first optical signal to obtain the identification code and the network information of the sending device.
Optionally, the acquiring, from the first auxiliary device, the identification code and the network information of the transmitting device includes:
and acquiring the identification code and the network information of the transmitting device from the first auxiliary equipment in a Near Field Communication (NFC) or wireless hot spot mode.
Optionally, the analyzing the first optical signal to obtain the identification code and the network information of the sending device includes:
analyzing the first optical signal to obtain corresponding regular data information;
searching according to the regular data information to obtain the identification code and the network information of the sending device.
Optionally, the selecting, according to a preset policy, content corresponding to the first connection channel and/or the second connection channel to receive the content transmitted by the sending device includes:
and selecting a connection channel with high network strength from the first connection channel and the second connection channel to receive the content transmitted by the transmitting device.
Optionally, the selecting, according to a preset policy, content corresponding to the first connection channel and/or the second connection channel to receive the content transmitted by the sending device includes:
selecting the first connection channel and the second connection channel to receive the content transmitted by the transmitting device;
or receiving a network strength requirement sent by the sending device, and selecting a corresponding first connection channel or second connection channel according to the network strength requirement.
Optionally, before the selecting a connection channel with high network strength from the first connection channel and the second connection channel receives the content transmitted by the sending device, the method further includes:
calculating a network strength difference value of the first connection channel and the second connection channel;
judging whether the network intensity difference value is within a first preset interval or not;
if not, executing the steps of: and selecting a connection channel with high network strength from the first connection channel and the second connection channel to receive the content transmitted by the transmitting device.
Optionally, the method further comprises:
and when the signal network intensities of the first connecting channel and the second connecting channel are lower than a preset threshold value, transmitting a feedback signal to the transmitting device so as to control the transmitting device to reduce the resolution of the transmission content.
In order to achieve the above object, the present invention further provides an information transmission method, applied to a transmitting device, the method comprising:
receiving the identification code and the network information of the receiving device;
establishing a fourth connection channel according to the received identification code and network information;
determining network intensity in a third connection channel and a fourth connection channel, wherein the third connection channel is established according to the identification code and the network information of the sending device;
and selecting the corresponding third connection channel and/or the fourth connection channel to transmit content to the receiving device according to a preset strategy.
Optionally, the receiving the identification code and the network information of the receiving device includes:
acquiring the identification code and the network information of the receiving device from the second auxiliary equipment;
or receiving the second optical signal sent by the receiving device, and analyzing the second optical signal to obtain the identification code and the network information of the receiving device.
Optionally, the acquiring the identification code and the network information of the receiving device from the second auxiliary device includes:
and acquiring the identification code and the network information of the receiving device from the second auxiliary equipment in an NFC or wireless hot spot mode.
Optionally, the analyzing the second optical signal to obtain the identification code and the network information of the receiving device includes:
analyzing the second optical signal to obtain corresponding regular data information;
searching according to the regular data information to obtain the identification code and the network information of the receiving device.
Optionally, the analyzing the second optical signal to obtain the identification code and the network information of the receiving device includes:
analyzing the second optical signal to obtain corresponding regular data information;
searching according to the regular data information to obtain the identification code and the network information of the receiving device.
Optionally, the selecting, according to a preset policy, content transmitted to the receiving device by the third connection channel and/or the fourth connection channel includes:
and selecting a connection channel with high network strength from the third connection channel and the fourth connection channel to transmit content to the receiving device.
Optionally, the selecting, according to a preset policy, content transmitted to the receiving device by the third connection channel and/or the fourth connection channel includes:
selecting the third connection channel and the fourth connection channel to transmit the content to the receiving device;
Or receiving a network strength requirement sent by the sending device, and selecting a corresponding first connection channel or second connection channel according to the network strength requirement.
Optionally, before the selecting a connection channel with high network strength in the third connection channel and the fourth connection channel transmits content to the receiving device, the method further includes:
calculating a network strength difference value of the third connection channel and the fourth connection channel;
judging whether the network intensity difference value is within a second preset interval or not;
if not, executing the steps of: and selecting a connection channel with high network strength from the third connection channel and the fourth connection channel to transmit content to the receiving device.
Optionally, the information transmission method further includes:
and receiving the feedback signal transmitted by the receiving device and reducing the resolution of the content transmitted by the transmitting device.
In order to achieve the above object, the present invention also provides a receiving apparatus, the information transmitting apparatus including: an information transmission program configured to implement the steps of the information transmission method as described above.
In order to achieve the above object, the present invention also provides a transmitting apparatus, the information transmitting apparatus including: an information transmission program configured to implement the steps of the information transmission method as described above.
In order to achieve the above object, the present invention further provides an information transmission system, which includes the above transmitting device, and the above receiving device.
In order to achieve the above object, the present invention also provides a storage medium having stored thereon an information transmission program which, when executed by a processor, implements the steps of the above information transmission method.
According to the information transmission method provided by the embodiment of the invention, the receiving device and the sending device respectively acquire the identification code and the network information of the other party and establish a network connection channel, and meanwhile, the network connection channel is established by utilizing the network information of the receiving device and the sending device, wherein the identification code is the unique identification for identifying the receiving device and the sending device, and the two connection channels established according to the identification code and the network information can be selected to receive the content transmitted by the sending device, so that the first connection channel and/or the second connection channel can be selected arbitrarily according to the actual situation, the connection time of the two connection channels is long compared with the existing unidirectional connection, the screen throwing efficiency is low, and the two connection channels can be selected arbitrarily for transmitting the content during screen throwing, and simultaneously, resources connected by the receiving device and the sending device are released respectively, and the resources comprise network connection resources, CPU resources, memory resources and the like, and are disconnected with other unnecessary equipment, so that sufficient preparation is made for screen throwing connection, and the efficiency of screen throwing transmission is improved.
Specifically, the content can be transmitted through selecting a connection channel with high network strength, and the channel with high network strength enables data transmission to be rapid and screen throwing to be smoother, so that the transmission efficiency of the content is improved, the screen throwing efficiency is further improved, and the experience satisfaction of a user is improved.
Meanwhile, under the condition of acquiring the network intensity required by the transmission content, any channel for establishing connection is selected according to the transmission content, and under the condition that the bandwidth of the connection channel is ensured to be established and the transmission content can be transmitted, the maximization of resource utilization is realized.
In addition, two connecting channels can be selected and the contents transmitted by the transmitting device can be transmitted simultaneously, the transmitted contents are displayed in a split screen mode according to the set ratio, and the multi-channel transmission is achieved, so that the screen throwing efficiency is improved.
Drawings
Fig. 1 is a schematic diagram of a transmitting device/receiving device of a hardware running environment according to an embodiment of the present invention;
fig. 2 is a flow chart of a first embodiment of an information transmission method based on a receiving device according to the present invention;
fig. 3 is a flow chart of a second embodiment of an information transmission method based on a receiving device according to the present invention
Fig. 4 is a schematic flow chart of an embodiment of a receiving device-based switching information transmission channel according to the present invention;
Fig. 5 is a schematic flow chart of a third embodiment of an information transmission method based on a sending device of the present invention;
fig. 6 is a flow chart of a fourth embodiment of an information transmission method based on a transmitting device according to the present invention;
FIG. 7 is a schematic flow chart diagram illustrating an embodiment of a switching information transmission channel based on a transmitting device according to the present invention;
FIG. 8 is a schematic diagram of a mobile phone screen-on-television scenario according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of a mobile phone according to an embodiment of the present invention for projecting a screen to a TV set by an NFC device;
fig. 10 is a logic diagram of an embodiment of a mobile phone screen-casting to a television set through a flash lamp according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The main solutions of the embodiments of the present invention are:
because the prior art information transmission method mainly sends out invitations through a sending device, a receiving device responds and establishes connection; or the sending device is sent to the server, and the server and the receiving device are connected in one way, so that the connection cannot be realized due to the condition of a network of one party and the like, the connection establishment time is prolonged, and the connection efficiency is reduced.
The invention provides a solution, which realizes the quick connection of the signal transmission channels and improves the connection efficiency by establishing two connection channels in the receiving device or the transmitting device.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a transmitting device/receiving device of a hardware running environment according to an embodiment of the present invention.
The information transmission method related to the embodiment of the invention is mainly applied to an information transmission system, the system comprises a plurality of devices, the devices can comprise a receiving device and a transmitting device, wherein the transmitting device and the receiving device can be devices with screens, such as mobile phones, tablet computers, notebook computers, televisions and the like.
As illustrated in fig. 1, such an apparatus may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may be an infrared receiving module for receiving control commands triggered by a user via a remote control, and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the structure shown in fig. 1 is not limiting of the invention and may include more or fewer components than shown, or certain components may be combined, or a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and an information transmission program may be included in the memory 1005, which is a type of computer storage medium.
In the transmitting apparatus/receiving apparatus shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server, and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be used to call an information transmission program stored in the memory 1005, apply to a receiving apparatus, and perform the following operations:
receiving an identification code and network information of a transmitting device;
establishing a second connection channel according to the received identification code and network information;
determining the network strength of the first connection channel and the second connection channel, wherein the first connection channel is established according to the identification code and the network information of the receiving device;
and selecting the content which corresponds to the first connection channel and/or the second connection channel and is transmitted by the transmitting device according to a preset strategy.
Further, the processor 1001 may be configured to call an information transmission program stored in the memory 1005, apply to a receiving apparatus, and perform the following operations:
acquiring an identification code and network information of the transmitting device from a first auxiliary device;
or receiving the first optical signal sent by the sending device, and analyzing the first optical signal to obtain the identification code and the network information of the sending device.
Further, the processor 1001 may be configured to call an information transmission program stored in the memory 1005, apply to a receiving apparatus, and perform the following operations:
and acquiring the identification code and the network information of the transmitting device from the first auxiliary equipment in a Near Field Communication (NFC) or wireless hot spot mode.
Further, the processor 1001 may be configured to call an information transmission program stored in the memory 1005, apply to a receiving apparatus, and perform the following operations:
analyzing the first optical signal to obtain corresponding regular data information;
searching according to the regular data information to obtain the identification code and the network information of the sending device.
Further, the processor 1001 may be configured to call an information transmission program stored in the memory 1005, apply to a receiving apparatus, and perform the following operations:
And selecting a connection channel with high network strength from the first connection channel and the second connection channel to receive the content transmitted by the transmitting device.
Further, the processor 1001 may be configured to call an information transmission program stored in the memory 1005, apply to a receiving apparatus, and perform the following operations:
selecting the first connection channel and the second connection channel to receive the content transmitted by the transmitting device;
or receiving a network strength requirement sent by the sending device, and selecting a corresponding first connection channel or second connection channel according to the network strength requirement.
Further, the processor 1001 may be configured to call an information transmission program stored in the memory 1005, apply to a receiving apparatus, and perform the following operations:
calculating a network strength difference value of the first connection channel and the second connection channel;
judging whether the network intensity difference value is within a first preset interval or not;
if not, executing the steps of: and selecting a connection channel with high network strength from the first connection channel and the second connection channel to receive the content transmitted by the transmitting device.
Further, the processor 1001 may be configured to call an information transmission program stored in the memory 1005, apply to a receiving apparatus, and perform the following operations:
And when the signal network intensities of the first connecting channel and the second connecting channel are lower than a preset threshold value, transmitting a feedback signal to the transmitting device so as to control the transmitting device to reduce the resolution of the transmission content.
Meanwhile, applied to a transmitting apparatus, the processor 1001 may be configured to call an information transmission program stored in the memory 1005 and perform the following operations:
receiving the identification code and the network information of the receiving device;
establishing a fourth connection channel according to the received identification code and network information;
determining network intensity in a third connection channel and a fourth connection channel, wherein the third connection channel is established according to the identification code and the network information of the sending device;
and selecting the corresponding third connection channel and/or the fourth connection channel to transmit content to the receiving device according to a preset strategy.
Further, the processor 1001 may be configured to call an information transmission program stored in the memory 1005, apply to a transmitting apparatus, and perform the following operations:
acquiring the identification code and the network information of the receiving device from the second auxiliary equipment;
or receiving the second optical signal sent by the receiving device, and analyzing the second optical signal to obtain the identification code and the network information of the receiving device.
Further, the processor 1001 may be configured to call an information transmission program stored in the memory 1005, apply to a transmitting apparatus, and perform the following operations:
and acquiring the identification code and the network information of the receiving device from the second auxiliary equipment in an NFC or wireless hot spot mode.
Further, the processor 1001 may be configured to call an information transmission program stored in the memory 1005, apply to a transmitting apparatus, and perform the following operations:
analyzing the second optical signal to obtain corresponding regular data information;
searching according to the regular data information to obtain the identification code and the network information of the receiving device.
Further, the processor 1001 may be configured to call an information transmission program stored in the memory 1005, apply to a transmitting apparatus, and perform the following operations:
analyzing the second optical signal to obtain corresponding regular data information;
searching according to the regular data information to obtain the identification code and the network information of the receiving device.
Further, the processor 1001 may be configured to call an information transmission program stored in the memory 1005, apply to a transmitting apparatus, and perform the following operations:
And selecting a connection channel with high network strength from the third connection channel and the fourth connection channel to transmit content to the receiving device.
Further, the processor 1001 may be configured to call an information transmission program stored in the memory 1005, apply to a transmitting apparatus, and perform the following operations:
selecting the third connection channel and the fourth connection channel to transmit the content to the receiving device;
or receiving a network strength requirement sent by the sending device, and selecting a corresponding first connection channel or second connection channel according to the network strength requirement.
Further, the processor 1001 may be configured to call an information transmission program stored in the memory 1005, apply to a transmitting apparatus, and perform the following operations:
calculating a network strength difference value of the third connection channel and the fourth connection channel;
judging whether the network intensity difference value is within a second preset interval or not;
if not, executing the steps of: and selecting a connection channel with high network strength from the third connection channel and the fourth connection channel to transmit content to the receiving device.
Further, the processor 1001 may be configured to call an information transmission program stored in the memory 1005, apply to a transmitting apparatus, and perform the following operations:
And receiving the feedback signal transmitted by the receiving device and reducing the resolution of the content transmitted by the transmitting device.
The specific embodiments of the transmitting device and the receiving device of the present invention are basically the same as the embodiments of the information transmission method described below, and are not described herein.
Referring to fig. 2, the present invention provides a flowchart of a first embodiment of an information transmission method based on a receiving device, which is applied to the receiving device, and the information transmission method includes:
step S10, receiving the identification code of the transmitting device and the network information.
In this embodiment, after the receiving device is started, the identification code and the network information of the transmitting device are obtained, if the receiving device is a common television, the receiving device may read the identification code and the network information of the transmitting device stored on NFC through a first auxiliary device, for example, a remote controller including NFC (Near Field Communication, near field communication technology), and send the identification code and the network information of the transmitting device to the receiving device through infrared or bluetooth, and meanwhile, the identification code and the network signal of the receiving device are stored in an NFC tag through the same method. The auxiliary device may also be a remote control comprising an RFID device (Radio Frequency Identification, an abbreviation for radio frequency identification, or radio frequency identification technology); meanwhile, such a device for assisting may also be an internal identification module integrated in the receiving device, or an external device connected to the receiving device, such as a tag module for storing an identification code and network information.
In addition, the identification code is data capable of defining the device uniqueness, such as a device ID, or a device code generated specifically for screen casting; the network information is the SSID (Service Set Identifier ) of the network connected with the current device, the password, the channel and the mode, or the necessary information such as the SSID, the password, the channel and the mode of the network shared by the current device, which is helpful for other devices to quickly connect with the network; the network mode includes a centralized and peer-to-peer wireless network, wherein the peer-to-peer network refers to an internet system without a central server that exchanges information by means of user groups (peers), and the centralized network refers to a central network system with a central server; SSID generally refers to the account name of the network; a Channel refers to a specific medium through which information is transmitted, wherein a wireless Channel is a wireless frequency band (Channel), which is a data signal transmission Channel using a wireless signal as a transmission medium; therefore, the identification code received in this embodiment is unique data of the transmitting device, so that information transmission between the receiving device and the transmitting device through a network channel connected to the receiving device is realized.
In addition, during information transmission, the identification code and the network signal of the transmitting device can be transmitted only through a regular signal transmission mode without aid of auxiliary equipment, for example, a Morse code is adopted, the transmitting device is provided with a flash lamp, the receiving device is provided with a photosensitive device for receiving the flash lamp, a signal analysis module can analyze the received data signal, and meanwhile, the identification code and the network information of the receiving device can be transmitted through the same mode.
Step S11, a second connection channel is established according to the received identification code and the network information.
In this embodiment, the receiving device may directly establish network connection according to the network information of the sending device, and define a second connection channel according to the network information of the sending device, where the resolved identification code is an identification for identifying the uniqueness of the sending device, and meanwhile, the receiving device also establishes a first connection channel, where the first connection channel is a network channel established by the receiving device according to the network information of the receiving device after the receiving device is started, according to the identification code and the network information resolved in step S10 or the identification code and the network information obtained by the first auxiliary device.
The establishment of a specific connection channel can be referred to the following examples.
Referring to fig. 8, in the scenario of screen-casting a mobile phone to a television, the television establishes a first connection channel according to a network connected with the television, and can also receive and acquire an identification code and network information or mobile phone hot spot information transmitted by the mobile phone during screen-casting, wherein the network information comprises an account and a password of the network, so the television can establish a second connection channel according to the acquired network information, and realize screen-casting operation of the mobile phone and the television according to the acquired identification code.
Referring to fig. 9, when a mobile phone is screen-cast to a television set by means of an NFC device, and when the mobile phone is screen-cast to the television set through a remote controller with an NFC tag, the television set establishes a first connection channel according to network connection connected with the mobile phone, the mobile phone scans the remote controller with the NFC tag to store identification codes and network information of the mobile phone or hot spot information of the mobile phone in the remote controller with the NFC tag, wherein the remote controller with the NFC tag transmits the identification codes and the network information stored in the mobile phone to the television set through infrared or bluetooth, and the network information comprises an account and a password of a network, so that the television end can establish a second connection channel according to the obtained network information, and screen-cast operation of the mobile phone and the television set is realized according to the obtained identification codes.
Referring to fig. 10, a mobile phone is connected to a television set scene through a flash lamp, a first connection channel is established by the television set according to network connection connected with the mobile phone, after the mobile phone is started, software with a screen throwing function is clicked, the flash lamp of the mobile phone is started, an identification code and network information of the mobile phone or mobile phone hot spot information are transmitted to the television set through the flash lamp, wherein the network information comprises an account and a password of a network, the transmitted information is loaded in the flash lamp in a regular mode, namely, corresponding regular data information is added in an optical signal, wherein the regular data information can comprise regular data information such as a mousse password, the television set is provided with a photosensitive module, the identification code and the network information of the mobile phone transmitted by the flash lamp of the mobile phone can be received and analyzed, a second connection channel is established by the television set according to the analyzed network information, and the screen throwing operation of the mobile phone and the television set is realized according to the acquired identification code.
The specific scenarios implemented above are only for explaining the actual situation of the connection receiving apparatus set up of the channel, and the present invention is not limited to the specific scenarios mentioned in the above embodiments.
In addition, the connection channel may be established by establishing a first connection channel and a second connection channel according to the received identification code of the opposite party, the network information of the opposite party, and the received network information. The receiving device acquires the network information and the identification code of the transmitting device, and the acquiring mode can be that the network information and the identification code of the transmitting device are acquired through Bluetooth or local area network equipment capable of reading/writing the network information or are acquired through received regular optical signal analysis. The receiving device establishes two connection channels and sends a screen-throwing connection request simultaneously according to the acquired identification code of the opposite party and the network information of the opposite party.
Step S12, determining the network strength of the first connection channel and the second connection channel, wherein the first connection channel is established according to the identification code and the network information of the receiving device.
In this embodiment, after the network connection channel is established, in order to improve the transmission efficiency between the two devices, it is necessary to acquire the network intensities of the two connection channels in advance, and store the network intensity information of the connection channels for standby. The first connection channel and the second connection channel are connected in the same way, and are wireless connection modes, and an intangible path is established by transmitting from the transmitting device to the receiving device or transmitting from the receiving device to the transmitting device.
Step S13, selecting the corresponding first connection channel and/or the second connection channel to receive the content transmitted by the transmitting device according to a preset strategy.
In this embodiment, by acquiring the network strengths of the two connection channels in step S12, different connection strategies are selected in order to ensure the screen-throwing efficiency in transmission.
Further, referring to fig. 3, the present invention provides a flowchart of a second embodiment of an information transmission method based on a receiving device, and based on the embodiment of fig. 2, the selecting, according to a preset policy, content corresponding to the first connection channel and/or the second connection channel to receive the content transmitted by the sending device includes:
step S131, selecting a connection channel with high network strength from the first connection channel and the second connection channel to receive the content transmitted by the transmitting device.
In this embodiment, through the network intensities of the two different network channels obtained in step S12, the receiving device may preferably select a channel with a high network signal for receiving the content transmitted by the sending device, so that the content transmission is smoother by the information transmitted through the channel with the high network intensity.
For example, in the established first connection channel and second connection channel, wherein the strength of the first connection channel is-60 dBm (decibel relative to one milliwatt dBm, decibel milliwatt), and the strength of the second connection channel is-40 dBm, the strength value of the second connection channel is greater than that of the second connection channel, so the receiving device will preferentially select the second connection channel to receive the content transmitted by the transmitting device; if the strength of the first connection channel is-35 dBm (decibel relative to one milliwatt, dBm, decibel-milliwatt), and the strength of the second connection channel is-40 dBm, the strength value of the second connection channel is smaller than that of the second connection channel, so the receiving device will preferably select the first connection channel to receive the content transmitted by the transmitting device. In order to improve the screen throwing efficiency and avoid other connection from influencing the transmission efficiency, the invention also disconnects other devices respectively connected with the receiving device and the sending device before transmission or in the transmission process.
According to the information transmission method provided by the embodiment of the invention, the receiving device and the transmitting device respectively acquire the identification code and the network information of the opposite side and establish a network connection channel, and meanwhile, the network information of the receiving device and the transmitting device are utilized to establish a network connection channel, or the receiving device and the transmitting device simultaneously establish two network connection channels according to the received identification code of the opposite side and the received network information of the opposite side, wherein the identification code is a unique identification for identifying the receiving device and the transmitting device, according to the two established connection channels, the transmitting content of the transmitting device is received through selecting the connection channel with high network strength, and meanwhile, the resources connected with the receiving device and the transmitting device are respectively released, wherein the resources comprise network connection resources, CPU resources, memory resources and the like, and are disconnected with other unnecessary equipment, so that sufficient preparation is made for screen connection, and the connection channel with high network strength is selected, so that data transmission is quicker, screen projection is smoother, transmission efficiency of the transmitting content is improved, and further screen projection efficiency is improved, and user experience satisfaction is improved.
In addition, another strategy is executed, step S132 is executed, where the network strength requirement sent by the sending device is received, and the corresponding first connection channel or the second connection channel is selected according to the network strength requirement.
In this embodiment, after the connection channels are established, by receiving network strength information required for transmitting content, one connection channel is selected for transmission according to the network strength information. The selection method includes, but is not limited to, comparing the history connection records, selecting a connection channel with a larger number of network channels of the history connection, or selecting a connection channel of the last screen connection for transmitting content.
The embodiment provides an information transmission method, which is used for receiving network intensity information required by transmission content, selecting a corresponding network connection channel, and enabling two channels to be selected at any time, so that the connection transmission efficiency is improved, and the purpose of high-efficiency screen projection is achieved.
In addition, according to step S133, the first connection channel and the second connection channel may be selected to receive the content transmitted by the transmitting device;
in this embodiment, on the basis of two connection channels established by the receiving device, two connection channels are simultaneously selected to receive the content transmitted by the sending device, the receiving device displays the transmitted content through split screens, and the content transmitted on each screen is transmitted and controlled by the corresponding connection channel.
In this embodiment, the content of the picture of the transmitting device is simultaneously received by selecting two connection channels, and the transmitted content is split-screen displayed according to a set ratio, so that the transmission efficiency is improved by adopting multi-channel transmission. In addition, under the allowable condition, the screen projection ratio of 9:1 can be adopted, wherein the screen area with the ratio of 1 can be used as a forecast of the transmitted content, the content which is transmitted subsequently can be displayed in a small range, the content is known in advance on the basis of not influencing the whole screen projection display, the experience of a user is enhanced, and particularly, the screen projection method can be used for the function in some special scenes, for example, in game scenes of a sport, the approximate position of an obstacle can be known in advance, so that the interaction feeling with the user is enhanced.
According to the information transmission method provided by the embodiment of the invention, the receiving device and the sending device respectively acquire the identification code and the network information of the other party and establish a network connection channel, and meanwhile, the network connection channel is established by utilizing the network information of the receiving device and the sending device, wherein the identification code is a unique identification for identifying the receiving device and the sending device, and the two connection channels established according to the identification code and the network information can be selected to receive the content transmitted by the sending device, the two connection channels are arbitrarily selected according to the actual situation, and compared with the existing unidirectional connection, the connection establishment time is long, the screen throwing efficiency is low.
In addition to the channel connection method proposed in the above embodiment, the present invention may also perform channel connection in the following two ways:
firstly, the receiving device directly broadcasts and sends a screen-throwing connection request based on the current network, after the device to be sent receives the screen-throwing request and the network information and the identification code of the receiving device, the network intensity of the network information of the receiving device and the network intensity of the network information of the sending device are judged, the network with high network information intensity of the sending device and the network with high network information intensity of the receiving device are selected for connection, the sending device and the receiving device respectively establish a connection channel, meanwhile, resources connected with the receiving device are released, the resources comprise network connection resources, CPU resources, memory resources and the like, and other unnecessary equipment connections are disconnected, so that sufficient preparation is made for screen-throwing connection, and the connection efficiency of subsequent screen-throwing connection is improved. The same applies to the transmitting device.
The second way is that the receiving device obtains and stores the network information and the identification code of the transmitting device, and the obtaining mode may be that the device can read/write the network information through bluetooth or local area network. The same applies to the transmitting device. The receiving device and the sending device establish a connection channel and send a screen throwing connection request through connecting the network with high network intensity of the receiving device and the sending device according to the network intensity of the acquired network information and the network information of the receiving device and the sending device, and the sending device and the receiving device release connected resources, wherein the resources comprise network connection resources, CPU resources, memory resources and the like, and disconnect some other unnecessary equipment connections so as to make sufficient preparation for screen throwing connection.
The two connection modes are respectively through the preliminary identification of two network information in the receiving device/transmitting device, through the release of resources and the bidirectional connection of the receiving device and the transmitting device, even if one connection is abnormal, the other connection is initiated, and the purpose of improving the information transmission efficiency is achieved through the bidirectional connection of the receiving device/transmitting device.
Further, referring to fig. 4, fig. 4 is a schematic flow chart of a switching information transmission channel based on a receiving device, and based on the embodiments shown in fig. 2 and fig. 3, before the selecting a connection channel with high network strength from the first connection channel and the second connection channel to receive the content transmitted by the sending device, the method further includes:
step S1311, calculating a network strength difference between the first connection channel and the second connection channel.
In this embodiment, the calculation of the network intensity difference between the first connection channel and the second connection channel is based on the network intensity information of the two channels obtained in step S12 in the above embodiment, and further, the calculation of the network intensity difference between the first connection channel and the second connection channel is performed by an information analysis module in the receiving device.
Step S1312 determines whether the network intensity difference is within a first preset interval.
In this embodiment, in order to avoid transmission unsmooth caused by frequent switching due to network fluctuation of the transmission channel, that is, switching of the network transmission channel requires a certain switching time, in the switching time of the transmission channel, the transmission channel cannot transmit content, so in this embodiment, when the difference of the network intensities of the two connection channels obtained in step S1311 is smaller, if the difference of the network intensities is smaller, it is indicated that the difference of the network is not great at this time, and even if the switching does not have great influence, the switching causes network blocking, so in order to avoid transmission unsmooth caused by frequent switching, the receiving device presets a first preset interval, and the setting range of the preset threshold interval is determined according to the degree of influence of the magnitude of the difference of the network intensities of the two connection channels on the transmission content received by the receiving device.
Therefore, when the network intensity difference is not within the first preset interval, it is indicated that the network intensity difference of the two channels is relatively large, so step S131 is required to be performed, and a connection channel with high network intensity of the first connection channel and the second connection channel is selected to receive the content transmitted by the transmitting device. When selecting the channel with high network intensity to transmit, detecting and displaying whether the jamming occurs at the same time, if the jamming occurs, executing step S133 according to the requirement, namely transmitting through 2 channels together, so that the overall transmission efficiency is improved.
If the network intensity difference is located in the first preset interval, the intensity difference of the two network channels is not large, and the original selection can be continued without switching channels.
In this embodiment, because there is a certain difference in network strength between the connected network channels, in order to ensure stability and smoothness of the transmission content, the preset first preset interval switches the strength difference between the two connection channels when the strength difference is not within the preset threshold interval, and selects the connection channel with high network strength to transmit the received transmission content, otherwise, does not switch. The preset threshold interval is determined according to the influence degree of the network intensity difference value of the two connecting channels on the transmission content received by the receiving device, so that the situation that the content is transmitted slowly due to the fact that the network fluctuation is large and the connecting channels with high network intensity in the network channels are frequently selected is avoided. Therefore, only when the network information intensity difference of the connected network channels exceeds a preset threshold value interval, the network information intensity difference is required to be switched to another connection channel, so that the aim of efficiently transmitting the content is fulfilled.
Further, the present invention also provides an embodiment of an information feedback method, with reference to the embodiment of fig. 2, where the method further includes:
And when the signal network intensities of the first connecting channel and the second connecting channel are lower than a preset threshold value, transmitting a feedback signal to the transmitting device so as to control the transmitting device to reduce the resolution of the transmission content.
In this embodiment, when the network intensities of the two connection channels connected by the receiving device are both smaller than a preset threshold, the preset threshold refers to that when the network intensity of the connection channel is smaller than the threshold, the smooth transmission can be ensured only by further reducing the resolution of the transmission content due to low screen-throwing smoothness, and at this time, the receiving device can timely feed back the information of unsmooth transmission to the receiving device, so that the sending device can timely reduce the resolution of the transmission content.
In this embodiment, by providing an information feedback method, by judging the network strength of the connection channel, under the condition that the connected network channel cannot meet the requirement of smooth screen projection, smooth transmission can be ensured only by reducing the resolution of transmission content, and the purpose of timely feeding back the information of the connection channel is achieved, so that smoothness and stability are ensured, and a user has better experience.
Referring to fig. 5, the present invention provides a flowchart of a third embodiment of an information transmission method based on a transmitting device, which is applied to the transmitting device, and the information transmission method includes:
Step S20, receiving the network information and the identification code of the receiving device.
In this embodiment, after the sending device is started, taking the mobile phone as an example, the mobile phone may connect with the network itself to establish a network connection channel, in addition to which the mobile phone may start a scanning mode, obtain, from a second auxiliary device, an identification code and network information stored in a tag by the receiving device, for example, scan an NFC tag, where the NFC tag stores the identification code and network information of the receiving device, and while scanning, the identification code and network information of the network connected with the mobile phone itself are also written into the NFC tag, where the second auxiliary device may be a remote controller including NFC or a remote controller including an RFID device; besides, the mobile phone can also receive the identification code and the network information of the receiving device sent by the receiving device in the same path without using the second auxiliary equipment, and can also receive, acquire and analyze the identification code and the network information of the receiving device, wherein the data transmission mode can be other regular information transmission modes besides the Morse code.
In addition, the identification code is data capable of defining the device uniqueness, such as a device ID, or a device code generated specifically for screen casting; the network information is the SSID, password, channel and mode of the network connected with the current equipment, or the necessary information of the SSID, password, channel and mode of the network shared by the current equipment, which is helpful for other equipment to connect the network quickly; the network mode includes a centralized and peer-to-peer wireless network, wherein the peer-to-peer network refers to an internet system without a central server that exchanges information by means of user groups (peers), and the centralized network refers to a central network system with a central server; SSID generally refers to the account name of the network; a Channel refers to a specific medium through which information is transmitted, wherein a wireless Channel is a wireless frequency band (Channel), which is a data signal transmission Channel using a wireless signal as a transmission medium; therefore, the identification code received in this embodiment is unique data of the receiving device, so that information transmission between the receiving device and the transmitting device through a network channel connected to the receiving device is realized.
Step S21, a fourth connection channel is established according to the received identification code and the network information.
In this embodiment, the sending device directly carries the network account and the password according to the identification code analyzed in step S20 or the identification code acquired from the second acquiring device and the information acquired from the network information, so that the sending device may directly establish the network connection, which is defined as the fourth connection channel, and meanwhile, the connection channel established by the network to which the sending device is connected when opened is defined as the third connection channel.
Referring to fig. 8, in the scenario of the mobile phone screen-throwing to the television, the mobile phone establishes a third connection channel according to the network connected with the mobile phone, and scans a tag module integrated on the television, so that the identification code and network information of the mobile phone or a mobile phone hot spot are stored in the tag, and the identification code and the network information of the television are stored, wherein the network information comprises a network account and a password connected with the television, so that the mobile phone can establish a fourth connection channel according to the obtained network information, and the screen-throwing operation of the mobile phone and the television is realized according to the obtained identification code.
Referring to fig. 9, the mobile phone is screened to a television scene by means of the NFC device, a third connection channel is established by the mobile phone according to the network connection connected with the mobile phone, and the mobile phone scans a remote controller with an NFC tag, so that the identification code and network information of the mobile phone or a mobile phone hot spot are stored in the NFC tag remote controller, and the identification code and the network information of the television are stored, wherein the acquired network information comprises a network account and a password connected with the television, so that the television can establish a fourth connection channel according to the acquired network information, and the screen screening operation of the mobile phone and the television is realized according to the acquired identification code.
Referring to fig. 10, a mobile phone projects a screen to a television scene through a flash lamp, a third connection channel is established by the mobile phone according to network connection connected with the mobile phone, after the mobile phone is started, software with a screen projecting function is clicked, the flash lamp of the mobile phone is started, when an identification code and network information of the mobile phone or a mobile phone hot spot are transmitted to the television through the flash lamp, flash lamp signals transmitted by the television are obtained in the same mode, the flash lamp signals comprise the identification code and the network information of the television loaded in the flash lamp in a regular mode, the regular mode comprises a Morse password, the mobile phone receives the optical signals and analyzes the identification code and the network information of the television, a fourth connection channel is established according to the analyzed network information connection, and the screen projecting operation of the mobile phone and the television is realized according to the obtained identification code.
The specific scenario implemented above is only for explaining the actual situation of the connection establishment of the connection transmitting apparatus, and the present invention is not limited to the specific scenario mentioned in the above embodiment.
In addition, the connection channel is established, and a third connection channel and a fourth connection channel are simultaneously established according to the identification code received by the sending device, the network information of the sending device and the received network information. The sending device establishes two connection channels and sends a screen throwing connection request through connection according to the acquired identification code of the opposite party and the network information of the opposite party at the same time according to the acquired network information of the opposite party as the acquired identification code or the identification code and the network information acquired from the second acquisition device directly carry the network account and the password.
Step S22, determining the network intensity in the third connection channel and the fourth connection channel, wherein the third connection channel is established according to the identification code and the network information of the sending device.
In this embodiment, in order to improve the transmission efficiency between two devices, by comparing the network intensities of two connection channels, it is necessary to obtain the network intensities of the two connection channels in advance, and store the network intensity information of the connection channels for standby. The third connection channel and the fourth connection channel are the same in connection mode, and are wireless connection modes, and an intangible path is established by transmitting from the transmitting device to the receiving device or transmitting from the receiving device to the transmitting device.
Step S23, selecting the content transmitted to the receiving device by the third connection channel and/or the fourth connection channel according to a preset policy.
In this embodiment, by acquiring the network strengths of the two connection channels in step S22, different connection strategies are selected in order to ensure the screen-throwing efficiency in transmission.
Further, referring to fig. 6, the present invention provides a flowchart of a fourth embodiment of an information transmission method based on a sending device, and based on the embodiment of fig. 5, the selecting, according to a preset policy, content transmitted to the receiving device by the third connection channel and/or the fourth connection channel includes:
Step S231, selecting a connection channel with high network strength from the third connection channel and the fourth connection channel to transmit content to the receiving device.
In this embodiment, the transmitting device may preferably select a channel with a high network signal for transmitting the content by using the network strength of the network connected by the two different network channels acquired in step S22, and the high network signal may enable the content transmission to be smoother.
For example, in the receiving device, in the third connection channel and the fourth connection channel, where the intensity of the third connection channel is-50 dBm (decibel relative to one milliwatt, dBm, decibel-milliwatt) and the intensity of the fourth connection channel is-30 dBm, the intensity value of the fourth connection channel is greater than the intensity value of the third connection channel, so the receiving device will preferentially select the fourth connection channel to receive the content transmitted by the transmitting device; if the intensity of the third connection channel is-35 dBm (decibel relative to one milliwatt, dBm, decibel-milliwatt), and the intensity of the fourth connection channel is-60 dBm, the intensity value of the fourth connection channel is smaller than that of the fourth connection channel, so the receiving device will preferably select the third connection channel to receive the content transmitted by the transmitting device. In order to improve the screen throwing efficiency and avoid other connection from influencing the transmission efficiency, the invention also disconnects other devices respectively connected with the receiving device and the sending device before transmission or in the transmission process.
Therefore, in this embodiment, the transmitting device establishes two network connection channels by acquiring the network information of the receiving device and the network information thereof, thereby improving the connection efficiency of the transmitting device; the network intensity of the two channels is compared, a connecting channel with high network signal is selected to transmit the content, and meanwhile, the connected resources of the transmitting device are released, wherein the resources comprise network connection resources, CPU resources, memory resources and the like, and other unnecessary equipment is disconnected to make sufficient preparation for screen connection.
In addition to the policy selection transmission in step S231, step S232 may be performed to select the corresponding third connection channel or the fourth connection channel according to the transmission content.
In this embodiment, after the connection channels are established, by acquiring the network strength information required for transmitting the content, one of the connection channels may be selected for transmission under the condition that the strength required for transmitting the content is satisfied. The selection method includes, but is not limited to, comparing the history connection records, selecting a connection channel with a larger number of network channels of the history connection or selecting a connection channel of the last screen connection for transmitting content.
According to the information transmission method provided by the embodiment, the network intensity information required by the transmission content is obtained, and the connection channel is arbitrarily selected on the basis of meeting the network intensity required by the transmission content, so that the connection efficiency is improved, and the purpose of high-efficiency screen projection display is achieved.
In addition to the above selection manner, according to step S233, the third connection channel and the fourth connection channel may be selected for transmitting the content to the receiving device.
In this embodiment, based on two connection channels established by the sending device, the sending device selects the content transmitted by the two connection channels, and the sending device separately transmits the same whole content in different channels, because the transmitted content has a certain correlation, the content transmitted by the connection channels keeps the same transmission frequency and time, and based on the wireless screen-switching protocol, the corresponding screen-switching function is realized, wherein the split-channel transmission can set a 1:1 ratio screen-switching display, and can also select other screen-switching ratios.
In this embodiment, the content of the picture of the transmitting device is simultaneously transmitted by selecting two connection channels, and the transmitted content is displayed in a split screen mode according to a set ratio, so that the transmission efficiency is improved by adopting multi-channel transmission.
According to the information transmission method provided by the embodiment of the invention, the receiving device and the sending device respectively acquire the identification code and the network information of the other party and establish a network connection channel, and meanwhile, the network connection channel is established by utilizing the network information of the receiving device and the sending device, wherein the identification code is a unique identification for identifying the receiving device and the sending device, and the two connection channels established according to the identification code and the network information can be selected to receive the content transmitted by the sending device, the two connection channels are arbitrarily selected according to the actual situation, and compared with the existing unidirectional connection, the connection establishment time is long, the screen throwing efficiency is low.
Further, referring to fig. 7, the present invention provides a flow chart of switching information transmission channels based on a sending device, and based on the embodiments shown in fig. 5 and fig. 6, before selecting a connection channel with high network strength from the third connection channel and the fourth connection channel to transmit content to the receiving device, the flow chart further includes:
Step S2311: and calculating the network intensity difference value of the third connection channel and the fourth connection channel.
In this embodiment, the calculation of the network intensity difference between the third connection channel and the fourth connection channel is based on the information of the network intensities of the two channels obtained in the step S22, and then the calculation of the network intensity difference between the third connection channel and the fourth connection channel is obtained through an information analysis module in the sending device.
Step S2312: judging whether the network intensity difference value is within a second preset interval or not;
in this embodiment, in order to avoid the transmission unsmooth caused by frequent switching due to the network fluctuation of the transmission channel, that is, the switching of the network transmission channel requires a certain switching time, and the transmission channel cannot transmit the content during the switching time of the transmission channel, therefore, in this embodiment, if the difference of the network intensities of the two connection channels obtained in step S2311 is smaller, it is indicated that the network difference is not large at this time, even if the switching is not too large, the network is blocked due to the switching, so to avoid frequent switching, a second preset interval is preset in the preset module of the transmitting device, and the setting range of the preset threshold interval is determined according to the influence degree of the magnitude of the difference of the network intensities of the two connection channels on the transmission content of the transmitting device.
Therefore, when the network intensity difference is not within the second preset interval, it is indicated that the network intensity difference of the two channels is relatively large, so it is necessary to select a connection channel with high network intensity from the third connection channel and the fourth connection channel to transmit the content to the receiving device in step S231. When selecting a channel with high network strength for transmission, detecting and displaying whether a jam occurs at the same time, if so, executing step S233 according to the requirement, namely, transmitting through 2 channels together, so that the overall transmission efficiency is improved.
If the network intensity difference is located in the second preset interval, the intensity difference of the two network channels is not large, and the channel used for transmitting the content before can be continuously selected without switching the channels.
In this embodiment, because there is a certain difference in network strength between the connected network channels, in order to ensure stability and smoothness of the transmission content, the second preset interval is preset to switch the strength difference between the two connection channels when the strength difference is not within the preset threshold interval, and meanwhile, the connection channel with high network strength is selected to transmit the content, otherwise, the switching is not performed. The preset threshold interval is determined according to the influence degree of the network intensity difference value of the two connecting channels on the transmission content received by the receiving device, so that the situation that the content is transmitted slowly due to the fact that the network fluctuation is large and the connecting channels with high network intensity in the network channels are frequently selected is avoided. Therefore, only when the network information intensity difference of the connected network channels exceeds a preset threshold value interval, the network information intensity difference is required to be switched to another connection channel, so that the aim of efficiently transmitting the content is fulfilled.
Further, based on fig. 5, the present invention provides an embodiment of reducing resolution of transmission contents by receiving feedback information, where the information transmission method further includes:
receiving the feedback signal of the receiving device and reducing the resolution of the content transmitted by the transmitting device.
In this embodiment, due to the difference of network quality and the problem of fluctuation of the network, the content transmitted by the transmitting device may be affected to a certain extent, and the content displayed on the receiving device may be blocked or not smooth, at this time, when the quality of the two connecting channels is poor and reaches a certain preset threshold, the transmitting device may receive a feedback signal of the receiving device, at this time, after the device to be transmitted receives the feedback signal, the device to be transmitted will respond in time, and by reducing the screen resolution, the purpose of smooth and stable transmission is achieved, so that smooth and stable is ensured, and a user has better experience; if the network strength of only one of the connection channels is lower than the preset threshold, the resolution of the transmission content is not reduced in the embodiment, but the connection channel with high network strength is selected for transmitting the content.
In this embodiment, by providing a method for reducing the resolution of the transmission content by receiving the feedback information, by receiving the feedback signal of the receiving device, the smooth transmission can be ensured only by reducing the resolution of the transmission content under the condition that the smooth screen projection cannot be met according to the connected network channel, so that the user has better experience.
Meanwhile, in order to ensure the quality of certain network information numbers, when a connecting network is used, a local area network is commonly used, namely a network shared by a receiving device or a transmitting device, and a network module can be further added, so that the quality of the network can be ensured to a certain extent, for example, a dual WIFI module or a WIFI module with a USB interface is used.
The receiving device/transmitting device mentioned in the above embodiment takes two connection channels as an example, but it is also within the scope of the present invention that more than two receiving devices/transmitting devices can implement the steps of the information transmission method.
In addition, the embodiment of the invention also provides a storage medium, and the storage medium stores an information transmission program, and the information transmission program realizes the steps of the embodiments of the information transmission method when being executed by a processor.
The specific embodiment of the storage medium of the present invention is substantially the same as the embodiments of the information transmission method described above, and will not be described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising several instructions for causing a receiving apparatus/transmitting apparatus device (which may be a mobile phone, a computer, a television set, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (16)

1. An information transmission method, characterized by being applied to a receiving apparatus, the method comprising:
acquiring an identification code and network information of a transmitting device from first auxiliary equipment;
or the receiving device receives the first optical signal sent by the sending device and analyzes the first optical signal to obtain the identification code and the network information of the sending device;
establishing a second connection channel according to the received identification code and network information;
determining network strength of a first connection channel and a second connection channel, wherein the first connection channel is established according to the identification code and network information of the receiving device;
the step of selecting the content corresponding to the first connection channel and/or the second connection channel to receive the content transmitted by the transmitting device according to the preset policy, after the step of selecting the content corresponding to the first connection channel and/or the second connection channel to receive the content transmitted by the transmitting device according to the preset policy, includes: when a connection channel with high network strength in the first connection channel and the second connection channel is selected to receive the content transmitted by the sending device, detecting and displaying whether the jamming occurs, and if the jamming occurs, selecting the first connection channel and the second connection channel to receive the content transmitted by the sending device, wherein the transmitted content is transmitted and controlled by the corresponding connection channel and keeps the same display frequency and time, and a corresponding screen-throwing function is realized based on a wireless screen-throwing protocol, and selecting the corresponding first connection channel and/or the second connection channel to receive the content transmitted by the sending device according to a preset strategy comprises: selecting the first connection channel and the second connection channel to receive the content transmitted by the transmitting device; or receiving a network strength requirement sent by a sending device, and selecting a corresponding first connection channel or a corresponding second connection channel according to the network strength requirement, wherein the first connection channel and the second connection channel are selected to receive the content transmitted by the sending device, the receiving device transmits the content through split screen display, the transmitted content is transmitted and controlled through the corresponding connection channel, and the split screen display transmission can be set to 1:1 ratio for screen display, or other screen display ratios are selected.
2. The information transmission method according to claim 1, wherein the acquiring the identification code and the network information of the transmitting apparatus from the first auxiliary device includes:
and acquiring the identification code and the network information of the transmitting device from the first auxiliary equipment in a Near Field Communication (NFC) or wireless hot spot mode.
3. The information transmission method according to claim 1, wherein the analyzing the first optical signal to obtain the identification code and the network information of the transmitting device includes:
analyzing the first optical signal to obtain corresponding regular data information;
searching according to the regular data information to obtain the identification code and the network information of the sending device.
4. The information transmission method according to claim 1, wherein the selecting, according to a preset policy, the content corresponding to the first connection channel and/or the second connection channel to receive the content transmitted by the sending device includes:
and selecting a connection channel with high network strength from the first connection channel and the second connection channel to receive the content transmitted by the transmitting device.
5. The information transmission method as claimed in claim 4, wherein before the selection of the connection channel with the high network strength of the first connection channel and the second connection channel receives the content transmitted by the transmitting device, the method further comprises:
Calculating a network strength difference value of the first connection channel and the second connection channel;
judging whether the network intensity difference value is within a first preset interval or not;
if not, executing the steps of: and selecting a connection channel with high network strength from the first connection channel and the second connection channel to receive the content transmitted by the transmitting device.
6. The information transmission method according to claim 1, wherein the method further comprises:
and when the signal network intensities of the first connecting channel and the second connecting channel are lower than a preset threshold value, transmitting a feedback signal to the transmitting device so as to control the transmitting device to reduce the resolution of the transmission content.
7. An information transmission method, characterized by being applied to a transmitting apparatus, the method comprising:
acquiring an identification code and network information of a receiving device from second auxiliary equipment;
or the sending device receives the second optical signal sent by the receiving device and analyzes the second optical signal to obtain the identification code and the network information of the receiving device;
establishing a fourth connection channel according to the received identification code and network information;
determining network strength in a third connection channel and a fourth connection channel, wherein the third connection channel is established according to the identification code and the network information of the sending device;
And selecting content transmitted to the receiving device by the corresponding third connection channel and/or the fourth connection channel according to a preset strategy, wherein after the step of selecting the content transmitted by the sending device by the corresponding third connection channel and/or the fourth connection channel according to the preset strategy, the method comprises the following steps: when a connection channel with high network strength in the third connection channel and the fourth connection channel is selected to receive the content transmitted by the sending device, detecting and displaying whether the jamming occurs, and if the jamming occurs, selecting the third connection channel and the fourth connection channel to receive the content transmitted by the sending device, wherein the transmitted content is transmitted and controlled by the corresponding connection channel and keeps the same display frequency and time, and a corresponding screen-throwing function is realized based on a wireless screen-throwing protocol, and selecting the content transmitted to the receiving device by the corresponding third connection channel and/or the fourth connection channel according to a preset strategy comprises: selecting the third connection channel and the fourth connection channel to transmit the content to the receiving device; or receiving a network strength requirement sent by a sending device, and selecting a corresponding first connection channel or a second connection channel according to the network strength requirement, wherein the first connection channel and the second connection channel are selected to receive the content transmitted by the sending device, the receiving device transmits the content through split screen display, the transmitted connection channels corresponding to the content are used for transmission control, and the split screen display transmission can be set to 1:1 ratio for screen display, or other screen display ratios are selected.
8. The information transmission method as claimed in claim 7, wherein the acquiring the identification code and the network information of the receiving apparatus from the second auxiliary device includes:
and acquiring the identification code and the network information of the receiving device from the second auxiliary equipment in an NFC or wireless hot spot mode.
9. The information transmission method according to claim 7, wherein the parsing the second optical signal to obtain the identification code and network information of the receiving device includes:
analyzing the second optical signal to obtain corresponding regular data information;
searching according to the regular data information to obtain the identification code and the network information of the receiving device.
10. The information transmission method according to claim 7, wherein the selecting content corresponding to the third connection channel and/or the fourth connection channel for transmission to the receiving apparatus according to a preset policy includes:
and selecting a connection channel with high network strength from the third connection channel and the fourth connection channel to transmit content to the receiving device.
11. The information transmission method as claimed in claim 9, wherein before the selection of the connection channel with the higher network strength of the third connection channel and the fourth connection channel to transmit the content to the receiving apparatus, further comprising:
Calculating a network strength difference value of the third connection channel and the fourth connection channel;
judging whether the network intensity difference value is within a second preset interval or not;
if not, executing the steps of: and selecting a connection channel with high network strength from the third connection channel and the fourth connection channel to transmit content to the receiving device.
12. The information transmission method according to claim 7, wherein the information transmission method further comprises:
and receiving the feedback signal transmitted by the receiving device and reducing the resolution of the content transmitted by the transmitting device.
13. A receiving device, characterized in that the receiving device comprises: a processor, a communication bus, a user interface, a network interface, a memory and an information transmission program configured to implement the steps of the information transmission method according to any one of claims 1 to 6.
14. A transmitting apparatus, characterized in that the transmitting apparatus comprises: a processor, a communication bus, a user interface, a network interface, a memory and an information transfer program configured to implement the steps of the information transfer method according to any one of claims 7 to 12.
15. An information transmission system, characterized in that the information transmission system comprises:
the receiving apparatus of claim 13, and the transmitting apparatus of claim 14.
16. A computer storage medium storing an information transmission program which, when executed by a processor, performs the steps of the information transmission method according to any one of claims 1 to 12.
CN202010563631.XA 2020-06-18 2020-06-18 Information transmission method, system, receiving device, transmitting device and storage medium Active CN111542133B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010563631.XA CN111542133B (en) 2020-06-18 2020-06-18 Information transmission method, system, receiving device, transmitting device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010563631.XA CN111542133B (en) 2020-06-18 2020-06-18 Information transmission method, system, receiving device, transmitting device and storage medium

Publications (2)

Publication Number Publication Date
CN111542133A CN111542133A (en) 2020-08-14
CN111542133B true CN111542133B (en) 2023-05-09

Family

ID=71976559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010563631.XA Active CN111542133B (en) 2020-06-18 2020-06-18 Information transmission method, system, receiving device, transmitting device and storage medium

Country Status (1)

Country Link
CN (1) CN111542133B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112243219A (en) * 2020-10-15 2021-01-19 北京字节跳动网络技术有限公司 Display device, terminal control method and device, terminal and storage medium
CN114531742B (en) * 2020-10-30 2023-03-03 荣耀终端有限公司 Dual Wi-Fi connection method and electronic equipment
CN114697934A (en) * 2020-12-31 2022-07-01 华为技术有限公司 Method, equipment and system for transmitting data in near field
CN113286381B (en) * 2021-04-28 2023-03-21 北京字节跳动网络技术有限公司 Wireless communication method, related equipment and system
CN113490291B (en) * 2021-06-16 2022-05-17 荣耀终端有限公司 Data downloading method and device and terminal equipment
CN115499700B (en) * 2022-08-26 2023-08-25 深圳市旭联信息技术有限公司 Screen transmission data processing method, device and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227892A (en) * 2015-10-28 2016-01-06 努比亚技术有限公司 Video call system, apparatus and method
CN106210598A (en) * 2016-07-29 2016-12-07 努比亚技术有限公司 A kind of video call method, Apparatus and system
CN106534956A (en) * 2015-09-11 2017-03-22 中兴通讯股份有限公司 Video data transmission method, device and system for screen projection
CN109842960A (en) * 2017-09-18 2019-06-04 北京小米移动软件有限公司 Connect method for building up and device
CN109922205A (en) * 2018-11-29 2019-06-21 努比亚技术有限公司 Throw screen implementation method, mobile terminal and computer readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180021465A (en) * 2016-08-22 2018-03-05 삼성전자주식회사 Electronic device, system and method for providing welcome message
CN110048954A (en) * 2018-01-17 2019-07-23 北京视联动力国际信息技术有限公司 A kind of data transmission method and device
CN108901024A (en) * 2018-06-25 2018-11-27 北京小鱼在家科技有限公司 Control throws screen receiving device networking and throws screen receiving device networking methods, equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534956A (en) * 2015-09-11 2017-03-22 中兴通讯股份有限公司 Video data transmission method, device and system for screen projection
CN105227892A (en) * 2015-10-28 2016-01-06 努比亚技术有限公司 Video call system, apparatus and method
CN106210598A (en) * 2016-07-29 2016-12-07 努比亚技术有限公司 A kind of video call method, Apparatus and system
CN109842960A (en) * 2017-09-18 2019-06-04 北京小米移动软件有限公司 Connect method for building up and device
CN109922205A (en) * 2018-11-29 2019-06-21 努比亚技术有限公司 Throw screen implementation method, mobile terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN111542133A (en) 2020-08-14

Similar Documents

Publication Publication Date Title
CN111542133B (en) Information transmission method, system, receiving device, transmitting device and storage medium
US8973078B2 (en) Information processing apparatus, information processing method, and information processing program
US8761118B2 (en) Wireless communication system and wireless communication method to perform handover of communication using different communication systems
US9723261B2 (en) Information processing device, conference system and storage medium
CN107801222B (en) Bluetooth and WiFi switching method and system, client and wireless access point equipment
WO2022089088A1 (en) Display device, mobile terminal, screen-casting data transmission method, and transmission system
US20070297347A1 (en) Communication system, communication apparatus, communication method for communication apparatus, and computer program
US20080144498A1 (en) Bandwidth reservation system and method for dynamic channel switching and computer readable recording medium
CN101827306A (en) Switching method and device of unicast service
CN111427527A (en) Screen projection method, device, equipment and computer readable storage medium
KR20200041662A (en) An apparatus for determining P2P operation channel and the method therefore
CN103634172A (en) Method, device and system for processing multi-terminal cooperation information
EP1619857A1 (en) Electronic device with communication unit for streaming moving images
US10912013B2 (en) Communication apparatus, control method, and storage medium
KR20190111769A (en) Communication apparatus, control method, and program
CN114173183B (en) Screen projection method and electronic equipment
US11093206B2 (en) Communication apparatus, method of controlling the same, and non-transitory computer-readable storage medium
CN112437245A (en) Participant terminal switching method, device, equipment and computer readable storage medium
US11463655B2 (en) Mediation method and computer readable recording medium
KR20110101519A (en) Apparatus and method for receiving the streaming data in portable terminal
US7356353B2 (en) Wireless communication device, wireless communication method, and wireless communication system
US9304181B1 (en) Method of installing terrestrial broadcast signal relay apparatus
KR101339835B1 (en) Real time screen clone apparatus of mobile terminal, the system and method thereof
US20070120956A1 (en) Communication path setting method and communication apparatus
CN114466230B (en) Display equipment function expanding method and device, screen projector 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
CB02 Change of applicant information

Address after: 516006 Guangdong province Huizhou Zhongkai hi tech Development Zone No. 19 district

Applicant after: Maojia Technology (Guangdong) Co.,Ltd.

Address before: 516006 Guangdong province Huizhou Zhongkai hi tech Development Zone No. 19 district

Applicant before: TCL OVERSEAS ELECTRONICS (HUIZHOU) Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant