[go: up one dir, main page]

CN113207140B - Sharing method, terminal and wireless access point - Google Patents

Sharing method, terminal and wireless access point Download PDF

Info

Publication number
CN113207140B
CN113207140B CN202110557163.XA CN202110557163A CN113207140B CN 113207140 B CN113207140 B CN 113207140B CN 202110557163 A CN202110557163 A CN 202110557163A CN 113207140 B CN113207140 B CN 113207140B
Authority
CN
China
Prior art keywords
wireless access
access point
shared
home
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.)
Active
Application number
CN202110557163.XA
Other languages
Chinese (zh)
Other versions
CN113207140A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202110557163.XA priority Critical patent/CN113207140B/en
Publication of CN113207140A publication Critical patent/CN113207140A/en
Application granted granted Critical
Publication of CN113207140B publication Critical patent/CN113207140B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5053Lease time; Renewal aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请公开了一种共享方法、终端及无线接入点,涉及通信技术领域。该共享方法包括:接收地址服务器发送的地址变更消息;根据地址变更消息,获得归属无线接入点当前的地址信息;从候选无线接入点中选取共享无线接入点,其中,共享无线接入点为具有共享连接功能的无线接入点;向共享无线接入点发送共享连接请求;接收共享无线接入点返回的共享连接成功消息;通过数据转发通道和共享无线接入点,与归属无线接入点传输业务数据,使得终端在离开归属无线接入点信号覆盖范围之后仍可通过共享无线接入点与归属无线接入点建立连接,从而接入网络,提高了无线接入资源利用率,同时也提升了用户的网络体验。

Figure 202110557163

The present application discloses a sharing method, a terminal and a wireless access point, and relates to the technical field of communications. The sharing method includes: receiving an address change message sent by an address server; obtaining current address information of a home wireless access point according to the address change message; selecting a shared wireless access point from candidate wireless access points, wherein the shared wireless access point It is a wireless access point with shared connection function; sends a shared connection request to the shared wireless access point; receives the shared connection success message returned by the shared wireless access point; through the data forwarding channel and the shared wireless access point, communicates with the home wireless access point The access point transmits service data, so that the terminal can still establish a connection with the home wireless access point through the shared wireless access point after leaving the signal coverage of the home wireless access point, so as to access the network and improve the utilization rate of wireless access resources , but also improve the user's network experience.

Figure 202110557163

Description

一种共享方法、终端及无线接入点A sharing method, terminal and wireless access point

技术领域technical field

本申请涉及通信技术领域,具体涉及一种共享方法、终端及无线接入点。The present application relates to the field of communication technologies, and in particular, to a sharing method, a terminal and a wireless access point.

背景技术Background technique

通常情况下,终端通过其归属无线接入点(例如,终端对应的家庭无线接入点)接入网络,以使用网络服务。一旦终端离开其归属无线接入点的信号覆盖范围,即便终端处于其它无线接入点的信号覆盖范围,由于无法获取其它无线接入点的接入授权,终端无法通过其它无线接入点接入网络。而此时终端的归属无线接入点处于空闲状态,从而导致无线接入资源利用率较低。Generally, a terminal accesses the network through its home wireless access point (for example, a home wireless access point corresponding to the terminal) to use network services. Once the terminal leaves the signal coverage of its home wireless access point, even if the terminal is in the signal coverage of other wireless access points, the terminal cannot access other wireless access points because it cannot obtain the access authorization of other wireless access points. network. At this time, the home wireless access point of the terminal is in an idle state, resulting in a low utilization rate of wireless access resources.

发明内容SUMMARY OF THE INVENTION

为此,本申请提供一种共享方法、终端及无线接入点,以解决在终端离开归属无线接入点信号覆盖范围之后,归属无线接入点处于闲置状态,从而导致无线接入资源利用率低的问题。To this end, the present application provides a sharing method, terminal and wireless access point, so as to solve the problem that after the terminal leaves the signal coverage of the home wireless access point, the home wireless access point is in an idle state, which leads to the utilization rate of wireless access resources. low problem.

为了实现上述目的,本申请第一方面提供一种共享方法,该方法包括:In order to achieve the above purpose, a first aspect of the present application provides a sharing method, the method comprising:

接收地址服务器发送的地址变更消息,其中,所述地址变更消息包括归属无线接入点当前的地址信息,且所述地址变更消息是所述地址服务器接收所述归属无线接入点发送的地址同步报文之后,根据预存地址信息与所述地址同步报文的源地址信息判断出所述归属无线接入点的地址信息发生变化的情况下发送的消息,所述归属无线接入点为当前终端的归属接入点;Receive an address change message sent by the address server, where the address change message includes the current address information of the home wireless access point, and the address change message is the address synchronization message sent by the address server to the home wireless access point. After the message is sent, it is determined according to the pre-stored address information and the source address information of the address synchronization message that the address information of the home wireless access point changes, and the home wireless access point is the current terminal. 's home access point;

根据所述地址变更消息,获得所述归属无线接入点当前的地址信息;obtaining the current address information of the home wireless access point according to the address change message;

从候选无线接入点中选取共享无线接入点,其中,所述共享无线接入点为具有共享连接功能的无线接入点;Selecting a shared wireless access point from the candidate wireless access points, wherein the shared wireless access point is a wireless access point with a shared connection function;

向所述共享无线接入点发送共享连接请求,其中,所述共享连接请求包括所述归属无线接入点当前的地址信息;sending a shared connection request to the shared wireless access point, wherein the shared connection request includes the current address information of the home wireless access point;

接收所述共享无线接入点返回的共享连接成功消息,其中,所述共享连接成功消息为所述共享无线接入点建立数据转发通道之后发送的消息,所述数据转发通道为所述共享无线接入点根据所述归属无线接入点当前的地址信息以及所述共享无线接入点的地址信息建立的连接所述共享无线接入点与所述归属无线接入点的数据通道;Receive a shared connection success message returned by the shared wireless access point, where the shared connection success message is a message sent after the shared wireless access point establishes a data forwarding channel, and the data forwarding channel is the shared wireless access point. a data channel connecting the shared wireless access point and the home wireless access point established by the access point according to the current address information of the home wireless access point and the address information of the shared wireless access point;

通过所述数据转发通道和所述共享无线接入点,与所述归属无线接入点传输业务数据。The service data is transmitted with the home wireless access point through the data forwarding channel and the shared wireless access point.

进一步地,所述候选无线接入点为信号覆盖所述当前终端的无线接入点的集合;Further, the candidate wireless access point is a set of wireless access points whose signals cover the current terminal;

所述从候选无线接入点中选取共享无线接入点,包括:The selecting a shared wireless access point from the candidate wireless access points includes:

判断所述候选无线接入点是否具有共享连接标识,获得判断结果,其中,所述共享连接标识用于表征所述候选无线接入点具备共享连接功能;Judging whether the candidate wireless access point has a shared connection identifier, and obtaining a judgment result, wherein the shared connection identifier is used to indicate that the candidate wireless access point has a shared connection function;

依据所述判断结果从所述候选无线接入点中选取所述共享无线接入点。The shared wireless access point is selected from the candidate wireless access points according to the judgment result.

进一步地,所述接收所述共享无线接入点返回的共享连接成功消息之后,所述通过所述数据转发通道和所述共享无线接入点,与所述归属无线接入点传输业务数据之前,还包括:Further, after receiving the shared connection success message returned by the shared wireless access point, before transmitting service data with the home wireless access point through the data forwarding channel and the shared wireless access point. ,Also includes:

接受所述归属无线接入点的接入验证。Accept the access verification of the home wireless access point.

进一步地,所述接受所述归属无线接入点的接入验证,包括:Further, the accepting the access verification of the home wireless access point includes:

向所述归属无线接入点发送接入请求;sending an access request to the home wireless access point;

接收所述归属无线接入点发送的接入验证消息;receiving an access verification message sent by the home wireless access point;

向所述归属无线接入点发送接入验证信息,其中,所述接入验证信息包括所述当前终端的身份信息和接入密钥;sending access verification information to the home wireless access point, wherein the access verification information includes the identity information and access key of the current terminal;

接收所述归属无线接入点返回的接入验证反馈消息;receiving an access verification feedback message returned by the home wireless access point;

根据所述接入验证反馈消息确定是否接入所述归属无线接入点。Whether to access the home wireless access point is determined according to the access verification feedback message.

进一步地,所述根据所述接入验证反馈消息确定是否接入所述归属无线接入点之后,还包括:Further, after determining whether to access the home wireless access point according to the access verification feedback message, the method further includes:

在根据所述接入验证反馈消息确定接入所述归属无线接入点的情况下,接收所述归属无线接入点通过所述数据转发通道发送至所述共享无线接入点、经所述共享无线接入点转发的下行数据;和/或;In the case where it is determined to access the home wireless access point according to the access verification feedback message, receive the data sent by the home wireless access point to the shared wireless access point through the data forwarding channel, share downlink data forwarded by the wireless access point; and/or;

在根据所述接入验证反馈消息确定接入所述归属无线接入点的情况下,将上行数据发送至所述共享无线接入点,以供所述共享无线接入点通过所述数据转发通道将所述上行数据转发至所述归属无线接入点。In the case where it is determined to access the home wireless access point according to the access verification feedback message, send uplink data to the shared wireless access point, so that the shared wireless access point can forward the data through the data The channel forwards the uplink data to the home wireless access point.

进一步地,所述共享方法,还包括:Further, the sharing method also includes:

接收终端发送的共享连接请求,其中,所述共享连接请求包括所述终端对应的归属无线接入点当前的地址信息,所述归属无线接入点当前的地址信息为所述终端根据地址服务器发送的地址变更消息获取的信息,当前无线接入点为所述终端从候选无线接入点中选取的共享无线接入点,所述共享无线接入点为具有共享连接功能的无线接入点;Receive a shared connection request sent by the terminal, wherein the shared connection request includes the current address information of the home wireless access point corresponding to the terminal, and the current address information of the home wireless access point is sent by the terminal according to the address server. The information obtained by the address change message, the current wireless access point is a shared wireless access point selected by the terminal from the candidate wireless access points, and the shared wireless access point is a wireless access point with a shared connection function;

依据所述归属无线接入点当前的地址信息以及当前无线接入点的地址信息,建立数据转发通道;establishing a data forwarding channel according to the current address information of the home wireless access point and the address information of the current wireless access point;

向所述终端返回共享连接成功消息;returning a shared connection success message to the terminal;

基于所述数据转发通道转发所述终端与所述归属无线接入点之间的业务数据。Forward the service data between the terminal and the home wireless access point based on the data forwarding channel.

进一步地,所述基于所述数据转发通道转发所述终端与所述归属无线接入点之间的业务数据,包括:Further, the forwarding of the service data between the terminal and the home wireless access point based on the data forwarding channel includes:

接收所述终端发送的上行数据,并将所述上行数据通过所述数据转发通道转发至所述归属无线接入点;和/或;receiving the uplink data sent by the terminal, and forwarding the uplink data to the home wireless access point through the data forwarding channel; and/or;

接收所述归属无线接入点通过所述数据转发通道发送的下行数据,并将所述下行数据转发至所述终端。Receive downlink data sent by the home wireless access point through the data forwarding channel, and forward the downlink data to the terminal.

为了实现上述目的,本申请第二方面提供一种终端,该终端包括:In order to achieve the above purpose, a second aspect of the present application provides a terminal, the terminal comprising:

第三接收模块,用于接收地址服务器发送的地址变更消息,其中,所述地址变更消息包括归属无线接入点当前的地址信息,且所述地址变更消息是所述地址服务器接收所述归属无线接入点发送的地址同步报文之后,根据预存地址信息与所述地址同步报文的源地址信息判断出所述归属无线接入点的地址信息发生变化的情况下发送的消息,所述归属无线接入点为当前终端的归属接入点;The third receiving module is configured to receive an address change message sent by the address server, wherein the address change message includes the current address information of the home wireless access point, and the address change message is the address change message received by the address server from the home wireless access point. After the address synchronization message sent by the access point, it is determined according to the pre-stored address information and the source address information of the address synchronization message that the message is sent when the address information of the home wireless access point changes. The wireless access point is the home access point of the current terminal;

获取模块,用于根据所述地址变更消息,获得所述归属无线接入点当前的地址信息;an obtaining module, configured to obtain the current address information of the home wireless access point according to the address change message;

选取模块,用于从候选无线接入点中选取共享无线接入点,其中,所述共享无线接入点为具有共享连接功能的无线接入点;a selection module, configured to select a shared wireless access point from the candidate wireless access points, wherein the shared wireless access point is a wireless access point with a shared connection function;

第一发送模块,用于向所述共享无线接入点发送共享连接请求,其中,所述共享连接请求包括所述归属无线接入点当前的地址信息;a first sending module, configured to send a shared connection request to the shared wireless access point, wherein the shared connection request includes the current address information of the home wireless access point;

第一接收模块,用于接收所述共享无线接入点返回的共享连接成功消息,其中,所述共享连接成功消息为所述共享无线接入点建立数据转发通道之后发送的消息,所述数据转发通道为所述共享无线接入点根据所述归属无线接入点当前的地址信息以及所述共享无线接入点的地址信息建立的连接所述共享无线接入点与所述归属无线接入点的数据通道;A first receiving module, configured to receive a shared connection success message returned by the shared wireless access point, where the shared connection success message is a message sent after the shared wireless access point establishes a data forwarding channel, and the data The forwarding channel is the connection between the shared wireless access point and the home wireless access point established by the shared wireless access point according to the current address information of the home wireless access point and the address information of the shared wireless access point. point data channel;

第一传输模块,用于通过所述数据转发通道和所述共享无线接入点,与所述归属无线接入点传输业务数据。The first transmission module is configured to transmit service data with the home wireless access point through the data forwarding channel and the shared wireless access point.

进一步地,所述终端还包括:接入验证模块,用于在第一接收模块接收所述共享无线接入点返回的共享连接成功消息之后,所述第一传输模块通过所述数据转发通道和所述共享无线接入点,与所述归属无线接入点传输业务数据之前,接受所述归属无线接入点的接入验证。Further, the terminal further includes: an access verification module, configured to, after the first receiving module receives the shared connection success message returned by the shared wireless access point, the first transmission module passes the data forwarding channel and The shared wireless access point, before transmitting service data with the home wireless access point, accepts the access verification of the home wireless access point.

为了实现上述目的,本申请第三方面提供一种无线接入点,该无线接入点包括:In order to achieve the above purpose, a third aspect of the present application provides a wireless access point, the wireless access point includes:

第二接收模块,用于接收终端发送的共享连接请求,其中,所述共享连接请求包括所述终端对应的归属无线接入点当前的地址信息,所述归属无线接入点当前的地址信息为所述终端根据地址服务器发送的地址变更消息获取的信息,当前无线接入点为所述终端从候选无线接入点中选取的共享无线接入点,所述共享无线接入点为具有共享连接功能的无线接入点;The second receiving module is configured to receive a shared connection request sent by the terminal, wherein the shared connection request includes the current address information of the home wireless access point corresponding to the terminal, and the current address information of the home wireless access point is: According to the information obtained by the terminal according to the address change message sent by the address server, the current wireless access point is a shared wireless access point selected by the terminal from candidate wireless access points, and the shared wireless access point is a shared wireless access point with a shared connection functional wireless access point;

建立模块,用于依据所述归属无线接入点当前的地址信息以及当前无线接入点的地址信息,建立数据转发通道;an establishment module, configured to establish a data forwarding channel according to the current address information of the home wireless access point and the address information of the current wireless access point;

第二发送模块,用于向所述终端返回共享连接成功消息;a second sending module, configured to return a shared connection success message to the terminal;

第二传输模块,用于基于所述数据转发通道转发所述终端与所述归属无线接入点之间的业务数据。The second transmission module is configured to forward the service data between the terminal and the home wireless access point based on the data forwarding channel.

本申请具有如下优点:This application has the following advantages:

本申请提供的共享方法,接收地址服务器发送的地址变更消息,其中,地址变更消息包括归属无线接入点当前的地址信息,且地址变更消息是地址服务器接收归属无线接入点发送的地址同步报文之后,根据预存地址信息与地址同步报文的源地址信息判断出归属无线接入点的地址信息发生变化的情况下发送的消息,归属无线接入点为当前终端的归属接入点;根据地址变更消息,获得归属无线接入点当前的地址信息;从候选无线接入点中选取共享无线接入点,其中,共享无线接入点为具有共享连接功能的无线接入点;向共享无线接入点发送共享连接请求,其中,共享连接请求包括归属无线接入点当前的地址信息;接收共享无线接入点返回的共享连接成功消息,其中,共享连接成功消息为共享无线接入点建立数据转发通道之后发送的消息,数据转发通道为共享无线接入点根据归属无线接入点当前的地址信息以及共享无线接入点的地址信息建立的连接共享无线接入点与归属无线接入点的数据通道;通过数据转发通道和共享无线接入点,与归属无线接入点传输业务数据,使得终端在离开归属无线接入点信号覆盖范围之后仍可通过共享无线接入点与归属无线接入点建立连接,从而接入网络,提高了无线接入资源利用率,同时也提升了用户的网络体验。In the sharing method provided by the present application, an address change message sent by an address server is received, wherein the address change message includes the current address information of the home wireless access point, and the address change message is an address synchronization message sent by the address server when received by the home wireless access point. After the message, according to the pre-stored address information and the source address information of the address synchronization message, it is determined that the message sent when the address information of the home wireless access point changes, and the home wireless access point is the home access point of the current terminal; address change message to obtain the current address information of the home wireless access point; select a shared wireless access point from the candidate wireless access points, wherein the shared wireless access point is a wireless access point with a shared connection function; The access point sends a shared connection request, where the shared connection request includes the current address information of the home wireless access point; receives a shared connection success message returned by the shared wireless access point, where the shared connection success message is that the shared wireless access point is established The message sent after the data forwarding channel. The data forwarding channel is the connection between the shared wireless access point and the home wireless access point established by the shared wireless access point according to the current address information of the home wireless access point and the address information of the shared wireless access point. It transmits service data with the home wireless access point through the data forwarding channel and the shared wireless access point, so that the terminal can still connect with the home wireless access point through the shared wireless access point after leaving the signal coverage of the home wireless access point. The access point establishes a connection to access the network, improves the utilization of wireless access resources, and also improves the user's network experience.

附图说明Description of drawings

附图是用来提供对本申请的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本申请,但并不构成对本申请的限制。The accompanying drawings are used to provide a further understanding of the present application, and constitute a part of the specification, and together with the following specific embodiments, are used to explain the present application, but do not constitute a limitation to the present application.

图1为本申请实施例一提供的一种共享方法的流程图;FIG. 1 is a flowchart of a sharing method provided in Embodiment 1 of the present application;

图2为本申请实施例二提供的一种共享方法的流程图;FIG. 2 is a flowchart of a sharing method provided in Embodiment 2 of the present application;

图3为本申请实施例三提供的一种共享方法的流程图;FIG. 3 is a flowchart of a sharing method according to Embodiment 3 of the present application;

图4为本申请实施例四提供的一种终端的组成方框图;FIG. 4 is a block diagram of the composition of a terminal according to Embodiment 4 of the present application;

图5为本申请实施例五提供的一种无线接入点的组成方框图;FIG. 5 is a block diagram of the composition of a wireless access point according to Embodiment 5 of the present application;

图6为本申请实施例六提供的一种共享系统的组成方框图;FIG. 6 is a block diagram of the composition of a sharing system according to Embodiment 6 of the present application;

图7为本申请实施例六对应的共享系统的工作流程图。FIG. 7 is a working flowchart of a sharing system corresponding to Embodiment 6 of the present application.

在附图中:In the attached image:

401:第三接收模块 402:获取模块401: Third receiving module 402: Obtaining module

403:选取模块 404:第一发送模块403: selection module 404: first sending module

405:第一接收模块 406:第一接收模块405: the first receiving module 406: the first receiving module

501:第二接收模块 502:建立模块501: Second receiving module 502: Establishing module

503:第二发送模块 504:第二传输模块503: the second sending module 504: the second transmission module

601:第一无线接入点 602:第一终端601: the first wireless access point 602: the first terminal

603:地址服务器 604:第二无线接入点603: Address Server 604: Second Wireless Access Point

605:第二终端605: Second Terminal

具体实施方式Detailed ways

以下结合附图对本申请的具体实施方式进行详细说明。应当理解的是,此处所描述的具体实施方式仅用于说明和解释本申请,并不用于限制本申请。The specific embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only used to illustrate and explain the present application, but not to limit the present application.

无线接入点(Access Point,AP)是无线网络的接入点,终端通过无线接入点即可接入无线网络,从而使用网络服务。在实际应用中,可以使用wifi(Wireless Fidelity,无线保真)接入点作为无线接入点,终端接入wifi接入点从而接入网络。针对某一家庭wifi接入点而言,该家庭成员的终端为该家庭wifi接入点的归属终端,相应地,该家庭wifi接入点为家庭成员终端对应的归属无线接入点。对于其它无线接入点而言,该家庭成员的终端为非归属终端,类似的,对于其它终端而言,该家庭wifi无线接入点为非归属无线接入点。A wireless access point (Access Point, AP) is an access point of a wireless network, and a terminal can access the wireless network through the wireless access point, thereby using network services. In practical applications, a wifi (Wireless Fidelity, wireless fidelity) access point can be used as a wireless access point, and a terminal can access the wifi access point to access the network. For a certain home WiFi access point, the terminal of the family member is the home terminal of the home WiFi access point, and correspondingly, the home WiFi access point is the home wireless access point corresponding to the family member terminal. For other wireless access points, the terminal of the family member is a non-home terminal, and similarly, for other terminals, the home wifi wireless access point is a non-home wireless access point.

当终端离开其归属无线接入点的信号覆盖范围之后,即便终端处于其它无线接入点的信号覆盖范围内,终端也无法通过其它无线接入点接入网络。而此时终端的归属无线接入点处于空闲状态,从而导致无线接入资源利用率较低。After the terminal leaves the signal coverage of its home wireless access point, even if the terminal is within the signal coverage of other wireless access points, the terminal cannot access the network through other wireless access points. At this time, the home wireless access point of the terminal is in an idle state, resulting in a low utilization rate of wireless access resources.

有鉴于此,本申请提供一种共享方法、终端及无线接入点,从候选无线接入点中选取共享无线接入点,其中,共享无线接入点为具有共享连接功能的无线接入点;向共享无线接入点发送共享连接请求,其中,共享连接请求包括归属无线接入点当前的地址信息,归属无线接入点为当前终端的归属接入点;接收共享无线接入点返回的共享连接成功消息,其中,共享连接成功消息为共享无线接入点建立数据转发通道之后发送的消息,数据转发通道为共享无线接入点根据归属无线接入点当前的地址信息以及共享无线接入点的地址信息建立的连接共享无线接入点与归属无线接入点的数据通道;通过数据转发通道和共享无线接入点,与归属无线接入点传输业务数据,使得终端在离开归属无线接入点信号覆盖范围之后仍可通过共享无线接入点与归属无线接入点建立连接,从而接入网络,提高了无线接入资源利用率,同时也提升了用户的网络体验。In view of this, the present application provides a sharing method, a terminal, and a wireless access point, wherein a shared wireless access point is selected from candidate wireless access points, wherein the shared wireless access point is a wireless access point with a shared connection function ; Send a shared connection request to the shared wireless access point, wherein the shared connection request includes the current address information of the home wireless access point, and the home wireless access point is the home access point of the current terminal; Shared connection success message, where the shared connection success message is a message sent after the shared wireless access point establishes a data forwarding channel, and the data forwarding channel is the shared wireless access point according to the current address information of the home wireless access point and the shared wireless access point. The connection established by the address information of the node shares the data channel between the wireless access point and the home wireless access point; through the data forwarding channel and the shared wireless access point, the service data is transmitted with the home wireless access point, so that the terminal can leave the home wireless access point. After the signal coverage of the ingress point, it is still possible to establish a connection with the home wireless access point through the shared wireless access point, so as to access the network, improve the utilization rate of wireless access resources, and also improve the user's network experience.

