CN110995510B - Management method and device for realizing VOIP service zero configuration in POL - Google Patents

Management method and device for realizing VOIP service zero configuration in POL Download PDF

Info

Publication number
CN110995510B
CN110995510B CN201911343992.7A CN201911343992A CN110995510B CN 110995510 B CN110995510 B CN 110995510B CN 201911343992 A CN201911343992 A CN 201911343992A CN 110995510 B CN110995510 B CN 110995510B
Authority
CN
China
Prior art keywords
configuration
onu
voip
user
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911343992.7A
Other languages
Chinese (zh)
Other versions
CN110995510A (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.)
Bowei Technology Co ltd
Original Assignee
Bowei 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 Bowei Technology Co ltd filed Critical Bowei Technology Co ltd
Priority to CN201911343992.7A priority Critical patent/CN110995510B/en
Publication of CN110995510A publication Critical patent/CN110995510A/en
Application granted granted Critical
Publication of CN110995510B publication Critical patent/CN110995510B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Landscapes

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

Abstract

The invention provides a management method and a device for realizing zero configuration of VOIP (voice over Internet protocol) service in POL (polar intelligent optical network), which relate to the technical field of passive optical networks, and are characterized in that configuration classification including fixed uniform configuration, user authentication information configuration and external environment related configuration is obtained according to VOIP service configuration; according to the configuration classification, the method for automatically generating or acquiring the configuration can be automatically executed by respectively executing the corresponding configuration method. The method realizes the detailed classification of nearly hundreds of complex configuration services, different configuration types adopt different configuration methods, the VOIP configuration of the ONU is separated from the control of the current complex OLT OMCI command and the control of various configuration servers, thereby realizing zero configuration, improving the ONU assembly and maintenance efficiency, and the assembly and maintenance personnel do not need to care how to use the VOIP service configuration commands of various OLTs, and all the configured ONUs are automatically generated or obtained. Therefore, the technical problems that VOIP configuration of the ONU is complicated and assembly and maintenance difficulty is high are solved.

Description

