WO2017097129A1 - 建立短距离无线通道的方法及装置 - Google Patents
建立短距离无线通道的方法及装置 Download PDFInfo
- Publication number
- WO2017097129A1 WO2017097129A1 PCT/CN2016/107421 CN2016107421W WO2017097129A1 WO 2017097129 A1 WO2017097129 A1 WO 2017097129A1 CN 2016107421 W CN2016107421 W CN 2016107421W WO 2017097129 A1 WO2017097129 A1 WO 2017097129A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- channel
- connection
- wireless channel
- short
- established
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/08—Access security
-
- 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
Definitions
- the present application relates to wireless communication technologies, and in particular, to a method and apparatus for establishing a short-range wireless channel.
- Short-range wireless communication refers to communication within a short distance.
- the main technologies include WIFI, Zigbee, Bluetooth, Ultra-Wideband Technology (UWB), Radio Frequency Identification (RFID), and Near Field Communication ( NFC) and other types.
- WIFI Wireless Fidelity
- UWB Ultra-Wideband Technology
- RFID Radio Frequency Identification
- NFC Near Field Communication
- a short-range wireless channel is required between the device and the device.
- two devices need to establish a WIFI connection or a Bluetooth connection.
- each short-range wireless channel requires manual setting by the user to establish a connection. Therefore, establishing a short-range wireless channel between devices is inefficient and time-consuming, especially in the need to establish In the business scenarios of multiple short-range wireless channels, the problem of inefficiency is more serious.
- the present application provides a method and apparatus for establishing a connection channel between devices, which can improve the efficiency of establishing a short-range wireless channel.
- a method for establishing a short-range wireless channel including the steps of:
- the wireless channel connection information includes a connection point identifier on the second device
- connection point matching the connection point identifier is found, a short-range wireless channel is established with the connection point according to the wireless channel connection information.
- a method for establishing a short-range wireless channel including the steps of:
- connection point identifier carried in the wireless channel connection information sent by the first device matches the connection point identifier on the second device, Said The wireless channel connection information sent by the first device establishes a short-range wireless channel of the connection point and the first device.
- an apparatus for establishing a short-range wireless channel including:
- a communication module configured to receive at least one wireless channel connection information from the established connection channel, and transmit the connection information to the connection module, where the wireless channel connection information includes a connection point identifier on the second device;
- connection module configured to establish a short-range wireless channel with the connection point according to the wireless channel connection information when searching for a connection point that matches the received connection point identifier.
- an apparatus for establishing a short-range wireless channel includes:
- a communication module configured to send, by the established connection channel, the at least one wireless channel connection information on the second device to the first device, where the wireless channel connection information includes a connection point identifier on the second device;
- a connection module configured to: when receiving the at least one type of wireless channel connection information sent by the first device, if the connection point identifier carried in the wireless channel connection information sent by the first device and the connection point on the second device If the identifiers match, the short-distance wireless channel of the connection point and the first device is established according to the wireless channel connection information sent by the first device.
- the device requested by the present application can automatically obtain the wireless channel connection information through a certain connection channel that has been established, without manually selecting a connection point or manually inputting a password, so that a short-range wireless channel can be quickly established.
- FIG. 1 is a schematic diagram of a network architecture in an embodiment of the present application.
- FIG. 2 is a flowchart of a method for establishing a short-range wireless channel according to an embodiment of the present application
- FIG. 3 is a flowchart of another method for establishing a short-range wireless channel according to an embodiment of the present application
- FIG. 4 is a schematic diagram of information exchange between devices in an application scenario of the present application.
- FIG. 5 is a hardware architecture diagram of an apparatus for establishing a short-range wireless channel according to an embodiment of the present application
- FIG. 6 is a software logic block diagram of an apparatus for establishing a short-range wireless channel according to an embodiment of the present application
- FIG. 7 is a software logic block diagram of another apparatus for establishing a short-range wireless channel in an embodiment of the present application.
- first, second, third, etc. may be used to describe various information in this application, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
- first information may also be referred to as the second information without departing from the scope of the present application.
- second information may also be referred to as the first information.
- word "if” as used herein may be interpreted as "when” or “when” or “in response to a determination.”
- the network 100 includes a first device 101 and a second device 102.
- the first device 101 and the second device 102 may be established.
- More than one type of connection channel (such as wired channel a, wireless mobile channel b, short-range wireless channel c in the figure).
- the wired channel a may be a USB channel or the like
- the wireless mobile channel b may be a GSM, 3G, 4G channel or the like.
- the short-range wireless channel c can be a WIFI channel, a Bluetooth channel, an infrared channel, an NFC channel, an RFID channel, and the like.
- the first device 101 and the second device 102 may be a variety of smart devices, such as a mobile phone, a tablet computer, a computer, a smart headset, a smart TV, a smart watch, a car in a car, and the like.
- the network 100 may also include a server (not shown), and the first device 101 and the second device 102 respectively have the ability to establish a wireless mobile channel b with the server 103.
- the first device 101 serves as a device for establishing a short-distance wireless channel
- the second device 102 serves as a connected device. It is worth noting that a device may only have the first device 101 or the second device 102 in some scenarios. The function of the first device 101 and the second device 102 can be provided at the same time in other scenarios.
- the first device 101 is connected to the second device 102 according to the connection point identifier issued by the second device 102.
- the connection point identifier may be different.
- connection point identifier when establishing a WIFI channel, the connection point identifier may be an SSID (Service Set Identifier) issued by the second device 102;
- the wireless connection point identifier may be the MAC address of the local device issued by the second device 102; the connection point identifiers of other short-range wireless channels are not enumerated in sequence.
- the present application provides a method for establishing a short-range wireless channel between devices, which can improve the efficiency of establishing a short-range wireless channel.
- Fig. 2 describes the principle of operation from the side of the first device 101.
- connection point identifier on the second device 102 is included, and the connection point identifier is used to identify a connection point of one of the short-range wireless channels.
- connection point matching the received connection point identifier is found, establishing a short-range wireless channel with the connection point according to the received wireless channel connection information.
- the application can be authenticated to ensure security. Before establishing a short-range wireless channel, it can be verified that establishing a short-range wireless channel is involved. The legitimacy of the device. If the authentication is passed, the first device 101 can automatically obtain the wireless channel connection information; if the identity verification fails, the first device 101 still needs to establish a short distance with the second device 102 by the user manually selecting the connection point and inputting the connection password. Wireless channel.
- the method for verifying the legality of the device to be verified may be to check whether the account of the device to be verified is a registered legal account; or whether the devices at both ends belong to the same account name or the associated account name; or the permission recorded on the server Whether the list of connection points connected to the first device 101 is empty or the like.
- the first device 101 can send its own authentication identity to the device responsible for authentication through the established connection channel for authentication.
- the solution disclosed in FIG. 2 is applied to the case where a short-range wireless channel is first established between two devices. After the establishment is successful, the wireless connection information corresponding to the short-range wireless channel can be saved. Therefore, whether the short-range wireless connection channel is established for the first time or again, it can first find out whether the corresponding wireless channel connection information has been stored, and if not, send its own authentication identifier to the connected connection through the established connection channel. The device or the server authenticates; if the stored wireless channel connection information is found, an automatic connection can be made based on the stored wireless connection information. When the connection with the second device 102 is not successful according to the stored wireless channel connection information, the saved wireless channel connection information is deleted.
- the present application can conveniently implement various short-range wireless channels. auto connect.
- the sender of the wireless channel connection information may be the device responsible for authentication. For example, if the first device 101 requests wireless channel connection information from the server, the identity of the first device 101 by the server Authentication is performed; for example, if the first device 101 requests wireless channel connection information from the second device 102, the first device 101 is authenticated by the second device 102.
- the server may be physically integrated on the first device 101 or the second device 102, or may be independent of the second device 101 and the second device 102.
- the first device 101 acquires wireless channel connection information through the established connection channel.
- the established connection channel may include at least one of the following channels: a wired channel a, a wireless mobile channel b, and a short-range wireless channel c.
- the function of sending wireless channel connection information may be completed by the server using the wireless mobile channel b.
- the method for recording the wireless channel connection information on the server may be configured in advance, or may be uploaded to the server by the second device 102 at a certain time (for example, the second device 102 may connect the wireless channel when logging in to the server). Upload to the server).
- the information of the wireless channel connection point recorded on the server may include only information required for one of the short-range wireless channels to be established, and may also include information required for the establishment of two or more short-range wireless channels.
- the wireless channel connection information recorded on the server may be the SSID and the WIFI password used to establish the WIFI channel with the second device 102; or may be the MAC address and the Bluetooth password of the second device 102; or, both may be recorded.
- the other wireless channel connection information is not illustrated in the following examples.
- the server sends the wireless channel connection information to the first device 101, for example, when the first device 101 passes the identity authentication, or the first device 101 sends a request for obtaining the wireless channel connection point to the server when necessary.
- the server sends the request when it receives the request.
- the wireless channel connection information received by the first device 101 from the server may be information required to establish one of the short-range wireless channels, or may be two or more wireless channel connection information. Depending on the wireless channel connection information that is sent, the process of establishing the short-range wireless channel by the first device 101 may be different when performing S202.
- the first device 101 receives one of the wireless channel connection information (for example, the SSID and the WIFI password), the first device 101 searches for the connection point identifier (eg, SSID) in the received wireless channel connection information to check whether there is any The matching connection point, if any, sends the wireless channel connection information (e.g., WIFI password and SSID) to the second device 102 requesting to establish a connection.
- the wireless channel connection information e.g., WIFI password and SSID
- a second short-range wireless channel is established through the established first short-range wireless channel (refer to section S201c below).
- the first device 101 receives more than one type of wireless channel connection information (such as SSID and WIFI password, MAC address, and Bluetooth password), then more than one can be directly established according to the received wireless channel connection information.
- Wireless channels After the establishment is completed, if there are other wireless channel connection information to be established, the established connection channel (for example, connected wired channel a, wireless mobile channel b, and one of the established short-range wireless channels c) can be used. To get the corresponding wireless channel connection information.
- the specific process can be referred to the corresponding content in the application S201a/S 201b/S201c according to the selected channel type.
- S201b Obtain wireless channel connection information through the established wired channel a.
- the first device 101 and the second device 102 may be notified; or the first device 101 carries its own identity verification identifier in the request.
- the second device 102 is sent to request authentication.
- the second device 102 may send the wireless channel connection information to the first device 101 through the connected wired channel a, and the sent wireless channel connection information may be one of the short-range wireless channels to be established.
- the corresponding information may also be information corresponding to two or more short-range wireless channels to be established.
- the first device 101 establishes one or more short-range wireless channels after receiving the wireless channel connection information. After the establishment is completed, if there are other wireless channel connection information to be established, the established connection channel (for example, connected wired channel a, wireless mobile channel b, and one of the established short-range wireless channels c) can be used. To get the corresponding wireless channel connection information. For the specific process, refer to the corresponding part of the application S201a/S 201b/S201c.
- S201c Obtain wireless channel connection information through one of the established short-range wireless channels c.
- the second device 102 passes the established short-range wireless The channel sends the wireless channel connection information corresponding to at least one short-range wireless channel to be established to the first device 101.
- the first device 101 searches for a connection point that matches the received connection point identifier (if a connection password is required, the connection password is sent to the second Device 102) establishes a corresponding short-range wireless channel.
- the process of establishing multiple short-range wireless channels can be different when different established connection channels are selected to transmit different numbers of short-range wireless channels. For example, all the wireless channel connection information to be established can be received through the same established connection channel, and the first device 101 can directly establish multiple short-range wireless channels.
- the at least one wireless channel connection information may be received from the server through the wireless mobile channel or the at least one wireless channel connection information may be received from the second device 102 through the wired channel before any short-range wireless channel is established; at least one short is established After the wireless channel is received, the channel connection information corresponding to the next short-range wireless channel wireless to be established is received from the second device 102 through one of the short-range wireless channels.
- Various design processes can change according to business needs, no longer one by one Lift.
- connection password and the connection point identifier are packaged together in the wireless channel connection information and sent to the first A device 101; in other scenarios, the connection password and the connection point identifier may be different acquisition processes.
- connection password and the connection point identifier may be packaged and sent to the first device 101.
- the user can store only the connection point identifier after obtaining the connection password and the connection point identifier for the first time.
- the first device 101 requests again.
- the password is connected, and the connection password corresponding to the connection point identifier is sent to the first device 101 through the established connection channel.
- connection password may be stored locally in the first device 101 in some manner. After the first device 101 obtains the connection point identifier, the connection password is locally searched according to the correspondence between the connection point identifier and the connection password. . For example, when the first device 101 logs in to the server, the connection password can be downloaded to the local storage. The connection password can be tagged with the connection password. When the server sends the connection point identifier to the first device 101, the server can The label of the corresponding connection password is sent to the first device 101 together, and the first device 101 acquires the stored connection password and the like according to the label.
- FIG. 3 is a flowchart showing the operation of the second device 102 as a connected device in the embodiment of the present application.
- S301 Send at least one type of wireless channel connection information of the second device 102 to the first device 101 through the established connection channel. It should be noted that the process of executing S301 by the server has been described in the above section S201a, and the disclosure is not repeated in this example. For a definition of the wireless channel connection information, refer to the description above.
- the application can be authenticated to ensure security. Before establishing a short-range wireless channel, it can be verified that establishing a short-range wireless channel is involved. The legitimacy of the device. If the authentication is passed, the second device 102 can transmit the wireless channel connection information.
- the execution process of the second device 102 at S301 is different in different cases.
- the wireless channel connection information can be in accordance with S201a
- the partially disclosed content is sent by the server to the first device 101, and the wireless channel connection information may also be sent to the first device 101 by the second device 102.
- the second device 102 can perform the processes of S301a, S301b, S301c below.
- the second device 102 may upload the wireless channel connection information to the server through the wireless mobile channel, and then send the information to the first device 101 through the wireless mobile channel.
- the wireless channel connection information may be uploaded when the second device 102 logs in to the server, and of course, the uploading action may be performed when the server notifies the second device 102.
- the second device 102 can upload one or more types of wireless channel connection information according to the needs of the actual service scenario.
- the second device 102 can also perform the process disclosed in S301b.
- S301b After the server authenticates the device involved in establishing the short-range wireless channel, the server notifies the second device 102, and the second device 102 sends the at least one wireless channel connection information to the first device 101 through the established wired channel.
- the second device 102 can also perform the process disclosed in S301c.
- the first device 101 may request the second device 102 to send the wireless channel connection information through the established short-range wireless channel c, and after receiving the request, the second device 102 passes the corresponding wireless channel connection information through the established short-range wireless.
- Channel c is sent to the first device 101.
- the functions performed by the first device 101 and the functions performed by the second device 102 can also be integrated into the same device at the same time.
- the device performs the functions of the first device 101 or the second device 102 when performing different roles. The function.
- the process described in FIG. 2 and FIG. 3 above may be applied to the initial establishment of each short-range wireless channel.
- the first device 101 may save the short-range wireless channel.
- the wireless channel connection information can be automatically established when the connection point is connected to the second device 102 next time.
- the related process can refer to a similar process in the prior art.
- System 400 is a diagram of an application example of the present application.
- the solution of the present application is applied to the Internet car system 400 in this example.
- System 400 is based on an Android operating system or other operating system that can open automatic access to wireless channel connection information.
- the system 400 includes a mobile phone 401, a vehicle 402, and a cloud server 403.
- the mobile phone 401 and the vehicle 402 can perform the functions of the first device 101 as well as the functions of the second device 102. Only the flow of the mobile phone 401 as the first device 401 and the vehicle 402 as the second device 402 is described in FIG.
- the short-range wireless channels that need to be established in this example include a WIFI channel and a Bluetooth channel.
- the mobile phone 401 and the car machine 402 respectively pass the wireless mobile channel by using the App application on the machine (hereinafter, 4G)
- the channel is described as an example) interacting with the cloud server 403.
- the application on the mobile phone 401 can control the number of short-range wireless channels to be established according to the number of short-range wireless functions that are opened on the mobile phone 401.
- the user can open the WIFI and the Bluetooth connection interface in advance, and the application retrieves After the WIFI and Bluetooth connection interfaces, the short-range wireless channels currently to be established are set to WIFI and Bluetooth channels.
- the vehicle 402 uploads the WIFI connection point identifier and the WIFI password to the cloud server 403 by logging in to the cloud server 403.
- the mobile phone 401 when the driver first opens the application on the mobile phone 401, the mobile phone 401 sends the account and password to the cloud server 403 through the application to request login.
- the cloud server 403 verifies whether the account sent by the mobile phone 401 is consistent with the account used when the vehicle is logged in. If they are consistent, the verification is passed, and then the saved WIFI connection point identifier and the WIFI password of the car machine 402 are sent to Mobile phone 401.
- the mobile phone 401 initiates a WIFI connection to the vehicle 402 based on the received WIFI connection point identifier and the WIFI password.
- the WIFI channel is successfully established in response to the connection request of the mobile phone 401.
- the mobile phone 401 requests the MAC address and the Bluetooth password from the vehicle 402 through the established WIFI channel, and sends its own account information to the vehicle 402.
- the vehicle 402 verifies that the account of the mobile phone 401 is the same as the account of the local login cloud server 403, and then sends the MAC address and the Bluetooth password to the mobile phone 401 through the WIFI channel.
- the handset 401 sends a MAC address and a Bluetooth password to the car 402 requesting to connect to the Bluetooth channel.
- the vehicle 402 establishes a WIFI connection with the mobile phone 401 after verifying the Bluetooth password.
- the mobile phone 401 can also save the WIFI connection point identifier and the WIFI password after establishing a successful WIFI channel; after establishing a successful Bluetooth channel, the MAC address and the Bluetooth password of the vehicle 402 are saved.
- the mobile phone 401 can also prompt the user to manually select the connection point identifier through the App when the WIFI channel or the Bluetooth channel fails to be established, and manually input the connection password to try to connect again.
- the present application also provides an embodiment of an apparatus for establishing a short-range wireless channel.
- the embodiment of the apparatus for establishing a short-range wireless channel of the present application can be applied to smart devices such as mobile phones, car machines, televisions, watches, and the like.
- the device embodiment may be implemented by software, or may be implemented by hardware or a combination of hardware and software. Take the software implementation as an example, as a logical device, it will be through the processor of the smart device it is in. Corresponding computer program instructions in the non-volatile memory are read into memory to form a run. From the hardware level, as shown in FIG. 5, a hardware structure diagram of the smart device where the device for establishing a short-range wireless channel is located in the present application, except for the processor, the memory, the network interface, and the non-volatile device shown in FIG. In addition to the memory, the smart device in which the device is located in the embodiment may also include other hardware according to the actual function of the smart device, and details are not described herein.
- a device 600 for establishing a short-range wireless channel includes:
- the communication module 601 is configured to receive at least one wireless channel connection information from the established connection channel, and transmit the connection information to the connection module, where the wireless channel connection information includes a connection point identifier on the second device;
- the connection module 602 is configured to establish a short-range wireless channel according to the wireless channel connection information and the connection point when searching for the connection point that matches the received connection point identifier.
- the established connection channel may include at least one of the following channels: a wired channel, a wireless mobile channel, and a short-range wireless channel.
- the communication module 601 can receive more than one wireless channel connection information from the second device or the server through the same established connection channel. In addition, before the short-range wireless channel is established, the communication module 601 receives the wireless channel connection information from the server through the wireless mobile channel, or receives the wireless channel connection information from the second device through the wired channel; After the short-range wireless channel, the communication module 601 receives the wireless channel connection information from the second device through one of the short-range wireless channels.
- the device 600 may further include a storage module (not shown) for storing wireless connection channel information; the communication module 601 may also establish short-range wireless when the storage module does not store the wireless connection channel information.
- the identity identification of the device of the channel is sent to the second device or the server for authentication via the established connection channel.
- the device 600 may further include a processing module (not shown) for establishing the short-range wireless channel, storing the wireless channel connection information corresponding to the short-range wireless channel in the storage module; and when stored according to the storage If the wireless channel connection information and the second device establish a short-range wireless channel next time, if the connection is not established successfully, the wireless channel connection information stored in the storage module is deleted.
- a processing module not shown for establishing the short-range wireless channel, storing the wireless channel connection information corresponding to the short-range wireless channel in the storage module; and when stored according to the storage If the wireless channel connection information and the second device establish a short-range wireless channel next time, if the connection is not established successfully, the wireless channel connection information stored in the storage module is deleted.
- the short-range wireless channel may include at least one of the following: a WIFI channel, a Bluetooth channel, an infrared channel, and an NFC channel; the connection point identifier may include: a service set identifier, a MAC address.
- the wireless channel connection information may further include a connection password corresponding to the connection point identifier according to different connection requirements.
- connection module 602 is further configured to receive, by using the communication module 601, a connection password corresponding to the connection point identifier from the established connection channel, or obtain the connection password locally according to the correspondence between the connection point identifier and the connection password.
- FIG. 7 is another apparatus 700 for establishing a short-range wireless channel for establishing at least one short-range wireless channel with a device requesting connection;
- the communication module 701 is configured to send the at least one wireless channel connection information on the second device to the first device by using the established connection channel, where the wireless channel connection information includes a connection point identifier on the second device;
- the connection module 702 is configured to: when receiving the at least one type of wireless channel connection information sent by the first device, if the connection point identifier carried in the wireless channel connection information sent by the first device and the connection point identifier on the first device Matching, the short-distance wireless channel of the connection point and the first device is established according to the wireless channel connection information sent by the first device.
- the communication module 701 can be located on the second device.
- the established connection channel can be a wired channel or a short-range wireless channel.
- the communication module 701 can also be located on the server.
- the established connection channel can be a wireless mobile channel.
- the at least one identification information of the second device sent by the server may be manually configured on the server or sent to the server by the connected device.
- the functions of the two devices can be implemented by an App application, or by an operating system that opens the corresponding interface, and the two devices can be The functions are integrated on the same device, or they can be loaded separately in different devices, depending on the functions required for the specific device.
- the device embodiment since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment.
- the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the objectives of the present application. Those of ordinary skill in the art can understand and implement without any creative effort.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请公开了建立短距离无线通道的方法和装置,该方法包括步骤,从已建立的连接通道接收至少一条无线通道连接信息,所述无线通道连接信息中包括第二设备上的连接点标识;如果搜索到与所述连接点标识相匹配的连接点,则根据所述无线通道连接信息与所述连接点建立短距离无线通道。本申请可以提高建立短距离无线通道的效率。
Description
本申请要求2015年12月08日递交的申请号为201510897297.0、发明名称为“建立短距离无线通道的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及无线通信技术,尤其涉及建立短距离无线通道的方法及装置。
短距离无线通信指的是较短的距离内的通信,主要技术包括WIFI、紫蜂(Zigbee)、蓝牙技术(Bluetooth)、超宽带技术(UWB)、射频识别技术(RFID)以及近场通信(NFC)等类型。
目前在很多业务场景下需要设备与设备间建立短距离无线通道,例如,在某些业务场景下两台设备需要建立WIFI连接或蓝牙连接等。为了保障安全性,在初次建立短距离无线通道时,每种短距离无线通道均需要用户手工设置才可建立连接,因此设备间建立短距离无线通道的效率低,耗时长,特别是在需要建立多种短距离无线通道的业务场景下,效率低下的问题更为严重。
发明内容
本申请提供一种设备间建立连接通道的方法及装置,能够提高建立短距离无线通道的效率。
根据本申请实施例的第一方面,提供一种建立短距离无线通道的方法,包括步骤:
从已建立的连接通道接收至少一条无线通道连接信息,所述无线通道连接信息中包括第二设备上的连接点标识;
如果搜索到与所述连接点标识相匹配的连接点,则根据所述无线通道连接信息与所述连接点建立短距离无线通道。
根据本申请实施例的第二方面,提供一种建立短距离无线通道的方法,包括步骤:
将第二设备上的至少一种无线通道连接信息通过已建立的连接通道发送给第一设备,所述无线通道连接信息包括第二设备上的连接点标识;
当接收到所述第一设备发送的所述无线通道连接信息时,如果所述第一设备发送的无线通道连接信息中携带的连接点标识与第二设备上的连接点标识相匹配,则根据所述
第一设备发送的无线通道连接信息建立所述连接点与所述第一设备的短距离无线通道。
根据本申请实施例的第三方面,提供一种建立短距离无线通道的装置,包括:
通信模块,用于从已建立的连接通道接收至少一条无线通道连接信息,并传给连接模块,所述无线通道连接信息中包括第二设备上的连接点标识;
连接模块,用于在搜索到与所接收到的连接点标识相匹配的连接点时,根据所述无线通道连接信息与所述连接点建立短距离无线通道。
根据本申请实施例的第四方面,提供一种建立短距离无线通道的装置,包括:
通信模块,用于将第二设备上的至少一种无线通道连接信息通过已建立的连接通道发送给第一设备,所述无线通道连接信息包括第二设备上的连接点标识;
连接模块,用于当接收到所述第一设备发送的至少一种无线通道连接信息时,如果所述第一设备发送的无线通道连接信息中携带的连接点标识与第二设备上的连接点标识相匹配,则根据所述第一设备发送的无线通道连接信息建立所述连接点与所述第一设备的短距离无线通道。
本申请请求连接的设备可通过已建立的某种连接通道自动获得无线通道连接信息,无需人工选择连接点或手工输入密码,因此可快速建立短距离无线通道。
图1为本申请实施例中一种网络架构示意图;
图2为本申请实施例中一种建立短距离无线通道的方法流程图;
图3为本申请实施例中另一种建立短距离无线通道的方法流程图;
图4为本申请一应用场景下的设备间信息交互示意图;
图5为本申请实施例中一种建立短距离无线通道的装置的硬件架构图;
图6为本申请实施例中一种建立短距离无线通道的装置的软件逻辑框图;
图7为本申请实施例中另一种建立短距离无线通道的装置的软件逻辑框图。
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。
在本申请使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。
应当理解,尽管在本申请可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本申请范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。
很多业务场景中需要在两台设备之间建立不止一种连接通道,如图1所示,网络100中包括第一设备101、第二设备102,第一设备101和第二设备102可以具有建立不止一种连接通道(例如图中有线通道a、无线移动通道b、短距离无线通道c)的能力。有线通道a可以是USB通道等,无线移动通道b可以是GSM、3G、4G通道等。短距离无线通道c可以是WIFI通道、蓝牙通道、红外通道、NFC通道、RFID通道等。第一设备101和第二设备102可以是多种智能设备,例如,手机、平板电脑、电脑、智能耳机、智能电视、智能手表、汽车中的车机等。
在另一些业务场景中,网络100还可以包括服务器(图中未示出),第一设备101和第二设备102分别具有与服务器103建立无线移动通道b的能力。
以下描述中第一设备101作为建立短距离无线通道的请求连接的设备,第二设备102作为被连接设备,值得指出,一个设备在某些场景下可以仅仅具备第一设备101或第二设备102的功能,在另一些场景下,可以同时具备第一设备101和第二设备102的功能。当两设备间建立短距离无线通道时,第一设备101根据第二设备102发布的连接点标识与第二设备102连接。在建立不同的短距离无线通道时,连接点标识可以不同,例如,在建立WIFI通道时,连接点标识可以是第二设备102发布的SSID(Service Set Identifier,服务集标识);在建立蓝牙通道时,无线连接点标识可以是第二设备102发布的本设备的MAC地址;其他短距离无线通道的连接点标识不依次列举。
本申请提供设备间建立短距离无线通道的方法,可以提高建立短距离无线通道的效率。
图2从第一设备101侧描述其工作原理。
S201,从已建立的连接通道接收至少一条无线通道连接信息,该无线通道连接信息
中包括第二设备102上的连接点标识,连接点标识用来标识其中一条短距离无线通道的连接点。
S202,如果搜索到与所接收到的连接点标识相匹配的连接点,则根据所收到的无线通道连接信息与该连接点建立短距离无线通道。
可见,由于本申请无需人工选择连接点或手工输入密码,因此可以做到快速建立短距离无线通道。
除图2所示的步骤,在某些对安全性有一定要求的场合中,本申请可以通过身份验证来保证安全性,在建立短距离无线通道前,可以验证建立短距离无线通道所涉及到的设备的合法性。如果身份验证通过,则第一设备101可以自动获取无线通道连接信息;如果身份验证失败,则第一设备101仍需要通过用户人工选择连接点以及输入连接密码的方式与第二设备102建立短距离无线通道。
对待验证的设备合法性验证的方式可以是检查待验证的设备的账户是否为已登记的合法账户;或两端设备是否同属于同一账户名下或关联账户名下;或服务器上所记录的允许第一设备101连接的连接点列表是否为空等。
根据不同业务场景的需求,可以对第一设备101和第二设备102的其中之一是否为合法用户进行验证,也可以对两台设备均进行合法性验证。因此作为一个例子,当第一设备101需要被验证身份时,第一设备101可以将自身的身份验证标识通过已建立的连接通道发给负责身份验证的设备进行身份验证。
在一个实例中,图2中所揭示的方案应用于两设备间首次建立某种短距离无线通道的情况下,当建立成功后,可以将该短距离无线通道所对应的无线连接信息保存。因此,无论是首次还是再次建立短距离无线连接通道,可以首先查找是否已存储有相应的无线通道连接信息,如果没有,则将自身的身份验证标识通过已建立的连接通道发给所述被连接设备或所述服务器进行身份验证;如果找到所存储的无线通道连接信息,便可以根据所存储的无线连接信息实现自动连接。当根据所存储的无线通道连接信息与第二设备102未连接成功时,则删除所保存的无线通道连接信息。
由此看出,当第一设备101被更换、系统重启、账户密码更换等多种可能导致所存储的无线通道连接信息被清空的场景下,本申请可以方便的实现多种短距离无线通道的自动连接。
一个实施例中,可以由无线通道连接信息的发送方作为负责身份验证的设备。例如,如果第一设备101向服务器请求无线通道连接信息,则由服务器对第一设备101的身份
进行认证;再例如,如果第一设备101向第二设备102请求无线通道连接信息,则由第二设备102对第一设备101进行身份认证。服务器在实体上可以集成于第一设备101或第二设备102上,也可以独立于第二设备101和第二设备102。
在步骤S201中,第一设备101通过已建立的连接通道来获取到无线通道连接信息。以下对已建立的连接通道传输无线通道连接信息的情况进行举例说明。已建立的连接通道可以包括至少一种以下通道:有线通道a、无线移动通道b、短距离无线通道c。
S201a、通过已建立的无线移动通道b来接收无线通道连接信息。
作为一个实施例,可以由服务器利用无线移动通道b完成下发无线通道连接信息的功能。
在服务器上记录无线通道连接信息的方式可以是事先配置好,也可以是由第二设备102在某个时刻上传给服务器(例如,可以是第二设备102在登录服务器时,将无线通道连接信息上传给服务器)。
服务器上所记录的无线通道连接点的信息可以只包括其中一种短距离无线通道建立时所需要的信息,也可以包括两种或以上短距离无线通道在建立时所需要的信息。例如,服务器上记录的无线通道连接信息可以是与第二设备102建立WIFI通道所用到的SSID及WIFI密码;也可以是第二设备102的MAC地址及蓝牙密码;再或者,可以两种均记录。对于其他无线通道连接信息不依次举例说明。
服务器下发无线通道连接信息给第一设备101有多种情况,例如可以是在第一设备101身份认证通过时下发,或第一设备101在必要时向服务器发送获取无线通道连接点的请求,服务器在收到该请求时下发等。
第一设备101从服务器接收的无线通道连接信息可以是建立其中一种短距离无线通道所需要的信息,也可以是两种或以上的无线通道连接信息。根据所下发的无线通道连接信息不同,在执行S202时,第一设备101建立短距离无线通道的过程可以不同。
例如,第一设备101收到的是其中一种无线通道连接信息(例如SSID及WIFI密码),则第一设备101根据收到的无线通道连接信息中的连接点标识(例如SSID)搜索是否有匹配的连接点,如果有,则将无线通道连接信息(例如,WIFI密码和SSID)发给第二设备102,请求建立连接。当建立起第一短距离无线通道后,再通过已建立的第一短距离无线通道建立第二短距离无线通道(可参见下文S201c部分描述)。
再例如,如果第一设备101收到的是不止一种无线通道连接信息(例如SSID及WIFI密码、MAC地址及蓝牙密码),则可以根据所收到的无线通道连接信息直接建立不止一
个无线通道。建立完成后,如果还有其他待建立的无线通道连接信息,则可通过已建立的连接通道(例如已连接的有线通道a、无线移动通道b,以及其中一条已建立的短距离无线通道c)来获取相应的无线通道连接信息。具体过程根据所选择的通道类型可参见本申请S201a/S 201b/S201c中相应内容。
S201b、通过已建立的有线通道a来获取无线通道连接信息。
作为一个实施例,在服务器对建立短距离无线通道所涉及的设备身份验证通过后,可以通知第一设备101和第二设备102;或者由第一设备101将自身的身份验证标识携带在请求中发给第二设备102请求身份验证。第二设备102在获得验证通过的消息后,可以通过已连接的有线通道a向第一设备101发送无线通道连接信息,所发送的无线通道连接信息可以是其中一种待建立的短距离无线通道所对应的信息,也可以是两种或两种以上待建立的短距离无线通道所对应的信息。
第一设备101在收到无线通道连接信息后建立一条或多条短距离无线通道。建立完成后,如果还有其他待建立的无线通道连接信息,则可通过已建立的连接通道(例如已连接的有线通道a、无线移动通道b,以及其中一条已建立的短距离无线通道c)来获取相应的无线通道连接信息。具体过程可参见本申请S201a/S 201b/S201c相应部分内容。
S201c、通过其中一个已建立的短距离无线通道c来获取无线通道连接信息。
当第一设备101与第二设备102之间已经建立有一条或一条以上的短距离无线通道c,如果还有其他待建立的短距离无线通道,则第二设备102通过已建立的短距离无线通道将至少一条待建立的短距离无线通道所对应的无线通道连接信息发给第一设备101。第一设备101通过已建立的短距离无线通道收到无线通道连接信息后,搜索到与所接收到的连接点标识相匹配的连接点(如果需要输入连接密码,则将连接密码发送给第二设备102),建立相应的短距离无线通道。
通过上文S201a、S 201b、S201c部分的揭示,可以看出,当选择不同的已建立的连接通道传输不同数量的短距离无线通道时,建立多条短距离无线通道的过程可以不同。举例来说,可以通过同一条已建立的连接通道接收到所有待建立的无线通道连接信息,则第一设备101可以直接建立多条短距离无线通道。可以在未建立任何一条短距离无线通道前,通过无线移动通道从服务器接收至少一种无线通道连接信息,或通过有线通道从第二设备102接收至少一种无线通道连接信息;在建立至少一条短距离无线通道后,通过其中一条短距离无线通道从第二设备102接收下一个待建立的短距离无线通道无线所对应的通道连接信息。各种设计流程可依据业务需求发生变化,在此不再一一列
举。
某些业务场景可以在建立某个短距离无线通道时验证连接密码。连接密码发送给第一设备101的流程可以根据实际的业务场景有所区别,在某些场景,可以在执行步骤201时,将连接密码和连接点标识一同打包在无线通道连接信息中发送给第一设备101;在另一些场景,连接密码和连接点标识可以是不同的获取流程。以下列举几种不同的处理流程作为示例性的描述,但并不局限于所列的几种流程。
例如,当用户首次建立无线通道连接时,可以将连接密码和连接点标识打包后发给第一设备101。
再例如,用户可以在首次获取到连接密码和连接点标识后仅对连接点标识进行存储,当下一次用户与该连接点标识所对应的连接点建立短距离无线连接时,第一设备101再次请求连接密码,此时再通过已建立的连接通道将与连接点标识所对应的连接密码发给第一设备101。
另外,连接密码还可以是通过某种方式事先存储在第一设备101本地,当第一设备101获取到连接点标识后,根据连接点标识与连接密码的对应关系在本地查找所对应的连接密码。举例来说,可以在第一设备101登录服务器时将连接密码下载到本地存储,连接密码可以带有识别该连接密码的标签,当服务器下发给第一设备101连接点标识时,可以将所对应的连接密码的标签一起下发给第一设备101,第一设备101根据标签获取所存储的连接密码等等。
图3是本申请实施例中作为被连接设备的第二设备102的工作流程图示。
S301,将第二设备102的至少一种无线通道连接信息通过已建立的连接通道发送给第一设备101。需要说明的是,通过服务器执行S301的过程在上文S201a部分已经描述,在本例中不再重复揭示。无线通道连接信息的相关定义可参考上文中的描述。
S302,当接收到第一设备101发送的无线通道连接信息时,如果所接收到的连接点标识与本设备上的连接点标识相匹配,则根据无线通道连接信息建立该连接点与第一设备101的短距离无线通道。
除图3所示的步骤,在某些对安全性有一定要求的场合中,本申请可以通过身份验证来保证安全性,在建立短距离无线通道前,可以验证建立短距离无线通道所涉及到的设备的合法性。如果身份验证通过,则第二设备102可以发送无线通道连接信息。
与上文S201a、S201b、S201c所揭示的方案相呼应,在不同的情况下第二设备102在S301的执行过程不同。从上文的描述可以看出,无线通道连接信息可以按照S201a
部分揭示的内容由服务器发给第一设备101,也可以通过第二设备102将无线通道连接信息发给第一设备101。因此,作为例子,第二设备102可以执行以下S301a、S301b、S301c的过程。
S301a,第二设备102可以将无线通道连接信息通过无线移动通道上传给服务器,再由服务器通过无线移动通道发给第一设备101。例如,可以在第二设备102登录服务器时上传无线通道连接信息,当然也可以在服务器通知第二设备102时执行上传的动作。根据实际业务场景的需要,第二设备102可以上传一种或一种以上的无线通道连接信息。
第二设备102还可以执行S301b所揭示的过程。
S301b,服务器在对建立短距离无线通道所涉及的设备身份验证通过后,通知第二设备102,第二设备102通过已建立的有线通道将至少一种无线通道连接信息发给第一设备101。
第二设备102也可以执行S301c所揭示的过程。
S301c,第一设备101可以通过已经建立的短距离无线通道c请求第二设备102发送无线通道连接信息,第二设备102在收到请求后,将相应的无线通道连接信息通过已建立短距离无线通道c发送给第一设备101。
需要说明,第一设备101所完成的功能和第二设备102所完成的功能也可以同时集成于同一台设备,该设备在执行不同的角色时分别完成第一设备101的功能或第二设备102的功能。
在一个例子中,可以将上文图2、图3描述的过程应用于初次建立各个短距离无线通道时,当某个短距离无线通道被建立后,第一设备101可以保存该短距离无线通道的无线通道连接信息,以便下一次与第二设备102连接该连接点时可以自动建立连接,相关过程可参考现有技术的类似流程。
图4是本申请一个应用实例的图示。在本例中将本申请的方案应用于互联网汽车系统400中。系统400基于安卓操作系统或其他可开放自动录入无线通道连接信息的操作系统。
系统400中包括手机401、车机402、云服务器403。手机401和车机402既可以完成第一设备101的功能,也可以完成第二设备102的功能。图4中仅描述手机401作为第一设备401、车机402作为第二设备402的流程。本例中所需要建立的短距离无线通道包括WIFI通道和蓝牙通道。
手机401和车机402借助本机上的App应用,分别通过无线移动通道(以下以4G
通道为例进行描述)与云服务器403交互。另外,手机401上的应用可以根据手机401上打开的短距离无线功能的数量来控制待建立的待建立短距离无线通道的数量,本例中用户可提前打开WIFI和蓝牙连接接口,应用检索到WIFI和蓝牙的连接接口后设置目前待建立的短距离无线通道为WIFI和蓝牙通道。
在S401阶段,车机402通过登录云服务器403,将WIFI的连接点标识和WIFI密码上传给云服务器403。
在S402阶段,驾驶者首次打开手机401上的应用时,手机401通过应用将账户及密码发给云服务器403,请求登录。
在S403阶段,云服务器403验证手机401发送的账户与车机登录时所使用的账户是否一致,如果一致,则验证通过,然后将所保存的车机402的WIFI连接点标识和WIFI密码发给手机401。
在S404阶段,手机401根据收到的WIFI连接点标识和WIFI密码向车机402发起WIFI连接。
在S405阶段,车机402验证WIFI密码通过后,响应手机401的连接请求,建立WIFI通道成功。
在S406阶段,手机401通过已建立的WIFI通道向车机402请求MAC地址及蓝牙密码,并将自身的账户信息发给车机402。
在S407阶段,车机402验证手机401的账户与本机登录云服务器403的账户相同,则将MAC地址和蓝牙密码通过WIFI通道发给手机401。
在S408阶段,手机401将MAC地址和蓝牙密码发给车机402请求连接蓝牙通道。
在S409阶段,车机402验证蓝牙密码后与手机401建立WIFI连接。
除S401-409阶段所描述的过程,手机401还可以在建立成功WIFI通道后,保存WIFI连接点标识和WIFI密码;在建立成功蓝牙通道后,保存车机402的MAC地址和蓝牙密码。手机401还可以在WIFI通道或蓝牙通道建立失败时,通过App提示用户人工选择连接点标识,并手工录入连接密码来再次尝试连接。
与前述建立短距离无线通道的方法的实施例相对应,本申请还提供了建立短距离无线通道的装置的实施例。
本申请建立短距离无线通道的装置的实施例可以应用在手机、车机、电视、手表等智能设备上。装置实施例可以通过软件实现,也可以通过硬件或者软硬件结合的方式实现。以软件实现为例,作为一个逻辑意义上的装置,是通过其所在智能设备的处理器将
非易失性存储器中对应的计算机程序指令读取到内存中运行形成的。从硬件层面而言,如图5所示,为本申请建立短距离无线通道的装置所在智能设备的一种硬件结构图,除了图5所示的处理器、内存、网络接口、以及非易失性存储器之外,实施例中装置所在的智能设备通常根据该智能设备的实际功能,还可以包括其他硬件,对此不再赘述。
请参考图6,建立短距离无线通道的装置600,包括:
通信模块601,用于从已建立的连接通道接收至少一条无线通道连接信息,并传给连接模块,无线通道连接信息中包括第二设备上的连接点标识;
连接模块602,用于在搜索到与所接收到的连接点标识相匹配的连接点时,根据无线通道连接信息与连接点建立短距离无线通道。
在一个实施例中,已建立的连接通道可以包括至少一种以下通道:有线通道、无线移动通道、短距离无线通道。
通信模块601可以通过同一条已建立的连接通道从第二设备或服务器接收一条以上的无线通道连接信息。另外,也可以在未建立任何一条短距离无线通道前,通信模块601通过无线移动通道从服务器接收无线通道连接信息,或通过有线通道从第二设备接收所述无线通道连接信息;在建立至少一条短距离无线通道后,通信模块601通过其中一条短距离无线通道从所述第二设备接收所述无线通道连接信息。
在一个实施例中,装置600还可以包括存储模块(图中未示出),用于存储无线连接通道信息;通信模块601还可以在存储模块未存储无线连接通道信息时,将建立短距离无线通道的装置的身份验证标识通过已建立的连接通道发给第二设备或所述服务器进行身份验证。
另外,装置600还可以包括处理模块(图中未示出),用来建立短距离无线通道后,将该短距离无线通道所对应的无线通道连接信息在存储模块中存储;以及当根据所存储的无线通道连接信息与第二设备下一次建立短距离无线通道时,如果未建立成功,将存储模块中存储的无线通道连接信息删除。
短距离无线通道可以包括以下至少一种:WIFI通道、蓝牙通道、红外通道、NFC通道;所述连接点标识可以包括:服务集标识、MAC地址。
根据不同的连接需求,无线通道连接信息还可以包括与连接点标识所对应的连接密码。
连接模块602还用于通过通信模块601从已建立的连接通道接收获取与连接点标识对应的连接密码;或根据连接点标识与连接密码的对应关系,从本地获取所述连接密码。
图7是另一种建立短距离无线通道的装置700,用于与请求连接的设备建立至少一条短距离无线通道;包括:
通信模块701,用于将第二设备上的至少一种无线通道连接信息通过已建立的连接通道发送给第一设备,无线通道连接信息包括第二设备上的连接点标识;
连接模块702,用于当接收到第一设备发送的至少一种无线通道连接信息时,如果所述第一设备发送的无线通道连接信息中携带的连接点标识与第一设备上的连接点标识相匹配,则根据第一设备发送的无线通道连接信息建立所述连接点与第一设备的短距离无线通道。
通信模块701可以位于第二设备上,此时,已建立的连接通道可以是有线通道或短距离无线通道。另外,通信模块701也可以位于服务器上,此时,已建立的连接通道可以是无线移动通道。服务器发送的第二设备的至少一种标识信息可以被人工配置于服务器上或通过被连接设备发送给所述服务器。
在设计建立短距离无线通道的装置600和建立短距离无线通道的装置700时,可以将两个装置的功能借助App应用,也可以通过开放相应接口的操作系统实现,并可将两个装置的功能集成于同一设备上,也可以分别装载于不同的设备中,可视具体设备所需完成的功能而定。
上述装置中各个单元的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本申请方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。
Claims (26)
- 一种建立短距离无线通道的方法,其特征在于,该方法包括步骤:从已建立的连接通道接收至少一条无线通道连接信息,所述无线通道连接信息中包括第二设备上的连接点标识;如果搜索到与所述连接点标识相匹配的连接点,则根据所述无线通道连接信息与所述连接点建立短距离无线通道。
- 根据权利要求1所述的方法,其特征在于:已建立的连接通道包括至少一种以下通道:有线通道、无线移动通道、短距离无线通道。
- 根据权利要求2所述的方法,其特征在于:从已建立的连接通道接收至少一条无线通道连接信息的过程包括:通过同一条已建立的连接通道从所述第二设备或服务器接收一条以上的无线通道连接信息。
- 根据权利要求2所述的方法,其特征在于,从已建立的连接通道接收至少一条无线通道连接信息的过程包括:在未建立任何一条短距离无线通道前,通过所述无线移动通道从服务器接收所述无线通道连接信息,或通过所述有线通道从所述第二设备接收所述无线通道连接信息;在建立至少一条短距离无线通道后,通过其中一条短距离无线通道从所述第二设备接收所述无线通道连接信息。
- 根据权利要求3或4所述的方法,其特征在于,所述方法还包括:查找是否已存储有所述无线通道连接信息,如果没有,则将自身的身份验证标识通过已建立的连接通道发给所述第二设备或所述服务器进行身份验证。
- 根据权利要求5所述的方法,其特征在于,所述方法还包括步骤:建立短距离无线通道后,将该短距离无线通道所对应的无线通道连接信息存储;当根据所存储的无线通道连接信息与所述第二设备下一次建立短距离无线通道时,如果未建立成功,则删除所保存的无线通道连接信息。
- 根据权利要求2所述的方法,其特征在于,所述短距离无线通道包括以下至少一种:WIFI通道、蓝牙通道、红外通道、NFC通道;所述连接点标识包括:服务集标识、MAC地址。
- 根据权利要求1所述的方法,其特征在于,所述无线通道连接信息还包括与所 述连接点标识所对应的连接密码。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:从已建立的连接通道接收与所述连接点标识所对应的连接密码;或根据所述连接点标识与连接密码的对应关系,从本地获取所述连接密码。
- 一种建立短距离无线通道的方法,其特征在于,该方法包括步骤:将第二设备上的至少一种无线通道连接信息通过已建立的连接通道发送给第一设备,所述无线通道连接信息包括第二设备上的连接点标识;当接收到所述第一设备发送的所述无线通道连接信息时,如果所述第一设备发送的无线通道连接信息中携带的连接点标识与第二设备上的连接点标识相匹配,则根据所述第一设备发送的无线通道连接信息建立所述连接点与所述第一设备的短距离无线通道。
- 根据权利要求10所述的方法,其特征在于,所述第二设备的至少一种无线通道连接信息从所述第二设备通过已建立的有线通道或短距离无线通道发送给所述第一设备。
- 根据权利要求10所述的方法,其特征在于,第二设备的至少一种无线通道连接信息通过无线移动通道上传至服务器,并从所述服务器通过无线移动通道发送给所述第一设备。
- 根据权利要求12所述的方法,其特征在于,所述服务器发送的第二设备的至少一种标识信息被人工配置于所述服务器上或通过所述第二设备发送给所述服务器。
- 一种建立短距离无线通道的装置,其特征在于,包括:通信模块,用于从已建立的连接通道接收至少一条无线通道连接信息,并传给连接模块,所述无线通道连接信息中包括第二设备上的连接点标识;连接模块,用于在搜索到与所接收到的连接点标识相匹配的连接点时,根据所述无线通道连接信息与所述连接点建立短距离无线通道。
- 根据权利要求14所述的装置,其特征在于:已建立的连接通道包括至少一种以下通道:有线通道、无线移动通道、短距离无线通道。
- 根据权利要求15所述的装置,其特征在于:所述通信模块通过同一条已建立的连接通道从第二设备或服务器接收一条以上的无线通道连接信息。
- 根据权利要求15所述的装置,其特征在于,在未建立任何一条短距离无线通道前,所述通信模块通过所述无线移动通道从服务器接收所述无线通道连接信息,或通过所述有线通道从所述第二设备接收所述无线通道 连接信息;在建立至少一条短距离无线通道后,所述通信模块通过其中一条短距离无线通道从所述第二设备接收所述无线通道连接信息。
- 根据权利要求16或17所述的装置,其特征在于,所述装置还包括:存储模块,用于存储所述无线连接通道信息;所述通信模块还用于在所述存储模块未存储所述无线连接通道信息时,将所述建立短距离无线通道的装置的身份验证标识通过已建立的连接通道发给所述第二设备或所述服务器进行身份验证。
- 根据权利要求16所述的装置,其特征在于,所述装置还包括:处理模块,用于建立短距离无线通道后,将该短距离无线通道所对应的无线通道连接信息在存储模块中存储;以及当根据所存储的无线通道连接信息与所述第二设备下一次建立短距离无线通道时,如果未建立成功,将所述存储模块中存储的无线通道连接信息删除。
- 根据权利要求15所述的装置,其特征在于,所述短距离无线通道包括以下至少一种:WIFI通道、蓝牙通道、红外通道、NFC通道;所述连接点标识包括:服务集标识、MAC地址。
- 根据权利要求14所述的装置,其特征在于,所述无线通道连接信息还包括与所述连接点标识所对应的连接密码。
- 根据权利要求21所述的装置,其特征在于,所述连接模块还用于通过所述通信模块从已建立的连接通道接收获取与所述连接点标识对应的连接密码;或根据所述连接点标识与连接密码的对应关系,从本地获取所述连接密码。
- 一种建立短距离无线通道的装置,其特征在于,包括:通信模块,用于将第二设备上的至少一种无线通道连接信息通过已建立的连接通道发送给第一设备,所述无线通道连接信息包括第二设备上的连接点标识;连接模块,用于当接收到所述第一设备发送的至少一种无线通道连接信息时,如果所述第一设备发送的无线通道连接信息中携带的连接点标识与第二设备上的连接点标识相匹配,则根据所述第一设备发送的无线通道连接信息建立所述连接点与所述第一设备的短距离无线通道。
- 根据权利要求23所述的装置,其特征在于,所述通信模块位于第二设备上, 所述已建立的连接通道为有线通道或短距离无线通道。
- 根据权利要求23所述的装置,其特征在于,所述通信模块位于服务器上,所述已建立的连接通道为无线移动通道。
- 根据权利要求25所述的装置,其特征在于,所述服务器发送的第二设备的至少一种标识信息被人工配置于所述服务器上或通过所述第二设备发送给所述服务器。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510897297.0 | 2015-12-08 | ||
CN201510897297.0A CN106856585B (zh) | 2015-12-08 | 2015-12-08 | 建立短距离无线通道的方法及装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017097129A1 true WO2017097129A1 (zh) | 2017-06-15 |
Family
ID=59012692
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/107421 WO2017097129A1 (zh) | 2015-12-08 | 2016-11-28 | 建立短距离无线通道的方法及装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106856585B (zh) |
WO (1) | WO2017097129A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111818669A (zh) * | 2020-06-04 | 2020-10-23 | 青岛海信移动通信技术股份有限公司 | 移动终端及其数据传输方法 |
WO2021179144A1 (zh) * | 2020-03-09 | 2021-09-16 | 华为技术有限公司 | 一种车机系统登录方法及相关装置 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109118737A (zh) * | 2017-06-22 | 2019-01-01 | 深圳市优特杰科技有限公司 | 一种app遥控功放的方法、装置以及系统 |
CN108156231B (zh) * | 2017-12-21 | 2020-11-03 | 北京摩拜科技有限公司 | 故障车辆与服务器通信的方法、车辆和服务器 |
JP7025107B2 (ja) * | 2018-04-05 | 2022-02-24 | アルパイン株式会社 | 電子装置 |
CN115701725B (zh) * | 2021-08-02 | 2024-07-30 | 华为技术有限公司 | 配置用于传输业务的通道的方法及装置 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103096506A (zh) * | 2013-01-07 | 2013-05-08 | 东莞宇龙通信科技有限公司 | 终端设备、wifi连接方法及系统 |
CN103813473A (zh) * | 2014-01-17 | 2014-05-21 | 深圳市金立通信设备有限公司 | 一种通信方法、终端及系统 |
CN104010327A (zh) * | 2014-06-18 | 2014-08-27 | 江勇 | 快速接入wifi无线网络的方法及系统 |
CN104184502A (zh) * | 2014-08-28 | 2014-12-03 | 许磊 | 一种蓝牙配对装置及方法 |
US20150024688A1 (en) * | 2013-07-16 | 2015-01-22 | GM Global Technology Operations LLC | Automatic Pairing of a Vehicle and a Mobile Communications Device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104091447A (zh) * | 2014-07-16 | 2014-10-08 | 安徽味唯网络科技有限公司 | 一种智能设备识别临时用户的方法 |
-
2015
- 2015-12-08 CN CN201510897297.0A patent/CN106856585B/zh active Active
-
2016
- 2016-11-28 WO PCT/CN2016/107421 patent/WO2017097129A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103096506A (zh) * | 2013-01-07 | 2013-05-08 | 东莞宇龙通信科技有限公司 | 终端设备、wifi连接方法及系统 |
US20150024688A1 (en) * | 2013-07-16 | 2015-01-22 | GM Global Technology Operations LLC | Automatic Pairing of a Vehicle and a Mobile Communications Device |
CN103813473A (zh) * | 2014-01-17 | 2014-05-21 | 深圳市金立通信设备有限公司 | 一种通信方法、终端及系统 |
CN104010327A (zh) * | 2014-06-18 | 2014-08-27 | 江勇 | 快速接入wifi无线网络的方法及系统 |
CN104184502A (zh) * | 2014-08-28 | 2014-12-03 | 许磊 | 一种蓝牙配对装置及方法 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021179144A1 (zh) * | 2020-03-09 | 2021-09-16 | 华为技术有限公司 | 一种车机系统登录方法及相关装置 |
CN111818669A (zh) * | 2020-06-04 | 2020-10-23 | 青岛海信移动通信技术股份有限公司 | 移动终端及其数据传输方法 |
Also Published As
Publication number | Publication date |
---|---|
CN106856585A (zh) | 2017-06-16 |
CN106856585B (zh) | 2021-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017097129A1 (zh) | 建立短距离无线通道的方法及装置 | |
US10768918B2 (en) | Method and device for downloading profile of operator | |
US9338806B2 (en) | Multi-device pairing and provisioning | |
US10111025B2 (en) | Service providing terminal connection method and apparatus | |
US7974606B2 (en) | System and method for configuring devices for wireless communication | |
US20150024688A1 (en) | Automatic Pairing of a Vehicle and a Mobile Communications Device | |
US10652935B1 (en) | Secure wireless networks for vehicles | |
US9820083B2 (en) | Method and system for data sharing | |
US11419163B2 (en) | Secure wireless networks for vehicles | |
KR20140068240A (ko) | 무선 디바이스의 자동 구성 | |
CN103929748A (zh) | 一种物联网无线终端及其配置方法和无线网络接入点 | |
TWI484843B (zh) | 用於一無線通訊系統存取控制之方法及其相關無線通訊系統 | |
WO2017012368A1 (zh) | 信息处理方法、系统、车载通信装置及计算机存储介质 | |
JP5167322B2 (ja) | データ転送方法および端末 | |
WO2016045478A1 (zh) | Sim卡读写方法及终端 | |
JP2019036091A (ja) | 車両保安システム及び車両保安方法 | |
US11546954B2 (en) | Device and vehicle pairing using a network connection | |
CN102523282A (zh) | 移动终端共享数据的方法、装置及网络服务器 | |
US20230199502A1 (en) | Apparatus and Method for Remotely Managing Devices, and Program Therefor | |
CA3073190A1 (en) | Mobile number verification for mobile network-based authentication | |
US9456347B2 (en) | Connection method for enhancing information security | |
EP3267708A1 (en) | Method, server and system for sending data from a source device to a destination device | |
TW201828757A (zh) | 建立短距離無線通道的方法及裝置 | |
US9860747B2 (en) | System and method for cloud synchronizing known networks | |
KR20150105011A (ko) | 진입 확인 시스템 및 그 방법, 그리고 이에 적용되는 장치 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16872321 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16872321 Country of ref document: EP Kind code of ref document: A1 |