WO2019071866A1 - 电子设备及其无线连接方法和具有存储功能的装置 - Google Patents

电子设备及其无线连接方法和具有存储功能的装置 Download PDF

Info

Publication number
WO2019071866A1
WO2019071866A1 PCT/CN2018/071413 CN2018071413W WO2019071866A1 WO 2019071866 A1 WO2019071866 A1 WO 2019071866A1 CN 2018071413 W CN2018071413 W CN 2018071413W WO 2019071866 A1 WO2019071866 A1 WO 2019071866A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless
connection
electronic device
mobile terminal
data packet
Prior art date
Application number
PCT/CN2018/071413
Other languages
English (en)
French (fr)
Inventor
宋起涛
兰海宇
李屹
Original Assignee
深圳光峰科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳光峰科技股份有限公司 filed Critical 深圳光峰科技股份有限公司
Publication of WO2019071866A1 publication Critical patent/WO2019071866A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Definitions

  • the present invention relates to field wireless connections, particularly electronic devices and wireless connection methods thereof, and devices having storage functions.
  • the method used is to control the electronic device to automatically connect to the WIFI router through the remote controller of the electronic device, which requires the user to input the username and password of the WIFI router, which is cumbersome and error-prone; and if the projector remote controller cannot be found, In the case, there is a problem that the electronic device cannot be controlled.
  • the technical problem to be solved by the present invention is to provide an electronic device, a wireless connection method thereof, and a device having a storage function, which enable a wireless connection to be established between the mobile terminal and the electronic device.
  • a technical solution adopted by the present invention is: providing a wireless connection method for an electronic device, comprising: a function of an electronic device to activate a wireless hotspot; and an electronic device broadcasting connection information including the wireless hotspot a first data packet; the electronic device responds to the first wireless connection request sent by the mobile terminal according to the connection information in the first data packet, and establishes a first wireless connection with the mobile terminal.
  • an electronic device including: a processor and a wireless communication circuit, wherein the processor is coupled to the wireless communication circuit, the wireless The communication circuit includes a WIFI module having a wireless hotspot function for performing the method as described above.
  • another technical solution adopted by the present invention is: Providing a device having a storage function, storing program data, the program data being executable to implement the steps in the method as described above.
  • the electronic device in the present invention can automatically broadcast the connection information of its wireless hotspot, so that after receiving the broadcast connection information, the mobile terminal can The connection information establishes a wireless connection with the electronic device, so that a wireless connection can be established between the mobile terminal and the electronic device, and further, since the mobile terminal and the electronic device have established a wireless connection, the mobile terminal can be wirelessly connected.
  • Link control electronics can automatically broadcast the connection information of its wireless hotspot, so that after receiving the broadcast connection information, the mobile terminal can The connection information establishes a wireless connection with the electronic device, so that a wireless connection can be established between the mobile terminal and the electronic device, and further, since the mobile terminal and the electronic device have established a wireless connection, the mobile terminal can be wirelessly connected.
  • FIG. 1 is a schematic flow chart of a first embodiment of wireless connection of an electronic device according to the present invention
  • FIG. 2 is a schematic flow chart of a second embodiment of wireless connection of an electronic device according to the present invention.
  • FIG. 3 is a schematic structural view of a first embodiment of an electronic device structure provided by the present invention.
  • FIG. 4 is a schematic structural view of a second embodiment of an electronic device structure provided by the present invention.
  • FIG. 5 is a schematic structural diagram of a third embodiment of wireless connection of an electronic device according to the present invention.
  • FIG. 6 is a schematic structural diagram of a fourth embodiment of wireless connection of an electronic device according to the present invention.
  • FIG. 7 is a schematic structural diagram of an apparatus with a storage function provided by the present invention.
  • FIG. 1 is a schematic flow chart of a first embodiment of wireless connection of an electronic device according to the present invention.
  • the wireless connection method of the electronic device provided by the present invention includes the following steps:
  • S101 The function of the electronic device to activate the wireless hotspot.
  • the WIFI module of the electronic device generally has two working modes: STA mode (StationMode), that is, the electronic device acts as a client, and the WIFI module can receive any wireless data packet in the air; Soft AP mode (Soft AP mode), As a master device that supports hotspots and has wireless hotspot function, the WIFI module can be used as a wireless hotspot to manage and control other clients for data processing, which is equivalent to a wireless router.
  • the electronic device activates the wireless hotspot function, that is, works in a soft AP mode and operates as a wireless router. It can be understood that in other embodiments, the electronic device can also work in the soft AP mode and the STA mode, that is, the electronic device functions as both a wireless router and a client.
  • S102 The electronic device broadcasts a first data packet that includes connection information of the wireless hotspot
  • the electronic device packages the connection information of the first service set identifier including the wireless hotspot and the wireless hotspot such as the first password into the first data packet, and broadcasts the entire first data packet.
  • the form is sent out.
  • the first data packet may further include other connection information such as a MAC address of the electronic device.
  • the first mobile data packet may be sent in a peer-to-peer information transmission manner by first finding a suitable mobile terminal within the coverage of the WIFI.
  • S103 The electronic device responds to the first wireless connection request sent by the mobile terminal according to the connection information in the first data packet, and establishes a first wireless connection with the mobile terminal.
  • the mobile terminal is installed with a WIFI connection control application corresponding to the WIFI module of the electronic device, and the WIFI connection control application can be connected to the wireless network formed by the wireless hotspot of the electronic device.
  • the mobile terminal After receiving the first data packet, the mobile terminal parses the first service set identifier of the wireless hotspot included in the first data packet and the first password and other connection information, and according to the first service of the parsed wireless hotspot
  • the connection information such as the set identifier and the first password sends a first wireless connection request including the password information to the electronic device.
  • the electronic device After receiving the first wireless connection request, the electronic device determines whether the password information included in the first wireless connection request is the first password of the wireless hotspot, and if yes, responds to the first wireless connection request of the mobile terminal, and the mobile terminal Establish a first wireless connection. If not, ignore this first wireless connection request.
  • the electronic device may receive, by the mobile terminal, a video, a picture, or a Multimedia files such as PPT, audio, etc.
  • the electronic device can play, store or forward these multimedia files.
  • the electronic device may be a projector, and the multimedia file sent by the mobile terminal may be played out through projection.
  • the electronic device may receive the control message sent by the mobile terminal through the link of the first wireless connection, and execute The control message.
  • the electronic device may be a projector.
  • the mobile terminal is equivalent to a remote controller of the projector, and can control the projector to adjust the brightness, contrast and other display parameters of the projected image, and can also control the projector to change the projection.
  • the display content is equivalent to a remote controller of the projector, and can control the projector to adjust the brightness, contrast and other display parameters of the projected image, and can also control the projector to change the projection.
  • the electronic device acts as a wireless router to broadcast connection information of the wireless hotspot, so that after the mobile terminal receives the broadcast connection information, the mobile terminal can The connection information establishes a wireless connection with the electronic device, so that the mobile terminal can send the multimedia file or control the electronic device to the electronic device through the link of the wireless connection, and the method is simple and easy, and the connection information of the wireless hotspot is broadcasted and sent to The mobile terminal does not require manual input by the user, which improves the user experience.
  • FIG. 2 is a schematic flow chart of a second embodiment of a wireless connection of an electronic device according to the present invention.
  • the wireless connection method of the electronic device provided by the present invention includes the following steps:
  • S201 The function of the electronic device to activate the wireless hotspot.
  • S202 The electronic device broadcasts a first data packet including connection information of the wireless hotspot.
  • S203 The electronic device responds to the first wireless connection request sent by the mobile terminal according to the connection information in the first data packet, and establishes a first wireless connection with the mobile terminal.
  • 01 ⁇ Step S103 is basically similar, and the functions are the same, and will not be described here.
  • S204 The electronic device receives the second data packet that is sent by the mobile terminal and includes connection information of the wireless router.
  • the electronic device establishes a first wireless connection with the mobile terminal through steps S201 to S203, before, after or at the same time, the mobile terminal establishes wireless with the wireless router.
  • the mobile terminal packages the connection information such as the second service set identifier and the second password required by the wireless local area network formed by the wireless router into a second data packet, and sends the information to the electronic device through the link of the first wireless connection.
  • the second data packet may also include other connection information such as the MAC address of the router.
  • the mobile terminal does not need to establish a connection with the wireless router, and only needs to store connection information such as a second service set identifier and a second password required for the wireless local area network formed by the wireless router, and The connection information is packaged into a second data packet, which is sent to the electronic device through the link of the first wireless connection.
  • the mobile terminal may not store connection information such as a second service set identifier and a second password required by the wireless local area network formed by the wireless router, and the connection information may be manually input by the user and sent to the electronic device through the mobile terminal.
  • the electronic device can also work in the STA mode (Station Mo de) and the soft AP mode (Soft AP) mode, that is, the electronic device functions as both a wireless router and a client.
  • the electronic device operates in the STA mode, and the electronic device is used as a client, and can receive the second data packet that is broadcast by the mobile terminal, including the second service set identifier and the second password required for the wireless local area network formed by the wireless router. . That is to say, the mobile terminal does not send the second data packet through the link of the first wireless connection, but broadcasts the second data packet.
  • the second data packet may also be broadcast by the wireless router and received by the electronic device in STA mode.
  • S205 The electronic device parses the second data packet to obtain connection information of the wireless router, and generates a second connection request according to the connection information of the wireless router.
  • the electronic device parses the second data packet to obtain connection information such as a second service set identifier and a second password required by the wireless local area network formed by the wireless router, according to the second service set identifier and the first
  • connection information such as the second password sends a second connection request to the router.
  • S206 The electronic device sends the second connection request to the wireless router, and after receiving the response message of the wireless router to the second connection request, establishing a relationship with the wireless router. Two wireless connections.
  • the wireless router After receiving the second connection request sent by the electronic device, the wireless router determines whether the password information of the second connection request is the second password, and if yes, responds to the second connection. Request. If not, this second connection request is ignored. After receiving the response message from the wireless router to the second connection request, the electronic device establishes a second wireless connection with the wireless router. In this way, the electronic device can access the network through the wireless router, download the multimedia file on the network or upload the multimedia file to the network.
  • the embodiment can establish a second connection with the wireless router by sending a second connection request to the wireless router according to the connection information that is sent by the mobile terminal and including the wireless local area network that is set up with the wireless router, so that the electronic The device accesses the network through the wireless router, and the method is simple and easy.
  • the mobile terminal sends the connection information, which saves the user input process and improves the user experience.
  • FIG. 3 is a schematic structural diagram of an embodiment of an electronic device according to the present invention provided by the present invention.
  • the electronic device 10 includes a processor 11 and a wireless communication circuit 12.
  • the processor 11 couples the wireless communication circuit 12 .
  • the wireless communication circuit 12 includes a WIFI module 121 having a wireless hotspot function.
  • the electronic device 10 further includes a projection module 13 coupled to the processor 11.
  • FIG. 5 is a schematic structural view of a third embodiment of the wireless connection of the electronic device provided by the present invention.
  • the electronic device 10 works in the soft AP mode and operates as a wireless router.
  • the WIFI module 121 can be used as a wireless hotspot to manage and control other clients for data processing.
  • the electronic device 10 processor 11 packs the first service set identifier including the wireless hotspot and the connection information of the wireless hotspot such as the first password into a first data packet, and passes the entire first data packet through the WIFI module 121 of the wireless communication circuit 12 The form of the broadcast is sent out.
  • the first data packet may also include other connection information such as a MAC address of the electronic device.
  • the processor 11 controls the WIFI module 121 of the wireless communication circuit 12 to first transmit the first data packet in a point-to-point information transmission manner by finding a suitable mobile terminal within the coverage of the WI FI.
  • the mobile terminal 20 is installed with a WIFI connection control application corresponding to the WIFI module 121 of the electronic device 10, through which the WIFI connection control application can be connected to the wireless network formed by the WIFI module 121 of the electronic device 10.
  • the mobile terminal parses the first service set identifier of the wireless hotspot included in the first data packet and the first password and other connection information, and according to the first service of the parsed wireless hotspot
  • the connection information such as the set identifier and the first password transmits a first wireless connection request including the password information to the electronic device 10.
  • the electronic device 10 receives the first nothing through the WIFI module 121 of the wireless communication circuit 12.
  • the processor 11 determines whether the password information included in the first wireless connection request is the first password of the wireless hotspot, and if so, responds to the first wireless connection request of the mobile terminal, and if not, ignores the first Wireless connection request.
  • a first wireless connection is established between the WIFI module 121 of the wireless communication circuit 12 and the mobile terminal 20.
  • the electronic device 10 can receive, for example, video, picture, PP T, audio transmitted by the mobile terminal 20 through the WIFI module 121 of the wireless communication circuit 12 Wait for multimedia files.
  • the electronic device 10 can play, store or forward these multimedia files.
  • the electronic device 10 may be a projector, and the processor 11 may play the multimedia file sent by the mobile terminal 20 through the projection module 13.
  • the electronic device 10 may receive the control message sent by the mobile terminal 20 through the WIFI module 121 of the wireless communication circuit 12, The processor 11 executes the control message.
  • the electronic device 10 may be a projector.
  • the mobile terminal 20 is equivalent to a remote controller of the projector, and can control the projector to adjust the brightness, contrast and other display parameters of the projected picture, and can also control the projection.
  • the machine changes the projected display content.
  • FIG. 6 is a schematic structural view of a fourth embodiment of the wireless connection of the electronic device provided by the present invention.
  • the connection process of the electronic device 10 with the mobile terminal 20 is substantially similar to the third embodiment of the wireless connection of the electronic device provided by the present invention shown in FIG. 5, and details are not described herein again.
  • the mobile terminal 20 and the wireless router 30 establish a wireless connection according to connection information such as a second service set identifier and a second password required for the wireless local area network formed by the wireless router 30, and the mobile terminal 20 packs the connection information into the second data.
  • the package is sent to.
  • the second data packet may also include other connection information such as the router's M AC address.
  • the electronic device 10 receives the second data packet through the WIFI module 121 of the wireless communication circuit 12, and the processor 11 parses the second data packet to obtain a second service set identifier and a second password required for the wireless local area network formed by the wireless router 30.
  • the information sends a second connection request to the wireless router 30 according to the connection information such as the second service set identifier and the second password.
  • the mobile terminal 20 may not establish a connection with the wireless router 30, and only needs to store connection information such as a second service set identifier and a second password required for the wireless local area network formed by the wireless router 30, and The connection information is packaged into a second data packet and sent to the electronic device 10.
  • mobile end The terminal 20 may also not store connection information such as a second service set identifier and a second password required for the wireless local area network formed by the wireless router, and the connection information may be manually input by the user and transmitted to the electronic device 10 through the mobile terminal 20.
  • the electronic device 10 can also work in STA mode (StationMode) and soft AP mode (Soft AP).
  • the electronic device 10 operates in the STA mode, and can receive, by the wireless communication circuit 12, connection information such as a second service set identifier and a second password required by the WIFI module 121 of the mobile terminal 20, including the wireless local area network set up with the wireless router 30.
  • the second packet That is to say, the mobile terminal 20 does not transmit the second data packet through the link of the first wireless connection, but broadcasts the second data packet.
  • the second data packet may also be broadcast by the wireless router 30 and received by the electronic device 10 in STA mode.
  • the wireless router 30 After receiving the second connection request sent by the electronic device 10 through the wireless communication circuit 12, the wireless router 30 determines whether the password information of the second connection request is the second password, and if so, responds to the second connection request. If not, this second connection request is ignored. After the electronic device 10 receives the response message from the wireless router 30 to the second connection request via the wireless communication circuit 12, the processor 11 controls the WIFI module 121 of the wireless communication circuit 12 to establish a second wireless connection with the wireless router 30. Thus, the electronic device 10 can access the network through the wireless router 30, download multimedia files on the network, or upload multimedia files to the network.
  • the wireless hotspot function of the WIFI module of the electronic device is enabled to enable the electronic device to act as a wireless router to broadcast connection information of the wireless hotspot so that the mobile terminal receives the broadcast connection information.
  • the wireless connection between the electronic device and the electronic device can be established according to the connection information, so that the mobile terminal can send the multimedia file or control the electronic device to the electronic device through the link of the wireless connection, and the method is simple and easy, according to the inclusion and the transmission according to the mobile terminal.
  • connection information required by the wireless router formed by the wireless router sends a second connection request to the wireless router to establish a second connection with the wireless router, so that the electronic device can access the network through the wireless router, and the method is simple and easy, and the connection information of the wireless hotspot is The broadcast is sent to the mobile terminal without manual input by the user, which improves the user experience.
  • FIG. 7 is a schematic structural diagram of an apparatus apparatus with a storage function provided by the present invention.
  • the storage function-enabled device 40 stores at least one program or instruction 41 for executing the wireless connection method of the electronic device as shown in FIG. 1 or FIG.
  • the device having the storage function may be a storage chip in the terminal, a hard disk, or a portable hard disk or other readable and writable storage tool such as a USB flash drive, an optical disk, or the like, or a server or the like.
  • the present invention enables a mobile terminal to control an electronic device through the wireless connection by establishing a wireless connection between the electronic device and the mobile terminal, and the connection information required for establishing the connection is broadcasted by the electronic device, and moved.
  • the terminal establishes a wireless connection with the electronic device according to the received information, without manual input by the user.
  • the mobile terminal sends the connection information of the wireless router to the electronic device, and the electronic device establishes a wireless connection with the wireless router according to the connection information, and can connect to the network through the wireless router without manual input by the user.
  • the method is simple and fast, and the reliability is good, which effectively improves the user experience.
  • the electronic device of the present invention includes, but is not limited to, a projection device, a mobile phone, a flat panel display, a television.
  • Mobile terminals include but are not limited to: mobile phones, flat panel displays.
  • the electronic device can be controlled by the mobile terminal, and the electronic device can be freely combined with the mobile terminal, for example, the mobile terminal is a mobile phone, and the electronic device is a projection device, which can realize more electronic devices than the traditional remote control.

