Network connection method and device, terminal and storage medium

By receiving the account and password of broadband operators and performing broadband network connections based on PPPoE or DHCP protocols, the network connection problems caused by differences in network environments in different regions are solved, and fast and stable broadband network connections are achieved, reducing the probability of abnormal situations. .

CN119402537AInactive Publication Date: 2025-02-07SICHUAN TIANYI COMHEART TELECOM
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202510000946.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-02
Publication Date
2025-02-07
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The network environments in different regions are different, which leads to the same network connection means that they may not be applicable in different regions, increasing the workload of installation and maintenance personnel and the probability of abnormal network connections.

Method used

Provide a network connection method, by receiving an account and password issued from the comprehensive terminal management system of a broadband operator, and performing broadband network connection based on the Ethernet Over Point-to-Point Protocol (PPPoE) or Dynamic Host Configuration Protocol (DHCP). If the access fails, Try again to reduce the probability of abnormal situations.

Benefits of technology

It realizes rapid broadband network connections based on the broadband network situation and client application scenario requirements in different regions, reducing network connection abnormalities and improving users' TV program viewing experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119402537A_ABST
    Figure CN119402537A_ABST
Patent Text Reader

Abstract

The invention discloses a network connection method and device, a terminal and a storage medium, and relates to the technical field of communication networks, and the method comprises the steps: receiving an account number and a password sent by an integrated terminal management system of a broadband operator; the broadband network of the broadband operator is accessed through an account number and a password based on a point-to-point protocol on the Ethernet, if the access fails, a new account number and a new password sent by the integrated terminal management system are received again, and the broadband network is accessed based on the point-to-point protocol on the Ethernet; and if the number of continuous access failures reaches a preset connection number, accessing the broadband network based on a dynamic host configuration protocol. According to broadband network conditions of different areas and application scene requirements of different clients, broadband network connection is carried out through different connection modes, so that a user can quickly and normally watch television programs, and the probability of abnormal conditions of network connection of the clients is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication network technology, and in particular to a network connection method, device, terminal and storage medium. Background Art

[0002] An ultra-high-definition set-top box is a device designed specifically for transmitting and playing ultra-high-definition (UHD) video content. UHD generally refers to video content with a resolution of 3840×2160 pixels (i.e. 4K resolution) or higher. An ultra-high-definition set-top box can only provide users with services such as program viewing or online video browsing when it is connected to the operator's broadband network.

[0003] However, the network environment in different regions is not the same, and the same network connection method may not be completely applicable in different regions. At the same time, when users use it for the first time, installation and maintenance personnel are required to come to the site to manually set up the network connection according to the current network type in the area, which increases the workload of grassroots installation and maintenance personnel. During the installation process, grassroots installation and maintenance personnel also need to communicate and confirm with their respective network platforms, which increases the difficulty and complexity of the work; moreover, the network after manual network connection may also have a high probability of abnormal subsequent network connection due to negligence or fault of grassroots installation and maintenance personnel. Summary of the invention

[0004] The main purpose of the present application is to provide a network connection method, device, terminal and storage medium, which are intended to perform broadband network connection through different connection methods according to the broadband network conditions in different areas and the application scenario requirements of different clients, so that users can watch TV programs quickly and normally, and reduce the probability of abnormal situations in the client network connection.

[0005] To achieve the above object, the present application provides a network connection method, which is applied to a client device, wherein the client device includes a set-top box and a client terminal; The method comprises: Receiving a first account and a first password corresponding to the first account sent from an integrated terminal management system of a broadband operator; Based on the point-to-point protocol on Ethernet, access the broadband network of the broadband operator through the first account and the first password; if the access fails, receive the second account and the second password corresponding to the second account issued by the integrated terminal management system, and access the broadband network through the second account and the second password based on the point-to-point protocol on Ethernet; if the number of consecutive access failures reaches a preset number of connections, access the broadband network based on the dynamic host configuration protocol.

