CN111866824B - A method and device for establishing communication connection and data transmission - Google Patents
A method and device for establishing communication connection and data transmission Download PDFInfo
- Publication number
- CN111866824B CN111866824B CN201910361577.8A CN201910361577A CN111866824B CN 111866824 B CN111866824 B CN 111866824B CN 201910361577 A CN201910361577 A CN 201910361577A CN 111866824 B CN111866824 B CN 111866824B
- Authority
- CN
- China
- Prior art keywords
- terminal
- broadcast message
- bluetooth
- ble broadcast
- mac address
- 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
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 122
- 230000006854 communication Effects 0.000 title claims abstract description 85
- 238000004891 communication Methods 0.000 title claims abstract description 84
- 238000000034 method Methods 0.000 title claims abstract description 60
- 230000006870 function Effects 0.000 claims description 57
- 230000004044 response Effects 0.000 claims description 22
- 230000002452 interceptive effect Effects 0.000 claims description 11
- 230000001960 triggered effect Effects 0.000 claims description 6
- 238000005516 engineering process Methods 0.000 abstract description 11
- 238000010586 diagram Methods 0.000 description 24
- 238000012545 processing Methods 0.000 description 14
- 108091006146 Channels Proteins 0.000 description 12
- 230000008569 process Effects 0.000 description 8
- 238000004590 computer program Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 5
- 239000000905 isomalt Substances 0.000 description 4
- 239000004973 liquid crystal related substance Substances 0.000 description 4
- 230000007774 longterm Effects 0.000 description 4
- 238000010295 mobile communication Methods 0.000 description 4
- 230000000977 initiatory effect Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 239000000470 constituent Substances 0.000 description 2
- 238000007599 discharging Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000003999 initiator Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000010897 surface acoustic wave method Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/40—Connection management for selective distribution or broadcast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/622—Layer-2 addresses, e.g. medium access control [MAC] addresses
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention relates to the field of terminal technologies, and in particular, to a method and an apparatus for establishing a communication connection and transmitting data. According to the embodiment of the invention, the first terminal determines the Wi-Fi P2P MAC address of the second terminal through the BLE broadcast message interacted with the second terminal, establishes Wi-Fi P2P connection with the second terminal according to the Wi-Fi P2P MAC address, and performs data transmission with the second terminal through the Wi-Fi P2P connection, thereby providing a scheme of combined transmission of Bluetooth and Wi-Fi P2P. Furthermore, as the BLE broadcast message is of a scannable non-directional type, the Wi-Fi P2P connection can be established through the BLE broadcast message without establishing Bluetooth pairing connection between the first terminal and the second terminal, so that the time consumed by Bluetooth pairing connection is avoided, and the flow for establishing Wi-Fi P2P connection is simplified.
Description
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a method and an apparatus for establishing a communication connection and transmitting data.
Background
With the continuous development of communication technology, bluetooth transmission and Wi-Fi (WIRELESS FIDELITY ) transmission are widely applied to data transmission in the field of intelligent devices, wherein:
(1) Bluetooth is a wireless technology standard, and can realize short-distance data exchange among fixed equipment, mobile equipment and building personal area networks (UHF (Ultra High Frequency, ultra high frequency) radio waves in an ISM (Industrial SCIENTIFIC MEDICAL) wave band of 2.4-2.485GHz are used), and when the Bluetooth technology is used for data transmission, the transmission speed is low, and data files with the capacity of tens of MB to GB level cannot be transmitted at high speed.
(2) Wi-Fi is a technology that allows electronic devices to connect to a Wireless Local Area Network (WLAN), typically using the 2.4G UHF or 5G SHF ISM radio frequency bands. When Wi-Fi is used for data transmission, high-speed and large-capacity data transmission can be realized.
In summary, there is no scheme for data transmission by combining bluetooth and Wi-Fi.
Disclosure of Invention
The invention provides a method and equipment for establishing communication connection and data transmission, which are used for solving the problem that the existing scheme for carrying out data transmission by combining Bluetooth and Wi-Fi is not used.
In a first aspect, a method for establishing communication connection and data transmission provided by an embodiment of the present invention includes:
The method comprises the steps that a first terminal determines Wi-Fi P2P MAC (Wi-Fi Peer-to-PEER MEDIA ACCESS Control Address) Address information according to a scanned BLE (Bluetooth Low Energy ) broadcast message, wherein the type of the BLE broadcast message is a scannable non-directional type;
the first terminal establishes Wi-Fi P2P connection with opposite terminal equipment through the Wi-Fi P2P MAC address information;
And the first terminal performs data transmission with the opposite terminal equipment through the established Wi-Fi P2P connection.
According to the method, the first terminal determines the Wi-Fi P2P MAC address of the second terminal through the BLE broadcast message interacted with the second terminal, establishes Wi-Fi P2P connection with the second terminal according to the Wi-Fi P2P MAC address, and performs data transmission with the second terminal through the Wi-Fi P2P connection, so that a Bluetooth and Wi-Fi P2P joint transmission scheme is provided. Furthermore, as the BLE broadcast message is of a scannable non-directional type, the Wi-Fi P2P connection can be established through the BLE broadcast message without establishing Bluetooth pairing connection between the first terminal and the second terminal, so that the time consumed by Bluetooth pairing connection is avoided, and the flow for establishing Wi-Fi P2P connection is simplified.
In an optional implementation manner, the determining, by the first terminal, wi-Fi P2P MAC address information according to the scanned BLE broadcast packet includes:
the first terminal determines Wi-Fi P2P MAC address information contained in the BLE broadcast message or
And the first terminal determines Wi-Fi P2P MAC address information according to the Bluetooth MAC address contained in the BLE broadcast message and the difference information of the Bluetooth MAC address and the Wi-Fi P2P MAC address.
According to the method, the Wi-Fi P2P MAC address is placed in the BLE broadcast message, the party receiving the BLE broadcast message is facilitated to determine the Wi-Fi P2P MAC address more intuitively and rapidly by analyzing the BLE broadcast message, if the Bluetooth MAC address and Wi-Fi P2P MAC address difference information are placed in the BLE broadcast message, the memory occupied by effective data in the BLE broadcast message is saved, and the work load of analyzing the BLE broadcast message is small.
In an alternative embodiment, the BLE broadcast message includes preset UUID (Universally Unique Identifier, universal unique identifier) information.
According to the method, the first terminal can screen and filter the received BLE broadcast message according to the preset UUID information, if the BLE broadcast message does not contain the preset UUID information, the opposite terminal equipment is determined not to support the Bluetooth and Wi-Fi P2P joint transmission function, and the mode of the preset UUID information is more flexible and the operation is simple.
The method comprises the steps that a second terminal sends a BLE broadcast message containing a physical layer address (MAC) for determining a Wi-Fi P2P MAC address, wherein the type of the BLE broadcast message is a scannable non-directional type;
After receiving a Wi-Fi P2P connection establishment request sent by opposite terminal equipment, the second terminal sends a response agreeing to establish Wi-Fi P2P connection to the opposite terminal equipment;
and the second terminal performs data transmission with the opposite terminal equipment through the established Wi-Fi P2P connection.
In an alternative embodiment, before the second terminal sends the BLE broadcast packet including the address used to determine the Wi-Fi P2P MAC address, the method further includes:
The second terminal places the own Wi-Fi P2P MAC address information in the BLE broadcast message, or
And the second terminal places the Bluetooth MAC address of the second terminal and the Bluetooth MAC address and the Wi-Fi P2P MAC address of the second terminal in the BLE broadcast message.
In an alternative embodiment, the BLE broadcast message includes preset UUID information.
In a third aspect, an embodiment of the present invention further provides a first terminal for establishing a communication connection and transmitting data, the terminal including a processor and a memory, wherein the memory stores program code that, when executed by the processor, causes the terminal to perform the following procedures:
The method comprises the steps of determining Wi-Fi P2P MAC address information according to a scanned BLE broadcast message, wherein the type of the BLE broadcast message is a scannable non-directional type, establishing Wi-Fi P2P connection with opposite terminal equipment through the Wi-Fi P2P MAC address information, and carrying out data transmission with the opposite terminal equipment through the established Wi-Fi P2P connection.
In one possible implementation, the processor is specifically configured to:
Determining Wi-Fi P2P MAC address information contained in the BLE broadcast message, or
And determining Wi-Fi P2P MAC address information according to the Bluetooth MAC address contained in the BLE broadcast message and the difference information of the Bluetooth MAC address and the Wi-Fi P2P MAC address.
In an alternative embodiment, the BLE broadcast message includes preset UUID information.
In a fourth aspect, an embodiment of the present invention further provides a second terminal for establishing a communication connection and data transmission, the terminal comprising a processor and a memory, wherein the memory stores program code that, when executed by the processor, causes the terminal to perform the following procedures:
Sending a BLE broadcast message containing a MAC address for determining Wi-Fi P2P, wherein the type of the BLE broadcast message is a scannable non-directional type;
After receiving a Wi-Fi P2P connection establishment request sent by opposite terminal equipment, sending a response for agreeing to establish Wi-Fi P2P connection to the opposite terminal equipment;
and carrying out data transmission with the opposite terminal equipment through the established Wi-Fi P2P connection.
In an alternative embodiment, the processor is further configured to:
placing own Wi-Fi P2P MAC address information in the BLE broadcast message, or
And placing the difference information of the Bluetooth MAC address of the Bluetooth and the Wi-Fi P2P MAC address of the Bluetooth in the BLE broadcast message.
In an alternative embodiment, the BLE broadcast message includes preset UUID information.
In a fifth aspect, an embodiment of the present invention further provides a first terminal for establishing a communication connection and data transmission, where the terminal includes:
the first processing module is used for determining Wi-Fi P2P MAC address information according to the scanned BLE broadcast message, wherein the type of the BLE broadcast message is a scannable non-directional type;
The first connection module is used for establishing Wi-Fi P2P connection with the opposite terminal equipment through the Wi-Fi P2P MAC address information;
the first transmission module is used for carrying out data transmission with the opposite terminal equipment through the established Wi-Fi P2P connection.
In a fifth aspect, an embodiment of the present invention further provides a second terminal for establishing a communication connection and data transmission, where the terminal includes:
the second processing module is used for sending a BLE broadcast message containing a physical layer address (MAC) address used for determining Wi-Fi P2P, wherein the type of the BLE broadcast message is a scannable non-directional type;
The second connection module is used for sending a response agreeing to establish Wi-Fi P2P connection to the opposite terminal equipment after receiving the Wi-Fi P2P connection establishment request sent by the opposite terminal equipment;
and the second transmission module is used for carrying out data transmission with the opposite terminal equipment through the established Wi-Fi P2P connection.
In a seventh aspect, the present application also provides a computer storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method of the first aspect.
In addition, the technical effects caused by any implementation manner of the second aspect to the sixth aspect may be referred to the technical effects caused by the different implementation manners of the first aspect or the second aspect, which are not described herein.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it will be apparent that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1A is a schematic diagram of a scenario for establishing Wi-Fi P2P communication connection according to an embodiment of the present invention;
Fig. 1B is a schematic diagram of another scenario for establishing Wi-Fi P2P communication connection according to an embodiment of the present invention;
Fig. 2A is a schematic diagram of an interactive system for establishing communication connection and data transmission according to an embodiment of the present invention;
fig. 2B is an interface schematic diagram of a shortcut icon displayed by a terminal pull-up according to an embodiment of the present invention;
fig. 2C is an interface schematic diagram of a terminal related to a file sharing manner according to an embodiment of the present invention;
Fig. 2D is a schematic view of a popup window interface of a terminal according to an embodiment of the present invention;
Fig. 3 is a schematic diagram of a custom BLE broadcast message format according to an embodiment of the present invention;
Fig. 4 is a schematic structural diagram of a PDU (Protocol Data Unit ) in a custom BLE broadcast packet according to an embodiment of the present invention;
Fig. 5 is a schematic diagram of a Header structure of a PDU in a custom BLE broadcast packet according to an embodiment of the present invention;
Fig. 6 is a schematic diagram of a PDU Payload (basic essential data) structure in a custom BLE broadcast packet according to an embodiment of the present invention;
fig. 7A is an interface schematic diagram of configuration information of a terminal according to an embodiment of the present invention;
Fig. 7B is an interface schematic diagram of terminal configuration information of another terminal according to an embodiment of the present invention;
fig. 8 is a schematic flow chart of a method corresponding to a first terminal for establishing communication connection and data transmission according to an embodiment of the present invention;
fig. 9 is a schematic flow chart of a method corresponding to a second terminal for establishing communication connection and data transmission according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a first terminal for establishing communication connection and data transmission according to an embodiment of the present invention;
Fig. 11 is a schematic structural diagram of a second first terminal for establishing communication connection and data transmission according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a third first terminal for establishing communication connection and data transmission according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a second terminal for establishing communication connection and data transmission according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of a second terminal for establishing communication connection and data transmission according to a second embodiment of the present invention;
fig. 15 is a schematic structural diagram of a third second terminal for establishing communication connection and data transmission according to an embodiment of the present invention;
Fig. 16 is a schematic flow chart of a method for establishing communication connection and data transmission at a first terminal side according to an embodiment of the present invention;
Fig. 17 is a schematic flow chart of a third method for establishing communication connection and transmitting data at a second terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Some words appearing hereinafter are explained:
1. In the embodiment of the invention, the term "and/or" describes the association relation of the association objects, which means that three relations can exist, for example, A and/or B, and can mean that A exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
2. The Wi-Fi P2P, also called WLAN direct connection, can realize interconnection between terminals and high-speed data transmission under the condition of not having Wi-Fi hot spots and cellular networks.
3. In the embodiment of the invention, the terms "first terminal" and "second terminal" refer to intelligent equipment with Wi-Fi function and Bluetooth function, such as a mobile phone, a tablet, an intelligent camera, an intelligent printer and the like.
4. In the embodiment of the invention, the term 'BLE' refers to a key technology proposed by Bluetooth 4.0 specification, is used for discovering equipment and performing some simple communication, has the advantages of low running power consumption, low standby power consumption and the like, but has a relatively low transmission rate, and is not suitable for transmitting a large number of data streams.
5. In the embodiment of the present invention, the term "packet" refers to a data unit, i.e. a data block, exchanged and transmitted in a network, and includes complete data information to be transmitted.
The application scenario described in the embodiment of the present invention is for more clearly describing the technical solution of the embodiment of the present invention, and does not constitute a limitation on the technical solution provided by the embodiment of the present invention, and as a person of ordinary skill in the art can know that the technical solution provided by the embodiment of the present invention is applicable to similar technical problems as the new application scenario appears. In the description of the present invention, unless otherwise indicated, the meaning of "a plurality" is two or more.
The following describes the scheme of the invention by taking a mobile phone as an example:
Suppose that the two mobile phones share the file by using a mode of combined transmission of Bluetooth and Wi-Fi, wherein the file sender is a mobile terminal 1, and the file receiver is a mobile terminal 2. The mobile terminal 1 and the mobile terminal 2 are respectively provided with a Bluetooth and Wi-Fi P2P joint transmission function switch, and when the function switch is clicked, the Bluetooth function and the WLAN function are started at the same time, wherein the WLAN function comprises Wi-Fi hot spot connection and Wi-Fi P2P connection.
After the WLAN function is turned on, the mobile terminal 1 determines, through the scanned BLE broadcast packet, that the mobile terminal supporting the bluetooth and Wi-Fi P2P joint transmission, for example, if the scanned BLE broadcast packet includes preset UUID information indicating that the bluetooth and Wi-Fi P2P joint transmission is supported, it is determined that the mobile terminal sending the BLE broadcast packet has the bluetooth and Wi-Fi P2P joint transmission function. The mobile terminal 1 analyzes the scanned BLE broadcast message containing preset UUID information to obtain the device name of the mobile terminal for sending the BLE broadcast message, and adds the device name into a local device list supporting Bluetooth and Wi-Fi P2P joint transmission.
For example, referring to fig. 1A, the mobile terminal 1 parses a scanned BLE broadcast message including preset UUID information, and the parsed device name is "mobile terminal 2", and then the mobile terminal 1 adds "mobile terminal 2" to a local "i search connectable device" list, where "unconnected" displayed behind "mobile terminal 2" in the device list indicates that the mobile terminal 1 and the mobile terminal 2 are in an unconnected state.
At this time, if the user selects "mobile terminal 2" through the device list of mobile terminal 1, mobile terminal 1 sends a request for establishing Wi-Fi P2P connection to mobile terminal 2, and if mobile terminal 1 receives a response for agreeing to establish Wi-Fi P2P connection sent by mobile terminal 2, the Wi-Fi P2P connection establishment between mobile terminal 1 and mobile terminal 2 is completed. The mobile terminal 1 performs data transmission, i.e. file sharing, with the peer device through a Wi-Fi P2P connection, and in the above example, the mobile terminal 2 is the peer device of the mobile terminal 1, and the whole process is described below with the angle of the mobile terminal 2:
Correspondingly, after clicking a function switch for turning on the combined transmission of the Bluetooth and the Wi-Fi P2P on the mobile terminal 2, simultaneously turning on the Bluetooth and the WLAN on the mobile terminal 2, after turning on the WLAN, the mobile terminal 2 sends a BLE broadcast message containing preset UUID information, when the mobile terminal 2 receives a request for establishing Wi-Fi P2P connection sent by the mobile terminal 1, if a user clicks an approval button, the mobile terminal 2 sends an approval response for establishing Wi-Fi P2P connection to the mobile terminal 1, and the mobile terminal 2 receives a shared file sent by the mobile terminal 1 through the established Wi-Fi P2P connection.
It should be noted that, the above-mentioned mobile terminal 1 is used as an initiator for establishing Wi-Fi P2P connection, and the mobile terminal 2 is used as a peer device for passively waiting for Wi-Fi P2P connection, which is only an example, and the embodiments of the present invention are not limited to the operations of any one party as all functions integrated on the mobile terminal. I.e. in this procedure, the mobile terminal 2 may also act as an initiator initiating the establishment of a Wi-Fi P2P connection, and the mobile terminal 1 as a recipient receiving the request for establishing a Wi-Fi P2P connection.
It can be understood that the mobile terminal 1 scans the BLE broadcast message and simultaneously transmits the BLE broadcast message containing the preset UUID information, and the mobile terminal 2 scans the BLE broadcast message and simultaneously transmits the BLE broadcast message containing the preset UUID information, that is, both the mobile terminal 1 and the mobile terminal 2 are scanned bidirectionally. Therefore, the mobile terminal 1 may also perform the specific operation steps of the mobile terminal 2 described above, and the mobile terminal 2 may also perform the specific operation steps of the mobile terminal 1 described above. As shown in the scenario of fig. 1B, the mobile terminal 1 adds the mobile terminal 1 to a local connectable device list according to the scanned BLE broadcast message, and the mobile terminal 1 scans the BLE broadcast message and simultaneously sends the BLE broadcast message, while the mobile terminal 2 sends the BLE broadcast message, the mobile terminal 1 can also be added to a local connectable device list searched by the mobile terminal 2 according to the scanned BLE broadcast message including preset UUID information sent by the mobile terminal 1, so that a user can select Wi-Fi P2P connection on the list and perform a peer device for file sharing through the Wi-Fi P2P connection.
Because the BLE broadcast message used in the embodiment of the invention is a BLE broadcast message of a scannable non-directional type based on a Bluetooth protocol, and the BLE broadcast message of the type only allows other equipment to scan the message to acquire information therein and can not initiate a Bluetooth connection request through the message, bluetooth pairing connection is not required to be established on two sides, wi-Fi P2P connection is established through the BLE broadcast message, joint transmission of Bluetooth and Wi-Fi P2P is realized, and meanwhile, compared with the scheme that Bluetooth connection is established firstly and Wi-Fi P2P connection information is established through Bluetooth channel interaction, the scheme avoids a great amount of time consumed by Bluetooth pairing connection and simplifies the flow of establishing Wi-Fi P2P connection.
Embodiments of the invention are described in further detail below with reference to the drawings.
As shown in fig. 2A, an interactive system for establishing a communication connection and transmitting data is provided in an embodiment of the present invention, which includes a first terminal 10 and a second terminal 20.
The first terminal 10 is configured to determine Wi-Fi P2P MAC address information according to a scanned BLE broadcast packet, where the type of the BLE broadcast packet is a scannable non-directional type, establish Wi-Fi P2P connection with a peer device through the Wi-Fi P2P MAC address information, and perform data transmission with the peer device through the established Wi-Fi P2P connection.
The second terminal 20 is configured to send a BLE broadcast packet including a Wi-Fi P2P MAC address, where the type of the BLE broadcast packet is a scannable non-directional type, send a response to the peer device agreeing to establish a Wi-Fi P2P connection after receiving a request to establish the Wi-Fi P2P connection sent by the peer device, and perform data transmission with the peer device through the established Wi-Fi P2P connection.
Through the scheme, the first terminal determines the Wi-Fi P2P MAC address of the second terminal through the BLE broadcast message interacted with the second terminal, establishes Wi-Fi P2P connection with the second terminal according to the Wi-Fi P2P MAC address, and performs data transmission with the second terminal through the Wi-Fi P2P connection, so that the scheme of combined transmission of Bluetooth and Wi-Fi P2P is provided, and further, the Wi-Fi P2P connection can be established through the BLE broadcast message without establishing Bluetooth pairing connection between the first terminal and the second terminal because the BLE broadcast message is of a scannable non-directional type, so that the time consumed by Bluetooth pairing connection is avoided, and the flow for establishing Wi-Fi P2P connection is simplified.
In the embodiment of the present invention, there are various ways for triggering the first terminal to scan a BLE broadcast message containing preset UUID information or triggering the second terminal to send a BLE broadcast containing preset UUID information, which are specifically described below by way of example:
Triggering by identifying a function switch supporting the joint transmission of Bluetooth and Wi-Fi P2P;
the terminal is integrated with a function switch for supporting the combined transmission of Bluetooth and Wi-Fi P2P, after the function switch is turned on, a command for triggering the combined transmission of Bluetooth and Wi-Fi P2P is triggered, after the terminal receives the command, the terminal starts the Bluetooth function and the WLAN function, and the Bluetooth scanning and the Wi-Fi P2P direct scanning are started.
If the BLE broadcast message containing the preset UUID information is scanned through Bluetooth, determining a Wi-Fi P2P MAC address of the opposite terminal equipment according to the information in the BLE broadcast message, and establishing Wi-Fi P2P connection.
The function switch for supporting the combined transmission of Bluetooth and Wi-Fi P2P is provided with various display modes, such as:
Display mode one, see fig. 1A or fig. 1B;
The function switch is set on a certain relevant display interface of the terminal, such as the function switch of the bluetooth and WLAN combined transmission in fig. 1A or fig. 1B.
Display mode II, see FIG. 2B;
in the pull-down menu shown in fig. 2B, a function switch for quickly turning on Wi-Fi P2P joint transmission is provided, and an instruction for triggering bluetooth and Wi-Fi P2P joint transmission is provided by clicking the icon.
The second triggering mode is to select a mode of combining Bluetooth and Wi-Fi P2P transmission for triggering during data sharing;
When the file sharing is carried out, the mode of the combined transmission of Bluetooth and Wi-Fi P2P in the file sharing mode is selected to start the combined transmission of Bluetooth and Wi-Fi P2P.
For example, if the user a holds the mobile terminal 1 and the user B holds the mobile terminal 2, the user a will share the file named "work" with the user B through the mobile terminal 1, and the specific operation flow is as follows:
A, a user selects a file named as work on the mobile terminal 1, and selects a sharing button of the file or presses the file package for a long time to trigger the mobile terminal 1 to display a sharing interface shown in fig. 2C, wherein a file sharing mode comprises modes of Bluetooth and Wi-Fi P2P joint transmission, mail, information, weChat and the like. After the user A selects the combination transmission of Bluetooth and Wi-Fi P2P, the mobile terminal 1 informs the user A whether to use the combination transmission of Bluetooth and Wi-Fi P2P through a popup window shown in fig. 2D, and after the user A clicks 'determining', the mobile terminal 1 is triggered to start the combination transmission function of Bluetooth and Wi-Fi P2P.
Correspondingly, if the mobile terminal 2 is to receive the "work" file in a mode of bluetooth and Wi-Fi P2P joint transmission, the mobile terminal 2 also needs to start the bluetooth and Wi-Fi P2P joint transmission function, and the starting mode can refer to specific operation steps of the mobile terminal 1, which are not described herein.
And starting the Bluetooth and Wi-Fi P2P joint transmission function to establish Wi-Fi P2P connection through BLE broadcast messages by the mobile terminal 1 and the mobile terminal 2.
The embodiment of the invention is based on the application of non-connected BLE, the non-connected BLE application depends on BLE broadcasting, the party sending the BLE broadcasting message is called Broadcaster (broadcaster), and the party monitoring the BLE broadcasting message is called Observer (Observer). The interactive flow related to establishing communication connection and data transmission provided by the invention is described below by taking the first terminal as an Observer and the second terminal as Broadcaster as an example.
There are four types of BLE broadcast, connectible non-directional broadcast, connectible directional broadcast, non-connectible non-directional broadcast, and scannable non-directional broadcast. Embodiments of the present invention are based on a fourth scannable non-directional broadcast, also known as a discoverable broadcast, which cannot be used to initiate a connection, but allows other devices to scan the broadcast device. This means that the device can be found to send either BLE broadcast messages or scan response data in response to scanned devices, but cannot establish a connection.
The BLE broadcasts the interactive data stream of the message through the BLE, and the low-power Bluetooth specification comprises two types of messages, namely a broadcast message and a data message, wherein the type of the message is determined by a channel where the message is transmitted, 3 broadcast channels and 37 data channels are specified in the low-power Bluetooth specification, if the message is transmitted in the broadcast channel, the message is broadcast, and if the message is transmitted in the data channel, the message is data message.
The two types of messaging has two completely different purposes, and the intelligent equipment utilizes the broadcast message to discover and connect with other equipment. Once the connection is established, data messages can only be sent to the connected peer device over the data channel. The difference is that the data message can only be understood by two devices (master, slave) in the connection, whereas the broadcast message can be broadcast to several listening devices or only sent to a specific device.
As shown in fig. 3, a schematic structure diagram of a BLE broadcast message format according to an embodiment of the present invention is shown.
The BLE broadcast message includes the following four parts:
Preamble (in the introduction), the broadcast channel is fixed to 10101010b, and the data channel is 10101010b or01010101b;
ACCESS ADDRESS (access address) the broadcast channel is fixed to 0x8E89BED6, the data channel is a random value, different connections have different values, and the data channel is used between two devices after connection establishment;
CRC, CRC check;
As shown in fig. 4, the PDU includes a PDU Header and PDU Payload data;
The PDU Header includes a PDU Type (Type) as shown in fig. 5, which is used for characterizing the Type of BLE broadcast message, and the PDU Type is described in detail below:
as shown in table 1 below, the PDU Type includes four advertisement types, two Scanning types, and one INITIATING (initialization) Type, which are distinguished by 1byte data.
TABLE 1 BLE broadcast message- -PDU Type in PDU Header
The advertisement type comprises that ADV_IND is connectible non-directional broadcast, ADV_DIRECT_IND is connectible directional broadcast, ADV_ NONCONN _IND is non-connectible non-directional broadcast and ADV_SCAN_IND is scannable non-directional broadcast;
Scanning types include SCAN_REQ, which means that when broadcast data of the ADV_IND or ADV_SCAN_IND type is received, a broadcaster can be requested to broadcast more information through the PDU; scaN_RSP means that after the broadcaster receives the SCAN_REQ request, more data is transmitted to the opposite terminal equipment through the PDU response;
INITIATING is of the connect_req type, indicating that when broadcast data of the adv_ind or adv_direct_ind type is received, a connection can be requested to be established with the partner through the PDU;
in the embodiment of the invention, a scannable non-directional PDU Payload of the adv_scan_ind Type is used, the flag bit of the PDU Type is 0110, the following table 2 shows a schematic structure of the PDU Payload of the adv_scan_ind Type, and the maximum length of the PDU Payload packet of the Type is 37 bytes, where AdvA is a broadcasting device address part, including a bluetooth MAC address of a broadcasting sender, is 6 bytes, advData is a PDU data part, including two parts of significant (valid data) and non-significant (invalid data), and is 31 bytes in total.
TABLE 2 PDU Payload of BLE broadcast message-ADV_SCAN_IND type
As described in detail below AdvData, advData includes, but is not limited to, the following:
1, a valid data portion;
The active Data part contains several broadcast Data units called AD structures, which contain Length and Data. As shown in fig. 6, the composition of the AD Structure includes, but is not limited to, the following:
1) Length indicates the Length of the Data included after Length in the AD Structure, that is, the Length of Data.
2) AD Type, which indicates the content Type indicated by AD Data, such as device name, UUID, etc.;
3) AD Data, specific Data content.
For example, content 02 01 06 of a certain AD Structure, len is 02 (indicating that the content of the next 2 bytes belongs to this AD Structure 1), AD Type is 01, and AD Data is 06.
2, Invalidating the data portion;
AdvData in the PDU Payload must be 31 bytes in length, and if the valid data portion is less than 31 bytes, it is complemented with 0, and this portion of data is invalid.
The AD types involved in the embodiments of the present invention include, but are not limited to, the following types, which are described below:
type 1, incomplete 16bit UUID information;
an important concept in BLE applications is UUID, which is used to identify bluetooth services and access attributes of communication features, and different bluetooth services and attributes use different access methods.
The definition of the service UUID format in bluetooth broadcast has three kinds of 16bit UUID, 32bit UUID and 128bit UUID. The difference between complete and incomplete is that the device supports a plurality of service UUIDs, but only a part of the services are not complete, and the embodiment of the invention adds the self-defined services in the broadcast data packet, so that the monitoring broadcaster Observer can determine the available device supporting the combined transmission of Bluetooth and Wi-Fi P2P by judging whether the scanned BLE broadcast message carries UUID information corresponding to the self-defined services.
In the embodiment of the invention, 0x02 represents incomplete 16bit UUID information, and if AD Type is 02, the content of AD Data is the incomplete UUID information.
For example, the Service name of the user-defined method is My_Service_UUID, and if My_Service_UUID generated by using a UUID random generator is E953, if the UUID obtained by analyzing the received BLE broadcast message contains E953, the terminal broadcasting the BLE broadcast message is an effective terminal, namely a terminal supporting the joint transmission control of Bluetooth and Wi-Fi P2P.
For example, the first terminal determines that the terminal broadcasting the BLE broadcast message is a terminal supporting bluetooth and Wi-Fi P2P joint transmission control, if the AD Structure 1 in the BLE broadcast message received by the first terminal is 03 0253E9, wherein the length is 03, which means that 3 bytes after the length belong to the AD Structure 1, the AD Type is 02, the content of the AD Data is UUID information, and the corresponding UUID information is E953, that is, my_service_uuid.
It should be noted that the above-mentioned value of my_service_uuid is E953 only for example, and any value representing meaning or type of the present invention is not limited to a fixed real number, and any value or combination of lengths satisfying the condition requirements is applicable to the present invention.
Type 2, device name;
In the embodiment of the invention, 0x08 represents equipment abbreviation, 0x09 represents equipment full scale, corresponding, AD Data is a character string of name, if AD Type is 08, the name of the AD Data equipment is abbreviated, if AD Type is 09, the AD Data equipment is full scale, and the part is added for broadcasting a device name of a broadcasting monitor user's Observer to obtain a device name of a transmitting broadcaster Broadcaster for displaying, so that the user can conveniently check.
For example, the content of an AD Structure is 0e 09 45 4d 39 33 30 34 20 46 69 6e 64 6d 65, where Len is 0E (meaning that the content of the next 14 bytes belongs to the AD Structure), AD Type is 09 stands for device full scale, and AD Data is 45 4d 39 33 30 34 20 46 69 6e 64 6d 65 stands for 'E "M"9"3"0"4" space "F" i "n" d "M" E' (see ASCII code hexadecimal).
Type 3, custom data;
in the embodiment 0xFF of the invention, vendor custom data is represented by the first two bytes, vendor ID is represented by the first two bytes, the default is 6F4D, and the rest is added according to the requirement, so that the data content in the vendor custom data can be customized.
The embodiment of the invention can characterize the difference item between the Wi-Fi P2P MAC address or the Bluetooth MAC address and the Wi-Fi P2P MAC address of the broadcast sender Broadcaster through the custom data. That is, there are various ways for determining Wi-Fi P2P MAC address information contained in the custom data, and the following is exemplified:
the first mode is that the custom data comprises a difference item of a Bluetooth MAC address and a Wi-Fi P2P MAC address;
fig. 7A shows a schematic diagram of the bluetooth MAC address and WLAN MAC address of the terminal a.
Taking the terminal A as an example, the WLAN MAC address of the terminal A is EC: D0:9F:C6:50:8B, the Bluetooth address of the terminal A is EC: D0:9F:C6:50:8A, the difference term is 8A, if the self-defined data part is 8A, the content of AdvData in the PDU payload is 04FF 4D 6F 8A;
Fig. 7B shows a schematic diagram of the bluetooth MAC address and WLAN MAC address of the terminal B.
Taking the terminal B as an example, the WLAN MAC address of the terminal B is 10:44:00:a5:de:cd, the bluetooth MAC address of the terminal B is 10:44:00:a5:cf:65, the difference term is that the data portion defined here is the difference term DE CD, and the content of AdvData in the PDU payload is 05ff 4d 6f DE CD;
Correspondingly, the broadcast receiver Observer analyzes the received BLE broadcast message, determines the bluetooth MAC address of the broadcast sender Broadcaster through AdvA in PDU payload, determines the difference item between the bluetooth MAC address and WLAN MAC address of the broadcast sender Broadcaster through AdvData in PDU payload, and determines the WLAN MAC address of the broadcast sender Broadcaster according to the analyzed bluetooth MAC address and the difference item between the bluetooth MAC address and WLAN MAC address.
It should be noted that, only the WLAN MAC address is taken as an example, and in the embodiment of the present invention, information capable of determining the Wi-Fi P2P MAC address is placed in the BLE broadcast message.
For example, the content of PDU payload in the BLE broadcast message received by the broadcast receiver Observer is 10 44 00 A5 CF 65 05 FF 4D 6F DE CD, the first 6 bytes are AdvA, that is, bluetooth MAC address 10 44 00 A5 CF 65, and the later is content 05 FF 4D 6F DE CD with byte AdvData, so that part of the content can know that the difference term between the bluetooth MAC address and the Wi-Fi P2P MAC address is DE CD, and then the Wi-Fi P2P MAC address 10:44:00:a5:de:cd of the broadcast sender Broadcaster is determined according to the parsed bluetooth MAC address and the difference term between the two.
The second mode is that the custom data contains Wi-Fi P2P MAC address;
If the BLE broadcast message contains a complete Wi-Fi P2P MAC address, the broadcast receiver Observer determines the Wi-Fi P2P MAC address of the broadcast sender Broadcaster according to Wi-Fi P2P MAC address information obtained by parsing the BLE broadcast message.
For example, the content of PDU payload in the BLE broadcast message received by the broadcast receiver Observer is 10 44 00 A5 CF 65 09 FF 4D 6F 10 44 00 A5 DE CD, and the Wi-Fi P2P MAC address 10 44 00 A5 DE CD of the broadcast sender Broadcaster can be determined according to the content of AdvData.
In the embodiment of the invention, the first terminal and the second terminal establish Wi-Fi P2P connection through the interactive BLE broadcast message.
Fig. 8 is a schematic flow chart of a method for establishing a communication connection and transmitting data at a first terminal according to an embodiment of the present invention, which includes the following steps;
step 800, turning on a function switch of the Bluetooth and Wi-Fi P2P joint transmission of the first terminal, and turning on Bluetooth and WLAN functions;
Step 801, a first terminal scans BLE broadcast messages sent by other devices;
Step 802, the first terminal judges whether the received BLE broadcast message contains preset UUID information, if yes, step 803 is executed, otherwise, the flow is exited;
Step 803, the first terminal determines a Wi-Fi P2P MAC address of the peer device according to the BLE broadcast message;
step 804, the first terminal initiates a Wi-Fi P2P connection request to the opposite terminal equipment according to the Wi-Fi P2P MAC address;
step 805, the first terminal agrees to establish Wi-Fi P2P connection response when receiving the opposite terminal device;
In step 806, the first terminal performs data transmission with the peer device through Wi-Fi P2P connection.
It should be noted that, the first terminal determines, according to the received BLE broadcast message containing the preset UUID information, a Wi-Fi P2P MAC address and a device name of the opposite terminal device, adds the device name of the opposite terminal device to a list interface locally representing the connectable device, after the user clicks to select the device, the first terminal initiates a Wi-Fi P2P connection establishment request according to the Wi-Fi P2P MAC address of the device, and after receiving that the device (i.e., the opposite terminal device for establishing Wi-Fi P2P connection) sends a response agreeing to establish Wi-Fi P2P connection, the first terminal and the device successfully establish Wi-Fi P2P connection.
Fig. 9 is a schematic flow chart of a method for establishing a communication connection and transmitting data at a second terminal according to an embodiment of the present invention, which includes the following steps;
Step 900, turning on a function switch for the combined transmission of Bluetooth and Wi-Fi P2P of the second terminal, and turning on the Bluetooth and WLAN functions;
Step 901, a second terminal sends a BLE broadcast message;
Step 902, the second terminal judges whether a request for establishing Wi-Fi P2P connection initiated by the opposite terminal equipment is received, if yes, step 903 is executed, otherwise, the process is exited.
Step 903, the second terminal sends a response agreeing to establish Wi-Fi P2P connection to the opposite terminal device;
and step 904, the second terminal performs data transmission with the opposite terminal equipment through Wi-Fi P2P connection.
It should be noted that, when the second terminal sends the BLE broadcast message, the second terminal may send the BLE broadcast message periodically, and if the sent BLE broadcast message is scanned by other terminals supporting bluetooth and Wi-Fi P2P joint transmission, the device name of the second terminal is displayed on the list interface that locally indicates the connectable device. If the second terminal receives the Wi-Fi P2P connection establishment request initiated by the opposite terminal equipment, a dialog box for informing the user whether to establish Wi-Fi P2P connection with the opposite terminal equipment is popped up, if the user clicks 'determining', the second terminal can accept the connection request, and if the user clicks 'canceling', the second terminal refuses the connection request. If the connection request is accepted, the second terminal sends a response agreeing to establish Wi-Fi P2P connection to the opposite terminal equipment, and then the second terminal can perform data transmission with the opposite terminal equipment through Wi-Fi P2P connection.
Based on the same conception, as shown in fig. 10, an embodiment of the present invention provides a first terminal for establishing a communication connection and data transmission, the terminal comprising a processor 1000 and a memory 1001, wherein the memory 1001 stores program code, which when executed by the processor 1000 causes the terminal to perform the following procedures:
The method comprises the steps of determining Wi-Fi P2P MAC address information according to a scanned BLE broadcast message, wherein the type of the BLE broadcast message is a scannable non-directional type, establishing Wi-Fi P2P connection with opposite terminal equipment through the Wi-Fi P2P MAC address information, and carrying out data transmission with the opposite terminal equipment through the established Wi-Fi P2P connection.
Optionally, the processor 1000 is specifically configured to:
Determining Wi-Fi P2P MAC address information contained in the BLE broadcast message, or
And determining Wi-Fi P2P MAC address information according to the Bluetooth MAC address contained in the BLE broadcast message and the difference information of the Bluetooth MAC address and the Wi-Fi P2P MAC address.
Optionally, the BLE broadcast message includes preset UUID information.
As shown in fig. 11, an embodiment of the present invention provides another first terminal for establishing a communication connection and transmitting data, including:
The first processing module 1100 is configured to determine Wi-Fi P2P MAC address information according to a scanned BLE broadcast packet, where a type of the BLE broadcast packet is a scannable non-directional type;
a first connection module 1101, configured to establish Wi-Fi P2P connection with the peer device through the Wi-Fi P2P MAC address information;
The first transmission module 1102 is configured to perform data transmission with a peer device through the established Wi-Fi P2P connection.
Optionally, the first processing module 1100 is specifically configured to:
Determining Wi-Fi P2P MAC address information contained in the BLE broadcast message, or
And determining Wi-Fi P2P MAC address information according to the Bluetooth MAC address contained in the BLE broadcast message and the difference information of the Bluetooth MAC address and the Wi-Fi P2P MAC address.
Optionally, the BLE broadcast message includes preset UUID information. .
Optionally, the first processing module 1100 is specifically configured to:
after receiving the Bluetooth and Wi-Fi P2P joint transmission instruction, determining that the received BLE broadcast message contains preset UUID information.
As shown in fig. 12, a third first terminal 1200 for establishing a communication connection and transmitting data according to an embodiment of the present application includes a Radio Frequency (RF) circuit 1210, a power source 1220, a processor 1230, a memory 1240, an input unit 1250, a display unit 1260, a camera 1270, a communication interface 1280, and a wireless fidelity (WIRELESS FIDELITY, wi-Fi) module 1290. It will be appreciated by those skilled in the art that the structure of the terminal shown in fig. 12 is not limiting of the terminal, and that the terminal provided by the embodiments of the present application may include more or less components than those illustrated, or may combine some components, or may be arranged in different components.
The following describes the respective constituent elements of the first terminal 1200 in detail with reference to fig. 12:
The RF circuitry 1210 may be used for receiving and transmitting data during a communication or session. Specifically, the RF circuit 1210 receives downlink data from a base station and transmits the received downlink data to the processor 1230 for processing, and further transmits uplink data to be transmitted to the base station. Typically, the RF circuitry 1210 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like.
In addition, the RF circuit 1210 may also communicate with networks and other terminals through wireless communication. The wireless communication may use any communication standard or protocol including, but not limited to, global system for mobile communications (Global System of Mobile communication, GSM), general Packet Radio Service (GPRS), code division multiple access (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), email, short message Service (Short MESSAGING SERVICE, SMS), etc.
The Wi-Fi technology belongs to a short-range wireless transmission technology, and the first terminal 1200 may be connected to an Access Point (AP) through a Wi-Fi module 1290, so as to realize Access to a data network. The Wi-Fi module 1290 can be used to receive and transmit data during communication.
The first terminal 1200 may be physically connected to other terminals through the communication interface 1280. Optionally, the communication interface 1280 is connected to the communication interfaces of the other terminals through a cable, so as to implement data transmission between the first terminal 1200 and the other terminals.
Since in the embodiment of the present application, the first terminal 1200 can implement a communication service and send information to other contacts, the first terminal 1200 needs to have a data transmission function, that is, the first terminal 1200 needs to include a communication module. Although fig. 12 illustrates communication modules such as the RF circuit 1210, the Wi-Fi module 1290, and the communication interface 1280, it will be appreciated that at least one of the foregoing components or other communication modules (e.g., bluetooth modules) for implementing communication are present in the first terminal 1200 for data transmission.
For example, when the first terminal 1200 is a mobile phone, the first terminal 1200 may include the RF circuit 1210, may further include the Wi-Fi module 1290, when the first terminal 1200 is a computer, the first terminal 1200 may include the communication interface 1280, may further include the Wi-Fi module 1290, and when the first terminal 1200 is a tablet computer, the first terminal 1200 may include the Wi-Fi module.
The memory 1240 may be used to store software programs and modules. The processor 1230 performs various functional applications and data processing of the first terminal 1200 by running software programs and modules stored in the memory 1240, and when the processor 1230 executes the program codes in the memory 1240, it can implement part or all of the processes in fig. 2A according to the embodiment of the present invention.
Alternatively, the memory 1240 may mainly include a storage program area and a storage data area. The storage program area may store an operating system, various application programs (such as a communication application), a face recognition module, etc., and the storage data area may store data created according to the use of the terminal (such as various pictures, multimedia files such as video files, and a face information template), etc.
In addition, the memory 1240 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The input unit 1250 may be used to receive numeric or character information input by a user and to generate key signal inputs related to user settings and function control of the first terminal 1200.
Alternatively, the input unit 1250 may include a touch panel 1251 and other input terminals 1252.
The touch panel 1251, which is also referred to as a touch screen, may collect touch operations on or near the touch panel 1251 by a user (such as operations of the user on the touch panel 1251 or near the touch panel 1251 using any suitable object or accessory such as a finger, a stylus, etc.), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 1251 may include two parts, a touch detection device and a touch controller. The touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1230, and can receive and execute commands sent by the processor 1230. In addition, the touch panel 1251 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave.
Alternatively, the other input terminals 1252 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 1260 may be used to display information input by a user or information provided to the user and various menus of the first terminal 1200. The display unit 1260 is a display system of the first terminal 1200, and is configured to present an interface to implement man-machine interaction.
The display unit 1260 may include a display panel 1261. Alternatively, the display panel 1261 may be configured in the form of a Liquid crystal display (Liquid CRYSTAL DISPLAY, LCD), an Organic Light-Emitting Diode (OLED), or the like.
Further, the touch panel 1251 may overlay the display panel 1261, and when the touch panel 1251 detects a touch operation thereon or thereabout, the touch operation is transmitted to the processor 1230 to determine a type of touch event, and then the processor 1230 provides a corresponding visual output on the display panel 1261 according to the type of touch event.
Although in fig. 12, the touch panel 1251 and the display panel 1261 are implemented as two separate components to implement the input and output functions of the first terminal 1200, in some embodiments, the touch panel 1251 may be integrated with the display panel 1261 to implement the input and output functions of the first terminal 1200.
The processor 1230 is a control center of the first terminal 1200, connects respective components using various interfaces and lines, and performs various functions of the first terminal 1200 and processes data by running or executing software programs and/or modules stored in the memory 1240 and calling data stored in the memory 1240, thereby realizing various services based on the terminal.
In the alternative, processor 1230 may include one or more processing units. Alternatively, the processor 1230 may integrate an application processor that primarily processes operating systems, user interfaces, applications, etc., with a modem processor that primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1230.
The camera 1270 is configured to perform a photographing function of the first terminal 1200, and photograph or video. The camera 1270 may also be used to implement a scanning function of the first terminal 1200 to scan a scanning object (two-dimensional code/bar code).
The first terminal 1200 also includes a power source 1220 (e.g., a battery) for powering the various components. Optionally, the power source 1220 may be logically connected to the processor 1230 through a power management system, so as to perform functions of managing charging, discharging, and power consumption through the power management system.
It should be noted that, in an embodiment of the present invention, the processor 1230 may perform the functions of the processor 1000 in fig. 10, and the memory 1240 stores the contents of the processor 1001.
Based on the same concept, as shown in fig. 13, an embodiment of the present invention provides a second terminal for establishing a communication connection and transmitting data, the terminal including a processor 1300 and a memory 1301, wherein the memory 1301 stores program codes, which when executed by the processor 1300 causes the terminal to perform the following procedures:
The method comprises the steps of sending a BLE broadcast message containing a MAC address for determining Wi-Fi P2P, wherein the type of the BLE broadcast message is a scannable non-directional type, sending a response for agreeing to establish Wi-Fi P2P connection to opposite terminal equipment after receiving a request for establishing Wi-Fi P2P connection sent by the opposite terminal equipment, and carrying out data transmission with the opposite terminal equipment through the established Wi-Fi P2P connection.
Optionally, the processor 1300 is further configured to:
placing own Wi-Fi P2P MAC address information in the BLE broadcast message, or
And placing the difference information of the Bluetooth MAC address of the Bluetooth and the Wi-Fi P2P MAC address of the Bluetooth in the BLE broadcast message.
Optionally, the BLE broadcast message includes preset UUID information.
As shown in fig. 14, an embodiment of the present invention provides another second terminal for establishing a communication connection and transmitting data, including:
a second processing module 1400, configured to send a BLE broadcast packet including a data packet for determining a Wi-Fi P2P MAC address, where a type of the BLE broadcast packet is a scannable non-directional type;
A second connection module 1401, configured to send a response for agreeing to establish Wi-Fi P2P connection to the peer device after receiving a request for establishing Wi-Fi P2P connection sent by the peer device;
And the second transmission module 1402 is configured to perform data transmission with the peer device through the established Wi-Fi P2P connection.
Optionally, the second processing module 1400 is further configured to:
placing own Wi-Fi P2P MAC address information in the BLE broadcast message, or
And placing the difference information of the Bluetooth MAC address of the Bluetooth and the Wi-Fi P2P MAC address of the Bluetooth in the BLE broadcast message.
Optionally, the BLE broadcast message includes preset UUID information.
As shown in fig. 15, a third second terminal 1500 for establishing a communication connection and transmitting data according to the embodiment of the present application includes a Radio Frequency (RF) circuit 1510, a power source 1520, a processor 1530, a memory 1540, an input unit 1550, a display unit 1560, a camera 1570, a communication interface 1580, and a wireless fidelity (WIRELESS FIDELITY, wi-Fi) module 1590. It will be appreciated by those skilled in the art that the structure of the terminal shown in fig. 15 is not limiting of the terminal, and that the terminal provided by the embodiments of the present application may include more or less components than those illustrated, or may combine some components, or may be arranged in different components.
The following describes the respective constituent elements of the second terminal 1500 in detail with reference to fig. 15:
The RF circuitry 1510 may be used for receiving and transmitting data during a communication or session. Specifically, the RF circuit 1510 receives downlink data from a base station and transmits the received downlink data to the processor 1530, and further transmits uplink data to be transmitted to the base station. Typically, the RF circuitry 1510 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like.
In addition, the RF circuitry 1510 may also communicate with networks and other terminals via wireless communications. The wireless communication may use any communication standard or protocol including, but not limited to, global system for mobile communications (Global System of Mobile communication, GSM), general Packet Radio Service (GPRS), code division multiple access (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), email, short message Service (Short MESSAGING SERVICE, SMS), etc.
The Wi-Fi technology belongs to a short-distance wireless transmission technology, and the second terminal 1500 may be connected to an Access Point (AP) through a Wi-Fi module 1590, so as to realize Access to a data network. The Wi-Fi module 1590 may be used to receive and transmit data during a communication process.
The second terminal 1500 may be physically connected to other terminals through the communication interface 1580. Optionally, the communication interface 1580 is connected to the communication interfaces of the other terminals through a cable, so as to implement data transmission between the second terminal 1500 and the other terminals.
Since in the embodiment of the present application, the second terminal 1500 can implement a communication service and send information to other contacts, the second terminal 1500 needs to have a data transmission function, that is, the second terminal 1500 needs to include a communication module. Although fig. 15 illustrates the RF circuit 1510, the Wi-Fi module 1590, the communication interface 1580, and other communication modules, it will be understood that at least one of the foregoing components or other communication modules (such as a bluetooth module) for implementing communication are present in the second terminal 1500 for data transmission.
For example, when the second terminal 1500 is a mobile phone, the second terminal 1500 may include the RF circuit 1510 and may further include the Wi-Fi module 1590, when the second terminal 1500 is a computer, the second terminal 1500 may include the communication interface 1580 and may further include the Wi-Fi module 1590, and when the second terminal 1500 is a tablet computer, the second terminal 1500 may include the Wi-Fi module.
The memory 1540 may be used for storing software programs and modules. The processor 1530 performs various functional applications and data processing of the second terminal 1500 by running software programs and modules stored in the memory 1540, and when the processor 1530 executes the program codes in the memory 1540, part or all of the processes in fig. 2A according to the embodiment of the present invention can be implemented.
Alternatively, the memory 1540 may mainly include a storage program area and a storage data area. The storage program area may store an operating system, various application programs (such as a communication application), a face recognition module, etc., and the storage data area may store data created according to the use of the terminal (such as various pictures, multimedia files such as video files, and a face information template), etc.
In addition, the memory 1540 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The input unit 1550 may be used to receive numeric or character information inputted by a user and to generate key signal inputs related to user settings and function control of the second terminal 1500.
Alternatively, the input unit 1550 may include a touch panel 1551 and other input terminals 1552.
The touch panel 1551, also referred to as a touch screen, may collect touch operations thereon or thereabout (e.g., operations thereon or thereabout by a user using any suitable object or accessory such as a finger, a stylus, etc. on the touch panel 1551 or thereabout the touch panel 1551) and drive the corresponding connection device according to a predetermined program. Alternatively, the touch panel 1551 may include two parts, a touch detection device and a touch controller. The touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, and then sends the touch point coordinates to the processor 1530, and can receive and execute commands sent by the processor 1530. In addition, the touch panel 1551 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave.
Alternatively, the other input terminals 1552 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 1560 may be used to display information input by a user or information provided to the user and various menus of the second terminal 1500. The display unit 1560 is a display system of the second terminal 1500, and is configured to present an interface to implement man-machine interaction.
The display unit 1560 may include a display panel 1561. Alternatively, the display panel 1561 may be configured in the form of a Liquid crystal display (Liquid CRYSTAL DISPLAY, LCD), an Organic Light-Emitting Diode (OLED), or the like.
Further, the touch panel 1551 may overlay the display panel 1561, and upon detection of a touch operation thereon or thereabout by the touch panel 1551, is transferred to the processor 1530 to determine a type of touch event, and the processor 1530 then provides a corresponding visual output on the display panel 1561 based on the type of touch event.
Although in fig. 15, the touch panel 1551 and the display panel 1561 are two separate components to implement the input and output functions of the second terminal 1500, in some embodiments, the touch panel 1551 may be integrated with the display panel 1561 to implement the input and output functions of the second terminal 1500.
The processor 1530 is a control center of the second terminal 1500, connects respective components using various interfaces and lines, and performs various functions of the second terminal 1500 and processes data by running or executing software programs and/or modules stored in the memory 1540 and calling data stored in the memory 1540, thereby realizing various services based on the terminal.
Optionally, the processor 1530 may include one or more processing units. Alternatively, the processor 1530 may integrate an application processor primarily handling operating systems, user interfaces, applications, etc., with a modem processor primarily handling wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1530.
The camera 1570 is configured to implement a capturing function of the second terminal 1500, and capture a picture or video. The camera 1570 may also be used to implement a scanning function of the second terminal 1500 to scan a scanning object (two-dimensional code/barcode).
The second terminal 1500 also includes a power source 1520 (e.g., a battery) for powering the various components. Optionally, the power source 1520 may be logically connected to the processor 1530 through a power management system, so as to perform functions of managing charging, discharging, and power consumption through the power management system.
It should be noted that, in the embodiment of the present invention, the processor 1530 may perform the functions of the processor 1300 in fig. 13, and the memory 1540 stores the contents of the processor 1301.
The embodiment of the invention also provides a computer readable nonvolatile storage medium, which comprises program code, wherein when the program code runs on a computing terminal, the program code is used for enabling the computing terminal to execute the steps of the method for establishing communication connection and data transmission in the embodiment of the invention.
Based on the same inventive concept, the embodiment of the invention also provides a method for establishing communication connection and data transmission, and because the device corresponding to the method is the method corresponding to the first terminal for establishing communication connection and data transmission in the embodiment of the invention, and the principle of solving the problem of the method is similar to that of the terminal, the implementation of the method can refer to the implementation of the first terminal in the interactive flow for establishing communication connection and data transmission, and the repetition is omitted.
As shown in fig. 16, a method for establishing a communication connection and transmitting data according to an embodiment of the present invention includes:
Step 1600, the first terminal determines Wi-Fi P2P MAC address information according to a scanned BLE broadcast message, wherein the type of the BLE broadcast message is a scannable non-directional type;
step 1601, the first terminal establishes Wi-Fi P2P connection with the peer device through the Wi-Fi P2P MAC address information;
in step 1602, the first terminal performs data transmission with a peer device through the established Wi-Fi P2P connection.
Optionally, the first terminal determines Wi-Fi P2P MAC address information according to the scanned BLE broadcast message, including:
the first terminal determines Wi-Fi P2P MAC address information contained in the BLE broadcast message or
And the first terminal determines Wi-Fi P2P MAC address information according to the Bluetooth MAC address contained in the BLE broadcast message and the difference information of the Bluetooth MAC address and the Wi-Fi P2P MAC address.
Optionally, the BLE broadcast message includes preset UUID information.
Based on the same inventive concept, the embodiment of the invention further provides a method for establishing communication connection and data transmission, and because the device corresponding to the method is the method corresponding to the second terminal for establishing communication connection and data transmission in the embodiment of the invention, and the principle of solving the problem of the method is similar to that of the terminal, the implementation of the method can refer to the implementation of the second terminal in the interactive flow for establishing communication connection and data transmission, and the repetition is omitted.
As shown in fig. 17, a method for establishing a communication connection and transmitting data according to an embodiment of the present invention includes:
step 1700, the second terminal sends a BLE broadcast message including a data packet for determining a Wi-Fi P2P MAC address, wherein the type of the BLE broadcast message is a scannable non-directional type;
Step 1701, after receiving a Wi-Fi P2P connection establishment request sent by a peer device, the second terminal sends a response agreeing to establish Wi-Fi P2P connection to the peer device;
In step 1702, the second terminal performs data transmission with a peer device through the established Wi-Fi P2P connection.
Optionally, before the second terminal sends the BLE broadcast packet including the address used for determining the Wi-Fi P2P MAC address, the method further includes:
The second terminal places the own Wi-Fi P2P MAC address information in the BLE broadcast message, or
And the second terminal places the difference information of the Bluetooth MAC address of the second terminal and the Wi-Fi P2P MAC address of the second terminal in the BLE broadcast message.
Optionally, the BLE broadcast message includes preset UUID information.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the present application may be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Still further, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of the present application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
Claims (6)
1. A method of establishing a communication connection and data transmission, the method comprising:
the method comprises the steps that a first terminal determines Wi-Fi P2P MAC address information according to a Bluetooth MAC address contained in a scanned low-power Bluetooth BLE broadcast message and difference information of the Bluetooth MAC address and a wireless fidelity point-to-point media access control address Wi-Fi P2P MAC address, wherein the type of the BLE broadcast message is a scannable non-directional type, and the scannable non-directional type BLE broadcast message supports the first terminal to find opposite terminal equipment and is used for interactive data flow;
the first terminal establishes Wi-Fi P2P connection with opposite terminal equipment through the Wi-Fi P2P MAC address information;
The first terminal performs data transmission with a peer device through the established Wi-Fi P2P connection;
Triggering the first terminal to scan the BLE broadcast message by:
the first terminal is integrated with a function switch for supporting the combined transmission of Bluetooth and Wi-Fi P2P, and is triggered in response to the operation of opening the function switch, or
Triggering is carried out by selecting a Bluetooth and Wi-Fi P2P joint transmission mode from a file sharing mode by a user.
2. The method of claim 1 wherein the BLE broadcast message includes UUID information of a preset universal unique identification code.
3. A method of establishing a communication connection and data transmission, the method comprising:
The second terminal places the difference information of the Bluetooth MAC address of the second terminal and the Wi-Fi P2PMAC address of the second terminal in a BLE broadcast message;
The second terminal sends the BLE broadcast message containing the address used for determining Wi-Fi P2P MAC, wherein the type of the BLE broadcast message is a scannable non-directional type, and the BLE broadcast message of the scannable non-directional type supports peer equipment to find the second terminal and is used for interactive data flow;
After receiving a Wi-Fi P2P connection establishment request sent by opposite terminal equipment, the second terminal sends a response agreeing to establish Wi-Fi P2P connection to the opposite terminal equipment;
the second terminal performs data transmission with the opposite terminal equipment through the established Wi-Fi P2P connection;
triggering the second terminal to send the BLE broadcast message by the following method:
the second terminal is integrated with a function switch for supporting the combined transmission of Bluetooth and Wi-Fi P2P, and is triggered in response to the operation of opening the function switch, or
Triggering is carried out by selecting a Bluetooth and Wi-Fi P2P joint transmission mode from a file sharing mode by a user.
4. The method of claim 3 wherein the BLE broadcast message includes preset UUID information.
5. A first terminal for establishing a communication connection and a data transmission, the terminal comprising a processor and a memory, wherein the memory stores program code that, when executed by the processor, causes the terminal to perform the following:
determining Wi-Fi P2P MAC address information according to a Bluetooth MAC address contained in a scanned low-power Bluetooth BLE broadcast message and difference information of the Bluetooth MAC address and a Wi-Fi P2P MAC address, wherein the type of the BLE broadcast message is a scannable non-directional type, and the scannable non-directional type of the BLE broadcast message supports a first terminal to find an opposite terminal device and is used for interactive data flow;
establishing Wi-Fi P2P connection with the opposite terminal equipment through the Wi-Fi P2P MAC address information;
data transmission is carried out between the Wi-Fi P2P connection and the opposite terminal equipment;
the first terminal is specifically configured to trigger scanning the BLE broadcast packet by:
the first terminal is integrated with a function switch for supporting the combined transmission of Bluetooth and Wi-Fi P2P, and is triggered in response to the operation of opening the function switch, or
Triggering is carried out by selecting a Bluetooth and Wi-Fi P2P joint transmission mode from a file sharing mode by a user.
6. A second terminal for establishing a communication connection and a data transmission, the terminal comprising a processor and a memory, wherein the memory stores program code that, when executed by the processor, causes the terminal to perform the following:
placing the difference information of the Bluetooth MAC address of the user and the Wi-Fi P2P MAC address of the user in a BLE broadcast message;
Sending the BLE broadcast message containing the address used for determining the Wi-Fi P2P MAC address, wherein the type of the BLE broadcast message is a scannable non-directional type, and the BLE broadcast message of the scannable non-directional type supports a peer device to discover a second terminal and is used for interactive data flow;
After receiving a Wi-Fi P2P connection establishment request sent by opposite terminal equipment, sending a response for agreeing to establish Wi-Fi P2P connection to the opposite terminal equipment;
data transmission is carried out between the Wi-Fi P2P connection and the opposite terminal equipment;
The second terminal is specifically configured to trigger sending the BLE broadcast packet by:
the second terminal is integrated with a function switch for supporting the combined transmission of Bluetooth and Wi-Fi P2P, and is triggered in response to the operation of opening the function switch, or
Triggering is carried out by selecting a Bluetooth and Wi-Fi P2P joint transmission mode from a file sharing mode by a user.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910361577.8A CN111866824B (en) | 2019-04-30 | 2019-04-30 | A method and device for establishing communication connection and data transmission |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910361577.8A CN111866824B (en) | 2019-04-30 | 2019-04-30 | A method and device for establishing communication connection and data transmission |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111866824A CN111866824A (en) | 2020-10-30 |
| CN111866824B true CN111866824B (en) | 2025-01-24 |
Family
ID=72965616
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910361577.8A Active CN111866824B (en) | 2019-04-30 | 2019-04-30 | A method and device for establishing communication connection and data transmission |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111866824B (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115119214B (en) * | 2021-03-22 | 2024-07-05 | 华为技术有限公司 | A stereo networking method, system and related device |
| CN113225714A (en) * | 2021-04-16 | 2021-08-06 | 广州朗国电子科技有限公司 | Screen projection method and system |
| CN115250427B (en) * | 2021-04-28 | 2025-01-07 | 海信集团控股股份有限公司 | Bluetooth connection establishment method, mobile terminal and electronic home equipment |
| CN114286324A (en) * | 2021-12-31 | 2022-04-05 | 南京四维智联科技有限公司 | A vehicle-machine interconnection method, system, device and computer equipment |
| CN114157659B (en) * | 2022-02-10 | 2022-06-21 | 荣耀终端有限公司 | File sharing method and terminal equipment |
| CN117425227A (en) * | 2022-07-18 | 2024-01-19 | 荣耀终端有限公司 | Method and device for establishing a session based on WiFi direct connection |
| CN115733843A (en) * | 2022-10-31 | 2023-03-03 | 西安左右智软科技有限公司 | Method, device and system for realizing dual P2P communication |
| CN116193638A (en) * | 2023-02-23 | 2023-05-30 | 深圳锐越微技术有限公司 | Sensor networking method, device, equipment and storage medium |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105144757A (en) * | 2013-04-26 | 2015-12-09 | 三星电子株式会社 | Communication Services in Communication Mode |
| CN106412809A (en) * | 2016-11-22 | 2017-02-15 | 任子行网络技术股份有限公司 | MAC address acquisition method and system based on Bluetooth and WIFI |
| CN107864469A (en) * | 2017-10-31 | 2018-03-30 | 青岛海信电器股份有限公司 | Wireless connection method and equipment |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101954657B1 (en) * | 2012-06-19 | 2019-05-31 | 삼성전자 주식회사 | Connecting method between terminals in wi-fi p2p network and terminal thereof |
| CN104539324B (en) * | 2014-12-25 | 2017-04-12 | 惠州Tcl移动通信有限公司 | Bluetooth low-power-consumption networking interconnecting method and system |
| US9949063B2 (en) * | 2015-06-01 | 2018-04-17 | Apple Inc. | Bluetooth low energy triggering NAN for further discovery and connection |
| CN107018554B (en) * | 2017-03-07 | 2020-11-06 | Oppo广东移动通信有限公司 | A data transmission method, device and intelligent terminal |
-
2019
- 2019-04-30 CN CN201910361577.8A patent/CN111866824B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105144757A (en) * | 2013-04-26 | 2015-12-09 | 三星电子株式会社 | Communication Services in Communication Mode |
| CN106412809A (en) * | 2016-11-22 | 2017-02-15 | 任子行网络技术股份有限公司 | MAC address acquisition method and system based on Bluetooth and WIFI |
| CN107864469A (en) * | 2017-10-31 | 2018-03-30 | 青岛海信电器股份有限公司 | Wireless connection method and equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111866824A (en) | 2020-10-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111866824B (en) | A method and device for establishing communication connection and data transmission | |
| CN111867148B (en) | Method and device for establishing device connection and data transmission | |
| CN112118539B (en) | Method and device for device information interaction between terminals | |
| CN110933653B (en) | Message transmission method, device, terminal and storage medium | |
| JP7477589B2 (en) | Method and terminal device for establishing a hotspot connection - Patents.com | |
| CN110121902B (en) | Communication establishment method and terminal | |
| EP3723336B1 (en) | Device bootstrap method, terminal, and server | |
| CN106028266B (en) | Information transmission method, device and system | |
| EP3179693B1 (en) | Method, apparatus, storage medium and computer program product for establishing a data connection | |
| CN112492569A (en) | Intelligent device control method and terminal | |
| CN107147549B (en) | Intelligent household equipment networking method and device | |
| KR102596801B1 (en) | PC5 link establishment methods, equipment and systems | |
| CN112691363A (en) | Cross-terminal switching method and related device for cloud games | |
| CN105933204A (en) | Method and device for enabling first equipment to transmit synchronization message to second equipment | |
| CN114390635B (en) | Relay link multiplexing method, device, relay equipment, communication equipment and medium | |
| CN113873684B (en) | Connection establishment method and device based on local area network, terminal equipment and storage medium | |
| CN105871425A (en) | Method for first equipment to receive synchronous message from second equipment and device | |
| CN112118538A (en) | A method and device for device information interaction between terminals | |
| CN105376138B (en) | Method for adding contacts, method for data transmission, and user equipment | |
| CN111314900B (en) | Wireless connection method, wireless connection device and mobile terminal | |
| CN106331302B (en) | A method and device for adding contacts | |
| US9965341B2 (en) | Method and device for exchanging data between processes | |
| CN107659976B (en) | Network access method and related products | |
| CN114501449B (en) | Information query method, device, electronic equipment and storage medium | |
| CN115314173A (en) | Resource pool configuration method, device, terminal and network side equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information |
Country or region after: China Address after: Shandong City, Qingdao Province, Jiangxi City Road No. 11 Applicant after: Qingdao Hisense Mobile Communication Technology Co.,Ltd. Address before: Shandong City, Qingdao Province, Jiangxi City Road No. 11 Applicant before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd. Country or region before: China |
|
| CB02 | Change of applicant information | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |