CN106413128B - Projection method and mobile terminal - Google Patents

Projection method and mobile terminal Download PDF

Info

Publication number
CN106413128B
CN106413128B CN201610871332.6A CN201610871332A CN106413128B CN 106413128 B CN106413128 B CN 106413128B CN 201610871332 A CN201610871332 A CN 201610871332A CN 106413128 B CN106413128 B CN 106413128B
Authority
CN
China
Prior art keywords
mobile terminal
connection
wireless communication
communication mode
key information
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
CN201610871332.6A
Other languages
Chinese (zh)
Other versions
CN106413128A (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.)
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 CN201610871332.6A priority Critical patent/CN106413128B/en
Publication of CN106413128A publication Critical patent/CN106413128A/en
Application granted granted Critical
Publication of CN106413128B publication Critical patent/CN106413128B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/04Key management, e.g. using generic bootstrapping architecture [GBA]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

The embodiment of the invention discloses a projection method and a mobile terminal. The first mobile terminal includes: the first communication unit is used for initiating search based on a first wireless communication mode; when a broadcast message with a preset identifier is searched, establishing a first connection based on the first wireless communication mode with a second mobile terminal corresponding to the preset identifier based on the input operation detected by an operation detection unit; and the first information processing unit is used for sending key information to the second mobile terminal through the first connection established by the first communication unit so as to enable the second communication unit to establish a second connection between the first mobile terminal and the second mobile terminal based on a second wireless communication mode based on the key information. By adopting the technical scheme of the embodiment of the invention, the first mobile terminal as the sending end can search quickly and establish the connection of the first wireless communication mode conveniently, and the mechanism for discovering the Wi-Fi Direct service and the operation of the receiving end user are simplified.

Description