[0006] Specifically, before receiving the first account and the first password corresponding to the first account sent from the integrated terminal management system of the broadband operator, the method further includes: In response to a power-on operation of the client terminal, based on an initial account number and an initial password corresponding to the initial account number pre-stored in the client device, obtaining a terminal address corresponding to the client terminal; Based on the terminal address, the network information of the client device and the device information of the client device are sent to the integrated terminal management system.

[0007] Specifically, before receiving the second account and the second password corresponding to the second account sent from the integrated terminal management system, and accessing the broadband network through the second account and the second password based on the point-to-point protocol on Ethernet, the method further includes: Based on the return result and return time sent by the point-to-point protocol server on the Ethernet, the active discovery initialization message sent by the set-top box is adjusted.

[0008] Specifically, accessing the broadband network of the broadband operator through the first account and the first password based on the point-to-point protocol on Ethernet includes: Broadcast active discovery initialization message; Receiving an active discovery provision message sent from a Point-to-Point Protocol server on an Ethernet network, and based on the active discovery provision message, sending a session request message to the Point-to-Point Protocol server on the Ethernet network, wherein the active discovery provision message is sent by the Point-to-Point Protocol server on the Ethernet network in response to the active discovery initialization message; A session confirmation message is received from the Point-to-Point Protocol server on the Ethernet, and confirmation is made that the set-top box is successfully connected to the broadband network, wherein the session confirmation message is sent by the Point-to-Point Protocol server on the Ethernet in response to the session request message.

[0009] Specifically, the point-to-point protocol server on Ethernet includes at least two sub-servers; The providing message based on the active discovery, sending a session request message to the point-to-point protocol server on the Ethernet, comprises: Based on the sub-server information in the active discovery provision message, select a sub-server in the point-to-point protocol server on the Ethernet as the object to be connected; Based on the object to be connected, the session request message is sent to the object to be connected.

[0010] Specifically, the accessing the broadband network based on the dynamic host configuration protocol includes: Broadcast Dynamic Host Configuration Protocol discovery requests; Receiving a dynamic host configuration protocol authentication message sent from a dynamic host configuration protocol server, wherein the dynamic host configuration protocol authentication message is sent by the dynamic host configuration protocol server in response to the dynamic host configuration protocol discovery request, and the dynamic host configuration protocol authentication message includes a designated address corresponding to a set-top box and configuration information corresponding to the set-top box; Based on the designated address corresponding to the set-top box and the configuration information corresponding to the set-top box, the network interface configuration of the set-top box is adjusted, and a network test is performed. If the broadband network can be used normally, it is confirmed that the set-top box is successfully connected to the broadband network.

[0011] Specifically, the dynamic host configuration protocol authentication message is generated by the dynamic host configuration protocol server through a preset authentication message generation model according to the dynamic host configuration protocol discovery request, the authentication message generation model includes an input layer, a hidden layer and an output layer, the hidden layer includes a first sub-hidden layer and a second sub-hidden layer, and the number of neurons in the first sub-hidden layer is the same as the number of neurons in the second sub-hidden layer.

[0012] To achieve the above object, the present application also provides a network connection device, which is applied to a client device, wherein the client device includes a set-top box and a client terminal; The device comprises: The first unit is used to receive a first account and a first password corresponding to the first account sent from an integrated terminal management system of a broadband operator; The second unit is used to access the broadband network of the broadband operator through the first account and the first password based on the point-to-point protocol on Ethernet, and if the access fails, receive the second account and the second password corresponding to the second account issued by the integrated terminal management system, and access the broadband network through the second account and the second password based on the point-to-point protocol on Ethernet; if the number of consecutive access failures reaches a preset connection number, access the broadband network based on the dynamic host configuration protocol.

[0013] To achieve the above-mentioned purpose, the present application also provides a terminal, including a memory storing multiple instructions; the processor loads instructions from the memory to execute the steps in any one of the methods provided in the present application.

[0014] To achieve the above objectives, the present application also provides a storage medium, which stores multiple instructions, and the instructions are suitable for a processor to load to execute the steps in any method provided in the present application.

