CN109922205A - Throw screen implementation method, mobile terminal and computer readable storage medium - Google Patents

Throw screen implementation method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN109922205A
CN109922205A CN201811445898.8A CN201811445898A CN109922205A CN 109922205 A CN109922205 A CN 109922205A CN 201811445898 A CN201811445898 A CN 201811445898A CN 109922205 A CN109922205 A CN 109922205A
Authority
CN
China
Prior art keywords
throwing
screen
network
mobile terminal
throwing screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811445898.8A
Other languages
Chinese (zh)
Inventor
谭凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201811445898.8A priority Critical patent/CN109922205A/en
Publication of CN109922205A publication Critical patent/CN109922205A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of throwings to shield implementation method, mobile terminal and computer readable storage medium, by in the state that mobile terminal is in and throws screen mode, all throwing screen networks of environment where detecting the mobile terminal, at least one the second throwing screen network for meeting preset throwing set of hanging scrolls part is filtered out in screen network from all throw, the preset throwing set of hanging scrolls part includes the communication protocol all supported or hardware condition of mobile terminal and projection device, the communication link that screen network establishes the two is thrown according to described second, and carry out the operation of data projection, the communication protocol or hardware condition supported based on the two select suitable network to carry out throwing screen to shield in network from multiple throwings, to solve since the throwing screen network of terminal is single, cause to be difficult to carry out the problem of precisely quickly connecting, also avoiding arbitrarily connection simultaneously leads to transmission quality Bad problem.

Description