Projection method and mobile terminal
Technical Field
The invention relates to a projection technology, in particular to a projection method and a mobile terminal.
Background
Screen projection technology between terminal devices has appeared in the prior art, i.e. one terminal device transmits screen data to another terminal device. The existing screen projection technology is based on Wi-Fi Direct transmission standard, when screen projection is needed, receiving end equipment needs to activate receiving end application and start Wi-Fi Direct search to be searched by the projection end equipment every time, and because the Wi-Fi Direct search is relatively power-consuming, the power consumption of the mobile terminal is overlarge due to the fact that the function is always activated; therefore, the user is required to perform complicated operations each time the screen projection is performed, which brings inconvenient operation experience to the user. And in the searching process, the mechanism that the Wi-Fi Direct search needs collision sometimes results in overlong searching time, and in the connection process, the process of exchanging temporary keys is also needed, resulting in overlong connection time. When the user enters the receiving end to restart the search, the operation of the user is also troublesome.
Disclosure of Invention
In order to solve the existing technical problem, the embodiment of the invention provides a projection method and a mobile terminal.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides a mobile terminal, which is a first mobile terminal; the first mobile terminal includes: a first communication unit, an operation detection unit, a first information processing unit, and a second communication unit; wherein the content of the first and second substances,
the first communication unit is used for initiating search based on a first wireless communication mode; when a broadcast message with a preset identifier is searched, establishing a first connection based on the first wireless communication mode with a second mobile terminal corresponding to the preset identifier based on the input operation detected by the operation detection unit;
the first information processing unit is configured to send key information to the second mobile terminal through the first connection established by the first communication unit, so as to enable the second communication unit to establish a second connection based on a second wireless communication mode between the first mobile terminal and the second mobile terminal based on the key information.
In the foregoing solution, the first communication unit is further configured to obtain device information of the second mobile terminal through the first connection when the key information is sent to the second mobile terminal through the first connection; and the second mobile terminal is further configured to initiate a connection request based on the second wireless communication mode to the second mobile terminal based on the device information after sending the key information to the second mobile terminal through the first connection.
In the foregoing solution, the first information processing unit is further configured to disconnect the first connection after the second connection is established.
In the above scheme, the first information processing unit is further configured to obtain screen data, and send the screen data to the second mobile terminal through the second connection established by the second communication unit.
The embodiment of the invention also provides a mobile terminal, which is a second mobile terminal; the second mobile terminal includes: a third communication unit, a second information processing unit, and a fourth communication unit; wherein the content of the first and second substances,
the third communication unit is used for sending a broadcast message containing a preset identifier based on a first wireless communication mode; so that the first mobile terminal searches the broadcast message; establishing a first connection based on the first wireless communication mode with the mobile terminal based on the input operation detected by the first mobile terminal;
the second information processing unit is configured to obtain key information of the first mobile terminal through the first connection established by the third communication unit;
and the fourth communication unit is used for establishing a second connection based on a second wireless communication mode between the fourth communication unit and the first mobile terminal based on the key information.
The embodiment of the invention also provides a projection method, which comprises the following steps:
the first mobile terminal initiates a search based on a first wireless communication mode;
when a broadcast message with a preset identifier is searched, establishing a first connection based on the first wireless communication mode with a second mobile terminal corresponding to the preset identifier based on the detected input operation;
and the first mobile terminal sends key information to the second mobile terminal through the first connection so as to establish a second connection between the first mobile terminal and the second mobile terminal based on a second wireless communication mode based on the key information.
In the foregoing solution, when the first mobile terminal sends the key information to the second mobile terminal through the first connection, the method further includes: the first mobile terminal obtains the equipment information of the second mobile terminal through the first connection;
correspondingly, after the first mobile terminal sends the key information to the second mobile terminal through the first connection, the method further includes:
and the first mobile terminal initiates a connection request of the second wireless communication mode to the second mobile terminal based on the equipment information.
In the foregoing solution, after the second connection is established, the method further includes: the first connection is broken.
In the foregoing solution, after the second connection is established, the method further includes: and the first mobile terminal acquires screen data and sends the screen data to the second mobile terminal through the second connection.
The embodiment of the invention also provides a projection method, which comprises the following steps:
the second mobile terminal sends a broadcast message containing a preset identifier based on the first wireless communication mode; so that the first mobile terminal searches the broadcast message;
based on the input operation detected by the first mobile terminal, the second mobile terminal and the mobile terminal establish a first connection based on the first wireless communication mode;
the second mobile terminal obtains the key information of the first mobile terminal through the first connection; and establishing a second connection based on a second wireless communication mode between the first mobile terminal and the first mobile terminal based on the key information.
In the projection method and the mobile terminal provided in the embodiments of the present invention, on the one hand, the first mobile terminal includes: a first communication unit, an operation detection unit, a first information processing unit, and a second communication unit; the first communication unit is used for initiating search based on a first wireless communication mode; when a broadcast message with a preset identifier is searched, establishing a first connection based on the first wireless communication mode with a second mobile terminal corresponding to the preset identifier based on the input operation detected by the operation detection unit; the first information processing unit is configured to send key information to the second mobile terminal through the first connection established by the first communication unit, so as to enable the second communication unit to establish a second connection based on a second wireless communication mode between the first mobile terminal and the second mobile terminal based on the key information. In another aspect, the second mobile terminal comprises: a third communication unit, a second information processing unit, and a fourth communication unit; the third communication unit is used for sending a broadcast message containing a preset identifier based on a first wireless communication mode; so that the first mobile terminal searches the broadcast message; establishing a first connection based on the first wireless communication mode with the mobile terminal based on the input operation detected by the first mobile terminal; the second information processing unit is configured to obtain key information of the first mobile terminal through the first connection established by the third communication unit; and the fourth communication unit is used for establishing a second connection based on a second wireless communication mode between the fourth communication unit and the first mobile terminal based on the key information. By adopting the technical scheme of the embodiment of the invention, the second mobile terminal as the receiving end adds the preset identification in the broadcast message, so that the first mobile terminal as the sending end can search quickly and establish the connection of the first wireless communication mode conveniently, the operation that the receiving end needs to start a Peer-to-Peer network (P2P, Peer to Peer) when receiving is avoided, and the mechanism for discovering the Wi-Fi Direct service and the operation of a receiving end user are simplified; on the other hand, the key information for establishing the second connection is sent to the receiving end based on the first wireless communication mode, and the receiving end uses the known key information to directly skip the original key exchange process, so that the connection speed is increased.
Drawings
Fig. 1 is a schematic hardware configuration diagram of an alternative mobile terminal implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
FIG. 3 is a flowchart illustrating a projection method according to a first embodiment of the invention;
FIG. 4 is a flowchart illustrating a projection method according to a second embodiment of the present invention;
FIG. 5 is a flowchart illustrating a projection method according to a third embodiment of the present invention;
FIG. 6 is a flowchart illustrating a projection method according to a fourth embodiment of the present invention;
FIG. 7 is a flowchart illustrating a detailed interaction of a projection method according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a first structure of a mobile terminal according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a second structure of a mobile terminal according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a specific component of the mobile terminal according to the embodiment of the present invention;
fig. 11 is a schematic diagram of another specific structure of the mobile terminal according to the embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic hardware structure of an alternative mobile terminal implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, an a/V (audio/video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 may receive a signal broadcast by using various types of broadcasting systems. In particular, the broadcast receiving module 111 may receive digital broadcasting by using a digital broadcasting system such as a data broadcasting system of multimedia broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), forward link media (MediaFLO @), terrestrial digital broadcasting integrated service (ISDB-T), and the like. The broadcast receiving module 111 may be constructed to be suitable for various broadcasting systems that provide broadcast signals as well as the above-mentioned digital broadcasting systems. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetooth (TM), Radio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbee (TM), and the like.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module is a GPS (global positioning system). According to the current technology, the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the GPS module 115 can calculate speed information by continuously calculating current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 122, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the cameras 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the mobile communication module 112 in case of a phone call mode. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The sensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide-type mobile phone, the sensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The alarm unit 153 may provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alarm unit 153 may provide output in different ways to notify the occurrence of an event. For example, the alarm unit 153 may provide an output in the form of vibration, and when a call, a message, or some other incoming communication (incomingmunication) is received, the alarm unit 153 may provide a tactile output (i.e., vibration) to inform the user thereof. By providing such a tactile output, the user can recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 may also provide an output notifying the occurrence of an event via the display unit 151 or the audio output module 152.
The memory 160 may store software programs and the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, and the like) that has been or will be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to this point, mobile terminals have been described in terms of their functionality. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 275.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz,5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the above mobile terminal hardware structure and communication system, the present invention provides various embodiments of the method.
Example one
The embodiment of the invention provides a projection method. FIG. 3 is a flowchart illustrating a projection method according to a first embodiment of the invention; as shown in fig. 3, the method includes:
step 301: the first mobile terminal initiates a search based on the first wireless communication mode.
Step 302: and when the broadcast message with the preset identification is searched, establishing a first connection based on the first wireless communication mode with a second mobile terminal corresponding to the preset identification based on the detected input operation.
Step 303: and the first mobile terminal sends key information to the second mobile terminal through the first connection so as to establish a second connection between the first mobile terminal and the second mobile terminal based on a second wireless communication mode based on the key information.
In this embodiment, the first mobile terminal serves as a sending end of the projection data; correspondingly, the second mobile terminal serves as a receiving end of the projection data.
In this embodiment, the first wireless communication mode may specifically be a wireless communication mode such as bluetooth, infrared, and the like; as an embodiment, the first wireless communication mode may specifically be a Bluetooth Low Energy (BLE) communication mode. The first mobile terminal may initiate a BLE search procedure based on a BLE communication mode. The second mobile terminal also transmits a broadcast message based on the first wireless communication mode (e.g., BLE communication mode); the broadcast message carries a preset identifier, so that the first mobile terminal can detect the preset identifier conveniently. Based on this, when the first mobile terminal searches the BLE broadcast message with the preset identifier, the device information corresponding to the broadcast message of the first mobile terminal is displayed in the searched device list. The user can click the equipment information in the equipment list; correspondingly, the first mobile terminal detects the input operation aiming at the equipment information and establishes a first connection of a second mobile terminal corresponding to the equipment information; the first connection is a connection based on the first wireless communication method (e.g., BLE communication method).
In this embodiment, the second wireless communication mode may specifically be a Wi-Fi Direct communication mode; after the first connection is completed, the first mobile terminal obtains key information used for establishing Wi-Fi Direct connection, and the key information is sent to the second mobile terminal through the first connection, so that the second mobile terminal establishes a second connection with the first mobile terminal based on the key information; the second connection may specifically be a Wi-fi direct connection.
By adopting the technical scheme of the embodiment of the invention, the second mobile terminal as the receiving end adds the preset identification in the broadcast message, so that the first mobile terminal as the sending end can search quickly and establish the connection of the first wireless communication mode conveniently, the operation that the receiving end needs to start p2p when receiving is avoided, and the mechanism for finding the Wi-Fi Direct service and the operation of the user at the receiving end are simplified; on the other hand, the key information for establishing the second connection is sent to the receiving end based on the first wireless communication mode, and the receiving end uses the known key information to directly skip the original key exchange process, so that the connection speed is increased. Furthermore, BLE is used as the first wireless communication mode, the rapidity of BLE searching is utilized, the time consumption of searching caused by a Wi-Fi Direct collision mechanism in the Wi-Fi Direct searching process is avoided, and the searching stability and the timely response are improved.
Example two
The embodiment of the invention provides a projection method. FIG. 4 is a flowchart illustrating a projection method according to a second embodiment of the present invention; as shown in fig. 4, the method includes:
step 401: the first mobile terminal initiates a search based on the first wireless communication mode.
Step 402: and when the broadcast message with the preset identification is searched, establishing a first connection based on the first wireless communication mode with a second mobile terminal corresponding to the preset identification based on the detected input operation.
Step 403: and the first mobile terminal obtains the equipment information of the second mobile terminal through the first connection. And sending key information to the second mobile terminal over the first connection.
Step 404: and the first mobile terminal initiates a connection request based on the second wireless communication mode to the second mobile terminal based on the equipment information, so that the second mobile terminal establishes a second connection based on the second wireless communication mode between the first mobile terminal and the second mobile terminal based on the secret key information.
In this embodiment, the first mobile terminal serves as a sending end of the projection data; correspondingly, the second mobile terminal serves as a receiving end of the projection data.
In this embodiment, the first wireless communication mode may specifically be a wireless communication mode such as bluetooth, infrared, and the like; as an embodiment, the first wireless communication mode may specifically be a Bluetooth Low Energy (BLE) communication mode. The first mobile terminal may initiate a BLE search procedure based on a BLE communication mode. The second mobile terminal also transmits a broadcast message based on the first wireless communication mode (e.g., BLE communication mode); the broadcast message carries a preset identifier, so that the first mobile terminal can detect the preset identifier conveniently. Based on this, when the first mobile terminal searches the BLE broadcast message with the preset identifier, the device information corresponding to the broadcast message of the first mobile terminal is displayed in the searched device list. The user can click the equipment information in the equipment list; correspondingly, the first mobile terminal detects the input operation aiming at the equipment information and establishes a first connection of a second mobile terminal corresponding to the equipment information; the first connection is a connection based on the first wireless communication method (e.g., BLE communication method).
In this embodiment, the second wireless communication mode may specifically be a Wi-Fi Direct communication mode; after the first connection is completed, the first mobile terminal sends an instruction for obtaining the device information of the second mobile terminal through the first connection, so as to obtain the device information of the second mobile terminal; the first mobile terminal obtains key information used for establishing Wi-Fi Direct connection, and the key information is sent to the second mobile terminal through the first connection, so that the second mobile terminal establishes a second connection with the first mobile terminal based on the key information after receiving a connection request for Wi-Fi Direct connection sent by the first mobile terminal; the second connection may specifically be a Wi-Fi Direct connection.
As an embodiment, after the second connection establishment is completed, the method further includes: and the first mobile terminal acquires screen data and sends the screen data to the second mobile terminal through the second connection.
As an embodiment, after the second connection establishment is completed, the method further includes: the first connection is broken.
By adopting the technical scheme of the embodiment of the invention, the second mobile terminal as the receiving end adds the preset identification in the broadcast message, so that the first mobile terminal as the sending end can search quickly and establish the connection of the first wireless communication mode conveniently, the operation that the receiving end needs to start p2p when receiving is avoided, and the mechanism for finding the Wi-Fi Direct service and the operation of the user at the receiving end are simplified; on the other hand, the key information for establishing the second connection is sent to the receiving end based on the first wireless communication mode, and the receiving end uses the known key information to directly skip the original key exchange process, so that the connection speed is increased. Furthermore, BLE is used as the first wireless communication mode, the rapidity of BLE searching is utilized, the time consumption of searching caused by a Wi-Fi Direct collision mechanism in the Wi-Fi Direct searching process is avoided, and the searching stability and the timely response are improved.
EXAMPLE III
The embodiment of the invention also provides a projection method. FIG. 5 is a flowchart illustrating a projection method according to a third embodiment of the present invention; as shown in fig. 5, the method includes:
step 501: the second mobile terminal sends a broadcast message containing a preset identifier based on the first wireless communication mode; so that the first mobile terminal searches for the broadcast message.
Step 502: and based on the input operation detected by the first mobile terminal, the second mobile terminal establishes a first connection based on the first wireless communication mode with the mobile terminal.
Step 503: the second mobile terminal obtains the key information of the first mobile terminal through the first connection; and establishing a second connection based on a second wireless communication mode between the first mobile terminal and the first mobile terminal based on the key information.
In this embodiment, the second mobile terminal serves as a receiving end of the projection data; correspondingly, the first mobile terminal serves as a sending end of the projection data.
In this embodiment, the first wireless communication mode may specifically be a wireless communication mode such as bluetooth, infrared, and the like; as an embodiment, the first wireless communication method may specifically be a BLE communication method. The second mobile terminal may send a broadcast message including a preset identifier based on a BLE communication manner, so that the first mobile terminal can quickly detect the broadcast message. When the first mobile terminal searches the BLE broadcast message with the preset identification, the device information corresponding to the broadcast message of the first mobile terminal is displayed in the searched device list. The user can click the equipment information in the equipment list; correspondingly, the first mobile terminal detects an input operation aiming at the equipment information, and the second mobile terminal establishes a first connection with the mobile terminal based on the input operation detected by the first mobile terminal; the first connection is a connection based on the first wireless communication method (e.g., BLE communication method).
In this embodiment, the second wireless communication mode may specifically be a Wi-Fi Direct communication mode; after the first connection is completed, the second mobile terminal obtains key information used by the first mobile terminal to establish a Wi-Fi Direct connection through the first connection (e.g., a BLE connection), so that the second mobile terminal establishes a second connection with the first mobile terminal based on the key information; the second connection may specifically be a Wi-Fi Direct connection.
By adopting the technical scheme of the embodiment of the invention, the second mobile terminal as the receiving end adds the preset identification in the broadcast message, so that the first mobile terminal as the sending end can search quickly and establish the connection of the first wireless communication mode conveniently, the operation that the receiving end needs to start p2p when receiving is avoided, and the mechanism for finding the Wi-Fi Direct service and the operation of the user at the receiving end are simplified; on the other hand, the key information for establishing the second connection is sent to the receiving end based on the first wireless communication mode, and the receiving end uses the known key information to directly skip the original key exchange process, so that the connection speed is increased. Furthermore, BLE is used as the first wireless communication mode, the rapidity of BLE searching is utilized, the time consumption of searching caused by a Wi-Fi Direct collision mechanism in the Wi-Fi Direct searching process is avoided, and the searching stability and the timely response are improved.
Example four
The embodiment of the invention also provides a projection method. FIG. 6 is a flowchart illustrating a projection method according to a fourth embodiment of the present invention; as shown in fig. 6, the method includes:
step 601: the second mobile terminal sends a broadcast message containing a preset identifier based on the first wireless communication mode; so that the first mobile terminal searches for the broadcast message.
Step 602: and based on the input operation detected by the first mobile terminal, the second mobile terminal establishes a first connection based on the first wireless communication mode with the mobile terminal.
Step 603: and the second mobile terminal obtains the key information of the first mobile terminal through the first connection.
Step 604: and after receiving the connection request based on the second wireless communication mode of the first mobile terminal, the second mobile terminal establishes a second connection based on the second wireless communication mode with the first mobile terminal based on the key information.
In this embodiment, the second mobile terminal serves as a receiving end of the projection data; correspondingly, the first mobile terminal serves as a sending end of the projection data.
In this embodiment, the first wireless communication mode may specifically be a wireless communication mode such as bluetooth, infrared, and the like; as an embodiment, the first wireless communication method may specifically be a BLE communication method. The second mobile terminal may send a broadcast message including a preset identifier based on a BLE communication manner, so that the first mobile terminal can quickly detect the broadcast message. When the first mobile terminal searches the BLE broadcast message with the preset identification, the device information corresponding to the broadcast message of the first mobile terminal is displayed in the searched device list. The user can click the equipment information in the equipment list; correspondingly, the first mobile terminal detects an input operation aiming at the equipment information, and the second mobile terminal establishes a first connection with the mobile terminal based on the input operation detected by the first mobile terminal; the first connection is a connection based on the first wireless communication method (e.g., BLE communication method).
In this embodiment, the second wireless communication mode may specifically be a Wi-Fi Direct communication mode; after the first connection is completed, the second mobile terminal obtains key information used by the first mobile terminal to establish a Wi-Fi Direct connection through the first connection (e.g., BLE connection); further, the second mobile terminal receives a connection request of the second wireless communication mode, namely a Wi-Fi Direct connection request, sent by the first mobile terminal; based on the connection request, the second mobile terminal establishes a second connection with the first mobile terminal by using the stored key information; the second connection may specifically be a Wi-Fi Direct connection.
As an embodiment, after the second connection establishment is completed, the method further includes: and the second mobile terminal obtains and plays the screen data sent by the first mobile terminal through the second connection.
By adopting the technical scheme of the embodiment of the invention, the second mobile terminal as the receiving end adds the preset identification in the broadcast message, so that the first mobile terminal as the sending end can search quickly and establish the connection of the first wireless communication mode conveniently, the operation that the receiving end needs to start p2p when receiving is avoided, and the mechanism for finding the Wi-Fi Direct service and the operation of the user at the receiving end are simplified; on the other hand, the key information for establishing the second connection is sent to the receiving end based on the first wireless communication mode, and the receiving end uses the known key information to directly skip the original key exchange process, so that the connection speed is increased. Furthermore, BLE is used as the first wireless communication mode, the rapidity of BLE searching is utilized, the time consumption of searching caused by a Wi-Fi Direct collision mechanism in the Wi-Fi Direct searching process is avoided, and the searching stability and the timely response are improved.
Based on the description of the first to fourth embodiments, the information processing method according to the embodiment of the present invention is described below in a specific application scenario. FIG. 7 is a flowchart illustrating a detailed interaction of a projection method according to an embodiment of the present invention; in the present embodiment, the first wireless communication method is a BLE communication method, and the second wireless communication method is a Wi-Fi Direct communication method; the first mobile terminal is a projection end of the screen data, and the second mobile terminal is a receiving end of the screen data. As shown in fig. 7, the method includes:
701. the receiving end sends the broadcast message under the condition of starting up; the broadcast message carries a special wfd identifier (the identifier can be determined by negotiation between the receiving end and the transmitting end); the projection end enters a projection interface to automatically initiate a BLE search process;
702. when a BLE broadcast with a special wfd identifier is listened to, the projection terminal displays the information of the receiving terminal (e.g. the device identifier of the receiving terminal) in the device list.
703. When the projection end user clicks the information of the receiving end in the device list, the BLE connection with the receiving end is initiated.
704. After BLE connection is completed, the projection terminal initiates a command to acquire equipment information of the receiving terminal and simultaneously informs the receiving terminal of a temporary secret key of Wi-Fi Direct connection;
705. the receiving end informs the self equipment information of the projection end through BLE connection, and stores a temporary secret key sent by the projection end;
706. the projection terminal initiates Wi-Fi Direct connection after receiving equipment information of the receiving terminal, the receiving terminal directly uses the stored temporary secret key to complete the Wi-Fi Direct connection after receiving the connection request, at the moment, it is determined that the projection connection is successfully established, then, the projection terminal can send screen data to the receiving terminal through the Wi-Fi Direct connection, and the receiving terminal can play the screen data.
707. And when the projection connection is successfully established, the projection terminal disconnects BLE connection with the receiving terminal.
EXAMPLE five
The embodiment of the invention also provides a mobile terminal; the mobile terminal is a first mobile terminal. Fig. 8 is a schematic diagram of a first structure of a mobile terminal according to an embodiment of the present invention; as shown in fig. 8, the first mobile terminal includes: a first communication unit 81, an operation detection unit 82, a first information processing unit 83, and a second communication unit 84; wherein the content of the first and second substances,
the first communication unit 81 is configured to initiate a search based on a first wireless communication manner; when a broadcast message with a preset identifier is searched, establishing a first connection based on the first wireless communication mode with a second mobile terminal corresponding to the preset identifier based on the input operation detected by the operation detection unit 82;
the first information processing unit 83 is configured to send key information to the second mobile terminal through the first connection established by the first communication unit 81, so as to enable the second communication unit 84 to establish a second connection based on a second wireless communication manner between the first mobile terminal and the second mobile terminal based on the key information.
Specifically, the first communication unit 81 is further configured to, when sending the key information to the second mobile terminal through the first connection, obtain the device information of the second mobile terminal through the first connection; and the second mobile terminal is further configured to initiate a connection request based on the second wireless communication mode to the second mobile terminal based on the device information after sending the key information to the second mobile terminal through the first connection.
In an embodiment, the first information processing unit 83 is further configured to disconnect the first connection after the second connection is established.
In one embodiment, the first information processing unit 83 is further configured to obtain screen data, and send the screen data to the second mobile terminal through the second connection established by the second communication unit 84.
It should be understood by those skilled in the art that the functions of each processing unit in the mobile terminal according to the embodiment of the present invention may be understood by referring to the description of the foregoing projection method, and each processing unit in the mobile terminal according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that performs the functions described in the embodiment of the present invention on an intelligent terminal.
In the embodiment of the present invention, the operation detection Unit 82 and the first information Processing Unit 83 in the mobile terminal may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), a Micro Control Unit (MCU), or a Programmable Gate Array (FPGA) in the mobile terminal in practical application; the first communication unit 81 and the second communication unit 84 in the terminal can be implemented by a communication module (including a basic communication suite, an operating system, a communication module, a standardized interface, a standardized protocol, and the like) and a transceiver antenna in practical application.
By adopting the technical scheme of the embodiment of the invention, the second mobile terminal as the receiving end adds the preset identification in the broadcast message, so that the first mobile terminal as the sending end can search quickly and establish the connection of the first wireless communication mode conveniently, the operation that the receiving end needs to start p2p when receiving is avoided, and the mechanism for finding the Wi-Fi Direct service and the operation of the user at the receiving end are simplified; on the other hand, the key information for establishing the second connection is sent to the receiving end based on the first wireless communication mode, and the receiving end uses the known key information to directly skip the original key exchange process, so that the connection speed is increased. Furthermore, BLE is used as the first wireless communication mode, the rapidity of BLE searching is utilized, the time consumption of searching caused by a Wi-Fi Direct collision mechanism in the Wi-Fi Direct searching process is avoided, and the searching stability and the timely response are improved.
EXAMPLE six
The embodiment of the invention also provides a mobile terminal; the mobile terminal is a second mobile terminal. Fig. 9 is a schematic diagram of a second structure of a mobile terminal according to an embodiment of the present invention; as shown in fig. 9, the second mobile terminal includes: a third communication unit 91, a second information processing unit 92, and a fourth communication unit 93; wherein the content of the first and second substances,
the third communication unit 91 is configured to send a broadcast message including a preset identifier based on the first wireless communication mode; so that the first mobile terminal searches the broadcast message; establishing a first connection based on the first wireless communication mode with the mobile terminal based on the input operation detected by the first mobile terminal;
the second information processing unit 92 is configured to obtain key information of the first mobile terminal through the first connection established by the third communication unit 91;
the fourth communication unit 93 is configured to establish a second connection based on a second wireless communication manner with the first mobile terminal based on the key information.
Specifically, the second communication unit is configured to establish a second connection based on the second wireless communication method with the first mobile terminal based on the key information after receiving a connection request based on the second wireless communication method from the first mobile terminal.
It should be understood by those skilled in the art that the functions of each processing unit in the mobile terminal according to the embodiment of the present invention may be understood by referring to the description of the foregoing projection method, and each processing unit in the mobile terminal according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that performs the functions described in the embodiment of the present invention on an intelligent terminal.
In the embodiment of the present invention, the second information processing unit 92 in the mobile terminal may be implemented by a CPU, a DSP, an MCU, or an FPGA in the mobile terminal in practical application; the third communication unit 91 and the fourth communication unit 93 in the terminal can be implemented by a communication module (including a basic communication suite, an operating system, a communication module, a standardized interface, a protocol, and the like) and a transceiver antenna in practical application.
By adopting the technical scheme of the embodiment of the invention, the second mobile terminal as the receiving end adds the preset identification in the broadcast message, so that the first mobile terminal as the sending end can search quickly and establish the connection of the first wireless communication mode conveniently, the operation that the receiving end needs to start p2p when receiving is avoided, and the mechanism for finding the Wi-Fi Direct service and the operation of the user at the receiving end are simplified; on the other hand, the key information for establishing the second connection is sent to the receiving end based on the first wireless communication mode, and the receiving end uses the known key information to directly skip the original key exchange process, so that the connection speed is increased. Furthermore, BLE is used as the first wireless communication mode, the rapidity of BLE searching is utilized, the time consumption of searching caused by a Wi-Fi Direct collision mechanism in the Wi-Fi Direct searching process is avoided, and the searching stability and the timely response are improved.
Fig. 10 is a schematic structural diagram of a specific component of the mobile terminal according to the embodiment of the present invention; fig. 11 is a schematic diagram of another specific structure of the mobile terminal according to the embodiment of the present invention; specific configurations of the first mobile terminal and the second mobile terminal described in the sixth embodiment and the seventh embodiment can be respectively shown with reference to fig. 10 and fig. 11.
As shown in fig. 10, the first mobile terminal serving as the transmitting end (or the projecting end) includes a bluetooth (Bt) module, a ble search module, a ble connection module, an information interaction module, a wifi module, a wfd connection module, and a display module. The Bt module is mainly used for completing the bottom layer implementation of ble search and connection; the Ble searching module is mainly used for starting Ble searching and searching a corresponding receiving end when a sending end needs to initiate screen projection; the Ble connection module is mainly used for initiating a connection command to complete the connection of Ble after the Ble search module searches the corresponding device; the information interaction module is mainly used for interacting equipment information after the ble connection is established and interacting a temporary key in the Wi-Fi Direct connection process; the Wfd connection module is mainly responsible for initiating Wi-Fi Direct connection to the receiving end after the information interaction process is completed, and since the temporary keys are interacted, the step of key exchange is not needed in the Wi-Fi Direct connection process, so that the connection time is saved. Starting to send screen data after connection is completed; the Wifi module is mainly used for transmission of screen projection data and connection of wfd; the display module is mainly used for displaying and detecting user operation. It can be understood that, in the virtual unit of the first mobile terminal shown in fig. 8, the first communication unit may be implemented by the Bt module, the ble search module, and the ble connection module; the first information processing unit can be realized by an information interaction module; the operation detection unit may be implemented by a display unit; the second communication unit can be realized through a wifi module and a wfd connection module.
As shown in fig. 11, the second mobile terminal as the receiving end includes a bluetooth (bt) module, a ble broadcasting module, a ble connection module, an information interaction module, a wifi module, a wfd connection module, and a display module. The Bt module is mainly used for completing the bottom layer implementation of ble search and connection; the blade broadcasting module is mainly used for sending the Ble broadcasting under the condition that the receiving end always opens the Ble broadcasting function, and a special mark is added into beacon of the broadcasting to mark that the broadcasting supports the Wi-FiDirect function; the Ble connection module is used for completing the connection with the sending end after the sending end initiates the Ble connection; the information interaction module is mainly used for interacting equipment information with the sending end after the ble connection is established and interacting a temporary key in the Wi-Fi Direct connection process; wfd connection module is used for the receiving end to complete the connection after receiving the connection command of the projection end, because the temporary key has been exchanged, the step of key exchange is not needed in the wfd connection process, which saves the connection time, and starts to receive data after completing the connection; the Wifi module is mainly used for transmission of screen projection data and connection of wfd; the display module is mainly used for displaying and detecting user operation. It can be understood that, in the virtual unit of the second mobile terminal shown in fig. 9, the third communication unit may be implemented by the Bt module, the ble broadcasting module and the ble connection module; the second information processing unit can be realized by an information interaction module; the third communication unit can be realized through a wifi module and a wfd connection module.
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 apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (8)