Abstract

本申请公开了电子设备及其无线连接方法和具有存储功能的装置,该电子设备的无线连接方法包括:电子设备启动无线热点的功能;电子设备广播包含所述无线热点的连接信息的第一数据包;电子设备响应移动终端根据所述第一数据包中的连接信息发出的第一无线连接请求,并建立与所述移动终端之间的第一无线连接。通过上述方式,本发明能够建立电子设备与移动终端的无线连接,使得移动终端能通过该无线连接控制电子设备。

Description

电子设备及其无线连接方法和具有存储功能的装置 技术领域
[0001] 本发明涉及领域无线连接, 特别是电子设备及其无线连接方法和具有存储功能 的装置。
背景技术
[0002] 目前市场上的很多电子设备, 例如投影机, 都可自带 WIFI联网功能。 技术问题 [0003] 电子设备与 WIFI的连接是使用电子设备的重要环节, 目前常用的方法是通过电 子设备的遥控器来控制电子设备自动去连接 WIFI路由器, 这就需要用户输入 WI FI路由器的用户名和密码, 操作繁琐, 而且容易出错; 而且如果出现找不到投影 机遥控器的情况, 就出现无法控制电子设备的问题。 用的方法是通过电子设备 的遥控器来控制电子设备自动去连接 WIFI路由器, 这就需要用户输入 WIFI路由 器的用户名和密码, 操作繁琐, 而且容易出错; 而且如果出现找不到投影机遥 控器的情况, 就出现无法控制电子设备的问题。
技术问题
问题的解决方案
技术解决方案
[0004] 本发明主要解决的技术问题是提供电子设备及其无线连接方法和具有存储功能 的装置, 能够使得移动终端与电子设备之间建立无线连接。
[0005] 为解决上述技术问题, 本发明采用的一个技术方案是: 提供一种电子设备的无 线连接方法, 包括: 电子设备启动无线热点的功能; 电子设备广播包含所述无 线热点的连接信息的第一数据包; 电子设备响应移动终端根据所述第一数据包 中的连接信息发出的第一无线连接请求, 并建立与所述移动终端之间的第一无 线连接。
[0006] 为解决上述技术问题, 本发明采用的另一个技术方案是: 提供一种电子设备, 包括: 处理器和无线通信电路, 所述处理器耦接所述无线通信电路, 所述无线 通信电路包括具有无线热点功能的 WIFI模块, 所述电子设备用于执行如上所述 的方法。
[0007] 为解决上述技术问题, 本发明采用的另一个技术方案是: 提供一种具有存储功 能的装置, 存储有程序数据, 所述程序数据能够被执行以实现如上所述方法中 的步骤。
发明的有益效果
有益效果
[0008] 本发明的有益效果是: 区别于现有技术的情况, 本发明中的电子设备通过自动 广播其无线热点的连接信息, 以使移动终端接收到其广播的连接信息后, 可根 据该连接信息建立与电子设备之间的无线连接, 故可在移动终端与电子设备之 间建立无线连接, 且进一步地, 由于移动终端与电子设备已建立无线连接, 故 使得移动终端可通过无线连接的链路控制电子设备。
对附图的简要说明
附图说明
[0009] 图 1是 本发明提供的电子设备的无线连接第一实施例的流程示意图;
[0010] 图 2是 本发明提供的电子设备的无线连接第二实施例的流程示意图;
[0011] 图 3是 本发明提供的电子设备结构第一实施例结构示意图;
[0012] 图 4是 本发明提供的电子设备结构第二实施例结构示意图;
[0013] 图 5是 本发明提供的电子设备的无线连接第三实施例的结构示意图
[0014] 图 6是 本发明提供的电子设备的无线连接第四实施例的结构示意图;
[0015] 图 7是本发明提供的具有存储功能的装置实施例的结构示意图。
本发明的实施方式
[0016] 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部 的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳 动前提下所获得的所有其他实施例, 均属于本发明保护的范围。 [0017] 请参阅图 1, 图 1是本发明提供的电子设备的无线连接第一实施例的流程示意图
, 本发明提供的电子设备的无线连接方法包括以下步骤:
[0018] S101 : 电子设备启动无线热点的功能。
[0019] 电子设备的 WIFI模块一般存在两种工作模式: STA模式 (StationMode) , 即电 子设备作为客户端, 其 WIFI模块此吋可以接收空中任何无线数据包; 软 AP 模式 (Soft AP模式), 电子设备作为一个支持热点且具有无线热点功能的主设备 , 其 WIFI模块作为无线热点可以管理和控制其他客户端进行数据处理, 相当于 一个无线路由器。
[0020] 在本实施场景中, 电子设备启动无线热点功能, 即为工作在软 AP模式下, 作 为一个无线路由器工作。 可以理解, 在其他实施例中, 电子设备也可以同吋工 作在软 AP模式和 STA模式下, 即电子设备既作为无线路由器也作为客户端。
[0021] S102: 电子设备广播包含所述无线热点的连接信息的第一数据包;
[0022] 在同一个具体的实施场景中, 电子设备将包含无线热点的第一服务集标识和第 一密码等无线热点的连接信息打包成第一数据包, 并将整个第一数据包以广播 的形式发送出去。 在其他实施场景中, 第一数据包还可以包括电子设备的 MAC 地址等其他连接信息。 也可以是先在 WIFI覆盖范围内所搜到合适的移动终端以 点对点的信息传输方式将第一数据包发送出去。
[0023] S103: 电子设备响应移动终端根据所述第一数据包中的连接信息发出的第一无 线连接请求, 并建立与所述移动终端之间的第一无线连接。
[0024] 在一个具体的实施场景中, 移动终端安装有与电子设备 WIFI模块对应的 WIFI 连接控制应用, 通过所述 WIFI连接控制应用可以连接到电子设备的无线热点形 成的无线网络。 移动终端通过该无线网络接收到第一数据包后, 解析出第一数 据包中包括的无线热点的第一服务集标识和第一密码等连接信息, 并依据解析 出的无线热点的第一服务集标识和第一密码等连接信息向电子设备发出包括密 码信息的第一无线连接请求。 电子设备在接收到第一无线连接请求后, 判断第 一无线连接请求中包括的密码信息是否为无线热点的第一密码, 如果是, 则响 应移动终端的第一无线连接请求, 与移动终端之间建立第一无线连接。 如果不 是则忽略此第一无线连接请求。 [0025] 在另一个具体的实施场景中, 在电子设备与移动终端之间建立了第一无线连接 之后, 电子设备可以通过第一无线连接的链路接收由移动终端发送的诸如视频 、 图片、 PPT、 音频等多媒体文件。 电子设备可以播放、 储存或者转发这些多媒 体文件。 例如电子设备可以是投影机, 可以将移动终端发送的多媒体文件通过 投影播放出来。
[0026] 在另一个具体的实施场景中, 在电子设备与移动终端之间建立了第一无线连接 之后, 电子设备可以通过第一无线连接的链路接收由移动终端发送的控制消息 , 并执行该控制消息。 例如电子设备可以是投影机, 移动终端在第一无线连接 建立后, 相当于是投影机的遥控器, 可以控制投影机调整投射出的画面的亮度 , 对比度等显示参数, 也可以控制投影机改变投射出的显示内容。
[0027] 通过上述描述可知, 本实施例通过启动电子设备的无线热点功能, 让电子设备 充当无线路由器, 广播其无线热点的连接信息, 以使移动终端接收到其广播的 连接信息后, 可根据该连接信息建立与电子设备之间的无线连接, 从而移动终 端可以通过这个无线连接的链路向电子设备发送多媒体文件或者控制电子设备 , 方法简单易行, 且无线热点的连接信息是广播发送给移动终端的, 无需用户 手动输入, 提高了用户体验。
[0028] 请参阅图 2, 图 2是本发明提供的电子设备的无线连接第二实施例的流程示意图 。 本发明提供的电子设备的无线连接方法包括如下步骤:
[0029] S201 : 电子设备启动无线热点的功能。
[0030] S202: 电子设备广播包含所述无线热点的连接信息的第一数据包。
[0031 ] S203: 电子设备响应移动终端根据所述第一数据包中的连接信息发出的第一无 线连接请求, 并建立与所述移动终端之间的第一无线连接。
[0032] 步骤 S201~步骤 203与本发明提供的电子设备的无线连接第一实施例中的步骤 S1
01〜步骤 S103基本类似, 且所起到的功能相同, 此处不再赘述。
[0033] S204: 电子设备接收所述移动终端发送的包含无线路由器的连接信息的第二数 据包。
[0034] 在一个具体的实施场景中, 电子设备经过步骤 S201〜步骤 S203 , 与移动终端建 立第一无线连接, 在此之前、 之后或者同吋, 移动终端与无线路由器建立无线 连接, 移动终端将与无线路由器组建的无线局域网所需的第二服务集标识和第 二密码等连接信息打包成第二数据包, 通过第一无线连接的链路发送给电子设 备。 在其他实施场景中, 第二数据包还可以包括路由器的 MAC地址等其他连接 f π息。
[0035] 在另一个具体的实施场景中, 移动终端不需要与无线路由器建立连接, 只需要 储存有与无线路由器组建的无线局域网所需的第二服务集标识和第二密码等连 接信息, 将这些连接信息打包成第二数据包, 通过第一无线连接的链路发送给 电子设备即可。 或者移动终端也可以不储存与无线路由器组建的无线局域网所 需的第二服务集标识和第二密码等连接信息, 这些连接信息可以是由用户手动 输入, 并通过移动终端发送给电子设备。
[0036] 在另一个具体的实施场景中, 电子设备还可以同吋工作在 STA模式 (StationMo de) 和软 AP模式 (Soft AP )模式, 即电子设备既作为无线路由器也作为客户端。 电子设备工作在 STA模式吋, 电子设备作为客户端使用, 可以接收由移动终端广 播的包括与无线路由器组建的无线局域网所需的第二服务集标识和第二密码等 连接信息的第二数据包。 也就是说移动终端并不通过第一无线连接的链路发送 第二数据包, 而是广播发送第二数据包。
[0037] 在其他实施例中, 第二数据包还可以是由无线路由器广播出去, 由电子设备在 STA模式下接收。
[0038] S205: 电子设备解析所述第二数据包得到所述无线路由器的连接信息, 并根据 所述无线路由器的连接信息生成第二连接请求。
[0039] 在一个具体的实施场景中, 电子设备解析第二数据包, 得到无线路由器组建的 无线局域网所需的第二服务集标识和第二密码等连接信息, 根据第二服务集标 识和第二密码等连接信息向路由器发送第二连接请求。
[0040] S206: 电子设备向所述无线路由器发送所述第二连接请求, 并在接收到所述无 线路由器对所述第二连接请求的响应消息后, 建立与所述无线路由器之间的第 二无线连接。
[0041] 在一个具体的实施场景中, 无线路由器在接收到电子设备发送的第二连接请求 后, 判断第二连接请求的密码信息是否是第二密码, 如果是, 则响应第二连接 请求。 如果不是, 则忽略此第二连接请求。 电子设备在接收到无线路由器对第 二连接请求的响应消息后, 建立与无线路由器之间的第二无线连接。 这样电子 设备可以通过无线路由器访问网络, 在网络上下载多媒体文件或者向网络上传 多媒体文件。
[0042] 通过上述描述可知, 本实施例通过根据移动终端发送的包含与无线路由器组建 的无线局域网所需的连接信息, 向无线路由器发送第二连接请求与无线路由器 建立第二连接, 可以使得电子设备通过无线路由器访问网络, 方法简单易行, 通过移动终端发送连接信息, 省去了用户输入的过程, 提高了用户体验。
[0043] 请参阅图 3, 图 3是本发明提供的本发明提供的电子设备结构实施例的结构示意 图。 电子设备 10包括处理器 11和无线通信电路 12。 处理器 11耦合无线通信电路 1 2。 其中, 无线通信电路 12包括具有无线热点功能的 WIFI模块 121。
[0044] 在其他实施例中, 如图 4所示, 电子设备 10还包括与处理器 11耦接的投影模组 1 3。
[0045] 请结合参阅图 5, 图 5是本发明提供的电子设备的无线连接第三实施例的结构示 意图。 电子设备 10工作在软 AP模式下, 作为一个无线路由器工作, WIFI模块 121 作为无线热点可以管理和控制其他客户端进行数据处理。 电子设备 10处理器 11 将包含无线热点的第一服务集标识和第一密码等无线热点的连接信息打包成第 一数据包, 并将整个第一数据包通过无线通信电路 12的 WIFI模块 121以广播的形 式发送出去。 在其他实施场景中, 第一数据包还可以包括电子设备的 MAC地址 等其他连接信息。 也可以是处理器 11控制无线通信电路 12的 WIFI模块 121先在 WI FI覆盖范围内所搜到合适的移动终端以点对点的信息传输方式将第一数据包发送 出去。
[0046] 移动终端 20安装有与电子设备 10的 WIFI模块 121对应的 WIFI连接控制应用, 通 过该 WIFI连接控制应用可以连接到电子设备 10的 WIFI模块 121形成的无线网络。 移动终端通过该无线网络接收到第一数据包后, 解析出第一数据包中包括的无 线热点的第一服务集标识和第一密码等连接信息, 并依据解析出的无线热点的 第一服务集标识和第一密码等连接信息向电子设备 10发出包括密码信息的第一 无线连接请求。 电子设备 10在通过无线通信电路 12的 WIFI模块 121接收到第一无 线连接请求后, 处理器 11判断第一无线连接请求中包括的密码信息是否为无线 热点的第一密码, 如果是, 则响应移动终端的第一无线连接请求, 如果不是, 则忽略此第一无线连接请求。 通过无线通信电路 12的 WIFI模块 121与移动终端 20 之间建立第一无线连接。
[0047] 在电子设备 10与移动终端 20之间建立了第一无线连接之后, 电子设备 10可以通 过无线通信电路 12的 WIFI模块 121接收由移动终端 20发送的诸如视频、 图片、 PP T、 音频等多媒体文件。 电子设备 10可以播放、 储存或者转发这些多媒体文件。 例如, 如图 4所示, 电子设备 10可以是投影机, 处理器 11可以将移动终端 20发送 的多媒体文件通过投影模组 13播放出来。
[0048] 在其他实施例中, 在电子设备 10与移动终端 20之间建立了第一无线连接之后, 电子设备 10可以通过无线通信电路 12的 WIFI模块 121接收由移动终端 20发送的控 制消息, 处理器 11执行该控制消息。 例如电子设备 10可以是投影机, 移动终端 2 0在第一无线连接建立后, 相当于是投影机的遥控器, 可以控制投影机调整投射 出的画面的亮度, 对比度等显示参数, 也可以控制投影机改变投射出的显示内 容。
[0049] 请结合参考图 6, 图 6是本发明提供的电子设备的无线连接第四实施例的结构示 意图。 电子设备 10与移动终端 20的连接过程与图 5所示的本发明提供的电子设备 的无线连接第三实施例基本类似, 此处不再赘述。
[0050] 移动终端 20与无线路由器 30根据与无线路由器 30组建的无线局域网所需的第二 服务集标识和第二密码等连接信息建立无线连接, 移动终端 20将这些连接信息 打包成第二数据包发送给。 在其他实施例中, 第二数据包还可以包括路由器的 M AC地址等其他连接信息。 电子设备 10通过无线通信电路 12的 WIFI模块 121接收 第二数据包, 处理器 11解析第二数据包, 得到与无线路由器 30组建的无线局域 网所需的第二服务集标识和第二密码等连接信息, 根据第二服务集标识和第二 密码等连接信息向无线路由器 30发送第二连接请求。
[0051] 在其他实施例中, 移动终端 20可以不与无线路由器 30建立连接, 只需要储存有 与无线路由器 30组建的无线局域网所需的第二服务集标识和第二密码等连接信 息, 将这些连接信息打包成第二数据包, 发送给电子设备 10即可。 或者移动终 端 20也可以不储存与无线路由器组建的无线局域网所需的第二服务集标识和第 二密码等连接信息, 这些连接信息可以是由用户手动输入, 并通过移动终端 20 发送给电子设备 10。
[0052] 在其他实施例中, 电子设备 10还可以同吋工作在 STA模式 (StationMode) 和软 AP模式 (Soft AP
)模式。 电子设备 10工作在 STA模式吋, 可以通过无线通信电路 12接收由移动终 端 20的 WIFI模块 121广播的包括与无线路由器 30组建的无线局域网所需的第二服 务集标识和第二密码等连接信息的第二数据包。 也就是说移动终端 20并不通过 第一无线连接的链路发送第二数据包, 而是广播发送第二数据包。
[0053] 在其他实施例中, 第二数据包还可以是由无线路由器 30广播出去, 由电子设备 10在 STA模式下接收。
[0054] 无线路由器 30在接收到电子设备 10通过无线通信电路 12发送的第二连接请求后 , 判断第二连接请求的密码信息是否是第二密码, 如果是, 则响应第二连接请 求。 如果不是, 则忽略此第二连接请求。 电子设备 10在通过无线通信电路 12接 收到无线路由器 30对第二连接请求的响应消息后, 处理器 11控制无线通信电路 1 2的 WIFI模块 121建立与无线路由器 30之间的第二无线连接。 这样电子设备 10可 以通过无线路由器 30访问网络, 在网络上下载多媒体文件或者向网络上传多媒 体文件。
[0055] 通过上述描述可知本实施例通过启动电子设备的 WIFI模块的无线热点功能, 让 电子设备充当无线路由器, 播其无线热点的连接信息, 以使移动终端接收到其 广播的连接信息后, 可根据该连接信息建立与电子设备之间的无线连接, 从而 移动终端可以通过这个无线连接的链路向电子设备发送多媒体文件或者控制电 子设备, 方法简单易行, 通过根据移动终端发送的包含与无线路由器组建的无 线局域网所需的连接信息, 向无线路由器发送第二连接请求与无线路由器建立 第二连接, 可以使得电子设备通过无线路由器访问网络, 方法简单易行, 且无 线热点的连接信息是广播发送给移动终端的, 无需用户手动输入, 提高了用户 体验。
[0056] 请参阅图 7, 图 7是本发明提供的具有存储功能的装置实施例的结构示意图。 具 有存储功能的装置 40中存储有至少一个程序或指令 41, 程序 41或指令用于执行 如图 1或如图 2所示的电子设备的无线连接方法。 在一个实施例中, 具有存储功 能的装置可以是终端中的存储芯片、 硬盘或者是移动硬盘或者优盘、 光盘等其 他可读写存储的工具, 还可以是服务器等等。
[0057] 通过上述描述可知, 本发明具有存储功能的装置实施例中存储的程序可以用来 实现电子设备的无线连接方法, 方法简单, 可靠性高。
[0058] 区别于现有技术, 本发明通过让电子设备与移动终端之间建立无线连接, 使得 移动终端能通过该无线连接控制电子设备, 建立该连接所需的连接信息由电子 设备广播, 移动终端根据接收到信息与电子设备建立无线连接, 无需用户手动 输入。 移动终端将无线路由器的连接信息发送给电子设备, 电子设备根据这个 连接信息与无线路由器建立无线连接, 可以通过无线路由器连接网络, 无需用 户手动输入。 方法简单快捷, 可靠性好, 有效提高了用户体验。
[0059] 本发明的电子设备包括但不限于: 投影装置、 手机、 平板显示、 电视。 移动终 端包括但不限于: 手机、 平板显示。 其中, 电子设备可以通过移动终端控制, 电子设备可以和移动终端自由组合, 比如: 移动终端为手机, 电子设备为投影 装置, 该方式相比传统的通过遥控器控制, 能够实现电子设备的更多应用功能
[0060] 以上所述仅为本发明的实施方式, 并非因此限制本发明的专利范围, 凡是利用 本发明说明书及附图内容所作的等效结构或等效流程变换, 或直接或间接运用 在其他相关的技术领域, 均同理包括在本发明的专利保护范围内。
[0061]