Management method and device for realizing VOIP service zero configuration in POL
Technical Field
The invention relates to the technical field of passive optical networks, in particular to a management method and a device for realizing zero configuration of VOIP (voice over internet protocol) service in POL (polar intelligent control).
Background
A passive Optical Network system generally consists of an Optical Line Terminal (OLT) and an Optical Network Unit (ONU). The system can be applied to an enterprise network and provides Ethernet layer two services for the enterprise network, and is called POL (passive Optical LAN). In the system of POL, OLT is responsible for providing convergence and distribution of two-layer services at the core network side, and ONU is responsible for providing access and convergence of two-layer services at the user side. Meanwhile, in an enterprise network, the ONU device is usually required to support a voip (voice over Internet protocol) function.
Voip (voice over Internet protocol) is a voice call technology that achieves voice calls and multimedia conferences via Internet Protocol (IP), i.e., communication via the Internet. Other informal names are IP phone (IP telephony), Internet phone (Internet telephony), broadband phone (broadband telephony) and broadband phone service (broadband telephone service). Common protocols (Control protocols) for VOIP include h.323, SIP, RTP, etc. The ONU completes registration, session negotiation, conversation and the like with the VOIP server through the protocols. However, it is necessary to configure the VOIP module inside the ONU to work, and currently, the configuration of the key parameters related to VOIP reaches more than 10, which mainly includes: username, phone number, password, voice server address and port, voice foreign agent server address and port, mapping rules, registration period, encoding format, other service enabling switches such as call forwarding, abbreviated dialing, three-way calling, etc. It becomes a difficult problem how to quickly and efficiently configure VOIP traffic for hundreds or even thousands of ONU devices in a POL with so many configurations.
At present, in a passive optical network system, there are 3 ways to configure and manage an ONU, and the first is that an OLT can manage a suspended ONU device through an omci (ONU Management and Control interface) protocol. The format and flow of the OMCI protocol is defined by the ITU-T g.988 specification. The second is that the ONU interacts with a remote ACS (auto Configuration server) server in real time through a TR069 protocol, and receives various configurations issued by the ACS. The third is that the ONU is configured in a WEB page management manner.
With respect to the first configuration scheme through OMCI, the main problem in POL system is that it has to pay a lot of labor and time to set VOIP configuration for each ONU at the management platform of OLT, even many OLTs can only manage configuration through Shell command. And the different commands used by the OLT of each company are different, which undoubtedly increases the difficulty of operation and maintenance greatly. For the second configuration scheme through TR069, it is also necessary to operate each device on the ACS management platform, which is labor-intensive, and a special server host is also required as the ACS server, which also greatly increases the cost. For the third scheme of configuration through a WEB mode, the installation efficiency of the installation and maintenance personnel is greatly reduced, and the operation and maintenance personnel must carry one computer to the site to configure if one thousand pieces of equipment exist, which wastes time and labor. In the current POL networking system, how to perform service configuration quickly and efficiently by hundreds of devices becomes a problem that each ONU manufacturer must solve.
Disclosure of Invention
The embodiment of the invention provides a management method and a device for realizing zero configuration of VOIP service in POL, which solve the technical problems of fussy VOIP configuration and high installation and maintenance difficulty of ONU in the prior art.
In view of the above problems, the embodiments of the present application are proposed to provide a management method and apparatus for implementing zero configuration of VOIP service in POL.
In a first aspect, the present invention provides a management method for implementing zero configuration of VOIP service in POL, where the method includes: obtaining configuration classification according to VOIP service configuration, wherein the configuration classification comprises fixed uniform configuration, user authentication information configuration and external environment related configuration, the fixed uniform configuration is default configuration in which all ONU passive optical networks can be the same and cannot be modified after one-time configuration, the user authentication information configuration is user personal information, and the external environment related configuration is configuration influenced by external network topology environment; and respectively executing corresponding configuration methods according to the configuration classification, wherein the configuration methods are methods capable of automatically generating or acquiring configuration.
Preferably, the executing the corresponding configuration methods according to the configuration classifications respectively is a method capable of automatically generating or acquiring configurations, and includes: when the configuration type is fixed unified configuration, storing a fixed configuration file on an OLT (optical line terminal), wherein the first 12 bytes of the fixed configuration file contain a mark character string which is used for judging the type of the fixed configuration file; and downloading the fixed configuration file by utilizing the OMCI and operating.
Preferably, the executing the corresponding configuration methods according to the configuration classifications respectively is a method capable of automatically generating or acquiring configurations, and includes: when the configuration type is user authentication information configuration, reading an internal SN and an MAC address through the ONU passive optical network; obtaining a first character string according to the internal SN and the MAC address; automatically generating a user authentication configuration according to a first character string by using a formula C ═ EnCry (MD5(A), UserID), wherein A is the first character string, UserID is an ONU internal security code, and EnCry is a 3DES symmetric encryption algorithm; and storing the user authentication configuration C into an ONU internal database.
Preferably, the user authentication configuration C includes a user telephone number and a user password.
Preferably, the user authentication configuration C is 24-digit characters, wherein the first 8 digits are the user telephone number, and the last 16 digits are the user password.
Preferably, the executing the corresponding configuration methods according to the configuration classifications respectively is a method capable of automatically generating or acquiring configurations, and includes: when the configuration type is the external environment related configuration, sending a DHCP Discover message by an Option60 field carried by an ONU passive optical network, and encrypting the Option60 field; the DHCP server receives the DHCP Discover message to carry out decryption authentication, and the VOIP user name password is analyzed; obtaining the address and the port of a voice server according to the VOIP user name password; acquiring a DHCP Offer message according to the voice server address and the port, wherein the DHCP Offer message is an Option120 field comprising the voice server address and the port; and analyzing and obtaining the address and the port of the voice server through an ONU passive optical network according to the DHCP Offer message, and distributing various server address information of the VOIP service.
Preferably, the sending a DHCP Discover message through the ONU passive optical network carrying the Option60 field and encrypting the Option60 field includes: the ONU passive optical network obtains automatically generated VOIP account information from a database, wherein the VOIP account information comprises a user account and a password; obtaining a generation time; obtaining a ciphertext through an encryption algorithm according to the user account and the password; and according to the generation time and the ciphertext, the ONU passive optical network generates encryption information and encrypts the Option60 field.
Preferably, after the address and the port of the voice server are obtained through the ONU passive optical network analysis, the method includes: and the ONU passive optical network stores the address and the port of the voice server to an internal database and initiates voice registration to the VOIP server.
In a second aspect, the present invention provides a management device in a POL for implementing zero configuration of VOIP services, the device comprising:
the first classification unit is used for obtaining configuration classification according to VOIP service configuration, wherein the configuration classification comprises fixed uniform configuration, user authentication information configuration and external environment related configuration, the fixed uniform configuration is default configuration in which all ONU passive optical networks can be the same and cannot be modified after one-time configuration, the user authentication information is configured as user personal information, and the external environment related configuration is configuration influenced by external network topology environment;
the first configuration unit is used for respectively executing corresponding configuration methods according to the configuration classifications, and the configuration methods are methods capable of automatically generating or acquiring configurations.
Preferably, the apparatus further comprises:
a first execution unit, configured to store a fixed configuration file on an OLT optical line terminal when the configuration type is a fixed unified configuration, where a first 12 bytes of the fixed configuration file include a flag character string, and the flag character string is used to determine the type of the fixed configuration file;
and the first downloading unit is used for downloading the fixed configuration file by utilizing the OMCI and operating.
Preferably, the apparatus further comprises:
the first reading unit is used for reading an internal SN and an MAC address through the ONU passive optical network when the configuration type is user authentication information configuration;
a first obtaining unit, configured to obtain a first character string according to the internal SN and the MAC address;
a first generation unit, configured to automatically generate a user authentication configuration according to a first string by using a formula C ═ ency (MD5(a), UserID), where a is the first string, UserID is an ONU internal security code, and ency is a 3DES symmetric encryption algorithm;
a first saving unit for saving the user authentication configuration C to an ONU internal database.
Preferably, the user authentication configuration C includes a user telephone number and a user password.
Preferably, the user authentication configuration C is 24-digit characters, wherein the first 8 digits are the user telephone number, and the last 16 digits are the user password.
Preferably, the apparatus further comprises:
a second execution unit, configured to send a DHCP Discover message by using an Option60 field carried by an ONU passive optical network when the configuration type is external environment related configuration, and encrypt the Option60 field;
the third execution unit is used for receiving the DHCP Discover message by the DHCP server, decrypting and authenticating the DHCP Discover message and analyzing a VOIP user name and a password;
the second obtaining unit is used for obtaining the address and the port of the voice server according to the VOIP user name and the password;
a third obtaining unit, configured to obtain a DHCP Offer message according to the address and the port of the voice server, where the DHCP Offer message is an Option120 field that includes the address and the port of the voice server;
and the fourth obtaining unit is used for obtaining the address and the port of the voice server through ONU passive optical network analysis according to the DHCP Offer message and distributing various server address information of the VOIP service.
Preferably, the apparatus further comprises:
a fifth obtaining unit, configured to obtain, by an ONU passive optical network, automatically generated VOIP account information from a database, where the VOIP account information includes a user account and a password;
a sixth obtaining unit configured to obtain a generation time;
a seventh obtaining unit, configured to obtain a ciphertext through an encryption algorithm according to the user account and the password;
and the first encryption unit is used for generating encryption information by the ONU passive optical network according to the generation time and the ciphertext and encrypting the Option60 field.
Preferably, the apparatus further comprises:
and the fourth execution unit is used for storing the address and the port of the voice server to an internal database by the ONU passive optical network and initiating voice registration to the VOIP server.
In a third aspect, the present invention provides a management device for implementing VOIP service zero configuration in POL, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the following steps: obtaining configuration classification according to VOIP service configuration, wherein the configuration classification comprises fixed uniform configuration, user authentication information configuration and external environment related configuration, the fixed uniform configuration is default configuration in which all ONU passive optical networks can be the same and cannot be modified after one-time configuration, the user authentication information configuration is user personal information, and the external environment related configuration is configuration influenced by external network topology environment; and respectively executing corresponding configuration methods according to the configuration classification, wherein the configuration methods are methods capable of automatically generating or acquiring configuration.
In a fourth aspect, the present invention provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of: obtaining configuration classification according to VOIP service configuration, wherein the configuration classification comprises fixed uniform configuration, user authentication information configuration and external environment related configuration, the fixed uniform configuration is default configuration in which all ONU passive optical networks can be the same and cannot be modified after one-time configuration, the user authentication information configuration is user personal information, and the external environment related configuration is configuration influenced by external network topology environment; and respectively executing corresponding configuration methods according to the configuration classification, wherein the configuration methods are methods capable of automatically generating or acquiring configuration.
One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
according to the management method and the management device for realizing VOIP service zero configuration in the POL, configuration classification is obtained according to VOIP service configuration, and nearly hundreds of configurations in the VOIP service are divided into three categories, including fixed unified configuration, user authentication information configuration and external environment related configuration, wherein the fixed unified configuration is default configuration in which all ONU passive optical networks can be the same and cannot be modified after one-time configuration, the user authentication information configuration is user personal information, and the external environment related configuration is configuration influenced by external network topology environment; and respectively executing corresponding configuration methods according to the configuration classification, wherein the configuration methods are methods capable of automatically generating or acquiring configuration. By carrying out detailed classification on nearly hundreds of complex configuration services and selecting different configuration methods according to different configuration types, the VOIP configuration of the ONU is separated from the current complex OLT OMCI command control and the control of various configuration servers, so that zero configuration is realized, the ONU assembly and maintenance efficiency is improved, assembly and maintenance personnel do not need to care about how to use VOIP configuration commands of various OLTs, a overstaffed TR069 configuration server is not required to be built, and all the configuration ONUs are automatically generated or obtained. Therefore, the technical problems that the VOIP configuration of the ONU is complicated and the installation and maintenance difficulty is high in the prior art are solved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Fig. 1 is a flowchart illustrating a management method for implementing zero configuration of VOIP service in POL according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a management device in a POL for implementing zero configuration of VOIP service in an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a management device in a POL for implementing zero configuration of VOIP service in accordance with another embodiment of the present invention.
Description of reference numerals: a first classification unit 11, a first configuration unit 12, a bus 300, a receiver 301, a processor 302, a transmitter 303, a memory 304, a bus interface 306.
Detailed Description
The embodiment of the invention provides a management method and a device for realizing zero configuration of a VOIP service in POL (policy and authorization) and is used for solving the technical problems of fussy VOIP configuration and high installation and maintenance difficulty of ONU (optical network unit) in the prior art.
The technical scheme provided by the invention has the following general idea:
obtaining configuration classification according to VOIP service configuration, wherein the configuration classification comprises fixed uniform configuration, user authentication information configuration and external environment related configuration, the fixed uniform configuration is default configuration in which all ONU passive optical networks can be the same and cannot be modified after one-time configuration, the user authentication information configuration is user personal information, and the external environment related configuration is configuration influenced by external network topology environment; and respectively executing corresponding configuration methods according to the configuration classification, wherein the configuration methods are methods capable of automatically generating or acquiring configuration. The method achieves the technical effects that nearly hundreds of fussy configuration services are refined and classified, different configuration methods are selected according to different configuration types, all the configured ONUs are automatically generated or obtained, VOIP configuration of the ONUs is separated from the fussy OLT OMCI command control and the control of various configuration servers, so that zero configuration is realized, the ONU assembly and maintenance efficiency is improved, assembly and maintenance personnel do not need to care about how to use VOIP service configuration commands of various OLTs, and a overstaffed TR069 configuration server does not need to be built.
It should be understood that, in the embodiment of the present invention, the SN is an abbreviation of Serial Number, sometimes called SerialNo, that is, a product Serial Number, and the product sequence is a concept introduced for verifying "legal identity of product", and is used to guarantee the legitimate rights and interests of users and enjoy legal services; a set of genuine products corresponds to only one set of product serial numbers. SN code is named separately: machine code, authentication code, registration application code, etc.
It should be understood that, in the embodiment of the present invention, the MAC Address (english: Media Access Control Address) translates into a MAC Address, which is also called a local area network Address (LAN Address), a MAC Address, an Ethernet Address (Ethernet Address) or a Physical Address (Physical Address), and is an Address for confirming the location of the network device. In the OSI model, a third layer network layer is responsible for IP addresses and a second layer data link layer is responsible for MAC addresses. The MAC address is used to uniquely identify a network card in the network, and if one or more network cards exist in a device, each network card needs to have a unique MAC address.
It should be understood that, in the embodiment of the present invention, the DHCP (dynamic host configuration protocol) is a network protocol of a local area network. The method is characterized in that a server controls a segment of lP address range, and a client can automatically obtain the lP address and the subnet mask distributed by the server when logging in the server. By default, DHCP is not automatically installed by the system as a service component of Windows Server, and also requires manual installation by an administrator and necessary configuration.
The technical solutions of the present invention are described in detail below with reference to the drawings and specific embodiments, and it should be understood that the specific features in the embodiments and examples of the present invention are described in detail in the technical solutions of the present application, and are not limited to the technical solutions of the present application, and the technical features in the embodiments and examples of the present application may be combined with each other without conflict.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Example one
Fig. 1 is a flowchart illustrating a management method for implementing zero configuration of VOIP service in POL according to an embodiment of the present invention. As shown in fig. 1, an embodiment of the present invention provides a management method for implementing zero configuration of VOIP service in POL, where the method includes:
step 110: according to VOIP service configuration, obtaining configuration classification, wherein the configuration classification comprises fixed uniform configuration, user authentication information configuration and external environment related configuration, the fixed uniform configuration is default configuration in which all ONU passive optical networks can be the same and cannot be modified after one-time configuration, the user authentication information configuration is user personal information, and the external environment related configuration is configuration influenced by external network topology environment.
Specifically, VOIP service configurations are very complex, and there are nearly hundreds of VOIP configurations, which are classified into detailed configurations, in this embodiment, the VOIP service configurations are classified into three major categories, namely, fixed unified configuration, user authentication information configuration, and external environment related configuration according to the type of the VOIP service configuration, where the external environment related configuration refers to configurations affected by the external network topology environment, such as VOIP server addresses and ports, external proxy server addresses and ports, and the user authentication information configuration refers to user telephone numbers, passwords, and the like. The fixed unified configuration refers to a default configuration in which all ONUs can be the same and are not modified substantially at a later stage after one configuration. Different configuration schemes will be adopted for these 3 configuration class features. In addition, the VOIP server in the POL uses an internal private server, so the user's phone number password is freely configurable.
Step 120: and respectively executing corresponding configuration methods according to the configuration classification, wherein the configuration methods are methods capable of automatically generating or acquiring the configuration, and the configuration methods are methods capable of automatically generating or acquiring the configuration.
Specifically, according to configuration types, different configuration methods are used for different types of configuration characteristics, corresponding configurations are automatically generated or obtained inside all configured ONUs, nearly hundreds of complex service configurations are converted into three types of configurations, the difficulty in maintenance is greatly reduced, the VOIP configuration of the ONUs is separated from the control of the current complex OLT OMCI command and the control of various configuration servers, zero configuration is achieved, the ONU maintenance efficiency is improved, maintenance personnel do not need to care about how to use VOIP service configuration commands of various OLTs, no bulky TR069 configuration servers are needed to be built, and all configurations inside the ONUs are automatically generated or obtained. Therefore, the technical problems that the VOIP configuration of the ONU is complicated and the installation and maintenance difficulty is high in the prior art are solved.
Further, the executing the corresponding configuration methods according to the configuration classifications, respectively, where the configuration methods are methods capable of automatically generating or acquiring configurations, and include: when the configuration type is fixed unified configuration, storing a fixed configuration file on an OLT (optical line terminal), wherein the first 12 bytes of the fixed configuration file contain a mark character string which is used for judging the type of the fixed configuration file; and downloading the fixed configuration file by utilizing the OMCI and operating.
Specifically, the fixed unified configuration ONU is realized by adopting a mode of issuing a configuration file by an OMCI (operation management interface), the principle is that downloading operation is executed by an OMCI Software Image ME, and the downloaded file is not an upgrade file but the configuration file. Because the configuration items are more and the configuration values of each device are the same, for example, switches, voice codes, figure maps and the like of some special services do not need to be modified under most conditions, the configuration method is simple and efficient in configuration, and only one configuration file needs to be stored on the OLT. A special mark character string is put in 12 bytes of a configuration file header, and when downloading is finished, the ONU judges whether the configuration file is an upgrade file or a VOIP (voice over Internet protocol) configuration file according to the 12 bytes of the file header.
Further, the executing the corresponding configuration methods according to the configuration classifications, respectively, where the configuration methods are methods capable of automatically generating or acquiring configurations, and include: when the configuration type is user authentication information configuration, reading an internal SN and an MAC address through the ONU passive optical network; obtaining a first character string according to the internal SN and the MAC address; automatically generating a user authentication configuration according to a first character string by using a formula C ═ EnCry (MD5(A), UserID), wherein A is the first character string, UserID is an ONU internal security code, and EnCry is a 3DES symmetric encryption algorithm; and storing the user authentication configuration C into an ONU internal database.
Further, the user authentication configuration C includes a user phone number and a user password.
Further, the user authentication configuration C is 24-digit characters, wherein the first 8 digits are the user telephone number, and the last 16 digits are the user password.
Specifically, for the independent variable configuration ONU, the configuration automatic generation is realized by adopting an SN + MAC address mapping mode. To ensure the security of the number to the outside, this mapping is implemented by an encryption algorithm. The whole process of configuration generation is as follows: firstly, reading an internal SN and an MAC address by the ONU, and splicing the internal SN and the MAC address to form a new character string A; and then, calculating and automatically generating a user authentication configuration by using a formula C ═ EnCry (MD5(A), UserID), wherein the UserID is an ONU internal security code, the EnCry is a 3DES symmetric encryption algorithm, the first 8 bits of C are taken as a telephone number, the last 16 bits of C are taken as a user code, and the user code is stored in an ONU internal database.
Further, the executing the corresponding configuration methods according to the configuration classifications, respectively, where the configuration methods are methods capable of automatically generating or acquiring configurations, and include: when the configuration type is the external environment related configuration, sending a DHCP Discover message by an Option60 field carried by an ONU passive optical network, and encrypting the Option60 field; the DHCP server receives the DHCP Discover message to carry out decryption authentication, and the VOIP user name password is analyzed; obtaining the address and the port of a voice server according to the VOIP user name password; acquiring a DHCP Offer message according to the voice server address and the port, wherein the DHCP Offer message is an Option120 field comprising the voice server address and the port; and analyzing and obtaining the address and the port of the voice server through an ONU passive optical network according to the DHCP Offer message, and distributing various server address information of the VOIP service.
Specifically, the external environment related configuration is realized by a scheme of redefining an Option field through a DHCP message extension technology, a DHCP client in an ONU carries a voice user name and a password for authentication through an Option60 (Vendor class identifier) when sending Discovery, and encrypts data of the ONU to ensure data security, and a DHCP server carries out decryption authentication on the message, and for an ONU device meeting the condition, the ONU device carries an Option120 in a DHCP Offer reply message to allocate various server address information configurations of VOIP services, and different account numbers can be allocated with different external proxy server addresses to cope with a complex voice server network environment which may be encountered. The whole configuration issuing process is as follows: 1, ONU carries Option60 to send DHCP Discover message; and 2, the DHCP server analyzes the VOIP user name and the password through the acquired message, and searches out the corresponding address and port of the voice server through the database. And 3, adding an Option120 field containing the address and the port of the server into the Offer message of the DHCP reply. And 4, the ONU resolves the Option120 field to obtain the address and the port of the VOIP server. Thereby, the acquisition of the external environment related configuration is realized. The invention also realizes the function of manually modifying the number through special dialing. The requirement that a special number is required for some telephones with special meanings can be met. The ONU can judge that the dialing prefix is an action of modifying the number by identifying the special dialing prefix such as # # #, the number after the prefix is stored in an internal database of the ONU, the VOIP registration is initiated again, and operation and maintenance personnel only need to add the number on a VOIP server.
The data message format of the Option60 is as follows:
name of field Length of Content providing method and apparatus
Code 8 Fixed value 60
Length 8 Length of the whole message
Enterprise Code 16 Enterprise code
Field Type 8 Extended attributes
Field Length 8 Extended field length
Field Value Authenticating encrypted information
The fields for Option120 are defined as follows:
name of field Length of Content providing method and apparatus
Code 8 Fixed value 120
Length 16 Length of the whole message
Enc 8 Encoding format (unused)
Data Data of
Further, the sending of the DHCP Discover message through the ONU passive optical network carrying the Option60 field and the encrypting of the Option60 field include: the ONU passive optical network obtains automatically generated VOIP account information from a database, wherein the VOIP account information comprises a user account and a password; obtaining a generation time; obtaining a ciphertext through an encryption algorithm according to the user account and the password; and according to the generation time and the ciphertext, the ONU passive optical network generates encryption information and encrypts the Option60 field.
Specifically, when sending Discovery, a DHCP client in an ONU carries a voice user name and a password through an Option60 (Vendor class identifier) to perform data encryption as follows: the ONU reads the information of the VOIP account generated automatically from the database: user account (UserID), Password (Password). The user account here refers to a telephone number. And 2, generating a time stamp T by the ONU, wherein the T is defined as a 64-bit integer which is 0 seconds away from the Greenwich mean time in 1970, and forcibly converting an 8-byte long integer, such as complementing 0 when the number of bits is not high enough. 3. And F, splicing the user name and the Password into F ═ UserID + C + Passsword, wherein C is a special character such as a semicolon. The ciphertext SEC is generated as Hash (f), Hash () being a Hash algorithm, here defined as MD 5. 4. With the generation timestamp T and the ciphertext SEC, the ONU generates authentication encryption information field value T + SEC. The data security is ensured by encrypting the data carrying the voice user name and the password.
Further, after the address and the port of the voice server are obtained through the ONU passive optical network analysis, the method includes: and the ONU passive optical network stores the address and the port of the voice server to an internal database and initiates voice registration to the VOIP server.
Specifically, the format of the Data field in the field of the Option120 is a configuration name colon configuration value, such as address: 192.168.8.8; port: 5060, a heat-insulating material; and the ONU analyzes the configuration in the Option and stores the configuration in an internal database and initiates voice registration to the VOIP server.
The embodiment of the invention can meet the rapid and efficient VOIP service construction and various scenes with complex configuration requirements by refining and classifying the configuration, each type of configuration is automatically generated or obtained by a respective special configuration method, zero configuration is realized, a maintainer does not need to care how each ONU device configures the VOIP service, the assembly and maintenance efficiency is greatly improved, the labor cost is greatly reduced, the VOIP service is almost ready-to-use and has strong expansibility for the whole POL, the VOIP configuration of the ONU is separated from the current fussy OLT OMCI command control and the control of various configuration servers so as to realize zero configuration, the ONU assembly and maintenance efficiency is improved, the maintainer does not need to care how to use the VOIP service configuration commands of various OLTs and does not need to build a bloated TR069 configuration server, thereby solving the problem that the VOIP configuration of the ONU in the prior art is fussy, the technical problem of high assembly and maintenance difficulty.
Example two
Based on the same inventive concept as the management method for implementing the zero configuration of the VOIP service in the POL in the foregoing embodiment, the present invention further provides a device for implementing the management method for implementing the zero configuration of the VOIP service in the POL, as shown in fig. 2, the device includes:
a first classification unit 11, where the first classification unit 11 is configured to obtain a configuration classification according to VOIP service configuration, where the configuration classification includes a fixed uniform configuration, a user authentication information configuration, and an external environment related configuration, where the fixed uniform configuration is a default configuration in which all ONU passive optical networks may be the same and may not be modified after one configuration, the user authentication information is configured as user personal information, and the external environment related configuration is a configuration affected by an external network topology environment;
a first configuration unit 12, where the first configuration unit 12 is configured to execute corresponding configuration methods according to the configuration classifications, and the configuration methods are methods capable of automatically generating or acquiring configurations.
Further, the apparatus further comprises:
a first execution unit, configured to store a fixed configuration file on an OLT optical line terminal when the configuration type is a fixed unified configuration, where a first 12 bytes of the fixed configuration file include a flag character string, and the flag character string is used to determine the type of the fixed configuration file;
and the first downloading unit is used for downloading the fixed configuration file by utilizing the OMCI and operating.
Further, the apparatus further comprises:
a first reading unit, configured to read, by the ONU passive optical network, an internal SN and an MAC address when the configuration type is user authentication information configuration;
a first obtaining unit, configured to obtain a first character string according to the internal SN and the MAC address;
a first generation unit, configured to automatically generate a user authentication configuration according to a first string by using a formula C ═ ency (MD5(a), UserID), where a is the first string, UserID is an ONU internal security code, and ency is a 3DES symmetric encryption algorithm;
a first saving unit for saving the user authentication configuration C to an ONU internal database.
Further, the user authentication configuration C includes a user phone number and a user password.
Further, the user authentication configuration C is 24-digit characters, wherein the first 8 digits are the user telephone number, and the last 16 digits are the user password.
Further, the apparatus further comprises:
a second execution unit, configured to send a DHCP Discover message through an Option60 field carried by an ONU passive optical network when the configuration type is external environment related configuration, and encrypt the Option60 field;
the third execution unit is used for receiving the DHCP Discover message by the DHCP server, decrypting and authenticating the DHCP Discover message and analyzing a VOIP user name and a password;
the second obtaining unit is used for obtaining the address and the port of the voice server according to the VOIP user name and the password;
a third obtaining unit, configured to obtain a DHCP Offer message according to the voice server address and the port, where the DHCP Offer message is an Option120 field that includes the voice server address and the port;
and the fourth obtaining unit is used for obtaining the address and the port of the voice server through ONU passive optical network analysis according to the DHCP Offer message and distributing various server address information of the VOIP service.
Further, the apparatus further comprises:
a fifth obtaining unit, configured to obtain, by the ONU passive optical network, automatically generated VOIP account information from a database, where the VOIP account information includes a user account and a password;
a sixth obtaining unit configured to obtain a generation time;
a seventh obtaining unit, configured to obtain a ciphertext through an encryption algorithm according to the user account and the password;
and the first encryption unit is used for generating encryption information by the ONU passive optical network according to the generation time and the ciphertext and encrypting the Option60 field.
Further, the apparatus further comprises:
and the fourth execution unit is used for storing the address and the port of the voice server to an internal database by the ONU passive optical network and initiating voice registration to the VOIP server.
Various changes and specific examples of the management method for implementing the zero configuration of the VOIP service in the POL in the first embodiment of fig. 1 are also applicable to the management device for implementing the zero configuration of the VOIP service in the POL in the present embodiment, and through the foregoing detailed description of the management method for implementing the zero configuration of the VOIP service in the POL, those skilled in the art can clearly know the implementation method of the management device for implementing the zero configuration of the VOIP service in the POL in the present embodiment, so for the sake of brevity of the description, details are not described here again.
EXAMPLE III
Based on the same inventive concept as the management method for implementing the zero configuration of the VOIP service in the POL in the foregoing embodiment, the present invention further provides a management apparatus for implementing the zero configuration of the VOIP service in the POL, on which a computer program is stored, which when executed by a processor implements the steps of any one of the foregoing management methods for implementing the zero configuration of the VOIP service in the POL.
Where in fig. 3 a bus architecture (represented by bus 300), bus 300 may include any number of interconnected buses and bridges, bus 300 linking together various circuits including one or more processors, represented by processor 302, and memory, represented by memory 304. The bus 300 may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface 306 provides an interface between the bus 300 and the receiver 301 and transmitter 303. The receiver 301 and the transmitter 303 may be the same element, i.e., a transceiver, providing a means for communicating with various other apparatus over a transmission medium.
The processor 302 is responsible for managing the bus 300 and general processing, and the memory 304 may be used for storing data used by the processor 302 in performing operations.
One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
according to the management method and the device for realizing VOIP service zero configuration in POL, configuration classification is obtained according to VOIP service configuration, nearly hundreds of configurations in VOIP service are divided into three categories, including fixed unified configuration, user authentication information configuration and external environment related configuration, wherein the fixed unified configuration is default configuration in which all ONU passive optical networks can be the same and cannot be modified after one-time configuration, the user authentication information configuration is user personal information, and the external environment related configuration is configuration influenced by external network topology environment; and respectively executing corresponding configuration methods according to the configuration classification, wherein the configuration methods are methods capable of automatically generating or acquiring configuration. By carrying out detailed classification on nearly hundreds of complex configuration services and selecting different configuration methods according to different configuration types, the VOIP configuration of the ONU is separated from the current complex OLT OMCI command control and the control of various configuration servers, so that zero configuration is realized, the ONU assembly and maintenance efficiency is improved, assembly and maintenance personnel do not need to care about how to use VOIP configuration commands of various OLTs, a overstaffed TR069 configuration server is not required to be built, and all the configuration ONUs are automatically generated or obtained. Therefore, the technical problems that the VOIP configuration of the ONU is complicated and the installation and maintenance difficulty is high in the prior art are solved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention 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 invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. 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.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1. A management method for implementing zero configuration of VOIP services in POL, said method comprising:
obtaining a configuration type according to VOIP service configuration, wherein the configuration type comprises fixed uniform configuration, user authentication information configuration and external environment related configuration, the fixed uniform configuration is that all ONU passive optical networks adopt the same default configuration which cannot be modified after one-time configuration, the user authentication information configuration is user personal information, and the external environment related configuration is the configuration influenced by external network topology environment;
respectively executing corresponding configuration methods according to the configuration types, wherein the configuration methods can automatically generate or acquire configurations;
when the configuration type is fixed unified configuration, storing a fixed configuration file on an OLT (optical line terminal), wherein the first 12 bytes of the fixed configuration file contain a mark character string which is used for judging the type of the fixed configuration file;
downloading the fixed configuration file by using an OMCI (operation management and control interface) and operating;
when the configuration type is user authentication information configuration, reading an internal SN and an MAC address through the ONU passive optical network;
obtaining a first character string according to the internal SN and the MAC address;
according to the first character string, automatically generating User authentication configuration by using a formula C ═ EnCry (MD5(A), User ID), wherein A is the first character string, User ID is an ONU internal security code, and EnCry is a 3DES symmetric encryption algorithm;
storing the user authentication configuration C into an ONU internal database;
and when the configuration type is the external environment related configuration, analyzing and obtaining the address and the port of the voice server through the ONU passive optical network, storing the address and the port of the voice server into an ONU internal database, and initiating voice registration to the VOIP server.
2. The method of claim 1, wherein the user authentication configuration C comprises a user phone number, a user password.
3. The method of claim 2, wherein the user authentication configuration C is a 24-digit character, wherein the first 8 digits are the user telephone number and the last 16 digits are the user password.
4. The method according to claim 1, wherein the executing the corresponding configuration methods respectively according to the configuration types, the configuration methods being methods capable of automatically generating or acquiring configurations, comprises:
when the configuration type is the external environment related configuration, sending a DHCP Discover message by an Option60 field carried by an ONU passive optical network, and encrypting the Option60 field;
the DHCP server receives the DHCP Discover message to carry out decryption authentication, and analyzes a VOIP user name password;
obtaining the address and the port of a voice server according to the VOIP user name password;
acquiring a DHCP Offer message according to the voice server address and the port, wherein the DHCP Offer message is an Option120 field comprising the voice server address and the port;
and analyzing and obtaining the address and the port of the voice server through an ONU passive optical network according to the DHCP Offer message, and distributing various server address information of the VOIP service.
5. The method of claim 4, wherein the sending the DHCP Discover message through the ONU PON carrying the Option60 field and encrypting the Option60 field comprises:
the ONU passive optical network obtains automatically generated VOIP account information from a database, wherein the VOIP account information comprises a user account and a password;
obtaining a generation time;
obtaining a ciphertext through an encryption algorithm according to the user account and the password;
and according to the generation time and the ciphertext, the ONU passive optical network generates encryption information and encrypts the Option60 field.
6. The method of claim 4, wherein after obtaining the voice server address and port through ONU PON parsing, the method comprises:
and the ONU passive optical network stores the address and the port of the voice server to an internal database and initiates voice registration to the VOIP server.
7. A management apparatus for implementing zero configuration of VOIP services in a POL, the apparatus comprising:
the first classification unit is used for obtaining configuration types according to VOIP service configuration, wherein the configuration types comprise fixed uniform configuration, user authentication information configuration and external environment related configuration, the fixed uniform configuration is a default configuration which is the same for all ONU passive optical networks and cannot be modified after one-time configuration, the user authentication information is configured as user personal information, and the external environment related configuration is a configuration influenced by an external network topology environment;
the first configuration unit is used for respectively executing corresponding configuration methods according to the configuration types, and the configuration methods are methods capable of automatically generating or acquiring configurations;
a first execution unit, configured to store a fixed configuration file on an OLT optical line terminal when the configuration type is a fixed unified configuration, where a first 12 bytes of the fixed configuration file include a flag character string, and the flag character string is used to determine the type of the fixed configuration file;
the first downloading unit is used for downloading the fixed configuration file by utilizing an OMCI (operation management interface) and operating;
the first reading unit is used for reading an internal SN and an MAC address through the ONU passive optical network when the configuration type is user authentication information configuration;
a first obtaining unit, configured to obtain a first character string according to the internal SN and the MAC address;
a first generation unit, configured to automatically generate a User authentication configuration according to a first string by using a formula C ═ ency (MD5(a), User ID), where a is the first string, the User ID is an ONU internal security code, and ency is a 3DES symmetric encryption algorithm;
a first saving unit configured to save the user authentication configuration C to an ONU internal database;
a second execution unit, configured to send a DHCP Discover message by using an Option60 field carried by an ONU passive optical network when the configuration type is external environment related configuration, and encrypt the Option60 field;
the third execution unit is used for receiving the DHCP Discover message by the DHCP server, decrypting and authenticating the DHCP Discover message and analyzing a VOIP user name and a password;
the second obtaining unit is used for obtaining the address and the port of the voice server according to the VOIP user name and the password;
a third obtaining unit, configured to obtain a DHCP Offer message according to the voice server address and the port, where the DHCP Offer message is an Option120 field that includes the voice server address and the port;
a fourth obtaining unit, configured to obtain, according to the DHCP Offer message, the address and the port of the voice server through ONU passive optical network analysis, and to allocate address information of various servers of the VOIP service;
a fifth obtaining unit, configured to obtain, by the ONU passive optical network, automatically generated VOIP account information from a database, where the VOIP account information includes a user account and a password;
and the fourth execution unit is used for storing the address and the port of the voice server to an internal database by the ONU passive optical network and initiating voice registration to the VOIP server.
8. A management device in a POL for implementing zero configuration of VOIP services, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the steps of:
obtaining a configuration type according to VOIP service configuration, wherein the configuration type comprises fixed uniform configuration, user authentication information configuration and external environment related configuration, the fixed uniform configuration is that all ONU passive optical networks adopt the same default configuration which cannot be modified after one-time configuration, the user authentication information configuration is user personal information, and the external environment related configuration is the configuration influenced by external network topology environment;
respectively executing corresponding configuration methods according to the configuration types, wherein the configuration methods can automatically generate or acquire configurations;
when the configuration type is fixed unified configuration, storing a fixed configuration file on an OLT (optical line terminal), wherein the first 12 bytes of the fixed configuration file contain a mark character string which is used for judging the type of the fixed configuration file;
downloading the fixed configuration file by using an OMCI (operation management and control interface) and operating;
when the configuration type is user authentication information configuration, reading an internal SN and an MAC address through the ONU passive optical network;
obtaining a first character string according to the internal SN and the MAC address;
according to the first character string, automatically generating User authentication configuration by using a formula C ═ EnCry (MD5(A), User ID), wherein A is the first character string, User ID is an ONU internal security code, and EnCry is a 3DES symmetric encryption algorithm;
storing the user authentication configuration C into an ONU internal database;
and when the configuration type is the external environment related configuration, analyzing and obtaining the address and the port of the voice server through the ONU passive optical network, storing the address and the port of the voice server into an ONU internal database, and initiating voice registration to the VOIP server.
CN201911343992.7A 2019-12-24 2019-12-24 Management method and device for realizing VOIP service zero configuration in POL Active CN110995510B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911343992.7A CN110995510B (en) 2019-12-24 2019-12-24 Management method and device for realizing VOIP service zero configuration in POL

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911343992.7A CN110995510B (en) 2019-12-24 2019-12-24 Management method and device for realizing VOIP service zero configuration in POL