[0015] The present application provides a network connection method, device, terminal and storage medium, which can first receive an account and password issued from an integrated terminal management system of a broadband operator; based on a point-to-point protocol on Ethernet, access the broadband network of the broadband operator through the account and password; if the access fails, re-receive a new account and new password issued from the integrated terminal management system, and access the broadband network based on the point-to-point protocol on Ethernet; if the number of consecutive access failures reaches a preset number of connection times, quickly access the broadband network based on a dynamic host configuration protocol.

[0016] The present application can establish broadband network connection through different connection methods according to the broadband network conditions in different areas and the application scenario requirements of different clients, so that users can watch TV programs quickly and normally, and reduce the probability of abnormalities in the client network connection. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A schematic diagram of a process flow provided for an embodiment of the present application; Figure 2 A schematic diagram of the structure of a product processing device provided in an embodiment of the present application; Figure 3 A schematic diagram of the structure of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION

[0018] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0019] Since the network environments in different regions are not the same, the same network connection method may not be fully applicable in different regions; at the same time, when the user uses it for the first time, the installation and maintenance personnel are required to come to the site to perform manual network connection settings according to the current network type in the area, which increases the workload of the grassroots installation and maintenance personnel. During the installation process, the grassroots installation and maintenance personnel also need to communicate and confirm with their respective network platforms constantly, which increases the difficulty and complexity of the work; moreover, the network after manual network connection may also cause a high probability of abnormal subsequent network connections due to negligence or fault of the grassroots installation and maintenance personnel. Therefore, the embodiments of the present application provide a network connection method, device, terminal and storage medium to solve practical technical problems.

[0020] In some embodiments, the device may be specifically integrated into an electronic device, which may be a terminal, a server or other device.

[0021] In some embodiments, the server may also be implemented in the form of a terminal.

[0022] Among them, the server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), as well as big data and artificial intelligence platforms.

[0023] The terminal may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal and the server may be directly or indirectly connected via wired or wireless communication, and this application does not limit this.

[0024] It should be noted that the serial numbers of the following embodiments are not intended to limit the preferred order of the embodiments.

[0025] An embodiment of the present application provides a network connection method, which can perform broadband network connection through different connection methods according to the broadband network conditions in different areas and the application scenario requirements of different clients, so that users can watch TV programs quickly and normally, and the probability of abnormal situations in the client network connection is reduced.

[0026] The method is applied to a client device, which includes a set-top box and a client terminal.

[0027] In some embodiments, the set-top box may be a 4K ultra high-definition set-top box, which is a device specially designed to receive and play ultra-high-definition video signals. "4K" here refers to video resolution, specifically, a horizontal resolution with a width of about 4000 pixels. Common 4K resolutions are 3840×2160 pixels or 4096×2160 pixels, which is much higher than the traditional 1080p full HD resolution (1920×1080 pixels), and can therefore provide clearer and more delicate picture quality.

[0028] In some embodiments, the client terminal may be a user's converged terminal, which refers to a device that integrates multiple communication and entertainment functions, and can integrate different communication services and technologies to provide users with a unified service experience. The converged terminal generally has the following characteristics: Multi-network access: Converged terminals can simultaneously support multiple types of network connections, such as wired broadband, wireless LAN (Wi-Fi), cellular networks (3G / 4G / 5G), etc., allowing users to seamlessly switch between different scenarios to obtain the best connection quality; Multimedia functions: In addition to basic voice calls, it also supports video calls, multimedia playback and other functions. Users can watch TV programs, movies, listen to music, browse the web, etc. through a single device; Smart home control: With the development of the Internet of Things, converged terminals may also become the control center of home smart devices, managing smart home appliances such as air conditioners, refrigerators, lighting systems, etc. through integrated software applications; Smart assistant: built-in voice assistant or AI function to help users with activities such as schedule management, weather query, news broadcast, etc. Unified management platform: Converged terminals often provide a unified platform to manage different service subscriptions, such as IPTV, VoIP phone services, cloud storage services, etc., simplifying the user operation process.

[0029] like Figure 1 As shown, the specific process of the method can be as follows: S110: Receive a first account and a first password corresponding to the first account sent from an integrated terminal management system of a broadband operator.