Claims

权利要求书
[权利要求 1] 1.一种电子设备的无线连接方法, 其特征在于, 包括:
电子设备启动无线热点的功能;
电子设备广播包含所述无线热点的连接信息的第一数据包; 电子设备响应移动终端根据所述第一数据包中的连接信息发出的第一 无线连接请求, 并建立与所述移动终端之间的第一无线连接。
[权利要求 2] 根据权利要求 1所述的无线连接方法, 其特征在于, 所述无线热点的 连接信息包括无线热点的第一服务集标识和第一密码; 所述移动终端 发出的第一无线连接请求包括密码信息;
所述电子设备响应移动终端根据所述第一数据包中的连接信息发出的 第一无线连接请求, 并建立与所述动终端之间的第一无线连接的步骤 , 包括:
判断所述移动终端发送第一无线连接请求中包含密码信息是否为所述 无线热点的第一密码;
若是, 则向所述移动终端发送对所述第一无线连接请求的响应消息, 并建立与所述移动终端之间的第一无线连接。
[权利要求 3] 根据权利要求 1所述的无线连接方法, 其特征在于, 在所述建立与所 述移动终端之间的第一无线连接之后, 所述方法还包括:
电子设备接收所述移动终端发送的包含无线路由器的连接信息的第二 数据包;
电子设备解析所述第二数据包得到所述无线路由器的连接信息, 并根 据所述无线路由器的连接信息生成第二连接请求; 电子设备向所述无线路由器发送所述第二连接请求, 并在接收到所述 无线路由器对所述第二连接请求的响应消息后, 建立与所述无线路由 器之间的第二无线连接。
[权利要求 4] 根据权利要求 3所述的无线连接方法, 其特征在于, 所述无线路由器 的连接信息包括所述无线路由器组建的无线局域网的第二服务集标识 和第二密码; 所述根据所述无线路由器的连接信息生成第二连接请求, 包括: 生成包含所述第二密码的第二连接请求。
[权利要求 5] 根据权利要求 1所述的无线连接方法, 其特征在于, 在建立与所述移 动终端之间的第一无线连接之后, 还包括:
通过所述第一无线连接的链路接收所述移动终端发送的控制消息, 并 执行所述控制消息;
通过所述第一无线连接的链路向所述移动终端发送多媒体数据。
[权利要求 6] —种电子设备, 其特征在于, 包括:
处理器和无线通信电路, 所述处理器耦接所述无线通信电路; 所述无 线通信电路包括具有无线热点功能的 WIFI模块; 所述无线通信电路在所述处理器的控制下:
启动所述 WIFI模块的无线热点的功能;
广播包含所述无线热点的连接信息的第一数据包; 响应移动终端根据所述第一数据包中的连接信息发出的第一无线连接 请求, 并建立与所述移动终端之间的第一无线连接;
通过所述第一无线连接的链路接收所述移动终端发送的控制消息, 并 执行所述控制消息;
通过所述第一无线连接的链路向所述移动终端发送多媒体数据。
[权利要求 7] 7.根据权利要求 6所述的电子设备, 其特征在于, 所述无线通信电路 在所述处理器的控制下还可以:
接收所述移动终端发送的包含无线路由器的连接信息的第二数据包; 在所述处理器解析所述第二数据包得到所述无线路由器的连接信息, 并根据所述无线路由器的连接信息生成第二连接请求之后; 所述无线通信电路在所述处理器的控制下向所述无线路由器发送所述 第二连接请求, 并在接收到所述无线路由器对所述第二连接请求的响 应消息后, 建立与所述无线路由器之间的第二无线连接。
[权利要求 8] 8.根据权利要求 6所述的电子设备, 其特征在于,
所述无线热点的连接信息包括无线热点的第一服务集标识和第一密码 ; 所述移动终端发出的第一无线连接请求包括密码信息;
根据权利要求 6所述的电子设备, 其特征在于, 还包括: 与所述处理 器连接的投影模组。
[权利要求 9] 一种具有存储功能的装置, 其特征在于, 存储有程序数据, 所述程序 数据能够被执行以实现如权利要求 1-5任一项所述方法中的步骤。
PCT/CN2018/071413 2017-10-12 2018-01-04 电子设备及其无线连接方法和具有存储功能的装置 WO2019071866A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710951517.2A CN109661040B (zh) 2017-10-12 2017-10-12 电子设备及其无线连接方法和具有存储功能的装置
CN201710951517.2 2017-10-12

