CN113067758B - Broadband access method, system, terminal and storage medium - Google Patents

Broadband access method, system, terminal and storage medium Download PDF

Info

Publication number
CN113067758B
CN113067758B CN202110308261.XA CN202110308261A CN113067758B CN 113067758 B CN113067758 B CN 113067758B CN 202110308261 A CN202110308261 A CN 202110308261A CN 113067758 B CN113067758 B CN 113067758B
Authority
CN
China
Prior art keywords
terminal
broadband
location information
internet gateway
server
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
CN202110308261.XA
Other languages
Chinese (zh)
Other versions
CN113067758A (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
Unicom Cloud Data Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Unicom Cloud Data 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, Unicom Cloud Data Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202110308261.XA priority Critical patent/CN113067758B/en
Publication of CN113067758A publication Critical patent/CN113067758A/en
Application granted granted Critical
Publication of CN113067758B publication Critical patent/CN113067758B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本申请提供一种宽带接入方法、系统、终端及存储介质,其中,该方法通过终端发送宽带接入请求至服务器,该宽带接入请求携带终端的位置信息,以使服务器基于该位置信息发送连接指令至宽带互联网网关,该连接指令携带终端的位置信息,这样,宽带互联网网关可以根据终端的位置信息,发送宽带网络连接建立请求至终端,从而,实现终端的宽带接入,解决现有宽带接入影响楼宇的线路美观、安全的问题。而且,采用本申请实施例进行宽带接入,在用户开通宽带业务后,无需人工到位抵达客户位置进行部线或者接续,省时省力,并且稳定性较好,适合应用。

Figure 202110308261

The present application provides a broadband access method, system, terminal and storage medium, wherein the method sends a broadband access request to a server through the terminal, and the broadband access request carries the location information of the terminal, so that the server sends a broadband access request based on the location information. The connection instruction is sent to the broadband Internet gateway, and the connection instruction carries the location information of the terminal. In this way, the broadband Internet gateway can send a broadband network connection establishment request to the terminal according to the location information of the terminal, so as to realize the broadband access of the terminal and solve the problem of existing broadband Access issues that affect the aesthetics and safety of the lines of the building. Moreover, by using the embodiment of the present application for broadband access, after the user activates the broadband service, there is no need to manually arrive at the customer's location for branch line or connection, which saves time and effort, and has good stability, which is suitable for application.

Figure 202110308261

Description

宽带接入方法、系统、终端及存储介质Broadband access method, system, terminal and storage medium

技术领域technical field

本申请涉及通信技术领域,尤其涉及一种宽带接入方法、系统、终端及存储介质。The present application relates to the field of communication technologies, and in particular, to a broadband access method, system, terminal and storage medium.

背景技术Background technique

随着网络业务的不断发展,宽带业务被广泛使用。用户在运营商处开通宽带业务,运营商则为用户安装终端和服务器,而后验证终端和服务器是否正确,用户是否能顺利连接网络,从而实现宽带网络连接。With the continuous development of network services, broadband services are widely used. The user activates the broadband service at the operator, and the operator installs the terminal and server for the user, and then verifies whether the terminal and server are correct and whether the user can connect to the network smoothly, thus realizing the broadband network connection.

当前,用户的宽带接入方式有多个宽带运营商。每一宽带运营商都有自己的宽带接入盒子和线路。这样,在一栋楼里,如果用户选择不同的宽带运营商,楼道里会有众多的宽带接入盒子和线路。Currently, there are multiple broadband operators in the broadband access mode of users. Each broadband operator has its own broadband access box and line. In this way, in a building, if users choose different broadband operators, there will be many broadband access boxes and lines in the corridor.

因此,上述宽带接入方式很影响楼宇的线路美观、安全。而且,用户开通宽带业务后,需要人工到位抵达客户位置进行部线或者接续,物理链路的拉通费时费力,并且这种线路大多都是临时的物理线路,稳定性也欠佳。Therefore, the above-mentioned broadband access methods greatly affect the appearance and safety of the building lines. Moreover, after users activate broadband services, they need to manually arrive at the customer's location for connection or connection. The physical link is time-consuming and labor-intensive, and most of these lines are temporary physical lines with poor stability.

发明内容SUMMARY OF THE INVENTION

为解决现有技术中存在的问题,本申请提供一种宽带接入方法、系统、终端及存储介质。In order to solve the problems existing in the prior art, the present application provides a broadband access method, system, terminal and storage medium.

第一方面,本申请实施例提供一种宽带接入方法,所述方法应用于终端,所述方法包括:In a first aspect, an embodiment of the present application provides a broadband access method, the method is applied to a terminal, and the method includes:

发送第一宽带接入请求至服务器,所述第一宽带接入请求携带第一终端标识,所述第一终端标识包括所述终端的第一位置信息,所述第一宽带接入请求用于指示所述服务器发送第一连接指令至第一宽带互联网网关,所述第一连接指令携带所述终端的第一位置信息,所述第一连接指令用于指示所述第一宽带互联网网关根据所述终端的第一位置信息,发送第一宽带网络连接建立请求至所述终端;Send a first broadband access request to the server, where the first broadband access request carries a first terminal identifier, the first terminal identifier includes the first location information of the terminal, and the first broadband access request is used for Instruct the server to send a first connection instruction to the first broadband Internet gateway, where the first connection instruction carries the first location information of the terminal, and the first connection instruction is used to instruct the first broadband Internet gateway to the first location information of the terminal, and send a first broadband network connection establishment request to the terminal;

接收所述第一宽带互联网网关发送的所述第一宽带网络连接建立请求;receiving the first broadband network connection establishment request sent by the first broadband Internet gateway;

根据所述第一宽带网络连接建立请求,与所述第一宽带互联网网关建立连接。Establish a connection with the first broadband Internet gateway according to the first broadband network connection establishment request.

在一种可能的实现方式中,在所述发送第一宽带接入请求至服务器之前,还包括:In a possible implementation manner, before the sending the first broadband access request to the server, the method further includes:

对所述第一终端标识进行加密;encrypting the first terminal identifier;

所述发送第一宽带接入请求至服务器,包括:The sending the first broadband access request to the server includes:

发送所述第一宽带接入请求至所述服务器,所述第一宽带接入请求携带加密后的第一终端标识,所述第一宽带接入请求用于指示所述服务器对所述加密后的第一终端标识进行解密,获得所述终端的第一位置信息,并发送所述第一连接指令至所述第一宽带互联网网关。Sending the first broadband access request to the server, where the first broadband access request carries the encrypted first terminal identifier, and the first broadband access request is used to instruct the server to The first terminal identifier of the terminal is decrypted, the first location information of the terminal is obtained, and the first connection instruction is sent to the first broadband Internet gateway.

在一种可能的实现方式中,所述方法还包括:In a possible implementation, the method further includes:

发送第二宽带接入请求至所述服务器,所述第二宽带接入请求携带第二终端标识,所述第二终端标识包括所述终端的第二位置信息,所述第二宽带接入请求用于指示所述服务器发送断开指令至所述第一宽带互联网网关,所述断开指令携带所述终端的第一位置信息,所述断开指令用于指示所述第一宽带互联网网关根据所述终端的第一位置信息,断开与所述终端的连接,并反馈断开信息至所述服务器,所述断开信息用于指示所述服务器发送第二连接指令至第二宽带互联网网关,所述第二连接指令携带所述终端的第二位置信息,所述第二连接指令用于指示所述第二宽带互联网网关根据所述终端的第二位置信息,发送第二宽带网络连接建立请求至所述终端;Sending a second broadband access request to the server, where the second broadband access request carries a second terminal identifier, the second terminal identifier includes second location information of the terminal, and the second broadband access request It is used to instruct the server to send a disconnection instruction to the first broadband Internet gateway, where the disconnection instruction carries the first location information of the terminal, and the disconnection instruction is used to instruct the first broadband Internet gateway according to the The first location information of the terminal, disconnect the connection with the terminal, and feed back disconnection information to the server, where the disconnection information is used to instruct the server to send a second connection instruction to the second broadband Internet gateway , the second connection instruction carries the second location information of the terminal, and the second connection instruction is used to instruct the second broadband Internet gateway to send the second broadband network connection establishment according to the second location information of the terminal request to the terminal;

接收所述第二宽带互联网网关发送的所述第二宽带网络连接建立请求;receiving the second broadband network connection establishment request sent by the second broadband Internet gateway;

根据所述第二宽带网络连接建立请求,与所述第二宽带互联网网关建立连接。Establish a connection with the second broadband Internet gateway according to the second broadband network connection establishment request.

第二方面,本申请实施例提供另一种宽带接入方法,所述方法应用于服务器,所述方法包括:In a second aspect, an embodiment of the present application provides another broadband access method, the method is applied to a server, and the method includes:

接收终端发送的第一宽带接入请求,所述第一宽带接入请求携带第一终端标识,所述第一终端标识包括所述终端的第一位置信息;receiving a first broadband access request sent by a terminal, where the first broadband access request carries a first terminal identifier, and the first terminal identifier includes first location information of the terminal;

根据所述第一宽带接入请求,发送第一连接指令至第一宽带互联网网关,所述第一连接指令携带所述终端的第一位置信息,所述第一连接指令用于指示所述第一宽带互联网网关根据所述终端的第一位置信息,发送第一宽带网络连接建立请求至所述终端,所述第一宽带网络连接建立请求用于指示所述终端与所述第一宽带互联网网关建立连接。According to the first broadband access request, a first connection instruction is sent to the first broadband Internet gateway, where the first connection instruction carries the first location information of the terminal, and the first connection instruction is used to indicate the first connection instruction to the first broadband Internet gateway. A broadband Internet gateway sends a first broadband network connection establishment request to the terminal according to the first location information of the terminal, where the first broadband network connection establishment request is used to instruct the terminal to communicate with the first broadband Internet gateway establish connection.

在一种可能的实现方式中,所述第一终端标识为加密后的第一终端标识;In a possible implementation manner, the first terminal identifier is an encrypted first terminal identifier;

在所述根据所述第一宽带接入请求,发送第一连接指令至第一宽带互联网网关之前,还包括:Before the sending the first connection instruction to the first broadband Internet gateway according to the first broadband access request, the method further includes:

对所述加密后的第一终端标识进行解密,获得所述终端的第一位置信息。Decrypt the encrypted first terminal identifier to obtain the first location information of the terminal.

在一种可能的实现方式中,所述方法还包括:In a possible implementation, the method further includes:

接收所述终端发送的第二宽带接入请求,所述第二宽带接入请求携带第二终端标识,所述第二终端标识包括所述终端的第二位置信息;receiving a second broadband access request sent by the terminal, where the second broadband access request carries a second terminal identifier, and the second terminal identifier includes second location information of the terminal;

根据所述第二宽带接入请求,发送断开指令至所述第一宽带互联网网关,所述断开指令携带所述终端的第一位置信息,所述断开指令用于指示所述第一宽带互联网网关根据所述终端的第一位置信息,断开与所述终端的连接,并反馈断开信息至所述服务器;According to the second broadband access request, a disconnection instruction is sent to the first broadband Internet gateway, where the disconnection instruction carries the first location information of the terminal, and the disconnection instruction is used to indicate the first location information of the terminal. The broadband Internet gateway disconnects the connection with the terminal according to the first location information of the terminal, and feeds back the disconnection information to the server;

根据所述断开信息,发送第二连接指令至第二宽带互联网网关,所述第二连接指令携带所述终端的第二位置信息,所述第二连接指令用于指示所述第二宽带互联网网关根据所述终端的第二位置信息,发送第二宽带网络连接建立请求至所述终端,所述第二宽带网络连接建立请求用于指示所述终端与所述第二宽带互联网网关建立连接。According to the disconnection information, a second connection instruction is sent to the second broadband Internet gateway, the second connection instruction carries the second location information of the terminal, and the second connection instruction is used to indicate the second broadband Internet gateway The gateway sends a second broadband network connection establishment request to the terminal according to the second location information of the terminal, where the second broadband network connection establishment request is used to instruct the terminal to establish a connection with the second broadband Internet gateway.

第三方面,本申请实施例提供一种宽带接入装置,包括:In a third aspect, an embodiment of the present application provides a broadband access device, including:

第一发送模块,用于发送第一宽带接入请求至服务器,所述第一宽带接入请求携带第一终端标识,所述第一终端标识包括所述终端的第一位置信息,所述第一宽带接入请求用于指示所述服务器发送第一连接指令至第一宽带互联网网关,所述第一连接指令携带所述终端的第一位置信息,所述第一连接指令用于指示所述第一宽带互联网网关根据所述终端的第一位置信息,发送第一宽带网络连接建立请求至所述终端;A first sending module, configured to send a first broadband access request to a server, where the first broadband access request carries a first terminal identifier, the first terminal identifier includes the first location information of the terminal, and the first terminal identifier includes the first location information of the terminal. A broadband access request is used to instruct the server to send a first connection instruction to the first broadband Internet gateway, where the first connection instruction carries the first location information of the terminal, and the first connection instruction is used to instruct the The first broadband Internet gateway sends a first broadband network connection establishment request to the terminal according to the first location information of the terminal;

第一接收模块,用于接收所述第一宽带互联网网关发送的所述第一宽带网络连接建立请求;a first receiving module, configured to receive the first broadband network connection establishment request sent by the first broadband Internet gateway;

建立模块,用于根据所述第一宽带网络连接建立请求,与所述第一宽带互联网网关建立连接。The establishment module is configured to establish a connection with the first broadband Internet gateway according to the first broadband network connection establishment request.

在一种可能的实现方式中,所述第一发送模块,具体用于:In a possible implementation manner, the first sending module is specifically used for:

对所述第一终端标识进行加密;encrypting the first terminal identifier;

发送所述第一宽带接入请求至所述服务器,所述第一宽带接入请求携带加密后的第一终端标识,所述第一宽带接入请求用于指示所述服务器对所述加密后的第一终端标识进行解密,获得所述终端的第一位置信息,并发送所述第一连接指令至所述第一宽带互联网网关。Sending the first broadband access request to the server, where the first broadband access request carries the encrypted first terminal identifier, and the first broadband access request is used to instruct the server to The first terminal identifier of the terminal is decrypted, the first location information of the terminal is obtained, and the first connection instruction is sent to the first broadband Internet gateway.

在一种可能的实现方式中,所述第一发送模块,还用于发送第二宽带接入请求至所述服务器,所述第二宽带接入请求携带第二终端标识,所述第二终端标识包括所述终端的第二位置信息,所述第二宽带接入请求用于指示所述服务器发送断开指令至所述第一宽带互联网网关,所述断开指令携带所述终端的第一位置信息,所述断开指令用于指示所述第一宽带互联网网关根据所述终端的第一位置信息,断开与所述终端的连接,并反馈断开信息至所述服务器,所述断开信息用于指示所述服务器发送第二连接指令至第二宽带互联网网关,所述第二连接指令携带所述终端的第二位置信息,所述第二连接指令用于指示所述第二宽带互联网网关根据所述终端的第二位置信息,发送第二宽带网络连接建立请求至所述终端;In a possible implementation manner, the first sending module is further configured to send a second broadband access request to the server, where the second broadband access request carries a second terminal identifier, and the second terminal The identifier includes second location information of the terminal, and the second broadband access request is used to instruct the server to send a disconnection instruction to the first broadband Internet gateway, where the disconnection instruction carries the first location information of the terminal. location information, the disconnection instruction is used to instruct the first broadband Internet gateway to disconnect from the terminal according to the first location information of the terminal, and feed back disconnection information to the server, and the disconnection The opening information is used to instruct the server to send a second connection instruction to the second broadband Internet gateway, where the second connection instruction carries the second location information of the terminal, and the second connection instruction is used to instruct the second broadband The Internet gateway sends a second broadband network connection establishment request to the terminal according to the second location information of the terminal;

所述第一接收模块,还用于接收所述第二宽带互联网网关发送的所述第二宽带网络连接建立请求;The first receiving module is further configured to receive the second broadband network connection establishment request sent by the second broadband Internet gateway;

所述建立模块,还用于根据所述第二宽带网络连接建立请求,与所述第二宽带互联网网关建立连接。The establishment module is further configured to establish a connection with the second broadband Internet gateway according to the second broadband network connection establishment request.

第四方面,本申请实施例提供另一种宽带接入装置,包括:In a fourth aspect, an embodiment of the present application provides another broadband access device, including:

第二接收模块,用于接收终端发送的第一宽带接入请求,所述第一宽带接入请求携带第一终端标识,所述第一终端标识包括所述终端的第一位置信息;a second receiving module, configured to receive a first broadband access request sent by a terminal, where the first broadband access request carries a first terminal identifier, and the first terminal identifier includes the first location information of the terminal;

第二发送模块,用于根据所述第一宽带接入请求,发送第一连接指令至第一宽带互联网网关,所述第一连接指令携带所述终端的第一位置信息,所述第一连接指令用于指示所述第一宽带互联网网关根据所述终端的第一位置信息,发送第一宽带网络连接建立请求至所述终端,所述第一宽带网络连接建立请求用于指示所述终端与所述第一宽带互联网网关建立连接。The second sending module is configured to send a first connection instruction to the first broadband Internet gateway according to the first broadband access request, where the first connection instruction carries the first location information of the terminal, and the first connection instruction carries the first location information of the terminal. The instruction is used to instruct the first broadband Internet gateway to send a first broadband network connection establishment request to the terminal according to the first location information of the terminal, and the first broadband network connection establishment request is used to instruct the terminal to communicate with the terminal. The first broadband Internet gateway establishes a connection.

在一种可能的实现方式中,所述第一终端标识为加密后的第一终端标识;In a possible implementation manner, the first terminal identifier is an encrypted first terminal identifier;

所述第二发送模块,还用于:The second sending module is also used for:

对所述加密后的第一终端标识进行解密,获得所述终端的第一位置信息。Decrypt the encrypted first terminal identifier to obtain the first location information of the terminal.

在一种可能的实现方式中,所述第二接收模块,还用于接收所述终端发送的第二宽带接入请求,所述第二宽带接入请求携带第二终端标识,所述第二终端标识包括所述终端的第二位置信息;In a possible implementation manner, the second receiving module is further configured to receive a second broadband access request sent by the terminal, where the second broadband access request carries a second terminal identifier, and the second broadband access request The terminal identification includes second location information of the terminal;

所述第二发送模块,还用于根据所述第二宽带接入请求,发送断开指令至所述第一宽带互联网网关,所述断开指令携带所述终端的第一位置信息,所述断开指令用于指示所述第一宽带互联网网关根据所述终端的第一位置信息,断开与所述终端的连接,并反馈断开信息至所述服务器;The second sending module is further configured to send a disconnection instruction to the first broadband Internet gateway according to the second broadband access request, where the disconnection instruction carries the first location information of the terminal, the The disconnection instruction is used to instruct the first broadband Internet gateway to disconnect from the terminal according to the first location information of the terminal, and feed back disconnection information to the server;

所述第二发送模块,还用于根据所述断开信息,发送第二连接指令至第二宽带互联网网关,所述第二连接指令携带所述终端的第二位置信息,所述第二连接指令用于指示所述第二宽带互联网网关根据所述终端的第二位置信息,发送第二宽带网络连接建立请求至所述终端,所述第二宽带网络连接建立请求用于指示所述终端与所述第二宽带互联网网关建立连接。The second sending module is further configured to send a second connection instruction to the second broadband Internet gateway according to the disconnection information, where the second connection instruction carries the second location information of the terminal, and the second connection instruction carries the second location information of the terminal. The instruction is used to instruct the second broadband Internet gateway to send a second broadband network connection establishment request to the terminal according to the second location information of the terminal, and the second broadband network connection establishment request is used to instruct the terminal to communicate with the terminal. The second broadband Internet gateway establishes a connection.

第五方面,本申请实施例提供一种宽带接入系统,包括:In a fifth aspect, an embodiment of the present application provides a broadband access system, including:

终端,用于发送第一宽带接入请求至服务器,所述第一宽带接入请求携带第一终端标识,所述第一终端标识包括所述终端的第一位置信息;a terminal, configured to send a first broadband access request to the server, where the first broadband access request carries a first terminal identifier, and the first terminal identifier includes the first location information of the terminal;

所述服务器,用于根据所述第一宽带接入请求,发送第一连接指令至第一宽带互联网网关,所述第一连接指令携带所述终端的第一位置信息;the server, configured to send a first connection instruction to the first broadband Internet gateway according to the first broadband access request, where the first connection instruction carries the first location information of the terminal;

所述第一宽带互联网网关,用于根据所述终端的第一位置信息,发送第一宽带网络连接建立请求至所述终端;the first broadband Internet gateway, configured to send a first broadband network connection establishment request to the terminal according to the first location information of the terminal;

所述终端,还用于接收所述第一宽带互联网网关发送的所述第一宽带网络连接建立请求,并根据所述第一宽带网络连接建立请求,与所述第一宽带互联网网关建立连接。The terminal is further configured to receive the first broadband network connection establishment request sent by the first broadband Internet gateway, and establish a connection with the first broadband Internet gateway according to the first broadband network connection establishment request.

第六方面,本申请实施例提供一种终端,包括:In a sixth aspect, an embodiment of the present application provides a terminal, including:

处理器;processor;

存储器;以及memory; and

计算机程序;Computer program;

其中,所述计算机程序被存储在所述存储器中,并且被配置为由所述处理器执行,所述计算机程序包括用于执行如第一方面所述的方法的指令。Wherein the computer program is stored in the memory and configured to be executed by the processor, the computer program comprising instructions for performing the method of the first aspect.

第七方面,本申请实施例提供一种服务器,包括:In a seventh aspect, an embodiment of the present application provides a server, including:

处理器;processor;

存储器;以及memory; and

计算机程序;Computer program;

其中,所述计算机程序被存储在所述存储器中,并且被配置为由所述处理器执行,所述计算机程序包括用于执行如第二方面所述的方法的指令。Wherein the computer program is stored in the memory and configured to be executed by the processor, the computer program comprising instructions for performing the method of the second aspect.

第八方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序使得终端执行第一方面所述的方法。In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program causes a terminal to execute the method of the first aspect.

第九方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序使得服务器执行第二方面所述的方法。In a ninth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program causes a server to execute the method of the second aspect.

第十方面,本申请实施例提供一种计算机程序产品,包括计算机指令,所述计算机指令被处理器执行第一方面所述的方法。In a tenth aspect, an embodiment of the present application provides a computer program product, including computer instructions, where the computer instructions are executed by a processor to execute the method of the first aspect.

第十一方面,本申请实施例提供一种计算机程序产品,包括计算机指令,所述计算机指令被处理器执行第二方面所述的方法。In an eleventh aspect, an embodiment of the present application provides a computer program product, including computer instructions, where the computer instructions are executed by a processor to execute the method described in the second aspect.

本申请实施例提供的宽带接入方法、系统、终端及存储介质,该方法通过终端发送宽带接入请求至服务器,该宽带接入请求携带终端的位置信息,以使服务器基于该位置信息发送连接指令至宽带互联网网关,该连接指令携带终端的位置信息,这样,宽带互联网网关可以根据终端的位置信息,发送宽带网络连接建立请求至终端,从而,实现终端的宽带接入,解决现有宽带接入影响楼宇的线路美观、安全的问题。而且,采用本申请实施例进行宽带接入,在用户开通宽带业务后,无需人工到位抵达客户位置进行部线或者接续,省时省力,并且稳定性较好,适合应用。In the broadband access method, system, terminal, and storage medium provided by the embodiments of the present application, the method sends a broadband access request to the server through the terminal, and the broadband access request carries the location information of the terminal, so that the server sends a connection based on the location information. The instruction is sent to the broadband Internet gateway, and the connection instruction carries the location information of the terminal. In this way, the broadband Internet gateway can send a broadband network connection establishment request to the terminal according to the location information of the terminal, thereby realizing the broadband access of the terminal and solving the existing broadband connection. Enter into problems that affect the appearance and safety of the wiring of the building. Moreover, using the embodiment of the present application for broadband access, after the user activates the broadband service, there is no need to manually arrive at the customer's location to perform branch lines or connection, which saves time and effort, and has good stability, which is suitable for application.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.

图1为本申请实施例提供的宽带接入系统架构示意图;FIG. 1 is a schematic diagram of the architecture of a broadband access system provided by an embodiment of the present application;

图2为本申请实施例提供的一种宽带接入方法的流程示意图;FIG. 2 is a schematic flowchart of a broadband access method provided by an embodiment of the present application;

图3为本申请实施例提供的一种终端的位置信息的示意图;FIG. 3 is a schematic diagram of location information of a terminal according to an embodiment of the present application;

图4为本申请实施例提供的另一种宽带接入方法的流程示意图;FIG. 4 is a schematic flowchart of another broadband access method provided by an embodiment of the present application;

图5为本申请实施例提供的再一种宽带接入方法的流程示意图;FIG. 5 is a schematic flowchart of still another broadband access method provided by an embodiment of the present application;

图6为本申请实施例提供的一种宽带接入装置的结构示意图;FIG. 6 is a schematic structural diagram of a broadband access device according to an embodiment of the present application;

图7为本申请实施例提供的另一种宽带接入装置的结构示意图;FIG. 7 is a schematic structural diagram of another broadband access apparatus provided by an embodiment of the present application;

图8A提供本申请所述终端的一种可能的基本硬件架构;FIG. 8A provides a possible basic hardware architecture of the terminal described in this application;

图8B提供本申请所述服务器的另一种可能的基本硬件架构。Figure 8B provides another possible basic hardware architecture of the server described herein.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”及“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third" and "fourth", etc. (if any) in the description and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that the embodiments of the application described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having" and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those expressly listed Rather, those steps or units may include other steps or units not expressly listed or inherent to these processes, methods, products or devices.

相关技术中,用户的宽带接入方式有多个宽带运营商。每一宽带运营商都有自己的宽带接入盒子和线路。这样,在一栋楼里,如果用户选择不同的宽带运营商,楼道里会有众多的宽带接入盒子和线路。In the related art, there are multiple broadband operators in the broadband access mode of the user. Each broadband operator has its own broadband access box and line. In this way, in a building, if users choose different broadband operators, there will be many broadband access boxes and lines in the corridor.

这样,楼道里有众多的宽带接入盒子和线路,会很影响楼宇的线路美观、安全。而且,用户开通宽带业务后,需要人工到位抵达客户位置进行部线或者接续,物理链路的拉通费时费力,并且这种线路大多都是临时的物理线路,稳定性也欠佳。In this way, there are many broadband access boxes and lines in the corridor, which will greatly affect the appearance and safety of the lines of the building. Moreover, after users activate broadband services, they need to manually arrive at the customer's location for connection or connection. The physical link is time-consuming and labor-intensive, and most of these lines are temporary physical lines with poor stability.

为了解决上述问题,本申请实施例提出一种简单的宽带接入方法,可以通过终端、服务器和宽带互联网网关之间的信息交互实现终端的宽带接入,解决现有宽带接入影响楼宇的线路美观、安全的问题。而且,采用本申请实施例进行宽带接入,在用户开通宽带业务后,无需人工到位抵达客户位置进行部线或者接续,省时省力,并且稳定性较好,适合应用。其中,上述终端可以为需要进行宽带接入的用户的终端,上述服务器可以为宽带运营商服务器。上述终端可以发送宽带接入请求至上述服务器,上述服务器可以基于该宽带接入请求,控制上述宽带互联网网关与上述终端建立宽带连接,从而,实现终端的宽带接入。In order to solve the above problems, the embodiment of the present application proposes a simple broadband access method, which can realize the broadband access of the terminal through the information exchange between the terminal, the server and the broadband Internet gateway, and solve the problem that the existing broadband access affects the lines of the building. Aesthetics, safety issues. Moreover, using the embodiment of the present application for broadband access, after the user activates the broadband service, there is no need to manually arrive at the customer's location to perform branch lines or connection, which saves time and effort, and has good stability, which is suitable for application. The above-mentioned terminal may be a terminal of a user who needs broadband access, and the above-mentioned server may be a broadband operator server. The terminal may send a broadband access request to the server, and the server may control the broadband Internet gateway to establish a broadband connection with the terminal based on the broadband access request, thereby realizing broadband access of the terminal.

可选地,本申请提供的一种宽带接入方法,可以适用于图1所示的宽带接入系统架构示意图,如图1所示,该系统可以包括终端101、服务器102和宽带互联网网关103中至少一种。其中,终端101可以安装实现宽带接入功能的应用程序(Application,APP),用户通过终端101上的APP与服务器进行信息交互,实现宽带接入。Optionally, a broadband access method provided by this application can be applied to the schematic diagram of the broadband access system architecture shown in FIG. 1 . As shown in FIG. 1 , the system may include a terminal 101 , a server 102 and a broadband Internet gateway 103 at least one of them. The terminal 101 may install an application program (Application, APP) that implements a broadband access function, and the user performs information interaction with the server through the APP on the terminal 101 to implement broadband access.

这里,终端101可以有一个或多个,这里图中以第一终端1011、第二终端1012……以及第n终端101n为例,n为大于2的整数。同理,服务器102也可以有一个或多个,图中以第一服务器1021、第二服务器1022……以及第m服务器102m为例,m为大于2的整数。每个服务器可以有一个或多个宽带互联网网关103,这里以宽带互联网网关103包括第一宽带互联网网关1031和第二宽带互联网网关1032,第一服务器1021对应第一宽带互联网网关1031和第二宽带互联网网关1032为例,其它服务器类似。Here, there may be one or more terminals 101 . In the figure, the first terminal 1011 , the second terminal 1012 . . . and the nth terminal 101n are taken as examples, and n is an integer greater than 2. Similarly, there may also be one or more servers 102 . In the figure, the first server 1021 , the second server 1022 . . . and the mth server 102m are taken as examples, where m is an integer greater than 2. Each server may have one or more broadband Internet gateways 103, where the broadband Internet gateway 103 includes a first broadband Internet gateway 1031 and a second broadband Internet gateway 1032, and the first server 1021 corresponds to the first broadband Internet gateway 1031 and the second broadband Internet gateway 1031 The Internet gateway 1032 is taken as an example, and other servers are similar.

另外,第一宽带互联网网关1031和第二宽带互联网网关1032可以通过网桥与各终端相连。每一终端中还可以包括一个或多个房间网络口,可以供一个家庭多个成员接入宽带。In addition, the first broadband Internet gateway 1031 and the second broadband Internet gateway 1032 may be connected to each terminal through a bridge. Each terminal may also include one or more room network ports, allowing multiple members of a family to access broadband.

在具体实现过程中,以第一终端1011、第一服务器1021,以及第一宽带互联网网关1031和第二宽带互联网网关1032之间的信息交互实现终端的宽带接入为例。用户通过第一终端1011发送宽带接入请求至第一服务器1021。第一服务器1021在接收到上述宽带接入请求后,基于该宽带接入请求,控制上述第一宽带互联网网关1031与上述第一终端1011建立宽带连接,从而,实现第一终端1011的宽带接入,解决现有宽带接入影响楼宇的线路美观、安全的问题。而且,采用上述方式进行宽带接入,在用户开通宽带业务后,无需人工到位抵达客户位置进行部线或者接续,省时省力,并且稳定性较好,适合应用。In the specific implementation process, the broadband access of the terminal is realized by the information exchange between the first terminal 1011, the first server 1021, and the first broadband Internet gateway 1031 and the second broadband Internet gateway 1032 as an example. The user sends a broadband access request to the first server 1021 through the first terminal 1011 . After receiving the broadband access request, the first server 1021 controls the first broadband Internet gateway 1031 to establish a broadband connection with the first terminal 1011 based on the broadband access request, so as to realize the broadband access of the first terminal 1011 , to solve the problem that the existing broadband access affects the appearance and safety of the building lines. Moreover, using the above method for broadband access, after the user has opened the broadband service, there is no need to manually arrive at the customer's location to perform branch lines or connection, which saves time and effort, and has good stability, which is suitable for application.

如果用户搬家,用户可以通过第一终端1011再次发送宽带接入请求至第一服务器1021。第一服务器1021基于该宽带接入请求给之前的第一宽带互联网网关1031发送拆链通知。前网关响应后,第一服务器1021可以控制上述第二宽带互联网网关1032与上述第一终端1011建立宽带连接,实现第一终端1011的宽带接入,用户开始在新的住宅内享受上网服务。If the user moves, the user can send the broadband access request to the first server 1021 again through the first terminal 1011 . The first server 1021 sends a disconnection notification to the previous first broadband Internet gateway 1031 based on the broadband access request. After the front gateway responds, the first server 1021 can control the second broadband Internet gateway 1032 to establish a broadband connection with the first terminal 1011, so as to realize the broadband access of the first terminal 1011, and the user starts to enjoy the Internet service in the new residence.

应理解,上述处理器可以通过处理器读取存储器中的指令并执行指令的方式实现,也可以通过芯片电路实现。It should be understood that the above-mentioned processor may be implemented by the processor reading the instructions in the memory and executing the instructions, or may be implemented by a chip circuit.

上述系统仅为一种示例性系统,具体实施时,可以根据应用需求设置。The above system is only an exemplary system, and can be set according to application requirements during specific implementation.

可以理解的是,本申请实施例示意的结构并不构成对宽带接入系统架构的具体限定。在本申请另一些可行的实施方式中,上述架构可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置,具体可根据实际应用场景确定,在此不做限制。图1所示的部件可以以硬件,软件,或软件与硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the architecture of the broadband access system. In some other feasible embodiments of the present application, the above architecture may include more or less components than shown in the figure, or combine some components, or separate some components, or arrange different components, depending on the actual application. The scene is determined, and there is no restriction here. The components shown in Figure 1 may be implemented in hardware, software, or a combination of software and hardware.

在本申请实施例中,上述各终端可以为手持设备、车载设备、可穿戴设备、计算设备,以及各种形式的用户设备(User Equipment,UE)等安装有宽带接入功能APP的设备。In the embodiments of the present application, the above-mentioned terminals may be handheld devices, vehicle-mounted devices, wearable devices, computing devices, various forms of user equipment (User Equipment, UE) and other devices installed with a broadband access function APP.

另外,本申请实施例描述的系统架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着系统架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。In addition, the system architecture and business scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute limitations on the technical solutions provided by the embodiments of the present application. With the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

下面以几个实施例为例对本申请的技术方案进行描述,对于相同或相似的概念或过程可能在某些实施例不再赘述。The technical solutions of the present application are described below by taking several embodiments as examples, and the same or similar concepts or processes may not be repeated in some embodiments.

图2为本申请实施例提供了一种宽带接入方法的流程示意图,本实施例的执行主体可以为图1中的终端。如图2所示,在图1所示系统架构的基础上,本申请实施例提供的宽带接入可以包括如下步骤:FIG. 2 provides a schematic flowchart of a broadband access method according to an embodiment of the present application, and an execution subject of this embodiment may be the terminal in FIG. 1 . As shown in FIG. 2 , on the basis of the system architecture shown in FIG. 1 , the broadband access provided by the embodiment of the present application may include the following steps:

S201:发送第一宽带接入请求至服务器,该第一宽带接入请求携带第一终端标识,该第一终端标识包括上述终端的第一位置信息,上述第一宽带接入请求用于指示上述服务器发送第一连接指令至第一宽带互联网网关,该第一连接指令携带上述终端的第一位置信息,该第一连接指令用于指示上述第一宽带互联网网关根据上述终端的第一位置信息,发送第一宽带网络连接建立请求至上述终端。S201: Send a first broadband access request to a server, where the first broadband access request carries a first terminal identifier, where the first terminal identifier includes first location information of the terminal, and the first broadband access request is used to indicate the The server sends a first connection instruction to the first broadband Internet gateway, where the first connection instruction carries the first location information of the terminal, and the first connection instruction is used to instruct the first broadband Internet gateway to, according to the first location information of the terminal, Send a first broadband network connection establishment request to the above-mentioned terminal.

这里,上述终端可以通过安装的有宽带接入功能APP,发送上述第一宽带接入请求至上述服务器。在发送上述第一宽带接入请求至上述服务器之前,上述终端可以使用自己的电话号码和/或身份证号等信息在上述APP上进行注册。在注册完成后,如果需要接入宽带,上述终端可以通过上述APP发送上述第一宽带接入请求至上述服务器,其中,该第一宽带接入请求携带第一终端标识,该第一终端标识包括上述终端的第一位置信息,该第一位置信息可以包括城市标识,县/区标识,小区标识,楼牌号标识等。示例性的,如图3所示,上述第一位置信息可以包括城市名称身份标识号id(identity document),县/区id,小区id和楼牌号id。Here, the above-mentioned terminal may send the above-mentioned first broadband access request to the above-mentioned server through an installed APP with a broadband access function. Before sending the first broadband access request to the server, the terminal may use information such as its own phone number and/or ID number to register on the APP. After the registration is completed, if broadband access is required, the terminal may send the first broadband access request to the server through the APP, where the first broadband access request carries a first terminal identifier, and the first terminal identifier includes The first location information of the terminal, the first location information may include a city identifier, a county/district identifier, a cell identifier, a building number identifier, and the like. Exemplarily, as shown in FIG. 3 , the above-mentioned first location information may include a city name identity document id (identity document), a county/district id, a cell id and a building number id.

在本申请实施例中,为了保证信息安全,上述终端在发送上述第一宽带接入请求至服务器之前,还可以对上述第一终端标识进行加密。例如,上述第一终端标识为明文:110103-xinjingjiayuan0000000…000-001-002-004。上述终端使用密钥1234,对上述第一终端标识进行DES加密后,得到:U2FsdGVkX18J/IHLqOJuGuyUASwNZR92A+2eniO/fLS3P+t2oh9HkBbWNWntYFk4oT6QhK3T0VfCec1HJRaQmchoDyjOM29r。相应的,终端可以基于上述加密后的信息生成二维码,方便后续使用。In this embodiment of the present application, in order to ensure information security, before sending the first broadband access request to the server, the above-mentioned terminal may further encrypt the above-mentioned first terminal identifier. For example, the above-mentioned first terminal identification is in plain text: 110103-xinjingjiayuan0000000...000-001-002-004. The above-mentioned terminal uses the key 1234 to perform DES encryption on the above-mentioned first terminal identifier, and obtains: U2FsdGVkX18J/IHLqOJuGuyUASwNZR92A+2eniO/fLS3P+t2oh9HkBbWNWntYFk4oT6QhK3T0VfCec1HJRaQmchoDyjOM29r. Correspondingly, the terminal can generate a two-dimensional code based on the above-mentioned encrypted information, which is convenient for subsequent use.

这样,上述终端通过对上述第一终端标识进行加密,避免信息被篡改,保证信息安全。上述终端发送第一宽带接入请求至上述服务器,该第一宽带接入请求携带加密后的第一终端标识。服务器在接到该请求后,对上述加密后的第一终端标识进行解密,获得上述终端的第一位置信息,从而,发送上述第一连接指令至上述第一宽带互联网网关。In this way, the above-mentioned terminal encrypts the above-mentioned first terminal identifier to prevent information from being tampered with and ensure information security. The terminal sends a first broadband access request to the server, where the first broadband access request carries the encrypted first terminal identifier. After receiving the request, the server decrypts the encrypted first terminal identifier, obtains the first location information of the terminal, and sends the first connection instruction to the first broadband Internet gateway.

另外,上述第一宽带请求中还可以携带用户标识,该用户标识可以为用户电话号码和/或身份证号码。上述终端发送第一宽带接入请求至上述服务器,该第一宽带接入请求携带上述第一终端标识和上述用户标识。为了保证信息安全,上述终端同样可以在发送第一宽带接入请求至上述服务器之前,对上述第一终端标识和上述用户标识进行加密,上述第一宽带接入请求携带加密后的第一终端标识和用户标识。上述服务器在接到上述请求后,对上述加密后的第一终端标识和用户标识进行解密,获得上述终端的第一位置信息和用户标识,进而,可以把上述终端的第一位置信息和用户标识进行绑定,记录在表格中,以便后续方便查找相关信息。In addition, the above-mentioned first broadband request may also carry a user identifier, and the user identifier may be the user's phone number and/or ID number. The terminal sends a first broadband access request to the server, where the first broadband access request carries the first terminal identifier and the user identifier. In order to ensure information security, the above-mentioned terminal may also encrypt the above-mentioned first terminal identifier and the above-mentioned user identifier before sending the first broadband access request to the above-mentioned server, and the above-mentioned first broadband access request carries the encrypted first terminal identifier. and user ID. After receiving the above-mentioned request, the above-mentioned server decrypts the above-mentioned encrypted first terminal identification and user identification, obtains the first position information and user identification of the above-mentioned terminal, and then, can convert the first position information and user identification of the above-mentioned terminal. Bind them and record them in a table, so that you can easily find relevant information later.

在一种可能的实现方式中,上述服务器可以通过软件定义网络(softwaredefined network,sdn)的方式,发送第一连接指令至第一宽带互联网网关,该第一连接指令携带上述终端的第一位置信息。即上述服务器可以通过sdn方式发起第一宽带互联网网关到终端的虚拟专用网络(Virtual Private Network,VPN)连接。第一宽带互联网网关在收到上述指令后,可以回应信息给上述服务器,并记录相应信息到网关,例如记录上述终端的第一位置信息,同时发送第一宽带网络连接建立请求至上述终端。In a possible implementation manner, the above-mentioned server may send a first connection instruction to the first broadband Internet gateway by means of a software defined network (sdn), where the first connection instruction carries the first location information of the above-mentioned terminal . That is, the above server may initiate a virtual private network (Virtual Private Network, VPN) connection from the first broadband Internet gateway to the terminal through the sdn method. After receiving the above-mentioned instruction, the first broadband Internet gateway can respond to the above-mentioned server and record corresponding information to the gateway, for example, record the first location information of the above-mentioned terminal, and send a first broadband network connection establishment request to the above-mentioned terminal at the same time.

S202:接收上述第一宽带互联网网关发送的上述第一宽带网络连接建立请求。S202: Receive the first broadband network connection establishment request sent by the first broadband Internet gateway.

S203:根据上述第一宽带网络连接建立请求,与上述第一宽带互联网网关建立连接。S203: Establish a connection with the first broadband Internet gateway according to the first broadband network connection establishment request.

这里,上述终端在接到上述第一宽带互联网网关发送的上述第一宽带网络连接建立请求后,基于该请求与上述第一宽带互联网网关建立连接。上述第一宽带互联网网关在与上述终端建立连接后,可以把终端信息、互联网路由信息等记录到网络运营商线路上,方便后续查看信息。Here, after receiving the first broadband network connection establishment request sent by the first broadband Internet gateway, the terminal establishes a connection with the first broadband Internet gateway based on the request. After the above-mentioned first broadband Internet gateway establishes a connection with the above-mentioned terminal, it can record terminal information, Internet routing information, etc. on the network operator line, so as to facilitate subsequent viewing of the information.

如果用户搬家,上述终端可以发送第二宽带接入请求至上述服务器,该第二宽带接入请求携带第二终端标识,该第二终端标识包括上述终端的第二位置信息,该第二宽带接入请求用于指示上述服务器发送断开指令至上述第一宽带互联网网关,该断开指令携带所述终端的第一位置信息,该断开指令用于指示上述第一宽带互联网网关根据上述终端的第一位置信息,断开与上述终端的连接,并反馈断开信息至上述服务器,上述断开信息用于指示上述服务器发送第二连接指令至第二宽带互联网网关,该第二连接指令携带上述终端的第二位置信息,该第二连接指令用于指示上述第二宽带互联网网关根据上述终端的第二位置信息,发送第二宽带网络连接建立请求至上述终端。进而,上述终端接收上述第二宽带互联网网关发送的上述第二宽带网络连接建立请求,根据该第二宽带网络连接建立请求,与上述第二宽带互联网网关建立连接。If the user moves, the terminal may send a second broadband access request to the server, where the second broadband access request carries a second terminal identifier, the second terminal identifier includes the second location information of the terminal, and the second broadband access request carries a second terminal identifier. The incoming request is used to instruct the server to send a disconnection instruction to the first broadband Internet gateway, where the disconnection instruction carries the first location information of the terminal, and the disconnection instruction is used to instruct the first broadband Internet gateway according to the terminal's The first location information, disconnect the connection with the above-mentioned terminal, and feed back the disconnection information to the above-mentioned server, the above-mentioned disconnection information is used to instruct the above-mentioned server to send a second connection instruction to the second broadband Internet gateway, and the second connection instruction carries the above-mentioned Second location information of the terminal, where the second connection instruction is used to instruct the second broadband Internet gateway to send a second broadband network connection establishment request to the terminal according to the second location information of the terminal. Further, the terminal receives the second broadband network connection establishment request sent by the second broadband Internet gateway, and establishes a connection with the second broadband Internet gateway according to the second broadband network connection establishment request.

这样,如果用户搬家,用户可以通过终端再次发送宽带接入请求至服务器。服务器基于该宽带接入请求给之前的第一宽带互联网网关发送拆链通知。前网关响应后,服务器可以控制上述第二宽带互联网网关与上述终端建立宽带连接,实现终端的宽带接入,用户开始在新的住宅内享受上网服务,无需人工到位抵达客户位置进行部线或者接续,省时省力。In this way, if the user moves, the user can send the broadband access request to the server again through the terminal. The server sends a disconnection notification to the previous first broadband Internet gateway based on the broadband access request. After the front gateway responds, the server can control the second broadband Internet gateway to establish a broadband connection with the terminal, so as to realize the broadband access of the terminal, and the user starts to enjoy the Internet service in the new residence, without the need to manually arrive at the customer's location to perform line or connection. ,save time and energy.

在一种可能的实现方式中,上述终端在根据上述第一宽带网络连接建立请求,与上述第一宽带互联网网关建立连接以后,如果还有宽带接入需求,还可以采用上述步骤201-203的方式新建一条连接,不用拆除之前的连接,具体过程参照上述,在此不再赘述。In a possible implementation manner, after the above-mentioned terminal establishes a connection with the above-mentioned first broadband Internet gateway according to the above-mentioned first broadband network connection establishment request, if there is still a demand for broadband access, the above-mentioned steps 201-203 can also be used. The method creates a new connection without removing the previous connection. For the specific process, refer to the above, and will not be repeated here.

另外,上述终端中安装的有宽带接入功能APP,可以是不同的服务器对应不同的APP。当用户在新住宅选择新的网络运营商时,即选择新的服务器时,用户只需安装新的APP采用上述步骤201-203的方式接入宽带,具体过程参照上述,在此不再赘述。In addition, a broadband access function APP is installed in the above-mentioned terminal, and different servers may correspond to different APPs. When the user selects a new network operator in the new residence, that is, when selecting a new server, the user only needs to install a new APP to access the broadband in the manner of steps 201-203 above.

本申请实施例,通过终端发送宽带接入请求至服务器,该宽带接入请求携带终端的位置信息,以使服务器基于该位置信息发送连接指令至宽带互联网网关,该连接指令携带终端的位置信息,这样,宽带互联网网关可以根据终端的位置信息,发送宽带网络连接建立请求至终端,从而,实现终端的宽带接入,解决现有宽带接入影响楼宇的线路美观、安全的问题。而且,采用本申请实施例进行宽带接入,在用户开通宽带业务后,无需人工到位抵达客户位置进行部线或者接续,省时省力,并且稳定性较好,适合应用。In this embodiment of the present application, the terminal sends a broadband access request to the server, where the broadband access request carries the location information of the terminal, so that the server sends a connection instruction to the broadband Internet gateway based on the location information, and the connection instruction carries the location information of the terminal, In this way, the broadband Internet gateway can send a broadband network connection establishment request to the terminal according to the location information of the terminal, thereby realizing the broadband access of the terminal and solving the problem that the existing broadband access affects the appearance and safety of the building lines. Moreover, using the embodiment of the present application for broadband access, after the user activates the broadband service, there is no need to manually arrive at the customer's location to perform branch lines or connection, which saves time and effort, and has good stability, which is suitable for application.

以上实施例从终端侧详细描述了根据本申请实施例的宽带接入方法,下面将结合以下实施例从服务器侧详细描述根据本申请实施例提供的宽带接入方法。应理解,服务器侧描述的某些概念、特性等与终端端侧的描述相应,为了简洁,适当省略重复的描述。The above embodiments describe in detail the broadband access method according to the embodiments of the present application from the terminal side, and the following describes the broadband access method according to the embodiments of the present application from the server side in detail with reference to the following embodiments. It should be understood that some concepts, characteristics, etc. described on the server side correspond to those described on the terminal side, and for the sake of brevity, repeated descriptions are appropriately omitted.

图4为本申请实施例提供的另一种宽带接入方法的流程示意图,本实施例的执行主体可以为图1中的服务器,如图4所示,该方法可以包括如下步骤:FIG. 4 is a schematic flowchart of another broadband access method provided by an embodiment of the present application. The execution body of this embodiment may be the server in FIG. 1 . As shown in FIG. 4 , the method may include the following steps:

S401:接收终端发送的第一宽带接入请求,该第一宽带接入请求携带第一终端标识,该第一终端标识包括上述终端的第一位置信息。S401: Receive a first broadband access request sent by a terminal, where the first broadband access request carries a first terminal identifier, where the first terminal identifier includes the first location information of the terminal.

这里,上述第一终端标识可以为加密后的第一终端标识。Here, the above-mentioned first terminal identifier may be an encrypted first terminal identifier.

上述服务器在接收到上述终端发送的第一宽带接入请求后,对上述加密后的第一终端标识进行解密,获得上述终端的第一位置信息。After receiving the first broadband access request sent by the terminal, the server decrypts the encrypted first terminal identifier to obtain the first location information of the terminal.

S402:根据上述第一宽带接入请求,发送第一连接指令至第一宽带互联网网关,该第一连接指令携带上述终端的第一位置信息,该第一连接指令用于指示上述第一宽带互联网网关根据上述终端的第一位置信息,发送第一宽带网络连接建立请求至上述终端,该第一宽带网络连接建立请求用于指示上述终端与上述第一宽带互联网网关建立连接。S402: Send a first connection instruction to the first broadband Internet gateway according to the first broadband access request, where the first connection instruction carries the first location information of the terminal, and the first connection instruction is used to indicate the first broadband Internet gateway The gateway sends a first broadband network connection establishment request to the above-mentioned terminal according to the first location information of the above-mentioned terminal, where the first broadband network connection establishment request is used to instruct the above-mentioned terminal to establish a connection with the above-mentioned first broadband Internet gateway.

如果用户搬家,上述服务器可以接收上述终端发送的第二宽带接入请求,该第二宽带接入请求携带第二终端标识,该第二终端标识包括上述终端的第二位置信息。进而,上述服务器根据上述第二宽带接入请求,发送断开指令至上述第一宽带互联网网关,该断开指令携带上述终端的第一位置信息,该断开指令用于指示上述第一宽带互联网网关根据上述终端的第一位置信息,断开与上述终端的连接,并反馈断开信息至上述服务器。If the user moves, the server may receive a second broadband access request sent by the terminal, where the second broadband access request carries a second terminal identifier, where the second terminal identifier includes second location information of the terminal. Furthermore, the server sends a disconnection instruction to the first broadband Internet gateway according to the second broadband access request, where the disconnection instruction carries the first location information of the terminal, and the disconnection instruction is used to indicate the first broadband Internet gateway. The gateway disconnects the connection with the terminal according to the first location information of the terminal, and feeds back disconnection information to the server.

上述服务器可以根据上述断开信息,发送第二连接指令至第二宽带互联网网关,该第二连接指令携带上述终端的第二位置信息,该第二连接指令用于指示上述第二宽带互联网网关根据上述终端的第二位置信息,发送第二宽带网络连接建立请求至上述终端,该第二宽带网络连接建立请求用于指示上述终端与上述第二宽带互联网网关建立连接。The above-mentioned server can send a second connection instruction to the second broadband Internet gateway according to the above-mentioned disconnection information. The second location information of the terminal sends a second broadband network connection establishment request to the terminal, where the second broadband network connection establishment request is used to instruct the terminal to establish a connection with the second broadband Internet gateway.

本申请实施例中,服务器接收终端发送的宽带接入请求,该宽带接入请求携带终端的位置信息,进而,服务器基于该位置信息发送连接指令至宽带互联网网关,该连接指令携带终端的位置信息,这样,宽带互联网网关可以根据终端的位置信息,发送宽带网络连接建立请求至终端,从而,实现终端的宽带接入,解决现有宽带接入影响楼宇的线路美观、安全的问题。而且,采用本申请实施例进行宽带接入,在用户开通宽带业务后,无需人工到位抵达客户位置进行部线或者接续,省时省力,并且稳定性较好,适合应用。In this embodiment of the present application, the server receives a broadband access request sent by the terminal, where the broadband access request carries the location information of the terminal, and then the server sends a connection instruction to the broadband Internet gateway based on the location information, where the connection instruction carries the location information of the terminal In this way, the broadband Internet gateway can send a broadband network connection establishment request to the terminal according to the location information of the terminal, thereby realizing the broadband access of the terminal and solving the problem that the existing broadband access affects the appearance and safety of the building lines. Moreover, using the embodiment of the present application for broadband access, after the user activates the broadband service, there is no need to manually arrive at the customer's location to perform branch lines or connection, which saves time and effort, and has good stability, which is suitable for application.

另外,本申请实施例还提供再一种宽带接入方法,从终端、服务器和宽带互联网网关交互进行说明,如图5所示,该方法可以包括:In addition, the embodiment of the present application also provides yet another broadband access method, which is described from the interaction of a terminal, a server, and a broadband Internet gateway. As shown in FIG. 5 , the method may include:

S501:终端发送第一宽带接入请求至服务器,该第一宽带接入请求携带第一终端标识,该第一终端标识包括上述终端的第一位置信息。S501: The terminal sends a first broadband access request to the server, where the first broadband access request carries a first terminal identifier, where the first terminal identifier includes the first location information of the terminal.

其中,终端在发送第一宽带接入请求至服务器之前,还可以对上述第一终端标识进行加密。Wherein, before sending the first broadband access request to the server, the terminal may further encrypt the above-mentioned first terminal identifier.

S502:服务器根据上述第一宽带接入请求,发送第一连接指令至第一宽带互联网网关,该第一连接指令携带上述终端的第一位置信息。S502: The server sends a first connection instruction to the first broadband Internet gateway according to the first broadband access request, where the first connection instruction carries the first location information of the terminal.

服务器对上述加密后的第一终端标识进行解密,获得上述终端的第一位置信息,并发送上述第一连接指令至第一宽带互联网网关。The server decrypts the encrypted first terminal identifier, obtains the first location information of the terminal, and sends the first connection instruction to the first broadband Internet gateway.

S503:第一宽带互联网网关根据上述终端的第一位置信息,发送第一宽带网络连接建立请求至上述终端。S503: The first broadband Internet gateway sends a first broadband network connection establishment request to the above-mentioned terminal according to the first location information of the above-mentioned terminal.

S504:终端接收上述第一宽带互联网网关发送的上述第一宽带网络连接建立请求,并根据该第一宽带网络连接建立请求,与上述第一宽带互联网网关建立连接。S504: The terminal receives the first broadband network connection establishment request sent by the first broadband Internet gateway, and establishes a connection with the first broadband Internet gateway according to the first broadband network connection establishment request.

如果用户搬家,上述终端可以发送第二宽带接入请求至上述服务器,该第二宽带接入请求携带第二终端标识,该第二终端标识包括上述终端的第二位置信息。上述服务器基于上述请求,发送断开指令至上述第一宽带互联网网关,该断开指令携带所述终端的第一位置信息。上述第一宽带互联网网关根据上述终端的第一位置信息,断开与上述终端的连接,并反馈断开信息至上述服务器。上述服务器基于上述信息,发送第二连接指令至第二宽带互联网网关,该第二连接指令携带上述终端的第二位置信息。上述第二宽带互联网网关根据上述终端的第二位置信息,发送第二宽带网络连接建立请求至上述终端。进而,上述终端接收上述第二宽带互联网网关发送的上述第二宽带网络连接建立请求,根据该第二宽带网络连接建立请求,与上述第二宽带互联网网关建立连接。If the user moves, the terminal may send a second broadband access request to the server, where the second broadband access request carries a second terminal identifier, and the second terminal identifier includes second location information of the terminal. The server sends a disconnection instruction to the first broadband Internet gateway based on the request, where the disconnection instruction carries the first location information of the terminal. The first broadband Internet gateway disconnects the connection with the terminal according to the first location information of the terminal, and feeds back disconnection information to the server. Based on the above information, the server sends a second connection instruction to the second broadband Internet gateway, where the second connection instruction carries the second location information of the terminal. The second broadband Internet gateway sends a second broadband network connection establishment request to the terminal according to the second location information of the terminal. Further, the terminal receives the second broadband network connection establishment request sent by the second broadband Internet gateway, and establishes a connection with the second broadband Internet gateway according to the second broadband network connection establishment request.

本申请实施例中,终端发送宽带接入请求至服务器,该宽带接入请求携带终端的位置信息,这样,服务器基于该位置信息发送连接指令至宽带互联网网关,该连接指令携带终端的位置信息,宽带互联网网关根据终端的位置信息,发送宽带网络连接建立请求至终端,从而,实现终端的宽带接入,解决现有宽带接入影响楼宇的线路美观、安全的问题。而且,采用本申请实施例进行宽带接入,在用户开通宽带业务后,无需人工到位抵达客户位置进行部线或者接续,省时省力,并且稳定性较好,适合应用。In this embodiment of the present application, the terminal sends a broadband access request to the server, and the broadband access request carries the location information of the terminal. In this way, the server sends a connection instruction to the broadband Internet gateway based on the location information, and the connection instruction carries the location information of the terminal. The broadband Internet gateway sends a broadband network connection establishment request to the terminal according to the location information of the terminal, thereby realizing the broadband access of the terminal and solving the problem that the existing broadband access affects the appearance and safety of the building lines. Moreover, by using the embodiment of the present application for broadband access, after the user activates the broadband service, there is no need to manually arrive at the customer's location for branch line or connection, which saves time and effort, and has good stability, which is suitable for application.

对应于上文实施例的宽带接入方法,图6为本申请实施例提供的宽带接入装置的结构示意图。为了便于说明,仅示出了与本申请实施例相关的部分。图6为本申请实施例提供的一种宽带接入装置的结构示意图,该宽带接入装置60包括:第一发送模块601、第一接收模块602以及建立模块603。这里的宽带接入装置可以是上述终端本身,或者是实现上述终端的功能的芯片或者集成电路。这里需要说明的是,第一发送模块、第一接收模块以及建立模块的划分只是一种逻辑功能的划分,物理上两者可以是集成的,也可以是独立的。Corresponding to the broadband access method in the above embodiment, FIG. 6 is a schematic structural diagram of a broadband access apparatus provided by an embodiment of the present application. For the convenience of description, only the parts related to the embodiments of the present application are shown. FIG. 6 is a schematic structural diagram of a broadband access device according to an embodiment of the present application. The broadband access device 60 includes: a first sending module 601 , a first receiving module 602 , and a establishing module 603 . The broadband access device here may be the above-mentioned terminal itself, or a chip or an integrated circuit that implements the functions of the above-mentioned terminal. It should be noted here that the division of the first sending module, the first receiving module and the establishing module is only a division of logical functions, and the two may be physically integrated or independent.

其中,第一发送模块601,用于发送第一宽带接入请求至服务器,所述第一宽带接入请求携带第一终端标识,所述第一终端标识包括所述终端的第一位置信息,所述第一宽带接入请求用于指示所述服务器发送第一连接指令至第一宽带互联网网关,所述第一连接指令携带所述终端的第一位置信息,所述第一连接指令用于指示所述第一宽带互联网网关根据所述终端的第一位置信息,发送第一宽带网络连接建立请求至所述终端。The first sending module 601 is configured to send a first broadband access request to a server, where the first broadband access request carries a first terminal identifier, and the first terminal identifier includes the first location information of the terminal, The first broadband access request is used to instruct the server to send a first connection instruction to the first broadband Internet gateway, where the first connection instruction carries the first location information of the terminal, and the first connection instruction is used for Instructing the first broadband Internet gateway to send a first broadband network connection establishment request to the terminal according to the first location information of the terminal.

第一接收模块602,用于接收所述第一宽带互联网网关发送的所述第一宽带网络连接建立请求。The first receiving module 602 is configured to receive the first broadband network connection establishment request sent by the first broadband Internet gateway.

建立模块603,用于根据所述第一宽带网络连接建立请求,与所述第一宽带互联网网关建立连接。The establishment module 603 is configured to establish a connection with the first broadband Internet gateway according to the first broadband network connection establishment request.

在一种可能的实现方式中,所述第一发送模块601,具体用于:In a possible implementation manner, the first sending module 601 is specifically configured to:

对所述第一终端标识进行加密;encrypting the first terminal identifier;

发送所述第一宽带接入请求至所述服务器,所述第一宽带接入请求携带加密后的第一终端标识,所述第一宽带接入请求用于指示所述服务器对所述加密后的第一终端标识进行解密,获得所述终端的第一位置信息,并发送所述第一连接指令至所述第一宽带互联网网关。Sending the first broadband access request to the server, where the first broadband access request carries the encrypted first terminal identifier, and the first broadband access request is used to instruct the server to The first terminal identifier of the terminal is decrypted, the first location information of the terminal is obtained, and the first connection instruction is sent to the first broadband Internet gateway.

在一种可能的实现方式中,所述第一发送模块601,还用于发送第二宽带接入请求至所述服务器,所述第二宽带接入请求携带第二终端标识,所述第二终端标识包括所述终端的第二位置信息,所述第二宽带接入请求用于指示所述服务器发送断开指令至所述第一宽带互联网网关,所述断开指令携带所述终端的第一位置信息,所述断开指令用于指示所述第一宽带互联网网关根据所述终端的第一位置信息,断开与所述终端的连接,并反馈断开信息至所述服务器,所述断开信息用于指示所述服务器发送第二连接指令至第二宽带互联网网关,所述第二连接指令携带所述终端的第二位置信息,所述第二连接指令用于指示所述第二宽带互联网网关根据所述终端的第二位置信息,发送第二宽带网络连接建立请求至所述终端;In a possible implementation manner, the first sending module 601 is further configured to send a second broadband access request to the server, where the second broadband access request carries a second terminal identifier, the second broadband access request The terminal identifier includes the second location information of the terminal, and the second broadband access request is used to instruct the server to send a disconnection instruction to the first broadband Internet gateway, where the disconnection instruction carries the first location information of the terminal. location information, the disconnection instruction is used to instruct the first broadband Internet gateway to disconnect from the terminal according to the first location information of the terminal, and feed back disconnection information to the server, and the The disconnection information is used to instruct the server to send a second connection instruction to the second broadband Internet gateway, the second connection instruction carries the second location information of the terminal, and the second connection instruction is used to instruct the second connection instruction The broadband Internet gateway sends a second broadband network connection establishment request to the terminal according to the second location information of the terminal;

所述第一接收模块602,还用于接收所述第二宽带互联网网关发送的所述第二宽带网络连接建立请求;The first receiving module 602 is further configured to receive the second broadband network connection establishment request sent by the second broadband Internet gateway;

所述建立模块603,还用于根据所述第二宽带网络连接建立请求,与所述第二宽带互联网网关建立连接。The establishing module 603 is further configured to establish a connection with the second broadband Internet gateway according to the second broadband network connection establishment request.

本申请实施例提供的装置,可用于执行上述图2所述方法实施例的技术方案,其实现原理和技术效果类似,本申请实施例此处不再赘述。The apparatus provided in the embodiment of the present application can be used to implement the technical solution of the method embodiment shown in FIG. 2 above, and the implementation principle and technical effect thereof are similar, and details are not described herein again in the embodiment of the present application.

图7为本申请实施例提供的另一种宽带接入装置的结构示意图。该宽带接入装置70包括:第二接收模块701以及第二发送模块702。这里的宽带接入装置可以是上述服务器本身,或者是实现上述服务器的功能的芯片或者集成电路。这里需要说明的是,第二接收模块以及第二发送模块的划分只是一种逻辑功能的划分,物理上两者可以是集成的,也可以是独立的。FIG. 7 is a schematic structural diagram of another broadband access apparatus according to an embodiment of the present application. The broadband access device 70 includes: a second receiving module 701 and a second sending module 702 . The broadband access device here may be the above-mentioned server itself, or a chip or an integrated circuit that implements the functions of the above-mentioned server. It should be noted here that the division of the second receiving module and the second sending module is only a division of logical functions, and the two may be physically integrated or independent.

其中,第二接收模块701,用于接收终端发送的第一宽带接入请求,所述第一宽带接入请求携带第一终端标识,所述第一终端标识包括所述终端的第一位置信息。The second receiving module 701 is configured to receive a first broadband access request sent by a terminal, where the first broadband access request carries a first terminal identifier, and the first terminal identifier includes first location information of the terminal .

第二发送模块702,用于根据所述第一宽带接入请求,发送第一连接指令至第一宽带互联网网关,所述第一连接指令携带所述终端的第一位置信息,所述第一连接指令用于指示所述第一宽带互联网网关根据所述终端的第一位置信息,发送第一宽带网络连接建立请求至所述终端,所述第一宽带网络连接建立请求用于指示所述终端与所述第一宽带互联网网关建立连接。The second sending module 702 is configured to send a first connection instruction to the first broadband Internet gateway according to the first broadband access request, where the first connection instruction carries the first location information of the terminal, and the first connection instruction carries the first location information of the terminal. The connection instruction is used to instruct the first broadband Internet gateway to send a first broadband network connection establishment request to the terminal according to the first location information of the terminal, and the first broadband network connection establishment request is used to instruct the terminal A connection is established with the first broadband Internet gateway.

在一种可能的实现方式中,所述第一终端标识为加密后的第一终端标识;In a possible implementation manner, the first terminal identifier is an encrypted first terminal identifier;

所述第二发送模块702,还用于:The second sending module 702 is further configured to:

对所述加密后的第一终端标识进行解密,获得所述终端的第一位置信息。Decrypt the encrypted first terminal identifier to obtain the first location information of the terminal.

在一种可能的实现方式中,所述第二接收模块701,还用于接收所述终端发送的第二宽带接入请求,所述第二宽带接入请求携带第二终端标识,所述第二终端标识包括所述终端的第二位置信息;In a possible implementation manner, the second receiving module 701 is further configured to receive a second broadband access request sent by the terminal, where the second broadband access request carries a second terminal identifier, and the first broadband access request Two terminal identifiers include second location information of the terminal;

所述第二发送模块702,还用于根据所述第二宽带接入请求,发送断开指令至所述第一宽带互联网网关,所述断开指令携带所述终端的第一位置信息,所述断开指令用于指示所述第一宽带互联网网关根据所述终端的第一位置信息,断开与所述终端的连接,并反馈断开信息至所述服务器;The second sending module 702 is further configured to send a disconnection instruction to the first broadband Internet gateway according to the second broadband access request, where the disconnection instruction carries the first location information of the terminal, so The disconnection instruction is used to instruct the first broadband Internet gateway to disconnect from the terminal according to the first location information of the terminal, and feed back disconnection information to the server;

所述第二发送模块702,还用于根据所述断开信息,发送第二连接指令至第二宽带互联网网关,所述第二连接指令携带所述终端的第二位置信息,所述第二连接指令用于指示所述第二宽带互联网网关根据所述终端的第二位置信息,发送第二宽带网络连接建立请求至所述终端,所述第二宽带网络连接建立请求用于指示所述终端与所述第二宽带互联网网关建立连接。The second sending module 702 is further configured to send a second connection instruction to the second broadband Internet gateway according to the disconnection information, where the second connection instruction carries the second location information of the terminal, and the second connection instruction carries the second location information of the terminal. The connection instruction is used to instruct the second broadband Internet gateway to send a second broadband network connection establishment request to the terminal according to the second location information of the terminal, and the second broadband network connection establishment request is used to instruct the terminal A connection is established with the second broadband internet gateway.

本申请实施例提供的装置,可用于执行上述图4所述方法实施例的技术方案,其实现原理和技术效果类似,本申请实施例此处不再赘述。The apparatus provided in the embodiment of the present application can be used to implement the technical solution of the method embodiment shown in FIG. 4 above, and the implementation principle and technical effect thereof are similar, and details are not described herein again in the embodiment of the present application.

可选地,图8A和8B分别示意性地提供本申请所述终端和服务器的一种可能的基本硬件架构。Optionally, FIGS. 8A and 8B respectively schematically provide a possible basic hardware architecture of the terminal and server described in this application.

参见图8A和8B,终端和服务器包括至少一个处理器801以及通信接口803。进一步可选的,还可以包括存储器802和总线804。Referring to FIGS. 8A and 8B , the terminal and the server include at least one processor 801 and a communication interface 803 . Further optionally, a memory 802 and a bus 804 may also be included.

其中,终端和服务器中,处理器801的数量可以是一个或多个,图8A和8B仅示意了其中一个处理器801。可选地,处理器801,可以是CPU、图形处理器(Graphics ProcessingUnit,GPU)或者数字信号处理(Digital Signal Process,DSP)。如果终端和服务器具有多个处理器801,多个处理器801的类型可以不同,或者可以相同。可选地,终端和服务器的多个处理器801还可以集成为多核处理器。Wherein, in the terminal and the server, the number of processors 801 may be one or more, and FIGS. 8A and 8B only illustrate one of the processors 801 . Optionally, the processor 801 may be a CPU, a graphics processing unit (Graphics Processing Unit, GPU) or a digital signal processing (Digital Signal Process, DSP). If the terminal and the server have multiple processors 801, the types of the multiple processors 801 may be different, or may be the same. Optionally, the multiple processors 801 of the terminal and the server may also be integrated into a multi-core processor.

存储器802存储计算机指令和数据;存储器802可以存储实现本申请提供的上述宽带接入方法所需的计算机指令和数据,例如,存储器802存储用于实现上述宽带接入方法的步骤的指令。存储器802可以是以下存储介质的任一种或任一种组合:非易失性存储器(例如只读存储器(Read-Only Memory,ROM)、固态驱动器(Solid State Disk或Solid StateDrive,SSD)、硬盘驱动器(Hard Disk Drive,HDD)、光盘),易失性存储器。The memory 802 stores computer instructions and data; the memory 802 may store computer instructions and data required for implementing the above broadband access method provided by the present application, for example, the memory 802 stores instructions for implementing the steps of the above broadband access method. The memory 802 may be any one or any combination of the following storage media: non-volatile memory (eg, read-only memory (ROM), solid state drive (Solid State Disk or Solid State Drive, SSD), hard disk Drive (Hard Disk Drive, HDD), optical disc), volatile memory.

通信接口803可以为所述至少一个处理器提供信息输入/输出。也可以包括以下器件的任一种或任一种组合:网络接口(例如以太网接口)、无线网卡等具有网络接入功能的器件。Communication interface 803 may provide information input/output for the at least one processor. It may also include any one or any combination of the following devices: a network interface (eg, an Ethernet interface), a wireless network card, and other devices with network access functions.

可选的,通信接口803还可以用于终端和服务器与其它计算设备或者终端进行数据通信。Optionally, the communication interface 803 may also be used for the terminal and the server to perform data communication with other computing devices or terminals.

进一步可选的,图8A和8B用一条粗线表示总线804。总线804可以将处理器801与存储器802和通信接口803连接。这样,通过总线804,处理器801可以访问存储器802,还可以利用通信接口803与其它计算设备或者终端进行数据交互。Further optionally, the bus 804 is represented by a thick line in FIGS. 8A and 8B. A bus 804 may connect the processor 801 with the memory 802 and the communication interface 803 . In this way, through the bus 804, the processor 801 can access the memory 802, and can also use the communication interface 803 to perform data interaction with other computing devices or terminals.

在本申请中,终端和服务器执行存储器802中的计算机指令,使得终端和服务器实现本申请提供的上述宽带接入方法,或者使得终端和服务器部署上述的宽带接入装置。In the present application, the terminal and the server execute the computer instructions in the memory 802, so that the terminal and the server implement the above-mentioned broadband access method provided in the present application, or cause the terminal and the server to deploy the above-mentioned broadband access device.

从逻辑功能划分来看,示例性的,如图8A所示,存储器802中可以包括第一发送模块601、第一接收模块602以及建立模块603。这里的包括仅仅涉及存储器中所存储的指令被执行时可以分别实现第一发送模块、第一接收模块以及建立模块的功能,而不限定是物理上的结构。From the perspective of logical function division, exemplarily, as shown in FIG. 8A , the memory 802 may include a first sending module 601 , a first receiving module 602 and a establishing module 603 . The inclusion here only involves that the functions of the first sending module, the first receiving module, and the establishing module can be respectively implemented when the instructions stored in the memory are executed, and are not limited to physical structures.

示例性的,如图8B所示,存储器802中可以包括第二接收模块701以及第二发送模块702。这里的包括仅仅涉及存储器中所存储的指令被执行时还可以分别实现第二接收模块以及第二发送模块的功能,而不限定是物理上的结构。Exemplarily, as shown in FIG. 8B , the memory 802 may include a second receiving module 701 and a second sending module 702 . The inclusion here only involves that the functions of the second receiving module and the second sending module can be implemented respectively when the instructions stored in the memory are executed, and are not limited to physical structures.

另外,上述的终端和服务器除了可以像上述图8A和图8B通过软件实现外,也可以作为硬件模块,或者作为电路单元,通过硬件实现。In addition, the above-mentioned terminal and server can be implemented as a hardware module, or as a circuit unit, in addition to being implemented by software as in the above-mentioned FIG. 8A and FIG. 8B .

本申请提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序使得服务器执行本申请提供的上述宽带接入方法。The present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program enables a server to execute the foregoing broadband access method provided by the present application.

本申请提供一种计算机程序产品,包括计算机指令,所述计算机指令被处理器执行本申请提供的上述宽带接入方法。The present application provides a computer program product, including computer instructions, and the computer instructions are executed by a processor to execute the above broadband access method provided by the present application.

本申请提供一种芯片,包括至少一个处理器和通信接口,所述通信接口为所述至少一个处理器提供信息输入和/或输出。进一步,所述芯片还可以包含至少一个存储器,所述存储器用于存储计算机指令。所述至少一个处理器用于调用并运行该计算机指令,以执行本申请提供的上述宽带接入方法。The present application provides a chip comprising at least one processor and a communication interface, wherein the communication interface provides information input and/or output for the at least one processor. Further, the chip may also include at least one memory for storing computer instructions. The at least one processor is configured to invoke and execute the computer instructions to execute the above broadband access method provided by the present application.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.

Claims (8)

1.一种宽带接入方法,其特征在于,所述方法应用于终端,所述方法包括:1. A broadband access method, wherein the method is applied to a terminal, and the method comprises: 发送第一宽带接入请求至服务器,所述第一宽带接入请求携带第一终端标识,所述第一终端标识包括所述终端的第一位置信息,所述第一宽带接入请求用于指示所述服务器发送第一连接指令至第一宽带互联网网关,所述第一连接指令携带所述终端的第一位置信息,所述第一连接指令用于指示所述第一宽带互联网网关根据所述终端的第一位置信息,发送第一宽带网络连接建立请求至所述终端;Send a first broadband access request to the server, where the first broadband access request carries a first terminal identifier, the first terminal identifier includes the first location information of the terminal, and the first broadband access request is used for Instruct the server to send a first connection instruction to the first broadband Internet gateway, where the first connection instruction carries the first location information of the terminal, and the first connection instruction is used to instruct the first broadband Internet gateway to the first location information of the terminal, and send a first broadband network connection establishment request to the terminal; 接收所述第一宽带互联网网关发送的所述第一宽带网络连接建立请求;receiving the first broadband network connection establishment request sent by the first broadband Internet gateway; 根据所述第一宽带网络连接建立请求,与所述第一宽带互联网网关建立连接;establishing a connection with the first broadband Internet gateway according to the first broadband network connection establishment request; 发送第二宽带接入请求至所述服务器,所述第二宽带接入请求携带第二终端标识,所述第二终端标识包括所述终端的第二位置信息,所述第二宽带接入请求用于指示所述服务器发送断开指令至所述第一宽带互联网网关,所述断开指令携带所述终端的第一位置信息,所述断开指令用于指示所述第一宽带互联网网关根据所述终端的第一位置信息,断开与所述终端的连接,并反馈断开信息至所述服务器,所述断开信息用于指示所述服务器发送第二连接指令至第二宽带互联网网关,所述第二连接指令携带所述终端的第二位置信息,所述第二连接指令用于指示所述第二宽带互联网网关根据所述终端的第二位置信息,发送第二宽带网络连接建立请求至所述终端;Sending a second broadband access request to the server, where the second broadband access request carries a second terminal identifier, the second terminal identifier includes second location information of the terminal, and the second broadband access request It is used to instruct the server to send a disconnection instruction to the first broadband Internet gateway, where the disconnection instruction carries the first location information of the terminal, and the disconnection instruction is used to instruct the first broadband Internet gateway according to the The first location information of the terminal, disconnect the connection with the terminal, and feed back disconnection information to the server, where the disconnection information is used to instruct the server to send a second connection instruction to the second broadband Internet gateway , the second connection instruction carries the second location information of the terminal, and the second connection instruction is used to instruct the second broadband Internet gateway to send the second broadband network connection establishment according to the second location information of the terminal request to the terminal; 接收所述第二宽带互联网网关发送的所述第二宽带网络连接建立请求;receiving the second broadband network connection establishment request sent by the second broadband Internet gateway; 根据所述第二宽带网络连接建立请求,与所述第二宽带互联网网关建立连接。Establish a connection with the second broadband Internet gateway according to the second broadband network connection establishment request. 2.根据权利要求1所述的方法,其特征在于,在所述发送第一宽带接入请求至服务器之前,还包括:2. The method according to claim 1, wherein before the sending the first broadband access request to the server, the method further comprises: 对所述第一终端标识进行加密;encrypting the first terminal identifier; 所述发送第一宽带接入请求至服务器,包括:The sending the first broadband access request to the server includes: 发送所述第一宽带接入请求至所述服务器,所述第一宽带接入请求携带加密后的第一终端标识,所述第一宽带接入请求用于指示所述服务器对所述加密后的第一终端标识进行解密,获得所述终端的第一位置信息,并发送所述第一连接指令至所述第一宽带互联网网关。Sending the first broadband access request to the server, where the first broadband access request carries the encrypted first terminal identifier, and the first broadband access request is used to instruct the server to The first terminal identifier of the terminal is decrypted, the first location information of the terminal is obtained, and the first connection instruction is sent to the first broadband Internet gateway. 3.一种宽带接入方法,其特征在于,所述方法应用于服务器,所述方法包括:3. A broadband access method, wherein the method is applied to a server, and the method comprises: 接收终端发送的第一宽带接入请求,所述第一宽带接入请求携带第一终端标识,所述第一终端标识包括所述终端的第一位置信息;receiving a first broadband access request sent by a terminal, where the first broadband access request carries a first terminal identifier, and the first terminal identifier includes first location information of the terminal; 根据所述第一宽带接入请求,发送第一连接指令至第一宽带互联网网关,所述第一连接指令携带所述终端的第一位置信息,所述第一连接指令用于指示所述第一宽带互联网网关根据所述终端的第一位置信息,发送第一宽带网络连接建立请求至所述终端,所述第一宽带网络连接建立请求用于指示所述终端与所述第一宽带互联网网关建立连接;According to the first broadband access request, a first connection instruction is sent to the first broadband Internet gateway, where the first connection instruction carries the first location information of the terminal, and the first connection instruction is used to indicate the first connection instruction. A broadband Internet gateway sends a first broadband network connection establishment request to the terminal according to the first location information of the terminal, where the first broadband network connection establishment request is used to instruct the terminal to communicate with the first broadband Internet gateway establish connection; 接收所述终端发送的第二宽带接入请求,所述第二宽带接入请求携带第二终端标识,所述第二终端标识包括所述终端的第二位置信息;receiving a second broadband access request sent by the terminal, where the second broadband access request carries a second terminal identifier, and the second terminal identifier includes second location information of the terminal; 根据所述第二宽带接入请求,发送断开指令至所述第一宽带互联网网关,所述断开指令携带所述终端的第一位置信息,所述断开指令用于指示所述第一宽带互联网网关根据所述终端的第一位置信息,断开与所述终端的连接,并反馈断开信息至所述服务器;According to the second broadband access request, a disconnection instruction is sent to the first broadband Internet gateway, where the disconnection instruction carries the first location information of the terminal, and the disconnection instruction is used to indicate the first location information of the terminal. The broadband Internet gateway disconnects the connection with the terminal according to the first location information of the terminal, and feeds back the disconnection information to the server; 根据所述断开信息,发送第二连接指令至第二宽带互联网网关,所述第二连接指令携带所述终端的第二位置信息,所述第二连接指令用于指示所述第二宽带互联网网关根据所述终端的第二位置信息,发送第二宽带网络连接建立请求至所述终端,所述第二宽带网络连接建立请求用于指示所述终端与所述第二宽带互联网网关建立连接。According to the disconnection information, a second connection instruction is sent to the second broadband Internet gateway, the second connection instruction carries the second location information of the terminal, and the second connection instruction is used to indicate the second broadband Internet gateway The gateway sends a second broadband network connection establishment request to the terminal according to the second location information of the terminal, where the second broadband network connection establishment request is used to instruct the terminal to establish a connection with the second broadband Internet gateway. 4.根据权利要求3所述的方法,其特征在于,所述第一终端标识为加密后的第一终端标识;4. The method according to claim 3, wherein the first terminal identifier is an encrypted first terminal identifier; 在所述根据所述第一宽带接入请求,发送第一连接指令至第一宽带互联网网关之前,还包括:Before the sending the first connection instruction to the first broadband Internet gateway according to the first broadband access request, the method further includes: 对所述加密后的第一终端标识进行解密,获得所述终端的第一位置信息。Decrypt the encrypted first terminal identifier to obtain the first location information of the terminal. 5.一种宽带接入系统,其特征在于,包括:5. A broadband access system, comprising: 终端,用于发送第一宽带接入请求至服务器,所述第一宽带接入请求携带第一终端标识,所述第一终端标识包括所述终端的第一位置信息;a terminal, configured to send a first broadband access request to the server, where the first broadband access request carries a first terminal identifier, and the first terminal identifier includes the first location information of the terminal; 所述服务器,用于根据所述第一宽带接入请求,发送第一连接指令至第一宽带互联网网关,所述第一连接指令携带所述终端的第一位置信息;the server, configured to send a first connection instruction to the first broadband Internet gateway according to the first broadband access request, where the first connection instruction carries the first location information of the terminal; 所述第一宽带互联网网关,用于根据所述终端的第一位置信息,发送第一宽带网络连接建立请求至所述终端;the first broadband Internet gateway, configured to send a first broadband network connection establishment request to the terminal according to the first location information of the terminal; 所述终端,还用于接收所述第一宽带互联网网关发送的所述第一宽带网络连接建立请求,并根据所述第一宽带网络连接建立请求,与所述第一宽带互联网网关建立连接;The terminal is further configured to receive the first broadband network connection establishment request sent by the first broadband Internet gateway, and establish a connection with the first broadband Internet gateway according to the first broadband network connection establishment request; 所述终端还用于发送第二宽带接入请求至所述服务器,所述第二宽带接入请求携带第二终端标识,所述第二终端标识包括所述终端的第二位置信息;The terminal is further configured to send a second broadband access request to the server, where the second broadband access request carries a second terminal identifier, and the second terminal identifier includes the second location information of the terminal; 所述服务器,还用于根据所述第二宽带接入请求,发送断开指令至所述第一宽带互联网网关,所述断开指令携带所述终端的第一位置信息;The server is further configured to send a disconnection instruction to the first broadband Internet gateway according to the second broadband access request, where the disconnection instruction carries the first location information of the terminal; 所述第一宽带互联网网关,还用于根据所述终端的第一位置信息,断开与所述终端的连接,并反馈断开信息至所述服务器;The first broadband Internet gateway is further configured to disconnect from the terminal according to the first location information of the terminal, and feed back the disconnection information to the server; 所述服务器,还用于根据所述断开信息,发送第二连接指令至第二宽带互联网网关,所述第二连接指令携带所述终端的第二位置信息;The server is further configured to send a second connection instruction to the second broadband Internet gateway according to the disconnection information, where the second connection instruction carries the second location information of the terminal; 所述第二宽带互联网网关,用于根据所述终端的第二位置信息,发送第二宽带网络连接建立请求至所述终端;the second broadband Internet gateway, configured to send a second broadband network connection establishment request to the terminal according to the second location information of the terminal; 所述终端,还用于接收所述第二宽带互联网网关发送的所述第二宽带网络连接建立请求;并根据所述第二宽带网络连接建立请求,与所述第二宽带互联网网关建立连接。The terminal is further configured to receive the second broadband network connection establishment request sent by the second broadband Internet gateway; and establish a connection with the second broadband Internet gateway according to the second broadband network connection establishment request. 6.一种终端,其特征在于,包括:6. A terminal, characterized in that, comprising: 处理器;processor; 存储器;以及memory; and 计算机程序;Computer program; 其中,所述计算机程序被存储在所述存储器中,并且被配置为由所述处理器执行,所述计算机程序包括用于执行如权利要求1-2任一项所述的方法的指令。wherein the computer program is stored in the memory and configured to be executed by the processor, the computer program comprising instructions for performing the method of any of claims 1-2. 7.一种服务器,其特征在于,包括:7. A server, characterized in that, comprising: 处理器;processor; 存储器;以及memory; and 计算机程序;Computer program; 其中,所述计算机程序被存储在所述存储器中,并且被配置为由所述处理器执行,所述计算机程序包括用于执行如权利要求3-4任一项所述的方法的指令。wherein the computer program is stored in the memory and configured to be executed by the processor, the computer program comprising instructions for performing the method of any of claims 3-4. 8.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序使得终端执行权利要求1-2任一项所述的方法;或者所述计算机程序使得服务器执行权利要求3-4任一项所述的方法。8. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program causes a terminal to execute the method of any one of claims 1-2; or the computer The program causes the server to perform the method of any one of claims 3-4.
CN202110308261.XA 2021-03-23 2021-03-23 Broadband access method, system, terminal and storage medium Active CN113067758B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110308261.XA CN113067758B (en) 2021-03-23 2021-03-23 Broadband access method, system, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110308261.XA CN113067758B (en) 2021-03-23 2021-03-23 Broadband access method, system, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN113067758A CN113067758A (en) 2021-07-02
CN113067758B true CN113067758B (en) 2022-09-27

Family

ID=76563432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110308261.XA Active CN113067758B (en) 2021-03-23 2021-03-23 Broadband access method, system, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113067758B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101765232A (en) * 2008-12-25 2010-06-30 中兴通讯股份有限公司 DSL (Digital Subscriber Line) network access method and system as well as broadband remote access server
US20180270696A1 (en) * 2015-08-20 2018-09-20 Huawei Technologies Co., Ltd. Wireless Communications Access Method, Communications Apparatus, Wireless Terminal, and System
CN111130960A (en) * 2019-12-25 2020-05-08 中国联合网络通信集团有限公司 Broadband dialing processing method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8321904B2 (en) * 2008-11-05 2012-11-27 At&T Intellectual Property I, L.P. System and method to enable access to broadband services
CN112422518B (en) * 2020-10-27 2023-05-23 腾讯科技(深圳)有限公司 Network access method, device and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101765232A (en) * 2008-12-25 2010-06-30 中兴通讯股份有限公司 DSL (Digital Subscriber Line) network access method and system as well as broadband remote access server
US20180270696A1 (en) * 2015-08-20 2018-09-20 Huawei Technologies Co., Ltd. Wireless Communications Access Method, Communications Apparatus, Wireless Terminal, and System
CN111130960A (en) * 2019-12-25 2020-05-08 中国联合网络通信集团有限公司 Broadband dialing processing method and device

Also Published As

Publication number Publication date
CN113067758A (en) 2021-07-02

Similar Documents

Publication Publication Date Title
EP2761426B1 (en) Implementation of secure communications in a support system
US9860214B2 (en) Interconnecting external networks with overlay networks in a shared computing environment
US10742624B2 (en) Sentinel appliance in an internet of things realm
CN104320418B (en) Provide local secure network access to remote services
KR101575709B1 (en) Application usage continuum across platforms
CN112400299B (en) Data interaction method and related equipment
US20170149748A1 (en) Secure Group Messaging and Data Steaming
EP2681874B1 (en) Ipsec connection to private networks
CN101621527B (en) Method, system and device for realizing safety certificate based on Portal in VPN
CN110598429A (en) Data encryption storage and reading method, terminal equipment and storage medium
JP2010531511A (en) Content sharing method and system using removable storage
CN109104774B (en) Data transmission method and system
CN113434837B (en) Method, device and smart home system for device identity authentication
CN113067758B (en) Broadband access method, system, terminal and storage medium
CN110474884B (en) Ethernet network system, communication method, communication equipment and computer readable storage medium
CN103873245B (en) Dummy machine system data ciphering method and equipment
CN110719309B (en) Virtual desktop connection method, proxy device, system, equipment and storage medium
CN113452513B (en) Key distribution method, device and system
CN117395084B (en) Cloud storage resource access method, device, equipment and storage medium
CN112367192B (en) Method, device and system for automatically establishing virtual networking
CN112422602B (en) Processing method, device and system for distributed coordination service
US20250007894A1 (en) Cryptographic messaging device
JP2008227715A (en) Network system and communication method
CN116939597A (en) Automatic login method, device and readable storage medium
CN119697634A (en) Post-routing networking method, device and equipment based on 5G VPDN

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