[0030] In some embodiments, before receiving the first account and the first password corresponding to the first account sent from the integrated terminal management system of the broadband operator, the method further includes steps T1 to T2 as shown below: T1. In response to the power-on operation of the client terminal, based on the initial account number and the initial password corresponding to the initial account number pre-stored in the client device, obtain the terminal address corresponding to the client terminal.

[0031] T2. Based on the terminal address, the network information of the client device and the device information of the client device are sent to the integrated terminal management system.

[0032] In some embodiments, the integrated terminal management system may be an ITMS system of a broadband operator. The ITMS (Intelligent Terminal Management System) system is a system used by broadband operators to manage and maintain terminal equipment such as user home gateways. It is mainly responsible for functions such as remote monitoring, configuration management, fault diagnosis, and support service activation. The purpose is to improve service quality, reduce maintenance costs, and also improve the efficiency of network management.

[0033] In some embodiments, after the converged terminal is turned on, it first connects to the network and obtains the IP address using the default PPPOE network account and network password pre-stored by the operator, sends a connection request to the operator's ITMS system, and reports its own network information, such as MAC address, SN data, set-top box model, hardware version number, software version number, set-top box manufacturer, etc., to the ITMS system.

[0034] In some embodiments, the set-top box receives the network account and network password re-issued by the ITMS, namely, the first account and the first password corresponding to the first account.

[0035] S120. Access the broadband network of the broadband operator through the first account and the first password based on the point-to-point protocol over Ethernet; if the access fails, receive the second account and the second password corresponding to the second account issued by the integrated terminal management system, and access the broadband network through the second account and the second password based on the point-to-point protocol over Ethernet; if the number of consecutive access failures reaches a preset number of connection times, access the broadband network based on the dynamic host configuration protocol.

[0036] In some embodiments, before receiving the second account and the second password corresponding to the second account sent from the integrated terminal management system, and accessing the broadband network through the second account and the second password based on the point-to-point protocol on the Ethernet, the method further includes the following specific implementation process: Based on the return result and return time sent by the point-to-point protocol server on the Ethernet, the active discovery initialization message sent by the set-top box is adjusted.

[0037] In some embodiments, the point-to-point protocol server on Ethernet may be a PPPOE Server, i.e., a PPPoE server; the active discovery initialization message may be a PADI (PPPoE Active Discovery Initiation), which is the first step in which a client device attempts to establish a connection with a PPPoE server, and the client device will broadcast a PADI message to search for an available PPPoE server.

[0038] In some embodiments, if the connection fails, the time of sending a new broadcast message is dynamically adjusted according to the result and return time returned by the PPPOE Server, and the set-top box will reconnect to the network according to the PPPOE network connection mode. It automatically adapts to the current network environment, adjusts the reconnection speed according to the speed of the network response, and reconnects in a loop according to the preset network connection order.

[0039] In some embodiments, the accessing the broadband network of the broadband operator through the first account and the first password based on the point-to-point protocol on Ethernet includes steps A1 to A3 as shown below: A1. Broadcast active discovery initialization message.

[0040] A2. Receive an active discovery provision message sent from a Point-to-Point Protocol server on an Ethernet network, and based on the active discovery provision message, send a session request message to the Point-to-Point Protocol server on the Ethernet network, wherein the active discovery provision message is sent by the Point-to-Point Protocol server on the Ethernet network in response to the active discovery initialization message.

[0041] In some embodiments, the active discovery offer message may be PADO (PPPoE Active Discovery Offer), which is the message type used when the PPPoE server responds to the PADI (PPPoE Active Discovery Initiation) message of the set-top box. The PADO message contains session parameters provided by the PPPoE server, such as session ID, server MAC address and other information, for the set-top box to select.

[0042] The session request message may be a PADR (PPPoE Active Discovery Request) message. The client device sends a PADR message to the PPPoE server, which includes session parameters selected by the client device, such as information such as a previously negotiated session ID.

[0043] In some embodiments, the Point-to-Point Protocol over Ethernet server includes at least two sub-servers.