Throw screen implementation method, mobile terminal and computer readable storage medium
Technical field
The present invention relates to terminal field of communication technology, more specifically to a kind of throwing screen implementation method, mobile terminal and Computer readable storage medium.
Background technique
With the continuous development of terminal technology, it has been realized at present and carries out video playing in such a way that terminal projects, Be using mobile phone as projection terminal come using, and it is existing in the market realize mobile phone as projection terminal application mainly lead to Following two mode is crossed to realize:
Mode one, using miracast agreement, connection is established by the direct-connected mode of wifi;
Mode two, using wifi local area network, establish company by upnp protocol discovery other side and by LAN connection mode It connects.
Above two mode, as discovery other side mutually and after establishing physical layer link, upper layer be all using rtsp Stream media protocol carries out data transmission.But before realizing the projection connection of mobile phone and display, both schemes can exist Following drawback:
First, on the market using the direct-connected mobile phone lateral projection class of miracast agreement wifi apply almost without;It is i.e. online TV side apk of the miracast agreement as receiving end is only used, does not use miracast agreement as the hand of sender Machine side apk, mobile phone terminal are mostly that each producer oneself realizes, in this case just will appear compatible problem.
Second, mobile phone must be closer apart from TV when passing through miracast protocol realization projection mobile phone, if far from electricity Depending on, then transmission quality is very poor;Simultaneously, it is desirable that mobile phone and TV all support miracast agreement just can be with.
The wifi local area network solution stated on third, a, it is necessary to router, mobile phone and TV all local area networks In;Meanwhile the transmission of data can be reduced with other network equipment access to LAN, in other words network wifi mode passes Transmission quality cannot be guaranteed.
Summary of the invention
The embodiment of the invention provides a kind of throwing screen implementation method, double screen terminal and computer readable storage mediums, with solution Certainly channel when throwing screen is caused to connect difficult technical problem due to throwing the single of screen implementation in the prior art.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of throwings to shield implementation method, which comprises
In the state that mobile terminal is in and throws screen mode, all throwing screen nets of environment where detecting the mobile terminal Network;
At least one the second throwing screen network for meeting preset throwing set of hanging scrolls part, institute are filtered out in screen network from all throw State the communication protocol all supported or hardware condition that preset throwing set of hanging scrolls part includes mobile terminal and projection device;
Communication link corresponding with the second throwing screen network is established between the mobile terminal and the projection device;
The operation of data projection is carried out based on the communication link.
Optionally, described that the second throwing screen network for meeting preset throwing set of hanging scrolls part is filtered out in screen network from all throw Include:
Determine the throwing screen communication protocol or hardware condition that the mobile terminal and projection device are supported jointly;
Shield communication protocol or hardware condition according to the throwing, selects corresponding at least one from all throwing screen networks A second throws screen network.
Optionally, described that the second throwing screen network for meeting preset throwing set of hanging scrolls part is filtered out in screen network from all throw Include:
Determine the first communication protocol or the first hardware condition that the mobile terminal is supported;
According to first communication protocol or the first hardware condition, selected from all throwings screen networks it is corresponding at least Network is shielded in one first throwing;
Detect the second communication protocol or the second hardware condition that the projection device is supported;
According to second communication protocol or the second hardware condition, it is elected to from least one described first throwing screen network Network is shielded in few one second throwings, and described second, which throws screen network, is while the throwing screen net of the mobile terminal of support and projection device Network.
Optionally, in all throwing screen networks of environment where the detection mobile terminal, further includes:
All signal parameters for throwing each throwing screen network in screen network are obtained, the signal parameter includes signal strength instruction Value, Throughput and packet loss;
Calculating is weighted and averaged to the signal parameter, obtains each quality indication signal for throwing screen network.
Optionally, if at least one described second throwing screen network is more than two, shield nets from all throwings described It is filtered out in network after meeting preset at least one second throwing screen network for throwing set of hanging scrolls part, further includes:
The signal matter is selected from described two the second above throwing screen networks according to network quality priority rule The maximum use network for throwing screen network as the mobile terminal and projection device of figureofmerit.
Optionally, after the operation for carrying out data projection based on the communication link, further includes:
The second currently used throwing screen network of mobile terminal described in real-time detection, the packet loss when transmitting data;
Judge whether the packet loss is greater than preset threshold value;
If so, screen network switching program is thrown in triggering, second supported simultaneously from the mobile terminal and projection device is thrown One throwing screen network of selection switches in screen network, or selects from all throwing screen networks of mobile terminal place environment It selects the mobile terminal and projection device while the throwing screen network supported switches over.
Optionally, the second currently used throwing screen network of mobile terminal described in the real-time detection, when transmitting data Packet loss includes: by timer setting timing, and clocked flip packet loss detection program currently makes the mobile terminal Second, which throws screen network, carries out packet loss detection.
Optionally, throwing screen network includes miracast environment, wifi LAN environment, Bluetooth communication environment, NFC logical Believe at least one of environment.
Further, the embodiment of the invention also provides a kind of mobile terminal, which includes processor, memory And communication bus;
Communication bus is for realizing the connection communication between processor and memory;
Processor is for executing the one or more programs stored in memory, to realize the step of above-mentioned throwing screen implementation method Suddenly.
Further, the embodiment of the invention also provides a kind of computer readable storage medium, the computer-readable storages Media storage has one or more program, one or more program can be executed by one or more processor, to realize The step of above-mentioned throwing screen implementation method.
The beneficial effect of the embodiment of the present invention is:
The embodiment of the invention provides a kind of throwings to shield implementation method, mobile terminal and computer readable storage medium, for Channel when throwing screen is caused to connect difficult defect due to throwing the single of screen implementation in the prior art, by mobile terminal In the state of throwing screen mode, all throwing screen networks of environment where detecting the mobile terminal shield network from all throwings In filter out and meet at least one preset for throwing set of hanging scrolls part and second throw screen network, preset the throwings set of hanging scrolls part includes mobile whole The communication protocol all supported or hardware condition at end and projection device throw the communication that screen network establishes the two according to described second Link, and the operation of data projection is carried out, network is shielded from multiple throwings based on the communication protocol of the two support or hardware condition The middle suitable network of selection carries out throwing screen, to solve since the throwing screen network of terminal is single, causes to be difficult to carry out precisely fast The problem of speed connection, while also avoiding the problem for arbitrarily connecting and causing transmission quality bad.
Further, real-time detection channel packet loss is also provided, and the mode for throwing screen network switching is provided, so as to protect Card when mobile phone terminal or television itself hardware do not support the direct-connected agreement of the wifi such as miracast, also can guarantee it is normal throw screen, Simultaneously when user moves or some route quality is very poor, routing can be intelligently replaced;Guarantee user video transmission Quality.Improve user experience.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the basic flow chart for the throwing screen implementation method that first embodiment of the invention provides;
Fig. 4 is the structural schematic diagram for the mobile terminal that third embodiment of the invention provides;
Fig. 5 (a) is that the throwing screen network switching for realizing that throwing is shielded in a manner of route 1 provided in second embodiment of the invention is shown It is intended to;
Fig. 5 (b) is the throwing screen network switching signal that throwing screen is realized in a manner of route 2 provided in second embodiment of the invention Figure.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (PersonalDigital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer, it is however noted that, above-mentioned terminal should manage Solution is designed with the terminal of double screen to be, and double screen can be realized based on current terminal enclosure and is bending or folding over, even It can also be double-display screen flexible.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data that person stores in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide executed to mobile terminal 100 the relevant audio output of specific function (for example, call signal receive sound, Message sink sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can be in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 It receives sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data It is defeated that the format that can be sent to mobile communication base station via radio frequency unit 101 can be converted in the case where telephone calling model Out.Microphone 1042 can be implemented various types of noises and eliminate (or inhibition) algorithm to eliminate (or inhibition) and receive and sending out The noise generated during sending audio signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) Deng;Fingerprint sensor, pressure sensor, iris sensor, molecule sensor, the gyroscope, air pressure that can also configure as mobile phone The other sensors such as meter, hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can Including display panel 1061, liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diodes can be used Forms such as (Organic Light-Emitting Diode, OLED) are managed to configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch behaviour of user on it or nearby Make (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel Operation near 1071), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touching Two parts of detection device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch behaviour Make bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.This Outside, touch panel 1071 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touching Panel 1071 is controlled, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 It can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operation One of bar etc. is a variety of, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia Subsystem) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
First embodiment:
Channel connection is difficult when to solve to shield the single of implementation due to throwing in the prior art and cause to throw screen, and channel Data transmission quality also bad defect, present embodiments provide a kind of throwing screen implementation method, be illustrated in figure 3 the present embodiment Offer throwing screen implementation method basic flow chart, the throwing screen implementation method specifically includes the following steps:
S301, whether the working condition for detecting mobile terminal is to throw screen mode.
In the present embodiment, detect whether it is to throw screen mode, can specifically pass through the operation application journey of detection mobile terminal Whether application program for realizing screen projection function is had in sequence, and if it exists, screen mode of throwing then is in depending on the mobile terminal, and Execute step S302.
S302, all throwing screen networks of environment where detection mobile terminal.
In the present embodiment, the throwing screen network includes miracast environment, wifi LAN environment, Bluetooth communication ring At least one of border, NFC communication environment.
S303 is filtered out from all throwing screen networks detected and is met preset at least one second throwing for throwing set of hanging scrolls part Shield network.
In the present embodiment, the preset throwing set of hanging scrolls part includes the communication protocols of mobile terminal and projection device all supported View or hardware condition are to refer to both the throwing screen communication protocol that mobile terminal and projection device are all supported either has Device hardware, or even can also be certain communication mode.
S304 establishes communication link corresponding with the second throwing screen network between mobile terminal and projection device.
S305 carries out the operation of data projection based on communication link.
In the present embodiment, step S303 can specifically be accomplished by the following way:
Mode one determines throwing screen communication protocol or hardware condition that the mobile terminal and projection device are supported jointly, Be the communication protocol supported according to mobile terminal detection of projection devices or for throw screen communication module, then with its from The communication protocol or communication module that body is supported are compared, so that it is determined that going out a kind of throwing screen side that the two is all supported simultaneously Formula.
Shield communication protocol or hardware condition according to the throwing, selects corresponding at least one from all throwing screen networks A second throws screen network.
Mode two determines the first communication protocol or the first hardware condition that the mobile terminal is supported;
According to first communication protocol or the first hardware condition, selected from all throwings screen networks it is corresponding at least Network is shielded in one first throwing;And the first throwing screen network is the network elected from the angle of mobile terminal, which is Certain network for supporting mobile terminal, but the not necessarily throwing screen network of projection support equipment.
Detect the second communication protocol or the second hardware condition that the projection device is supported;
According to second communication protocol or the second hardware condition, it is elected to from least one described first throwing screen network Network is shielded in few one second throwings, and described second, which throws screen network, is while the throwing screen net of the mobile terminal of support and projection device Network.
In the present embodiment, at least one chosen second throw screen network in only one when, pass through institute Preset throwing set of hanging scrolls part is stated to determine that corresponding second throws screen network.
If at least one described second throwing screen network is more than two, it is also necessary to throw and shield from the second of more than two quantity Network selection one is optimal to be operated to realize that throwing is shielded, the specific all throwings that can passes through acquisition mobile terminal place environment Shield the signal parameter of network to realize.
Preferably, shield each signal strength indication value for throwing screen network, Throughput in network by obtaining all throw And packet loss;The optimal throwing screen network of selection one is considered according to these parametric synthesis to realize.
Further, further include that COMPREHENSIVE CALCULATING is carried out to above-mentioned parameter by way of increasing weighting coefficient, be Calculating is weighted and averaged to the signal parameter, obtains each quality indication signal for throwing screen network;
The signal matter is selected from described two the second above throwing screen networks according to network quality priority rule The maximum use network for throwing screen network as the mobile terminal and projection device of figureofmerit.
In the present embodiment, in order to guarantee to throw the quality that the data during shielding are transmitted, method also provides for movement The second currently used throwing screen network of terminal is measured in real time, and is determined the need for reselecting throwing screen according to the result of detection Network, specific:
The second currently used throwing screen network of mobile terminal described in real-time detection, the packet loss when transmitting data;
Judge whether the packet loss is greater than preset threshold value;
If so, screen network switching program is thrown in triggering, second supported simultaneously from the mobile terminal and projection device is thrown One throwing screen network of selection switches in screen network, or selects from all throwing screen networks of mobile terminal place environment It selects the mobile terminal and projection device while the throwing screen network supported switches over.
In the present embodiment, the second currently used throwing screen network of mobile terminal described in the real-time detection, in transmission number According to when packet loss include: by timer setting timing, clocked flip packet loss detects program to the mobile terminal Currently used second throws screen network and carries out packet loss detection.
The embodiment of first embodiment through the embodiment of the present invention, the communication protocol supported based on the two or hardware condition It selects suitable network to carry out throwing screen to shield in network from multiple throwings, to solve since the throwing screen network of terminal is single, leads Cause is difficult to carry out precisely the problem of quickly connection, while also avoiding the problem for arbitrarily connecting and causing transmission quality bad.
Second embodiment:
In order to better understand the present invention, the present embodiment is illustrated with a specific example to screen implementation method is thrown, Below to exist simultaneously the case where two throwing screen networks all support mobile terminal and projection device, and throws screen network and be respectively It is described in detail for miracast environment and wifi LAN environment.
In the present embodiment, when mobile terminal opens projection application program, the environment where mobile terminal is first detected respectively In exist simultaneously the direct-connected environment of miracast environment, i.e. wifi and wifi LAN environment;
Whether detection mobile terminal itself supports wifi direct-connected or whether WIFI local area network and television have wifi straight Even signal WIFI local area network signal judges whether the two meets preset throwing set of hanging scrolls part according to the result of detection, is that the two is The no basic supports conditions for having the basic supports conditions of miracast or WIFI local area network;
Based on above-mentioned judgement, both two kinds of above-mentioned environment are supported in determination, then to the direct-connected environment of wifi and wifi The indexs such as signal strength rssi value, Throughput are weighted and averaged in LAN environment, according to calculated result, determine to use Miracast wifi local area network is completed to throw screen.
When during throwing screen, dynamic and intelligent detects the quality of miracast and wifi LAN environment;It can be using fixed When device method start the detection, can also be triggered according to event, such as miracast currently in use passes screen, but is transmitted across Find that packet loss has been more than certain threshold value, the then program of detection trigger miracast and wifi LAN environment quality in journey. According to calculated result, dynamic routing switching is carried out.
Specifically, being to determine the reality in a manner of route 1 (being miracast agreement) according to aforesaid way in Fig. 5 (a) Screen is now thrown, but during throwing screen, the channel quality of detection discovery route 1 is bad, at this moment according to the detection of packet loss Throwing screen route between mobile terminal and projection device is switched to route 2 from route 1 by situation, be as shown in Fig. 5 (b), Wherein solid line be choosing used in, dotted line be without using.
3rd embodiment:
The present embodiment additionally provides a kind of double screen terminal, shown in Figure 4, which includes processor 41, storage Device 42 and communication bus 43, in which:
Communication bus 43 is for realizing the connection communication between processor 41 and memory 42;
Processor 41 is for executing the one or more programs stored in memory 42, to realize that above-mentioned first embodiment arrives Each step of throwing screen implementation method in second embodiment.
The present embodiment additionally provides a kind of computer readable storage medium, which has one Or multiple programs, the one or more program can be executed by one or more processor, to realize that above-mentioned first embodiment arrives Each step of throwing screen implementation method in second embodiment.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) method that executes each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. implementation method is shielded in a kind of throwing, which is characterized in that the described method includes:
In the state that mobile terminal is in and throws screen mode, all throwing screen networks of environment where detecting the mobile terminal;
At least one the second throwing screen network for meeting preset throwing set of hanging scrolls part is filtered out in screen network from all throw, it is described pre- If throwing set of hanging scrolls part include mobile terminal and projection device the communication protocol all supported or hardware condition;
Communication link corresponding with the second throwing screen network is established between the mobile terminal and the projection device;
The operation of data projection is carried out based on the communication link.
2. as described in claim 1 throw screen implementation method, which is characterized in that described to be filtered out from all throwing screen networks Meeting preset the second throwing screen network for throwing set of hanging scrolls part includes:
Determine the throwing screen communication protocol or hardware condition that the mobile terminal and projection device are supported jointly;
Shield communication protocol or hardware condition according to the throwing, shield from all throwing selected in networks it is corresponding at least one the Two throw screen network.
3. as described in claim 1 throw screen implementation method, which is characterized in that described to be filtered out from all throwing screen networks Meeting preset the second throwing screen network for throwing set of hanging scrolls part includes:
Determine the first communication protocol or the first hardware condition that the mobile terminal is supported;
According to first communication protocol or the first hardware condition, selected from all throwings screen networks it is corresponding at least one First throws screen network;
Detect the second communication protocol or the second hardware condition that the projection device is supported;
According to second communication protocol or the second hardware condition, at least one is selected from least one described first throwing screen network It is a second throw screen network, it is described second throw screen network be simultaneously support the mobile terminal and projection device throwing screen network.
4. implementation method is shielded in throwing as described in any one of claims 1-3, which is characterized in that in the detection mobile terminal When all throwing screen networks of place environment, further includes:
Obtain it is all throw screen networks in it is each throw screen network signal parameters, the signal parameter include signal strength indication value, Throughput and packet loss;
Calculating is weighted and averaged to the signal parameter, obtains each quality indication signal for throwing screen network.
5. as claimed in claim 4 throw screen implementation method, which is characterized in that if at least one described second throwing screen network is two When a above, at least one the second throwing screen for meeting preset throwing set of hanging scrolls part is filtered out in screen network from all throw described After network, further includes:
According to network quality priority rule, one signal quality of selection refers to from described two the second above throwing screen networks Mark the maximum use network for throwing screen network as the mobile terminal and projection device.
6. implementation method is shielded in throwing as described in any one in claim 1-5, which is characterized in that be based on the communication link described After the operation for carrying out data projection, further includes:
The second currently used throwing screen network of mobile terminal described in real-time detection, the packet loss when transmitting data;
Judge whether the packet loss is greater than preset threshold value;
If so, screen network switching program is thrown in triggering, second supported simultaneously from the mobile terminal and projection device throws screen net It selects a throwing screen network to switch in network, or selects one from all throwing screen networks of mobile terminal place environment The throwing screen network that a mobile terminal and projection device are supported simultaneously switches over.
7. as claimed in claim 6 throw screen implementation method, which is characterized in that mobile terminal described in the real-time detection currently makes Second throws screen network, and the packet loss when transmitting data includes: by timer setting timing, clocked flip packet loss Rate detects the program second throwing screen network currently used to the mobile terminal and carries out packet loss detection.
8. as claimed in claim 6 throw screen implementation method, which is characterized in that throwings shield network include miracast environment, At least one of wifi LAN environment, Bluetooth communication environment, NFC communication environment.
9. a kind of mobile terminal, which is characterized in that including processor, memory and communication bus;
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing the one or more programs stored in memory, to realize as any in claim 1-8 The step of implementation method is shielded in the item throwing.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be executed by one or more processor, to realize as in claim 1-8 The step of described in any item throwing screen implementation methods.
CN201811445898.8A 2018-11-29 2018-11-29 Throw screen implementation method, mobile terminal and computer readable storage medium Pending CN109922205A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811445898.8A CN109922205A (en) 2018-11-29 2018-11-29 Throw screen implementation method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811445898.8A CN109922205A (en) 2018-11-29 2018-11-29 Throw screen implementation method, mobile terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109922205A true CN109922205A (en) 2019-06-21

Family

ID=66959779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811445898.8A Pending CN109922205A (en) 2018-11-29 2018-11-29 Throw screen implementation method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109922205A (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493756A (en) * 2019-07-26 2019-11-22 维沃移动通信有限公司 Throw screen method and 5G terminal
CN110618798A (en) * 2019-08-30 2019-12-27 惠州Tcl移动通信有限公司 Multi-screen display method, multi-screen device, storage medium and terminal equipment
CN110928511A (en) * 2019-11-13 2020-03-27 讯飞幻境(北京)科技有限公司 Screen projection method and device and electronic equipment
CN111427527A (en) * 2020-03-20 2020-07-17 海信视像科技股份有限公司 Screen projection method, device, equipment and computer readable storage medium
CN111542133A (en) * 2020-06-18 2020-08-14 Tcl海外电子(惠州)有限公司 Information transmission method, system, receiving device, transmitting device and storage medium
CN111541934A (en) * 2020-07-08 2020-08-14 成都极米科技股份有限公司 Screen projection equipment, method and system and computer readable storage medium
CN111565442A (en) * 2020-05-27 2020-08-21 西安万像电子科技有限公司 Screen projection method, equipment and system
CN111628847A (en) * 2020-05-06 2020-09-04 上海幻电信息科技有限公司 Data transmission method and device
CN113115083A (en) * 2020-01-10 2021-07-13 海信视像科技股份有限公司 Display apparatus and display method
WO2021223454A1 (en) * 2020-05-06 2021-11-11 上海幻电信息科技有限公司 Screen projection method and system
WO2021227976A1 (en) * 2020-05-15 2021-11-18 华为技术有限公司 Data transmission method for electronic device, and medium and electronic device thereof
CN113721877A (en) * 2021-09-09 2021-11-30 天津智融创新科技发展有限公司 Screen pushing method, device, equipment and storage medium
CN113810760A (en) * 2021-08-17 2021-12-17 荣耀终端有限公司 Method for controlling screen projection, electronic device and computer readable storage medium
CN114040233A (en) * 2021-11-04 2022-02-11 深圳小湃科技有限公司 Screen projection service adjusting method, equipment and storage medium
CN114157902A (en) * 2021-12-02 2022-03-08 瑞森网安(福建)信息科技有限公司 Wireless screen projection method, system and storage medium
WO2022062998A1 (en) * 2020-09-27 2022-03-31 华为技术有限公司 Device recommendation method, and device
CN114401429A (en) * 2022-01-14 2022-04-26 烽火通信科技股份有限公司 Remote screen projection method and electronic equipment
WO2022110939A1 (en) * 2020-11-27 2022-06-02 荣耀终端有限公司 Device recommendation method and electronic device
CN114697245A (en) * 2020-12-30 2022-07-01 深圳Tcl新技术有限公司 Network testing method and device, computer readable storage medium and terminal equipment
WO2023280160A1 (en) * 2021-07-07 2023-01-12 华为技术有限公司 Channel switching method and apparatus
CN115695928A (en) * 2022-09-26 2023-02-03 抖音视界有限公司 Screen projection method and device, electronic equipment and storage medium
WO2023045687A1 (en) * 2021-09-27 2023-03-30 华为技术有限公司 Screen projection method, device and system
WO2024001773A1 (en) * 2022-06-29 2024-01-04 华为技术有限公司 Data migration method, electronic device and networking system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101374009A (en) * 2007-08-20 2009-02-25 中兴通讯股份有限公司 Method for switching business channel of relay network
CN102497659A (en) * 2011-12-05 2012-06-13 中国电信股份有限公司 Method and system for network selection under dual-network coverage, and dual-mode terminal
CN103067997A (en) * 2011-10-19 2013-04-24 中国电信股份有限公司 Method and device capable of judging whether terminal is switched between two wireless networks
CN104349411A (en) * 2013-07-29 2015-02-11 中兴通讯股份有限公司 Network switching method, network switching device and terminal
CN105681881A (en) * 2015-11-06 2016-06-15 乐视移动智能信息技术(北京)有限公司 Multimedia data transmission method based on mobile terminal, and mobile terminal
US20160337639A1 (en) * 2015-05-12 2016-11-17 Delta Electronics, Inc. Projection apparatus
CN107969020A (en) * 2016-10-19 2018-04-27 中兴通讯股份有限公司 Method for switching network and device, mobile terminal in a kind of communication
CN108282671A (en) * 2015-02-13 2018-07-13 海信集团有限公司 A kind of streaming media data transmission method
CN108289241A (en) * 2016-09-29 2018-07-17 努比亚技术有限公司 A kind of wireless display device, system and method
CN108399056A (en) * 2018-02-26 2018-08-14 上海康斐信息技术有限公司 It is a kind of wirelessly to throw screen method and wireless router
CN108769716A (en) * 2018-06-08 2018-11-06 四川乐望崇智科技有限公司 A kind of high efficiency smart mobile phone throwing screen method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101374009A (en) * 2007-08-20 2009-02-25 中兴通讯股份有限公司 Method for switching business channel of relay network
CN103067997A (en) * 2011-10-19 2013-04-24 中国电信股份有限公司 Method and device capable of judging whether terminal is switched between two wireless networks
CN102497659A (en) * 2011-12-05 2012-06-13 中国电信股份有限公司 Method and system for network selection under dual-network coverage, and dual-mode terminal
CN104349411A (en) * 2013-07-29 2015-02-11 中兴通讯股份有限公司 Network switching method, network switching device and terminal
CN108282671A (en) * 2015-02-13 2018-07-13 海信集团有限公司 A kind of streaming media data transmission method
US20160337639A1 (en) * 2015-05-12 2016-11-17 Delta Electronics, Inc. Projection apparatus
CN105681881A (en) * 2015-11-06 2016-06-15 乐视移动智能信息技术(北京)有限公司 Multimedia data transmission method based on mobile terminal, and mobile terminal
CN108289241A (en) * 2016-09-29 2018-07-17 努比亚技术有限公司 A kind of wireless display device, system and method
CN107969020A (en) * 2016-10-19 2018-04-27 中兴通讯股份有限公司 Method for switching network and device, mobile terminal in a kind of communication
CN108399056A (en) * 2018-02-26 2018-08-14 上海康斐信息技术有限公司 It is a kind of wirelessly to throw screen method and wireless router
CN108769716A (en) * 2018-06-08 2018-11-06 四川乐望崇智科技有限公司 A kind of high efficiency smart mobile phone throwing screen method

Cited By (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493756B (en) * 2019-07-26 2022-08-02 维沃移动通信有限公司 Screen projection method and 5G terminal
CN110493756A (en) * 2019-07-26 2019-11-22 维沃移动通信有限公司 Throw screen method and 5G terminal
CN110618798A (en) * 2019-08-30 2019-12-27 惠州Tcl移动通信有限公司 Multi-screen display method, multi-screen device, storage medium and terminal equipment
CN110928511A (en) * 2019-11-13 2020-03-27 讯飞幻境(北京)科技有限公司 Screen projection method and device and electronic equipment
CN113115083A (en) * 2020-01-10 2021-07-13 海信视像科技股份有限公司 Display apparatus and display method
CN111427527A (en) * 2020-03-20 2020-07-17 海信视像科技股份有限公司 Screen projection method, device, equipment and computer readable storage medium
CN111427527B (en) * 2020-03-20 2023-10-31 海信视像科技股份有限公司 Screen projection method, device, equipment and computer readable storage medium
US11778006B2 (en) 2020-05-06 2023-10-03 Shanghai Hode Information Technology Co., Ltd. Data transmission method and apparatus
CN111628847A (en) * 2020-05-06 2020-09-04 上海幻电信息科技有限公司 Data transmission method and device
WO2021223452A1 (en) * 2020-05-06 2021-11-11 上海幻电信息科技有限公司 Data transmission method and apparatus
WO2021223454A1 (en) * 2020-05-06 2021-11-11 上海幻电信息科技有限公司 Screen projection method and system
WO2021227976A1 (en) * 2020-05-15 2021-11-18 华为技术有限公司 Data transmission method for electronic device, and medium and electronic device thereof
CN113676269A (en) * 2020-05-15 2021-11-19 华为技术有限公司 Data transmission method of electronic device, medium thereof, and electronic device
CN113676269B (en) * 2020-05-15 2022-11-04 华为技术有限公司 Data transmission method of electronic device, medium thereof, and electronic device
CN111565442A (en) * 2020-05-27 2020-08-21 西安万像电子科技有限公司 Screen projection method, equipment and system
CN111542133A (en) * 2020-06-18 2020-08-14 Tcl海外电子(惠州)有限公司 Information transmission method, system, receiving device, transmitting device and storage medium
CN111542133B (en) * 2020-06-18 2023-05-09 茂佳科技(广东)有限公司 Information transmission method, system, receiving device, transmitting device and storage medium
CN111541934A (en) * 2020-07-08 2020-08-14 成都极米科技股份有限公司 Screen projection equipment, method and system and computer readable storage medium
WO2022062998A1 (en) * 2020-09-27 2022-03-31 华为技术有限公司 Device recommendation method, and device
WO2022110939A1 (en) * 2020-11-27 2022-06-02 荣耀终端有限公司 Device recommendation method and electronic device
CN114697245A (en) * 2020-12-30 2022-07-01 深圳Tcl新技术有限公司 Network testing method and device, computer readable storage medium and terminal equipment
WO2023280160A1 (en) * 2021-07-07 2023-01-12 华为技术有限公司 Channel switching method and apparatus
CN113810760A (en) * 2021-08-17 2021-12-17 荣耀终端有限公司 Method for controlling screen projection, electronic device and computer readable storage medium
CN113721877B (en) * 2021-09-09 2024-02-06 天津智融创新科技发展有限公司 Screen pushing method, device, equipment and storage medium
CN113721877A (en) * 2021-09-09 2021-11-30 天津智融创新科技发展有限公司 Screen pushing method, device, equipment and storage medium
WO2023045687A1 (en) * 2021-09-27 2023-03-30 华为技术有限公司 Screen projection method, device and system
CN114040233A (en) * 2021-11-04 2022-02-11 深圳小湃科技有限公司 Screen projection service adjusting method, equipment and storage medium
CN114157902A (en) * 2021-12-02 2022-03-08 瑞森网安(福建)信息科技有限公司 Wireless screen projection method, system and storage medium
CN114157902B (en) * 2021-12-02 2024-03-22 瑞森网安(福建)信息科技有限公司 Wireless screen projection method, system and storage medium
CN114401429A (en) * 2022-01-14 2022-04-26 烽火通信科技股份有限公司 Remote screen projection method and electronic equipment
CN114401429B (en) * 2022-01-14 2024-02-27 烽火通信科技股份有限公司 Remote screen projection method and electronic equipment
WO2024001773A1 (en) * 2022-06-29 2024-01-04 华为技术有限公司 Data migration method, electronic device and networking system
CN115695928A (en) * 2022-09-26 2023-02-03 抖音视界有限公司 Screen projection method and device, electronic equipment and storage medium
WO2024067114A1 (en) * 2022-09-26 2024-04-04 抖音视界有限公司 Screen projection method and apparatus, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN109922205A (en) Throw screen implementation method, mobile terminal and computer readable storage medium
CN107046696A (en) The method and mobile terminal of a kind of communication network switching
CN109495939A (en) Method for switching network, device, mobile terminal and computer readable storage medium
CN109343775A (en) Double screen terminal screen switching method, terminal and computer readable storage medium
CN107182097A (en) A kind of method for switching network, terminal and computer-readable recording medium
CN109005574A (en) Cell selecting method, mobile terminal and computer readable storage medium
CN110187808A (en) Dynamic wallpaper setting method, device and computer readable storage medium
CN109104219A (en) Multiple antennas switching method, mobile terminal and computer storage medium
CN109327581A (en) A kind of downloading switching device and mobile terminal
CN108958936A (en) Application programe switch-over method, mobile terminal and computer readable storage medium
CN107124428A (en) A kind of method, equipment and the storage medium of raising VoLTE call successful rates
CN109005288A (en) Call processing method, double-sided screen terminal and computer readable storage medium
CN108924339A (en) Terminal is anti-to bother control method, terminal and computer storage medium
CN108829302A (en) A kind of interaction regulation method, equipment and computer readable storage medium
CN108234749A (en) Application affairs processing method, terminal and computer readable storage medium
CN110087267A (en) Method for switching network, device, electronic equipment and readable storage medium storing program for executing
CN109379777A (en) A kind of network search method, terminal and computer readable storage medium
CN109389394A (en) A kind of multi-screen payment control method, equipment and computer readable storage medium
CN109544140A (en) A kind of identification code scan method, terminal and readable storage medium storing program for executing
CN109445660A (en) A kind of wearable device control method, mobile terminal and wearable device
CN108881542A (en) Mobile terminal call method, mobile terminal and computer readable storage medium
CN109522276A (en) Application icon management method, terminal and computer readable storage medium
CN108449736A (en) A kind of data transmission method, terminal and computer readable storage medium
CN108566456A (en) Image pickup method, mobile terminal and computer readable storage medium
CN110191477A (en) A kind of web search control method, terminal and computer readable storage medium

Legal Events

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

Application publication date: 20190621