1. A mobile terminal is a first mobile terminal; characterized in that the first mobile terminal comprises: a first communication unit, an operation detection unit, a first information processing unit, and a second communication unit; wherein the content of the first and second substances,
the first communication unit is used for initiating search based on a first wireless communication mode; when a broadcast message with a preset identifier is searched, establishing a first connection based on the first wireless communication mode with a second mobile terminal corresponding to the preset identifier based on the input operation detected by the operation detection unit, wherein the preset identifier comprises an identifier representing a second connection wireless communication mode, and the preset identifier can be negotiated and determined with the second mobile terminal;
the first information processing unit is configured to send key information to the second mobile terminal through the first connection established by the first communication unit, so as to enable the second communication unit to establish a second connection based on a second wireless communication mode between the first mobile terminal and the second mobile terminal based on the key information;
the first information processing unit is further configured to disconnect the first connection after the second connection is established.
2. The mobile terminal according to claim 1, wherein the first communication unit is further configured to obtain device information of the second mobile terminal through the first connection when key information is sent to the second mobile terminal through the first connection; and the second mobile terminal is further configured to initiate a connection request based on the second wireless communication mode to the second mobile terminal based on the device information after sending the key information to the second mobile terminal through the first connection.
3. The mobile terminal of claim 1, wherein the first information processing unit is further configured to obtain screen data, and send the screen data to the second mobile terminal through the second connection established by the second communication unit.
4. A mobile terminal is a second mobile terminal; characterized in that the second mobile terminal comprises: a third communication unit, a second information processing unit, and a fourth communication unit; wherein the content of the first and second substances,
the third communication unit is used for sending a broadcast message containing a preset identifier based on a first wireless communication mode; so that the first mobile terminal searches the broadcast message; establishing a first connection based on the first wireless communication mode with the mobile terminal based on the input operation detected by the first mobile terminal, wherein the preset identification comprises an identification representing a second connection wireless communication mode, and the preset identification can be negotiated and determined with the second mobile terminal;
the second information processing unit is configured to obtain key information of the first mobile terminal through the first connection established by the third communication unit;
and the fourth communication unit is used for establishing a second connection based on a second wireless communication mode between the fourth communication unit and the first mobile terminal based on the key information.
5. A method of projection, the method comprising:
the first mobile terminal initiates a search based on a first wireless communication mode;
when a broadcast message with a preset identifier is searched, establishing a first connection based on the first wireless communication mode with a second mobile terminal corresponding to the preset identifier based on the detected input operation, wherein the preset identifier comprises an identifier representing a second connection wireless communication mode, and the preset identifier can be negotiated and determined with the second mobile terminal;
the first mobile terminal sends key information to the second mobile terminal through the first connection so as to establish a second connection between the first mobile terminal and the second mobile terminal based on a second wireless communication mode based on the key information;
and after the second connection is established, disconnecting the first connection.
6. The method of claim 5, wherein when the first mobile terminal sends key information to the second mobile terminal over the first connection, the method further comprises: the first mobile terminal obtains the equipment information of the second mobile terminal through the first connection;
correspondingly, after the first mobile terminal sends the key information to the second mobile terminal through the first connection, the method further includes:
and the first mobile terminal initiates a connection request of the second wireless communication mode to the second mobile terminal based on the equipment information.
7. The method of claim 5, wherein after the second connection is established, the method further comprises: and the first mobile terminal acquires screen data and sends the screen data to the second mobile terminal through the second connection.
8. A method of projection, the method comprising:
the second mobile terminal sends a broadcast message containing a preset identifier based on the first wireless communication mode; enabling the first mobile terminal to search the broadcast message, wherein the preset identifier comprises an identifier representing a second connection wireless communication mode, and the preset identifier can be negotiated and determined with the second mobile terminal;
based on the input operation detected by the first mobile terminal, the second mobile terminal and the mobile terminal establish a first connection based on the first wireless communication mode;
the second mobile terminal obtains the key information of the first mobile terminal through the first connection; and establishing a second connection based on a second wireless communication mode between the first mobile terminal and the first mobile terminal based on the key information.
CN201610871332.6A 2016-09-29 2016-09-29 Projection method and mobile terminal Active CN106413128B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610871332.6A CN106413128B (en) 2016-09-29 2016-09-29 Projection method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610871332.6A CN106413128B (en) 2016-09-29 2016-09-29 Projection method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106413128A CN106413128A (en) 2017-02-15
CN106413128B true CN106413128B (en) 2020-07-07