Publications (2)

Publication Number Publication Date
CN110995510A CN110995510A (en) 2020-04-10
CN110995510B true CN110995510B (en) 2022-08-12

Family

ID=70074701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911343992.7A Active CN110995510B (en) 2019-12-24 2019-12-24 Management method and device for realizing VOIP service zero configuration in POL

Country Status (1)

Country Link
CN (1) CN110995510B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047453B (en) * 2006-04-25 2011-04-20 华为技术有限公司 Managing method and system for optical network unit or optical network terminal
AU2010201528A1 (en) * 2009-04-28 2010-11-11 Open Source Communications Pty Ltd Method and system for VOIP PBX configuration
CN102752675B (en) * 2012-07-13 2015-07-01 烽火通信科技股份有限公司 Method for realizing ONU (Optical Network Unit) service automatic opening on OLT (Optical Line Terminal) equipment
CN108173693B (en) * 2017-12-28 2021-07-16 广州芯德通信科技股份有限公司 ONU automatic configuration management method
CN108924675A (en) * 2018-10-15 2018-11-30 深圳市太山科技有限公司 A kind of method and device for realizing long-range management passive optical network based on file

Also Published As

Publication number Publication date
CN110995510A (en) 2020-04-10

Similar Documents

Publication Publication Date Title
EP2866389A1 (en) Method and device thereof for automatically finding and configuring virtual network
KR101548552B1 (en) -069 a module and associated method for -069 object management
US20120297087A1 (en) Method And Apparatus For Message Distribution In A Device Management System
EP2547051B1 (en) Confidential communication method using vpn, a system and program for the same, and memory media for program therefor
EP2439903B1 (en) Method for providing information, home gateway and home network system
US9647876B2 (en) Linked identifiers for multiple domains
WO2015055975A1 (en) Method and apparatus for communicating with an access node
CN106789952B (en) Method and system for serving local area network into internet
US9032083B2 (en) Method and system for efficient use of a telecommunications network and the connection between the telecommunications network and a customer premises equipment
CN104604295B (en) For in a wireless communication system by server management of terminal to the method and its equipment of the access rights of resource
KR20110103461A (en) Method and system for authentication of network nodes of a peer-to-peer network
WO2018039901A1 (en) Method, device and system for ip address allocation, and computer program product
US11166147B2 (en) Roaming among different types of networks
US20040199644A1 (en) Method of assigning a virtual network identifier to a terminal, and a terminal, a dynamic host configuration server, and a directory server for implementing the method
US8954547B2 (en) Method and system for updating the telecommunication network service access conditions of a telecommunication device
CN112929387A (en) Broadband network multiple authentication and encryption method applied to intelligent community
CN110995510B (en) Management method and device for realizing VOIP service zero configuration in POL
WO2020029793A1 (en) Internet access behavior management system, device and method
CN114884771B (en) Identity network construction method, device and system based on zero trust concept
Papadimitriou OSPFv2 Routing Protocols Extensions for Automatically Switched Optical Network (ASON) Routing
US20060056284A1 (en) Secure fallback network device
CN113742701B (en) System and method for opening AR/VR service, gateway device, AR/VR device and storage medium
KR101869584B1 (en) Method and system for cloud-based identity management (c-idm) implementation
CN109962831B (en) Virtual client terminal device, router, storage medium, and communication method
CN104518937B (en) The method and device of the more communication between devices of virtual LAN VLAN

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