CN117692825A - CPE node selection method, CPE node selection device, ACS node selection ACS and storage medium - Google Patents

CPE node selection method, CPE node selection device, ACS node selection ACS and storage medium Download PDF

Info

Publication number
CN117692825A
CN117692825A CN202311705825.9A CN202311705825A CN117692825A CN 117692825 A CN117692825 A CN 117692825A CN 202311705825 A CN202311705825 A CN 202311705825A CN 117692825 A CN117692825 A CN 117692825A
Authority
CN
China
Prior art keywords
cpe
node
network
service template
preset service
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.)
Pending
Application number
CN202311705825.9A
Other languages
Chinese (zh)
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.)
Wuhan Yangtze Optical Technology Co ltd
Original Assignee
Wuhan Yangtze Optical Technology 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 Wuhan Yangtze Optical Technology Co ltd filed Critical Wuhan Yangtze Optical Technology Co ltd
Priority to CN202311705825.9A priority Critical patent/CN117692825A/en
Publication of CN117692825A publication Critical patent/CN117692825A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to the technical field of network communication, and provides a CPE node selection method, a CPE node selection device, an ACS and a storage medium, wherein the method is applied to an automatic configuration server ACS, and comprises the following steps: acquiring node information reported by CPE, wherein the node information comprises network information of the CPE; based on the node information, determining the network type of the network where the CPE is located; based on the network type of the network where the CPE is located and node information of a preset service template, the CPE is subjected to node selection to obtain the service node of the CPE, the binding is carried out once when the CPE is online for the first time, and the CPE can be directly managed without manually switching according to the change of the network, so that the problems of complicated manual switching and easy error are avoided, the real-time performance and the accuracy of node adaptation are ensured through accurate network environment identification and network consistency matching, and the improvement of the production efficiency is realized.

Description