Family

ID=59229435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610871332.6A Active CN106413128B (en) 2016-09-29 2016-09-29 Projection method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106413128B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11824999B2 (en) 2021-08-13 2023-11-21 Winkk, Inc. Chosen-plaintext secure cryptosystem and authentication
US11843943B2 (en) * 2021-06-04 2023-12-12 Winkk, Inc. Dynamic key exchange for moving target
US11902777B2 (en) 2019-12-10 2024-02-13 Winkk, Inc. Method and apparatus for encryption key exchange with enhanced security through opti-encryption channel

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108901024A (en) * 2018-06-25 2018-11-27 北京小鱼在家科技有限公司 Control throws screen receiving device networking and throws screen receiving device networking methods, equipment
US11928193B2 (en) 2019-12-10 2024-03-12 Winkk, Inc. Multi-factor authentication using behavior and machine learning
US11574045B2 (en) 2019-12-10 2023-02-07 Winkk, Inc. Automated ID proofing using a random multitude of real-time behavioral biometric samplings
US11328042B2 (en) 2019-12-10 2022-05-10 Winkk, Inc. Automated transparent login without saved credentials or passwords
US11936787B2 (en) 2019-12-10 2024-03-19 Winkk, Inc. User identification proofing using a combination of user responses to system turing tests using biometric methods
CN114928898B (en) * 2022-07-18 2022-10-28 荣耀终端有限公司 Method and device for establishing session based on WiFi direct connection

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247610A (en) * 2007-02-13 2008-08-20 艾威梯软件技术(北京)有限公司 Method, equipment and system for managing multi-short distance wireless technical communication
CN103533542A (en) * 2012-07-04 2014-01-22 中兴通讯股份有限公司 Method and apparatus for establishing wireless connection between electronic devices
CN104363666A (en) * 2014-11-26 2015-02-18 广州三星通信技术研究有限公司 Method and device for setting up wireless connection between electronic devices and external device
CN105722244A (en) * 2014-12-02 2016-06-29 联想(北京)有限公司 Information processing method and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247610A (en) * 2007-02-13 2008-08-20 艾威梯软件技术(北京)有限公司 Method, equipment and system for managing multi-short distance wireless technical communication
CN103533542A (en) * 2012-07-04 2014-01-22 中兴通讯股份有限公司 Method and apparatus for establishing wireless connection between electronic devices
CN104363666A (en) * 2014-11-26 2015-02-18 广州三星通信技术研究有限公司 Method and device for setting up wireless connection between electronic devices and external device
CN105722244A (en) * 2014-12-02 2016-06-29 联想(北京)有限公司 Information processing method and electronic device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11902777B2 (en) 2019-12-10 2024-02-13 Winkk, Inc. Method and apparatus for encryption key exchange with enhanced security through opti-encryption channel
US11843943B2 (en) * 2021-06-04 2023-12-12 Winkk, Inc. Dynamic key exchange for moving target
US11824999B2 (en) 2021-08-13 2023-11-21 Winkk, Inc. Chosen-plaintext secure cryptosystem and authentication