[0044] Specifically, the step of sending a session request message to the point-to-point protocol server on the Ethernet based on the active discovery provision message includes the following steps A21 to A22: A21. Based on the sub-server information in the active discovery provision message, select a sub-server in the point-to-point protocol server on the Ethernet as a to-be-connected object.

[0045] In some embodiments, after sending a PADI message, the client device will receive one or more PADO messages. Each PADO message comes from a potential PPPoE server and provides information about the server, including the server's MAC address, Session-ID, etc. The client device needs to parse the received PADO message and extract relevant information about the server from it. This information can help the client determine which server is the most suitable connection target.

[0046] Specifically, the client device selects a sub-server as a target to be connected based on the information in the received PADO message. The selection criteria may include but are not limited to: The server's response speed (usually the server that responds first takes priority); The load of the server (the client may consider the load of the server and choose a server with a lower load); Other strategies (such as based on geographic location, quality of service, etc.).

[0047] A22. Based on the object to be connected, send the session request message to the object to be connected.

[0048] In some embodiments, after the client device selects the server to be connected, it needs to construct a PADR message. The PADR message contains information such as the Session-ID of the server with which the client wishes to establish a session. The client device sends the constructed PADR message to the selected server, i.e., the object to be connected. The target MAC address of this message is the MAC address of the selected server, and the source MAC address is the MAC address of the client. After the client device sends the PADR message, it will wait for a response from the object to be connected.

[0049] A3. Receive a session confirmation message sent from the Point-to-Point Protocol server on the Ethernet, and confirm that the set-top box is successfully connected to the broadband network, wherein the session confirmation message is sent by the Point-to-Point Protocol server on the Ethernet in response to the session request message.

[0050] In some embodiments, the session confirmation message may be a PADS (PPPoE Active Discovery Session-confirmation) message. If the server agrees to establish a session, it will send a PADS message in response to confirm the establishment of the session. The PADS message contains the finalized session parameters, such as the session ID. Once the client device receives the PADS message, it indicates that the PPPoE session has been established and both parties can start transmitting PPP (Point-to-Point Protocol) data frames.

[0051] In some embodiments, the accessing the broadband network based on the dynamic host configuration protocol includes steps B1 to B3 as shown below: B1. Broadcast Dynamic Host Configuration Protocol discovery request.

[0052] Dynamic Host Configuration Protocol (DHCP) is a protocol used to automatically assign network parameters (such as IP address, subnet mask, default gateway, and DNS server address) to network devices.

[0053] In some embodiments, the dynamic host configuration protocol discovery request may be a DHCPDISCOVER message; when a client device (such as a computer, a mobile phone, a set-top box, etc.) is started, it sends a DHCPDISCOVER message by broadcasting to inquire whether there is an available DHCP server in the network.

[0054] B2. Receive a dynamic host configuration protocol authentication message sent from a dynamic host configuration protocol server, wherein the dynamic host configuration protocol authentication message is sent by the dynamic host configuration protocol server in response to the dynamic host configuration protocol discovery request, and the dynamic host configuration protocol authentication message includes a designated address corresponding to a set-top box and configuration information corresponding to the set-top box.

[0055] In some embodiments, the Dynamic Host Configuration Protocol server may be a DHCP server.

[0056] In some embodiments, the dynamic host configuration protocol authentication message is generated by the dynamic host configuration protocol server through a preset authentication message generation model according to the dynamic host configuration protocol discovery request, the authentication message generation model includes an input layer, a hidden layer and an output layer, the hidden layer includes a first sub-hidden layer and a second sub-hidden layer, and the number of neurons in the first sub-hidden layer is the same as the number of neurons in the second sub-hidden layer.

[0057] In some embodiments, the authentication message generation model may be a feedforward neural network model, because the DHCP request is relatively simple and does not require complex sequence dependency or memory mechanism.

[0058] Specifically, the authentication message generation model may include an input layer, which should be able to process key fields in the DHCPDiscover message, which may include but are not limited to: Client MAC address (used to identify the client device); DHCP options (for example, any specific options requested by the client device).

[0059] The authentication message generation model may include a hidden layer, which is responsible for extracting features from the input data and mapping them to the output space. There may be several layers, each containing a certain number of neurons. The number of neurons in each layer and the number of layers depend on the complexity of the input data and the requirements of the output data.

[0060] Specifically, the hidden layer includes a first sub-hidden layer and a second sub-hidden layer. The number of neurons in the first sub-hidden layer is the same as the number of neurons in the second sub-hidden layer. The number of neurons may be 64.

[0061] The authentication message generation model may include an output layer, which is responsible for generating configuration information in the DHCP reply message, including but not limited to: IP address; Subnet mask; Default gateway; DNS server address; Lease duration; Other network configuration parameters.

[0062] B3. Based on the designated address corresponding to the set-top box and the configuration information corresponding to the set-top box, the network interface configuration of the set-top box is adjusted, and a network test is performed. If the broadband network can be used normally, it is confirmed that the set-top box is successfully connected to the broadband network.

[0063] The embodiment of the present application first receives an account number and password issued from an integrated terminal management system of a broadband operator; based on a point-to-point protocol on Ethernet, accesses the broadband network of the broadband operator through the account number and password; if the access fails, a new account number and a new password issued from the integrated terminal management system are received again, and accesses the broadband network based on the point-to-point protocol on Ethernet; if the number of consecutive access failures reaches a preset number of connection times, the broadband network is quickly accessed based on the dynamic host configuration protocol.

[0064] In summary, the present application provides a network connection method, which can perform broadband network connection through different connection methods according to the broadband network conditions in different areas and the application scenario requirements of different clients, so that users can watch TV programs quickly and normally, and reduce the probability of abnormal situations in the client network connection.

[0065] In order to better implement the above method, the embodiment of the present application also provides a network connection device, which can be integrated in an electronic device, and the electronic device can be a terminal, a server, etc. Among them, the terminal can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop, a personal computer, etc.; the server can be a single server or a server cluster composed of multiple servers.

[0066] For example, in this embodiment, the method of the embodiment of the present application is described in detail by taking the network connection device being specifically integrated in the terminal as an example.

[0067] For example, Figure 2 As shown, the network connection device 200 may include a first unit 201 and a second unit 202, and is applied to a client device, wherein the client device includes a set-top box and a client terminal; The device comprises: The first unit 201 is used to receive a first account and a first password corresponding to the first account sent from an integrated terminal management system of a broadband operator; The second unit 202 is used to access the broadband network of the broadband operator through the first account and the first password based on the Point-to-Point Protocol on Ethernet. If the access fails, the second account and the second password corresponding to the second account issued by the integrated terminal management system are received, and the broadband network is accessed through the second account and the second password based on the Point-to-Point Protocol on Ethernet; if the number of consecutive access failures reaches a preset number of connection times, the broadband network is accessed based on the Dynamic Host Configuration Protocol.

[0068] From the above, it can be seen that the embodiments of the present application can connect to the broadband network through different connection methods according to the broadband network conditions in different areas and the application scenario requirements of different clients, so that users can watch TV programs quickly and normally, and reduce the probability of abnormal situations in the client network connection.

[0069] The embodiment of the present application also provides an electronic device, which can be a terminal, a server, etc. The terminal can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop, a personal computer, etc. The server can be a single server or a server cluster composed of multiple servers, etc.

[0070] In some embodiments, the product processing device may also be integrated into multiple electronic devices. For example, the product processing device may be integrated into multiple servers, and the network connection method of the present application may be implemented by multiple servers.

[0071] In this embodiment, the electronic device of this embodiment is a terminal as an example for detailed description, for example, Figure 3 As shown, it shows a schematic diagram of the structure of the terminal 300 involved in the embodiment of the present application, specifically: The terminal 300 may include one or more processors 301 of processing cores, one or more storage media 302, a power supply 303, an input module 304, and a communication module 305. Those skilled in the art will appreciate that Figure 3The structure of the terminal 300 shown in the figure does not constitute a limitation on the terminal 300, and the terminal 300 may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. The processor 301 is the control center of the terminal 300. It uses various interfaces and lines to connect various parts of the entire terminal 300. It executes various functions of the terminal 300 and processes data by running or executing software programs and / or modules stored in the memory 302, and calling data stored in the memory 302, so as to monitor the terminal 300 as a whole. In some embodiments, the processor 301 may include one or more processing cores; in some embodiments, the processor 301 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 301.