本申请第一方面提供一种共享方法。图1是本申请实施例一提供的一种共享方法的流程图,该共享方法可应用于终端。如图1所示,该共享方法包括如下步骤:A first aspect of the present application provides a sharing method. FIG. 1 is a flowchart of a sharing method provided in Embodiment 1 of the present application, and the sharing method can be applied to a terminal. As shown in Figure 1, the sharing method includes the following steps:

步骤S101,接收地址服务器发送的地址变更消息。Step S101, receiving an address change message sent by the address server.

其中,地址变更消息包括归属无线接入点当前的地址信息,且地址变更消息是地址服务器接收归属无线接入点发送的地址同步报文之后,根据预存地址信息与地址同步报文的源地址信息判断出归属无线接入点的地址信息发生变化的情况下发送的消息,地址信息包括但不限于网络地址和端口号。Wherein, the address change message includes the current address information of the home wireless access point, and the address change message is that after the address server receives the address synchronization message sent by the home wireless access point, according to the pre-stored address information and the source address information of the address synchronization message The message sent when it is determined that the address information of the home wireless access point has changed, and the address information includes but is not limited to the network address and port number.

在实际应用中,运营商可能动态地为无线接入点分配网络地址,因此,无线接入点的网络地址可能发生变化。如果在终端离开归属无线接入点信号覆盖范围的时间段内,归属无线接入点的网络地址发生变化,则终端无法及时获知归属无线接入点的网络地址。In practical applications, an operator may dynamically allocate a network address to a wireless access point, and therefore, the network address of the wireless access point may change. If the network address of the home wireless access point changes within the time period when the terminal leaves the signal coverage of the home wireless access point, the terminal cannot obtain the network address of the home wireless access point in time.

在一些实施例中,归属无线接入点与地址服务器连接,并按照预设周期向地址服务器发送地址同步报文,其中,地址同步报文包括归属无线接入点对应的归属终端(即当前终端)的号码。地址服务器接收地址同步报文之后,获取地址同步报文的源地址信息,并比较预存地址信息与地址同步报文的源地址信息判断归属无线接入点的地址信息是否发生变化。地址服务器在判断出归属无线接入点的地址信息发生变化时,根据地址同步报文中的归属终端的号码,向当前终端发送地址变更消息。In some embodiments, the home wireless access point is connected to the address server, and sends an address synchronization message to the address server according to a preset period, wherein the address synchronization message includes the home terminal (ie the current terminal) corresponding to the home wireless access point ) number. After receiving the address synchronization message, the address server obtains the source address information of the address synchronization message, and compares the pre-stored address information with the source address information of the address synchronization message to determine whether the address information of the home wireless access point has changed. When judging that the address information of the home wireless access point has changed, the address server sends an address change message to the current terminal according to the number of the home terminal in the address synchronization message.

其中,预存地址信息为地址服务器预先存储的无线接入点的地址信息。在本实施例中,当地址服务器判断出归属无线接入点的地址信息发生变化时,除了向终端发送地址变更消息之外,还将根据归属无线接入点当前的地址信息更新预存地址信息,以便在后续过程中以更新后的预存地址信息作为判断归属无线接入点地址信息是否发生变化的基准,从而保证判断结果的准确性。The pre-stored address information is the address information of the wireless access point pre-stored by the address server. In this embodiment, when the address server determines that the address information of the home wireless access point has changed, in addition to sending an address change message to the terminal, it will also update the pre-stored address information according to the current address information of the home wireless access point, In order to use the updated pre-stored address information as a benchmark for judging whether the home wireless access point address information has changed in the subsequent process, so as to ensure the accuracy of the judgment result.

需要说明的是,地址服务器在确定归属无线接入点的地址信息没有发生变化时,并不向终端发送地址变更消息,从而可以避免浪费通信资源;地址服务器在判断出归属无线接入点的地址信息发生变化时,向终端发送地址变更消息,使得终端可以及时获取归属无线接入点最新的地址信息,从而以归属无线接入点最新的地址信息与共享无线接入点进行共享连接。It should be noted that when the address server determines that the address information of the home wireless access point has not changed, it does not send an address change message to the terminal, so as to avoid wasting communication resources; the address server determines the address of the home wireless access point. When the information changes, an address change message is sent to the terminal, so that the terminal can obtain the latest address information of the home wireless access point in time, so as to make a shared connection with the shared wireless access point using the latest address information of the home wireless access point.

步骤S102,根据地址变更消息,获得归属无线接入点当前的地址信息。Step S102, obtain the current address information of the home wireless access point according to the address change message.

地址变更消息包括归属无线接入点当前的地址信息,当前终端从地址变更消息即可获得归属无线接入点当前的地址信息。The address change message includes the current address information of the home wireless access point, and the current terminal can obtain the current address information of the home wireless access point from the address change message.

步骤S103,从候选无线接入点中选取共享无线接入点。Step S103, selecting a shared wireless access point from the candidate wireless access points.

其中,候选无线接入点为信号覆盖当前终端的无线接入点的集合,共享无线接入点为具有共享连接功能的无线接入点。The candidate wireless access point is a set of wireless access points whose signals cover the current terminal, and the shared wireless access point is a wireless access point with a shared connection function.

在一些实施例中,终端确定信号覆盖当前位置的无线接入点,将这些无线接入点作为候选无线接入点。终端进一步判断候选无线接入点是否具有共享连接标识,获得判断结果;终端依据判断结果从候选无线接入点中选取共享无线接入点,其中,共享连接标识用于表征候选无线接入点具备共享连接功能。例如,当共享连接标识对应的取值为“1”时,表示该无线接入点具有共享连接功能;当共享连接标识对应的取值为“0”时,表示该无线接入点不具备共享连接功能。In some embodiments, the terminal determines wireless access points whose signals cover the current location, and uses these wireless access points as candidate wireless access points. The terminal further determines whether the candidate wireless access point has a shared connection identifier, and obtains a determination result; the terminal selects the shared wireless access point from the candidate wireless access points according to the determination result, wherein the shared connection identifier is used to indicate that the candidate wireless access point has Shared connection feature. For example, when the value corresponding to the shared connection identifier is "1", it indicates that the wireless access point has the shared connection function; when the value corresponding to the shared connection identifier is "0", it indicates that the wireless access point does not have the shared connection function. connection function.

需要说明的是,在共享无线接入点的数量为多个的情况下,终端可以根据无线接入点的信号强度等参数信息从中选取一个无线接入点作为待接入的共享无线接入点。It should be noted that when the number of shared wireless access points is multiple, the terminal can select one wireless access point as the shared wireless access point to be accessed according to parameter information such as the signal strength of the wireless access point. .

步骤S104,向共享无线接入点发送共享连接请求。Step S104, sending a shared connection request to the shared wireless access point.

其中,共享连接请求包括归属无线接入点当前的地址信息,归属无线接入点为当前终端的归属接入点。The shared connection request includes the current address information of the home wireless access point, and the home wireless access point is the home access point of the current terminal.

在一些实施方式中,归属无线接入点当前的地址信息可以是终端预存的信息。但是,在这种方式下,如果归属无线接入点的网络地址为运营商动态分配的网络地址,且在终端离开归属无线接入点的时间段内,归属无线接入点的网络地址(或端口号)发生变化时,终端无法及时获取归属无线接入点当前的地址信息。In some embodiments, the current address information of the home wireless access point may be information pre-stored by the terminal. However, in this way, if the network address of the home wireless access point is the network address dynamically allocated by the operator, and within the time period when the terminal leaves the home wireless access point, the network address of the home wireless access point (or When the port number) changes, the terminal cannot obtain the current address information of the home wireless access point in time.

为解决这一问题,在另外一些实施例中,设置地址服务器,地址服务器与无线接入点之间同步无线接入点的地址信息,由地址服务器及时将无线接入点当前的地址信息推送至对应的终端(即无线接入点的归属终端),使得终端一直存储有归属无线接入点最新的地址信息。To solve this problem, in some other embodiments, an address server is set, the address information of the wireless access point is synchronized between the address server and the wireless access point, and the address server pushes the current address information of the wireless access point to the wireless access point in time. The corresponding terminal (that is, the home terminal of the wireless access point), so that the terminal always stores the latest address information of the home wireless access point.

步骤S105,接收共享无线接入点返回的共享连接成功消息。Step S105: Receive a shared connection success message returned by the shared wireless access point.

其中,共享连接成功消息为共享无线接入点建立数据转发通道之后发送的消息,数据转发通道为共享无线接入点根据归属无线接入点当前的地址信息以及共享无线接入点的地址信息建立的连接共享无线接入点与归属无线接入点的数据通道。The shared connection success message is a message sent after the shared wireless access point establishes a data forwarding channel, and the data forwarding channel is established by the shared wireless access point according to the current address information of the home wireless access point and the address information of the shared wireless access point. The connection shares the data channel between the wireless access point and the home wireless access point.

终端接收共享连接成功消息,即获知共享无线接入点已经建立数据转发通道,从而具备与归属无线接入点传输数据的数据通道条件。When the terminal receives the shared connection success message, it is informed that the shared wireless access point has established a data forwarding channel, and thus has the data channel condition for data transmission with the home wireless access point.

步骤S106,通过数据转发通道和共享无线接入点,与归属无线接入点传输业务数据。Step S106, transmit service data with the home wireless access point through the data forwarding channel and the shared wireless access point.

终端通过共享无线接入点与其归属无线接入点建立连接,从而可以使用网络服务。在该过程中,共享无线接入点的本质为数据转发节点,主要用于转发终端与其归属无线接入点之间的通信数据。A terminal establishes a connection with its home wireless access point through a shared wireless access point, so that it can use network services. In this process, the shared wireless access point is essentially a data forwarding node, which is mainly used to forward the communication data between the terminal and its home wireless access point.

在一些实施例中,终端通过数据转发通道和共享无线接入点,与归属无线接入点传输业务数据,包括:In some embodiments, the terminal transmits service data with the home wireless access point through the data forwarding channel and the shared wireless access point, including:

归属无线接入点将下行数据通过数据转发通道发送至共享无线接入点,共享无线接入点将下行数据转发至终端,终端接收该下行数据;和/或;The home wireless access point sends the downlink data to the shared wireless access point through the data forwarding channel, the shared wireless access point forwards the downlink data to the terminal, and the terminal receives the downlink data; and/or;

终端将上行数据发送至共享无线接入点,共享无线接入点通过数据转发通道将上行数据转发至归属无线接入点。The terminal sends the uplink data to the shared wireless access point, and the shared wireless access point forwards the uplink data to the home wireless access point through the data forwarding channel.

本实施例中,终端接收地址服务器发送的地址变更消息,其中,地址变更消息包括归属无线接入点当前的地址信息,且地址变更消息是地址服务器接收归属无线接入点发送的地址同步报文之后,根据预存地址信息与地址同步报文的源地址信息判断出归属无线接入点的地址信息发生变化的情况下发送的消息,归属无线接入点为当前终端的归属接入点;根据地址变更消息,获得归属无线接入点当前的地址信息;从候选无线接入点中选取共享无线接入点,其中,共享无线接入点为具有共享连接功能的无线接入点;向共享无线接入点发送共享连接请求,其中,共享连接请求包括归属无线接入点当前的地址信息;接收共享无线接入点返回的共享连接成功消息,其中,共享连接成功消息为共享无线接入点建立数据转发通道之后发送的消息,数据转发通道为共享无线接入点根据归属无线接入点当前的地址信息以及共享无线接入点的地址信息建立的连接共享无线接入点与归属无线接入点的数据通道;通过数据转发通道和共享无线接入点,与归属无线接入点传输业务数据,使得终端在离开归属无线接入点信号覆盖范围之后仍可通过共享无线接入点与归属无线接入点建立连接,从而接入网络,提高了无线接入资源利用率,同时也提升了用户的网络体验。In this embodiment, the terminal receives an address change message sent by the address server, wherein the address change message includes the current address information of the home wireless access point, and the address change message is an address synchronization message sent by the address server to the home wireless access point After that, according to the pre-stored address information and the source address information of the address synchronization message, it is determined that the message sent when the address information of the home wireless access point changes, and the home wireless access point is the home access point of the current terminal; according to the address change message to obtain the current address information of the home wireless access point; select a shared wireless access point from the candidate wireless access points, where the shared wireless access point is a wireless access point with a shared connection function; The access point sends a shared connection request, where the shared connection request includes the current address information of the home wireless access point; receives a shared connection success message returned by the shared wireless access point, where the shared connection success message is the shared wireless access point establishment data The message sent after the forwarding channel, the data forwarding channel is the connection between the shared wireless access point and the home wireless access point established by the shared wireless access point according to the current address information of the home wireless access point and the address information of the shared wireless access point. Data channel; through the data forwarding channel and the shared wireless access point, the service data is transmitted with the home wireless access point, so that the terminal can still access the home wireless access point through the shared wireless access point after leaving the signal coverage of the home wireless access point. Points to establish a connection, so as to access the network, improve the utilization of wireless access resources, but also improve the user's network experience.

图2是本申请实施例二提供的一种共享方法的流程图,该共享方法可应用于终端。如图2所示,该共享方法包括如下步骤:FIG. 2 is a flowchart of a sharing method provided in Embodiment 2 of the present application, and the sharing method can be applied to a terminal. As shown in Figure 2, the sharing method includes the following steps:

步骤S201,从候选无线接入点中选取共享无线接入点。Step S201, selecting a shared wireless access point from candidate wireless access points.

步骤S202,向共享无线接入点发送共享连接请求。Step S202, sending a shared connection request to the shared wireless access point.

步骤S203,接收共享无线接入点返回的共享连接成功消息。Step S203: Receive a shared connection success message returned by the shared wireless access point.

本实施例中的步骤S201~步骤S203与本申请实施例一中步骤S103~步骤S105的内容相同,在此不再赘述。Steps S201 to S203 in this embodiment are the same as the contents of steps S103 to S105 in the first embodiment of the present application, and are not repeated here.

步骤S204,接受归属无线接入点的接入验证。Step S204, accept the access verification of the home wireless access point.

终端通过共享无线接入点提供的共享连接服务以及数据转发通道与归属无线接入点建立连接之后,归属无线接入点为保障接入的终端为真实的归属终端,需对终端发起接入认证,且只有在终端通过接入认证的情况下,归属无线接入点才接入当前终端。After the terminal establishes a connection with the home wireless access point through the shared connection service provided by the shared wireless access point and the data forwarding channel, the home wireless access point needs to initiate access authentication for the terminal to ensure that the terminal being accessed is the real home terminal. , and the home wireless access point accesses the current terminal only when the terminal passes the access authentication.

在一些实施例中,终端向归属无线接入点发送接入请求;归属无线接入点接收并响应终端的接入请求,发起接入验证,向终端发送接入验证消息。终端接收归属无线接入点发送的接入验证消息,并向归属无线接入点发送接入验证信息,其中,接入验证信息包括但不限于当前终端的身份信息和接入密钥。归属无线接入点接收终端发送的接入验证信息之后,根据预存的验证信息判断终端提供的接入验证信息是否真实准确,生成判断结果,并基于判断结果生成接入验证反馈消息,将接入验证反馈消息发送至终端。终端接收归属无线接入点返回的接入验证反馈消息,根据接入验证反馈消息确定是否接入归属无线接入点。具体地,若接入验证反馈消息为接入验证信息真实准确,则终端可以接入归属无线接入点,若接入验证反馈消息为接入验证信息不是真实准确的信息,则终端无法接入归属无线接入点。In some embodiments, the terminal sends an access request to the home wireless access point; the home wireless access point receives and responds to the access request of the terminal, initiates access verification, and sends an access verification message to the terminal. The terminal receives the access verification message sent by the home wireless access point, and sends access verification information to the home wireless access point, where the access verification information includes but is not limited to the identity information and access key of the current terminal. After receiving the access verification information sent by the terminal, the home wireless access point judges whether the access verification information provided by the terminal is true and accurate according to the pre-stored verification information, generates a judgment result, and generates an access verification feedback message based on the judgment result, and sends the access verification message to the access point. A verification feedback message is sent to the terminal. The terminal receives the access verification feedback message returned by the home wireless access point, and determines whether to access the home wireless access point according to the access verification feedback message. Specifically, if the access verification feedback message is that the access verification information is true and accurate, the terminal can access the home wireless access point; if the access verification feedback message is that the access verification information is not true and accurate, the terminal cannot access Home wireless access point.

需要说明的是,以上对于无线接入点的接入认证方法仅是举例说明,本领域技术人员可根据实际情况进行具体设定,其他未说明的接入认证方法也在本申请的保护范围之内,在此不再赘述。It should be noted that the above access authentication methods for wireless access points are only examples, and those skilled in the art can make specific settings according to the actual situation. Other unexplained access authentication methods are also within the scope of protection of this application. , and will not be repeated here.

步骤S205,通过数据转发通道和共享无线接入点,与归属无线接入点传输业务数据。Step S205, transmit service data with the home wireless access point through the data forwarding channel and the shared wireless access point.

本实施例中的步骤S205与本申请实施例一中步骤S106的内容相同,在此不再赘述。The content of step S205 in this embodiment is the same as that of step S106 in Embodiment 1 of the present application, and details are not repeated here.

图3是本申请实施例三提供的一种共享方法的流程图,该共享方法可应用于无线接入点。如图3所示,该共享方法包括如下步骤:FIG. 3 is a flowchart of a sharing method provided in Embodiment 3 of the present application, and the sharing method can be applied to a wireless access point. As shown in Figure 3, the sharing method includes the following steps:

步骤S301,接收终端发送的共享连接请求。Step S301, receiving a sharing connection request sent by a terminal.

其中,共享连接请求包括终端对应的归属无线接入点当前的地址信息,当前无线接入点为终端从候选无线接入点中选取的共享无线接入点,共享无线接入点为具有共享连接功能的无线接入点。The shared connection request includes the current address information of the home wireless access point corresponding to the terminal, the current wireless access point is the shared wireless access point selected by the terminal from the candidate wireless access points, and the shared wireless access point has the shared connection functional wireless access point.

在一些实施例中,终端确定信号覆盖当前位置的无线接入点,将这些无线接入点作为候选无线接入点。终端进一步判断候选无线接入点是否具有共享连接标识,获得判断结果;终端依据判断结果从候选无线接入点中选取共享无线接入点,并向共享无线接入点发送共享连接请求;共享无线接入点接收终端发送的共享连接请求。其中,共享连接标识用于表征候选无线接入点具备共享连接功能。In some embodiments, the terminal determines wireless access points whose signals cover the current location, and uses these wireless access points as candidate wireless access points. The terminal further judges whether the candidate wireless access point has a shared connection identifier, and obtains a judgment result; the terminal selects a shared wireless access point from the candidate wireless access points according to the judgment result, and sends a shared connection request to the shared wireless access point; the shared wireless access point The access point receives the shared connection request sent by the terminal. The shared connection identifier is used to indicate that the candidate wireless access point has the shared connection function.

步骤S302,依据归属无线接入点当前的地址信息以及当前无线接入点的地址信息,建立数据转发通道。Step S302: Establish a data forwarding channel according to the current address information of the home wireless access point and the address information of the current wireless access point.

其中,数据转发通道为连接当前无线接入点与归属无线接入点的数据通道,当前无线接入点与归属无线接入点可通过数据转发通道传输数据。The data forwarding channel is a data channel connecting the current wireless access point and the home wireless access point, and the current wireless access point and the home wireless access point can transmit data through the data forwarding channel.

在一些实施方式中,归属无线接入点当前的地址信息可以是终端预存的信息。但是,在这种方式下,如果归属无线接入点的网络地址为运营商动态分配的网络地址,且在终端离开归属无线接入点的时间段内,归属无线接入点的网络地址(或端口号)发生变化时,终端无法及时获取归属无线接入点当前的地址信息。In some embodiments, the current address information of the home wireless access point may be information pre-stored by the terminal. However, in this way, if the network address of the home wireless access point is the network address dynamically allocated by the operator, and within the time period when the terminal leaves the home wireless access point, the network address of the home wireless access point (or When the port number) changes, the terminal cannot obtain the current address information of the home wireless access point in time.

为解决这一问题,在另外一些实施例中,设置地址服务器,地址服务器与无线接入点之间同步无线接入点的地址信息,由地址服务器及时将无线接入点当前的地址信息推送至对应的终端(即无线接入点的归属终端),使得终端一直存储有归属无线接入点最新的地址信息,并根据归属无线接入点当前的地址信息生成共享连接请求,以供共享无线接入点根据归属无线接入点最新的地址信息以及共享无线接入点的地址信息,建立数据转发通道。To solve this problem, in some other embodiments, an address server is set, the address information of the wireless access point is synchronized between the address server and the wireless access point, and the address server pushes the current address information of the wireless access point to the wireless access point in time. The corresponding terminal (that is, the home terminal of the wireless access point), so that the terminal always stores the latest address information of the home wireless access point, and generates a shared connection request according to the current address information of the home wireless access point for sharing the wireless access point. The in point establishes a data forwarding channel according to the latest address information of the home wireless access point and the address information of the shared wireless access point.

步骤S303,向终端返回共享连接成功消息。Step S303, returning a shared connection success message to the terminal.

其中,共享连接成功消息为当前无线接入点建立数据转发通道之后发送的消息,数据转发通道为当前无线接入点根据归属无线接入点当前的地址信息以及当前无线接入点的地址信息建立的连接当前无线接入点与归属无线接入点的数据通道。The shared connection success message is a message sent after the current wireless access point establishes a data forwarding channel, and the data forwarding channel is established by the current wireless access point according to the current address information of the home wireless access point and the address information of the current wireless access point. The data channel connecting the current wireless access point and the home wireless access point.

在一些实施例中,当前无线接入点建立数据转发通道之后,生成并发送共享连接成功消息至终端。终端接收当前无线接入点发送的共享连接成功消息,获知当前无线接入点完成数据转发通道的建立,具备与归属无线接入点传输通信数据的数据通道条件。In some embodiments, after the current wireless access point establishes the data forwarding channel, it generates and sends a shared connection success message to the terminal. The terminal receives the shared connection success message sent by the current wireless access point, and learns that the current wireless access point has completed the establishment of the data forwarding channel and has the data channel conditions for transmitting communication data with the home wireless access point.

