CN108601062A - WiFi connections sharing method, terminal and computer storage media - Google Patents
WiFi connections sharing method, terminal and computer storage media Download PDFInfo
- Publication number
- CN108601062A CN108601062A CN201810716143.0A CN201810716143A CN108601062A CN 108601062 A CN108601062 A CN 108601062A CN 201810716143 A CN201810716143 A CN 201810716143A CN 108601062 A CN108601062 A CN 108601062A
- Authority
- CN
- China
- Prior art keywords
- wifi
- terminal
- verification information
- access
- requesting terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种WiFi连接共享方法、终端及计算机存储介质,该方法通过建立与请求终端之间的第一通讯连接;基于第一通讯连接,将WiFi热点设备的接入验证信息进行透明化处理后发送给请求终端,以用于请求终端连接至WiFi热点设备;其中将接入验证信息进行透明化处理后对请求终端不可见;实现了WiFi连接共享,使请求终端可以接入到相应的WiFi热点;本发明还公开了一种终端及计算机存储介质,通过实施上述方案,解决了现有WiFi共享方案由于对端用户可以会直接得到WiFi热点名称和接入密码,导致存在较高安全风险的问题。
The invention discloses a WiFi connection sharing method, a terminal and a computer storage medium. The method establishes a first communication connection with a requesting terminal; based on the first communication connection, the access verification information of a WiFi hotspot device is transparent After processing, it is sent to the requesting terminal for the requesting terminal to connect to the WiFi hotspot device; the access verification information is transparently processed and invisible to the requesting terminal; WiFi connection sharing is realized, so that the requesting terminal can access the corresponding WiFi hotspot; the present invention also discloses a terminal and a computer storage medium. By implementing the above-mentioned scheme, it solves the problem of high security risk in the existing WiFi sharing scheme because the opposite end user may directly obtain the name of the WiFi hotspot and the access password. The problem.
Description
技术领域technical field
本发明涉及终端应用技术领域,更具体地说,涉及一种WiFi连接共享方法、终端及计算机存储介质。The present invention relates to the technical field of terminal applications, and more specifically, to a WiFi connection sharing method, a terminal and a computer storage medium.
背景技术Background technique
随着移动终端的普及,WiFi(Wireless Fidelity,无线保真)上网成为人们日常生活中一种普遍的上网方式。传统的WiFi连接共享方法是:假设终端A能够成功连接到WiFi热点P,也即终端A中保存有该WiFi热点P的接入密码,当终端B需要接入到WiFi热点P时,终端A的用户点击WiFi密码分享按钮,终端A生成一二维码,然后终端B的用户通过打开相机进行扫描,识别并显示该WiFi热点名称以及接入密码,从而将WiFi密码分享给其他终端用户实现WiFi连接。但这种WiFi共享方案对WiFi热点接入密码的保护性欠缺,对端用户可以直接得到该WiFi名称和接入密码,存在较高的安全风险。With the popularization of mobile terminals, WiFi (Wireless Fidelity, wireless fidelity) surfing the Internet has become a common way of surfing the Internet in people's daily life. The traditional WiFi connection sharing method is: assuming that terminal A can successfully connect to WiFi hotspot P, that is, the access password of the WiFi hotspot P is stored in terminal A, when terminal B needs to access WiFi hotspot P, terminal A's The user clicks the WiFi password sharing button, terminal A generates a QR code, and then the user of terminal B scans by turning on the camera to identify and display the name of the WiFi hotspot and the access password, so as to share the WiFi password with other terminal users to realize WiFi connection . However, this WiFi sharing scheme lacks protection for the WiFi hotspot access password, and the peer user can directly obtain the WiFi name and access password, which has a high security risk.
发明内容Contents of the invention
本发明要解决的技术问题在于:现有WiFi共享方案对接入密码的保护性欠缺,存在较高的安全风险。针对该技术问题,提供一种****方法、终端及计算机存储介质。The technical problem to be solved by the present invention is that the existing WiFi sharing scheme lacks protection for access passwords, and there is a relatively high security risk. Aiming at this technical problem, an anti-virus method, a terminal and a computer storage medium are provided.
为解决上述技术问题,本发明提供一种WiFi连接共享方法,应用于控制终端,所述WiFi连接共享方法包括:In order to solve the above technical problems, the present invention provides a WiFi connection sharing method, which is applied to a control terminal, and the WiFi connection sharing method includes:
建立与请求终端之间的第一通讯连接;establishing a first communication connection with the requesting terminal;
基于所述第一通讯连接,将WiFi热点设备的接入验证信息进行透明化处理后发送给所述请求终端,以用于所述请求终端连接至所述WiFi热点设备;所述将所述接入验证信息进行透明化处理后对所述请求终端不可见。Based on the first communication connection, transparently process the access verification information of the WiFi hotspot device and then send it to the requesting terminal for the requesting terminal to connect to the WiFi hotspot device; The input authentication information is invisible to the requesting terminal after being transparently processed.
可选的,所述将WiFi热点设备的接入验证信息进行透明化处理后发送给所述请求终端包括:Optionally, the transparently processing the access verification information of the WiFi hotspot device and sending it to the requesting terminal includes:
接收到所述请求终端发送的用于请求接入WiFi热点设备的WiFi连接请求,并根据所述WiFi连接请求,将WiFi热点设备的接入验证信息进行透明化处理后发送给所述请求终端。receiving the WiFi connection request for accessing the WiFi hotspot device sent by the requesting terminal, and according to the WiFi connection request, transparently processing the access verification information of the WiFi hotspot device and sending it to the requesting terminal.
可选的,所述根据所述WiFi连接请求,将WiFi热点设备的接入验证信息进行透明化处理后发送给所述请求终端包括:Optionally, the sending the access verification information of the WiFi hotspot device to the requesting terminal after transparent processing according to the WiFi connection request includes:
解析所述WiFi连接请求,判断所述WiFi连接请求中是否包含所请求连接的WiFi热点名称,根据判断结果获取相应的接入验证信息,并将所述接入验证信息进行透明化处理后发送给所述请求终端。Analyzing the WiFi connection request, judging whether the WiFi connection request includes the WiFi hotspot name of the requested connection, obtaining corresponding access verification information according to the judgment result, and sending the access verification information to The requesting terminal.
可选的,所述根据判断结果获取相应的接入验证信息包括:Optionally, said obtaining corresponding access verification information according to the judgment result includes:
当判断结果为所述WiFi连接请求中包含所请求连接的WiFi热点名称时,获取的接入验证信息包括与所述WiFi热点名称对应的WiFi热点设备之第一接入密码;When the judgment result is that the WiFi connection request includes the WiFi hotspot name of the requested connection, the obtained access verification information includes the first access password of the WiFi hotspot device corresponding to the WiFi hotspot name;
当判断结果为所述WiFi连接请求中不包含所请求连接的WiFi热点名称时,获取的接入验证信息包括WiFi热点名称以及与之对应的WiFi热点设备之第二接入密码。When the judgment result is that the WiFi connection request does not include the name of the WiFi hotspot requested for connection, the obtained access verification information includes the name of the WiFi hotspot and the second access password of the corresponding WiFi hotspot device.
可选的,所述将WiFi热点设备的接入验证信息进行透明化处理后发送给所述请求终端包括:Optionally, the transparently processing the access verification information of the WiFi hotspot device and sending it to the requesting terminal includes:
获取所述WiFi热点设备的接入验证信息,并获取所述WiFi热点设备对应的加密密钥;Obtain the access verification information of the WiFi hotspot device, and obtain the encryption key corresponding to the WiFi hotspot device;
根据所述加密密钥对所述接入验证信息进行加密;Encrypting the access verification information according to the encryption key;
将加密后的接入验证信息发送给所述请求终端。Send the encrypted access verification information to the requesting terminal.
可选的,所述第一通讯连接为近距离通讯,所述近距离通讯包括近场通讯、蓝牙、热点、ZigBee中的一种。Optionally, the first communication connection is short-distance communication, and the short-distance communication includes one of near field communication, Bluetooth, hotspot, and ZigBee.
可选的,所述建立与请求终端之间的第一通讯连接之前,还包括:Optionally, before establishing the first communication connection with the requesting terminal, it also includes:
建立与所述WiFi热点设备之间的第二通讯连接,所述第二通讯连接为WiFi连接。Establishing a second communication connection with the WiFi hotspot device, where the second communication connection is a WiFi connection.
进一步地,本发明还提供了一种WiFi连接共享方法,应用于请求终端,所述WiFi连接共享方法包括:Further, the present invention also provides a WiFi connection sharing method, which is applied to a requesting terminal, and the WiFi connection sharing method includes:
建立与控制终端之间的第一通讯连接;establishing a first communication connection with the control terminal;
基于所述第一通讯连接,接收由所述控制终端发送的WiFi热点设备的接入验证信息,所述接入验证信息是经所述控制终端进行透明化处理的,对本端不可见;Based on the first communication connection, receiving the access verification information of the WiFi hotspot device sent by the control terminal, the access verification information is transparently processed by the control terminal and is invisible to the local end;
根据所述经透明化处理后的接入验证信息连接到所述WiFi热点设备。Connect to the WiFi hotspot device according to the transparently processed access verification information.
进一步地,本发明还提供了一种WiFi连接共享方法,应用于WiFi连接共享系统,所述WiFi连接共享方法包括:Further, the present invention also provides a WiFi connection sharing method, which is applied to a WiFi connection sharing system, and the WiFi connection sharing method includes:
建立请求终端与控制终端之间的第一通讯连接;establishing a first communication connection between the requesting terminal and the controlling terminal;
基于所述第一通讯连接,所述控制终端将WiFi热点设备的接入验证信息进行透明化处理后发送给所述请求终端;所述控制终端对所述接入验证信息进行透明化处理后对所述请求终端不可见;Based on the first communication connection, the control terminal transparently processes the access verification information of the WiFi hotspot device and then sends it to the requesting terminal; the control terminal transparently processes the access verification information and sends the requesting terminal is not visible;
所述请求终端接收所述经透明化处理后的接入验证信息,并根据所述经透明化处理后的接入验证信息连接到所述WiFi热点设备。The requesting terminal receives the transparently processed access verification information, and connects to the WiFi hotspot device according to the transparently processed access verification information.
进一步地,本发明还提供了一种终端,所述终端包括第一处理器、第一存储器及第一通讯总线;Further, the present invention also provides a terminal, which includes a first processor, a first memory, and a first communication bus;
所述第一通讯总线用于实现第一处理器和第一存储器之间的连接通讯;The first communication bus is used to realize connection and communication between the first processor and the first memory;
所述第一处理器用于执行第一存储器中存储的一个或者多个程序,以实现如上任一项所述的WiFi连接共享方法的步骤。The first processor is configured to execute one or more programs stored in the first memory, so as to implement the steps of the WiFi connection sharing method described in any one of the above.
进一步地,本发明还提供了一种终端,所述终端包括第二处理器、第二存储器及第二通讯总线;Further, the present invention also provides a terminal, which includes a second processor, a second memory, and a second communication bus;
所述第二通讯总线用于实现第二处理器和第二存储器之间的连接通讯;The second communication bus is used to realize connection and communication between the second processor and the second memory;
所述第二处理器用于执行第二存储器中存储的一个或者多个程序,以实现如上任一项所述的WiFi连接共享方法的步骤。The second processor is configured to execute one or more programs stored in the second memory, so as to realize the steps of the WiFi connection sharing method described in any one of the above.
进一步地,本发明还提供了一种计算机存储介质,所述计算机存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如上任一项所述的WiFi连接共享方法的步骤。Further, the present invention also provides a computer storage medium, the computer storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to achieve any of the above The steps of the WiFi connection sharing method.
有益效果Beneficial effect
本发明提供一种WiFi连接共享方法、终端及计算机存储介质,针对现有WiFi共享方案对接入密码的保护性欠缺,存在较高的安全风险的缺陷;通过建立与请求终端之间的第一通讯连接;基于第一通讯连接,将WiFi热点设备的接入验证信息进行透明化处理后发送给请求终端,以用于请求终端连接至WiFi热点设备;其中将接入验证信息进行透明化处理后对请求终端不可见;在实现了WiFi连接共享,使请求终端可以接入到相应的WiFi热点的同时,请求终端不能直接显示该接入验证信息,也即该接入验证信息经透明化处理后对其不可见,请求终端仅能利用其实现相应WiFi热点的连接,但是不能进行显示处理,使请求终端用户不能得知该WiFi热点的密码,有效保证了WiFi热点设备的接入密码的安全性,解决了现有WiFi共享方案由于对端用户可以会直接得到该WiFi热点名称和接入密码,导致存在较高安全风险的问题。The present invention provides a WiFi connection sharing method, a terminal and a computer storage medium. Aiming at the lack of protection of access passwords in existing WiFi sharing schemes and the defect of relatively high security risks; Communication connection; based on the first communication connection, transparently process the access verification information of the WiFi hotspot device and send it to the requesting terminal for the requesting terminal to connect to the WiFi hotspot device; where the access verification information is transparently processed It is invisible to the requesting terminal; while WiFi connection sharing is realized so that the requesting terminal can access the corresponding WiFi hotspot, the requesting terminal cannot directly display the access verification information, that is, the access verification information is transparently processed It is invisible, and the requesting terminal can only use it to realize the connection of the corresponding WiFi hotspot, but cannot perform display processing, so that the requesting terminal user cannot know the password of the WiFi hotspot, effectively ensuring the security of the access password of the WiFi hotspot device The present invention solves the problem of relatively high security risks in existing WiFi sharing schemes because the opposite end user may directly obtain the name and access password of the WiFi hotspot.
附图说明Description of drawings
下面将结合附图及实施例对本发明作进一步说明,附图中:The present invention will be further described below in conjunction with accompanying drawing and embodiment, in the accompanying drawing:
图1为实现本发明各个实施例一个可选的移动终端的硬件结构示意图;FIG. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention;
图2为如图1所示的移动终端的无线通讯系统示意图;FIG. 2 is a schematic diagram of the wireless communication system of the mobile terminal shown in FIG. 1;
图3为本发明第一实施例提供的WiFi连接共享方法流程示意图一;FIG. 3 is a first schematic flow diagram of a WiFi connection sharing method provided by the first embodiment of the present invention;
图4为本发明第一实施例提供的WiFi连接共享方法流程示意图二;FIG. 4 is a second schematic flow diagram of the WiFi connection sharing method provided by the first embodiment of the present invention;
图5为本发明第一实施例提供的WiFi连接共享方法流程示意图三;FIG. 5 is a third schematic flow chart of the WiFi connection sharing method provided by the first embodiment of the present invention;
图6为本发明第一实施例提供的透明化处理流程示意图;FIG. 6 is a schematic diagram of a transparent processing flow provided by the first embodiment of the present invention;
图7为本发明第二实施例提供的WiFi连接共享方法流程示意图;FIG. 7 is a schematic flowchart of a WiFi connection sharing method provided by the second embodiment of the present invention;
图8为本发明第三实施例提供的WiFi连接共享方法流程示意图;FIG. 8 is a schematic flowchart of a method for sharing a WiFi connection according to the third embodiment of the present invention;
图9为本发明第三实施例提供的WiFi连接共享系统结构示意图;FIG. 9 is a schematic structural diagram of a WiFi connection sharing system provided by a third embodiment of the present invention;
图10为本发明第四实施例提供的终端的结构示意图;FIG. 10 is a schematic structural diagram of a terminal provided by a fourth embodiment of the present invention;
图11为本发明第五实施例提供的终端的结构示意图。FIG. 11 is a schematic structural diagram of a terminal provided by a fifth embodiment of the present invention.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身没有特定的意义。因此,“模块”、“部件”或“单元”可以混合地使用。In the following description, use of suffixes such as 'module', 'part' or 'unit' for denoting elements is only for facilitating description of the present invention and has no specific meaning by itself. Therefore, 'module', 'part' or 'unit' may be used in combination.
终端可以以各种形式来实施。例如,本发明中描述的终端可以包括诸如手机、平板电脑、笔记本电脑、掌上电脑、个人数字助理(Personal Digital Assistant,PDA)、便捷式媒体播放器(Portable Media Player,PMP)、导航装置、可穿戴设备、智能手环、计步器等移动终端,以及诸如数字TV、台式计算机等固定终端。Terminals may be implemented in various forms. For example, the terminals described in the present invention may include mobile phones, tablet computers, notebook computers, palmtop computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, portable Mobile terminals such as wearable devices, smart bracelets, and pedometers, and fixed terminals such as digital TVs and desktop computers.
后续描述中将以移动终端为例进行说明,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。In the following description, a mobile terminal will be taken as an example, and those skilled in the art will understand that, in addition to elements specially used for mobile purposes, the configurations according to the embodiments of the present invention can also be applied to fixed-type terminals.
请参阅图1,其为实现本发明各个实施例的一种移动终端的硬件结构示意图,该移动终端100可以包括:RF(Radio Frequency,射频)单元101、WiFi模块102、音频输出单元103、A/V(音频/视频)输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图1中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Please refer to FIG. 1 , which is a schematic diagram of the hardware structure of a mobile terminal implementing various embodiments of the present invention. The mobile terminal 100 may include: an RF (Radio Frequency, radio frequency) unit 101, a WiFi module 102, an audio output unit 103, A /V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in Figure 1 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than those shown in the figure, or combine some components, or different components layout.
下面结合图1对移动终端的各个部件进行具体的介绍:Each component of the mobile terminal is specifically introduced below in combination with FIG. 1:
射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将基站的下行信息接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通讯与网络和其他设备通讯。上述无线通讯可以使用任一通讯标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA2000(CodeDivision Multiple Access 2000,码分多址2000)、WCDMA(Wideband Code DivisionMultiple Access,宽带码分多址)、TD-SCDMA(Time Division-Synchronous CodeDivision Multiple Access,时分同步码分多址)、FDD-LTE(Frequency DivisionDuplexing-Long Term Evolution,频分双工长期演进)和TDD-LTE(Time DivisionDuplexing-Long Term Evolution,分时双工长期演进)等。The radio frequency unit 101 can be used for sending and receiving information or receiving and sending signals during a call. Specifically, after receiving the downlink information of the base station, it is processed by the processor 110; in addition, the uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, Global System for Mobile Communication), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, Time Division Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, Frequency Division Duplexing Long Term Evolution) and TDD-LTE (Time DivisionDuplexing-Long Term Evolution, Time Division Duplexing Long Term Evolution), etc.
WiFi属于短距离无线传输技术,移动终端通过WiFi模块102可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图1示出了WiFi模块102,但是可以理解的是,其并不属于移动终端的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The mobile terminal can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 102, which provides users with wireless broadband Internet access. Although Fig. 1 shows the WiFi module 102, it can be understood that it is not an essential component of the mobile terminal, and can be completely omitted as required without changing the essence of the invention.
音频输出单元103可以在移动终端100处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等等模式下时,将射频单元101或WiFi模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与移动终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103可以包括扬声器、蜂鸣器等等。The audio output unit 103 can store the audio received by the radio frequency unit 101 or the WiFi module 102 or in the memory 109 when the mobile terminal 100 is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, or the like. The audio data is converted into an audio signal and output as sound. Also, the audio output unit 103 can also provide audio output related to a specific function performed by the mobile terminal 100 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
A/V输入单元104用于接收音频或视频信号。A/V输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或WiFi模块102进行发送。麦克风1042可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风1042接收声音(音频数据),并且能够将这样的声音处理为音频数据。处理后的音频(语音)数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通讯基站的格式输出。麦克风1042可以实施各种类型的噪声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪声或者干扰。The A/V input unit 104 is used to receive audio or video signals. The A/V input unit 104 may include a graphics processing unit (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processing unit 1041 is used for still pictures or The image data of the video is processed. The processed image frames may be displayed on the display unit 106 . The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage media) or sent via the radio frequency unit 101 or the WiFi module 102 . The microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like operating modes, and can process such sound as audio data. The processed audio (voice) data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the process of receiving and transmitting audio signals.
移动终端100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在移动终端100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and the display panel 1061 when the mobile terminal 100 moves to the ear / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of mobile phone posture (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for mobile phones, fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, Other sensors such as thermometers and infrared sensors will not be described in detail here.
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
用户输入单元107可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107可包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作),并根据预先设定的程式驱动相应的连接装置。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,并能接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种,具体此处不做限定。The user input unit 107 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072 . The touch panel 1071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 1071 or near the touch panel 1071). operation), and drive the corresponding connection device according to the preset program. The touch panel 1071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071 , the user input unit 107 may also include other input devices 1072 . Specifically, other input devices 1072 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc., which are not limited here. .
进一步的,触控面板1071可覆盖显示面板1061,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图1中,触控面板1071与显示面板1061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation on or near it, it transmits to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of the touch event according to the The type provides a corresponding visual output on the display panel 1061 . Although in FIG. 1, the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated. The implementation of the input and output functions of the mobile terminal is not specifically limited here.
接口单元108用作至少一个外部装置与移动终端100连接可以通过的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端100内的一个或多个元件或者可以用于在移动终端100和外部装置之间传输数据。The interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 108 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 can be used to store software programs as well as various data. The memory 109 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.) etc.; Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
处理器110是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器110可包括一个或多个处理单元;优选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通讯。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the mobile terminal, and uses various interfaces and lines to connect various parts of the entire mobile terminal, by running or executing software programs and/or modules stored in the memory 109, and calling data stored in the memory 109 , execute various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110 .
移动终端100还可以包括给各个部件供电的电源111(比如电池),优选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 100 can also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 can be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.
尽管图1未示出,移动终端100还可以包括蓝牙模块等,在此不再赘述。Although not shown in FIG. 1 , the mobile terminal 100 may also include a Bluetooth module, etc., which will not be repeated here.
为了便于理解本发明实施例,下面对本发明的移动终端所基于的通讯网络系统进行描述。In order to facilitate understanding of the embodiments of the present invention, the following describes the communication network system on which the mobile terminal of the present invention is based.
请参阅图2,图2为本发明实施例提供的一种通讯网络系统架构图,该通讯网络系统为通用移动通讯技术的LTE系统,该LTE系统包括依次通讯连接的UE(User Equipment,用户设备)201,E-UTRAN(Evolved UMTS Terrestrial Radio Access Network,演进式UMTS陆地无线接入网)202,EPC(Evolved Packet Core,演进式分组核心网)203和运营商的IP业务204。Please refer to FIG. 2. FIG. 2 is a structure diagram of a communication network system provided by an embodiment of the present invention. The communication network system is an LTE system of general mobile communication technology. ) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, Evolved UMTS Terrestrial Radio Access Network) 202, EPC (Evolved Packet Core, Evolved Packet Core Network) 203 and the operator's IP service 204.
具体地,UE201可以是上述终端100,此处不再赘述。Specifically, the UE 201 may be the above-mentioned terminal 100, which will not be repeated here.
E-UTRAN202包括eNodeB2021和其它eNodeB2022等。其中,eNodeB2021可以通过回程(backhaul)(例如X2接口)与其它eNodeB2022连接,eNodeB2021连接到EPC203,eNodeB2021可以提供UE201到EPC203的接入。E-UTRAN 202 includes eNodeB 2021 and other eNodeB 2022 and so on. Wherein, the eNodeB2021 can be connected to other eNodeB2022 through a backhaul (for example, X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 can provide access from the UE201 to the EPC203.
EPC203可以包括MME(Mobility Management Entity,移动性管理实体)2031,HSS(Home Subscriber Server,归属用户服务器)2032,其它MME2033,SGW(Serving Gate Way,服务网关)2034,PGW(PDN Gate Way,分组数据网络网关)2035和PCRF(Policy andCharging Rules Function,政策和资费功能实体)2036等。其中,MME2031是处理UE201和EPC203之间信令的控制节点,提供承载和连接管理。HSS2032用于提供一些寄存器来管理诸如归属位置寄存器(图中未示)之类的功能,并且保存有一些有关服务特征、数据速率等用户专用的信息。所有用户数据都可以通过SGW2034进行发送,PGW2035可以提供UE 201的IP地址分配以及其它功能,PCRF2036是业务数据流和IP承载资源的策略与计费控制策略决策点,它为策略与计费执行功能单元(图中未示)选择及提供可用的策略和计费控制决策。EPC203 may include MME (Mobility Management Entity, Mobility Management Entity) 2031, HSS (Home Subscriber Server, Home Subscriber Server) 2032, other MME2033, SGW (Serving Gate Way, Serving Gateway) 2034, PGW (PDN Gate Way, packet data Network Gateway) 2035 and PCRF (Policy and Charging Rules Function, Policy and Charging Functional Entity) 2036, etc. Wherein, MME2031 is a control node that processes signaling between UE201 and EPC203, and provides bearer and connection management. HSS2032 is used to provide some registers to manage functions such as home location register (not shown in the figure), and save some user-specific information about service features and data rates. All user data can be sent through SGW2034, PGW2035 can provide UE 201 IP address allocation and other functions, PCRF2036 is the policy and charging control policy decision point of service data flow and IP bearer resources, it is the policy and charging execution function A unit (not shown) selects and provides available policy and charging control decisions.
IP业务204可以包括因特网、内联网、IMS(IP Multimedia Subsystem,IP多媒体子系统)或其它IP业务等。The IP service 204 may include Internet, Intranet, IMS (IP Multimedia Subsystem, IP Multimedia Subsystem) or other IP services.
虽然上述以LTE系统为例进行了介绍,但本领域技术人员应当知晓,本发明不仅仅适用于LTE系统,也可以适用于其他无线通讯系统,例如GSM、CDMA2000、WCDMA、TD-SCDMA以及未来新的网络系统等,此处不做限定。Although the LTE system is used as an example above, those skilled in the art should know that the present invention is not only applicable to the LTE system, but also applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA and future new wireless communication systems. The network system, etc., are not limited here.
基于上述移动终端硬件结构以及通讯网络系统,提出本发明方法各个实施例。Based on the above mobile terminal hardware structure and communication network system, various embodiments of the method of the present invention are proposed.
第一实施例first embodiment
为了解决现有WiFi连接共享方案,对端用户可以得到WiFi热点接入密码,导致对该WiFi热点接入密码保护性不够,安全风险较高的问题,本发明实施例提供一种WiFi连接共享方法,在将相应的WiFi热点的接入验证信息发送给对端之前,进行透明化处理,使该接入验证信息对该对端用户不可见,使对端用户无法得到该WiFi热点接入密码,以此提高WiFi共享的安全性。In order to solve the existing WiFi connection sharing scheme, the opposite end user can obtain the WiFi hotspot access password, resulting in insufficient protection of the WiFi hotspot access password and high security risks, the embodiment of the present invention provides a WiFi connection sharing method , before sending the access verification information of the corresponding WiFi hotspot to the opposite end, perform transparent processing, so that the access verification information is invisible to the opposite end user, so that the opposite end user cannot obtain the access password of the WiFi hotspot, In this way, the security of WiFi sharing can be improved.
请参见图3,图3为本实施例提供的WiFi连接共享方法流程示意图,该WiFi连接共享方法应用于控制终端,该控制终端为用于向请求终端提供相应WiFi热点设备的接入验证信息的终端,控制终端预先存储有该WiFi热点设备的接入验证信息,而请求终端通常没有存储该接入验证信息,包括如下步骤:Please refer to FIG. 3. FIG. 3 is a schematic flow diagram of the WiFi connection sharing method provided in this embodiment. The WiFi connection sharing method is applied to the control terminal, and the control terminal is used to provide the requesting terminal with the access verification information of the corresponding WiFi hotspot device. terminal, the control terminal pre-stores the access verification information of the WiFi hotspot device, and the requesting terminal usually does not store the access verification information, including the following steps:
S301、建立与请求终端之间的第一通讯连接。S301. Establish a first communication connection with the requesting terminal.
首先,需要建立控制终端与请求终端之间的第一通讯连接,以实现两者之间的数据传输。本实施例中,第一通讯连接可以是移动通讯连接,也可以是近距离通讯连接,其中,近距离通讯连接具体可以采用如下技术:例如NFC(Near Field Communication)近场通讯、蓝牙、热点、ZigBee中的任意一种。应当理解,第一通讯连接并不限于此,只要能够实现两者之间的数据传输即可,在此不再赘述。First, it is necessary to establish a first communication connection between the control terminal and the requesting terminal, so as to realize data transmission between the two. In this embodiment, the first communication connection may be a mobile communication connection or a short-distance communication connection, wherein the short-distance communication connection may specifically adopt the following technologies: for example, NFC (Near Field Communication) near-field communication, Bluetooth, hotspot, Any one of ZigBee. It should be understood that the first communication connection is not limited thereto, as long as data transmission between the two can be realized, and details are not repeated here.
S302、基于第一通讯连接,将WiFi热点设备的接入验证信息进行透明化处理后发送给请求终端,以用于请求终端连接至WiFi热点设备;将接入验证信息进行透明化处理后对请求终端不可见。S302. Based on the first communication connection, transparently process the access verification information of the WiFi hotspot device and send it to the requesting terminal, so as to request the terminal to connect to the WiFi hotspot device; Terminal is not visible.
基于请求终端与控制终端的第一通讯连接,控制终端可以将相应WiFi热点设备的接入验证信息发送给请求终端,以实现请求终端接入到相应的WiFi热点中,实现无线上网。需要说明的是,本方案在将WiFi热点设备的接入验证信息发送给请求终端之前,需要对该接入验证信息进行透明化处理,以使之对请求终端不可见,请求终端可以获取到该经透明化处理后的接入验证信息,但是不能解析处理并显示给用户查看,使请求终端用户不能得知该接入验证信息,从而保证WiFi连接共享过程中,相应WiFi热点设备的接入验证信息不被对端用户得知,完善对WiFi热点设备的接入验证信息的保护,降低接入验证信息被泄露的安全风险。Based on the first communication connection between the requesting terminal and the control terminal, the control terminal can send the access verification information of the corresponding WiFi hotspot device to the requesting terminal, so that the requesting terminal can access the corresponding WiFi hotspot and realize wireless Internet access. It should be noted that before the access verification information of the WiFi hotspot device is sent to the requesting terminal in this solution, the access verification information needs to be transparently processed so that it is invisible to the requesting terminal and the requesting terminal can obtain the access verification information. The access verification information after transparent processing cannot be parsed and displayed to the user, so that the requesting terminal user cannot know the access verification information, so as to ensure the access verification of the corresponding WiFi hotspot device during the WiFi connection sharing process The information will not be known to the peer user, improve the protection of the access verification information of the WiFi hotspot device, and reduce the security risk of the access verification information being leaked.
尽管经透明化处理后的接入验证信息对请求终端不可见,但是请求终端可以在获取到该经透明化处理后的接入验证信息后,将其发送给相应的WiFi热点设备进行验证,从而成功接入到相应的WiFi热点设备。也即在保证接入验证信息安全性的同时,也可以实现WiFi连接共享,使请求终端可以成功接入到相应的WiFi热点设备上,进行无线WiFi上网。Although the transparently processed access verification information is invisible to the requesting terminal, the requesting terminal can send it to the corresponding WiFi hotspot device for verification after obtaining the transparently processed access verification information, thereby Successfully connected to the corresponding WiFi hotspot device. That is to say, while ensuring the security of the access verification information, WiFi connection sharing can also be realized, so that the requesting terminal can successfully connect to the corresponding WiFi hotspot device for wireless WiFi Internet access.
请参见图4,图4为本实施例提供的一种WiFi连接共享方法,同样应用于控制终端,包括如下步骤:Please refer to Figure 4, Figure 4 is a WiFi connection sharing method provided in this embodiment, which is also applied to the control terminal, including the following steps:
S401、建立与请求终端之间的第一通讯连接。S401. Establish a first communication connection with the requesting terminal.
例如,请求终端和控制终端打开蓝牙功能,进行配对,实现蓝牙连接。For example, the request terminal and the control terminal turn on the bluetooth function, perform pairing, and realize the bluetooth connection.
S402、基于第一通讯连接,接收请求终端发送的用于请求接入WiFi热点设备的WiFi连接请求。S402. Based on the first communication connection, receive a WiFi connection request sent by the requesting terminal for requesting access to the WiFi hotspot device.
如上,基于请求终端与控制终端之间建立的蓝牙连接,控制终端接收请求终端发送的WiFi连接请求,该WiFi连接请求是请求终端用于请求接入WiFi热点设备的。该WiFi连接请求中可以包含所请求连接的WiFi热点名称,也可以不包含任何WiFi热点名称,甚至,该WiFi连接请求可以是一个空包,只要控制终端能够据此相应请求终端需要接入到相应WiFi热点设备即可。As above, based on the Bluetooth connection established between the requesting terminal and the control terminal, the control terminal receives the WiFi connection request sent by the requesting terminal, and the WiFi connection request is used by the requesting terminal to request access to the WiFi hotspot device. The WiFi connection request may contain the name of the WiFi hotspot requested to be connected, or may not contain any WiFi hotspot name, and even, the WiFi connection request may be an empty packet, as long as the control terminal can correspondingly request the terminal to access the corresponding A WiFi hotspot device will do.
S403、在接收到请求终端发送的用于请求接入WiFi热点设备的WiFi连接请求时,解析该WiFi连接请求。S403. When receiving the WiFi connection request sent by the requesting terminal for requesting access to the WiFi hotspot device, parse the WiFi connection request.
由于WiFi连接请求中可能包含请求终端所请求接入的WiFi热点名称,也可能不包含,故控制终端需要对该WiFi连接请求进行解析,以判断该WiFi连接请求中是否包含相应的WiFi热点名称。应当理解的是,对相应请求指令的解析方式可以采用现有任意方式,本实施对此不做限制。Since the WiFi connection request may or may not contain the name of the WiFi hotspot requested by the requesting terminal, the control terminal needs to analyze the WiFi connection request to determine whether the WiFi connection request contains the corresponding WiFi hotspot name. It should be understood that the parsing method for the corresponding request instruction may be in any existing method, which is not limited in this implementation.
S404、判断该WiFi连接请求中是否包含所请求连接的WiFi热点名称,如是,转至步骤S405,如否,转至步骤S406。S404. Determine whether the WiFi connection request includes the name of the requested WiFi hotspot, if yes, go to step S405, if not, go to step S406.
待对该WiFi连接请求进行解析处理后,得到该WiFi连接请求中是否包含相应的WiFi热点名称,也即请求终端是否制定所请求接入的WiFi热点设备。After the WiFi connection request is analyzed and processed, it is obtained whether the WiFi connection request contains the corresponding WiFi hotspot name, that is, whether the requesting terminal specifies the requested WiFi hotspot device.
S405、获取的接入验证信息包括与所述WiFi热点名称对应的WiFi热点设备之第一接入密码。S405. The acquired access verification information includes the first access password of the WiFi hotspot device corresponding to the WiFi hotspot name.
若判断该WiFi连接请求中包含所请求连接的WiFi热点名称时,也即请求终端指定了对应的WiFi热点设备,此时控制终端根据该判断结果,获取与该指定的WiFi热点名称对应的WiFi热点设备子第一接入密码,也即该接入验证信息包含与该指定的WiFi热点名称对应的WiFi热点设备子第一接入密码。If it is judged that the WiFi connection request includes the WiFi hotspot name of the requested connection, that is, the requesting terminal specifies the corresponding WiFi hotspot device, and the control terminal obtains the WiFi hotspot corresponding to the designated WiFi hotspot name according to the judgment result. The device sub-first access password, that is, the access verification information includes the WiFi hotspot device sub-first access password corresponding to the designated WiFi hotspot name.
S406、获取的接入验证信息包括WiFi热点名称以及与之对应的WiFi热点设备之第二接入密码。S406. The acquired access verification information includes the name of the WiFi hotspot and the second access password of the corresponding WiFi hotspot device.
当判断该WiFi连接请求中不包含所请求连接的WiFi热点名称时,也即请求终端并未指定对应的WiFi热点设备,此时控制终端根据该判断结果,获取相应的WiFi热点名称以及与之对应的WiFi热点设备子第二接入密码。其中,获取的WiFi热点可以是该控制终端搜索范围内的WiFi热点,可选的,当搜索范围内存在多个WiFi热点时,控制终端还可以先检测各WiFi热点的信号强度,将信号强度最高的WiFi热点的名称以及对应的接入密码进行透明化处理后发送给请求终端。应当明白的是,控制终端应当具有相应WiFi热点的名称以及对应的接入密码等信息。When it is judged that the WiFi connection request does not contain the name of the WiFi hotspot requested for connection, that is, the requesting terminal does not specify the corresponding WiFi hotspot device, at this time, the control terminal obtains the corresponding WiFi hotspot name and the corresponding WiFi hotspot name according to the judgment result. The second access password of the WiFi hotspot device. Wherein, the obtained WiFi hotspots may be WiFi hotspots within the search range of the control terminal. Optionally, when there are multiple WiFi hotspots within the search range, the control terminal may first detect the signal strength of each WiFi hotspot, and set the signal strength to the highest. The name of the WiFi hotspot and the corresponding access password are transparently processed and then sent to the requesting terminal. It should be understood that the control terminal should have information such as the name of the corresponding WiFi hotspot and the corresponding access password.
S407、将获取的所述接入验证信息进行透明化处理后发送给该请求终端。S407. Send the obtained access verification information to the requesting terminal after transparent processing.
对于步骤S406和步骤S407获取到的接入验证信息,需要先进行透明化处理后,在发送给该请求终端,避免该请求终端的用户可以直接得到该WiFi热点名称以及接入密码,有利于对该WiFi热点设备的接入密码的保护。For the access verification information obtained in steps S406 and S407, it needs to be transparently processed first, and then sent to the requesting terminal, so as to prevent the user of the requesting terminal from directly obtaining the WiFi hotspot name and access password, which is beneficial to The access password of the WiFi hotspot device is protected.
本发明的其他示例中,控制终端也可以直接向请求终端发送相应的接入验证信息,以使请求终端可以接入到与该接入验证信息对应的WiFi热点设备上,而不必是在接收到请求终端发送的WiFi连接请求时,才触发控制终端发送相应接入验证信息,请参见图5,图5为本实施例提供的一种WiFi连接共享方法流程示意图,包括如下步骤:In other examples of the present invention, the control terminal can also directly send the corresponding access verification information to the requesting terminal, so that the requesting terminal can access the WiFi hotspot device corresponding to the access verification information, instead of receiving When requesting the WiFi connection request sent by the terminal, the control terminal is triggered to send the corresponding access verification information. Please refer to FIG. 5. FIG. 5 is a schematic flow diagram of a WiFi connection sharing method provided in this embodiment, including the following steps:
S501、建立与WiFi热点设备之间的第二通讯连接。S501. Establish a second communication connection with the WiFi hotspot device.
该第二通讯连接可以是WiFi连接。当控制终端处于相应WiFi热点覆盖范围内,可以根据预先存储的密码信息接入到该WiFi热点设备上;或者通过接收控制终端用户输入正确的接入密码后,接入到该WiFi热点设备上,可选的,还可以将控制终端用户输入的接入密码与该WiFi热点名称对应存储在终端本地或者服务器中。The second communication connection may be a WiFi connection. When the control terminal is within the coverage of the corresponding WiFi hotspot, it can access the WiFi hotspot device according to the pre-stored password information; or access the WiFi hotspot device by receiving the correct access password from the user of the control terminal, Optionally, the access password input by the user of the control terminal and the WiFi hotspot name may also be stored locally in the terminal or in the server.
S502、建立与请求终端之间的第一通讯连接。S502. Establish a first communication connection with the requesting terminal.
需要说明的是,步骤S501和步骤S502之间不存在特定的时间执行顺序,也即可以先执行步骤S501,再执行步骤S502;反之,同样可行;或同时执行。It should be noted that there is no specific time execution sequence between step S501 and step S502, that is, step S501 may be executed first, and then step S502 may be executed; vice versa, or executed simultaneously.
S503、控制终端获取与自身处于第二通讯连接状态的WiFi热点设备之名称以及接入密码,并将所述WiFi热点设备之名称以及接入密码进行透明处理。S503. The control terminal obtains the name and access password of the WiFi hotspot device in the second communication connection state with itself, and transparently processes the name and access password of the WiFi hotspot device.
在发送该WiFi热点名称以及对应的接入密码之前,应当要完成与该WiFi热点设备,以及与该请求终端之间的通讯连接。例如,先建立与WiFi热点设备之间的第二通讯连接,当完成与请求终端之间建立第二通讯连接时,即可触发控制终端获取该WiFi热点设备之名称以及接入密码,并进行透明化处理。Before sending the WiFi hotspot name and the corresponding access password, the communication connection with the WiFi hotspot device and the requesting terminal should be completed. For example, first establish a second communication connection with the WiFi hotspot device, and when the second communication connection with the requesting terminal is completed, the control terminal can be triggered to obtain the name and access password of the WiFi hotspot device, and transparently treatment.
S504、通过所述第一通讯连接,将经透明化处理后的WiFi热点设备之名称以及接入密码发送给该请求终端,以用于该请求终端连接至该WiFi热点设备。S504. Send the transparently processed name of the WiFi hotspot device and the access password to the requesting terminal through the first communication connection, so that the requesting terminal can connect to the WiFi hotspot device.
将该WiFi热点设备之名称以及接入密码(也即接入验证信息包括WiFi热点名称以及对应的接入密码)进行透明处理后,再发送给请求终端,避免请求终端用户可以得知该WiFi热点设备的接入密码,有利于对该接入密码的保护,提升WiFi连接共享安全性。The name and access password of the WiFi hotspot device (that is, the access verification information includes the name of the WiFi hotspot and the corresponding access password) are transparently processed, and then sent to the requesting terminal to prevent the requesting terminal user from knowing the WiFi hotspot The access password of the device is conducive to the protection of the access password and improves the security of WiFi connection sharing.
本实施例中,控制终端将接入验证信息发送给请求终端之前,需要先将该接入验证信息进行透明化处理,以使经透明化处理后的接入验证信息对该请求终端不可见。可选的,包括如下处理方式,请参见图6,图6为本实施例提供的一种透明化处理方法流程示意图,包括:In this embodiment, before the control terminal sends the access verification information to the requesting terminal, the access verification information needs to be transparently processed, so that the transparently processed access verification information is invisible to the requesting terminal. Optionally, the following processing methods are included. Please refer to FIG. 6. FIG. 6 is a schematic flowchart of a transparent processing method provided in this embodiment, including:
S601、获取WiFi热点设备的接入验证信息,并获取该WiFi热点设备对应的加密密钥。S601. Obtain access verification information of the WiFi hotspot device, and obtain an encryption key corresponding to the WiFi hotspot device.
控制终端需要获取相应WiFi热点设备的接入验证信息,该接入验证信息至少包括接入密码,具体请参见上述示例的说明,可能还包括WiFi热点名称。还需要获取相应WiFi热点设备对应的加密密钥。The control terminal needs to obtain the access verification information of the corresponding WiFi hotspot device. The access verification information includes at least the access password. For details, please refer to the description of the above example, and may also include the name of the WiFi hotspot. It is also necessary to obtain the encryption key corresponding to the corresponding WiFi hotspot device.
例如,控制终端在建立与请求终端之间的第一通讯连接,并建立与WiFi热点设备(假设WiFi热点名称为“TP-LINK-47-DE”,接入密码为“12345678”)之间的第二通讯连接,当接收到请求终端发送的WiFi连接请求时,所述WiFi连接请求为空包,此时控制终端在接收到该空包时,开始获取当前连接的WiFi热点设备“TP-LINK-47-DE”的接入验证信息,包括名称以及对应的接入密码,分别为“TP-LINK-47-DE”、“12345678”。同时,控制终端可以向该WiFi热点设备发送查询请求,以获取该WiFi热点设备的加密密钥,例如该WiFi热点设备的公钥。For example, the control terminal establishes the first communication connection with the requesting terminal, and establishes a connection with the WiFi hotspot device (assuming that the WiFi hotspot name is "TP-LINK-47-DE" and the access password is "12345678"). For the second communication connection, when receiving the WiFi connection request sent by the requesting terminal, the WiFi connection request is an empty packet. At this time, when the control terminal receives the empty packet, it starts to obtain the currently connected WiFi hotspot device "TP-LINK -47-DE", including the name and the corresponding access password, which are "TP-LINK-47-DE" and "12345678". At the same time, the control terminal can send a query request to the WiFi hotspot device to obtain the encryption key of the WiFi hotspot device, for example, the public key of the WiFi hotspot device.
S602、根据加密密钥对接入验证信息进行加密。S602. Encrypt the access verification information according to the encryption key.
控制终端根据该WiFi热点设备的加密密钥(例如公钥),对获取到的该接入验证信息(包括名称“TP-LINK-47-DE”、接入密码“12345678”)进行加密处理,得到加密后的接入验证信息。The control terminal encrypts the obtained access verification information (including the name "TP-LINK-47-DE" and the access password "12345678") according to the encryption key (such as the public key) of the WiFi hotspot device, The encrypted access authentication information is obtained.
S603、将加密后的接入验证信息发送给请求终端。S603. Send the encrypted access verification information to the requesting terminal.
待加密完成后,将该加密后的接入验证信息发送给该请求终端。以用于请求终端向该WiFi热点设备实现连接。可选的,请求终端可以接收该加密后的接入验证信息,但是由于该请求终端并不具有对应的解密密钥,因此请求终端无法对该加密后的接入验证信息进行解密,当然用户也就不能查看到该WiFi热点的名称以及接入密码,该加密后的接入验证信息只有WiFi热点设备才能解密,通过其自身的私钥可以解密,得到该接入密码。请求终端虽不能将该加密后的接入验证信息进行加密,但是其可以将其发送给该WiFi热点设备,供WiFi热点设备进行接入认证,只要WiFi热点设备解密得到正确的接入密码,即可对该请求终端授权,从而允许其接入到该WiFi热点设备上。After the encryption is completed, the encrypted access verification information is sent to the requesting terminal. It is used to request the terminal to connect to the WiFi hotspot device. Optionally, the requesting terminal can receive the encrypted access verification information, but since the requesting terminal does not have a corresponding decryption key, the requesting terminal cannot decrypt the encrypted access verification information, and of course the user cannot decrypt the encrypted access verification information. Just can't check the name and access password of this WiFi hotspot, only the WiFi hotspot device can decrypt the encrypted access authentication information, and can decrypt by its own private key to obtain the access password. Although the requesting terminal cannot encrypt the encrypted access verification information, it can send it to the WiFi hotspot device for access authentication by the WiFi hotspot device, as long as the WiFi hotspot device decrypts and obtains the correct access password, that is, The requesting terminal can be authorized, thereby allowing it to access the WiFi hotspot device.
应当理解,透明化处理的方式并不限于此,可以采用现有其他任意方式,只有能够保证对端用户无法查看到该WiFi热点设备的接入密码即可,本实施例对比不做限制。It should be understood that the method of transparent processing is not limited to this, and any other existing method can be used, as long as it can ensure that the peer user cannot view the access password of the WiFi hotspot device, and there is no limitation in this embodiment.
本发明的其他示例中,控制终端也可以直接将接入验证信息发送给WiFi热点设备,避免该WiFi热点设备的接入密码发送给请求终端,通过这种方式同样可以达到接入验证信息对该请求终端不可见的效果,请求终端用户也就无法查看到该接入密码。此时,控制终端可以不对该接入验证信息进行加密处理。In other examples of the present invention, the control terminal can also directly send the access verification information to the WiFi hotspot device to avoid sending the access password of the WiFi hotspot device to the requesting terminal. The effect that the requesting terminal is invisible means that the requesting terminal user cannot view the access password. At this time, the control terminal may not perform encryption processing on the access verification information.
第二实施例second embodiment
本发明实施例在第一实施例的基础上,提供一种WiFi连接共享方法,该方法主要应用于请求终端,请参见图7,包括如下步骤:On the basis of the first embodiment, the embodiment of the present invention provides a WiFi connection sharing method, the method is mainly applied to the requesting terminal, please refer to FIG. 7, and includes the following steps:
S701、建立与控制终端之间的第一通讯连接。S701. Establish a first communication connection with the control terminal.
建立请求终端与控制终端之间的第一通讯连接,以实现两者之间的数据传输。本实施例中,第一通讯连接可以是移动通讯连接,也可以是近距离通讯连接,其中,近距离通讯连接具体可以采用如下技术:例如NFC近场通讯、蓝牙、热点、ZigBee中的任意一种。应当理解,第一通讯连接并不限于此,只要能够实现两者之间的数据传输即可,在此不再赘述。A first communication connection between the requesting terminal and the controlling terminal is established to realize data transmission between the two. In this embodiment, the first communication connection can be a mobile communication connection or a short-distance communication connection, wherein the short-distance communication connection can specifically adopt the following technologies: for example, any one of NFC near-field communication, Bluetooth, hotspot, and ZigBee kind. It should be understood that the first communication connection is not limited thereto, as long as data transmission between the two can be realized, and details are not repeated here.
S702、基于第一通讯连接,接收由控制终端发送的WiFi热点设备的接入验证信息,该接入验证信息是经控制终端进行透明化处理的,对本端不可见。S702. Based on the first communication connection, receive the access verification information of the WiFi hotspot device sent by the control terminal. The access verification information is transparently processed by the control terminal and is invisible to the local terminal.
在建立第一通讯连接后,可以不向控制终端发送WiFi连接请求,可以直接等待控制终端主动向本端发送相应WiFi热点设备的接入验证信息,然后根据该接入验证信息接入到相应的WiFi热点设备上。当然,该接入验证信息是控制终端进行透明化处理的,对本端不可见。也即本端无法查看到相应的接入密码,以此提升WiFi共享过程中接入密码的保护。After the first communication connection is established, instead of sending a WiFi connection request to the control terminal, you can directly wait for the control terminal to actively send the access verification information of the corresponding WiFi hotspot device to the local end, and then access the corresponding WiFi hotspot device according to the access verification information. on the WiFi hotspot device. Of course, the access verification information is transparently processed by the control terminal and is invisible to the local terminal. That is, the local end cannot view the corresponding access password, so as to improve the protection of the access password during WiFi sharing.
请求终端可以基于该第一通讯连接,向控制终端发送WiFi连接请求,该WiFi连接请求可以是一个空包,主要是用于触发控制终端向本端反馈相应WiFi热点设备的接入验证信息。该WiFi连接请求也可以包括相应WiFi热点的名称,在此之前,请求终端可以先打开WiFi功能搜索附近的WiFi热点,基于本端用户的选择,或者根据信号强度选择其中一个WiFi热点,将该WiFi热点名称添加到该WiFi连接请求中,也即是请求接入该WiFi热点设备上。The requesting terminal can send a WiFi connection request to the control terminal based on the first communication connection. The WiFi connection request can be an empty packet, mainly used to trigger the control terminal to feed back the access verification information of the corresponding WiFi hotspot device to the local terminal. The WiFi connection request can also include the name of the corresponding WiFi hotspot. Before that, the requesting terminal can first turn on the WiFi function to search for nearby WiFi hotspots, based on the selection of the local user, or select one of the WiFi hotspots according to the signal strength, and use the WiFi The hotspot name is added to the WiFi connection request, that is, it is requested to access the WiFi hotspot device.
根据本端发送的WiFi连接请求,控制终端将反馈一个WiFi热点设备的接入验证信息。应当理解的是,当请求终端指定了相应的WiFi热点设备时,控制终端可能存在无法反馈相应的接入验证信息的情况,例如请求终端请求接入的WiFi热点设备为WiFi1,而控制终端没有存储该WiFi1的接入验证信息,此时控制终端将无法反馈相应的接入验证信息,或者只能反馈一个错误提示消息,或者反馈一个控制终端中存储有的WiFi热点设备的接入验证信息。According to the WiFi connection request sent by the local end, the control terminal will feed back the access verification information of a WiFi hotspot device. It should be understood that when the requesting terminal specifies the corresponding WiFi hotspot device, the control terminal may not be able to feed back the corresponding access verification information. For example, the WiFi hotspot device that the requesting terminal requests to access is WiFi1, but the control terminal does not store The access verification information of WiFi1, at this time, the control terminal will not be able to feed back the corresponding access verification information, or can only feed back an error message, or feed back the access verification information of a WiFi hotspot device stored in the control terminal.
S703、根据经透明化处理后的接入验证信息连接到WiFi热点设备。S703. Connect to the WiFi hotspot device according to the transparently processed access verification information.
第三实施例third embodiment
本发明实施例在第一实施例和/或第二实施例的基础上,提供一种WiFi连接共享方法,该方法主要应用于WiFi连接共享系统,请参见图8,包括如下步骤:The embodiment of the present invention provides a WiFi connection sharing method on the basis of the first embodiment and/or the second embodiment, the method is mainly applied to a WiFi connection sharing system, please refer to FIG. 8, and includes the following steps:
S801、建立请求终端与控制终端之间的第一通讯连接。S801. Establish a first communication connection between a requesting terminal and a controlling terminal.
S802、基于第一通讯连接,控制终端将WiFi热点设备的接入验证信息进行透明化处理后发送给请求终端;控制终端对该接入验证信息进行透明化处理后对请求终端不可见。S802. Based on the first communication connection, the control terminal transparently processes the access verification information of the WiFi hotspot device and then sends it to the requesting terminal; the control terminal makes the access verification information transparent to the requesting terminal.
S803、请求终端接收经透明化处理后的接入验证信息,并根据所述经透明化处理后的接入验证信息连接到WiFi热点设备。S803. The requesting terminal receives the transparently processed access verification information, and connects to the WiFi hotspot device according to the transparently processed access verification information.
本实施例还提供一种WiFi连接共享系统,请参见图9,该WiFi连接共享系统90包括请求终端91、控制终端92以及WiFi热点设备93,其中:This embodiment also provides a WiFi connection sharing system, please refer to FIG. 9, the WiFi connection sharing system 90 includes a request terminal 91, a control terminal 92 and a WiFi hotspot device 93, wherein:
请求终端91用于与控制终端92建立第一通讯连接。其中,第一通讯连接可以是移动通讯连接,也可以是近距离通讯连接,其中,近距离通讯连接具体可以采用如下技术:例如NFC近场通讯、蓝牙、热点、ZigBee中的任意一种。应当理解,第一通讯连接并不限于此,只要能够实现两者之间的数据传输即可,在此不再赘述。The request terminal 91 is used to establish a first communication connection with the control terminal 92 . Wherein, the first communication connection may be a mobile communication connection or a short-distance communication connection, wherein the short-distance communication connection may specifically adopt the following technologies: for example, any one of NFC near-field communication, Bluetooth, hotspot, and ZigBee. It should be understood that the first communication connection is not limited thereto, as long as data transmission between the two can be realized, and details are not repeated here.
本发明的其他示例中,请求终端91还用于基于该第一通讯连接,向控制终端92发送WiFi连接请求。该WiFi连接请求可以是一个空包,主要是用于触发控制终端92向本端反馈相应WiFi热点设备的接入验证信息。该WiFi连接请求也可以包括相应WiFi热点的名称,在此之前,请求终端91可以先打开WiFi功能搜索附近的WiFi热点,基于本端用户的选择,或者根据信号强度选择其中一个WiFi热点,将该WiFi热点名称添加到该WiFi连接请求中,也即请求接入该WiFi热点设备上。In other examples of the present invention, the requesting terminal 91 is further configured to send a WiFi connection request to the control terminal 92 based on the first communication connection. The WiFi connection request may be an empty packet, which is mainly used to trigger the control terminal 92 to feed back the access verification information of the corresponding WiFi hotspot device to the local terminal. The WiFi connection request can also include the name of the corresponding WiFi hotspot. Before that, the requesting terminal 91 can first open the WiFi function to search for nearby WiFi hotspots, based on the selection of the local user, or select one of the WiFi hotspots according to the signal strength, and set the The name of the WiFi hotspot is added to the WiFi connection request, that is, it is requested to access the WiFi hotspot device.
控制终端92用于与该请求终端91建立所述第一通讯连接,并基于该第一通讯连接,向请求终端91发送相应WiFi热点设备的接入验证信息,但是在发送给请求终端91之前,需要先对该接入验证信息进行透明化处理,使该接入验证信息对请求终端91不可见,也即是使请求终端91无法查看到该WiFi热点设备的接入密码。本实施例中,接入验证信息至少包括相应WiFi热点的接入密码,当然还可以包括该WiFi热点名称。The control terminal 92 is used to establish the first communication connection with the requesting terminal 91, and based on the first communication connection, send the access verification information of the corresponding WiFi hotspot device to the requesting terminal 91, but before sending to the requesting terminal 91, The access verification information needs to be transparently processed first, so that the access verification information is invisible to the requesting terminal 91, that is, the requesting terminal 91 cannot view the access password of the WiFi hotspot device. In this embodiment, the access verification information includes at least the access password of the corresponding WiFi hotspot, and of course may also include the name of the WiFi hotspot.
WiFi热点设备93用于接收请求终端91发送的接入验证信息,以允许请求终端91的接入。可选的,WiFi热点设备在接收到该接入验证过信息后,对该接入验证信息进行解析处理,得到其中的接入密码,将该接入密码进行验证,待验证通过后,向请求终端91授权,以允许其接入,实现WiFi连接。The WiFi hotspot device 93 is configured to receive the access verification information sent by the requesting terminal 91 to allow the requesting terminal 91 to access. Optionally, after receiving the access verification information, the WiFi hotspot device parses the access verification information to obtain the access password, verifies the access password, and sends the request to the request after the verification is passed. Authorize the terminal 91 to allow its access to realize WiFi connection.
可选的,当接入验证信息时控制终端92通过WiFi热点设备93的公钥加密时,WiFi热点设备93在接收到请求终端91发送的接入验证信息后,获取自身的私钥,通过该私钥对该接入验证信息进行解密,以得到接入密码,进而对该接入密码进行验证,待验证通过后,允许请求终端91的接入;反之,或验证失败,则禁止其接入。Optionally, when the control terminal 92 encrypts the public key of the WiFi hotspot device 93 when accessing the verification information, the WiFi hotspot device 93 obtains its own private key after receiving the access verification information sent by the requesting terminal 91, and passes the The private key decrypts the access verification information to obtain the access password, and then verifies the access password. After the verification is passed, the requesting terminal 91 is allowed to access; otherwise, or the verification fails, its access is prohibited. .
第四实施例Fourth embodiment
本实施例提供一种终端,参见图10所示,该终端包括第一处理器210、第一存储器220及第一通讯总线230,其中:This embodiment provides a terminal, as shown in FIG. 10 , the terminal includes a first processor 210, a first memory 220, and a first communication bus 230, wherein:
第一通讯总线230用于实现第一处理器210和第一存储器220之间的连接通讯;The first communication bus 230 is used to realize connection and communication between the first processor 210 and the first memory 220;
第一处理器210用于执行第一存储器220中存储的一个或者多个程序,以实现上述第一实施例中的WiFi连接共享方法的各步骤。具体请参见上述第一实施例的描述,在此不再赘述。The first processor 210 is configured to execute one or more programs stored in the first memory 220, so as to implement the steps of the WiFi connection sharing method in the first embodiment above. For details, refer to the description of the first embodiment above, and details are not repeated here.
第五实施例fifth embodiment
本实施例提供一种终端,参见图11所示,该终端包括第二处理器310、第二存储器320及第二通讯总线330,其中:This embodiment provides a terminal, as shown in FIG. 11 , the terminal includes a second processor 310, a second memory 320, and a second communication bus 330, wherein:
第二通讯总线330用于实现第二处理器310和第二存储器320之间的连接通讯;The second communication bus 330 is used to realize connection and communication between the second processor 310 and the second memory 320;
第二处理器310用于执行第二存储器320中存储的一个或者多个程序,以实现上述第二实施例中的WiFi连接共享方法的各步骤。具体请参见上述第二实施例的描述,在此不再赘述。The second processor 310 is configured to execute one or more programs stored in the second memory 320, so as to implement the steps of the WiFi connection sharing method in the second embodiment above. For details, refer to the description of the second embodiment above, and details are not repeated here.
第六实施例Sixth embodiment
本发明实施例提供一种计算机存储介质,所述计算机存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现上述第一实施例和/或第二实施例和/或第三实施例中的WiFi连接共享方法的各步骤。具体请参见上述第一实施例和/或第二实施例和/或第三实施例的描述,在此不再赘述。An embodiment of the present invention provides a computer storage medium, the computer storage medium stores one or more programs, and the one or more programs can be executed by one or more processors, so as to implement the above-mentioned first embodiment and/or Or the steps of the WiFi connection sharing method in the second embodiment and/or the third embodiment. For details, refer to the description of the first embodiment and/or the second embodiment and/or the third embodiment above, and details are not repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, many forms can also be made without departing from the gist of the present invention and the protection scope of the claims, and these all belong to the protection of the present invention.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810716143.0A CN108601062B (en) | 2018-06-29 | 2018-06-29 | WiFi connection sharing method, terminal and computer storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810716143.0A CN108601062B (en) | 2018-06-29 | 2018-06-29 | WiFi connection sharing method, terminal and computer storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN108601062A true CN108601062A (en) | 2018-09-28 |
| CN108601062B CN108601062B (en) | 2020-12-18 |
Family
ID=63635550
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810716143.0A Expired - Fee Related CN108601062B (en) | 2018-06-29 | 2018-06-29 | WiFi connection sharing method, terminal and computer storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108601062B (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109803249A (en) * | 2019-02-25 | 2019-05-24 | 努比亚技术有限公司 | A kind of WIFI network sharing method, terminal and computer readable storage medium |
| CN112004187A (en) * | 2020-08-26 | 2020-11-27 | 维沃移动通信有限公司 | Data sharing method and device |
| CN112333683A (en) * | 2020-11-27 | 2021-02-05 | 北京小米移动软件有限公司 | Hotspot sharing method and device, mobile terminal and storage medium |
| CN112654019A (en) * | 2019-10-12 | 2021-04-13 | 上海擎感智能科技有限公司 | WIFI sharing method and system, computer readable storage medium and server |
Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104144034A (en) * | 2013-12-04 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Password sharing and obtaining methods and devices |
| CN105682088A (en) * | 2014-11-18 | 2016-06-15 | 腾讯科技(武汉)有限公司 | Wireless network sharing method and terminal |
| CN105792197A (en) * | 2016-02-26 | 2016-07-20 | 上海斐讯数据通信技术有限公司 | WIFI password sharing method and system |
| CN105992205A (en) * | 2015-02-02 | 2016-10-05 | 中兴通讯股份有限公司 | Method for sharing WLAN ciphers and device for sharing WLAN ciphers |
| CN106231531A (en) * | 2016-07-15 | 2016-12-14 | 乐视控股(北京)有限公司 | Main equipment, from equipment, main equipment and the system and method from communication between devices |
| CN106847264A (en) * | 2017-01-19 | 2017-06-13 | 海尔优家智能科技(北京)有限公司 | The method and system that a kind of configuration equipment networks |
| CN107360183A (en) * | 2017-08-08 | 2017-11-17 | 珠海格力电器股份有限公司 | Method and device for hiding verification information |
| US20180103371A1 (en) * | 2015-08-21 | 2018-04-12 | Afero, Inc. | Apparatus and method for sharing wifi security data in an internet of things (iot) system |
| US20180167283A1 (en) * | 2016-12-12 | 2018-06-14 | Canon Kabushiki Kaisha | Communication apparatus and communication method, communication system, and computer-readable storage medium |
| CN108200574A (en) * | 2018-01-05 | 2018-06-22 | 北京奇虎科技有限公司 | Wi-Fi hotspot connection method and device |
| CN108207018A (en) * | 2016-12-16 | 2018-06-26 | 中兴通讯股份有限公司 | Wireless connection method and device |
-
2018
- 2018-06-29 CN CN201810716143.0A patent/CN108601062B/en not_active Expired - Fee Related
Patent Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104144034A (en) * | 2013-12-04 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Password sharing and obtaining methods and devices |
| CN105682088A (en) * | 2014-11-18 | 2016-06-15 | 腾讯科技(武汉)有限公司 | Wireless network sharing method and terminal |
| CN105992205A (en) * | 2015-02-02 | 2016-10-05 | 中兴通讯股份有限公司 | Method for sharing WLAN ciphers and device for sharing WLAN ciphers |
| US20180103371A1 (en) * | 2015-08-21 | 2018-04-12 | Afero, Inc. | Apparatus and method for sharing wifi security data in an internet of things (iot) system |
| CN105792197A (en) * | 2016-02-26 | 2016-07-20 | 上海斐讯数据通信技术有限公司 | WIFI password sharing method and system |
| CN106231531A (en) * | 2016-07-15 | 2016-12-14 | 乐视控股(北京)有限公司 | Main equipment, from equipment, main equipment and the system and method from communication between devices |
| US20180167283A1 (en) * | 2016-12-12 | 2018-06-14 | Canon Kabushiki Kaisha | Communication apparatus and communication method, communication system, and computer-readable storage medium |
| CN108207018A (en) * | 2016-12-16 | 2018-06-26 | 中兴通讯股份有限公司 | Wireless connection method and device |
| CN106847264A (en) * | 2017-01-19 | 2017-06-13 | 海尔优家智能科技(北京)有限公司 | The method and system that a kind of configuration equipment networks |
| CN107360183A (en) * | 2017-08-08 | 2017-11-17 | 珠海格力电器股份有限公司 | Method and device for hiding verification information |
| CN108200574A (en) * | 2018-01-05 | 2018-06-22 | 北京奇虎科技有限公司 | Wi-Fi hotspot connection method and device |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109803249A (en) * | 2019-02-25 | 2019-05-24 | 努比亚技术有限公司 | A kind of WIFI network sharing method, terminal and computer readable storage medium |
| CN112654019A (en) * | 2019-10-12 | 2021-04-13 | 上海擎感智能科技有限公司 | WIFI sharing method and system, computer readable storage medium and server |
| CN112004187A (en) * | 2020-08-26 | 2020-11-27 | 维沃移动通信有限公司 | Data sharing method and device |
| CN112333683A (en) * | 2020-11-27 | 2021-02-05 | 北京小米移动软件有限公司 | Hotspot sharing method and device, mobile terminal and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108601062B (en) | 2020-12-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109257740B (en) | Profile downloading method, mobile terminal and readable storage medium | |
| CN113438652B (en) | Authorization and policy parameter configuration method, terminal and network function | |
| CN109600740B (en) | File download method, device and computer-readable storage medium | |
| CN109033801B (en) | Method for verifying user identity by application program, mobile terminal and storage medium | |
| CN109800602B (en) | Privacy protection method, mobile terminal and computer readable storage medium | |
| CN106797562A (en) | A kind of method of message protection, relevant device and system | |
| WO2020164526A1 (en) | Control method for nodes in distributed system and related device | |
| CN110677851B (en) | Terminal network access method and network access equipment access method | |
| CN107451460A (en) | Interface processing method, equipment, server and computer-readable recording medium | |
| CN108601062B (en) | WiFi connection sharing method, terminal and computer storage medium | |
| CN107276991B (en) | Method and device for loading Web page and computer readable storage medium | |
| CN107135498B (en) | A file sharing method and device | |
| CN107635234B (en) | Wi-Fi control method, mobile terminal and computer-readable storage medium | |
| CN107563158B (en) | Method, device and computer readable storage medium for displaying hidden application icon | |
| CN107194217B (en) | User data access control method, device and computer-readable storage medium | |
| WO2019057119A1 (en) | Mobile terminal-based wifi hotspot connection method, mobile terminal and storage medium | |
| CN108040170A (en) | A kind of unlocked by fingerprint method, terminal device and computer-readable storage medium | |
| CN108012270B (en) | Information processing method, equipment and computer readable storage medium | |
| WO2018049970A1 (en) | Hotspot network switching method and terminal | |
| CN111967871A (en) | Secure payment method, device and storage medium | |
| WO2021077898A1 (en) | Network registration method and electronic device | |
| CN111565388A (en) | Network registration method and electronic equipment | |
| CN107395363B (en) | Fingerprint sharing method and mobile terminal | |
| CN106998553B (en) | Equipment identity identification method, computer equipment and storage medium | |
| CN111314903B (en) | Information sharing method and electronic equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20201127 Address after: 210036, 301 Hanzhoung Avenue, Gulou District, Jiangsu, Nanjing Applicant after: Nanjing touzhi Technology Co.,Ltd. Address before: 518057 Guangdong province Shenzhen city Nanshan District high tech park, No. 9018 North Central Avenue, building A, floor 10, Han's innovation Applicant before: NUBIA TECHNOLOGY Co.,Ltd. |
|
| TA01 | Transfer of patent application right | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20230731 Address after: 210024 12th Floor, Building A3, Gulou Innovation Plaza, Gulou District, Nanjing City, Jiangsu Province Patentee after: Jiangsu Zhilian Technology Co.,Ltd. Address before: 210036 No.301, Hanzhongmen street, Gulou District, Nanjing City, Jiangsu Province Patentee before: Nanjing touzhi Technology Co.,Ltd. |
|
| TR01 | Transfer of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201218 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |