+

CN106912048A - Access-in point information sharing method and device - Google Patents

Access-in point information sharing method and device Download PDF

Info

Publication number
CN106912048A
CN106912048A CN201710093957.9A CN201710093957A CN106912048A CN 106912048 A CN106912048 A CN 106912048A CN 201710093957 A CN201710093957 A CN 201710093957A CN 106912048 A CN106912048 A CN 106912048A
Authority
CN
China
Prior art keywords
access point
password
information
sharing
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
Application number
CN201710093957.9A
Other languages
Chinese (zh)
Other versions
CN106912048B (en
Inventor
金凡
万钰臻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201710093957.9A priority Critical patent/CN106912048B/en
Publication of CN106912048A publication Critical patent/CN106912048A/en
Application granted granted Critical
Publication of CN106912048B publication Critical patent/CN106912048B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本公开是关于一种接入点信息分享方法和装置,属于网络技术领域。所述方法包括:接收分享指令,所述分享指令用于分享终端已连接成功的接入点信息;获取用户输入的接入点设备的待校验信息;向服务器发送分享请求,所述分享请求携带所述接入点信息和所述待校验信息,所述服务器用于根据所述接入点信息对所述待校验信息进行验证,在验证通过时,允许分享所述接入点信息。本发明通过在分享接入点信息的过程中,仅在确定该终端用户为该接入点的拥有者时,才进行接入点信息的分享,避免了未经该拥有者允许擅自分享而造成的接入点密码泄露问题,进而避免了为该拥有者带来的损失。

The present disclosure relates to a method and device for sharing access point information, and belongs to the field of network technology. The method includes: receiving a sharing instruction, the sharing instruction is used to share the information of the access point that the terminal has successfully connected; obtaining the information to be verified of the access point device input by the user; sending a sharing request to the server, the sharing request Carrying the access point information and the information to be verified, the server is used to verify the information to be verified according to the access point information, and when the verification is passed, the access point information is allowed to be shared . In the process of sharing the access point information, the present invention only shares the access point information when the terminal user is determined to be the owner of the access point, so as to avoid unauthorized sharing without the owner's permission. The problem of leaking the access point password, thus avoiding the loss for the owner.

Description

接入点信息分享方法和装置Access point information sharing method and device

本申请为2013年12月20日提交中国专利局、申请号为201310714403.8、发明名称为“接入点信息分享方法和装置”的中国专利申请的分案申请,其全部内容通过引用结合在本申请中。This application is a divisional application of a Chinese patent application filed with the China Patent Office on December 20, 2013, with the application number 201310714403.8, and the title of the invention is "Access Point Information Sharing Method and Device", the entire contents of which are incorporated in this application by reference middle.

技术领域technical field

本公开是关于网络技术领域,具体来说是关于接入点信息分享方法和装置。The present disclosure relates to the field of network technologies, and specifically relates to a method and device for sharing access point information.

背景技术Background technique

随着智能移动终端的普及和无线网络技术的发展,用户通过使用移动终端可以很方便地连接无线网络。而为了避免在每次连接该无线网络时都要输入该无线网络的密码,移动终端可以在本次通过接入点连接上该无线网络时,将该接入点的密码上传至服务器,以分享密码。With the popularity of smart mobile terminals and the development of wireless network technologies, users can easily connect to wireless networks by using mobile terminals. And in order to avoid inputting the password of the wireless network every time when connecting to the wireless network, the mobile terminal can upload the password of the access point to the server when connecting to the wireless network through the access point this time to share password.

在实现本发明的过程中,发明人发现相关技术存在缺陷,例如:在分享过程中,无法确定该移动终端用户是否为该接入点的拥有者,如果该移动终端用户不是该接入点的拥有者,那么,该移动终端用户在得到该接入点的密码后,未经该拥有者允许就分享了该密码时,就造成了密码泄露,会给该拥有者带来损失。In the process of realizing the present invention, the inventor found that there are defects in related technologies, for example: in the sharing process, it is impossible to determine whether the mobile terminal user is the owner of the access point, if the mobile terminal user is not the owner of the access point owner, then, when the mobile terminal user obtains the password of the access point and shares the password without the owner's permission, the password will be leaked, which will bring losses to the owner.

发明内容Contents of the invention

为了解决相关技术中存在的问题,本公开提供了一种接入点信息分享方法和装置。所述技术方案如下:In order to solve the problems existing in related technologies, the present disclosure provides a method and device for sharing access point information. Described technical scheme is as follows:

第一方面,本公开提供了一种接入点信息分享方法,所述方法包括:In a first aspect, the present disclosure provides a method for sharing access point information, the method comprising:

接收分享指令,所述分享指令用于分享本端已连接成功的第一接入点信息,所述第一接入点信息包括接入点标识和第一接入点密码;Receiving a sharing instruction, the sharing instruction is used to share the information of the first access point that the terminal has successfully connected to, and the first access point information includes the access point identifier and the first access point password;

向服务器发送分享请求,所述分享请求携带所述第一接入点信息,所述服务器用于向所述本端发送密码更改指令,所述密码更改指令用于提示用户更改所述接入点密码后重新连接至接入点;sending a sharing request to a server, where the sharing request carries the first access point information, and the server is used to send a password change instruction to the local end, and the password change instruction is used to prompt the user to change the access point Reconnect to the access point after resetting the password;

获取更改后的第二接入点密码,根据所述第二接入点密码,重新连接至所述接入点;Obtain the changed second access point password, and reconnect to the access point according to the second access point password;

向所述服务器发送更改密码分享请求,所述更改密码分享请求携带所述第二接入点信息,所述第二接入点信息包括所述接入点标识和所述第二接入点密码,所述服务器用于在确定所述接入点密码已更改时,允许分享所述第二接入点信息。Sending a password change sharing request to the server, the password change sharing request carrying the second access point information, the second access point information including the access point identifier and the second access point password The server is configured to allow sharing of the second access point information when it is determined that the password of the access point has been changed.

所述分享请求还携带当前所述本端连接成功的接入点设备的第一特征信息,所述更改密码分享请求还携带当前所述本端连接成功的接入点设备的第二特征信息,所述服务器还用于在确定所述第一特征信息与所述第二特征信息相同且所述接入点密码已更改时,执行允许分享所述第二接入点信息的步骤。The sharing request also carries first feature information of the access point device that is currently successfully connected to the local end, and the password change sharing request also carries second feature information of the access point device that is currently successfully connected to the local end, The server is further configured to execute the step of allowing sharing of the second AP information when it is determined that the first feature information is the same as the second feature information and the AP password has been changed.

获取更改后的第二接入点密码,根据所述第二接入点密码,重新连接至所述接入点包括:Obtaining the changed second access point password, and reconnecting to the access point according to the second access point password includes:

在预设时长内,获取所述第二接入点密码,根据所述第二接入点密码,重新连接至所述接入点;Obtain the password of the second access point within a preset time period, and reconnect to the access point according to the password of the second access point;

相应的,向所述服务器发送更改密码分享请求包括:Correspondingly, sending the password change sharing request to the server includes:

在所述预设时长内,向所述服务器发送所述更改密码分享请求,所述服务器用于在确定在所述预设时长内接收到所述更改密码分享请求,且所述接入点密码已更改时,执行允许分享所述第二接入点信息的步骤。Within the preset time period, send the password change sharing request to the server, and the server is configured to determine that the password change sharing request is received within the preset time period, and the access point password If changed, perform the step of allowing sharing of the second access point information.

第二方面,本公开提供了一种接入点信息分享方法,所述方法包括:In a second aspect, the present disclosure provides a method for sharing access point information, the method comprising:

接收终端发送的分享请求,所述分享请求携带所述终端已连接成功的第一接入点信息,所述第一接入点信息包括接入点标识和第一接入点密码;receiving a sharing request sent by the terminal, where the sharing request carries information about a first access point to which the terminal has successfully connected, where the first access point information includes an access point identifier and a first access point password;

向所述终端发送密码更改指令,所述密码更改指令用于提示用户更改所述接入点密码后重新连接至接入点,所述终端用于获取更改后的第二接入点密码,根据所述第二接入点密码,重新连接至所述接入点;Sending a password change instruction to the terminal, the password change instruction is used to prompt the user to change the password of the access point and reconnect to the access point, and the terminal is used to obtain the changed password of the second access point, according to the second access point password to reconnect to the access point;

接收所述终端发送的更改密码分享请求,所述更改密码分享请求携带所述终端已连接成功的第二接入点信息,所述第二接入点信息包括所述接入点标识和所述第二接入点密码;Receive a password change sharing request sent by the terminal, where the password change sharing request carries information about a second access point to which the terminal has successfully connected, and the second access point information includes the access point identifier and the Second access point password;

判断所述第二接入点密码与所述第一接入点密码是否相同;judging whether the second access point password is the same as the first access point password;

当确定所述第二接入点密码与所述第一接入点密码不同时,允许分享所述第二接入点信息。When it is determined that the password of the second access point is different from the password of the first access point, sharing the information of the second access point is allowed.

所述方法还包括:The method also includes:

对所述第一接入点信息进行解析,得到当前所述终端连接成功的接入点设备的第一介质访问控制MAC地址;Analyzing the first access point information to obtain a first media access control MAC address of the access point device to which the terminal is currently successfully connected;

对所述第二接入点信息进行解析,得到当前所述终端连接成功的接入点设备的第二MAC地址;Analyzing the second access point information to obtain a second MAC address of the access point device to which the terminal is currently successfully connected;

判断所述第一MAC地址和所述第二MAC地址是否相同;judging whether the first MAC address and the second MAC address are the same;

当所述第一MAC地址和所述MAC地址相同时,执行判断所述第二接入点密码与所述第一接入点密码是否相同的步骤。When the first MAC address is the same as the MAC address, perform a step of judging whether the second access point password is the same as the first access point password.

所述方法还包括:The method also includes:

当所述分享请求还携带当前所述终端连接成功的接入点设备的第一特征信息,且所述更改密码分享请求还携带当前所述终端连接成功的接入点设备的第二特征信息时,判断所述第一特征信息和所述第二特征信息是否相同;When the sharing request also carries the first feature information of the access point device to which the terminal is currently successfully connected, and the password change sharing request also carries second feature information of the access point device to which the terminal is currently successfully connected , judging whether the first characteristic information and the second characteristic information are the same;

当所述第一特征信息和所述第二特征信息相同时,执行判断所述第二接入点密码与所述第一接入点密码是否相同的步骤。When the first feature information is the same as the second feature information, a step of judging whether the second access point password is the same as the first access point password is performed.

所述密码更改指令用于提示用户在预设时长内更改所述接入点密码后重新连接至接入点,所述方法还包括:The password change instruction is used to prompt the user to reconnect to the access point after changing the password of the access point within a preset period of time, and the method also includes:

在所述预设时长内接收到所述终端发送的更改密码分享请求时,执行判断所述第二接入点密码与所述第一接入点密码是否相同的步骤。When the password change sharing request sent by the terminal is received within the preset time period, a step of judging whether the second access point password is the same as the first access point password is performed.

第三方面,提供了一种接入点信息分享装置,所述装置包括:In a third aspect, an access point information sharing device is provided, and the device includes:

分享指令接收模块,用于接收分享指令,所述分享指令用于分享本端已连接成功的第一接入点信息,所述第一接入点信息包括接入点标识和第一接入点密码;A sharing instruction receiving module, configured to receive a sharing instruction, the sharing instruction is used to share the information of the first access point that has been successfully connected at the local end, and the first access point information includes the access point identifier and the first access point password;

分享请求发送模块,用于向服务器发送分享请求,所述分享请求携带所述第一接入点信息,所述服务器用于向所述本端发送密码更改指令,所述密码更改指令用于提示用户更改所述接入点密码后重新连接至接入点;A sharing request sending module, configured to send a sharing request to a server, the sharing request carrying the first access point information, the server sending a password change instruction to the local end, the password change instruction being used to prompt The user reconnects to the access point after changing the password for said access point;

更改密码获取模块,用于获取更改后的第二接入点密码,根据所述第二接入点密码,重新连接至所述接入点;Change the password acquisition module, used to obtain the changed second access point password, and reconnect to the access point according to the second access point password;

更改分享请求发送模块,用于向所述服务器发送更改密码分享请求,所述更改密码分享请求携带第二接入点信息,所述第二接入点信息包括所述接入点标识和所述第二接入点密码,所述服务器用于在确定所述接入点密码已更改时,允许分享所述第二接入点信息。A change sharing request sending module, configured to send a password change share request to the server, where the password change share request carries second access point information, and the second access point information includes the access point identifier and the A second access point password, where the server is configured to allow sharing of the second access point information when it is determined that the access point password has been changed.

所述分享请求还携带当前所述本端连接成功的接入点设备的第一特征信息,所述更改密码分享请求还携带当前所述本端连接成功的接入点设备的第二特征信息,所述服务器还用于在确定所述第一特征信息与所述第二特征信息相同且所述接入点密码已更改时,执行允许分享所述第二接入点信息的步骤。The sharing request also carries first feature information of the access point device that is currently successfully connected to the local end, and the password change sharing request also carries second feature information of the access point device that is currently successfully connected to the local end, The server is further configured to execute the step of allowing sharing of the second AP information when it is determined that the first feature information is the same as the second feature information and the AP password has been changed.

所述更改密码获取模块用于在预设时长内,获取所述第二接入点密码,根据所述第二接入点密码,重新连接至所述接入点;相应的,所述更改分享请求发送模块用于在所述预设时长内,向所述服务器发送所述更改密码分享请求,所述服务器用于在确定在所述预设时长内接收到所述更改密码分享请求,且所述接入点密码已更改时,执行允许分享所述第二接入点信息的步骤。The change password obtaining module is used to obtain the password of the second access point within a preset period of time, and reconnect to the access point according to the password of the second access point; correspondingly, the change share The request sending module is configured to send the password change sharing request to the server within the preset time length, and the server is configured to receive the password change sharing request within the preset time length, and the When the password of the access point has been changed, perform the step of allowing sharing of the information of the second access point.

第四方面,提供了一种接入点信息分享装置,所述装置包括:In a fourth aspect, an access point information sharing device is provided, and the device includes:

分享请求接收模块,用于接收终端发送的分享请求,所述分享请求携带所述终端已连接成功的第一接入点信息,所述第一接入点信息包括接入点标识和第一接入点密码;A sharing request receiving module, configured to receive a sharing request sent by a terminal, the sharing request carries information about a first access point to which the terminal has been successfully connected, and the first access point information includes an access point identifier and a first access point entry password;

更改指令发送模块,用于向所述终端发送密码更改指令,所述密码更改指令用于提示用户更改所述接入点密码后重新连接至接入点,所述终端用于获取更改后的第二接入点密码,根据所述第二接入点密码,重新连接至所述接入点;A change instruction sending module, configured to send a password change instruction to the terminal, the password change instruction is used to prompt the user to reconnect to the access point after changing the password of the access point, and the terminal is used to obtain the changed first Two access point passwords, reconnecting to the access point according to the second access point password;

更改请求接收模块,用于接收所述终端发送的更改密码分享请求,所述更改密码分享请求携带所述终端已连接成功的第二接入点信息,所述第二接入点信息包括所述接入点标识和所述第二接入点密码;A change request receiving module, configured to receive a password change sharing request sent by the terminal, where the password change sharing request carries information about a second access point to which the terminal has successfully connected, and the second access point information includes the an access point identifier and the second access point password;

判断模块,用于判断所述第二接入点密码与所述第一接入点密码是否相同;A judging module, configured to judge whether the second access point password is the same as the first access point password;

分享模块,用于当确定所述第二接入点密码与所述第一接入点密码不同时,允许分享所述第二接入点信息。A sharing module, configured to allow sharing of the second access point information when it is determined that the second access point password is different from the first access point password.

所述装置还包括:The device also includes:

第一解析模块,用于对所述第一接入点信息进行解析,得到当前所述终端连接成功的接入点设备的第一介质访问控制MAC地址;A first parsing module, configured to parse the first access point information to obtain a first media access control MAC address of the access point device to which the terminal is currently successfully connected;

第二解析模块,用于对所述第二接入点信息进行解析,得到当前所述终端连接成功的接入点设备的第二MAC地址;A second parsing module, configured to parse the second access point information to obtain a second MAC address of the access point device to which the terminal is currently successfully connected;

MAC地址验证模块,用于判断所述第一MAC地址和所述第二MAC地址是否相同;A MAC address verification module, configured to determine whether the first MAC address and the second MAC address are the same;

MAC验证通过模块,用于当所述第一MAC地址和所述MAC地址相同时,执行判断所述第二接入点密码与所述第一接入点密码是否相同的步骤。A MAC verification passing module, configured to execute the step of judging whether the password of the second access point is the same as the password of the first access point when the first MAC address is the same as the MAC address.

所述装置还包括:The device also includes:

特征信息判断模块,用于当所述分享请求还携带当前所述终端连接成功的接入点设备的第一特征信息,且所述更改密码分享请求还携带当前所述终端连接成功的接入点设备的第二特征信息时,判断所述第一特征信息和所述第二特征信息是否相同;A characteristic information judging module, configured to: when the sharing request also carries the first characteristic information of the access point device to which the terminal is currently successfully connected, and the password change sharing request also carries the access point to which the terminal is currently successfully connected When the second characteristic information of the device is used, it is judged whether the first characteristic information and the second characteristic information are the same;

第一执行模块,用于当所述第一特征信息和所述第二特征信息相同时,执行判断所述第二接入点密码与所述第一接入点密码是否相同的步骤。A first executing module, configured to execute the step of judging whether the second access point password is the same as the first access point password when the first feature information is the same as the second feature information.

所述密码更改指令用于提示用户在预设时长内更改所述接入点密码后重新连接至接入点,所述装置还包括:The password change instruction is used to prompt the user to reconnect to the access point after changing the password of the access point within a preset period of time, and the device also includes:

第二执行模块,用于在所述预设时长内接收到所述终端发送的更改密码分享请求时,执行判断所述第二接入点密码与所述第一接入点密码是否相同的步骤。The second execution module is configured to execute the step of judging whether the second access point password is the same as the first access point password when receiving the password change sharing request sent by the terminal within the preset time period .

本公开的一些有益效果可以包括:Some benefits of the present disclosure may include:

本发明实施例提供的方法和装置,通过在分享接入点信息的过程中,仅在确定该终端用户为该接入点的拥有者时,才允许进行接入点信息的分享,避免了未经该拥有者允许擅自分享而造成的接入点密码泄露问题,进而避免了为该拥有者带来的损失。The method and device provided by the embodiments of the present invention allow sharing of access point information only when the terminal user is determined to be the owner of the access point during the process of sharing access point information, thereby avoiding unintended The access point password disclosure problem caused by the owner's permission to share without authorization, thereby avoiding the loss caused to the owner.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present disclosure.

附图说明Description of drawings

为了更清楚地说明本公开中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。此处所说明的附图用来提供对本公开的进一步理解,构成本申请的一部分,并不构成对本公开的限定。在附图中:In order to illustrate the technical solutions in the present disclosure more clearly, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present disclosure. Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort. The drawings described here are used to provide further understanding of the present disclosure, constitute a part of the present application, and do not limit the present disclosure. In the attached picture:

图1是接入点信息分享方法的示例性流程图;FIG. 1 is an exemplary flowchart of a method for sharing access point information;

图2是接入点信息分享方法的示例性流程图;FIG. 2 is an exemplary flowchart of a method for sharing access point information;

图3a是接入点信息分享方法的示例性流程图;Fig. 3a is an exemplary flowchart of a method for sharing access point information;

图3b是终端提示界面示意图;FIG. 3b is a schematic diagram of a terminal prompt interface;

图4是接入点信息分享方法的示例性流程图;FIG. 4 is an exemplary flowchart of a method for sharing access point information;

图5是接入点信息分享方法的示例性流程图;FIG. 5 is an exemplary flow chart of a method for sharing access point information;

图6a是接入点信息分享方法的示例性流程图;Fig. 6a is an exemplary flow chart of a method for sharing access point information;

图6b是更改密码提示界面示意图;Fig. 6b is a schematic diagram of a prompt interface for changing a password;

图7是接入点信息分享装置的示例性结构示意图;FIG. 7 is a schematic diagram of an exemplary structure of an access point information sharing device;

图8是接入点信息分享装置的示例性结构示意图;Fig. 8 is a schematic structural diagram of an exemplary structure of an access point information sharing device;

图9是接入点信息分享装置的示例性结构示意图;FIG. 9 is a schematic diagram of an exemplary structure of an access point information sharing device;

图10是接入点信息分享装置的示例性结构示意图;FIG. 10 is a schematic diagram of an exemplary structure of an access point information sharing device;

图11是终端设备的示例性结构示意图;FIG. 11 is a schematic structural diagram of an exemplary terminal device;

图12是服务器的示例性结构示意图。Fig. 12 is a schematic diagram of an exemplary structure of a server.

通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。By means of the above-mentioned drawings, certain embodiments of the present disclosure have been shown and will be described in more detail hereinafter. These drawings and written description are not intended to limit the scope of the disclosed concept in any way, but to illustrate the disclosed concept for those skilled in the art by referring to specific embodiments.

具体实施方式detailed description

为使本公开的目的、技术方案和优点更加清楚明白,下面结合实施方式和附图,对本公开做进一步详细说明。在此,本公开的示意性实施方式及其说明用于解释本公开,但并不作为对本公开的限定。In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the present disclosure will be described in further detail below in conjunction with the implementation manners and accompanying drawings. Here, the exemplary embodiments of the present disclosure and their descriptions are used to explain the present disclosure, but not to limit the present disclosure.

本公开实施例提供一种接入点信息分享方法和装置,以下结合附图对本公开进行详细说明。Embodiments of the present disclosure provide a method and device for sharing access point information, and the present disclosure will be described in detail below with reference to the accompanying drawings.

在一个实施例中,图1是接入点信息分享方法的示例性流程图,参见图1,该方法包括:In one embodiment, FIG. 1 is an exemplary flowchart of a method for sharing access point information. Referring to FIG. 1, the method includes:

在步骤101中,接收分享指令,该分享指令用于分享终端已连接成功的接入点信息,本实施例的方法用于该终端中。In step 101, a sharing instruction is received, the sharing instruction is used to share the information of the access point that the terminal has successfully connected to, and the method of this embodiment is used in the terminal.

在步骤102中,获取用户输入的接入点设备的待校验信息。In step 102, the information to be verified of the access point device input by the user is acquired.

在步骤103中,向服务器发送分享请求,该分享请求携带该接入点信息和该待校验信息,该服务器用于根据该接入点信息对该待校验信息进行验证,在验证通过时,允许分享该接入点信息。In step 103, a sharing request is sent to the server, the sharing request carries the access point information and the information to be verified, the server is used to verify the information to be verified according to the access point information, and when the verification is passed , to allow sharing of that access point information.

本实施例提供的方法,通过在分享接入点信息的过程中,仅在根据该接入点设备的接入点信息,确定该终端用户为该接入点的拥有者时,才允许进行接入点信息的分享,避免了未经该拥有者允许擅自分享而造成的接入点密码泄露问题,进而避免了为该拥有者带来的损失。In the method provided in this embodiment, in the process of sharing access point information, only when the terminal user is determined to be the owner of the access point according to the access point information of the access point device, access is allowed. The sharing of access point information avoids the leakage of the access point password caused by unauthorized sharing without the owner's permission, thereby avoiding the loss caused to the owner.

获取用户输入的接入点设备的待校验信息包括:Obtaining the information to be verified of the access point device input by the user includes:

提示用户输入该接入点设备的MAC(Media Access Control,介质访问控制)地址;Prompting the user to input the MAC (Media Access Control, Media Access Control) address of the access point device;

将用户输入的MAC地址获取为该待校验信息,该服务器用于对该接入点信息进行解析,得到该接入点设备的MAC地址,根据该接入点设备的MAC地址对该待校验信息进行验证。Obtain the MAC address input by the user as the information to be verified, and the server is used to analyze the information of the access point to obtain the MAC address of the access point device, and the information to be verified is obtained according to the MAC address of the access point device. verify the information.

该分享请求还携带特征信息,该服务器用于根据该特征信息对该待校验信息进行验证,在验证通过时,允许分享该接入点信息。The sharing request also carries feature information, and the server is used to verify the information to be verified according to the feature information, and allow sharing of the access point information when the verification is passed.

该特征信息为该接入点设备的PIN(Personal Identification Number,个人识别码),获取用户输入的接入点设备的待校验信息包括:The characteristic information is the PIN (Personal Identification Number, personal identification code) of the access point device, and the information to be verified of the access point device input by the user includes:

提示用户输入该接入点设备的PIN码;Prompt the user to enter the PIN code of the access point device;

将用户输入的PIN码获取为该待校验信息,该服务器用于根据该接入点设备的PIN码对该待校验信息进行验证。The PIN code input by the user is obtained as the information to be verified, and the server is used to verify the information to be verified according to the PIN code of the access point device.

上述所有可选技术方案,可以采用任意结合形成本发明的可选实施例,在此不再一一赘述。All the above optional technical solutions can be combined in any way to form an optional embodiment of the present invention, which will not be repeated here.

在一个实施例中,图2是接入点信息分享方法的示例性流程图,参见图2,该方法包括:In one embodiment, FIG. 2 is an exemplary flowchart of a method for sharing access point information. Referring to FIG. 2, the method includes:

在步骤201中,接收终端发送的分享请求,该分享请求携带该终端已连接成功的接入点信息和用户输入的接入点设备的待校验信息,本实施例的方法用于服务器中。In step 201, the sharing request sent by the terminal is received, the sharing request carries the access point information that the terminal has successfully connected and the information to be verified of the access point device input by the user, and the method of this embodiment is used in the server.

在步骤202中,根据该接入点信息,对该待校验信息进行验证。In step 202, the information to be verified is verified according to the access point information.

在步骤203中,当验证通过时,允许分享该接入点信息。In step 203, when the verification is passed, the access point information is allowed to be shared.

本实施例提供的方法,通过在分享接入点信息的过程中,仅在根据该接入点设备的特征信息,确定该终端用户为该接入点的拥有者时,才允许进行接入点信息的分享,避免了未经该拥有者允许擅自分享而造成的接入点密码泄露问题,进而避免了为该拥有者带来的损失。In the method provided by this embodiment, in the process of sharing access point information, only when the terminal user is determined to be the owner of the access point according to the characteristic information of the access point device, the access point information is allowed to be shared. The sharing of information avoids the leakage of access point passwords caused by unauthorized sharing without the owner's permission, thereby avoiding the loss caused to the owner.

根据该接入点信息,对该待校验信息进行验证包括:According to the access point information, verifying the information to be verified includes:

对该接入点信息进行解析,得到该接入点设备的MAC地址;Analyzing the access point information to obtain the MAC address of the access point device;

判断该待校验信息与该MAC地址是否相同;Judging whether the information to be verified is the same as the MAC address;

当该待校验信息与该MAC地址相同时,验证通过。When the information to be verified is the same as the MAC address, the verification is passed.

该方法还包括:The method also includes:

当该分享请求还携带特征信息时,根据该特征信息,对该待校验信息进行验证。When the sharing request also carries characteristic information, the information to be verified is verified according to the characteristic information.

根据该特征信息,对该待校验信息进行验证包括:According to the feature information, verifying the information to be verified includes:

判断该待校验信息与该特征信息是否相同;judging whether the information to be verified is the same as the feature information;

当该待校验信息与该特征信息相同时,验证通过。When the information to be verified is the same as the characteristic information, the verification is passed.

该特征信息为该接入点设备的个人识别码PIN。The feature information is the personal identification code PIN of the access point device.

上述所有可选技术方案,可以采用任意结合形成本发明的可选实施例,在此不再一一赘述。All the above optional technical solutions can be combined in any way to form an optional embodiment of the present invention, which will not be repeated here.

在一个实施例中,图3a是接入点信息分享方法的示例性流程图,该实施例的交互主体为终端和服务器,参见图3a,该方法包括:In one embodiment, FIG. 3a is an exemplary flow chart of a method for sharing access point information. The interaction subjects in this embodiment are a terminal and a server. Referring to FIG. 3a, the method includes:

在步骤301中,该终端接收分享指令,该分享指令用于分享该终端已连接成功的接入点信息。In step 301, the terminal receives a sharing instruction, and the sharing instruction is used to share the access point information to which the terminal has successfully connected.

本实施例应用于该终端已连接接入点成功,需要分享接入点信息的场景下,该接入点信息包括接入点标识和接入点密码,还可以包括接入终端的标识、接入次数等信息,本实施例对此不做限定。This embodiment applies to the scenario where the terminal has successfully connected to the access point and needs to share the access point information. The access point information includes the access point identifier and the access point password, and may also include the identifier of the access terminal, the access point Information such as the number of times of entry, which is not limited in this embodiment.

该接入点信息的具体内容举例如下:The specific content of the access point information is as follows:

其中,该接入点的SSID(Service Set Identifier,服务集标识)为"Public",psk="654321"表示该接入点密码为"654321",key_mgmt=WPA-PSK表示该接入点采用WPA-PSK的加密方式,mac=01:0A:02:0B:03:0C表示该接入点的MAC地址为01:0A:02:0B:03:0C。Wherein, the SSID (Service Set Identifier) of the access point is "Public", psk="654321" indicates that the access point password is "654321", key_mgmt=WPA-PSK indicates that the access point uses WPA - PSK encryption method, mac=01:0A:02:0B:03:0C indicates that the MAC address of the access point is 01:0A:02:0B:03:0C.

在本实施例中,该终端可以提供接入点分享界面,该分享指令可以由用户在该接入点分享界面上对已连接成功的接入点的选择操作触发,也可以在该终端连接至任一接入点时自动触发,本实施例对此不做限定。In this embodiment, the terminal may provide an access point sharing interface, and the sharing instruction may be triggered by the user's selection operation of a successfully connected access point on the access point sharing interface, or may be triggered when the terminal connects to Any access point is automatically triggered, which is not limited in this embodiment.

在步骤302中,该终端提示用户输入该接入点设备的MAC地址,将用户输入的MAC地址获取为该待校验信息。In step 302, the terminal prompts the user to input the MAC address of the access point device, and acquires the MAC address input by the user as the information to be verified.

在本实施例中,该接入点设备是指配置该接入点、且能够连接互联网的设备,如无线路由器等,该终端连接至该接入点设备时,即可通过该接入点设备,与其他设备进行信息交互。在该接入点设备的包装上标示有该接入点设备的MAC地址,则可以确定能够获知该接入点设备的MAC地址的用户是能够接触到该接入点设备的用户,则可以认为是该接入点设备的拥有者,也即是该接入点的拥有者。In this embodiment, the access point device refers to a device configured with the access point and capable of connecting to the Internet, such as a wireless router. When the terminal is connected to the access point device, it can pass through the access point device , to exchange information with other devices. If the MAC address of the access point device is marked on the package of the access point device, it can be determined that the user who can know the MAC address of the access point device is a user who can contact the access point device, then it can be considered is the owner of the access point device, that is, the owner of the access point.

在本实施例中,该终端在接收到该分享指令时,提示用户输入该接入点设备的MAC地址,并在获取到用户输入的MAC地址时,将该MAC地址作为待校验信息,便于后续该服务器对该接入点解析后得到该接入点设备的MAC地址,根据该接入点设备的MAC地址,对该MAC地址进行验证,以判断该用户是否为该接入点的拥有者。In this embodiment, when the terminal receives the sharing instruction, it prompts the user to input the MAC address of the access point device, and when obtaining the MAC address input by the user, uses the MAC address as the information to be verified, which is convenient Subsequently, the server analyzes the access point to obtain the MAC address of the access point device, and verifies the MAC address according to the MAC address of the access point device to determine whether the user is the owner of the access point .

图3b是终端提示界面示意图,参见图3b,当前该终端连接成功的接入点标识为“Home”,该终端接收到该分享指令时,显示如图3b所示的界面,提示用户输入路由器的MAC地址,当检测到用户对该“提交”按键的点击操作时,获取用户输入的MAC地址,使得后续该服务器根据该用户输入的MAC地址和该路由器的MAC地址,判断是否要分享该接入点“Home”的接入点密码。Figure 3b is a schematic diagram of the prompt interface of the terminal, see Figure 3b, the current access point to which the terminal is successfully connected is identified as "Home", when the terminal receives the sharing command, it will display the interface as shown in Figure 3b, prompting the user to enter the router's MAC address, when the user clicks on the "Submit" button is detected, the MAC address input by the user is obtained, so that the subsequent server can judge whether to share the access according to the MAC address input by the user and the MAC address of the router Click "Home" for the access point password.

在本实施例中,在该接入点设备的包装上标示有该接入点设备的MAC地址,且该接入点信息中也包括该MAC地址,则该服务器可以根据该接入点信息中的MAC地址,对用户输入的MAC地址进行验证。而在实际应用过程中,该接入点信息的包装上不仅标示有MAC地址,还可能标示有该接入点设备的特征信息,该特征信息也可以用于对该待校验信息进行验证,以判断该用户是否为该接入点的拥有者。In this embodiment, the MAC address of the access point device is marked on the package of the access point device, and the access point information also includes the MAC address, then the server can MAC address to verify the MAC address entered by the user. In the actual application process, not only the MAC address is marked on the package of the access point information, but also the feature information of the access point device may be marked, and the feature information can also be used to verify the information to be verified. To determine whether the user is the owner of the access point.

相应的,该方法还包括:该终端获取用户输入的该接入点设备的待校验信息,向该服务器发送该分享请求,该分享请求还携带特征信息,该服务器用于根据该接入点设备的特征信息,对该待校验信息进行验证。Correspondingly, the method further includes: the terminal obtains the information to be verified of the access point device input by the user, and sends the sharing request to the server, the sharing request also carries feature information, and the server is used to The characteristic information of the device is used to verify the information to be verified.

其中,该终端和该服务器可以预先设定接入点设备的特征信息。该接入点设备的特征信息可以为该接入点设备的PIN码等,本实施例对此不做限定。Wherein, the terminal and the server may preset feature information of the access point device. The characteristic information of the access point device may be a PIN code of the access point device, etc., which is not limited in this embodiment.

在本实施例提供的另一实施例中,该特征信息为PIN码,则该步骤302可以由以下步骤代替:该终端提示用户输入该接入点设备的PIN码,并将用户输入的PIN码获取为该待校验信息,该服务器用于根据该接入点设备的PIN码对该待校验信息进行验证。In another embodiment provided by this embodiment, the characteristic information is a PIN code, then step 302 can be replaced by the following steps: the terminal prompts the user to input the PIN code of the access point device, and the PIN code entered by the user The information to be verified is obtained, and the server is used to verify the information to be verified according to the PIN code of the access point device.

在步骤303中,该终端向服务器发送分享请求,该分享请求携带该接入点信息和该待校验信息。In step 303, the terminal sends a sharing request to the server, and the sharing request carries the access point information and the information to be verified.

在本实施例中,该终端已连接该接入点设备,则该终端通过该接入点设备向该服务器发送该分享请求,该分享请求携带该接入点信息和用户输入的MAC地址,该服务器能够对该接入点设备进行解析,得到该接入点设备的MAC地址,根据该接入点设备的MAC地址对用户输入的MAC地址进行验证。In this embodiment, the terminal has connected to the access point device, then the terminal sends the sharing request to the server through the access point device, the sharing request carries the access point information and the MAC address input by the user, the The server can analyze the access point device to obtain the MAC address of the access point device, and verify the MAC address input by the user according to the MAC address of the access point device.

在本实施例中,该服务器还可以根据特征信息对用户输入的待校验信息进行验证,则该终端在向该服务器发送该分享请求时,该分享请求需携带该特征信息。也即是,该终端向该接入点设备发送该接入点信息和该待校验信息,该接入点设备向该服务器发送该接入点信息、该待校验信息以及该特征信息。In this embodiment, the server can also verify the information to be verified input by the user according to the characteristic information, and when the terminal sends the sharing request to the server, the sharing request needs to carry the characteristic information. That is, the terminal sends the access point information and the information to be verified to the access point device, and the access point device sends the access point information, the information to be verified and the characteristic information to the server.

基于该步骤302中的另一实施例,该特征信息为该接入点设备的PIN码时,该步骤303可以由以下步骤代替:该终端向该服务器发送该分享请求,该分享请求携带该接入点信息、该待校验信息和该接入点设备的PIN码。Based on another embodiment in step 302, when the feature information is the PIN code of the access point device, step 303 can be replaced by the following steps: the terminal sends the sharing request to the server, and the sharing request carries the access point Access point information, the information to be verified and the PIN code of the access point device.

在步骤304中,当该服务器接收到该分享请求时,对该接入点信息进行解析,得到该接入点设备的MAC地址。In step 304, when the server receives the sharing request, it parses the access point information to obtain the MAC address of the access point device.

在本实施例中,该服务器在接收到该分享请求时,确定该分享请求携带该接入点信息和该待校验信息,而未携带特征信息,则该服务器对该接入点信息进行解析,得到该MAC地址。In this embodiment, when the server receives the sharing request, it determines that the sharing request carries the access point information and the information to be verified, but does not carry characteristic information, then the server analyzes the access point information , get the MAC address.

在步骤305中,该服务器判断该待校验信息与该接入点设备的MAC地址是否相同,如果是,执行步骤306,如果否,结束。In step 305, the server judges whether the information to be verified is the same as the MAC address of the access point device, if yes, execute step 306, and if no, end.

在本实施例中,当该待校验信息与该接入点设备的MAC地址相同时,表示该终端用户输入了该接入点设备正确的MAC地址,即该终端用户为已获知该接入点设备的MAC地址的用户,则可以认为该终端用户为该接入点的拥有者。In this embodiment, when the information to be verified is the same as the MAC address of the access point device, it means that the terminal user has entered the correct MAC address of the access point device, that is, the terminal user has not known the access point device If the user does not have the MAC address of the access point device, the end user can be considered as the owner of the access point.

在本实施例提供的另一实施例中,当该分享请求还携带该特征信息时,该步骤304和步骤305可以由以下步骤代替:该服务器在接收到该分享请求时,判断该待校验信息与该特征信息是否相同,如果是,执行步骤306,如果否,结束。In another embodiment provided by this embodiment, when the sharing request also carries the characteristic information, the steps 304 and 305 can be replaced by the following steps: when the server receives the sharing request, it determines that the Whether the information is the same as the feature information, if yes, execute step 306, if no, end.

举例来说,该特征信息为该接入点设备的PIN码时,该步骤304和步骤305可以由以下步骤代替:当该服务器接收到该分享请求时,判断该待校验信息与该接入点设备的PIN码是否相同,如果是,执行步骤306,如果否,结束。For example, when the characteristic information is the PIN code of the access point device, the steps 304 and 305 can be replaced by the following steps: when the server receives the sharing request, it determines whether the information to be verified is related to the access Whether the PIN codes of the point devices are the same, if yes, execute step 306, if no, end.

该服务器在接收到该分享请求时,获取该待校验信息和该接入点设备的PIN码,当确定该待校验信息与该接入点设备的PIN码相同时,表示该终端用户输入了该接入点设备正确的PIN码,即该终端用户为已获知该接入点设备的PIN码的用户,则可以认为该用户为该接入点的拥有者。When the server receives the sharing request, it acquires the information to be verified and the PIN code of the access point device, and when it is determined that the information to be verified is the same as the PIN code of the access point device, it means If the correct PIN code of the access point device is known, that is, the terminal user is a user who has already known the PIN code of the access point device, then the user can be considered as the owner of the access point.

本实施例以该服务器在确定该待校验信息与该特征信息不同时不再执行任何操作为例进行说明,实际上当该服务器确定该待校验信息与该特征信息不同时,还可以向该终端发送验证失败消息,该终端用于提示用户重新输入该接入点设备的待校验信息。In this embodiment, the server does not perform any operation when it determines that the information to be verified is different from the characteristic information. In fact, when the server determines that the information to be verified is different from the characteristic information, it can also send the The terminal sends a verification failure message, and the terminal is used to prompt the user to re-input the information to be verified of the access point device.

在步骤306中,该服务器确定验证通过,允许分享该接入点信息。In step 306, the server determines that the authentication is passed, allowing sharing of the access point information.

在本实施例中,该服务器确定验证通过时,保存该接入点信息,以便在该服务器接收到任一终端对该接入点的连接请求时,能够将该接入点信息分享给该请求连接该接入点的终端,使得该请求连接该接入点的终端无需输入该接入点密码,即可根据该接入点信息,连接至该接入点。In this embodiment, when the server determines that the verification is passed, it saves the access point information, so that when the server receives a connection request from any terminal to the access point, it can share the access point information with the request. The terminal connected to the access point enables the terminal requesting to connect to the access point to connect to the access point according to the information of the access point without inputting the password of the access point.

在本实施例中,假设终端用户不是该接入点的拥有者,当该接入点的拥有者告知该终端用户该接入点密码时,该终端根据该接入点标识和该接入点密码可以连接至该接入点,而当该终端用户希望分享该接入点密码时,如果该拥有者未允许该终端用户分享该接入点密码,则该终端用户无法获知该接入点的路由器的MAC地址,使得该终端未获取到用户输入的MAC地址或者获取到错误的MAC地址,该服务器验证无法通过,此时该服务器不能分享该接入点密码。如果该拥有者允许该终端用户分享该接入点密码时,告知该终端用户该接入点的路由器的MAC地址,则该终端获取到该终端用户输入的正确的MAC地址,该服务器即可验证通过,从而分享该接入点密码。In this embodiment, assuming that the terminal user is not the owner of the access point, when the owner of the access point informs the terminal user of the password of the access point, the terminal A password can be connected to the access point, and when the end user wishes to share the access point password, if the owner does not allow the end user to share the access point password, the end user cannot know the access point's password. The MAC address of the router, so that the terminal does not obtain the MAC address entered by the user or obtains a wrong MAC address, and the server cannot pass the verification. At this time, the server cannot share the password of the access point. If the owner allows the terminal user to share the password of the access point, and informs the terminal user of the router's MAC address of the access point, then the terminal obtains the correct MAC address entered by the terminal user, and the server can verify Pass to share the access point password.

在本实施例中,通过该服务器根据该接入点信息对该待校验信息进行验证,保证了在该接入点的拥有者允许分享该接入点信息时可以成功分享,而在该拥有者未允许分享该接入点信息时则不能分享。In this embodiment, the information to be verified is verified by the server according to the information of the access point, which ensures that the access point information can be shared successfully when the owner of the access point allows it to be shared. If the user does not allow sharing of the access point information, it cannot be shared.

本实施例提供的方法,通过在分享接入点信息的过程中,仅在根据该接入点设备的接入点信息,确定该终端用户为该接入点的拥有者时,才进行接入点信息的分享。进一步地,以该接入点设备的MAC地址为例,该服务器对该接入点信息进行解析,得到该接入点设备的MAC地址,根据该接入点设备的MAC地址,对该用户输入的MAC地址进行验证,当该用户输入的MAC地址与该接入点设备的MAC地址相同时,才允许进行接入点信息的分享,避免了接入点密码泄露问题,进而避免了为该拥有者带来的损失。In the method provided by this embodiment, in the process of sharing access point information, only when the terminal user is determined to be the owner of the access point according to the access point information of the access point device, access Click to share information. Further, taking the MAC address of the access point device as an example, the server analyzes the access point information to obtain the MAC address of the access point device, and according to the MAC address of the access point device, the user enters The MAC address of the access point is verified. When the MAC address entered by the user is the same as the MAC address of the access point device, the access point information is allowed to be shared, which avoids the problem of access point password leakage, thereby avoiding the problem of the owner loss caused by the

在一个实施例中,图4是接入点信息分享方法的示例性流程图,参见图4,该方法包括:In one embodiment, FIG. 4 is an exemplary flowchart of a method for sharing access point information. Referring to FIG. 4, the method includes:

在步骤401中,接收分享指令,该分享指令用于分享本端已连接成功的第一接入点信息,该第一接入点信息包括接入点标识和第一接入点密码,本实施例的方法用于终端中。In step 401, a sharing instruction is received, and the sharing instruction is used to share the information of the first access point that the terminal has successfully connected to. The first access point information includes the access point identifier and the first access point password. This implementation The example method is used in the terminal.

在步骤402中,向服务器发送分享请求,该分享请求携带该第一接入点信息,该服务器用于向该终端发送密码更改指令,该密码更改指令用于提示用户更改该接入点密码后重新连接至接入点。In step 402, a sharing request is sent to the server, the sharing request carries the information of the first access point, the server is used to send a password change instruction to the terminal, and the password change instruction is used to prompt the user to change the password of the access point Reconnect to the access point.

在步骤403中,获取更改后的第二接入点密码,根据该第二接入点密码,重新连接至该接入点。In step 403, the changed password of the second access point is obtained, and the access point is reconnected according to the password of the second access point.

在步骤404中,向该服务器发送更改密码分享请求,该更改密码分享请求携带第二接入点信息,该第二接入点信息包括该接入点标识和该第二接入点密码,该服务器用于在确定该接入点密码已更改时,允许分享该第二接入点信息。In step 404, a password change sharing request is sent to the server, the password change sharing request carries second access point information, the second access point information includes the access point identifier and the second access point password, the The server is configured to allow sharing of the second access point information when determining that the access point password has been changed.

本实施例提供的方法,通过在分享接入点信息的过程中,在该终端具有更改该接入点密码的权限且能够再次连接至该接入点时,确定该终端用户为该接入点的拥有者,此时才允许进行接入点信息的分享,避免了未经该拥有者允许擅自分享而造成的接入点密码泄露问题,进而避免了为该拥有者带来的损失。The method provided in this embodiment determines that the terminal user is the access point when the terminal has the authority to change the password of the access point and can connect to the access point again during the process of sharing access point information. The owner of the access point is only allowed to share the access point information at this time, which avoids the leakage of the access point password caused by unauthorized sharing without the owner's permission, and thus avoids the loss caused to the owner.

该分享请求还携带当前该终端连接成功的接入点设备的第一特征信息,该更改密码分享请求还携带当前该终端连接成功的接入点设备的第二特征信息,该服务器还用于在确定该第一特征信息与该第二特征信息相同且该接入点密码已更改时,执行允许分享该第二接入点信息的步骤。The sharing request also carries the first feature information of the access point device that the terminal is currently successfully connected to, and the password change sharing request also carries the second feature information of the access point device that the terminal is currently successfully connected to. When it is determined that the first characteristic information is the same as the second characteristic information and the password of the access point has been changed, a step of allowing sharing of the second access point information is performed.

获取更改后的接入点密码,根据该更改后的接入点密码,重新连接至该接入点包括:Obtaining a changed access point password, based on the changed access point password, reconnecting to the access point includes:

在预设时长内,获取更改后的接入点密码,根据该更改后的接入点密码,重新连接至该接入点;Obtain a changed access point password within a preset time period, and reconnect to the access point according to the changed access point password;

相应的,向该服务器发送更改密码分享请求包括:Correspondingly, sending the password change sharing request to the server includes:

在该预设时长内,向该服务器发送该更改密码分享请求,该服务器用于在确定在该预设时长内接收到该更改密码分享请求,且该接入点密码已更改时,执行允许分享该第二接入点信息的步骤。Within the preset time period, send the password change sharing request to the server, and the server is used to perform permission sharing when it is determined that the password change sharing request is received within the preset time period, and the access point password has been changed. The step of information of the second access point.

上述所有可选技术方案,可以采用任意结合形成本发明的可选实施例,在此不再一一赘述。All the above optional technical solutions can be combined in any way to form an optional embodiment of the present invention, which will not be repeated here.

在一个实施例中,图5是接入点信息分享方法的示例性流程图,参见图5,该方法包括:In one embodiment, FIG. 5 is an exemplary flowchart of a method for sharing access point information. Referring to FIG. 5, the method includes:

在步骤501中,接收终端发送的分享请求,该分享请求携带该终端已连接成功的第一接入点信息,该第一接入点信息包括接入点标识和第一接入点密码,本实施例的方法用于服务器中。In step 501, the sharing request sent by the terminal is received, the sharing request carries the first access point information that the terminal has successfully connected to, the first access point information includes the access point identifier and the first access point password, the present The method of the embodiment is used in the server.

在步骤502中,向该终端发送密码更改指令,该密码更改指令用于提示用户更改该接入点密码后重新连接至接入点,该终端用于获取更改后的第二接入点密码,根据该第二接入点密码,重新连接至该接入点。In step 502, a password change instruction is sent to the terminal, the password change instruction is used to prompt the user to change the password of the access point and reconnect to the access point, and the terminal is used to obtain the changed password of the second access point, Reconnect to the access point based on the second access point password.

在步骤503中,接收该终端发送的更改密码分享请求,该更改密码分享请求携带该终端已连接成功的第二接入点信息,该第二接入点信息包括该接入点标识和该第二接入点密码。In step 503, the password change sharing request sent by the terminal is received, the password change sharing request carries the second access point information to which the terminal has successfully connected, and the second access point information includes the access point identifier and the second access point Two access point passwords.

在步骤504中,判断该第二接入点密码与该第一接入点密码是否相同,如果是,结束,如果否,执行步骤505。In step 504, it is judged whether the password of the second access point is the same as the password of the first access point, if yes, end, if not, execute step 505.

在步骤505中,允许分享该第二接入点信息。In step 505, sharing of the second AP information is allowed.

本实施例提供的方法,通过在分享接入点信息的过程中,在该终端具有更改该接入点密码的权限且能够再次连接至该接入点时,确定该终端用户为该接入点的拥有者,此时才允许进行接入点信息的分享,避免了未经该拥有者允许擅自分享而造成的接入点密码泄露问题,进而避免了为该拥有者带来的损失。The method provided in this embodiment determines that the terminal user is the access point when the terminal has the authority to change the password of the access point and can connect to the access point again during the process of sharing access point information. The owner of the access point is only allowed to share the access point information at this time, which avoids the leakage of the access point password caused by unauthorized sharing without the owner's permission, and thus avoids the loss caused to the owner.

该方法还包括:The method also includes:

对该第一接入点信息进行解析,得到当前该终端连接成功的接入点设备的第一介质访问控制MAC地址;Analyzing the first access point information to obtain a first media access control MAC address of the access point device to which the terminal is currently successfully connected;

对该第二接入点信息进行解析,得到当前该终端连接成功的接入点设备的第二MAC地址;Analyzing the second access point information to obtain the second MAC address of the access point device to which the terminal is currently successfully connected;

判断该第一MAC地址和该第二MAC地址是否相同;judging whether the first MAC address and the second MAC address are the same;

当该第一MAC地址和该MAC地址相同时,执行判断该第二接入点密码与该第一接入点密码是否相同的步骤。When the first MAC address is the same as the MAC address, a step of judging whether the second access point password is the same as the first access point password is performed.

该方法还包括:The method also includes:

当该分享请求还携带当前该终端连接成功的接入点设备的第一特征信息,且该更改密码分享请求还携带当前该终端连接成功的接入点设备的第二特征信息时,判断该第一特征信息和该第二特征信息是否相同;When the sharing request also carries the first characteristic information of the access point device to which the terminal is currently successfully connected, and the password change sharing request also carries the second characteristic information of the access point device to which the terminal is currently successfully connected, it is determined that the first Whether the first feature information is the same as the second feature information;

当该第一特征信息和该第二特征信息相同时,执行判断该第二接入点密码与该第一接入点密码是否相同的步骤。When the first feature information is the same as the second feature information, a step of judging whether the second access point password is the same as the first access point password is performed.

该密码更改指令用于提示用户在预设时长内更改该接入点密码后重新连接至接入点,该方法还包括:The password change instruction is used to prompt the user to reconnect to the access point after changing the password of the access point within a preset period of time, and the method also includes:

在该预设时长内接收到该终端发送的更改密码分享请求时,执行判断该第二接入点密码与该第一接入点密码是否相同的步骤。When the password change sharing request sent by the terminal is received within the preset time period, a step of judging whether the second access point password is the same as the first access point password is performed.

上述所有可选技术方案,可以采用任意结合形成本发明的可选实施例,在此不再一一赘述。All the above optional technical solutions can be combined in any way to form an optional embodiment of the present invention, which will not be repeated here.

在一个实施例中,图6a是接入点信息分享方法的示例性流程图,该实施例的交互主体为终端和服务器,参见图6a,该方法包括:In one embodiment, FIG. 6a is an exemplary flowchart of a method for sharing access point information. The interaction subjects of this embodiment are a terminal and a server. Referring to FIG. 6a, the method includes:

在步骤601中,该终端接收分享指令,该分享指令用于分享该终端已连接成功的第一接入点信息,该第一接入点信息包括接入点标识和第一接入点密码。In step 601, the terminal receives a sharing instruction, and the sharing instruction is used to share information of a first access point to which the terminal has successfully connected, and the first access point information includes an access point identifier and a first access point password.

本实施例应用于该终端已连接接入点成功,需要分享接入点信息的场景下,该第一接入点信息包括接入点标识和第一接入点密码,还可以包括接入终端的标识、接入次数等信息,本实施例对此不做限定。This embodiment is applied to the scenario where the terminal has successfully connected to the access point and needs to share the access point information. The first access point information includes the access point identifier and the first access point password, and may also include the access terminal Information such as the identifier and access times, which are not limited in this embodiment.

该分享指令与图3a所示实施例中的分享指令类似,也可以由用户触发或者在该终端连接至任一接入点时自动触发,本实施例对此不做限定。The sharing instruction is similar to the sharing instruction in the embodiment shown in FIG. 3 a , and may also be triggered by the user or automatically when the terminal is connected to any access point, which is not limited in this embodiment.

需要说明的是,该分享指令与该分享指令的“第一”和“第二”仅用于区分这两种分享指令,并不构成对这两种分享指令的先后顺序的限定。It should be noted that the sharing instruction and the "first" and "second" of the sharing instruction are only used to distinguish the two sharing instructions, and do not constitute a limitation on the sequence of the two sharing instructions.

在步骤602中,该终端向服务器发送分享请求,该分享请求携带该接入点信息和当前连接成功的接入点设备的第一特征信息。In step 602, the terminal sends a sharing request to the server, and the sharing request carries the access point information and the first feature information of the currently connected access point device.

该终端通过该接入点设备连接该接入点,每当该终端向该服务器发送请求时,均是由该终端向该接入点设备发送请求,该接入点设备向该服务器转发该请求,则该请求必然携带该接入点设备的特征信息,该特征信息用于唯一确定该接入点设备,可以为该接入点设备的PIN码等。其中,该第一特征信息是指该终端在发送该分享请求时连接成功的接入点设备的特征信息。The terminal connects to the access point through the access point device, and whenever the terminal sends a request to the server, the terminal sends the request to the access point device, and the access point device forwards the request to the server , the request must carry feature information of the access point device, and the feature information is used to uniquely identify the access point device, which may be the PIN code of the access point device. Wherein, the first feature information refers to feature information of the access point device that the terminal successfully connects to when sending the sharing request.

需要说明的是,该分享请求与图3a所示实施例中的分享请求的“第一”和“第二”仅用于区分这两种分享请求,并不构成对这两种分享请求的先后顺序的限定。It should be noted that the "first" and "second" of the sharing request and the sharing request in the embodiment shown in Figure 3a are only used to distinguish the two sharing requests, and do not constitute a sequence The sequence is limited.

在步骤603中,当该服务器接收到该分享请求时,向该终端发送密码更改指令,该密码更改指令用于提示用户在预设时长内更改该接入点密码后重新连接至接入点。In step 603, when the server receives the sharing request, it sends a password change instruction to the terminal, and the password change instruction is used to prompt the user to reconnect to the access point after changing the password of the access point within a preset time period.

在本实施例中,该服务器要求该终端在预设时长内更改该接入点密码,并重新连接至该接入点,以验证该终端用户是否具有更改该接入点密码的权限以及是否能够在更改该接入点密码后重新连接该接入点,从而验证该终端用户是否为该接入点的拥有者。In this embodiment, the server requires the terminal to change the password of the access point within a preset period of time and reconnect to the access point to verify whether the terminal user has the authority to change the password of the access point and can Reconnect to the access point after changing the access point password, thereby verifying that the end user is the owner of the access point.

其中,该预设时长用于限制该终端用户更改该接入点密码和重新连接至该接入点所使用的时长,一旦该终端超过该预设时长仍未重新连接至该接入点,该密码更改指令失效,该服务器将不再分享该接入点信息。该预设时长可以由技术人员在开发时设定,或者根据当前的网络状况、在线人数等进行调整,本实施例对此不做限定。Wherein, the preset duration is used to limit the duration used by the terminal user to change the password of the access point and reconnect to the access point. Once the terminal has not reconnected to the access point beyond the preset duration, the The password change command is invalid, and the server will no longer share the access point information. The preset duration can be set by a technician during development, or adjusted according to the current network status, number of online users, etc., which is not limited in this embodiment.

图6b是更改密码提示界面示意图,当该终端接收到该密码更改指令时,显示如图6b所示的界面。参见图6b,该预设时长为10分钟,该终端显示提示消息“请在10分钟内更改无线网络的密码,并再次连上本网络”,以提示用户在10分钟内更改密码并重新连接该接入点。同时,该终端还可以进行倒计时,并在该提示界面显示剩余时长,即显示提示消息“还有9分钟”。Fig. 6b is a schematic diagram of a password change prompt interface. When the terminal receives the password change instruction, the interface shown in Fig. 6b is displayed. Referring to Figure 6b, the preset duration is 10 minutes, and the terminal displays a prompt message "Please change the password of the wireless network within 10 minutes and connect to the network again" to prompt the user to change the password and reconnect to the network within 10 minutes. Access Point. At the same time, the terminal can also perform a countdown, and display the remaining time on the prompt interface, that is, display a prompt message "9 minutes left".

本实施例以该服务器设定该预设时长为例,实际上该服务器还可以不设定该预设时长,也即是,在本实施例提供的另一实施例中,该密码更改指令用于提示用户更改该接入点密码后重新连接至接入点,后续该服务器在接收到该终端的更改密码分享请求时,无需对该终端重新连接至该接入点所使用的时长进行验证。In this embodiment, the server sets the preset duration as an example. In fact, the server may not set the preset duration, that is, in another embodiment provided by this embodiment, the password change command uses After prompting the user to change the password of the access point and then reconnect to the access point, the server does not need to verify the duration of the terminal's reconnection to the access point when receiving the terminal's password change sharing request.

在步骤604中,当该终端接收到该密码更改指令时,获取更改后的第二接入点密码,根据该第二接入点密码,重新连接至该接入点。In step 604, when the terminal receives the password change instruction, it obtains the changed second access point password, and reconnects to the access point according to the second access point password.

在本实施例中,当该终端接收到该密码更改指令时,需要先更改该接入点密码,再获取用户输入的更改后的接入点密码,根据该更改后的接入点密码,重新连接至该接入点。In this embodiment, when the terminal receives the password change instruction, it needs to change the access point password first, and then obtain the changed access point password input by the user, and then reset the password according to the changed access point password. Connect to that access point.

首先,该终端通过访问接入点设备管理网页或者接入点设备管理软件,根据该终端用户输入的管理账号和管理密码,进入管理界面,该终端用户在密码更改界面输入第一接入点密码以及更改后的第二接入点密码,在管理服务器验证通过时,该终端更改该接入点密码成功。其次,该终端用户输入该第二接入点密码,使得该终端根据该第二接入点密码,重新连接至该接入点。First, the terminal accesses the access point device management web page or the access point device management software, and enters the management interface according to the management account number and management password entered by the terminal user, and the terminal user enters the first access point password on the password change interface and the changed password of the second access point. When the management server passes the verification, the terminal successfully changes the password of the access point. Secondly, the terminal user inputs the second access point password, so that the terminal reconnects to the access point according to the second access point password.

在更改该接入点密码的过程中,该终端用户需要输入管理账号、管理密码以及该第一接入点密码,则该接入点密码被更改之后,该终端重新连接至该接入点时,即可表明该终端用户具有管理该接入点设备的权限,即可以认为该终端用户为该接入点的拥有者。In the process of changing the access point password, the terminal user needs to enter the management account, management password and the first access point password, then after the access point password is changed, when the terminal reconnects to the access point , which means that the terminal user has the right to manage the access point device, that is, the terminal user can be considered as the owner of the access point.

在步骤605中,该终端向该服务器发送更改密码分享请求,该更改密码分享请求携带该更改后的第二接入点密码和当前连接成功的接入点设备的第二特征信息。In step 605, the terminal sends a password change sharing request to the server, and the password change sharing request carries the changed second access point password and the second characteristic information of the currently connected access point device.

其中,该更改密码分享请求可以由该终端在检测到已重新连接该接入点时自动触发,或者如图6b所示,该更改密码分享请求由用户点击“已更改”按键进行触发,本实施例对此不做限定。Wherein, the change password sharing request can be automatically triggered by the terminal when it detects that the access point has been reconnected, or as shown in Figure 6b, the change password sharing request is triggered by the user clicking the "changed" button. Examples are not limited to this.

在本实施例中,该分享请求为该终端发送的用于请求分享该接入点信息的分享请求,而该更改密码分享请求为该终端在接收到该密码更改指令后更改该接入点密码并重新连接至该接入点后发送的分享请求。In this embodiment, the sharing request is a sharing request sent by the terminal for requesting to share the access point information, and the password change sharing request is the terminal changing the password of the access point after receiving the password change instruction and a sharing request sent after reconnecting to the access point.

其中,该第二特征信息是指该终端在发送该更改密码分享请求时所连接的接入点设备的特征信息。如果该终端连接至该分享请求对应的接入点时,该第二特征信息与该第一特征信息应当相同,而如果该终端连接至该分享请求对应的接入点之外的接入点时,该第二特征信息与该第一特征信息不同。Wherein, the second characteristic information refers to the characteristic information of the access point device that the terminal is connected to when sending the password change sharing request. If the terminal is connected to the access point corresponding to the sharing request, the second feature information should be the same as the first feature information, and if the terminal is connected to an access point other than the access point corresponding to the sharing request , the second characteristic information is different from the first characteristic information.

在步骤606中,当该服务器在预设时长内接收到该更改密码分享请求时,执行步骤607。In step 606, when the server receives the password change sharing request within a preset time period, step 607 is executed.

在本实施例中,该服务器在向该终端发送密码更改指令后,开始计时,当该服务器在预设时长内接收到该更改密码分享请求时,该服务器可以对该终端进行进一步的验证,以判断该终端用户是否为该接入点的拥有者。当在预设时长内未接收到更改密码分享请求时,结束分享流程。In this embodiment, the server starts timing after sending the password change command to the terminal, and when the server receives the password change sharing request within a preset time period, the server can further verify the terminal to It is judged whether the terminal user is the owner of the access point. When the sharing request for changing the password is not received within the preset time period, the sharing process ends.

本实施例以该服务器在确定在预设时长内未接收到更改密码分享请求时不再执行任何操作为例,实际上,该服务器在确定在预设时长内未接收到更改密码分享请求时,还可以向该终端发送超时消息,使得该终端重新发送该分享请求。In this embodiment, the server does not perform any operation when it determines that the password change sharing request is not received within the preset time period. In fact, when the server determines that the password change sharing request is not received within the preset time period, A timeout message may also be sent to the terminal, so that the terminal resends the sharing request.

在步骤607中,该服务器判断该第一特征信息和该第二特征信息是否相同,如果是,执行步骤608,如果否,结束。In step 607, the server judges whether the first feature information is the same as the second feature information, if yes, execute step 608, if no, end.

在本实施例中,在该终端向该服务器发送的分享请求中均携带当前连接成功的接入点设备的特征信息,该特征信息用于唯一确定当前该终端当前连接成功的接入点设备。则该服务器在接收到该分享请求时,获取该第一特征信息,在接收到该更改密码分享请求时,获取该第二特征信息,判断该第一特征信息与该第二特征信息是否相同,当该第一特征信息与该第二特征信息相同时,表明该终端在更改密码前后连接的是同一个接入点,该终端并未在更改密码期间接入其它的接入点,则该服务器可以对该终端用户进行进一步验证,以判断该终端用户是否为该接入点的拥有者。当该第二特征信息与该第一特征信息不同时,表明该终端在更改密码期间内接入了其它的接入点,该更改密码分享请求与该分享请求所对应的接入点不同,则不能确定该终端用户具有管理该接入点设备的权限,即可以认为该终端用户不是该接入点的拥有者。In this embodiment, the sharing requests sent by the terminal to the server all carry feature information of the currently connected access point device, and the feature information is used to uniquely determine the currently successfully connected access point device of the terminal. Then the server obtains the first characteristic information when receiving the sharing request, obtains the second characteristic information when receiving the password change sharing request, and determines whether the first characteristic information is the same as the second characteristic information, When the first feature information is the same as the second feature information, it indicates that the terminal connected to the same access point before and after changing the password, and the terminal did not access other access points during the password change, then the server Further authentication may be performed on the end user to determine whether the end user is the owner of the access point. When the second characteristic information is different from the first characteristic information, it indicates that the terminal has accessed other access points during the password change period, and the password change sharing request is different from the access point corresponding to the sharing request, then It cannot be determined that the terminal user has the authority to manage the access point device, that is, it can be considered that the terminal user is not the owner of the access point.

本实施例以该服务器在确定该第一特征信息与该第二特征信息不同时不再执行任何操作为例,实际上该服务器还可以在确定该第一特征信息与该第二特征信息不同时,向该终端发送接入点错误消息,使得该终端重新更改该分享请求对应的接入点的密码,并重新连接至该接入点。In this embodiment, the server does not perform any operation when it is determined that the first characteristic information is different from the second characteristic information. In fact, the server may also determine that the first characteristic information is different from the second characteristic information. , sending an access point error message to the terminal, so that the terminal re-changes the password of the access point corresponding to the sharing request, and reconnects to the access point.

需要说明的是,本实施例以该服务器根据该第一特征信息和该第二特征信息,验证该终端是否接入了同一接入点设备为例进行说明,而在实际应用过程中,该分享请求还可以不携带该第一特征信息,该更改密码分享请求还可以不携带该第二特征信息,此时,该服务器可以根据该接入点信息进行验证。It should be noted that this embodiment uses the server to verify whether the terminal has access to the same access point device according to the first feature information and the second feature information as an example. The request may not carry the first characteristic information, and the password change sharing request may not carry the second characteristic information. In this case, the server may perform verification according to the access point information.

在本实施例提供的另一实施例中,以MAC地址为例,该步骤607可以由以下步骤代替:该服务器在接收到该分享请求时,对该第一接入点信息进行解析,得到当前该终端连接成功的接入点设备的第一MAC地址,在接收到该更改密码分享请求时,对该第二接入点信息进行解析,得到当前该终端连接成功的接入点设备的第二MAC地址,判断该第一MAC地址和该第二MAC地址是否相同,如果是,执行步骤608,如果否,结束。In another embodiment provided by this embodiment, taking the MAC address as an example, step 607 can be replaced by the following steps: when the server receives the sharing request, it parses the first access point information to obtain the current The first MAC address of the access point device with which the terminal is successfully connected, when receiving the password change sharing request, parses the information of the second access point to obtain the second MAC address of the access point device with which the terminal is currently successfully connected. MAC address, judging whether the first MAC address and the second MAC address are the same, if yes, execute step 608, if no, end.

当然,该服务器还可以在接收到该分享请求时,缓存该第一接入点信息,在接收到该更改密码分享请求时,对该第一接入点信息和该第二接入点信息进行解析,得到该第一MAC地址和该第二MAC地址。Certainly, the server may also cache the first access point information when receiving the sharing request, and perform an update on the first access point information and the second access point information when receiving the password change sharing request. Analyze to obtain the first MAC address and the second MAC address.

与根据该第一特征信息和第二特征信息验证该终端是否接入了同一接入点设备同理,当该第一MAC地址与该第二MAC地址相同时,表明该终端在更改密码前后连接的是同一个接入点,则该服务器可以对该终端用户进行进一步验证,以判断该终端用户是否为该接入点的拥有者。当该第一MAC地址与该第二MAC地址不同时,表明该终端在更改密码期间内接入了其它的接入点,该更改密码分享请求与该分享请求所对应的接入点不同,则不能确定该终端用户具有管理该接入点设备的权限,即可以认为该终端用户不是该接入点的拥有者。It is the same as verifying whether the terminal is connected to the same access point device according to the first characteristic information and the second characteristic information. When the first MAC address is the same as the second MAC address, it indicates that the terminal has connected to the same access point device before and after changing the password. If the user is the same access point, the server can further verify the terminal user to determine whether the terminal user is the owner of the access point. When the first MAC address is different from the second MAC address, it indicates that the terminal has accessed other access points during the password change period, and the password change sharing request is different from the access point corresponding to the sharing request, then It cannot be determined that the terminal user has the authority to manage the access point device, that is, it can be considered that the terminal user is not the owner of the access point.

在步骤608中,该服务器判断该第二接入点密码与该第一接入点密码是否相同,如果是,结束,如果否,执行步骤609。In step 608, the server judges whether the password of the second access point is the same as the password of the first access point, if yes, end, if not, execute step 609.

在本实施例中,该服务器在确定该第一特征信息与该第二特征信息相同时,判断该第二接入点密码与该第一接入点密码是否相同,以判断该终端用户是否具有管理该接入点设备的权限。当该服务器确定该第二接入点密码与第一该接入点密码不同时,表明该终端已成功更改了该接入点密码,则可以认为该终端用户具有管理该接入点设备的权限,该终端用户即为该接入点的拥有者。当该服务器确定该第二接入点密码与该第一接入点密码相同时,表明该终端未更改该接入点密码,则可以认为该终端用户没有管理该接入点设备的权限,该终端用户不是该接入点的拥有者。In this embodiment, when the server determines that the first feature information is the same as the second feature information, it judges whether the second access point password is the same as the first access point password, so as to determine whether the terminal user has Manage permissions for this access point device. When the server determines that the second access point password is different from the first access point password, it indicates that the terminal has successfully changed the access point password, and it can be considered that the terminal user has the authority to manage the access point device , the end user is the owner of the access point. When the server determines that the second access point password is the same as the first access point password, indicating that the terminal has not changed the access point password, it can be considered that the terminal user has no authority to manage the access point device. The end user is not the owner of the access point.

本实施例以该服务器确定该第二接入点密码与该第一接入点密码相同时不再执行任何操作为例,实际上该服务器还可以在确定该第二接入点密码与该第一接入点密码相同时,重新向该终端发送密码更改指令,使得该终端重新更改该接入点密码,并重新连接至该接入点。In this embodiment, the server determines that the second access point password is the same as the first access point password and does not perform any operations as an example. In fact, the server can also determine that the second access point password is the same as the first access point password When the passwords of an access point are the same, a password change instruction is sent to the terminal again, so that the terminal changes the password of the access point again and reconnects to the access point.

在本实施例中,该步骤606用于验证该终端重新连接该接入点所使用的时长,该步骤607用于验证该终端是否接入了同一接入点设备,该步骤608用于验证该终端是否成功更改了该接入点密码。In this embodiment, step 606 is used to verify the time period for the terminal to reconnect to the access point, step 607 is used to verify whether the terminal has connected to the same access point device, and step 608 is used to verify the Whether the terminal successfully changed the access point password.

假设终端用户不是该接入点的拥有者,当该接入点的拥有者告知该终端用户该接入点密码时,该终端根据该接入点标识和该接入点密码可以连接至该接入点,而当该终端用户希望分享该接入点密码时,如果该拥有者未允许该终端用户分享该接入点密码,则由于该终端用户没有管理该接入点设备的权限,该终端用户无法更改该接入点密码,则该服务器验证无法通过,此时不能分享该接入点密码,或者该终端用户连接至该接入点之外的接入点时,该服务器能够根据当前连接的接入点设备的特征信息,及时识别出该终端连接了不同的接入点,验证也无法通过,此时不能分享该接入点密码。如果该拥有者允许该终端用户分享该接入点密码时,该拥有者可以更改该接入点密码,或者告知该终端用户接入点设备的管理账号和管理密码以由该终端用户更改该接入点密码,使得该终端能够获取到更改后的接入点密码并重新连接至该接入点,该服务器即可验证通过,从而分享该接入点密码。Assuming that the terminal user is not the owner of the access point, when the owner of the access point informs the terminal user of the password of the access point, the terminal can connect to the access point according to the identifier of the access point and the password of the access point. access point, and when the terminal user wants to share the access point password, if the owner does not allow the terminal user to share the access point password, since the terminal user does not have the authority to manage the access point device, the terminal If the user cannot change the password of the access point, the verification of the server cannot pass, and the password of the access point cannot be shared at this time, or when the terminal user connects to an access point other than the access point, the server can The feature information of the access point device of the terminal can be recognized in time that the terminal is connected to a different access point, and the verification cannot pass, so the password of the access point cannot be shared at this time. If the owner allows the terminal user to share the access point password, the owner can change the access point password, or inform the end user of the management account and management password of the access point device so that the terminal user can change the access point password. The access point password, so that the terminal can obtain the changed access point password and reconnect to the access point, and the server can pass the verification, thereby sharing the access point password.

需要说明的是,本实施例以该步骤607在步骤606之后执行,该步骤608在步骤607之后执行,实际上,该步骤606、步骤607和步骤608可以同时执行,也可以一前一后执行,本实施例对该步骤606、步骤607和步骤608的执行顺序不做限定。此外,还可以只执行步骤608、只执行步骤606和步骤608或者只执行步骤607和步骤608,本实施例对该步骤606、步骤607和步骤608的组合方式也不做限定。It should be noted that, in this embodiment, step 607 is executed after step 606, and step 608 is executed after step 607. In fact, step 606, step 607, and step 608 can be executed at the same time, or they can be executed one after the other. , this embodiment does not limit the execution sequence of step 606, step 607, and step 608. In addition, only step 608, only step 606 and step 608, or only step 607 and step 608 may be performed, and the combination of step 606, step 607 and step 608 is not limited in this embodiment.

在步骤609中,该服务器允许分享该第二接入点信息。In step 609, the server allows sharing of the second AP information.

当该服务器确定该终端用户为该接入点的拥有者时,允许分享该第二接入点信息,即保存该接入点标识和该第二接入点密码,以便在该服务器接收到任一终端对该接入点的连接请求时,将该第二接入点信息分享给该请求连接该接入点的终端,使得该请求连接该接入点的终端无需输入该接入点密码,即可根据该第二接入点信息,连接至该接入点。When the server determines that the terminal user is the owner of the access point, it is allowed to share the information of the second access point, that is, to save the identifier of the access point and the password of the second access point, so that when the server receives any When a terminal requests to connect to the access point, the information of the second access point is shared with the terminal requesting to connect to the access point, so that the terminal requesting to connect to the access point does not need to input the password of the access point, That is, connect to the access point according to the information of the second access point.

在本实施例中,通过该服务器对该终端用户是否具有更改该接入点密码的权限以及是否能够在更改该接入点密码后重新连接至该接入点进行验证,在确定该终端用户为该接入点的拥有者后再允许分享该接入点信息,保证了在该接入点的拥有者允许分享该接入点信息时可以成功分享,而在该拥有者未允许分享该接入点信息时则不能分享。In this embodiment, the server verifies whether the terminal user has the authority to change the password of the access point and whether he can reconnect to the access point after changing the password of the access point. After determining that the terminal user is The owner of the access point is allowed to share the access point information, which ensures that the access point information can be shared successfully when the access point owner allows sharing of the access point information, but when the owner does not allow sharing of the access point information When you click on the information, you cannot share it.

本实施例提供的方法,通过在分享接入点信息的过程中,在该终端具有更改该接入点密码的权限且能够再次连接至该接入点时,确定该终端用户为该接入点的拥有者,此时才允许进行接入点信息的分享,避免了未经该拥有者允许擅自分享而造成的接入点密码泄露问题,进而避免了为该拥有者带来的损失。The method provided in this embodiment determines that the terminal user is the access point when the terminal has the authority to change the password of the access point and can connect to the access point again during the process of sharing access point information. The owner of the access point is only allowed to share the access point information at this time, which avoids the leakage of the access point password caused by unauthorized sharing without the owner's permission, and thus avoids the loss caused to the owner.

图7是接入点信息分享装置的示例性结构示意图,参见图7,该装置包括:分享指令接收模块701、待校验获取模块702、分享请求发送模块703,Fig. 7 is a schematic structural diagram of an exemplary structure of an access point information sharing device. Referring to Fig. 7, the device includes: a sharing instruction receiving module 701, a pending verification obtaining module 702, and a sharing request sending module 703,

其中,分享指令接收模块701用于接收分享指令,该分享指令用于分享终端已连接成功的接入点信息;待校验获取模块702与分享指令接收模块701连接,用于获取用户输入的接入点设备的待校验信息;分享请求发送模块703与待校验获取模块702连接,用于向服务器发送分享请求,该分享请求携带该接入点信息和该待校验信息,该服务器用于根据该接入点信息对该待校验信息进行验证,在验证通过时,允许分享该接入点信息。Among them, the sharing command receiving module 701 is used to receive the sharing command, and the sharing command is used to share the access point information that the terminal has successfully connected to; The information to be verified of the access point device; the sharing request sending module 703 is connected with the obtaining module 702 to be verified, and is used to send a sharing request to the server, and the sharing request carries the access point information and the information to be verified, and the server uses The information to be verified is verified according to the access point information, and the access point information is allowed to be shared when the verification is passed.

该待校验获取模块702包括:The acquisition module 702 to be verified includes:

第一提示单元,用于提示用户输入该接入点设备的MAC地址;a first prompting unit, configured to prompt the user to input the MAC address of the access point device;

第一获取单元,用于将用户输入的MAC地址获取为该待校验信息,该服务器用于对该接入点信息进行解析,得到该接入点设备的MAC地址,根据该接入点设备的MAC地址对该待校验信息进行验证。The first obtaining unit is used to obtain the MAC address input by the user as the information to be verified, and the server is used to analyze the access point information to obtain the MAC address of the access point device, according to the access point device The MAC address to verify the information to be verified.

该分享请求还携带特征信息,该服务器用于根据该特征信息对该待校验信息进行验证,在验证通过时,允许分享该接入点信息。The sharing request also carries feature information, and the server is used to verify the information to be verified according to the feature information, and allow sharing of the access point information when the verification is passed.

该特征信息为该接入点设备的个人识别码PIN,该待校验获取模块702包括:The characteristic information is the personal identification code PIN of the access point device, and the acquisition module 702 to be verified includes:

第二提示单元,用于提示用户输入该接入点设备的PIN码;The second prompt unit is used to prompt the user to input the PIN code of the access point device;

第二获取单元,用于将用户输入的PIN码获取为该待校验信息,该服务器用于根据该接入点设备的PIN码对该待校验信息进行验证。The second acquiring unit is configured to acquire the PIN code input by the user as the information to be verified, and the server is configured to verify the information to be verified according to the PIN code of the access point device.

本实施例提供的装置,通过在分享接入点信息的过程中,仅在根据该接入点设备的特征信息,确定该终端用户为该接入点的拥有者时,才允许进行接入点信息的分享,避免了未经该拥有者允许擅自分享而造成的接入点密码泄露问题,进而避免了为该拥有者带来的损失。The device provided in this embodiment allows access point information to be shared only when the terminal user is determined to be the owner of the access point according to the feature information of the access point device during the process of sharing access point information. The sharing of information avoids the leakage of access point passwords caused by unauthorized sharing without the owner's permission, thereby avoiding the loss caused to the owner.

图8是接入点信息分享装置的示例性结构示意图,参见图8,该装置包括:分享请求接收模块801、验证模块802、分享模块803,FIG. 8 is a schematic structural diagram of an exemplary structure of an access point information sharing device. Referring to FIG. 8, the device includes: a sharing request receiving module 801, a verification module 802, and a sharing module 803,

其中,分享请求接收模块801用于接收终端发送的分享请求,该分享请求携带该终端已连接成功的接入点信息和用户输入的接入点设备的待校验信息;第一验证模块802与分享请求接收模块801连接,用于根据该接入点信息,对该待校验信息进行验证;分享模块803与验证模块802连接,用于当验证通过时,允许分享该接入点信息。Among them, the sharing request receiving module 801 is used to receive the sharing request sent by the terminal, the sharing request carries the access point information that the terminal has successfully connected and the information to be verified of the access point device input by the user; the first verification module 802 and The sharing request receiving module 801 is connected to verify the information to be verified according to the access point information; the sharing module 803 is connected to the verification module 802 and is used to allow sharing of the access point information when the verification is passed.

该第一验证模块802包括:The first verification module 802 includes:

解析单元,用于对该接入点信息进行解析,得到该接入点设备的MAC地址;A parsing unit, configured to parse the access point information to obtain the MAC address of the access point device;

判断单元,用于判断该待校验信息与该MAC地址是否相同;a judging unit, configured to judge whether the information to be verified is the same as the MAC address;

验证通过单元,用于当该待校验信息与该MAC地址相同时,验证通过。The verification pass unit is configured to pass the verification when the information to be verified is the same as the MAC address.

该装置还包括:The unit also includes:

第二验证模块,用于当该分享请求还携带特征信息时,根据该特征信息,对该待校验信息进行验证。The second verification module is configured to verify the information to be verified according to the characteristic information when the sharing request also carries characteristic information.

该第二验证模块包括:The second authentication module includes:

信息判断单元,用于判断该待校验信息与该特征信息是否相同;An information judging unit, configured to judge whether the information to be verified is the same as the feature information;

验证通过单元,用于当该待校验信息与该特征信息相同时,验证通过。The verification pass unit is configured to pass the verification when the information to be verified is the same as the feature information.

该特征信息为该接入点设备的个人识别码PIN。The feature information is the personal identification code PIN of the access point device.

本实施例提供的装置,通过在分享接入点信息的过程中,仅在根据该接入点设备的特征信息,确定该终端用户为该接入点的拥有者时,才允许进行接入点信息的分享,避免了未经该拥有者允许擅自分享而造成的接入点密码泄露问题,进而避免了为该拥有者带来的损失。The device provided in this embodiment allows access point information to be shared only when the terminal user is determined to be the owner of the access point according to the feature information of the access point device during the process of sharing access point information. The sharing of information avoids the leakage of access point passwords caused by unauthorized sharing without the owner's permission, thereby avoiding the loss caused to the owner.

图9是接入点信息分享装置的示例性结构示意图,参见图9,该装置包括:分享指令接收模块901、分享请求发送模块902、更改密码获取模块903、更改分享请求发送模块904,Fig. 9 is a schematic diagram of an exemplary structure of an access point information sharing device. Referring to Fig. 9, the device includes: a sharing instruction receiving module 901, a sharing request sending module 902, a password change obtaining module 903, and a sharing request sending module 904,

其中,分享指令接收模块901用于接收分享指令,该分享指令用于分享本端已连接成功的第一接入点信息,该第一接入点信息包括接入点标识和第一接入点密码;分享请求发送模块902与分享指令接收模块901连接,用于向服务器发送分享请求,该分享请求携带该第一接入点信息,使得该服务器向该本端发送密码更改指令,该密码更改指令用于提示用户更改该接入点密码后重新连接至接入点;更改密码获取模块903与分享请求发送模块902连接,用于获取更改后的第二接入点密码,根据该第二接入点密码,重新连接至该接入点;更改分享请求发送模块904与更改密码获取模块903连接,用于向该服务器发送更改密码分享请求,该更改密码分享请求携带第二接入点信息,该第二接入点信息包括该接入点标识和该第二接入点密码,该服务器用于在确定该接入点密码已更改时,允许分享该第二接入点信息。Wherein, the sharing command receiving module 901 is used to receive the sharing command, and the sharing command is used to share the information of the first access point that has been successfully connected at the local end, and the first access point information includes the access point identifier and the first access point Password; the sharing request sending module 902 is connected with the sharing instruction receiving module 901, and is used to send a sharing request to the server, and the sharing request carries the first access point information, so that the server sends a password change instruction to the local end, and the password change The instruction is used to prompt the user to change the password of the access point and reconnect to the access point; the password change acquisition module 903 is connected to the sharing request sending module 902 to obtain the changed password of the second access point, according to the second access point The access point password is reconnected to the access point; the change sharing request sending module 904 is connected with the change password acquisition module 903, and is used to send a change password sharing request to the server, and the change password sharing request carries the second access point information, The second access point information includes the access point identifier and the second access point password, and the server is configured to allow sharing of the second access point information when it is determined that the access point password has been changed.

该分享请求还携带当前该终端连接成功的接入点设备的第一特征信息,该更改密码分享请求还携带当前该终端连接成功的接入点设备的第二特征信息,使得该服务器在确定该第一特征信息与该第二特征信息相同且该接入点密码已更改时,执行允许分享该第二接入点信息的步骤。The sharing request also carries the first characteristic information of the access point device that the terminal is currently successfully connected to, and the password change sharing request also carries the second characteristic information of the access point device that the terminal is currently successfully connected to, so that the server determines the When the first characteristic information is the same as the second characteristic information and the password of the access point has been changed, a step of allowing sharing of the second access point information is performed.

该更改密码获取模块903用于在预设时长内,获取该第二接入点密码,根据该第二接入点密码,重新连接至该接入点;相应的,该更改分享请求发送模块904用于在该预设时长内,向该服务器发送该更改密码分享请求,该服务器用于在确定在该预设时长内接收到该更改密码分享请求,且该接入点密码已更改时,执行允许分享该第二接入点信息的步骤。The change password obtaining module 903 is used to obtain the second access point password within a preset time period, and reconnect to the access point according to the second access point password; correspondingly, the change sharing request sending module 904 Used to send the password change sharing request to the server within the preset time period, and the server is used to execute when it is determined that the password change sharing request is received within the preset time period and the access point password has been changed. The step of enabling sharing of the second access point information.

本实施例提供的装置,通过在分享接入点信息的过程中,在该终端具有更改该接入点密码的权限且能够再次连接至该接入点时,确定该终端用户为该接入点的拥有者,此时才允许进行接入点信息的分享,避免了未经该拥有者允许擅自分享而造成的接入点密码泄露问题,进而避免了为该拥有者带来的损失。The device provided in this embodiment determines that the terminal user is the access point when the terminal has the authority to change the password of the access point and can connect to the access point again during the process of sharing access point information. The owner of the access point is only allowed to share the access point information at this time, which avoids the leakage of the access point password caused by unauthorized sharing without the owner's permission, and thus avoids the loss caused to the owner.

图10是接入点信息分享装置的示例性结构示意图,参见图10,该装置包括:分享请求接收模块1001、更改指令发送模块1002、更改请求接收模块1003、判断模块1004、分享模块1005,Fig. 10 is a schematic structural diagram of an exemplary structure of an access point information sharing device. Referring to Fig. 10, the device includes: a sharing request receiving module 1001, a modification instruction sending module 1002, a modification request receiving module 1003, a judging module 1004, and a sharing module 1005,

其中,分享请求接收模块1001用于接收终端发送的分享请求,该分享请求携带该终端已连接成功的第一接入点信息,该第一接入点信息包括接入点标识和第一接入点密码;更改指令发送模块1002与分享请求接收模块1001连接,用于向该终端发送密码更改指令,该密码更改指令用于提示用户更改该接入点密码后重新连接至接入点,该终端用于获取更改后的第二接入点密码,根据该第二接入点密码,重新连接至该接入点;更改请求接收模块1003与更改指令发送模块1002连接,用于接收该终端发送的更改密码分享请求,该更改密码分享请求携带该终端已连接成功的第二接入点信息,该第二接入点信息包括该接入点标识和该第二接入点密码;判断模块1004与更改请求接收模块1003连接,用于判断该第二接入点密码与该第一接入点密码是否相同;分享模块1005与判断模块1004连接,用于当确定该第二接入点密码与该第一接入点密码不同时,允许分享该第二接入点信息。Wherein, the sharing request receiving module 1001 is used to receive the sharing request sent by the terminal, the sharing request carries the first access point information that the terminal has successfully connected to, and the first access point information includes the access point identifier and the first access point Click the password; the change instruction sending module 1002 is connected with the sharing request receiving module 1001, and is used to send a password change instruction to the terminal, and the password change instruction is used to prompt the user to change the access point password and reconnect to the access point. It is used to obtain the changed second access point password, and reconnect to the access point according to the second access point password; the change request receiving module 1003 is connected to the change instruction sending module 1002, and is used to receive the password sent by the terminal Change the password sharing request, the password change sharing request carries the second access point information that the terminal has successfully connected to, and the second access point information includes the access point identifier and the second access point password; the judging module 1004 and The change request receiving module 1003 is connected to determine whether the second access point password is the same as the first access point password; the sharing module 1005 is connected to the judging module 1004 and is used to determine whether the second access point password is the same as the When the passwords of the first access points are different, the information of the second access point is allowed to be shared.

该装置还包括:The unit also includes:

第一解析模块,用于对该第一接入点信息进行解析,得到当前该终端连接成功的接入点设备的第一介质访问控制MAC地址;The first parsing module is configured to parse the first access point information to obtain the first media access control MAC address of the access point device to which the terminal is currently successfully connected;

第二解析模块,用于对该第二接入点信息进行解析,得到当前该终端连接成功的接入点设备的第二MAC地址;The second parsing module is configured to parse the second access point information to obtain the second MAC address of the access point device to which the terminal is currently successfully connected;

MAC地址验证模块,用于判断该第一MAC地址和该第二MAC地址是否相同;A MAC address verification module, configured to determine whether the first MAC address and the second MAC address are the same;

MAC验证通过模块,用于当该第一MAC地址和该MAC地址相同时,执行判断该第二接入点密码与该第一接入点密码是否相同的步骤。The MAC verification passing module is used to execute the step of judging whether the password of the second access point is the same as the password of the first access point when the first MAC address is the same as the MAC address.

该装置还包括:The unit also includes:

特征信息判断模块,用于当该分享请求还携带当前该终端连接成功的接入点设备的第一特征信息,且该更改密码分享请求还携带当前该终端连接成功的接入点设备的第二特征信息时,判断该第一特征信息和该第二特征信息是否相同;The feature information judging module is configured to: when the sharing request also carries the first feature information of the access point device that the terminal is currently successfully connected to, and the password change sharing request also carries the second feature information of the access point device that the terminal is currently successfully connected to. feature information, judging whether the first feature information is the same as the second feature information;

第一执行模块,用于当该第一特征信息和该第二特征信息相同时,执行判断该第二接入点密码与该第一接入点密码是否相同的步骤。A first executing module, configured to execute the step of judging whether the password of the second access point is the same as the password of the first access point when the first feature information is the same as the second feature information.

该密码更改指令用于提示用户在预设时长内更改该接入点密码后重新连接至接入点,该装置还包括:The password change command is used to prompt the user to reconnect to the access point after changing the password of the access point within a preset period of time, and the device also includes:

第二执行模块,用于在该预设时长内接收到该终端发送的更改密码分享请求时,执行判断该第二接入点密码与该第一接入点密码是否相同的步骤。The second execution module is configured to execute the step of judging whether the second access point password is the same as the first access point password when receiving the password change sharing request sent by the terminal within the preset time period.

本实施例提供的装置,通过在分享接入点信息的过程中,在该终端具有更改该接入点密码的权限且能够再次连接至该接入点时,确定该终端用户为该接入点的拥有者,此时才允许进行接入点信息的分享,避免了未经该拥有者允许擅自分享而造成的接入点密码泄露问题,进而避免了为该拥有者带来的损失。The device provided in this embodiment determines that the terminal user is the access point when the terminal has the authority to change the password of the access point and can connect to the access point again during the process of sharing access point information. The owner of the access point is only allowed to share the access point information at this time, which avoids the leakage of the access point password caused by unauthorized sharing without the owner's permission, and thus avoids the loss caused to the owner.

需要说明的是:上述实施例提供的接入点信息分享装置在分享接入点信息时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将终端和服务器的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的接入点信息分享装置与接入点信息分享方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the access point information sharing device provided in the above-mentioned embodiments shares access point information, it only uses the division of the above-mentioned functional modules for illustration. In practical applications, the above-mentioned functions can be assigned by different The functional modules are completed, that is, the internal structures of the terminal and the server are divided into different functional modules, so as to complete all or part of the functions described above. In addition, the access point information sharing device and the access point information sharing method embodiment provided by the above embodiment belong to the same idea, and the specific implementation process thereof is detailed in the method embodiment, and will not be repeated here.

图11是终端设备的示例性结构示意图,参见图11,上述实施例中终端执行的步骤可以基于该终端设备的结构。优选的:FIG. 11 is a schematic structural diagram of an exemplary terminal device. Referring to FIG. 11 , the steps performed by the terminal in the foregoing embodiments may be based on the structure of the terminal device. Preferred:

终端设备1100可以包括通信单元110、包括有一个或一个以上计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、WIFI(WirelessFidelity,无线保真)模块170、包括有一个或者一个以上处理核心的处理器180、以及电源190等部件。本领域技术人员可以理解,图中示出的终端设备结构并不构成对终端设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:The terminal device 1100 may include a communication unit 110, a memory 120 including one or more computer-readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a WIFI (Wireless Fidelity, wireless fidelity) module 170, It includes a processor 180 with one or more processing cores, a power supply 190 and other components. Those skilled in the art can understand that the structure of the terminal device shown in the figure does not constitute a limitation on the terminal device, and may include more or less components than those shown in the figure, or combine some components, or arrange different components. in:

通信单元110可用于收发信息或通话过程中,信号的接收和发送,该通信单元110可以为RF(Radio Frequency,射频)电路、路由器、调制解调器、等网络通信设备。特别地,当通信单元110为RF电路时,将基站的下行信息接收后,交由一个或者一个以上处理器180处理;另外,将涉及上行的数据发送给基站。通常,作为通信单元的RF电路包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,通信单元110还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(GeneralPacket Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(LongTerm Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。存储器120可用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端设备1100的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器120还可以包括存储器控制器,以提供处理器180和输入单元130对存储器120的访问。The communication unit 110 can be used for sending and receiving information or receiving and sending signals during a call. The communication unit 110 can be an RF (Radio Frequency, radio frequency) circuit, router, modem, and other network communication equipment. In particular, when the communication unit 110 is an RF circuit, after receiving the downlink information of the base station, it is processed by one or more processors 180; in addition, the uplink data is sent to the base station. Typically, an RF circuit as a communication unit includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier, Low noise amplifier), duplexer, etc. In addition, the communication unit 110 can also communicate with a network and other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, Global System for Mobile Communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access), LTE (LongTerm Evolution, long-term evolution), email, SMS (Short Messaging Service, short message service), etc. The memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running the software programs and modules stored in the memory 120 . The memory 120 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.); The data created using the terminal device 1100 (such as audio data, phone book, etc.) and the like. In addition, the memory 120 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. Correspondingly, the memory 120 may further include a memory controller to provide access to the memory 120 by the processor 180 and the input unit 130 .

输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。优选地,输入单元130可包括触敏表面131以及其他输入设备132。触敏表面131,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面131。除了触敏表面131,输入单元130还可以包括其他输入设备132。优选地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 130 can be used to receive input numbers or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Preferably, the input unit 130 may include a touch-sensitive surface 131 and other input devices 132 . The touch-sensitive surface 131, also referred to as a touch screen or a touchpad, 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-sensitive surface 131 or on the operation near the touch-sensitive surface 131), and drive the corresponding connection device according to the preset program. Optionally, the touch-sensitive surface 131 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 180, and can receive and execute commands sent by the processor 180. In addition, the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch-sensitive surface 131 , the input unit 130 may also include other input devices 132 . Preferably, other input devices 132 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.

显示单元140可用于显示由用户输入的信息或提供给用户的信息以及终端设备1100的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元140可包括显示面板141,可选的,可以采用LCD(Liquid CrystalDisplay,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图11中,触敏表面131与显示面板141是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。The display unit 140 can be used to display information input by or provided to the user and various graphical user interfaces of the terminal device 1100. These graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. The display unit 140 may include a display panel 141 , and optionally, the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display, liquid crystal display), an OLED (Organic Light-Emitting Diode, organic light-emitting diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation on or near it, the touch operation is sent to the processor 180 to determine the type of the touch event, and then the processor 180 determines the type of the touch event according to the type of the touch event. The type provides a corresponding visual output on the display panel 141 . Although in FIG. 11 , the touch-sensitive surface 131 and the display panel 141 are used as two independent components to realize input and input functions, in some embodiments, the touch-sensitive surface 131 and the display panel 141 can be integrated to realize input. and output functions.

终端设备1100还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在终端设备1100移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端设备1100还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The terminal device 1100 may further include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. The light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 141 and/or when the terminal device 1100 moves to the ear. backlight. As a kind of motion sensor, the gravitational acceleration 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 for applications that recognize the attitude of mobile phones (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition-related functions (such as pedometer, tap), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, and infrared sensor that can also be configured on terminal device 1100, here No longer.

音频电路160、扬声器161,传声器162可提供用户与终端设备1100之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一终端设备,或者将音频数据输出至存储器120以便进一步处理。音频电路160还可能包括耳塞插孔,以提供外设耳机与终端设备1100的通信。The audio circuit 160 , the speaker 161 and the microphone 162 can provide an audio interface between the user and the terminal device 1100 . The audio circuit 160 can transmit the electrical signal converted from the received audio data to the loudspeaker 161, and the loudspeaker 161 converts it into an audio signal output; After being received, it is converted into audio data, and then the audio data is processed by the output processor 180, and then sent to another terminal device through the RF circuit 110, or the audio data is output to the memory 120 for further processing. The audio circuit 160 may also include an earplug jack to provide communication between an external earphone and the terminal device 1100 .

为了实现无线通信,该终端设备上可以配置有无线通信单元170,该无线通信单元170可以为WIFI模块。WIFI属于短距离无线传输技术,终端设备1100通过无线通信单元170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图中示出了无线通信单元170,但是可以理解的是,其并不属于终端设备1100的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。In order to realize wireless communication, a wireless communication unit 170 may be configured on the terminal device, and the wireless communication unit 170 may be a WIFI module. WIFI is a short-distance wireless transmission technology. The terminal device 1100 can help users send and receive emails, browse web pages, and access streaming media through the wireless communication unit 170. It provides users with wireless broadband Internet access. Although the wireless communication unit 170 is shown in the figure, it can be understood that it is not an essential component of the terminal device 1100, and can be completely omitted as required without changing the essence of the invention.

处理器180是终端设备1100的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行终端设备1100的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理核心;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。The processor 180 is the control center of the terminal device 1100, and uses various interfaces and lines to connect various parts of the entire mobile phone, by running or executing software programs and/or modules stored in the memory 120, and calling data stored in the memory 120 , execute various functions and process data of the terminal device 1100, so as to monitor the mobile phone as a whole. Optionally, the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 180 .

终端设备1100还包括给各个部件供电的电源190(比如电池),优选的,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The terminal device 1100 also includes a power supply 190 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 180 through the power management system, so that functions such as charging, discharging, and power consumption management can be realized through the power management system. . The power supply 190 may also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

尽管未示出,终端设备1100还可以包括摄像头、蓝牙模块等,在此不再赘述。在本实施例中,终端设备还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行本实施例提供的方法的指令。Although not shown, the terminal device 1100 may also include a camera, a Bluetooth module, etc., which will not be repeated here. In this embodiment, the terminal device further includes a memory, and one or more programs, wherein one or more programs are stored in the memory, and are configured to be executed by one or more processors. The program includes instructions for performing the method provided by this embodiment.

图12是服务器的示例性结构示意图。该服务器1200可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(central processing units,CPU)1222(例如,一个或一个以上处理器)和存储器1232,一个或一个以上存储应用程序1242或数据1244的存储介质1230(例如一个或一个以上海量存储设备)。其中,存储器1232和存储介质1230可以是短暂存储或持久存储。存储在存储介质1230的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对服务器中的一系列指令操作。更进一步地,中央处理器1222可以设置为与存储介质1230通信,在服务器1200上执行存储介质1230中的一系列指令操作。Fig. 12 is a schematic diagram of an exemplary structure of a server. The server 1200 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (central processing units, CPU) 1222 (for example, one or more processors) and memory 1232, one or more The storage medium 1230 (for example, one or more mass storage devices) for storing the application program 1242 or the data 1244. Wherein, the memory 1232 and the storage medium 1230 may be temporary storage or persistent storage. The program stored in the storage medium 1230 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processing unit 1222 may be configured to communicate with the storage medium 1230 , and execute a series of instruction operations in the storage medium 1230 on the server 1200 .

服务器1200还可以包括一个或一个以上电源1226,一个或一个以上有线或无线网络接口1250,一个或一个以上输入输出接口1258,一个或一个以上键盘1256,和/或,一个或一个以上操作系统1241,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。The server 1200 can also include one or more power supplies 1226, one or more wired or wireless network interfaces 1250, one or more input and output interfaces 1258, one or more keyboards 1256, and/or, one or more operating systems 1241 , such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.

上述实施例中所述的由服务器所执行的步骤可以基于该图12所示的服务器结构。The steps performed by the server in the above embodiments may be based on the server structure shown in FIG. 12 .

此外,典型地,本公开所述的移动终端可为各种手持终端设备,例如手机、个人数字助理(PDA)等,因此本公开的保护范围不应限定为某种特定类型的移动终端。In addition, typically, the mobile terminals described in the present disclosure can be various handheld terminal devices, such as mobile phones, personal digital assistants (PDAs), etc., therefore, the protection scope of the present disclosure should not be limited to a specific type of mobile terminals.

此外,根据本公开的方法还可以被实现为由CPU执行的计算机程序。在该计算机程序被CPU执行时,执行本公开的方法中限定的上述功能。Furthermore, the method according to the present disclosure can also be implemented as a computer program executed by a CPU. When the computer program is executed by the CPU, the above-mentioned functions defined in the method of the present disclosure are performed.

此外,上述方法步骤以及系统单元也可以利用控制器以及用于存储使得控制器实现上述步骤或单元功能的计算机程序的计算机可读存储设备实现。In addition, the above-mentioned method steps and system units can also be implemented by using a controller and a computer-readable storage device for storing a computer program that enables the controller to realize the functions of the above-mentioned steps or units.

此外,应该明白的是,本文所述的计算机可读存储设备(例如,存储器)可以是易失性存储器或非易失性存储器,或者可以包括易失性存储器和非易失性存储器两者。作为例子而非限制性的,非易失性存储器可以包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦写可编程ROM(EEPROM)或快闪存储器。易失性存储器可以包括随机存取存储器(RAM),该RAM可以充当外部高速缓存存储器。作为例子而非限制性的,RAM可以以多种形式获得,比如同步RAM(DRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据速率SDRAM(DDR SDRAM)、增强SDRAM(ESDRAM)、同步链路DRAM(SLDRAM)以及直接RambusRAM(DRRAM)。所公开的方面的存储设备意在包括但不限于这些和其它合适类型的存储器。In addition, it should be appreciated that the computer readable storage devices (eg, memories) described herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example and not limitation, nonvolatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory memory. Volatile memory can include random access memory (RAM), which can act as external cache memory. By way of example and not limitation, RAM is available in various forms such as Synchronous RAM (DRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM) and Direct RambusRAM (DRRAM). Storage devices of the disclosed aspects are intended to include, but are not limited to, these and other suitable types of memory.

本领域技术人员还将明白的是,结合这里的公开所描述的各种示例性逻辑块、模块、电路和算法步骤可以被实现为电子硬件、计算机软件或两者的组合。为了清楚地说明硬件和软件的这种可互换性,已经就各种示意性组件、方块、模块、电路和步骤的功能对其进行了一般性的描述。这种功能是被实现为软件还是被实现为硬件取决于具体应用以及施加给整个系统的设计约束。本领域技术人员可以针对每种具体应用以各种方式来实现所述的功能,但是这种实现决定不应被解释为导致脱离本公开的范围。Those of skill would also appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described generally in terms of their functionality. Whether such functionality is implemented as software or as hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.

结合这里的公开所描述的各种示例性逻辑块、模块和电路可以利用被设计成用于执行这里所述功能的下列部件来实现或执行:通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或其它可编程逻辑器件、分立门或晶体管逻辑、分立的硬件组件或者这些部件的任何组合。通用处理器可以是微处理器,但是可替换地,处理器可以是任何传统处理器、控制器、微控制器或状态机。处理器也可以被实现为计算设备的组合,例如,DSP和微处理器的组合、多个微处理器、一个或多个微处理器结合DSP核、或任何其它这种配置。The various exemplary logical blocks, modules, and circuits described in connection with the disclosure herein can be implemented or performed using the following components designed to perform the functions described herein: general-purpose processors, digital signal processors (DSPs), special-purpose Integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic, discrete hardware components, or any combination of these. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, multiple microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.

结合这里的公开所描述的方法或算法的步骤可以直接包含在硬件中、由处理器执行的软件模块中或这两者的组合中。软件模块可以驻留在RAM存储器、快闪存储器、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、可移动盘、CD-ROM、或本领域已知的任何其它形式的存储介质中。示例性的存储介质被耦合到处理器,使得处理器能够从该存储介质中读取信息或向该存储介质写入信息。在一个替换方案中,所述存储介质可以与处理器集成在一起。处理器和存储介质可以驻留在ASIC中。ASIC可以驻留在用户终端中。在一个替换方案中,处理器和存储介质可以作为分立组件驻留在用户终端中。The steps of a method or algorithm described in connection with the disclosure herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of both. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In an alternative, the storage medium may be integrated with the processor. The processor and storage medium can reside in an ASIC. The ASIC may reside in a user terminal. In an alternative, the processor and storage medium may reside as discrete components in the user terminal.

在一个或多个示例性设计中,所述功能可以在硬件、软件、固件或其任意组合中实现。如果在软件中实现,则可以将所述功能作为一个或多个指令或代码存储在计算机可读介质上或通过计算机可读介质来传送。计算机可读介质包括计算机存储介质和通信介质,该通信介质包括有助于将计算机程序从一个位置传送到另一个位置的任何介质。存储介质可以是能够被通用或专用计算机访问的任何可用介质。作为例子而非限制性的,该计算机可读介质可以包括RAM、ROM、EEPROM、CD-ROM或其它光盘存储设备、磁盘存储设备或其它磁性存储设备,或者是可以用于携带或存储形式为指令或数据结构的所需程序代码并且能够被通用或专用计算机或者通用或专用处理器访问的任何其它介质。此外,任何连接都可以适当地称为计算机可读介质。例如,如果使用同轴线缆、光纤线缆、双绞线、数字用户线路(DSL)或诸如红外线、无线电和微波的无线技术来从网站、服务器或其它远程源发送软件,则上述同轴线缆、光纤线缆、双绞线、DSL或诸如红外先、无线电和微波的无线技术均包括在介质的定义。如这里所使用的,磁盘和光盘包括压缩盘(CD)、激光盘、光盘、数字多功能盘(DVD)、软盘、蓝光盘,其中磁盘通常磁性地再现数据,而光盘利用激光光学地再现数据。上述内容的组合也应当包括在计算机可读介质的范围内。In one or more exemplary designs, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. Storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example and not limitation, the computer readable medium may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage device, magnetic disk storage device or other magnetic storage device, or may be used to carry or store instructions in Any other medium that can be accessed by a general purpose or special purpose computer or a general purpose or special purpose processor, and the required program code or data structure. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable Cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of media. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers . Combinations of the above should also be included within the scope of computer-readable media.

尽管前面公开的内容示出了本公开的示例性实施例,但是应当注意,在不背离权利要求限定的本公开的范围的前提下,可以进行多种改变和修改。根据这里描述的公开实施例的方法权利要求的功能、步骤和/或动作不需以任何特定顺序执行。此外,尽管本公开的元素可以以个体形式描述或要求,但是也可以设想多个,除非明确限制为单数。While the foregoing disclosure shows exemplary embodiments of the present disclosure, it should be noted that various changes and modifications can be made without departing from the scope of the present disclosure as defined in the claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosure may be described or claimed in individual form, multiples are also contemplated unless expressly limited to the singular.

以上所述的具体实施方式,对本公开的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本公开的具体实施方式而已,并不用于限定本公开的保护范围,凡在本公开的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。The specific implementations described above further describe the purpose, technical solutions and beneficial effects of the present disclosure in detail. It should be understood that the above descriptions are only specific implementations of the present disclosure and are not intended to limit the scope of the present disclosure Protection scope, within the spirit and principles of the present disclosure, any modification, equivalent replacement, improvement, etc., shall be included in the protection scope of the present disclosure.

Claims (14)

1.一种接入点信息分享方法,其特征在于,所述方法包括:1. A method for sharing access point information, characterized in that the method comprises: 接收分享指令,所述分享指令用于分享本端已连接成功的第一接入点信息,所述第一接入点信息包括接入点标识和第一接入点密码;Receiving a sharing instruction, the sharing instruction is used to share the information of the first access point that the terminal has successfully connected to, and the first access point information includes the access point identifier and the first access point password; 向服务器发送分享请求,所述分享请求携带所述第一接入点信息,所述服务器用于向所述本端发送密码更改指令,所述密码更改指令用于提示用户更改所述接入点密码后重新连接至接入点;sending a sharing request to a server, where the sharing request carries the first access point information, and the server is used to send a password change instruction to the local end, and the password change instruction is used to prompt the user to change the access point Reconnect to the access point after resetting the password; 获取更改后的第二接入点密码,根据所述第二接入点密码,重新连接至所述接入点;Obtain the changed second access point password, and reconnect to the access point according to the second access point password; 向所述服务器发送更改密码分享请求,所述更改密码分享请求携带所述第二接入点信息,所述第二接入点信息包括所述接入点标识和所述第二接入点密码,所述服务器用于在确定所述接入点密码已更改时,允许分享所述第二接入点信息。Sending a password change sharing request to the server, the password change sharing request carrying the second access point information, the second access point information including the access point identifier and the second access point password The server is configured to allow sharing of the second access point information when it is determined that the password of the access point has been changed. 2.根据权利要求1所述的方法,其特征在于,所述分享请求还携带当前所述本端连接成功的接入点设备的第一特征信息,所述更改密码分享请求还携带当前所述本端连接成功的接入点设备的第二特征信息,所述服务器还用于在确定所述第一特征信息与所述第二特征信息相同且所述接入点密码已更改时,执行允许分享所述第二接入点信息的步骤。2. The method according to claim 1, wherein the sharing request also carries the first feature information of the access point device that is currently successfully connected to the local end, and the password change sharing request also carries the current The second feature information of the access point device that is successfully connected at the local end, and the server is further configured to perform permission when it is determined that the first feature information is the same as the second feature information and the password of the access point has been changed. A step of sharing the information of the second access point. 3.根据权利要求1所述的方法,其特征在于,获取更改后的第二接入点密码,根据所述第二接入点密码,重新连接至所述接入点包括:3. The method according to claim 1, wherein obtaining the changed second access point password, and reconnecting to the access point according to the second access point password comprises: 在预设时长内,获取所述第二接入点密码,根据所述第二接入点密码,重新连接至所述接入点;Obtain the password of the second access point within a preset time period, and reconnect to the access point according to the password of the second access point; 相应的,向所述服务器发送更改密码分享请求包括:Correspondingly, sending the password change sharing request to the server includes: 在所述预设时长内,向所述服务器发送所述更改密码分享请求,所述服务器用于在确定在所述预设时长内接收到所述更改密码分享请求,且所述接入点密码已更改时,执行允许分享所述第二接入点信息的步骤。Within the preset time period, send the password change sharing request to the server, and the server is configured to determine that the password change sharing request is received within the preset time period, and the access point password If changed, perform the step of allowing sharing of the second access point information. 4.一种接入点信息分享方法,其特征在于,所述方法包括:4. A method for sharing access point information, characterized in that the method comprises: 接收终端发送的分享请求,所述分享请求携带所述终端已连接成功的第一接入点信息,所述第一接入点信息包括接入点标识和第一接入点密码;receiving a sharing request sent by the terminal, where the sharing request carries information about a first access point to which the terminal has successfully connected, where the first access point information includes an access point identifier and a first access point password; 向所述终端发送密码更改指令,所述密码更改指令用于提示用户更改所述接入点密码后重新连接至接入点,所述终端用于获取更改后的第二接入点密码,根据所述第二接入点密码,重新连接至所述接入点;Sending a password change instruction to the terminal, the password change instruction is used to prompt the user to change the password of the access point and reconnect to the access point, and the terminal is used to obtain the changed password of the second access point, according to the second access point password to reconnect to the access point; 接收所述终端发送的更改密码分享请求,所述更改密码分享请求携带所述终端已连接成功的第二接入点信息,所述第二接入点信息包括所述接入点标识和所述第二接入点密码;Receive a password change sharing request sent by the terminal, where the password change sharing request carries information about a second access point to which the terminal has successfully connected, and the second access point information includes the access point identifier and the Second access point password; 判断所述第二接入点密码与所述第一接入点密码是否相同;judging whether the second access point password is the same as the first access point password; 当确定所述第二接入点密码与所述第一接入点密码不同时,允许分享所述第二接入点信息。When it is determined that the password of the second access point is different from the password of the first access point, sharing the information of the second access point is allowed. 5.根据权利要求4所述的方法,其特征在于,所述方法还包括:5. method according to claim 4, is characterized in that, described method also comprises: 对所述第一接入点信息进行解析,得到当前所述终端连接成功的接入点设备的第一介质访问控制MAC地址;Analyzing the first access point information to obtain a first media access control MAC address of the access point device to which the terminal is currently successfully connected; 对所述第二接入点信息进行解析,得到当前所述终端连接成功的接入点设备的第二MAC地址;Analyzing the second access point information to obtain a second MAC address of the access point device to which the terminal is currently successfully connected; 判断所述第一MAC地址和所述第二MAC地址是否相同;judging whether the first MAC address and the second MAC address are the same; 当所述第一MAC地址和所述MAC地址相同时,执行判断所述第二接入点密码与所述第一接入点密码是否相同的步骤。When the first MAC address is the same as the MAC address, perform a step of judging whether the second access point password is the same as the first access point password. 6.根据权利要求4所述的方法,其特征在于,所述方法还包括:6. The method according to claim 4, characterized in that the method further comprises: 当所述分享请求还携带当前所述终端连接成功的接入点设备的第一特征信息,且所述更改密码分享请求还携带当前所述终端连接成功的接入点设备的第二特征信息时,判断所述第一特征信息和所述第二特征信息是否相同;When the sharing request also carries the first feature information of the access point device to which the terminal is currently successfully connected, and the password change sharing request also carries second feature information of the access point device to which the terminal is currently successfully connected , judging whether the first characteristic information and the second characteristic information are the same; 当所述第一特征信息和所述第二特征信息相同时,执行判断所述第二接入点密码与所述第一接入点密码是否相同的步骤。When the first feature information is the same as the second feature information, a step of judging whether the second access point password is the same as the first access point password is performed. 7.根据权利要求4所述的方法,其特征在于,所述密码更改指令用于提示用户在预设时长内更改所述接入点密码后重新连接至接入点,所述方法还包括:7. The method according to claim 4, wherein the password change instruction is used to prompt the user to reconnect to the access point after changing the password of the access point within a preset period of time, the method further comprising: 在所述预设时长内接收到所述终端发送的更改密码分享请求时,执行判断所述第二接入点密码与所述第一接入点密码是否相同的步骤。When the password change sharing request sent by the terminal is received within the preset time period, a step of judging whether the second access point password is the same as the first access point password is performed. 8.一种接入点信息分享装置,其特征在于,所述装置包括:8. An access point information sharing device, characterized in that the device comprises: 分享指令接收模块,用于接收分享指令,所述分享指令用于分享本端已连接成功的第一接入点信息,所述第一接入点信息包括接入点标识和第一接入点密码;A sharing instruction receiving module, configured to receive a sharing instruction, the sharing instruction is used to share the information of the first access point that has been successfully connected at the local end, and the first access point information includes the access point identifier and the first access point password; 分享请求发送模块,用于向服务器发送分享请求,所述分享请求携带所述第一接入点信息,所述服务器用于向所述本端发送密码更改指令,所述密码更改指令用于提示用户更改所述接入点密码后重新连接至接入点;A sharing request sending module, configured to send a sharing request to a server, the sharing request carrying the first access point information, the server sending a password change instruction to the local end, the password change instruction being used to prompt The user reconnects to the access point after changing the password for said access point; 更改密码获取模块,用于获取更改后的第二接入点密码,根据所述第二接入点密码,重新连接至所述接入点;Change the password acquisition module, used to obtain the changed second access point password, and reconnect to the access point according to the second access point password; 更改分享请求发送模块,用于向所述服务器发送更改密码分享请求,所述更改密码分享请求携带第二接入点信息,所述第二接入点信息包括所述接入点标识和所述第二接入点密码,所述服务器用于在确定所述接入点密码已更改时,允许分享所述第二接入点信息。A change sharing request sending module, configured to send a password change share request to the server, where the password change share request carries second access point information, and the second access point information includes the access point identifier and the A second access point password, where the server is configured to allow sharing of the second access point information when it is determined that the access point password has been changed. 9.根据权利要求8所述的装置,其特征在于,所述分享请求还携带当前所述本端连接成功的接入点设备的第一特征信息,所述更改密码分享请求还携带当前所述本端连接成功的接入点设备的第二特征信息,所述服务器还用于在确定所述第一特征信息与所述第二特征信息相同且所述接入点密码已更改时,执行允许分享所述第二接入点信息的步骤。9. The device according to claim 8, wherein the sharing request also carries the first feature information of the access point device that is currently successfully connected to the local end, and the password change sharing request also carries the current The second feature information of the access point device that is successfully connected at the local end, and the server is further configured to perform permission when it is determined that the first feature information is the same as the second feature information and the password of the access point has been changed. A step of sharing the information of the second access point. 10.根据权利要求8所述的装置,其特征在于,所述更改密码获取模块用于在预设时长内,获取所述第二接入点密码,根据所述第二接入点密码,重新连接至所述接入点;相应的,所述更改分享请求发送模块用于在所述预设时长内,向所述服务器发送所述更改密码分享请求,所述服务器用于在确定在所述预设时长内接收到所述更改密码分享请求,且所述接入点密码已更改时,执行允许分享所述第二接入点信息的步骤。10. The device according to claim 8, wherein the changing password acquiring module is configured to acquire the second access point password within a preset period of time, and renew the password according to the second access point password. connected to the access point; correspondingly, the change sharing request sending module is used to send the change password sharing request to the server within the preset time period, and the server is used to When the password change sharing request is received within a preset time period and the access point password has been changed, the step of allowing sharing of the second access point information is performed. 11.一种接入点信息分享装置,其特征在于,所述装置包括:11. An access point information sharing device, characterized in that the device comprises: 分享请求接收模块,用于接收终端发送的分享请求,所述分享请求携带所述终端已连接成功的第一接入点信息,所述第一接入点信息包括接入点标识和第一接入点密码;A sharing request receiving module, configured to receive a sharing request sent by a terminal, the sharing request carries information about a first access point to which the terminal has been successfully connected, and the first access point information includes an access point identifier and a first access point entry password; 更改指令发送模块,用于向所述终端发送密码更改指令,所述密码更改指令用于提示用户更改所述接入点密码后重新连接至接入点,所述终端用于获取更改后的第二接入点密码,根据所述第二接入点密码,重新连接至所述接入点;A change instruction sending module, configured to send a password change instruction to the terminal, the password change instruction is used to prompt the user to reconnect to the access point after changing the password of the access point, and the terminal is used to obtain the changed first Two access point passwords, reconnecting to the access point according to the second access point password; 更改请求接收模块,用于接收所述终端发送的更改密码分享请求,所述更改密码分享请求携带所述终端已连接成功的第二接入点信息,所述第二接入点信息包括所述接入点标识和所述第二接入点密码;A change request receiving module, configured to receive a password change sharing request sent by the terminal, where the password change sharing request carries information about a second access point to which the terminal has successfully connected, and the second access point information includes the an access point identifier and the second access point password; 判断模块,用于判断所述第二接入点密码与所述第一接入点密码是否相同;A judging module, configured to judge whether the second access point password is the same as the first access point password; 分享模块,用于当确定所述第二接入点密码与所述第一接入点密码不同时,允许分享所述第二接入点信息。A sharing module, configured to allow sharing of the second access point information when it is determined that the second access point password is different from the first access point password. 12.根据权利要求11所述的装置,其特征在于,所述装置还包括:12. The device according to claim 11, further comprising: 第一解析模块,用于对所述第一接入点信息进行解析,得到当前所述终端连接成功的接入点设备的第一介质访问控制MAC地址;A first parsing module, configured to parse the first access point information to obtain a first media access control MAC address of the access point device to which the terminal is currently successfully connected; 第二解析模块,用于对所述第二接入点信息进行解析,得到当前所述终端连接成功的接入点设备的第二MAC地址;A second parsing module, configured to parse the second access point information to obtain a second MAC address of the access point device to which the terminal is currently successfully connected; MAC地址验证模块,用于判断所述第一MAC地址和所述第二MAC地址是否相同;A MAC address verification module, configured to determine whether the first MAC address and the second MAC address are the same; MAC验证通过模块,用于当所述第一MAC地址和所述MAC地址相同时,执行判断所述第二接入点密码与所述第一接入点密码是否相同的步骤。A MAC verification passing module, configured to execute the step of judging whether the password of the second access point is the same as the password of the first access point when the first MAC address is the same as the MAC address. 13.根据权利要求11所述的装置,其特征在于,所述装置还包括:13. The device according to claim 11, further comprising: 特征信息判断模块,用于当所述分享请求还携带当前所述终端连接成功的接入点设备的第一特征信息,且所述更改密码分享请求还携带当前所述终端连接成功的接入点设备的第二特征信息时,判断所述第一特征信息和所述第二特征信息是否相同;A characteristic information judging module, configured to: when the sharing request also carries the first characteristic information of the access point device to which the terminal is currently successfully connected, and the password change sharing request also carries the access point to which the terminal is currently successfully connected When the second characteristic information of the device is used, it is judged whether the first characteristic information and the second characteristic information are the same; 第一执行模块,用于当所述第一特征信息和所述第二特征信息相同时,执行判断所述第二接入点密码与所述第一接入点密码是否相同的步骤。A first executing module, configured to execute the step of judging whether the second access point password is the same as the first access point password when the first feature information is the same as the second feature information. 14.根据权利要求11所述的装置,其特征在于,所述密码更改指令用于提示用户在预设时长内更改所述接入点密码后重新连接至接入点,所述装置还包括:14. The device according to claim 11, wherein the password change instruction is used to prompt the user to reconnect to the access point after changing the password of the access point within a preset period of time, the device further comprising: 第二执行模块,用于在所述预设时长内接收到所述终端发送的更改密码分享请求时,执行判断所述第二接入点密码与所述第一接入点密码是否相同的步骤。The second execution module is configured to execute the step of judging whether the second access point password is the same as the first access point password when receiving the password change sharing request sent by the terminal within the preset time period .
CN201710093957.9A 2013-12-20 2013-12-20 Access point information sharing method and device Active CN106912048B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710093957.9A CN106912048B (en) 2013-12-20 2013-12-20 Access point information sharing method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710093957.9A CN106912048B (en) 2013-12-20 2013-12-20 Access point information sharing method and device
CN201310714403.8A CN103716793B (en) 2013-12-20 2013-12-20 Access-in point information sharing method and device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201310714403.8A Division CN103716793B (en) 2013-12-20 2013-12-20 Access-in point information sharing method and device

Publications (2)

Publication Number Publication Date
CN106912048A true CN106912048A (en) 2017-06-30
CN106912048B CN106912048B (en) 2020-06-23

Family

ID=50409264

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201710093957.9A Active CN106912048B (en) 2013-12-20 2013-12-20 Access point information sharing method and device
CN201310714403.8A Active CN103716793B (en) 2013-12-20 2013-12-20 Access-in point information sharing method and device

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201310714403.8A Active CN103716793B (en) 2013-12-20 2013-12-20 Access-in point information sharing method and device

Country Status (1)

Country Link
CN (2) CN106912048B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109996228A (en) * 2019-03-29 2019-07-09 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN111953767A (en) * 2020-08-07 2020-11-17 北京三快在线科技有限公司 Content sharing method, device, equipment and storage medium

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2485373B (en) * 2010-11-11 2013-04-10 Nds Ltd Service protection
CN105228126B (en) 2014-05-30 2019-10-22 华为技术有限公司 Method and system for network access point hosting
CN104144163B (en) * 2014-07-24 2019-06-11 腾讯科技(深圳)有限公司 Auth method, apparatus and system
CN104754563A (en) * 2015-03-06 2015-07-01 广东欧珀移动通信有限公司 A wireless hotspot access sharing method, mobile terminal and system
CN104980358A (en) * 2015-05-29 2015-10-14 上海斐讯数据通信技术有限公司 Wireless router and wireless network management method thereof
CN107659937A (en) * 2016-08-02 2018-02-02 上海掌门科技有限公司 The method and apparatus shared for realizing WAP
CN107105477A (en) * 2017-05-26 2017-08-29 上海连尚网络科技有限公司 Share the method and apparatus of feedback or excitation information for providing WAP
CN109981420B (en) * 2017-12-27 2022-02-01 九阳股份有限公司 Intelligent device network distribution method and intelligent device
CN108601066B (en) * 2018-06-20 2021-09-21 上海尚往网络科技有限公司 Wireless access point connection and connection efficiency calculation method, device, equipment and medium
CN109041058B (en) * 2018-08-03 2022-06-10 北京奇虎科技有限公司 WIFI hotspot connection method and device
CN109257192B (en) * 2018-11-07 2020-09-29 北京小米移动软件有限公司 Group information sharing method and device
CN109618316B (en) * 2018-11-29 2023-09-01 努比亚技术有限公司 Network sharing method, mobile terminal and storage medium
CN113207140B (en) * 2021-05-21 2022-09-23 中国联合网络通信集团有限公司 Sharing method, terminal and wireless access point

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291799A (en) * 2011-08-12 2011-12-21 盛乐信息技术(上海)有限公司 Method and system for acquiring wireless access points
CN102625310A (en) * 2012-03-13 2012-08-01 中国联合网络通信集团有限公司 Wireless network access method, authentication method and device
CN102710634A (en) * 2012-05-29 2012-10-03 刘乃安 Intelligent WIFI (Wireless Fidelity) sharing system
CN102739643A (en) * 2011-04-15 2012-10-17 斯凯普公司 Permitting access to a network
CN103220669A (en) * 2012-01-19 2013-07-24 中国移动通信集团公司 Share method, system, server, terminal and gateway management server of private wireless local area network (WLAN)
WO2013160526A1 (en) * 2012-04-26 2013-10-31 Nokia Corporation Method and apparatus for wireless network access parameter sharing

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2006132048A (en) * 2004-02-06 2008-03-20 Мацусита Электрик Индастриал Ко., Лтд. (Jp) METHOD AND SYSTEM FOR DETECTING NETWORK CONNECTION IN IPV6 RADIO ACCESS NETWORK
CN102843682B (en) * 2012-08-20 2015-03-18 中国联合网络通信集团有限公司 Access point authorizing method, device and system
CN103298072A (en) * 2013-07-02 2013-09-11 张洁昕 Method, system and mobile communication terminal for automatically connecting to WiFi access point

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739643A (en) * 2011-04-15 2012-10-17 斯凯普公司 Permitting access to a network
CN102291799A (en) * 2011-08-12 2011-12-21 盛乐信息技术(上海)有限公司 Method and system for acquiring wireless access points
CN103220669A (en) * 2012-01-19 2013-07-24 中国移动通信集团公司 Share method, system, server, terminal and gateway management server of private wireless local area network (WLAN)
CN102625310A (en) * 2012-03-13 2012-08-01 中国联合网络通信集团有限公司 Wireless network access method, authentication method and device
WO2013160526A1 (en) * 2012-04-26 2013-10-31 Nokia Corporation Method and apparatus for wireless network access parameter sharing
CN102710634A (en) * 2012-05-29 2012-10-03 刘乃安 Intelligent WIFI (Wireless Fidelity) sharing system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109996228A (en) * 2019-03-29 2019-07-09 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN111953767A (en) * 2020-08-07 2020-11-17 北京三快在线科技有限公司 Content sharing method, device, equipment and storage medium
CN111953767B (en) * 2020-08-07 2022-11-29 北京三快在线科技有限公司 Content sharing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN106912048B (en) 2020-06-23
CN103716793A (en) 2014-04-09
CN103716793B (en) 2017-06-16

Similar Documents

Publication Publication Date Title
CN106912048B (en) Access point information sharing method and device
US11057376B2 (en) Method, apparatus, and system for controlling intelligent device, and storage medium
US10880746B2 (en) Network connection method, apparatus, storage medium and terminal
KR101724811B1 (en) Method, device, system, program and storage medium for controlling access to router
WO2017118437A1 (en) Service processing method, device, and system
CN103929796B (en) The method and device of shared access point
US9635018B2 (en) User identity verification method and system, password protection apparatus and storage medium
WO2017118412A1 (en) Method, apparatus and system for updating key
WO2015101273A1 (en) Security verification method, and related device and system
CN103634294A (en) Information verifying method and device
CN103632165A (en) Picture processing method, device and terminal equipment
CN104735657B (en) Security terminal verification method, wireless access point binding method, apparatus and system
CN104852802B (en) Authentication method, device and system
WO2016192511A1 (en) Method and apparatus for remotely deleting information
CN106550361B (en) Data transmission method, equipment and computer readable storage medium
CN106534324A (en) Data sharing method and cloud server
TW201519601A (en) Method and device for managing a router
CN104573437A (en) Information authentication method, device and terminal
CN105704712A (en) Network resource sharing method, mobile terminal, and server
CN106407771A (en) Message management method and device
US20140344423A1 (en) Method, apparatus and system for switching function mode
CN106067002B (en) Fingerprint information processing method and user terminal
TW201503937A (en) Method, apparatus and system for checking data security
CN106792671A (en) Data encryption method, device and terminal equipment
CN106022056A (en) Method for processing fingerprint information and user terminal

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
TA01 Transfer of patent application right

Effective date of registration: 20200423

Address after: No.018, floor 8, building 6, yard 33, middle Xierqi Road, Haidian District, Beijing 100085

Applicant after: BEIJING XIAOMI MOBILE SOFTWARE Co.,Ltd.

Applicant after: Xiaomi Technology Co.,Ltd.

Address before: 100085, Haidian District, Beijing Qinghe Street No. 68, Huarun colorful city shopping center two, 13 layers

Applicant before: Xiaomi Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载