步骤S304,基于数据转发通道转发终端与归属无线接入点之间的业务数据。Step S304, forward the service data between the terminal and the home wireless access point based on the data forwarding channel.

终端通过共享无线接入点与其归属无线接入点建立连接,从而可以使用网络服务。在该过程中,共享无线接入点的本质为数据转发节点,主要用于转发终端与其归属无线接入点之间的通信数据。A terminal establishes a connection with its home wireless access point through a shared wireless access point, so that it can use network services. In this process, the shared wireless access point is essentially a data forwarding node, which is mainly used to forward the communication data between the terminal and its home wireless access point.

在一些实施例中,无线接入点通过数据转发通道转发终端与归属无线接入点之间的业务数据,包括:In some embodiments, the wireless access point forwards service data between the terminal and the home wireless access point through a data forwarding channel, including:

归属无线接入点将下行数据通过数据转发通道发送至当前无线接入点,当前无线接入点将下行数据转发至终端,终端接收该下线数据;和/或;The home wireless access point sends the downlink data to the current wireless access point through the data forwarding channel, the current wireless access point forwards the downlink data to the terminal, and the terminal receives the offline data; and/or;

终端将上行数据发送至当前无线接入点,当前无线接入点通过数据转发通道将上行数据转发至归属无线接入点。The terminal sends the uplink data to the current wireless access point, and the current wireless access point forwards the uplink data to the home wireless access point through the data forwarding channel.

本申请第二方面提供一种终端。图4是本申请实施例四提供的一种终端的组成方框图。如图4所示,该终端包括:A second aspect of the present application provides a terminal. FIG. 4 is a block diagram of the composition of a terminal according to Embodiment 4 of the present application. As shown in Figure 4, the terminal includes:

第三接收模块401,用于接收地址服务器发送的地址变更消息。The third receiving module 401 is configured to receive the address change message sent by the address server.

其中,地址变更消息包括归属无线接入点当前的地址信息,且地址变更消息是地址服务器接收归属无线接入点发送的地址同步报文之后,根据预存地址信息与地址同步报文的源地址信息判断出归属无线接入点的地址信息发生变化的情况下发送的消息,归属无线接入点为当前终端的归属接入点。Wherein, the address change message includes the current address information of the home wireless access point, and the address change message is that after the address server receives the address synchronization message sent by the home wireless access point, according to the pre-stored address information and the source address information of the address synchronization message A message sent when it is determined that the address information of the home wireless access point has changed, and the home wireless access point is the home access point of the current terminal.

在实际应用中,运营商可能动态地为无线接入点分配网络地址,因此,无线接入点的网络地址可能发生变化。如果在终端离开归属无线接入点信号覆盖范围的时间段内,归属无线接入点的网络地址发生变化,则终端无法及时获知归属无线接入点的网络地址。In practical applications, an operator may dynamically allocate a network address to a wireless access point, and therefore, the network address of the wireless access point may change. If the network address of the home wireless access point changes within the time period when the terminal leaves the signal coverage of the home wireless access point, the terminal cannot obtain the network address of the home wireless access point in time.

在一些实施例中,归属无线接入点与地址服务器连接,并按照预设周期向地址服务器发送地址同步报文,其中,地址同步报文包括归属无线接入点对应的归属终端(即当前终端)的号码。地址服务器接收地址同步报文之后,获取地址同步报文的源地址信息,并比较预存地址信息与地址同步报文的源地址信息判断归属无线接入点的地址信息是否发生变化。地址服务器在判断出归属无线接入点的地址信息发生变化时,根据地址同步报文中的归属终端的号码,向当前终端发送地址变更消息。当前终端通过第三接收模块401接收地址服务器发送的地址变更消息。In some embodiments, the home wireless access point is connected to the address server, and sends an address synchronization message to the address server according to a preset period, wherein the address synchronization message includes the home terminal (ie the current terminal) corresponding to the home wireless access point ) number. After receiving the address synchronization message, the address server obtains the source address information of the address synchronization message, and compares the pre-stored address information with the source address information of the address synchronization message to determine whether the address information of the home wireless access point has changed. When judging that the address information of the home wireless access point has changed, the address server sends an address change message to the current terminal according to the number of the home terminal in the address synchronization message. The current terminal receives the address change message sent by the address server through the third receiving module 401 .

其中,预存地址信息为地址服务器预先存储的无线接入点的地址信息。在本实施例中,当地址服务器判断出归属无线接入点的地址信息发生变化时,除了向终端发送地址变更消息之外,还将根据归属无线接入点当前的地址信息更新预存地址信息,以便在后续过程中以更新后的预存地址信息作为判断归属无线接入点地址信息是否发生变化的基准,从而保证判断结果的准确性。The pre-stored address information is the address information of the wireless access point pre-stored by the address server. In this embodiment, when the address server determines that the address information of the home wireless access point has changed, in addition to sending an address change message to the terminal, it will also update the pre-stored address information according to the current address information of the home wireless access point, In order to use the updated pre-stored address information as a benchmark for judging whether the home wireless access point address information has changed in the subsequent process, so as to ensure the accuracy of the judgment result.

需要说明的是,地址服务器在确定归属无线接入点的地址信息没有发生变化时,并不向终端发送地址变更消息,从而可以避免浪费通信资源;地址服务器在判断出归属无线接入点的地址信息发生变化时,向终端发送地址变更消息,使得终端可以及时获取归属无线接入点最新的地址信息,从而以归属无线接入点最新的地址信息与共享无线接入点进行共享连接。It should be noted that when the address server determines that the address information of the home wireless access point has not changed, it does not send an address change message to the terminal, so as to avoid wasting communication resources; the address server determines the address of the home wireless access point. When the information changes, an address change message is sent to the terminal, so that the terminal can obtain the latest address information of the home wireless access point in time, so as to make a shared connection with the shared wireless access point using the latest address information of the home wireless access point.

获取模块402,用于根据地址变更消息,获得归属无线接入点当前的地址信息。The obtaining module 402 is configured to obtain the current address information of the home wireless access point according to the address change message.

选取模块403,用于从候选无线接入点中选取共享无线接入点。The selecting module 403 is configured to select the shared wireless access point from the candidate wireless access points.

其中,候选无线接入点为信号覆盖当前终端的无线接入点的集合,共享无线接入点为具有共享连接功能的无线接入点。The candidate wireless access point is a set of wireless access points whose signals cover the current terminal, and the shared wireless access point is a wireless access point with a shared connection function.

在一些实施例中,终端通过选取模块403从候选无线接入点中选取共享无线接入点,包括:In some embodiments, the terminal selects the shared wireless access point from the candidate wireless access points through the selection module 403, including:

终端确定信号覆盖当前位置的无线接入点,将这些无线接入点作为候选无线接入点。进一步地,终端判断候选无线接入点是否具有共享连接标识,获得判断结果;终端依据判断结果从候选无线接入点中选取共享无线接入点,其中,共享连接标识用于表征候选无线接入点具备共享连接功能。例如,当共享连接标识对应的取值为“1”时,表示该无线接入点具有共享连接功能;当共享连接标识对应的取值为“0”时,表示该无线接入点不具备共享连接功能。The terminal determines the wireless access points whose signals cover the current location, and uses these wireless access points as candidate wireless access points. Further, the terminal determines whether the candidate wireless access point has a shared connection identifier, and obtains a determination result; the terminal selects the shared wireless access point from the candidate wireless access points according to the determination result, wherein the shared connection identifier is used to represent the candidate wireless access point. The point has a shared connection feature. For example, when the value corresponding to the shared connection identifier is "1", it indicates that the wireless access point has the shared connection function; when the value corresponding to the shared connection identifier is "0", it indicates that the wireless access point does not have the shared connection function. connection function.

需要说明的是,在共享无线接入点的数量为多个的情况下,终端可以根据无线接入点的信号强度等参数信息从中选取一个无线接入点作为待接入的共享无线接入点。It should be noted that when the number of shared wireless access points is multiple, the terminal can select one wireless access point as the shared wireless access point to be accessed according to parameter information such as the signal strength of the wireless access point. .

第一发送模块404,用于向共享无线接入点发送共享连接请求。The first sending module 404 is configured to send a shared connection request to the shared wireless access point.

其中,共享连接请求包括归属无线接入点当前的地址信息,归属无线接入点为当前终端的归属接入点。The shared connection request includes the current address information of the home wireless access point, and the home wireless access point is the home access point of the current terminal.

在一些实施方式中,归属无线接入点当前的地址信息可以是终端预存的信息。但是,在这种方式下,如果归属无线接入点的网络地址为运营商动态分配的网络地址,且在终端离开归属无线接入点的时间段内,归属无线接入点的网络地址(或端口号)发生变化时,终端无法及时获取归属无线接入点当前的地址信息。为解决这一问题,在另外一些实施例中,设置地址服务器,地址服务器与无线接入点之间同步无线接入点的地址信息,由地址服务器及时将无线接入点当前的地址信息推送至对应的终端(即无线接入点的归属终端),使得终端一直存储有归属无线接入点最新的地址信息(即无线接入点当前的地址信息)。In some embodiments, the current address information of the home wireless access point may be information pre-stored by the terminal. However, in this way, if the network address of the home wireless access point is the network address dynamically allocated by the operator, and within the time period when the terminal leaves the home wireless access point, the network address of the home wireless access point (or When the port number) changes, the terminal cannot obtain the current address information of the home wireless access point in time. To solve this problem, in some other embodiments, an address server is set, the address information of the wireless access point is synchronized between the address server and the wireless access point, and the address server pushes the current address information of the wireless access point to the wireless access point in time. The corresponding terminal (ie, the home terminal of the wireless access point), so that the terminal always stores the latest address information of the home wireless access point (ie, the current address information of the wireless access point).

在一些实施例中,终端离开归属无线接入点的信号覆盖范围,进入共享无线接入点的信号覆盖,并存在网络服务需求时,终端根据归属无线接入点当前的地址信息生成共享连接请求,并通过第一发送模块404将共享连接请求发送至共享无线接入点。In some embodiments, when the terminal leaves the signal coverage of the home wireless access point and enters the signal coverage of the shared wireless access point, and there is a network service demand, the terminal generates a shared connection request according to the current address information of the home wireless access point , and send the shared connection request to the shared wireless access point through the first sending module 404 .

第一接收模块405,用于接收共享无线接入点返回的共享连接成功消息。The first receiving module 405 is configured to receive a shared connection success message returned by the shared wireless access point.

其中,共享连接成功消息为共享无线接入点建立数据转发通道之后发送的消息,数据转发通道为共享无线接入点根据归属无线接入点当前的地址信息以及共享无线接入点的地址信息建立的连接共享无线接入点与归属无线接入点的数据通道。The shared connection success message is a message sent after the shared wireless access point establishes a data forwarding channel, and the data forwarding channel is established by the shared wireless access point according to the current address information of the home wireless access point and the address information of the shared wireless access point. The connection shares the data channel between the wireless access point and the home wireless access point.

在一些实施例中,共享无线接入点在建立数据转发通道之后,向终端发送共享连接成功消息。终端通过第一接收模块405接收共享无线接入点发送的共享连接成功消息。In some embodiments, the shared wireless access point sends a shared connection success message to the terminal after establishing the data forwarding channel. The terminal receives the shared connection success message sent by the shared wireless access point through the first receiving module 405 .

第一传输模块406,用于通过数据转发通道和共享无线接入点,与归属无线接入点传输业务数据。The first transmission module 406 is configured to transmit service data with the home wireless access point through the data forwarding channel and the shared wireless access point.

终端通过共享无线接入点与其归属无线接入点建立连接,从而可以使用网络服务。在该过程中,共享无线接入点的本质为数据转发节点,主要用于转发终端与其归属无线接入点之间的通信数据。A terminal establishes a connection with its home wireless access point through a shared wireless access point, so that it can use network services. In this process, the shared wireless access point is essentially a data forwarding node, which is mainly used to forward the communication data between the terminal and its home wireless access point.

