CN111726367A - User equipment CPE access binding method, device, system and equipment - Google Patents

User equipment CPE access binding method, device, system and equipment Download PDF

Info

Publication number
CN111726367A
CN111726367A CN202010622217.1A CN202010622217A CN111726367A CN 111726367 A CN111726367 A CN 111726367A CN 202010622217 A CN202010622217 A CN 202010622217A CN 111726367 A CN111726367 A CN 111726367A
Authority
CN
China
Prior art keywords
cpe
binding
cloud platform
identifier
binding table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010622217.1A
Other languages
Chinese (zh)
Other versions
CN111726367B (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.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks 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 Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN202010622217.1A priority Critical patent/CN111726367B/en
Publication of CN111726367A publication Critical patent/CN111726367A/en
Application granted granted Critical
Publication of CN111726367B publication Critical patent/CN111726367B/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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0884Network architectures or network communication protocols for network security for authentication of entities by delegation of authentication, e.g. a proxy authenticates an entity to be authenticated on behalf of this entity vis-à-vis an authentication entity

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application provides a method, a device, a system and equipment for binding the access of user equipment (CPE), which are used for providing a mode for binding the CPE with a CWMP Inform message closing function and a user account for a cloud platform and reducing the bandwidth pressure of the cloud platform. The method comprises the following steps: receiving a query message sent by CPE through a uniform resource locator of the cloud platform; acquiring the equipment identifier of the CPE carried in the query message, and searching whether a stored binding table contains the equipment identifier of the CPE or not; if the binding table does not contain the equipment identifier, searching whether a stored pre-binding table contains the equipment identifier of the CPE or not; and if the pre-binding table contains the equipment identifier of the CPE, binding the equipment identifier of the CPE with the target account number associated with the CPE in the pre-binding table.

Description

User equipment CPE access binding method, device, system and equipment
Technical Field
The present application relates to the field of communications, and in particular, to a method, an apparatus, a system, and a device for binding access of a user equipment CPE.
Background
The wide area network Management Protocol (CPE) WAN Management Protocol (CWMP) has a generic framework Protocol standard number TR-069, and is therefore also referred to as TR069 Protocol. It provides a general framework, message specification, management method and data model for the management configuration of home electronic devices in the next generation network. In the framework defined by TR069, two types of logical devices are mainly included: a managed Customer Premise Equipment (CPE) and an Automatic Configuration Server (ACS) responsible for management.
The configuration, upgrading, monitoring and other remote management of the CPE can be realized through the ACS. But the user himself builds the ACS with great difficulty and high maintenance cost. A common ACS, also known as a cloud platform, is often provided by device vendors to multiple users. The cloud platform is deployed on a public network, and a user can bind the CPE of the user to a cloud platform account of the user through the cloud platform. Each user can register an account on the cloud platform, and binds own CPE to the account, and the CPEs among the users are mutually isolated and are not visible. The user can log in the cloud platform to remotely manage the CPE of the user by using the account.
The CPE accessing the cloud platform needs to establish connection with the ACS through the CWMP Inform message function. In the prior art, after a CPE is powered on, a CWMP function is turned on by default, and in a process of waiting for binding, a CWMP Inform message is periodically sent to a cloud platform, and whether a user binds the CPE to the cloud platform is queried. And after the user logs in the cloud platform by using the account, binding the CPE by inputting the CPE identification. If the user does not bind the CPE all the time, the CPE continuously and periodically sends CWMpInform messages to the cloud platform.
The connection process between the CPE and the ACS specified in the CWMP protocol and the ACS through the CWMP Inform message function is relatively complicated, as shown in fig. 1, two HTTP interactions are required in the process of waiting for the CPE and the ACS in a binding state to interact with the CWMP Inform message, and the CWMP Inform message adopts a GSOAP/XML format, and generally, one CWMP Inform message exceeds 1024 bytes. If more CPE waiting for binding and ACS exchange CWMP Inform message, the bandwidth of ACS is consumed. Especially, the amount of devices accessing the cloud platform is large (e.g., more than one million devices), and the problem of ACS performance consumption is significantly more serious. In addition, the CPE still has the hidden trouble of being remotely controlled by an illegal user through the CWMP because the CWMP function is started by default.
Disclosure of Invention
The application provides a CPE access binding method, a device, equipment and a medium, which are used for providing a mode of binding CPE and a user account for closing a CWMP Inform message function for a cloud platform and reducing bandwidth pressure of the cloud platform.
According to a first aspect of the exemplary embodiments, a CPE access binding method is provided, which is applied to a cloud platform, and the method includes:
receiving a query message sent by CPE through a uniform resource locator of a cloud platform;
acquiring the equipment identifier of the CPE carried in the query message, and searching whether the stored binding table contains the equipment identifier of the CPE or not;
if the binding table does not contain the equipment identifier, searching whether the stored pre-binding table contains the equipment identifier of the CPE or not;
and if the pre-binding table contains the equipment identifier of the CPE, binding the equipment identifier of the CPE with the target account number associated with the CPE in the pre-binding table.
In the above embodiment, the cloud platform receives an inquiry message sent by any CPE through the uniform resource locator of the cloud platform, and inquires whether the binding table contains the CPE device identifier, if so, the binding table indicates that the CPE device is bound, and if not, the pre-binding table inquires whether the binding table contains the CPE device identifier. If the pre-binding table contains the CPE identification, the fact that a user performs pre-binding operation on the CPE is indicated, the target account corresponding to the CPE identification in the pre-binding table is bound, the user can bind the CPE with the function of closing the CWMP Inform message through the pre-binding operation, and the user does not need to determine whether the CPE is in a waiting binding state (power-on, connection with a cloud platform or connection relation establishment). Because the CPE sends the query message to the cloud platform through the uniform resource locator of the cloud platform, the interaction of the CWMP Inform message to the cloud platform is not needed, the bandwidth pressure of the cloud platform is reduced, and more CPEs can be accessed compared with the prior art. If the fact that the CPE sends the query message through the uniform resource locator of the cloud platform is determined, the CPE is bound with the target account in the binding instruction, and the binding of the CWMP Inform message closing function equipment and the account is achieved.
In some exemplary embodiments, in a CPE access binding method provided by the present application, after binding a device identifier of a CPE with a target account associated with the CPE in a pre-binding table, the method further includes:
and storing the equipment identifier of the CPE in a binding table after associating the equipment identifier with the target account.
In the above embodiment, the device identifier of the CPE device bound to the account and the target account bound to the CPE device are stored in the binding table, and the binding table is updated.
In some exemplary embodiments, in a CPE access binding method provided by the present application, after binding a device identifier of a CPE with a target account associated with the CPE in a pre-binding table, the method further includes:
and acquiring a dynamic host configuration protocol server identifier carried in the query message, associating the dynamic host configuration protocol server identifier with the equipment identifier and the target account number of the CPE, and storing the associated equipment identifier and the target account number in a binding table.
In the above embodiment, after the CPE binds, the dynamic host configuration protocol server identifier carried in the query message sent by the CPE to the cloud platform is associated with the CPE device identifier and the target account, and is stored in the binding table, so that the CPE device identifier and the target account are bound by using other CPEs having the same dynamic host configuration protocol server identifier, and the CPE devices in the same network are also bound automatically in batches without the need of the accessed CPE devices having a fixed public network address.
In some exemplary embodiments, the present application provides a CPE access binding method further including:
if the pre-binding table does not contain the equipment identifier of the CPE, acquiring a dynamic host configuration protocol server identifier carried in the query message;
searching whether the binding table contains the dynamic host configuration protocol server identification carried in the query message;
if the binding table contains the dynamic host configuration protocol server identification carried in the query message, binding the CPE with the target account number associated with the dynamic host configuration protocol server identification carried in the query message in the binding table.
In the above embodiment, the received device identifier of the CPE is not in the binding table or in the pre-binding table, which reflects that no user performs any binding operation on the CPE, determines whether the dynamic host configuration protocol server identifier carried in the query message sent by the CPE is in the binding table, determines whether other CPEs belonging to the same network as the CPE are bound, and if so, binds the CPE and an account associated with the dynamic host configuration protocol server identifier, thereby implementing batch automatic binding on CPEs of the same network without the need of the accessed CPE having a fixed public network address. Meanwhile, the method also avoids binding the CPE one by the user, and reduces the operation steps of binding the CPE of the same network.
In some exemplary embodiments, the present application provides a CPE access binding method further including:
and receiving a binding instruction carrying the equipment identifier and the account of the CPE, associating the equipment identifier and the account of the CPE and then storing the equipment identifier and the account of the CPE in a pre-binding table.
In the above embodiment, after pre-binding the device identifier and the account in the binding instruction sent by the user, the cloud platform associates and stores the device identifier and the account in the pre-binding table, and after receiving the query message of the CPE corresponding to the device identifier, binds the CPE.
In some exemplary embodiments, the present application provides a CPE access binding method further including:
and sending a wide area network management protocol starting instruction of the user equipment to the CPE so that the CPE executes the operation corresponding to the starting instruction.
In the above embodiment, after the CPE is bound with the account, a CWMP start instruction is sent to the CPE to instruct the CPE to execute an operation corresponding to the start instruction, such as starting the CWMP, starting a CWMP Inform message function, and setting a uniform resource locator of a connected ACS, so that a user can manage the CPE.
According to a second aspect of the exemplary embodiments, there is provided a CPE access binding method, applying a CPE, the method comprising:
determining a uniform resource locator of a cloud platform;
and sending a query message carrying the equipment identifier of the CPE to the cloud platform through the determined uniform resource locator of the cloud platform, so that the cloud platform binds the equipment identifier of the CPE with the stored corresponding target account.
In the above embodiment, the device for closing the CWMP Inform message function sends the query message to the cloud platform through the uniform resource locator of the cloud platform, and does not need to perform CWMP Inform message interaction to the cloud platform, thereby reducing the bandwidth pressure of the cloud platform, and enabling the cloud platform to bind according to the stored pre-binding table and the target account corresponding to the device identifier of the CPE carried in the query message, thereby achieving the binding of the device for closing the CWMP Inform message function.
In some exemplary embodiments, in a CPE access binding method, the query message includes an identifier of a dynamic host configuration protocol server corresponding to the CPE.
In the above embodiment, the query message carries the identifier of the dynamic host configuration protocol server, and the cloud platform may determine the account number bound to the CPE through the identifier of the dynamic host configuration protocol server of the CPE.
In some exemplary embodiments, the present application provides a CPE access binding method, further including:
and after receiving a wide area network management protocol opening instruction of the cloud platform, executing an operation corresponding to the opening instruction, wherein the wide area network management protocol opening instruction is sent after the cloud platform binds the equipment identifier of the CPE with the account number.
In the above embodiment, according to the wide area network management protocol start instruction sent by the cloud platform, the CPE executes an operation corresponding to the start instruction, starts the CWMP, starts a CWMP Inform message function, sets an operation such as a uniform resource locator of the connected ACS, and enables a user to manage the CPE.
According to a third aspect of the exemplary embodiments, there is provided a CPE access binding apparatus, applied to a cloud platform, the apparatus including:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving a query message sent by CPE through a uniform resource locator of a cloud platform;
the processing module is used for acquiring the equipment identifier of the CPE carried in the query message and searching whether the stored binding table contains the equipment identifier of the CPE or not;
if the binding table does not contain the equipment identifier, searching whether the stored pre-binding table contains the equipment identifier of the CPE or not;
and if the pre-binding table contains the equipment identifier of the CPE, binding the equipment identifier of the CPE with the target account number associated with the CPE in the pre-binding table.
In some exemplary embodiments, the present application provides a CPE access binding apparatus, further including:
the first storage module is used for binding the equipment identifier of the CPE with the target account number associated with the CPE in the pre-binding table, then storing the equipment identifier of the CPE and the target account number in the binding table after the equipment identifier of the CPE is associated with the target account number.
In some exemplary embodiments, the present application provides a CPE access binding apparatus, further including:
and the second storage module is used for binding the equipment identifier of the CPE with the target account number associated with the CPE in the pre-binding table, acquiring the dynamic host configuration protocol server identifier carried in the query message, and storing the dynamic host configuration protocol server identifier in the binding table after being associated with the equipment identifier of the CPE and the target account number.
In some exemplary embodiments, the present application provides a CPE access binding apparatus, wherein the processing module is further configured to:
if the pre-binding table does not contain the equipment identifier of the CPE, acquiring a dynamic host configuration protocol server identifier carried in the query message;
searching whether the binding table contains the dynamic host configuration protocol server identification carried in the query message;
if the binding table contains the dynamic host configuration protocol server identification carried in the query message, binding the CPE with the target account number associated with the dynamic host configuration protocol server identification carried in the query message in the binding table.
In some exemplary embodiments, the present application provides a CPE access binding apparatus, wherein the receiving module is further configured to:
and receiving a binding instruction carrying the equipment identifier and the account of the CPE, associating the equipment identifier and the account of the CPE and then storing the equipment identifier and the account of the CPE in a pre-binding table.
In some exemplary embodiments, the present application provides a CPE access binding apparatus, further including a sending module, configured to:
after the equipment identifier of the CPE is bound with the account, sending a wide area network management protocol starting instruction of the user equipment to the CPE so that the CPE executes the operation corresponding to the starting instruction.
According to a fourth aspect of the exemplary embodiments, there is provided a CPE access binding apparatus, applied to a CPE, the apparatus including:
the processing module is used for determining a uniform resource locator of the cloud platform;
and the sending module is used for sending a query message carrying the equipment identifier of the CPE to the cloud platform through the determined uniform resource locator of the cloud platform so that the cloud platform binds the equipment identifier of the CPE with the stored corresponding target account.
In some exemplary embodiments, the present application provides a CPE access binding apparatus, where the query message includes an identifier of a dynamic host configuration protocol server corresponding to the CPE.
In some exemplary embodiments, the present application provides a CPE access binding apparatus, wherein the processing module is further configured to:
and after receiving a wide area network management protocol opening instruction of the cloud platform, executing an operation corresponding to the opening instruction, wherein the wide area network management protocol opening instruction is sent after the cloud platform binds the equipment identifier of the CPE with the account number.
According to a fifth aspect of the exemplary embodiments, there is provided a CPE access binding system comprising: a cloud platform, CPE;
the cloud platform is for performing the steps of the method as in any one of the first aspect;
the CPE is adapted to perform the steps of the method as in any one of the second aspects.
According to a sixth aspect of the exemplary embodiments, there is provided an electronic device including:
a memory for storing program instructions;
a processor for implementing the method as in the first aspect when executing a program stored on the memory.
According to a seventh aspect of the exemplary embodiments, there is provided an electronic apparatus comprising:
a memory for storing program instructions;
a processor for implementing the method as in the second aspect when executing the program stored on the memory.
According to an eighth aspect of the exemplary embodiments there is provided a computer-readable storage medium, in which a computer program is stored which, when executed by a processor, carries out the method according to any one of the first aspect.
According to a ninth aspect of the exemplary embodiments there is provided a computer-readable storage medium, having stored therein a computer program which, when executed by a processor, carries out the method according to any one of the second aspects.
In addition, for technical effects brought by any one implementation manner in the third to ninth aspects, reference may be made to technical effects brought by different implementation manners in the first and second aspects, and details are not described here. On the basis of the common knowledge in the field, the above preferred conditions can be combined randomly to obtain the preferred embodiments of the application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a diagram illustrating a process of a CPE interacting with an ACS through a CWMP Inform message;
fig. 2 is a schematic diagram illustrating a conventional cloud platform in a process of binding a CPE and a user account;
fig. 3 illustrates an example flow chart of a CPE access binding method provided herein, according to an example embodiment;
fig. 4 illustrates an example flow diagram of another CPE access binding method provided herein in accordance with one example embodiment;
fig. 5 illustrates an example flow chart of yet another CPE access binding method provided herein, in accordance with one example embodiment;
fig. 6 illustrates an example flow chart of yet another CPE access binding method provided herein, in accordance with one example embodiment;
fig. 7 is a diagram illustrating an exemplary structure of a CPE device access binding apparatus according to an exemplary embodiment;
fig. 8 is a diagram illustrating another example structure of a CPE device for access binding according to an exemplary embodiment;
FIG. 9 illustrates an exemplary architecture of an electronic device provided herein, in accordance with one exemplary embodiment;
fig. 10 is a diagram illustrating an example structure of another electronic device provided in the present application, according to an example embodiment.
Detailed Description
The technical solution in the embodiments of the present application will be described in detail and removed with reference to the accompanying drawings. In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" in the text is only an association relationship describing an associated object, and means that three relationships may exist, for example, a and/or B may mean: three cases of a alone, a and B both, and B alone exist, and in addition, "a plurality" means two or more than two in the description of the embodiments of the present application.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of embodiments of the application, unless stated otherwise, "plurality" means two or more.
When binding a CPE and a user account in a conventional cloud platform, as shown in fig. 2, a user needs to log in a cloud platform account on the CPE, and the CPE automatically sends the user account and a CPE identifier to the cloud platform through a bound HTTP API. And the cloud platform checks the information sent by the CPE, binds the CPE and the user account after confirming that the information is legal, and informs the CPE that the binding is successful. After receiving the binding success notification sent by the cloud platform, the CPE starts a CWMP protocol to establish CWMP interaction with the cloud platform, so that a user can manage the CPE by logging in the cloud platform. It can be seen that the conventional cloud platform requires a user to perform a binding operation when deploying the CPE, otherwise, the CPE cannot be remotely managed.
In the existing cloud platform capable of remotely binding the CPE, the accessed CPE is configured to default to start a CWMpInform message function, the CWMP Inform message is similar to a heartbeat message, and the CPE periodically sends the Inform message to the cloud platform.
The CPE periodically initiates an Inform interaction to the cloud platform, and if the cloud platform has a management task to the CPE, the CPE RPC method can be executed in the current TCP connection to complete the management to the CPE. If the cloud platform does not have the task management of the CPE, only the above Inform interaction needs to be executed. The CWMP message has more redundancy by adopting a GSOAP/XML format, and generally, the CWMP Inform message has more than 1024 bytes, so that the bandwidth of the cloud platform is consumed comparatively. The amount of CPE accessed by the cloud platform is large, the number of devices is usually more than one million, and the problem of cloud platform performance consumption caused by default starting of the CWMP Inform message is more serious.
In view of this, the present application provides a CPE access binding method, so that a CPE accessing a cloud platform and closing a CWMP Inform message function can be bound with an account, so that a user manages the CPE through the cloud platform.
Fig. 3 is a flowchart illustrating an example of a CPE access binding method provided by the present application in a scenario where a CPE interacts with a cloud platform according to an example embodiment, where as shown in fig. 3, the method includes the following steps:
step S301, the CPE determines a uniform resource locator of the cloud platform.
In specific implementation, the CPE is a device that turns off the CWMP Inform message function, and stores the uniform resource locator of the cloud platform when the CPE leaves the factory, where the uniform resource locator is a query interface provided for the cloud platform, and the CPE can query the stored uniform resource locator of the cloud platform after being powered on.
Step S302, the CPE sends a query message carrying the equipment identification of the CPE to the cloud platform through the determined uniform resource locator of the cloud platform.
In specific implementation, the CPE sends a query message to the cloud platform by accessing the uniform resource locator of the cloud platform. The query message may carry a uniform resource locator of the cloud platform, so that the cloud platform knows that the message is a query message, for example, the query message may be https: xxxxxx.com.cn/preBind. The cloud platform may determine that the CPE device corresponding to the device identifier is powered on according to the received query message carrying the device identifier.
In an actual application scenario, the CPE may further obtain an Internet Protocol (IP) address from the dynamic host configuration Protocol server, obtain an identifier (e.g., a MAC address) of the dynamic host configuration Protocol server, and add the identifier of the dynamic host configuration Protocol server to the query message. For example, the identity of the dynamic host configuration protocol server corresponding to the CPE is 58696ccb01cb, and the query message may be https: // close. xxxxxx. com. cn/preBind? network 58696ccb01 cb.
Step S303, the cloud platform obtains the device identifier of the CPE carried in the query message, searches whether the stored binding table includes the device identifier of the CPE, and if not, next step S304 is executed, otherwise, next step S305 is executed.
In specific implementation, the binding table stores the device identifier and the account number of the bound or associated CPE device. The device identifier in the binding table has a corresponding relationship with the account number, the device identifier corresponds to one account number, and one account number can correspond to a plurality of device identifiers. In an actual application scenario, one user account may bind multiple devices. If the device identifier carried in the query message acquired by the cloud platform is not in the binding table, which reflects that the device corresponding to the device identifier is not bound, next step S304 is executed to check whether the device corresponding to the device identifier is pre-bound. If the device identifier carried in the query message is obtained in the binding table, which reflects that the device corresponding to the device identifier is bound before, the device may be powered on again or restored to factory settings, and then the query message is sent to the cloud platform to determine whether the device is bound, and step S305 is executed next, so that the device can be managed and operated normally by the user.
Step S304, searching whether the stored pre-binding table contains the device identifier of the CPE, if so, executing step S306, otherwise, executing step S307.
In specific implementation, the user may perform an operation of binding the device identifier and the user account (target account) of the CPE on the CPE, or may perform an operation of binding the device identifier and the user account (target account) of the CPE on another device. And responding to the operation of the user, and triggering to send a binding instruction to the cloud platform. The cloud platform determines the binding intention of the user according to the device identifier and the target account carried in the binding instruction, and can take the condition that the user triggers the binding instruction to be sent to the cloud platform as pre-binding operation. The pre-binding table stores the device identifier and the account number of the pre-binding operation performed by the user. The user cannot determine whether the CPE to be bound is powered on or connected with the cloud platform or whether the CPE establishes a connection relationship with the cloud platform in a remote binding manner. The user can send a binding instruction containing the equipment identifier and the account number to the cloud platform, so that the cloud platform binds the CPE and the account number in the binding instruction after the CPE is powered on or connected with the cloud platform. The binding operation is not required to be carried out after the user determines that the CPE is powered on.
Step S305, the cloud platform sends a user equipment wide area network management protocol starting instruction to the CPE so that the CPE executes the operation corresponding to the starting instruction.
In specific implementation, after binding the CPE and the account, the cloud platform sends a user equipment wide area network management protocol opening instruction to the CPE, and instructs the CPE to execute an operation corresponding to the user equipment wide area network management protocol opening instruction, such as opening a user equipment wide area network management protocol, opening a CWMP Inform message function, setting a uniform resource locator of an ACS (auto configuration server) connected to the CPE, and establishing an operation of user equipment wide area network management protocol communication with the cloud platform, so that a user can manage the CPE through the cloud platform.
Step S306, the cloud platform binds the equipment identification of the CPE with the target account number associated with the CPE in the pre-binding table.
In specific implementation, the pre-binding table contains the device identifier carried by the query message, and the target account number associated with the device identifier in the pre-binding table is bound without the need of determining that the CPE is powered on by the user to perform the binding operation. The pre-binding operation is only needed by the user once, and the cloud platform binds the CPE after the CPE is powered on under the condition that the user does not sense the pre-binding operation.
After the cloud platform binds or associates the device identifier and the target account, the device identifier and the target account of the CPE device may be stored in a binding table as a formal binding operation.
Further, if the query message carries the dynamic host configuration protocol server identifier, the dynamic host configuration protocol server identifier is associated with the device identifier and the target account of the CPE and then stored in the binding table. The cloud platform is convenient for binding or associating other CPE belonging to the same network with the target account, the user does not need to bind the CPE in the same network one by one, and the cloud platform binds the CPE in the same network in batches, so that the user operation pressure is reduced, and the binding speed and the binding efficiency are improved. After binding the CPEs, step S305 may be performed next.
Step S307, the cloud platform searches whether the binding table includes the dynamic host configuration protocol server identifier carried in the query message, if so, then step S308 is executed, otherwise, then step S309 is executed.
In specific implementation, the cloud platform may determine, according to the dynamic host configuration protocol server identifier, a plurality of CPE devices belonging to the same network (or local area network). The binding table also stores the identification of the dynamic host configuration protocol server of the bound CPE. User-agnostic binding is performed for other CPEs belonging to the same network as the bound CPE.
Step S308, the cloud platform binds the equipment identifier of the CPE with the target account number associated with the dynamic host configuration protocol server identifier carried in the query message in the binding table.
In specific implementation, the cloud platform determines that the device corresponding to the device identifier carried in the query message is not pre-bound by the user. Determining that any CPE (having the same dynamic host configuration protocol server identifier with the CPE) in the same network is bound with the CPE, namely that the dynamic host configuration protocol server identifier of the CPE is stored in a binding table, and binding a target account number bound by the CPE associated with the dynamic host configuration protocol server identifier with the CPE. The automatic batch binding of the plurality of CPE in the same network is realized, and the binding operation of the plurality of CPE one by a user is not required. After binding the CPEs, step S305 may be performed next.
Step S309, the cloud platform determines that the CPE corresponding to the device identifier carried in the query message is not bound.
Step S310, the cloud platform sends an unbound notification to the CPE.
In specific implementation, after determining that the CPE is not bound, the cloud platform may send an unbound notification to the CPE, so that the CPE knows that no user binds the CPE currently.
If the CPE receives the wan protocol start instruction, step S311 shown in fig. 3 may be executed. After receiving the wide area network protocol opening instruction, the CPE executes an operation corresponding to the wide area network management protocol opening instruction of the user equipment, for example, the operation of opening the wide area network management protocol of the user equipment, opening a CWMP Inform message function, setting a uniform resource locator of an ACS to be connected, and the like, and establishes an operation of communicating the wide area network management protocol of the user equipment with the cloud platform, so that the user can manage the CPE through the cloud platform.
If the CPE does not receive the execution wide area network protocol opening instruction or receives the unbound notification message, step S312 shown in fig. 3 may be executed, and the query message is sent to the cloud platform again or periodically, so that the cloud platform binds the device identifier of the CPE with the target account corresponding to the stored pre-binding table and binding table.
When a plurality of CPEs interact with the cloud platform, fig. 4 shows an example flowchart of a CPE access binding method provided by the present application according to an example embodiment, and as shown in fig. 4, the method includes the following steps:
step S401, the cloud platform receives a binding instruction carrying the device identifier and the target account of the CPE 1.
In specific implementation, a user may perform an operation of binding the CPE1 through the CPE1 or other devices, and in response to the binding operation of the user, trigger a binding instruction carrying a user account (target account) and a CPE1 device identifier to be sent to the cloud platform.
In step S402, the cloud platform associates the device identifier of the CPE1 with the target account and stores the device identifier in the pre-binding table.
In specific implementation, the pre-binding table may be in the form of a database or a data table, and is used to store the device identifier and the target account in the binding instruction triggered by the user performing the pre-binding operation. The device identifier in the pre-binding table may be automatically bound to the target account after sending the query message to the cloud platform.
In one possible implementation manner, the cloud platform performs a legal check on the account in the binding instruction to verify whether the account is a legal account (with the authority to manage the CPE using the cloud platform). The cloud platform may also verify the CPE1 device, e.g., by determining that CPE1 sent a query message to the cloud platform confirming that CPE1 accessed the cloud platform.
At step S403, the CPE1 determines a uniform resource locator of the cloud platform.
At step S404, the CPE2 determines a uniform resource locator of the cloud platform.
At step S405, the CPE2 sends a query message to the cloud platform via the determined uniform resource locator.
At step S406, CPE1 sends a query message to the cloud platform via the determined uniform resource locator.
In specific implementation, the query message sent by any CPE to the cloud platform carries the device identifier. It should be noted that, in this embodiment of the application, the sequence of sending the query message to the cloud platform by the CPE1 and the CPE2 is not limited, that is, the step S404 may occur before the step S403, and the step S405 may occur before the step S406.
Step S408, the cloud platform queries whether the binding table does not include the device identifiers of the CPE1 and the CPE2, and queries whether the pre-binding table includes the device identifiers of the CPE1 and the CPE 2.
Step S409, the cloud platform queries that the pre-binding table includes the device identifier of the CPE1, and binds the target account associated with the device identifier of the CPE1 in the pre-binding table with the CPE 1.
In step S410, the cloud platform associates the device identifier of the CPE1 and the dynamic host configuration protocol server identifier of the CPE1 with the target account, and stores the association in the binding table.
In specific implementation, the device identifier of the CPE stored in the binding table is the device identifier of the bound CPE, and further stores a corresponding relationship (association relationship) between the bound CPE and the bound account. If the query message of the CPE1 carries the identifier of the dynamic host configuration protocol server corresponding to the CPE1, the identifier of the dynamic host configuration protocol server of the CPE1 is stored, for example, by establishing a corresponding relationship between the device identifier and the identifier of the dynamic host configuration protocol server, the corresponding relationship between the device identifier of the CPE1 and the identifier of the dynamic host configuration protocol server corresponding to the CPE1 is stored in the query message of the CPE 1.
Step S411, the cloud platform sends a user equipment wide area network management protocol start instruction to the CPE 1.
In specific implementation, after binding the CPE1 with the account, the cloud platform instructs the CPE1 to start a wide area network management protocol function through a wide area network management protocol start instruction, so that a user manages the CPE1 device.
In step S412, the CPE1 executes an operation corresponding to the wan protocol start instruction.
In specific implementation, the CPE1 executes the wan protocol start function according to the wan protocol start instruction.
In step S413, the cloud platform queries that the pre-binding table does not include the device identifier of the CPE2, and queries whether the binding table includes the dynamic host configuration protocol server identifier of the CPE2, if so, then step S414 is executed, otherwise, then step S415 is executed.
In specific implementation, the cloud platform may determine whether binding is required for the CPE2 according to a dynamic host configuration protocol server identifier in a query message sent by the CPE2 without the bound account. Determining that the binding table contains the dynamic host configuration protocol server identifier of the CPE2, next performing step S414 to bind the CPE2, and if not, next performing step S415.
In step S414, the cloud platform binds the target account associated with the dynamic host configuration protocol server identifier of the CPE2 in the binding table with the device identifier of the CPE 2.
In step S415, the cloud platform determines that the CPE2 is not bound to an account.
In specific implementation, the account number of the CPE2 is determined not to be bound, and no binding operation is performed on the CPE 2.
In step S416, the cloud platform associates the device identifier of the CPE2 and the dynamic host configuration protocol server identifier of the CPE2 with the target account, and stores the association in the binding table.
Step S417, the cloud platform sends a user equipment wide area network management protocol start instruction to the CPE 2.
In specific implementation, after binding the CPE2 with the account, the cloud platform instructs the CPE2 to start a wide area network management protocol function through a wide area network management protocol start instruction, so that a user manages the CPE2 device.
In step S418, the CPE2 executes an operation corresponding to the wan protocol open command.
In specific implementation, the CPE2 executes the wan protocol start function according to the wan protocol start instruction.
Fig. 5 is a flowchart illustrating an example CPE access binding method, applied to a cloud platform side, according to an example embodiment, where the method includes the following steps:
step S501, receiving a query message sent by a CPE through a uniform resource locator of a cloud platform.
In specific implementation, a device that has sent a query message through a uniform resource locator of the cloud platform may be regarded as a bindable device or a legitimate device. The cloud platform may determine whether the CPE sent the query message to the cloud platform by storing a database or list of device identifications sent the query message.
The binding instruction received by the cloud platform may be a binding instruction of a carried device identifier and a target account sent by the CPE, or a binding instruction of a carried device identifier and a target account sent by the user equipment, and after associating the device identifier and the account of the CPE, the binding instruction is stored in a pre-binding table and used for recording a pre-binding operation of the user on the CPE.
Step S502, the device identifier of the CPE carried in the query message is obtained, and whether the stored binding table contains the device identifier of the CPE or not is searched.
In specific implementation, the binding table stores the device identifier and the account of the bound or associated CPE device. The device identifier in the binding table has a corresponding relationship with the account number, the device identifier corresponds to one account number, and one account number can correspond to a plurality of device identifiers. In an actual application scenario, one user account may bind multiple devices. And if the equipment identifier carried in the query message acquired by the cloud platform is not in the binding table, reflecting that the equipment corresponding to the equipment identifier is not bound.
Step S503, if the binding table does not include the device identifier, then find out whether the stored pre-binding table includes the device identifier of the CPE.
In specific implementation, the pre-binding table stores the device identifier and the account number of the pre-binding operation performed by the user. When the user is remotely bound, whether the CPE is powered on or not or whether the CPE is connected with the cloud platform or not does not need to be determined. The user can determine the binding intention of the user by sending a binding instruction containing the equipment identifier and the account number to the cloud platform, and the user can be triggered to send the binding instruction to the cloud platform to be regarded as pre-binding operation. And after determining that the CPE is powered on or connected with the cloud platform, the cloud platform binds the CPE with the account number in the binding instruction. And binding the CPE with the account under the condition that the user does not sense.
Step S504, if the pre-binding table includes the device identifier of the CPE, the device identifier of the CPE is bound to the target account associated with the CPE in the pre-binding table.
In specific implementation, the cloud platform binds the CPE with a target account associated with the CPE in the pre-binding table. And storing the equipment identifier of the CPE in a binding table after associating the equipment identifier with the target account. And the identification of the dynamic host configuration protocol server can be acquired from the query message sent by the CPE, and the identification of the dynamic host configuration protocol server is stored in a binding table after being associated with the equipment identification and the target account number of the CPE. Facilitating bulk binding of other CPEs belonging to the same local area network as the CPE.
After the CPE device identifier and the target account in the pre-binding table are stored in the binding table, the CPE device identifier and the target account in the pre-binding table may be deleted, so as to reduce the storage space of the pre-binding table.
And if the pre-binding table does not contain the equipment identifier of the CPE, acquiring the dynamic host configuration protocol server identifier carried in the query message. And searching whether the binding table contains the dynamic host configuration protocol server identification carried in the query message. If the binding table contains the dynamic host configuration protocol server identification carried in the query message, binding the CPE with the target account number associated with the dynamic host configuration protocol server identification carried in the query message in the binding table.
In an actual application scenario, after binding the device identifier of the CPE with the account, the cloud platform sends a user equipment wide area network management protocol start instruction to the CPE, so that the CPE executes an operation corresponding to the start instruction. After the CPE executes the operation corresponding to the opening instruction, the user can remotely manage the CPE.
Fig. 6 shows an exemplary flowchart of a CPE access binding method, applied to the CPE side, according to an exemplary embodiment, and as shown in fig. 6, the method includes the following steps:
step S601, determining a uniform resource locator of the cloud platform.
In specific implementation, the CPE is configured with the uniform resource locator of the cloud platform in advance, and after the CPE is powered on, the CPE is bound and interacted with the cloud platform through accessing the uniform resource locator of the cloud platform.
Step S602, sending a query message carrying the device identifier of the CPE to the cloud platform through the determined uniform resource locator of the cloud platform, so that the cloud platform binds the device identifier of the CPE with the stored corresponding target account.
In specific implementation, the corresponding target account stored in the cloud platform is an account in the pre-binding table or the binding table. The CPE sends the query message carrying the CPE equipment identification to the cloud platform, so that the cloud platform can search whether the stored binding table contains the equipment identification of the CPE. If the binding table does not contain the equipment identifier of the CPE, the cloud platform searches whether the stored pre-binding table contains the equipment identifier of the CPE, and if the pre-binding table contains the equipment identifier of the CPE, the cloud platform binds the equipment identifier of the CPE with the target account number associated with the CPE in the pre-binding table.
The CPE is a bound device, and the CPE may not be managed by a user through the cloud platform due to a fact that factory settings are restored or a hard disk storing account configuration information is damaged or replaced. After the CPE equipment is powered on, the inquiry message is still sent to the cloud platform, so that the cloud platform searches whether the stored binding table contains the equipment identifier of the CPE. If the binding table contains the device identifier of the CPE, the cloud platform may determine that the CPE has been previously bound.
The CPE is unbound equipment, and the cloud platform searches whether the stored binding table contains the equipment identification of the CPE or not by sending a query message to the cloud platform. If the binding table does not contain the device identifier of the CPE, the cloud platform may determine that the CPE has not been bound before. The cloud platform searches whether the stored pre-binding table contains the equipment identification of the CPE. If the pre-binding table contains the device identifier of the CPE, the cloud platform may determine that the CPE is pre-bound before, and the cloud platform may bind the target account number associated with the device identifier in the pre-binding table and store the target account number in the binding table. If the pre-binding table does not contain the device identifier of the CPE, the cloud platform may determine that no user performs a binding operation on the CPE, and that the CPE is a device waiting for binding.
In one possible embodiment, after the CPE is powered on, a dhcp server assigns an IP address to the CPE. The CPE may add the dynamic host configuration protocol server identification to the query message. The cloud platform can conveniently bind the CPE in a batch binding mode.
In a possible implementation manner, after receiving a wide area network management protocol opening instruction of the cloud platform, the CPE executes an operation corresponding to the opening instruction, where the wide area network management protocol opening instruction is sent by the cloud platform after binding the device identifier and the account of the CPE.
Fig. 7 is a diagram illustrating an exemplary structure of a CPE access binding apparatus, applied to a cloud platform side, according to an exemplary embodiment, where as shown in fig. 7, the apparatus includes:
a receiving module 701, configured to receive a query message sent by a CPE through a uniform resource locator of a cloud platform;
a processing module 702, configured to obtain the device identifier of the CPE carried in the query message, and find whether the stored binding table contains the device identifier of the CPE;
if the binding table does not contain the equipment identifier, searching whether the stored pre-binding table contains the equipment identifier of the CPE or not;
and if the pre-binding table contains the equipment identifier of the CPE, binding the equipment identifier of the CPE with the target account number associated with the CPE in the pre-binding table.
In a possible implementation manner, the CPE access binding apparatus provided in this embodiment of the present application further includes:
the first storage module 703 is configured to, after binding the device identifier of the CPE with the target account associated with the CPE in the pre-binding table, associate the device identifier of the CPE with the target account, and store the associated device identifier and target account in the binding table.
In a possible implementation manner, the CPE access binding apparatus provided in this embodiment of the present application further includes:
a second storage module 704, configured to obtain an identifier of a dynamic host configuration protocol server carried in the query message after binding the device identifier of the CPE with the target account associated with the CPE in the pre-binding table, and store the identifier of the dynamic host configuration protocol server in the binding table after associating the device identifier of the CPE with the device identifier of the CPE and the target account.
In a possible implementation manner, in the CPE access binding apparatus provided in this embodiment of the present application, the processing module 702 is further configured to:
if the pre-binding table does not contain the equipment identifier of the CPE, acquiring a dynamic host configuration protocol server identifier carried in the query message;
searching whether the binding table contains the dynamic host configuration protocol server identification carried in the query message;
if the binding table contains the dynamic host configuration protocol server identification carried in the query message, binding the CPE with the target account number associated with the dynamic host configuration protocol server identification carried in the query message in the binding table.
In a possible implementation manner, in the CPE access binding apparatus provided in this embodiment of the present application, the receiving module 701 is further configured to:
and receiving a binding instruction carrying the equipment identifier and the account of the CPE, associating the equipment identifier and the account of the CPE and then storing the equipment identifier and the account of the CPE in a pre-binding table.
In a possible implementation manner, the CPE access binding apparatus provided in this embodiment of the present application further includes:
the sending module 705 is configured to send a user equipment wide area network management protocol start instruction to the CPE after the device identifier of the CPE is bound to the account, so that the CPE executes an operation corresponding to the start instruction.
Fig. 8 is a diagram illustrating an exemplary structure of a CPE access binding apparatus, applied to a CPE side, according to an exemplary embodiment, and as shown in fig. 8, the apparatus includes:
a processing module 801, configured to determine a uniform resource locator of a cloud platform;
a sending module 802, configured to send, to the cloud platform, an inquiry message carrying the device identifier of the CPE through the determined uniform resource locator of the cloud platform, so that the cloud platform binds the device identifier of the CPE with the stored corresponding target account.
In a possible implementation manner, in the CPE access binding apparatus provided in this embodiment of the present application, the query message includes an identifier of a dynamic host configuration protocol server corresponding to the CPE.
In a possible implementation manner, in the CPE access binding apparatus provided in this embodiment of the present application, the apparatus further includes:
the receiving module 803 is configured to execute an operation corresponding to a wide area network management protocol opening instruction after receiving the wide area network management protocol opening instruction of the cloud platform, where the wide area network management protocol opening instruction is sent after the cloud platform binds the device identifier of the CPE with the account.
In addition, the CPE access binding method and apparatus provided by the embodiments of the present invention described in conjunction with fig. 3 to 8 may be implemented by an electronic device.
Fig. 9 is a schematic structural diagram of an electronic device on a cloud platform side according to an embodiment of the present invention. The electronic device in this embodiment of the application may further include a communication interface 903, where the communication interface 903 is, for example, a network port, and the electronic device may transmit data through the communication interface 903, for example, receive a data packet or a message sent by another electronic device, or may send the data packet or the message to another electronic device.
In this embodiment, the memory 902 stores instructions executable by the at least one processor 901, and the at least one processor 901 can execute the steps included in the CPE access binding method described above by executing the instructions stored in the memory 902.
The processor 901 is a control center of the electronic device, and can connect various parts of the whole electronic device by using various interfaces and lines, and by running or executing instructions stored in the memory 902 and calling data stored in the memory 902, the CPE accesses various functions of the binding device and processes data, thereby performing overall monitoring on the CPE accessing the binding device. Alternatively, the processor 901 may include one or more processing units, and the processor 901 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, an application program, and the like, and the modem processor mainly processes wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 901. In some embodiments, the processor 901 and the memory 902 may be implemented on the same chip, or in some embodiments, they may be implemented separately on separate chips.
The processor 901 may be a general-purpose processor, such as a Central Processing Unit (CPU), a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof, that may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the CPE access binding method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
Memory 902, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The Memory 902 may include at least one type of storage medium, and may include, for example, a flash Memory, a hard disk, a multimedia card, a card-type Memory, a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a charge Erasable Programmable Read Only Memory (EEPROM), a magnetic Memory, a magnetic disk, an optical disk, and so on. The memory 902 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 902 of the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.
By programming the processor 901, the code corresponding to the CPE access binding method described in the foregoing embodiment may be solidified into the chip, so that the chip can execute the steps of the CPE access binding method when running, and how to program the processor 901 is a technology known by those skilled in the art, which is not described herein again.
Fig. 10 shows a schematic structural diagram of an electronic device of a user device according to an embodiment of the present invention. The electronic device in this embodiment of the application may further include a communication interface 1003, where the communication interface 1003 is, for example, a network port, and the electronic device may transmit data through the communication interface 1003, for example, receive a data packet or a message sent by another electronic device, or may send the data packet or the message to another electronic device.
In this embodiment, the memory 1002 stores instructions executable by the at least one processor 1001, and the at least one processor 1001 may execute the steps included in the CPE access binding method by executing the instructions stored in the memory 1002.
The processor 1001 is a control center of the electronic device, and may connect various parts of the whole electronic device through various interfaces and lines, and perform or execute instructions stored in the memory 1002 and call data stored in the memory 1002, so that the CPE accesses various functions of the binding device and processes data, thereby performing overall monitoring on the CPE accessing the binding device. Alternatively, the processor 1001 may include one or more processing units, and the processor 1001 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, an application program, and the like, and the modem processor mainly processes wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 1001. In some embodiments, the processor 1001 and the memory 1002 may be implemented on the same chip, or in some embodiments, they may be implemented separately on separate chips.
The processor 1001 may be a general-purpose processor, such as a Central Processing Unit (CPU), a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like, that implements or performs the methods, steps, and logic blocks disclosed in embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the CPE access binding method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
Memory 1002, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The Memory 1002 may include at least one type of storage medium, and may include, for example, a flash Memory, a hard disk, a multimedia card, a card-type Memory, a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a charge Erasable Programmable Read Only Memory (EEPROM), a magnetic Memory, a magnetic disk, an optical disk, and so on. The memory 1002 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 1002 in the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.
By programming the processor 1001, the code corresponding to the CPE access binding method described in the foregoing embodiment may be solidified into the chip, so that the chip can execute the steps of the CPE access binding method when running, and how to program the processor 1001 is a technique known by those skilled in the art, which is not described herein again.
The application also provides a CPE access binding system, which includes an electronic device on the cloud platform side and an electronic device on the CPE side, where a processor in the electronic device on the cloud platform side may execute the CPE access binding method on any cloud platform side provided by the application, and a processor in the electronic device on the CPE side may execute the CPE access binding method on any CPE side provided by the application.
In addition, in combination with the CPE access binding method in the foregoing embodiment, an embodiment of the present invention may provide a computer-readable storage medium to implement the CPE access binding method. The computer readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the CPE access binding methods of the above embodiments.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (14)

1. A method for binding access of a Customer Premises Equipment (CPE) is applied to a cloud platform, and comprises the following steps:
receiving a query message sent by CPE through a uniform resource locator of the cloud platform;
acquiring the equipment identifier of the CPE carried in the query message, and searching whether a stored binding table contains the equipment identifier of the CPE or not;
if the binding table does not contain the equipment identifier, searching whether a stored pre-binding table contains the equipment identifier of the CPE or not;
and if the pre-binding table contains the equipment identifier of the CPE, binding the equipment identifier of the CPE with the target account number associated with the CPE in the pre-binding table.
2. The method of claim 1, wherein after binding the device identifier of the CPE to the target account number associated with the CPE in the pre-binding table, further comprising:
and storing the equipment identifier of the CPE in the binding table after associating the equipment identifier with the target account.
3. The method of claim 1, wherein after binding the device identifier of the CPE to the target account number associated with the CPE in the pre-binding table, further comprising:
and acquiring a dynamic host configuration protocol server identifier carried in the query message, associating the dynamic host configuration protocol server identifier with the equipment identifier and the target account number of the CPE, and storing the associated equipment identifier and the target account number into the binding table.
4. The method of claim 3, further comprising:
if the pre-binding table does not contain the equipment identifier of the CPE, acquiring a dynamic host configuration protocol server identifier carried in the query message;
searching whether the binding table contains the dynamic host configuration protocol server identification carried in the query message;
and if the binding table contains the dynamic host configuration protocol server identification carried in the query message, binding the CPE with a target account number associated with the dynamic host configuration protocol server identification carried in the query message in the binding table.
5. The method of claim 1, further comprising:
receiving a binding instruction carrying a device identification and an account of CPE, associating the device identification and the account of the CPE, and storing the device identification and the account of the CPE in a pre-binding table.
6. The method according to any of claims 1-5, wherein after binding the device identifier of the CPE with an account, further comprising:
and sending a wide area network management protocol starting instruction of the user equipment to the CPE so that the CPE executes the operation corresponding to the starting instruction.
7. A method for binding access of a Customer Premises Equipment (CPE), the method being applied to the CPE and comprising:
determining a uniform resource locator of a cloud platform;
sending a query message carrying the equipment identifier of the CPE to the cloud platform through the determined uniform resource locator of the cloud platform, so that the cloud platform binds the equipment identifier of the CPE with the stored corresponding target account.
8. The method of claim 7, wherein the query message includes an identity of a dynamic host configuration protocol server corresponding to the CPE.
9. The method according to claim 7 or 8, characterized in that the method further comprises:
and after receiving a wide area network management protocol opening instruction of the cloud platform, executing an operation corresponding to the opening instruction, wherein the wide area network management protocol opening instruction is sent after the cloud platform binds the equipment identifier and the account number of the CPE.
10. The utility model provides a user equipment CPE inserts and binds device which is applied to the cloud platform, the device includes:
the receiving module is used for receiving a query message sent by CPE through a uniform resource locator of the cloud platform;
the processing module is used for acquiring the equipment identifier of the CPE carried in the query message and searching whether a stored binding table contains the equipment identifier of the CPE or not;
if the binding table does not contain the equipment identifier, searching whether a stored pre-binding table contains the equipment identifier of the CPE or not;
and if the pre-binding table contains the equipment identifier of the CPE, binding the equipment identifier of the CPE with the target account number associated with the CPE in the pre-binding table.
11. An apparatus for binding access of a Customer Premises Equipment (CPE), the apparatus comprising:
the processing module is used for determining a uniform resource locator of the cloud platform;
a sending module, configured to send, to the cloud platform, a query message carrying the device identifier of the CPE through the determined uniform resource locator of the cloud platform, so that the cloud platform binds the device identifier of the CPE with the stored corresponding target account.
12. A CPE access binding system, comprising: a cloud platform, CPE;
the cloud platform is configured to perform the steps of the method of any of claims 1-6;
the CPE is adapted to perform the steps of the method according to any of claims 7-9.
13. An electronic device, comprising:
a memory for storing program instructions;
a processor for implementing the method of any one of claims 1 to 9 when executing a program stored on a memory.
14. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 9.
CN202010622217.1A 2020-06-30 2020-06-30 Method, device, system and equipment for binding access of Customer Premises Equipment (CPE) Active CN111726367B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010622217.1A CN111726367B (en) 2020-06-30 2020-06-30 Method, device, system and equipment for binding access of Customer Premises Equipment (CPE)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010622217.1A CN111726367B (en) 2020-06-30 2020-06-30 Method, device, system and equipment for binding access of Customer Premises Equipment (CPE)

Publications (2)

Publication Number Publication Date
CN111726367A true CN111726367A (en) 2020-09-29
CN111726367B CN111726367B (en) 2022-11-11

Family

ID=72570929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010622217.1A Active CN111726367B (en) 2020-06-30 2020-06-30 Method, device, system and equipment for binding access of Customer Premises Equipment (CPE)

Country Status (1)

Country Link
CN (1) CN111726367B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112104663A (en) * 2020-10-30 2020-12-18 上海连尚网络科技有限公司 Method and equipment for managing login user and user equipment
CN114125022A (en) * 2021-11-11 2022-03-01 深圳通康创智技术有限公司 CPE equipment control method, CPE equipment control device, computer equipment and storage medium

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064714A (en) * 2006-04-24 2007-10-31 华为技术有限公司 Service dispensing method
CN101202745A (en) * 2006-12-15 2008-06-18 华为技术有限公司 Method, device for collocating information by obtaining user station equipment function and applied system thereof
CN102075339A (en) * 2009-11-23 2011-05-25 中国电信股份有限公司 VPN management platform, and implementation method and system for VPN service
CN102082676A (en) * 2009-11-26 2011-06-01 中国电信股份有限公司 Method and system for realizing remote configuration of customer premises equipment (CPE) service parameters by TR069
US20110228665A1 (en) * 2010-03-19 2011-09-22 At&T Intellectual Property I, L.P. Locally Diagnosing and Troubleshooting Service Issues
CN102761444A (en) * 2012-07-26 2012-10-31 杭州华三通信技术有限公司 Configuration recovering method and device of customer-provided equipment
CN103488696A (en) * 2013-09-03 2014-01-01 福建星网锐捷网络有限公司 Business query method, device and system of CPE (customer premises equipment), ACS (auto-configuration server) and CPE
CN103607385A (en) * 2013-11-14 2014-02-26 北京奇虎科技有限公司 Method and apparatus for security detection based on browser
US20160248641A1 (en) * 2015-02-24 2016-08-25 Cox Communications, Inc. Configuration of a trial service
CN106682105A (en) * 2016-12-05 2017-05-17 京信通信技术(广州)有限公司 Transformation method of TR (technical report) parameters and structure parameters, communication method and communication system for ACS (auto-configuration server) and CPE (customer premises equipment)
CN106713100A (en) * 2015-11-17 2017-05-24 华为数字技术(苏州)有限公司 Method for automatically establishing tunnel, CPE and convergence device
CN106850864A (en) * 2017-04-18 2017-06-13 北京京东尚科信息技术有限公司 It is applied to the method and apparatus of web server login
US20180013606A1 (en) * 2015-04-02 2018-01-11 Chongqing University of Post and Telecommunication Tr069 protocol management method oriented to wia-pa network
CN108028835A (en) * 2015-09-10 2018-05-11 阿尔卡特朗讯 automatic configuration server and method
CN110784941A (en) * 2019-10-31 2020-02-11 Oppo广东移动通信有限公司 Automatic connection method, device and system for CPE and terminal equipment

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064714A (en) * 2006-04-24 2007-10-31 华为技术有限公司 Service dispensing method
CN101202745A (en) * 2006-12-15 2008-06-18 华为技术有限公司 Method, device for collocating information by obtaining user station equipment function and applied system thereof
CN102075339A (en) * 2009-11-23 2011-05-25 中国电信股份有限公司 VPN management platform, and implementation method and system for VPN service
CN102082676A (en) * 2009-11-26 2011-06-01 中国电信股份有限公司 Method and system for realizing remote configuration of customer premises equipment (CPE) service parameters by TR069
US20110228665A1 (en) * 2010-03-19 2011-09-22 At&T Intellectual Property I, L.P. Locally Diagnosing and Troubleshooting Service Issues
CN102761444A (en) * 2012-07-26 2012-10-31 杭州华三通信技术有限公司 Configuration recovering method and device of customer-provided equipment
CN103488696A (en) * 2013-09-03 2014-01-01 福建星网锐捷网络有限公司 Business query method, device and system of CPE (customer premises equipment), ACS (auto-configuration server) and CPE
CN103607385A (en) * 2013-11-14 2014-02-26 北京奇虎科技有限公司 Method and apparatus for security detection based on browser
US20160248641A1 (en) * 2015-02-24 2016-08-25 Cox Communications, Inc. Configuration of a trial service
US20180013606A1 (en) * 2015-04-02 2018-01-11 Chongqing University of Post and Telecommunication Tr069 protocol management method oriented to wia-pa network
CN108028835A (en) * 2015-09-10 2018-05-11 阿尔卡特朗讯 automatic configuration server and method
CN106713100A (en) * 2015-11-17 2017-05-24 华为数字技术(苏州)有限公司 Method for automatically establishing tunnel, CPE and convergence device
CN106682105A (en) * 2016-12-05 2017-05-17 京信通信技术(广州)有限公司 Transformation method of TR (technical report) parameters and structure parameters, communication method and communication system for ACS (auto-configuration server) and CPE (customer premises equipment)
CN106850864A (en) * 2017-04-18 2017-06-13 北京京东尚科信息技术有限公司 It is applied to the method and apparatus of web server login
CN110784941A (en) * 2019-10-31 2020-02-11 Oppo广东移动通信有限公司 Automatic connection method, device and system for CPE and terminal equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
B.A.G. HILLEN ET AL: "Remote management of mobile devices with broadband forum"s TR-069", 《IEEE》 *
周炎婷: "CWMP 协议中 CPE 与 ACS 互连功能的", 《万方》 *
苏亚娟: "TR069在智能设备管理器中的实现", 《福建电脑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112104663A (en) * 2020-10-30 2020-12-18 上海连尚网络科技有限公司 Method and equipment for managing login user and user equipment
CN114125022A (en) * 2021-11-11 2022-03-01 深圳通康创智技术有限公司 CPE equipment control method, CPE equipment control device, computer equipment and storage medium
CN114125022B (en) * 2021-11-11 2024-04-23 深圳通康创智技术有限公司 CPE (customer premise equipment) equipment control method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111726367B (en) 2022-11-11

Similar Documents

Publication Publication Date Title
EP3905598B1 (en) Message processing method and apparatus, control plane device, and computer storage medium
US20060155838A1 (en) Program installation system and method using the same
US20130275956A1 (en) Firmware upgrade method and system and terminal device using the method
CN110740490A (en) Terminal network access method, gateway equipment, system, storage medium and device
US20070121527A1 (en) System and method for remote dynamic network configuration
EP2704358B1 (en) Method and device for managing mobile broadband device
CN111726367B (en) Method, device, system and equipment for binding access of Customer Premises Equipment (CPE)
CN103164244A (en) Firmware system remote updating method based on universal extensible firmware interface
US7761580B2 (en) System and method for determining a designated connection between components of computing devices
CN102726025B (en) Installation method and relative devices of business packet
CN110855746A (en) Middleware management method, electronic device and storage medium
CN104793998B (en) Terminal system resource management method and device
CN112787828B (en) Application flow statistical method and device and mobile electronic device
CN107968725B (en) Method and device for returning and configuring configuration information of home gateway unit type terminal device
CN117675900A (en) Device management method, device, equipment and machine-readable storage medium
CN104104701A (en) Online service configuration updating method and system
CN111294279B (en) Device and method for setting backup port of network aggregation group in PXE environment
CN103138961B (en) server control method, controlled server and central control server
CN109495298B (en) Method and device for managing nodes in OpenStack system
CN111130865A (en) Network equipment firmware batch upgrading method and system based on two-layer switching
CN113542409B (en) Management system and processing method for instances of RocktMQ message queues
CN115442231A (en) Method, device, equipment and medium for managing white list information of switch
KR100456978B1 (en) Method for File Downloading in Agent
CN110167028B (en) System and method for realizing decentralized WIFI roaming authentication function
CN116867031A (en) Access method, device, electronic equipment and storage medium

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