Also Published As

Publication number Publication date
CN106413128A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN106413128B (en) Projection method and mobile terminal
CN105188098B (en) Network switching device and network switching method of mobile terminal
CN106844029B (en) Self-management Android process freezing and unfreezing device and method
CN105487802B (en) Screen projection management method, device and system
CN106302651B (en) Social picture sharing method and terminal with social picture sharing system
CN105554869B (en) Mobile terminal communication method, equipment and communication system
CN106488420B (en) Incoming call processing method, device and system and readable storage medium
CN106547439B (en) Method and device for processing message
WO2017113893A1 (en) Method and device for network searching
CN106455009B (en) Network searching device and method
CN106371704B (en) Application shortcut layout method of screen locking interface and terminal
CN105227771B (en) Picture transmission method and device
CN104639428B (en) Self-adaptive method for session scene in instant messaging and mobile terminal
CN107027113B (en) SIM card activation method and mobile terminal
CN107197084B (en) Method for projection between mobile terminals and first mobile terminal
CN105959301B (en) Multimedia call optimization method and optimization system thereof
CN106412877B (en) Activation method and activation device for mobile terminal SIM card
CN106569670B (en) Device and method for processing application
CN106856617B (en) Terminal and cell reselection method
CN108289241B (en) Wireless projection device, system and method
CN106385494B (en) Method and device for acquiring dynamic home page of mobile terminal application
CN105744061B (en) Eye print recognition interaction device and method
CN105307156B (en) Device and method for requesting downloading of application
CN105094733B (en) Split screen display method and device
CN106453854B (en) Application sharing device and method

Legal Events

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