CPE node selection method, CPE node selection device, ACS node selection ACS and storage medium
Technical Field
The present invention relates to the field of network communications technologies, and in particular, to a CPE node selection method, apparatus, ACS, and storage medium.
Background
ACS (Auto-Configuration Server ) is widely used in current communication networks for Auto-configuration and management of CPE (Customer Premises Equipment ).
Currently, when the ACS needs to manage a large number of CPEs in different types of network environments, a plurality of sets of nodes are generally required to be configured, and a user needs to determine the network environment in which the CPEs are located by himself, and then manually switch to the corresponding nodes for the CPEs on the ACS according to the determination result. However, when there are many CPEs to be managed by the ACS and the environment changes, the operation is very cumbersome and error-prone.
Disclosure of Invention
The invention provides a CPE node selection method, a CPE node selection device, an ACS node selection device and a storage medium, which are used for solving the defects that when the network environment where equipment is located changes in the prior art, the node switching needs manual operation, is very inconvenient and is easy to make mistakes, realizing the self-adaption of corresponding service nodes of the equipment, directly managing after first online binding, and improving the working efficiency without manually switching the nodes according to the change of the network environment where the equipment is located.
The invention provides a Customer Premise Equipment (CPE) node selection method, which is applied to an Automatic Configuration Server (ACS), and comprises the following steps:
acquiring node information reported by CPE, wherein the node information comprises network information of the CPE;
based on the node information, determining the network type of the network where the CPE is located;
And selecting nodes of the CPE based on the network type of the network where the CPE is located and node information of a preset service template to obtain the service node of the CPE.
According to the method for selecting the CPE node provided by the invention, the node selection is carried out on the CPE based on the network type of the network where the CPE is located and the node information of the preset service template to obtain the service node of the CPE, and the method comprises the following steps:
determining node identification of the preset service template from node information of the preset service template, wherein the node identification is used for indicating a network node corresponding to the preset service template;
and performing network matching based on the network node corresponding to the preset service template and the network type of the network where the CPE is located to obtain a matching result, and performing node selection on the CPE based on the matching result to obtain the service node of the CPE.
According to the CPE node selection method provided by the present invention, the network matching is performed based on the network node corresponding to the preset service template and the network type of the network where the CPE is located, so as to obtain a matching result, including:
determining the network type of the network node home network corresponding to the preset service template;
And performing network consistency matching on the network type of the network node home network and the network type of the network where the CPE is located to obtain a matching result.
According to the method for selecting the CPE node provided by the invention, the node selection is carried out on the CPE based on the matching result to obtain the service node of the CPE, and the method comprises the following steps:
and under the condition that the matching result indicates that the network type corresponding to the preset service template is consistent with the network type of the network where the CPE is located, determining the network node corresponding to the preset service template as the service node of the CPE.
According to the method for selecting the CPE node provided by the invention, the node selection is carried out on the CPE based on the matching result to obtain the service node of the CPE, and the method comprises the following steps:
determining a node identifier of the network where the CPE is located based on the network type of the network where the CPE is located under the condition that the matching result indicates that the network type corresponding to the preset service template is inconsistent with the network type of the network where the CPE is located;
and replacing the node identifier of the preset service template based on the node identifier of the network where the CPE is located to obtain a replaced node identifier, and determining the network node indicated by the replaced node identifier as the service node of the CPE.
According to the CPE node selection method provided by the present invention, the node selection is performed on the CPE based on the network type of the network where the CPE is located and node information of a preset service template, so as to obtain a service node of the CPE, and then the method further includes:
based on the service node of the CPE, the preset service template and the message to be issued, generating a message to obtain a target message to be issued;
and sending the target message to the CPE.
According to the CPE node selection method provided by the present invention, the obtaining node information reported by the CPE includes:
under the condition that the CPE is bound on line in the ACS, a query message is issued to the CPE, so that the CPE reports node information to the ACS based on a response message corresponding to the query message under the condition that the query message is received by the CPE;
and acquiring node information reported by the CPE, wherein the node information also comprises the equipment number and the equipment type of the CPE.
The invention also provides a customer premise equipment CPE node selection apparatus for use in an auto configuration server ACS, the apparatus comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring node information reported by CPE, and the node information comprises network information of the CPE;
The identification unit is used for determining the network type of the network where the CPE is located based on the node information;
and the selection unit is used for selecting the node of the CPE based on the network type of the network where the CPE is located and node information of a preset service template to obtain the service node of the CPE.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a customer premises equipment CPE node selection method as described in any of the above when executing the program.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a customer premises equipment, CPE, node selection method as described in any of the above.
According to the CPE node selection method, device, ACS and storage medium, the network type of the network where the CPE node is located is automatically identified through the node information reported by the CPE, and the node selection is carried out based on the network type and the node information of the service template which is created in advance, so that the binding once during the first online is realized, the management can be directly carried out, the manual switching is not needed according to the change of the network, the problems that the manual switching is very complicated and the error is easy to occur are avoided, the timeliness and the accuracy of node adaptation are ensured, and the improvement of the production efficiency of users is realized.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a CPE node selection method provided by the present invention;
FIG. 2 is a general flow chart of a CPE node selection method provided by the present invention;
FIG. 3 is a schematic diagram of a CPE node selection device provided by the present invention;
fig. 4 is a schematic structural diagram of an auto configuration server ACS provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In practical application of ACS, dual-mode CPE is generally required to manage, because the dual-mode CPE has high reliability, is easy to manage and maintain, can automatically detect the type of an optical line terminal to switch an operation mode, and can be used as a GPON (Gigabit Passive Optical Network ) or an EPON (Ethernet Passive Optical Network, ethernet passive optical network).
However, dual mode CPE typically employs different service nodes under GPON and EPON, and the implementation of the different service nodes in the chip SDK (Software Development Kit) is different. In addition, although most dual-mode CPEs support a new set of nodes without network identification in addition to two standard nodes for distinguishing between GPON and EPON, in the actual use ACS process, some existing old devices are often required to be compatible, while most old devices do not support the new nodes, so in the actual use process, an operator may choose to use standard nodes, i.e. service nodes under GPON or EPON, when setting a service template.
For example, when most CPE is under GPON, the node corresponding to VLAN ID attribute is in a format similar to "InternetGateWayDevice.WANDevice.1.WANConnection device.1.X_CT-COM_WANGponLinkConfig.VLANIDMark", and when customer premises equipment CPE is under EPON, the node corresponding to VLAN ID attribute is in a format similar to "InternetGateWayDevice.WANDevice.1.WANConnection device.1. X_CT-COM_WANEponLinkConfig.VLANIDMark". And, when the CPE is under the GPON, if the ACS issues a node in a format corresponding to the EPON to the CPE, the CPE cannot identify the node and fails to issue.
In this regard, it is proposed that a user can configure two sets of nodes, then each time a template is issued, the user determines whether the CPE is currently under the GPON or the EPON, and then the corresponding template is manually bound to issue according to the determination result. In short, two sets of templates can be preset in advance for all nodes needing to be distinguished in network environments so as to respectively correspond to different network environments, or the templates are manually modified so as to correspond to different network environments, and the two modes need to be manually operated according to the change of the network environments where the equipment group is located so as to realize node switching, but have serious problems in multiple aspects, namely:
on one hand, the service templates are more in number, and the maintenance and the use are very inconvenient; on the other hand, when the network environment of part of the devices in the original device group changes, the same service template cannot meet the node requirements of all the devices in the device group, so that the division of the device group is required to be modified, the original device group is divided into a plurality of device groups, and the device groups are respectively matched with different service templates for use, so that other services and the overall network architecture division are influenced; on the other hand, once the network environment where any device is located changes, the above steps are required to be performed, which brings great inconvenience to management and operation and maintenance work in a complex network environment.
In this regard, the invention provides a CPE node selection method, which aims to automatically identify the network environment according to the node information reported by the equipment when the equipment is first on-line, and select the node based on the network type and the node information of the service template created in advance, so that the equipment can be directly managed by binding once when the equipment is first on-line, and an operation and maintenance person can divide the equipment group and set the service template according to the service requirement when managing mass equipment in a complex network environment without additionally considering the equipment pipe-off risk caused by the change of the network environment where the equipment is located, and without manually switching according to the change of the network environment where the equipment is located, thereby avoiding the problems of very complicated manual switching and easy error and realizing the improvement of the production efficiency.
Fig. 1 is a schematic flow chart of a CPE node selection method provided in the present invention, as shown in fig. 1, where the method is applied to an auto configuration server ACS, and the method includes:
step 110, obtaining node information reported by CPE, wherein the node information comprises network information of CPE;
step 120, determining the network type of the network where the CPE is located based on the node information;
and 130, selecting nodes of the CPE based on the network type of the network where the CPE is located and node information of a preset service template to obtain service nodes of the CPE.
In order to adapt to complex network changes and meet the increasingly complex actual application demands, usually, an ACS will let a user configure two sets of nodes, the user determines whether the CPE is under a GPON or an EPON, and then switches the corresponding node for the CPE on the ACS manually according to the determination result. However, once the ACS needs to manage more CPEs and the network environment is complex and changeable, the manual switching is very complicated, the workload is large, the efficiency is low, and the error is very easy.
In view of this, in the embodiment of the present invention, it is proposed that the service node of the CPE may be adapted, that is, when the CPE is first online in the ACS, the network environment where the CPE is located is automatically identified, and the network type of the network where the CPE is located is matched with a preset service template, and the node of the CPE is selected based on the matching result, so that the automatic adaptation of the service node of the CPE is implemented, and the node adjustment is not required to be manually performed when the network where the CPE is located changes, so that the user may concentrate on the service itself, rather than other environmental factors unrelated to the service itself, and further the production efficiency of the user is improved.
Specifically, when the CPE is online in the ACS for the first time, the SCA may first acquire node information thereof, identify a network environment according to the node information, and identify a network environment in which the CPE is located, thereby obtaining a network type of a network in which the CPE is located; specifically, after the CPE registers online for the first time, the CPE performs the uploading of the relevant information, that is, the CPE needs to send the node information of itself to the ACS; specifically, the ACS issues the query message first, sends the query message to the CPE, and the CPE may receive the query message and may return corresponding information to the ACS through a response message corresponding to the query message, where the information returned by the CPE is related to the network node, which may be referred to as node information, and the specific content of the returned node information may be agreed/required by the ACS through a protocol, or may be adjusted by the CPE according to the situation of the CPE.
However, whether ACS is agreed by a protocol or the CPE adjusts correspondingly, the returned node information includes network information of the CPE, that is, the network environment where the CPE is located, because: when an online CPE is registered in the ACS, the online CPE needs to communicate with the ACS, so that it needs to acquire a service template corresponding to the network where the service template characterizes a format required by a communication protocol CWMP (CPE WAN Management Protocol, CPE wide area network management protocol) between the CPE and the ACS. To achieve this, when relevant information is reported, the reported information must include network information of the network where the information is located, and in short, the node information includes network information of the CPE.
Here, the network information of the CPE may be a specific network where the CPE is located, for example, a GPON, an EPON, etc., or may be a network type of the network where the CPE is located, for example, a network type corresponding to the GPON or a network type corresponding to the EPON, which is not limited in the embodiment of the present invention.
Further, after the node information sent by the CPE is obtained, the network environment identification is performed according to the node information, and the network environment where the CPE is located is identified, so that the network type of the network where the CPE is located is obtained.
That is, the network environment where the CPE is located may be identified by using the network information in the node information based on the node information, where specifically, the ACS may obtain the AccessType of the CPE through the node "internet gateway device.
And then, selecting nodes according to the network type and the preset service template to determine the service node of the CPE, namely, determining the service node of the CPE according to the network type of the network where the CPE is located and the node information of the preset service template, specifically, selecting the nodes of the CPE by utilizing the network corresponding to the service template reflected by the node information of the preset service template and the network type of the network where the CPE is located, and selecting the corresponding service node for the CPE by creating a matching relation between the network corresponding to the node of the service template and the network where the CPE is currently located so as to assemble messages and issue information.
It should be noted that, before the node selection, the ACS platform creates a default service template, i.e., a preset service template, which characterizes the format requirements/conventions for the message when the ACS platform and the CPE communicate through a specified communication protocol. The node for creating the preset service template may be any network environment, for example, may be a node under GPON or a node under EPON, which is not specifically limited in the embodiment of the present invention.
However, considering the actual application requirement, in the embodiment of the invention, the corresponding node can be selected to create the service template according to the situation in the actual generation environment. For example, most CPE used in the production environment is under GPON, so that a service template can be created by using nodes under GPON to obtain a set of preset service templates, and the related information of networks, nodes and the like corresponding to the preset service templates is node information of the preset service templates.
According to the CPE node selection method provided by the invention, the network type of the network where the CPE node is located is automatically identified through the node information reported by the CPE, and the node selection is performed based on the network type and the node information of the service template which is created in advance, so that the binding once when the CPE node is online for the first time can be directly managed, manual switching is not needed according to the change of the network, the problems of complicated manual switching and easy error are avoided, the instantaneity and the accuracy of node adaptation are ensured, and the improvement of the production efficiency of a user is realized.
Based on the above embodiment, step 130 includes:
determining node identification of the preset service template from node information of the preset service template, wherein the node identification is used for indicating a network node corresponding to the preset service template;
Network matching is carried out based on network nodes corresponding to the preset service templates and network types of networks where CPEs are located, so that matching results are obtained, and node selection is carried out on the CPEs based on the matching results, so that the service nodes of the CPEs are obtained.
Specifically, in step 130, the process of selecting the node for the CPE according to the network type of the network where the CPE is located and the node information of the preset service template may specifically include:
firstly, the node identification of the preset service template can be determined from the node information of the preset service template, and as the node under a specific network is used and the corresponding node identification is generated when the preset service template is created, the node identification is used as one of the node information; the node identifier can indicate a specific node corresponding to the preset service template, namely a node under a specific network, which is called a network node, and the network node can correspond to the specific network, so in the embodiment of the invention, when the node selection is performed for the CPE, the corresponding node identifier can be determined from the node information of the preset service template.
For example, for a preset service template created by using a node under a GPON, the node information includes a node identifier indicating the GPON as a network environment, where the node identifier may be "x_ct-com_wangponlinkconfig", or may be in other forms, which is not specifically limited in the embodiment of the present invention.
Then, node selection can be performed according to the network node corresponding to the preset service template and the network type of the network where the CPE is located, so as to obtain the service node of the CPE; that is, network matching can be performed through the network node corresponding to the template and the network type of the network where the CPE is located, so as to determine whether the network environments indicated by the template and the network type are consistent, thereby obtaining a matching result, and then node selection can be performed on the CPE according to the matching result, thereby obtaining the service node of the CPE.
The network represented by the network node of the preset service template and the network type of the network where the CPE is located are used for consistency matching to judge whether the network represented by the network node of the preset service template and the network type of the network where the CPE is located are consistent, so as to obtain a matching result of whether the network represented by the network node of the preset service template and the network type of the network represented by the network node of the CPE are consistent, then node selection can be performed on the CPE according to the matching result to obtain a service node of the CPE, and a message is to be issued.
Based on the above embodiment, performing network matching based on the network node corresponding to the preset service template and the network type of the network where the CPE is located, to obtain a matching result, including:
determining the network type of a network node home network corresponding to a preset service template;
and performing network consistency matching on the network type of the network node home network and the network type of the network where the CPE is located to obtain a matching result.
Specifically, the process of performing network matching according to the network node corresponding to the preset service template and the network type of the network where the CPE is located to obtain a matching result may specifically include:
firstly, it may be necessary to determine the network environment corresponding to the network node corresponding to the template, i.e. under what network environment this network node is located, so as to obtain the network type of the network to which it belongs, i.e. determine the network type of the network node belonging network corresponding to the preset service template.
For example, the node is identified as a preset service template of "x_ct-com_wangponlinkconfig", and its network node is a node under GPON, so that the network type of the network node home network is the network type corresponding to the GPON.
Then, according to the network type of the network node home network and the network type of the network where the CPE is located, the network consistency matching can be performed to obtain a matching result, namely, the network type of the network node home network and the network type of the network where the CPE is located can be subjected to consistency matching to determine whether the network type of the network node home network is consistent with the network type of the network where the CPE is located or not, namely, whether the network type of the network node home network is the same as or different from the network type of the network where the CPE is located or not, and whether the network type of the network node home network is consistent with the network type of the network where the CPE is located or not is not matched, so that a matching result representing whether the network type is consistent or not is obtained.
Based on the above embodiment, based on the matching result, node selection is performed on the CPE to obtain a service node of the CPE, including:
under the condition that the matching result indicates that the network type corresponding to the preset service template is consistent with the network type of the network where the CPE is located, determining the network node corresponding to the preset service template as the service node of the CPE;
under the condition that the network type corresponding to the preset service template is indicated to be inconsistent with the network type of the network where the CPE is located by the matching result, determining the node identification of the network where the CPE is located based on the network type of the network where the CPE is located;
and replacing the node identifier of the preset service template based on the node identifier of the network where the CPE is located to obtain a replaced node identifier, and determining the network node indicated by the replaced node identifier as the service node of the CPE.
Specifically, the process of selecting the node for the CPE according to the matching result to obtain the service node of the CPE may specifically include the following cases:
firstly, in the case that the matching result indicates that the network type corresponding to the preset service template is consistent with the network type of the network where the CPE is located, that is, the network environment where the node used for creating the preset service template is located is consistent with the current network environment where the CPE is located, it can be understood that in the case that the network environment where the CPE is located is adapted to the preset service template, at this time, the network node corresponding to the preset service template can be directly used as the service node of the CPE, and the node to be used when the preset service template is to be created is regarded as the service node of the CPE.
For example, when the preset service template is created, the node under the GPON is used, and when the CPE is currently under the GPON, it can be determined that the network environments of the node and the node are consistent, and the CPE does not need to adjust the node, and can directly use the network node corresponding to the preset service template as the service node of the CPE.
Secondly, when the matching result indicates that the network type corresponding to the preset service template is inconsistent with the network type of the network where the CPE is located, that is, the network environment where the node used for creating the preset service template is inconsistent with the current network environment where the CPE is located, it can be understood that the CPE needs to perform node adjustment to enable the CPE to adapt to the preset service template, but because the node switching of the CPE needs to manually operate and bind, the method is very inconvenient.
Specifically, the node identifier of the network where the CPE is located may be determined according to the network type of the network where the CPE is located, and then the node identifier of the preset service template may be replaced by using the node identifier, so that the character string indicating the GPON/EPON in the node identifier of the preset service template is replaced by the character string indicating the EPON/GPON in a character string replacing manner, so as to obtain the replaced node identifier. And then, determining the service node of the CPE according to the replaced node identifier, namely, firstly determining the network node corresponding to the replaced node identifier, and taking the network node as the service node of the CPE.
It should be noted that, the character string replacement herein may be an integral replacement for the entire node identification character string, or may be a replacement for only a part of the character string indicating the network environment, which is not specifically limited in the embodiment of the present invention.
For example, when the preset service template is created, a node under the GPON is used, and when the CPE is currently under the EPON, it may be determined that the network environments of the two are inconsistent, so the CPE needs to adjust the node, for this purpose, the node identifier of the network where the CPE is located may be determined by the network type of the network where the CPE is located, and this node identifier is used to replace the node identifier of the preset service template, by replacing the character string indicating the GPON in the node identifier of the preset service template with the character string indicating the EPON, for example, replace the node identifier of the preset service template with "x_ct-com_wangponlinkconfig" by "x_ct-com_waneponnlinkconfig", and use the network node indicated by the replaced node identifier (node under the EPON) as the service node of the CPE.
Based on the above embodiment, in step 130, based on the network type of the network where the CPE is located and node information of the preset service template, node selection is performed on the CPE to obtain a service node of the CPE, and then the method further includes:
Based on the service node of CPE, presetting a service template and information to be issued, generating a message to obtain a target message to be issued;
and transmitting the target message to the CPE.
Specifically, in step 130, after node selection is performed on the CPE according to the network type of the network where the CPE is located and node information of the preset service template, a service node of the CPE is obtained, and then message assembly and information transmission can be performed according to the service node.
It can be understood that after the service node of the CPE is selected by the CPE node, the service node may perform message generation according to the service node to obtain a message and send the message to the CPE, specifically, after the service node of the CPE is determined, message assembly may be performed at the service node to package the information to be sent to the CPE, that is, the information to be sent is packaged into a message with a fixed format represented by a preset service template, so as to obtain a target message to be sent, and then the target message may be sent to the CPE, so that communication between the ACS and the CPE is achieved.
Based on the above embodiment, step 110 includes:
under the condition that the CPE is bound on line in the ACS, a query message is issued to the CPE, so that the CPE reports node information to the ACS based on a response message corresponding to the query message under the condition that the query message is received by the CPE;
And acquiring node information reported by the CPE, wherein the node information also comprises the equipment number and the equipment type of the CPE.
Specifically, in step 110, a process of obtaining node information reported by the CPE includes:
when the CPE is first on line in the ACS, the ACS can firstly acquire node information of the CPE, wherein when the CPE is first on line in the ACS, the ACS can firstly issue a query message to send the query message to the CPE, and the CPE can receive the query message and can return corresponding node information to the ACS through a response message corresponding to the query message. And then, the ACS can acquire the node information returned by the CPE, namely the node information reported by the CPE. The node information reported by the CPE comprises the equipment number, the equipment type and the network information of the CPE.
According to the method provided by the embodiment of the invention, when the CPE is online in the ACS for the first time, the network environment where the CPE is located is automatically identified, the network type of the network is matched with the preset service template, and the nodes of the CPE are selected based on the matching result, so that the automatic adaptation of the service nodes of the CPE is realized, the manual node adjustment is not needed when the network where the CPE is located changes, and therefore, the user can concentrate on the service rather than other environmental factors unrelated to the service, and the production efficiency of the user is improved.
FIG. 2 is a general flow chart of a CPE node selection method provided by the present invention, as shown in FIG. 2, comprising:
firstly, acquiring node information reported by CPE;
then, based on the node information, determining the network type of the network where the CPE is located;
and then, based on the network type of the network where the CPE is located and node information of a preset service template, selecting the node of the CPE to obtain the service node of the CPE.
The method for obtaining the node information reported by the CPE comprises the following steps: under the condition that the CPE is bound on line in the ACS, a query message is issued to the CPE, so that the CPE reports node information to the ACS based on a response message corresponding to the query message under the condition that the query message is received by the CPE; and acquiring node information reported by the CPE, wherein the node information comprises the equipment number, the equipment type and the network information of the CPE.
The method for selecting the node of the CPE based on the network type of the network where the CPE is located and node information of a preset service template comprises the following steps: determining node identification of the preset service template from node information of the preset service template, wherein the node identification is used for indicating a network node corresponding to the preset service template; network matching is carried out based on network nodes corresponding to the preset service templates and network types of networks where CPEs are located, so that matching results are obtained, and node selection is carried out on the CPEs based on the matching results, so that the service nodes of the CPEs are obtained.
Network matching is carried out based on network nodes corresponding to the preset service templates and network types of networks where CPEs are located, and a matching result is obtained, wherein the network matching method comprises the following steps: determining the network type of a network node home network corresponding to a preset service template; and performing network consistency matching on the network type of the network node home network and the network type of the network where the CPE is located to obtain a matching result.
Based on the matching result, selecting the node for the CPE to obtain the service node of the CPE, which comprises the following steps: and under the condition that the matching result indicates that the network type corresponding to the preset service template is consistent with the network type of the network where the CPE is located, determining the network node corresponding to the preset service template as the service node of the CPE.
Correspondingly, under the condition that the matching result indicates that the network type corresponding to the preset service template is inconsistent with the network type of the network where the CPE is located, determining the node identification of the network where the CPE is located based on the network type of the network where the CPE is located; and replacing the node identifier of the preset service template based on the node identifier of the network where the CPE is located to obtain a replaced node identifier, and determining the network node indicated by the replaced node identifier as the service node of the CPE.
Further, based on the network type of the network where the CPE is located and node information of a preset service template, node selection is performed on the CPE to obtain a service node of the CPE, and then the method further comprises the following steps: based on the service node of CPE, presetting a service template and information to be issued, generating a message to obtain a target message to be issued; and transmitting the target message to the CPE.
According to the method provided by the embodiment of the invention, the network type of the network where the CPE is located is automatically identified through the node information reported by the CPE, and the node selection is performed based on the network type and the node information of the pre-established service template, so that the binding once during the first online is realized, the management can be directly performed, the manual switching is not needed according to the change of the network, the problems of complicated manual switching and easy error are avoided, the timeliness and the accuracy of the node adaptation are ensured, and the improvement of the production efficiency of a user is realized.
The CPE node selection apparatus provided by the present invention will be described below, and the CPE node selection apparatus described below and the CPE node selection method described above may be referred to correspondingly to each other.
FIG. 3 is a schematic structural diagram of a CPE node selection device according to the present invention, as shown in FIG. 3, the device being applied to an auto configuration server ACS, the device comprising:
An obtaining unit 310, configured to obtain node information reported by a CPE, where the node information includes network information of the CPE;
an identifying unit 320, configured to determine a network type of a network where the CPE is located based on the node information;
and the selecting unit 330 is configured to perform node selection on the CPE based on the network type of the network where the CPE is located and node information of a preset service template, so as to obtain a service node of the CPE.
According to the CPE node selection device, the network type of the network where the CPE node selection device is located is automatically identified through the node information reported by the CPE, the node selection is carried out based on the network type and the node information of the service template which is created in advance, the binding once when the CPE node selection device is online for the first time can be directly managed, manual switching is not needed according to the change of the network where the CPE node selection device is located, the problems that the manual switching is very complicated and error is prone to occur are avoided, the instantaneity and the accuracy of node adaptation are guaranteed, and the improvement of the production efficiency of users is achieved.
Based on the above embodiment, the selection unit 330 is configured to:
determining node identification of the preset service template from node information of the preset service template, wherein the node identification is used for indicating a network node corresponding to the preset service template;
And performing network matching based on the network node corresponding to the preset service template and the network type of the network where the CPE is located to obtain a matching result, and performing node selection on the CPE based on the matching result to obtain the service node of the CPE.
Based on the above embodiment, the selection unit 330 is configured to:
determining the network type of the network node home network corresponding to the preset service template;
and performing network consistency matching on the network type of the network node home network and the network type of the network where the CPE is located to obtain a matching result.
Based on the above embodiment, the selection unit 330 is configured to:
and under the condition that the matching result indicates that the network type corresponding to the preset service template is consistent with the network type of the network where the CPE is located, determining the network node corresponding to the preset service template as the service node of the CPE.
Based on the above embodiment, the selection unit 330 is configured to:
determining a node identifier of the network where the CPE is located based on the network type of the network where the CPE is located under the condition that the matching result indicates that the network type corresponding to the preset service template is inconsistent with the network type of the network where the CPE is located;
And replacing the node identifier of the preset service template based on the node identifier of the network where the CPE is located to obtain a replaced node identifier, and determining the network node indicated by the replaced node identifier as the service node of the CPE.
Based on the above embodiment, the apparatus further includes a message sending unit, configured to:
based on the service node of the CPE, the preset service template and the message to be issued, generating a message to obtain a target message to be issued;
and sending the target message to the CPE.
Based on the above embodiment, the obtaining unit 310 is configured to:
under the condition that the CPE is bound on line in the ACS, a query message is issued to the CPE, so that the CPE reports node information to the ACS based on a response message corresponding to the query message under the condition that the query message is received by the CPE;
and acquiring node information reported by the CPE, wherein the node information also comprises the equipment number and the equipment type of the CPE.
Fig. 4 illustrates a schematic structure of an auto configuration server ACS, as shown in fig. 4, the electronic device may include: processor 410, communication interface (Communications Interface) 420, memory 430 and communication bus 440, wherein processor 410, communication interface 420 and memory 430 communicate with each other via communication bus 440. Processor 410 may invoke logic instructions in memory 430 to perform a CPE node selection method comprising: acquiring node information reported by CPE, wherein the node information comprises network information of the CPE; based on the node information, determining the network type of the network where the CPE is located; and selecting nodes of the CPE based on the network type of the network where the CPE is located and node information of a preset service template to obtain the service node of the CPE.
Further, the logic instructions in the memory 430 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, are capable of performing a CPE node selection method provided by the above methods, the method comprising: acquiring node information reported by CPE, wherein the node information comprises network information of the CPE; based on the node information, determining the network type of the network where the CPE is located; and selecting nodes of the CPE based on the network type of the network where the CPE is located and node information of a preset service template to obtain the service node of the CPE.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform a CPE node selection method provided by the above methods, the method comprising: acquiring node information reported by CPE, wherein the node information comprises network information of the CPE; based on the node information, determining the network type of the network where the CPE is located; and selecting nodes of the CPE based on the network type of the network where the CPE is located and node information of a preset service template to obtain the service node of the CPE.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A customer premises equipment, CPE, node selection method for application to an auto configuration server, ACS, the method comprising:
acquiring node information reported by CPE, wherein the node information comprises network information of the CPE;
based on the node information, determining the network type of the network where the CPE is located;
and selecting nodes of the CPE based on the network type of the network where the CPE is located and node information of a preset service template to obtain the service node of the CPE.
2. The CPE node selection method according to claim 1, wherein the selecting the CPE node based on the network type of the network in which the CPE is located and node information of a preset service template to obtain the service node of the CPE includes:
determining node identification of the preset service template from node information of the preset service template, wherein the node identification is used for indicating a network node corresponding to the preset service template;
and performing network matching based on the network node corresponding to the preset service template and the network type of the network where the CPE is located to obtain a matching result, and performing node selection on the CPE based on the matching result to obtain the service node of the CPE.
3. The CPE node selection method according to claim 2, wherein the performing network matching based on the network node corresponding to the preset service template and the network type of the network where the CPE is located to obtain a matching result includes:
determining the network type of the network node home network corresponding to the preset service template;
and performing network consistency matching on the network type of the network node home network and the network type of the network where the CPE is located to obtain a matching result.
4. A CPE node selection method according to claim 2 or 3, characterized in that the node selection of the CPE based on the matching result, to obtain a service node of the CPE, comprises:
and under the condition that the matching result indicates that the network type corresponding to the preset service template is consistent with the network type of the network where the CPE is located, determining the network node corresponding to the preset service template as the service node of the CPE.
5. A CPE node selection method according to claim 2 or 3, characterized in that the node selection of the CPE based on the matching result, to obtain a service node of the CPE, comprises:
Determining a node identifier of the network where the CPE is located based on the network type of the network where the CPE is located under the condition that the matching result indicates that the network type corresponding to the preset service template is inconsistent with the network type of the network where the CPE is located;
and replacing the node identifier of the preset service template based on the node identifier of the network where the CPE is located to obtain a replaced node identifier, and determining the network node indicated by the replaced node identifier as the service node of the CPE.
6. A CPE node selection method according to any one of claims 1 to 3, wherein the node selection is performed on the CPE based on a network type of a network in which the CPE is located and node information of a preset service template, to obtain a service node of the CPE, and further comprising:
based on the service node of the CPE, the preset service template and the message to be issued, generating a message to obtain a target message to be issued;
and sending the target message to the CPE.
7. A CPE node selection method according to any of claims 1-3, characterized in that the obtaining node information reported by the CPE comprises:
Under the condition that the CPE is bound on line in the ACS, a query message is issued to the CPE, so that the CPE reports node information to the ACS based on a response message corresponding to the query message under the condition that the query message is received by the CPE;
and acquiring node information reported by the CPE, wherein the node information also comprises the equipment number and the equipment type of the CPE.
8. Customer premises equipment, CPE, node selection apparatus for application to an auto configuration server, ACS, the apparatus comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring node information reported by CPE, and the node information comprises network information of the CPE;
the identification unit is used for determining the network type of the network where the CPE is located based on the node information;
and the selection unit is used for selecting the node of the CPE based on the network type of the network where the CPE is located and node information of a preset service template to obtain the service node of the CPE.
9. An auto configuration server ACS comprising a memory, a processor and a computer program stored on said memory and executable on said processor, wherein said processor implements a customer premises equipment CPE node selection method according to any of claims 1 to 7 when executing said program.
10. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the customer premises equipment CPE node selection method of any of claims 1 to 7.
CN202311705825.9A 2023-12-11 2023-12-11 CPE node selection method, CPE node selection device, ACS node selection ACS and storage medium Pending CN117692825A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311705825.9A CN117692825A (en) 2023-12-11 2023-12-11 CPE node selection method, CPE node selection device, ACS node selection ACS and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311705825.9A CN117692825A (en) 2023-12-11 2023-12-11 CPE node selection method, CPE node selection device, ACS node selection ACS and storage medium