[0072] The memory 302 can be used to store software programs and modules. The processor 301 executes various functional applications and data processing by running the software programs and modules stored in the memory 302. The memory 302 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the terminal 300, etc. In addition, the memory 302 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 302 can also include a memory controller to provide the processor 301 with access to the memory 302.

[0073] The terminal 300 also includes a power supply 303 for supplying power to various components. In some embodiments, the power supply 303 can be logically connected to the processor 301 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 303 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.

[0074] The terminal 300 may further include an input module 304, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.

[0075] The terminal 300 may also include a communication module 305. In some embodiments, the communication module 305 may include a wireless module. The terminal 300 may perform short-range wireless transmission through the wireless module of the communication module 305, thereby providing the user with wireless broadband Internet access. For example, the communication module 305 may be used to help the user send and receive emails, browse web pages, and access streaming media.

[0076] Although not shown, the terminal 300 may also include a display unit, etc., which will not be described in detail here. Specifically in this embodiment, the processor 301 in the terminal 300 will load the executable files corresponding to the processes of one or more applications into the memory 302 according to the following instructions, and the processor 301 will run the applications stored in the memory 302, thereby realizing various functions, as follows: Receiving a first account and a first password corresponding to the first account sent from an integrated terminal management system of a broadband operator; Based on the point-to-point protocol on Ethernet, access the broadband network of the broadband operator through the first account and the first password; if the access fails, receive the second account and the second password corresponding to the second account issued by the integrated terminal management system, and access the broadband network through the second account and the second password based on the point-to-point protocol on Ethernet; if the number of consecutive access failures reaches a preset number of connections, access the broadband network based on the dynamic host configuration protocol.

[0077] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0078] From the above, it can be seen that the embodiments of the present application perform broadband network connection through different connection methods according to the broadband network conditions in different areas and the application scenario requirements of different clients, so that users can watch TV programs quickly and normally, and reduce the probability of abnormal situations in the client network connection.

[0079] A person skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a storage medium and loaded and executed by a processor.

[0080] To this end, an embodiment of the present application provides a storage medium in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the network connection methods provided in the embodiment of the present application. For example, the instructions can execute the following steps: Receiving a first account and a first password corresponding to the first account sent from an integrated terminal management system of a broadband operator; Based on the point-to-point protocol on Ethernet, access the broadband network of the broadband operator through the first account and the first password; if the access fails, receive the second account and the second password corresponding to the second account issued by the integrated terminal management system, and access the broadband network through the second account and the second password based on the point-to-point protocol on Ethernet; if the number of consecutive access failures reaches a preset number of connections, access the broadband network based on the dynamic host configuration protocol.

[0081] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0082] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a storage medium. A processor of a computer device reads the computer instructions from the storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided in various optional implementations provided in the above embodiments.

[0083] Since the instructions stored in the storage medium can execute the steps in any one of the network connection methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the network connection methods provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0084] The above is a detailed introduction to a network connection method, device, terminal and storage medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A network connection method, characterized in that: Applied to client devices, the client devices include set-top boxes and client terminals; The method comprises: Receiving a first account and a first password corresponding to the first account sent from an integrated terminal management system of a broadband operator; Based on the point-to-point protocol on Ethernet, access the broadband network of the broadband operator through the first account and the first password; if the access fails, receive the second account and the second password corresponding to the second account issued by the integrated terminal management system, and access the broadband network through the second account and the second password based on the point-to-point protocol on Ethernet; if the number of consecutive access failures reaches a preset number of connections, access the broadband network based on the dynamic host configuration protocol.

2. The method according to claim 1, characterized in that Before receiving the first account and the first password corresponding to the first account sent from the integrated terminal management system of the broadband operator, the method further includes: In response to a power-on operation of the client terminal, based on an initial account number and an initial password corresponding to the initial account number pre-stored in the client device, obtaining a terminal address corresponding to the client terminal; Based on the terminal address, the network information of the client device and the device information of the client device are sent to the integrated terminal management system.