Publications (1)

Publication Number Publication Date
WO2019071866A1 true WO2019071866A1 (zh) 2019-04-18

Family

ID=66100359

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/071413 WO2019071866A1 (zh) 2017-10-12 2018-01-04 电子设备及其无线连接方法和具有存储功能的装置

Country Status (2)

Country Link
CN (1) CN109661040B (zh)
WO (1) WO2019071866A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103648181A (zh) * 2013-12-24 2014-03-19 广州爱的信息科技有限公司 一种无线网络音响设备的无线网络连接方法
CN104159321A (zh) * 2013-05-14 2014-11-19 杭州海康威视数字技术股份有限公司 Wi-Fi配置方法及系统
US20150049646A1 (en) * 2013-08-14 2015-02-19 Samsung Electronics Co., Ltd. Method and apparatus for executing an application by using a communication address
CN105554754A (zh) * 2015-12-16 2016-05-04 Tcl集团股份有限公司 一种物联网wifi模块接入网络的方法及系统
CN106454446A (zh) * 2016-09-29 2017-02-22 努比亚技术有限公司 屏幕投影装置和方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104159321A (zh) * 2013-05-14 2014-11-19 杭州海康威视数字技术股份有限公司 Wi-Fi配置方法及系统
US20150049646A1 (en) * 2013-08-14 2015-02-19 Samsung Electronics Co., Ltd. Method and apparatus for executing an application by using a communication address
CN103648181A (zh) * 2013-12-24 2014-03-19 广州爱的信息科技有限公司 一种无线网络音响设备的无线网络连接方法
CN105554754A (zh) * 2015-12-16 2016-05-04 Tcl集团股份有限公司 一种物联网wifi模块接入网络的方法及系统
CN106454446A (zh) * 2016-09-29 2017-02-22 努比亚技术有限公司 屏幕投影装置和方法