在一些实施例中,终端使用第一传输模块406通过数据转发通道和共享无线接入点,与归属无线接入点传输业务数据,包括:In some embodiments, the terminal uses the first transmission module 406 to transmit service data with the home wireless access point through the data forwarding channel and the shared wireless access point, including:

归属无线接入点将下行数据通过数据转发通道发送至共享无线接入点,共享无线接入点将下行数据转发至终端,终端接收该下行数据;和/或;The home wireless access point sends the downlink data to the shared wireless access point through the data forwarding channel, the shared wireless access point forwards the downlink data to the terminal, and the terminal receives the downlink data; and/or;

终端将上行数据发送至共享无线接入点,共享无线接入点通过数据转发通道将上行数据转发至归属无线接入点。The terminal sends the uplink data to the shared wireless access point, and the shared wireless access point forwards the uplink data to the home wireless access point through the data forwarding channel.

本实施例中,终端接收地址服务器发送的地址变更消息,其中,地址变更消息包括归属无线接入点当前的地址信息,且地址变更消息是地址服务器接收归属无线接入点发送的地址同步报文之后,根据预存地址信息与地址同步报文的源地址信息判断出归属无线接入点的地址信息发生变化的情况下发送的消息,归属无线接入点为当前终端的归属接入点;根据地址变更消息,获得归属无线接入点当前的地址信息;通过第一选取模块从候选无线接入点中选取共享无线接入点,基于第一发送模块向共享无线接入点发送共享连接请求,并通过第一接收模块接收共享无线接入点返回的共享连接成功消息之后,利用第一传输模块,通过数据转发通道和共享无线接入点与归属无线接入点传输业务数据,使得终端在离开归属无线接入点信号覆盖范围之后仍可通过共享无线接入点与归属无线接入点建立连接,从而接入网络,提高了无线接入资源利用率,同时也提升了用户的网络体验。In this embodiment, the terminal receives an address change message sent by the address server, wherein the address change message includes the current address information of the home wireless access point, and the address change message is an address synchronization message sent by the address server to the home wireless access point After that, according to the pre-stored address information and the source address information of the address synchronization message, it is determined that the message sent when the address information of the home wireless access point changes, and the home wireless access point is the home access point of the current terminal; according to the address change message to obtain the current address information of the home wireless access point; select the shared wireless access point from the candidate wireless access points through the first selection module, send a shared connection request to the shared wireless access point based on the first sending module, and After the shared connection success message returned by the shared wireless access point is received by the first receiving module, the first transmission module is used to transmit service data through the data forwarding channel and the shared wireless access point and the home wireless access point, so that the terminal leaves the home After the wireless access point has signal coverage, it can still establish a connection with the home wireless access point through the shared wireless access point, so as to access the network, improve the utilization rate of wireless access resources, and also improve the user's network experience.

本申请第三方面提供一种无线接入点。图5是本申请实施例五提供的一种无线接入点的组成方框图。如图5所示,该无线接入点包括:A third aspect of the present application provides a wireless access point. FIG. 5 is a block diagram of the composition of a wireless access point according to Embodiment 5 of the present application. As shown in Figure 5, the wireless access point includes:

第二接收模块501,用于接收终端发送的共享连接请求。The second receiving module 501 is configured to receive a shared connection request sent by the terminal.

其中,共享连接请求包括终端对应的归属无线接入点当前的地址信息,归属无线接入点当前的地址信息为终端根据地址服务器发送的地址变更消息获取的信息,当前无线接入点为终端从候选无线接入点中选取的共享无线接入点,共享无线接入点为具有共享连接功能的无线接入点。The shared connection request includes the current address information of the home wireless access point corresponding to the terminal, the current address information of the home wireless access point is the information obtained by the terminal according to the address change message sent by the address server, and the current wireless access point is the information obtained by the terminal from the address change message. The shared wireless access point selected from the candidate wireless access points, the shared wireless access point is a wireless access point with a shared connection function.

在一些实施例中,归属无线接入点与地址服务器连接,并按照预设周期向地址服务器发送地址同步报文,其中,地址同步报文包括归属无线接入点对应的归属终端(即当前终端)的号码。地址服务器接收地址同步报文之后,获取地址同步报文的源地址信息,并比较预存地址信息与地址同步报文的源地址信息判断归属无线接入点的地址信息是否发生变化。地址服务器在判断出归属无线接入点的地址信息发生变化时,根据地址同步报文中的归属终端的号码,向当前终端发送地址变更消息。终端根据地址变更消息,获得归属无线接入点当前的地址信息。In some embodiments, the home wireless access point is connected to the address server, and sends an address synchronization message to the address server according to a preset period, wherein the address synchronization message includes the home terminal (ie the current terminal) corresponding to the home wireless access point ) number. After receiving the address synchronization message, the address server obtains the source address information of the address synchronization message, and compares the pre-stored address information with the source address information of the address synchronization message to determine whether the address information of the home wireless access point has changed. When judging that the address information of the home wireless access point has changed, the address server sends an address change message to the current terminal according to the number of the home terminal in the address synchronization message. The terminal obtains the current address information of the home wireless access point according to the address change message.

终端离开归属无线接入点的信号覆盖范围之后,确定信号覆盖当前位置的无线接入点,将这些无线接入点作为候选无线接入点。终端进一步判断候选无线接入点是否具有共享连接标识,获得判断结果;终端依据判断结果从候选无线接入点中选取共享无线接入点,并向共享无线接入点发送共享连接请求;共享无线接入点通过第二接收模块501接收终端发送的共享连接请求,其中,共享连接标识用于表征候选无线接入点具备共享连接功能。After the terminal leaves the signal coverage of the home wireless access point, it determines the wireless access points whose signals cover the current location, and uses these wireless access points as candidate wireless access points. The terminal further judges whether the candidate wireless access point has a shared connection identifier, and obtains a judgment result; the terminal selects a shared wireless access point from the candidate wireless access points according to the judgment result, and sends a shared connection request to the shared wireless access point; the shared wireless access point The access point receives the shared connection request sent by the terminal through the second receiving module 501, wherein the shared connection identifier is used to indicate that the candidate wireless access point has the shared connection function.

建立模块502,用于依据归属无线接入点当前的地址信息以及当前无线接入点的地址信息,建立数据转发通道。The establishing module 502 is configured to establish a data forwarding channel according to the current address information of the home wireless access point and the address information of the current wireless access point.

其中,数据转发通道为连接当前无线接入点与归属无线接入点的数据通道,当前无线接入点与归属无线接入点可通过数据转发通道传输数据。The data forwarding channel is a data channel connecting the current wireless access point and the home wireless access point, and the current wireless access point and the home wireless access point can transmit data through the data forwarding channel.

在一些实施方式中,归属无线接入点当前的地址信息可以是终端预存的信息。但是,在这种方式下,如果归属无线接入点的网络地址为运营商动态分配的网络地址,且在终端离开归属无线接入点的时间段内,归属无线接入点的网络地址(或端口号)发生变化时,终端无法及时获取归属无线接入点当前的地址信息。In some embodiments, the current address information of the home wireless access point may be information pre-stored by the terminal. However, in this way, if the network address of the home wireless access point is the network address dynamically allocated by the operator, and within the time period when the terminal leaves the home wireless access point, the network address of the home wireless access point (or When the port number) changes, the terminal cannot obtain the current address information of the home wireless access point in time.

为解决这一问题,设置地址服务器,地址服务器与无线接入点之间同步无线接入点的地址信息,由地址服务器及时将无线接入点当前的地址信息推送至对应的终端(即无线接入点的归属终端),使得终端一直存储有归属无线接入点最新的地址信息,并根据归属无线接入点当前的地址信息生成共享连接请求,以供共享无线接入点根据归属无线接入点最新的地址信息以及共享无线接入点的地址信息,建立数据转发通道。To solve this problem, an address server is set up, the address information of the wireless access point is synchronized between the address server and the wireless access point, and the address server pushes the current address information of the wireless access point to the corresponding terminal (that is, the wireless access point) in time. the home terminal of the access point), so that the terminal always stores the latest address information of the home wireless access point, and generates a shared connection request according to the current address information of the home wireless access point for the shared wireless access point to access according to the home wireless access point. Point the latest address information and share the address information of the wireless access point to establish a data forwarding channel.

第二发送模块503,用于向终端返回共享连接成功消息。The second sending module 503 is configured to return a shared connection success message to the terminal.

其中,共享连接成功消息为当前无线接入点建立数据转发通道之后发送的消息,数据转发通道为当前无线接入点根据归属无线接入点当前的地址信息以及当前无线接入点的地址信息建立的连接当前无线接入点与归属无线接入点的数据通道。The shared connection success message is a message sent after the current wireless access point establishes a data forwarding channel, and the data forwarding channel is established by the current wireless access point according to the current address information of the home wireless access point and the address information of the current wireless access point. The data channel connecting the current wireless access point and the home wireless access point.

在一些实施例中,当前无线接入点建立数据转发通道之后,生成共享连接成功消息,并通过第二发送模块503将共享连接成功消息发送至终端。终端接收当前无线接入点发送的共享连接成功消息,获知当前无线接入点完成数据转发通道的建立,具备与归属无线接入点传输通信数据的数据通道条件。In some embodiments, after the current wireless access point establishes the data forwarding channel, a shared connection success message is generated, and the shared connection success message is sent to the terminal through the second sending module 503 . The terminal receives the shared connection success message sent by the current wireless access point, and learns that the current wireless access point has completed the establishment of the data forwarding channel and has the data channel conditions for transmitting communication data with the home wireless access point.

第二传输模块504,用于基于数据转发通道转发终端与归属无线接入点之间的业务数据。The second transmission module 504 is configured to forward the service data between the terminal and the home wireless access point based on the data forwarding channel.

终端通过共享无线接入点与其归属无线接入点建立连接,从而可以使用网络服务。在该过程中,共享无线接入点的本质为数据转发节点,主要用于转发终端与其归属无线接入点之间的通信数据。A terminal establishes a connection with its home wireless access point through a shared wireless access point, so that it can use network services. In this process, the shared wireless access point is essentially a data forwarding node, which is mainly used to forward the communication data between the terminal and its home wireless access point.

在一些实施例中,无线接入点通过第二传输模块504基于数据转发通道转发终端与归属无线接入点的业务数据,包括:In some embodiments, the wireless access point forwards the service data between the terminal and the home wireless access point through the second transmission module 504 based on the data forwarding channel, including:

归属无线接入点将下行数据通过数据转发通道发送至当前无线接入点,当前无线接入点将下行数据转发至终端,终端接收该下线数据;和/或;The home wireless access point sends the downlink data to the current wireless access point through the data forwarding channel, the current wireless access point forwards the downlink data to the terminal, and the terminal receives the offline data; and/or;

终端将上行数据发送至当前无线接入点,当前无线接入点通过数据转发通道将上行数据转发至归属无线接入点。The terminal sends the uplink data to the current wireless access point, and the current wireless access point forwards the uplink data to the home wireless access point through the data forwarding channel.