3. The method according to claim 1, characterized in that Before receiving the second account and the second password corresponding to the second account sent from the integrated terminal management system, and accessing the broadband network through the second account and the second password based on the point-to-point protocol on Ethernet, the method further includes: Based on the return result and return time sent by the point-to-point protocol server on the Ethernet, the active discovery initialization message sent by the set-top box is adjusted.

4. The method according to claim 1, characterized in that The step of accessing the broadband network of the broadband operator through the first account and the first password based on the point-to-point protocol on Ethernet includes: Broadcast active discovery initialization message; Receiving an active discovery provision message sent from a Point-to-Point Protocol server on an Ethernet network, and based on the active discovery provision message, sending a session request message to the Point-to-Point Protocol server on the Ethernet network, wherein the active discovery provision message is sent by the Point-to-Point Protocol server on the Ethernet network in response to the active discovery initialization message; A session confirmation message is received from the Point-to-Point Protocol server on the Ethernet, and confirmation is made that the set-top box is successfully connected to the broadband network, wherein the session confirmation message is sent by the Point-to-Point Protocol server on the Ethernet in response to the session request message.

5. The method according to claim 4, characterized in that The point-to-point protocol server on Ethernet includes at least two sub-servers; The providing message based on the active discovery, sending a session request message to the point-to-point protocol server on the Ethernet, comprises: Based on the sub-server information in the active discovery provision message, select a sub-server in the point-to-point protocol server on the Ethernet as the object to be connected; Based on the object to be connected, the session request message is sent to the object to be connected.

6. The method according to claim 1, characterized in that The step of accessing the broadband network based on the dynamic host configuration protocol includes: Broadcast Dynamic Host Configuration Protocol discovery requests; Receiving a dynamic host configuration protocol authentication message sent from a dynamic host configuration protocol server, wherein the dynamic host configuration protocol authentication message is sent by the dynamic host configuration protocol server in response to the dynamic host configuration protocol discovery request, and the dynamic host configuration protocol authentication message includes a designated address corresponding to a set-top box and configuration information corresponding to the set-top box; Based on the designated address corresponding to the set-top box and the configuration information corresponding to the set-top box, the network interface configuration of the set-top box is adjusted, and a network test is performed. If the broadband network can be used normally, it is confirmed that the set-top box is successfully connected to the broadband network.

7. The method according to claim 6, characterized in that The dynamic host configuration protocol authentication message is generated by the dynamic host configuration protocol server according to the dynamic host configuration protocol discovery request through a preset authentication message generation model, the authentication message generation model includes an input layer, a hidden layer and an output layer, the hidden layer includes a first sub-hidden layer and a second sub-hidden layer, and the number of neurons in the first sub-hidden layer is the same as the number of neurons in the second sub-hidden layer.

8. A network connection device, characterized in that: Applied to client devices, the client devices include set-top boxes and client terminals; The device comprises: The first unit is used to receive a first account and a first password corresponding to the first account sent from an integrated terminal management system of a broadband operator; The second unit is used to access the broadband network of the broadband operator through the first account and the first password based on the point-to-point protocol on Ethernet, and if the access fails, receive the second account and the second password corresponding to the second account issued by the integrated terminal management system, and access the broadband network through the second account and the second password based on the point-to-point protocol on Ethernet; if the number of consecutive access failures reaches a preset connection number, access the broadband network based on the dynamic host configuration protocol.

9. A terminal, characterized in that: It comprises a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the steps in the method as claimed in any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium stores a plurality of instructions, and the instructions are suitable for loading by a processor to execute the steps in the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Multi-protocol stack connection device and method

    CN101102317A

  • Method for detecting net playing mode of router

    CN102223270A

  • Internet-surfing method for user

    CN104735056A

  • Wireless fidelity (wi-fi) access method and apparatus, electronic device, and storage medium

    CN112740762A

  • Dynamic host configuration protocol rental assignment

    CN115955464A