Also Published As

Publication number Publication date
CN109661040A (zh) 2019-04-19
CN109661040B (zh) 2021-08-17

Similar Documents

Publication Publication Date Title
EP3550888B1 (en) Wireless connection switching method and terminal
EP2640100B1 (en) Method and apparatus for providing an enhanced wi-fi display session in a wi-fi display network
KR101653671B1 (ko) Wi-Fi 디스플레이 연결의 오디오 및 음성 백 채널들의 설정 및 제어
US10264038B2 (en) Discovery and management of synchronous audio or video streaming service to multiple sinks in wireless display system
WO2019085351A1 (zh) 无线连接方法及设备
US9749373B2 (en) System and method for improved content streaming
CN110636483A (zh) 一种配网方法及系统
EP3318089A1 (en) Service discovery and topology management
CN104219551A (zh) 一种智能设备屏幕共享与远程控制的方法
WO2014036957A1 (zh) 设备间共享内容的方法、设备及系统
WO2018103733A1 (zh) 一种控制方法及设备
WO2012109821A1 (zh) 流媒体资源共享的方法、系统及具有dlna功能的设备
US10104153B2 (en) Method and device for processing information
WO2019019032A1 (zh) 下行数据包配置方法及装置
CN107006054B (zh) 用于音频-视频中继的无线对接方法和系统
CN103442381A (zh) 一种Wifi Display的优化方法、终端及系统
WO2014036933A1 (zh) 一种设备间共享内容的方法、设备及系统
WO2019071866A1 (zh) 电子设备及其无线连接方法和具有存储功能的装置
TW201427463A (zh) 多媒體串流的播放系統與方法
KR101868153B1 (ko) 와이파이 다이렉트 기반 서비스 제공 방법 및 장치
WO2020049352A1 (zh) 近场文件传输方法及其装置
WO2012100558A1 (zh) 媒体播放的控制方法和装置
WO2020063341A1 (zh) 一种视频传输的方法和设备
TWI622076B (zh) 顯示裝置
US9338821B2 (en) Content transmission terminal, service providing device, communication system, communication method, and computer-readable recording device for recording program

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: 18865968

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: 18865968

Country of ref document: EP

Kind code of ref document: A1