本实施例中,无线接入点通过第二接收模块接收终端发送的共享连接请求,依据归属无线接入点当前的地址信息以及当前无线接入点的地址信息,通过建立模块建立数据转发通道,并利用第二发送模块向终端返回共享连接成功消息,进而通过第二传输模块基于数据转发通道转发终端与归属无线接入点之间的业务数据,使得终端在离开归属无线接入点信号覆盖范围之后仍可通过共享无线接入点与归属无线接入点建立连接,从而接入网络,提高了无线接入资源利用率,同时也提升了用户的网络体验。In this embodiment, the wireless access point receives the shared connection request sent by the terminal through the second receiving module, and establishes a data forwarding channel through the establishment module according to the current address information of the home wireless access point and the address information of the current wireless access point, And use the second sending module to return the shared connection success message to the terminal, and then forward the service data between the terminal and the home wireless access point through the second transmission module based on the data forwarding channel, so that the terminal leaves the home wireless access point signal coverage area. Afterwards, it is still possible to establish a connection with the home wireless access point through the shared wireless access point, so as to access the network, improve the utilization rate of wireless access resources, and also improve the user's network experience.

图6是本申请实施例六提供的一种共享系统的组成方框图。如图6所示,该共享系统包括:第一无线接入点601、第一终端602、地址服务器603、第二无线接入点604和第二终端605。FIG. 6 is a block diagram of the composition of a sharing system provided in Embodiment 6 of the present application. As shown in FIG. 6 , the sharing system includes: a first wireless access point 601 , a first terminal 602 , an address server 603 , a second wireless access point 604 and a second terminal 605 .

其中,第一无线接入点601为第一终端602的归属无线接入点,第二无线接入点604为第二终端605的归属无线接入点。第一无线接入点601与第二无线接入点604均与地址服务器603连接,定期向地址服务器603发送地址同步报文。第一终端602和第二终端605均与地址服务器603连接。地址服务器7603在根据第一无线接入点601发送的地址同步报文和预存地址信息判断出第一无线接入点601的地址信息发生变化时,向第一终端602发送第一地址变更消息,第一终端602接收地址服务器603发送的第一地址变更消息,根据第一地址变更消息获得第一无线接入点601当前的地址信息。类似的,地址服务器603在判断第二无线接入点604的地址信息发生变化时,向第二终端605发送第二地址变更消息,第二终端6705根据第二地址变更消息获得第二无线接入点604当前的位置信息。The first wireless access point 601 is the home wireless access point of the first terminal 602 , and the second wireless access point 604 is the home wireless access point of the second terminal 605 . Both the first wireless access point 601 and the second wireless access point 604 are connected to the address server 603 , and periodically send an address synchronization message to the address server 603 . Both the first terminal 602 and the second terminal 605 are connected to the address server 603 . When determining that the address information of the first wireless access point 601 has changed according to the address synchronization message sent by the first wireless access point 601 and the pre-stored address information, the address server 7603 sends a first address change message to the first terminal 602, The first terminal 602 receives the first address change message sent by the address server 603, and obtains the current address information of the first wireless access point 601 according to the first address change message. Similarly, when judging that the address information of the second wireless access point 604 has changed, the address server 603 sends a second address change message to the second terminal 605, and the second terminal 6705 obtains the second wireless access point according to the second address change message Point 604 current location information.

在一些实施例中,在第一终端602离开第一无线接入点601的信号覆盖范围,进入第二无线接入点604的信号覆盖范围之后,向第二无线接入点604发起共享连接请求。第二无线接入点604响应共享连接请求,建立第二无线接入点604与第一无线接入点601之间进行通信的数据转发通道,通过该数据转发通道连接第一终端602与第一无线接入点601,并传输第一终端602与第一无线接入点601之间的业务数据。In some embodiments, after the first terminal 602 leaves the signal coverage of the first wireless access point 601 and enters the signal coverage of the second wireless access point 604, it initiates a shared connection request to the second wireless access point 604 . In response to the shared connection request, the second wireless access point 604 establishes a data forwarding channel for communication between the second wireless access point 604 and the first wireless access point 601, and connects the first terminal 602 and the first terminal through the data forwarding channel The wireless access point 601, and transmits service data between the first terminal 602 and the first wireless access point 601.

图7是本申请实施例六对应的共享系统的工作流程图。如图7所示,该共享系统的工作流程包括:FIG. 7 is a working flowchart of the sharing system corresponding to Embodiment 6 of the present application. As shown in Figure 7, the workflow of the sharing system includes:

步骤S701,第一无线接入点601按照预设周期向地址服务器603发送地址同步报文。Step S701, the first wireless access point 601 sends an address synchronization message to the address server 603 according to a preset period.

其中,地址同步报文中包括第一无线接入点601当前的地址信息,地址信息包括但不限于网络地址和端口号。Wherein, the address synchronization message includes the current address information of the first wireless access point 601, and the address information includes but is not limited to a network address and a port number.

步骤S702,地址服务器603根据地址同步报文和预存地址信息判断第一无线接入点601的地址信息是否发生变化。Step S702, the address server 603 determines whether the address information of the first wireless access point 601 has changed according to the address synchronization message and the pre-stored address information.

步骤S703,地址服务器603在判断出第一无线接入点601的地址信息发生变化的情况下,向第一终端602发送地址变更消息。Step S703 , when the address server 603 determines that the address information of the first wireless access point 601 has changed, it sends an address change message to the first terminal 602 .

其中,地址变更消息包括第一无线接入点601当前的地址信息。The address change message includes the current address information of the first wireless access point 601 .

步骤S704,第一终端602从候选无线接入点中选取共享无线接入点。Step S704, the first terminal 602 selects a shared wireless access point from the candidate wireless access points.

在本实施例中,第一终端602选取的共享无线接入点为第二无线接入点604。In this embodiment, the shared wireless access point selected by the first terminal 602 is the second wireless access point 604 .

步骤S705,第一终端602向第二无线接入点604发送共享连接请求。Step S705 , the first terminal 602 sends a shared connection request to the second wireless access point 604 .

其中,共享连接请求包括第一无线接入点601当前的地址信息,第一无线接入点601当前的地址信息为第一终端602根据地址服务器603发送的地址变更消息获得的信息。The shared connection request includes the current address information of the first wireless access point 601 , and the current address information of the first wireless access point 601 is the information obtained by the first terminal 602 according to the address change message sent by the address server 603 .

步骤S706,第二无线接入点604根据第一无线接入点601当前的地址信息以及第二无线接入点604的地址信息,建立数据转发通道。Step S706 , the second wireless access point 604 establishes a data forwarding channel according to the current address information of the first wireless access point 601 and the address information of the second wireless access point 604 .

步骤S707,第二无线接入点604向第一终端602返回共享连接成功消息。Step S707 , the second wireless access point 604 returns a shared connection success message to the first terminal 602 .

步骤S708,第一终端602向第一无线接入点601发起接入请求。Step S708, the first terminal 602 initiates an access request to the first wireless access point 601.

步骤S709,第一无线接入点601对第一终端602进行接入验证操作之后,向第一终端602返回接入验证反馈消息。Step S709 , after the first wireless access point 601 performs an access verification operation on the first terminal 602 , it returns an access verification feedback message to the first terminal 602 .

步骤S710,在接入验证反馈消息为验证通过的情况下,第一终端602接入第一无线接入点601,并通过数据转发通道和第二无线接入点604与第一无线接入点601传输业务数据。Step S710, in the case that the access verification feedback message is verified as passed, the first terminal 602 accesses the first wireless access point 601, and communicates with the first wireless access point through the data forwarding channel and the second wireless access point 604 601 transmits service data.

在一些实施例中,终端接收第一无线接入点601通过数据转发通道发送至第二无线接入点604、经第二无线接入点604转发的下行数据;和/或;终端将上行数据发送至第二无线接入点604,第二无线接入点604通过数据转发通道将上行数据转发至第一无线接入点601。In some embodiments, the terminal receives downlink data sent by the first wireless access point 601 to the second wireless access point 604 through the data forwarding channel and forwarded by the second wireless access point 604; and/or; the terminal transfers the uplink data The data is sent to the second wireless access point 604, and the second wireless access point 604 forwards the uplink data to the first wireless access point 601 through the data forwarding channel.

上面各种方法的步骤划分,只是为了描述清楚,实现时可以合并为一个步骤或者对某些步骤进行拆分,分解为多个步骤,只要包括相同的逻辑关系,都在本专利的保护范围内;对算法中或者流程中添加无关紧要的修改或者引入无关紧要的设计,但不改变其算法和流程的核心设计都在该专利的保护范围内。The steps of the above various methods are divided only for the purpose of describing clearly. During implementation, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as the same logical relationship is included, they are all within the protection scope of this patent. ;Adding insignificant modifications to the algorithm or process or introducing insignificant designs, but not changing the core design of the algorithm and process are all within the scope of protection of this patent.

值得一提的是,本实施方式中所涉及到的各模块均为逻辑模块,在实际应用中,一个逻辑单元可以是一个物理单元,也可以是一个物理单元的一部分,还可以以多个物理单元的组合实现。此外,为了突出本申请的创新部分,本实施方式中并没有将与解决本申请所提出的技术问题关系不太密切的单元引入,但这并不表明本实施方式中不存在其它的单元。It is worth mentioning that each module involved in this embodiment is a logical module. In practical applications, a logical unit may be a physical unit, a part of a physical unit, or multiple physical units. A composite implementation of the unit. In addition, in order to highlight the innovative part of the present application, this embodiment does not introduce units that are not closely related to solving the technical problem raised by the present application, but this does not mean that there are no other units in this embodiment.

可以理解的是,以上实施方式仅仅是为了说明本申请的原理而采用的示例性实施方式,然而本申请并不局限于此。对于本领域内的普通技术人员而言,在不脱离本申请的精神和实质的情况下,可以做出各种变型和改进,这些变型和改进也视为本申请的保护范围。It should be understood that the above embodiments are only exemplary embodiments adopted to illustrate the principles of the present application, but the present application is not limited thereto. For those skilled in the art, various modifications and improvements can be made without departing from the spirit and essence of the present application, and these modifications and improvements are also regarded as the protection scope of the present application.

Claims (7)