Publications (1)

Publication Number Publication Date
CN117692825A true CN117692825A (en) 2024-03-12

Family

ID=90136631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311705825.9A Pending CN117692825A (en) 2023-12-11 2023-12-11 CPE node selection method, CPE node selection device, ACS node selection ACS and storage medium

Country Status (1)

Country Link
CN (1) CN117692825A (en)

Similar Documents

Publication Publication Date Title
US7916748B2 (en) Method and system for initialization configuration of managed device
EP1724966B1 (en) A method for automatically configuring terminal equipment
EP2357860A1 (en) Device management server, client and method for locating target operation object
EP3099011B1 (en) Interface management service entity, functional service entity and network element management method
CN101335648A (en) Automatic converting method for packets of different interfaces and apparatus thereof
US9009306B2 (en) Method, system, client and server for locating operation nodes in communication system
CN108282363B (en) Remote configuration method, device and system for CPE and ACS
CN112953774B (en) Network topology generation method, system, equipment and computer storage medium
WO2006058500A1 (en) A method for acquiring network key performance indicators and the key performance indicators groupware thereof
CN101494551A (en) Method, apparatus and system for business cutover
CN101977142B (en) Simple network management method and device based on multiple routing protocol instances
CN115623000B (en) Method and device for efficiently distributing data on digital networking
CN103873271A (en) Gateway EoC terminal, and management system and management method thereof
WO2020010906A1 (en) Method and device for operating system (os) batch installation, and network device
JP2005237018A (en) Data transmission to network management system
CN112019650B (en) IP address recommendation method, device and server
CN113992504A (en) Network transmission equipment management method based on industrial internet identification analysis
CN111416732B (en) Method and device for automatically configuring service for capacity expansion of network equipment in SDN
CN100454828C (en) Method for implementing terminal management in network equipment
CN103117880A (en) Web technology based network topological generation method
CN117692825A (en) CPE node selection method, CPE node selection device, ACS node selection ACS and storage medium
CN113873043B (en) Team digital management system
CN110100416B (en) Method, equipment and system for selecting gateway
CN112350905B (en) Method and device for quickly confirming service after operation business router is changed
CN100384285C (en) Method for testing apparatus management service system

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