1.一种共享方法,其特征在于,包括:1. a sharing method, is characterized in that, comprises: 接收地址服务器发送的地址变更消息,其中,所述地址变更消息包括归属无线接入点当前的地址信息,且所述地址变更消息是所述地址服务器接收所述归属无线接入点发送的地址同步报文之后,根据预存地址信息与所述地址同步报文的源地址信息判断出所述归属无线接入点的地址信息发生变化的情况下发送的消息,所述归属无线接入点为当前终端的归属接入点;Receive an address change message sent by the address server, where the address change message includes the current address information of the home wireless access point, and the address change message is the address synchronization message sent by the address server to the home wireless access point. After the message is sent, it is determined according to the pre-stored address information and the source address information of the address synchronization message that the address information of the home wireless access point changes, and the home wireless access point is the current terminal. 's home access point; 根据所述地址变更消息,获得所述归属无线接入点当前的地址信息;obtaining the current address information of the home wireless access point according to the address change message; 从候选无线接入点中选取共享无线接入点,其中,所述共享无线接入点为具有共享连接功能的无线接入点;Selecting a shared wireless access point from the candidate wireless access points, wherein the shared wireless access point is a wireless access point with a shared connection function; 向所述共享无线接入点发送共享连接请求,其中,所述共享连接请求包括所述归属无线接入点当前的地址信息;sending a shared connection request to the shared wireless access point, wherein the shared connection request includes the current address information of the home wireless access point; 接收所述共享无线接入点返回的共享连接成功消息,其中,所述共享连接成功消息为所述共享无线接入点建立数据转发通道之后发送的消息,所述数据转发通道为所述共享无线接入点根据所述归属无线接入点当前的地址信息以及所述共享无线接入点的地址信息建立的连接所述共享无线接入点与所述归属无线接入点的数据通道;Receive a shared connection success message returned by the shared wireless access point, where the shared connection success message is a message sent after the shared wireless access point establishes a data forwarding channel, and the data forwarding channel is the shared wireless access point. a data channel connecting the shared wireless access point and the home wireless access point established by the access point according to the current address information of the home wireless access point and the address information of the shared wireless access point; 通过所述数据转发通道和所述共享无线接入点,与所述归属无线接入点传输业务数据。The service data is transmitted with the home wireless access point through the data forwarding channel and the shared wireless access point. 2.根据权利要求1所述的共享方法,其特征在于,所述候选无线接入点为信号覆盖所述当前终端的无线接入点的集合;2 . The sharing method according to claim 1 , wherein the candidate wireless access point is a set of wireless access points whose signals cover the current terminal; 2 . 所述从候选无线接入点中选取共享无线接入点,包括:The selecting a shared wireless access point from the candidate wireless access points includes: 判断所述候选无线接入点是否具有共享连接标识,获得判断结果,其中,所述共享连接标识用于表征所述候选无线接入点具备共享连接功能;Judging whether the candidate wireless access point has a shared connection identifier, and obtaining a judgment result, wherein the shared connection identifier is used to indicate that the candidate wireless access point has a shared connection function; 依据所述判断结果从所述候选无线接入点中选取所述共享无线接入点。The shared wireless access point is selected from the candidate wireless access points according to the judgment result. 3.根据权利要求1所述的共享方法,其特征在于,所述接收所述共享无线接入点返回的共享连接成功消息之后,所述通过所述数据转发通道和所述共享无线接入点,与所述归属无线接入点传输业务数据之前,还包括:3 . The sharing method according to claim 1 , wherein after receiving a sharing connection success message returned by the shared wireless access point, the data forwarding channel and the shared wireless access point are passed through the data forwarding channel and the shared wireless access point. , before transmitting service data with the home wireless access point, further comprising: 接受所述归属无线接入点的接入验证。Accept the access authentication of the home wireless access point. 4.根据权利要求3所述的共享方法,其特征在于,所述接受所述归属无线接入点的接入验证,包括:4. The sharing method according to claim 3, wherein the accepting the access verification of the home wireless access point comprises: 向所述归属无线接入点发送接入请求;sending an access request to the home wireless access point; 接收所述归属无线接入点发送的接入验证消息;receiving an access verification message sent by the home wireless access point; 向所述归属无线接入点发送接入验证信息,其中,所述接入验证信息包括所述当前终端的身份信息和接入密钥;sending access verification information to the home wireless access point, wherein the access verification information includes the identity information and access key of the current terminal; 接收所述归属无线接入点返回的接入验证反馈消息;receiving an access verification feedback message returned by the home wireless access point; 根据所述接入验证反馈消息确定是否接入所述归属无线接入点。Whether to access the home wireless access point is determined according to the access verification feedback message. 5.根据权利要求4所述的共享方法,其特征在于,所述根据所述接入验证反馈消息确定是否接入所述归属无线接入点之后,还包括:The sharing method according to claim 4, wherein after determining whether to access the home wireless access point according to the access verification feedback message, the method further comprises: 在根据所述接入验证反馈消息确定接入所述归属无线接入点的情况下,接收所述归属无线接入点通过所述数据转发通道发送至所述共享无线接入点、经所述共享无线接入点转发的下行数据;和/或;In the case where it is determined to access the home wireless access point according to the access verification feedback message, receive the data sent by the home wireless access point to the shared wireless access point through the data forwarding channel, share downlink data forwarded by the wireless access point; and/or; 在根据所述接入验证反馈消息确定接入所述归属无线接入点的情况下,将上行数据发送至所述共享无线接入点,以供所述共享无线接入点通过所述数据转发通道将所述上行数据转发至所述归属无线接入点。In the case where it is determined to access the home wireless access point according to the access verification feedback message, send uplink data to the shared wireless access point, so that the shared wireless access point can forward the data through the data The channel forwards the uplink data to the home wireless access point. 6.一种终端,其特征在于,包括:6. A terminal, characterized in that, comprising: 第三接收模块,用于接收地址服务器发送的地址变更消息,其中,所述地址变更消息包括归属无线接入点当前的地址信息,且所述地址变更消息是所述地址服务器接收所述归属无线接入点发送的地址同步报文之后,根据预存地址信息与所述地址同步报文的源地址信息判断出所述归属无线接入点的地址信息发生变化的情况下发送的消息,所述归属无线接入点为当前终端的归属接入点;The third receiving module is configured to receive an address change message sent by the address server, wherein the address change message includes the current address information of the home wireless access point, and the address change message is the address change message received by the address server from the home wireless access point. After the address synchronization message sent by the access point, according to the pre-stored address information and the source address information of the address synchronization message, it is determined that the address information of the home wireless access point has changed. The wireless access point is the home access point of the current terminal; 获取模块,用于根据所述地址变更消息,获得所述归属无线接入点当前的地址信息;an obtaining module, configured to obtain the current address information of the home wireless access point according to the address change message; 选取模块,用于从候选无线接入点中选取共享无线接入点,其中,所述共享无线接入点为具有共享连接功能的无线接入点;a selection module, configured to select a shared wireless access point from the candidate wireless access points, wherein the shared wireless access point is a wireless access point with a shared connection function; 第一发送模块,用于向所述共享无线接入点发送共享连接请求,其中,所述共享连接请求包括所述归属无线接入点当前的地址信息;a first sending module, configured to send a shared connection request to the shared wireless access point, wherein the shared connection request includes the current address information of the home wireless access point; 第一接收模块,用于接收所述共享无线接入点返回的共享连接成功消息,其中,所述共享连接成功消息为所述共享无线接入点建立数据转发通道之后发送的消息,所述数据转发通道为所述共享无线接入点根据所述归属无线接入点当前的地址信息以及所述共享无线接入点的地址信息建立的连接所述共享无线接入点与所述归属无线接入点的数据通道;A first receiving module, configured to receive a shared connection success message returned by the shared wireless access point, where the shared connection success message is a message sent after the shared wireless access point establishes a data forwarding channel, and the data The forwarding channel is the connection between the shared wireless access point and the home wireless access point established by the shared wireless access point according to the current address information of the home wireless access point and the address information of the shared wireless access point. point data channel; 第一传输模块,用于通过所述数据转发通道和所述共享无线接入点,与所述归属无线接入点传输业务数据。The first transmission module is configured to transmit service data with the home wireless access point through the data forwarding channel and the shared wireless access point. 7.根据权利要求6所述的终端,其特征在于,所述终端还包括:接入验证模块,用于在第一接收模块接收所述共享无线接入点返回的共享连接成功消息之后,所述第一传输模块通过所述数据转发通道和所述共享无线接入点,与所述归属无线接入点传输业务数据之前,接受所述归属无线接入点的接入验证。7 . The terminal according to claim 6 , wherein the terminal further comprises: an access verification module, configured to: after the first receiving module receives the shared connection success message returned by the shared wireless access point, the The first transmission module accepts the access verification of the home wireless access point before transmitting service data with the home wireless access point through the data forwarding channel and the shared wireless access point.
CN202110557163.XA 2021-05-21 2021-05-21 Sharing method, terminal and wireless access point Active CN113207140B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110557163.XA CN113207140B (en) 2021-05-21 2021-05-21 Sharing method, terminal and wireless access point

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110557163.XA CN113207140B (en) 2021-05-21 2021-05-21 Sharing method, terminal and wireless access point

Publications (2)

Publication Number Publication Date
CN113207140A CN113207140A (en) 2021-08-03
CN113207140B true CN113207140B (en) 2022-09-23

Family

ID=77022801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110557163.XA Active CN113207140B (en) 2021-05-21 2021-05-21 Sharing method, terminal and wireless access point

Country Status (1)

Country Link
CN (1) CN113207140B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202768A (en) * 2006-12-14 2008-06-18 昂达博思公司 System and method for allowing skip zone switch of mobile equipment IP address
CN101764751A (en) * 2009-12-25 2010-06-30 杭州华三通信技术有限公司 Method, system and equipment for forwarding roaming messages for wireless user terminal travelling across VLAN
JP2017022556A (en) * 2015-07-10 2017-01-26 Necプラットフォームズ株式会社 Communication device and communication method
CN107659937A (en) * 2016-08-02 2018-02-02 上海掌门科技有限公司 The method and apparatus shared for realizing WAP
CN108270724A (en) * 2016-12-30 2018-07-10 上海掌门科技有限公司 For obtaining the method for the access information of shared wireless access point, equipment and system
CN108601065A (en) * 2018-05-08 2018-09-28 上海连尚网络科技有限公司 A kind of method of wireless access point shared service
CN108966230A (en) * 2018-06-29 2018-12-07 上海连尚网络科技有限公司 Share the method and apparatus of wireless access point

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2459107B (en) * 2008-04-09 2012-11-14 Ubiquisys Ltd Access point
CN106912048B (en) * 2013-12-20 2020-06-23 北京小米移动软件有限公司 Access point information sharing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202768A (en) * 2006-12-14 2008-06-18 昂达博思公司 System and method for allowing skip zone switch of mobile equipment IP address
CN101764751A (en) * 2009-12-25 2010-06-30 杭州华三通信技术有限公司 Method, system and equipment for forwarding roaming messages for wireless user terminal travelling across VLAN
JP2017022556A (en) * 2015-07-10 2017-01-26 Necプラットフォームズ株式会社 Communication device and communication method
CN107659937A (en) * 2016-08-02 2018-02-02 上海掌门科技有限公司 The method and apparatus shared for realizing WAP
CN108270724A (en) * 2016-12-30 2018-07-10 上海掌门科技有限公司 For obtaining the method for the access information of shared wireless access point, equipment and system
CN108601065A (en) * 2018-05-08 2018-09-28 上海连尚网络科技有限公司 A kind of method of wireless access point shared service
CN108966230A (en) * 2018-06-29 2018-12-07 上海连尚网络科技有限公司 Share the method and apparatus of wireless access point

Also Published As

Publication number Publication date
CN113207140A (en) 2021-08-03

Similar Documents

Publication Publication Date Title
CN114945159B (en) Direct communication processing method, device, relay terminal and remote terminal
CN109863789B (en) Method and apparatus for connecting terminal to network based on applicable network information in mobile communication system
TWI643479B (en) Method of network slicing, user equipment and base station using the same
WO2021195867A1 (en) Bearer mapping for ue-to-ue relay
EP3777069B1 (en) Methods and system for offloading data traffic
US11382026B2 (en) LTE network extension (LNE) system, methods, and apparatus
JP2010057116A (en) Base station unit, service flow establishment program, and service flow establishment method
CN111869310A (en) Method and system for performing small data fast path communication
CN101651588A (en) Method for selecting gateway, method for establishing connection, related device and communication system
WO2017132954A1 (en) Data transmission method, apparatus, and device
CN101527935B (en) Processing method and device in scheduling of resources
CN104754642B (en) A kind of service-seeking method, apparatus and system and website
CN104427568A (en) Method and device for realizing unloading of 3GPP network flow
CN113207140B (en) Sharing method, terminal and wireless access point
KR20070050256A (en) Packet incoming call processing device and method using floating IP in next generation wireless packet service network
CN100369495C (en) Mobile communication systems, extension transceivers, wireless base stations, wireless control devices, and mobile switching offices
CN113347740B (en) Sharing method, relay server and wireless access point
CN113709678A (en) Communication method, device, communication equipment and system
CN113194520A (en) Network sharing method and device
KR100678887B1 (en) Presence service method and device
CN113207141B (en) Sharing method, relay server and wireless access point
KR101523994B1 (en) COMMUNICATION TERMINAL AND OPERATING METHOD THEREOF
CN113347689A (en) Sharing method and device
KR101293303B1 (en) System and method for simultaneously transmitting data in heterogeneous network
JPH11289349A (en) Data packet transfer method in ad hoc network

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
GR01 Patent grant
GR01 Patent grant