CN112468480A - Data association method, device, equipment and computer storage medium - Google Patents

Data association method, device, equipment and computer storage medium Download PDF

Info

Publication number
CN112468480A
CN112468480A CN202011323611.1A CN202011323611A CN112468480A CN 112468480 A CN112468480 A CN 112468480A CN 202011323611 A CN202011323611 A CN 202011323611A CN 112468480 A CN112468480 A CN 112468480A
Authority
CN
China
Prior art keywords
port
onu
data information
data
analysis method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011323611.1A
Other languages
Chinese (zh)
Other versions
CN112468480B (en
Inventor
陈强
刘国刚
张戈
杜长斌
苗大猛
韩雪
张吉
贾金良
王恒石
李娜
尹秉政
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Group Heilongjiang Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Heilongjiang Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Group Heilongjiang Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202011323611.1A priority Critical patent/CN112468480B/en
Publication of CN112468480A publication Critical patent/CN112468480A/en
Application granted granted Critical
Publication of CN112468480B publication Critical patent/CN112468480B/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
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a data association method, a data association device, data association equipment and a computer storage medium. The method comprises the following steps: acquiring port data information through a network management system; determining a target analysis method for the analysis method according to the corresponding relation between the port data information and the analysis method; analyzing the port data information by using the target analysis method; and associating the users according to the data acquired by analysis. According to the data association method, the device, the equipment and the computer medium provided by the embodiment of the invention, the analysis method can be selected according to the port data information, the port data information is analyzed, the obtained analysis data is associated with the user, the equipment state of the user can be inquired, and the user experience is improved.

Description

Data association method, device, equipment and computer storage medium
Technical Field
The present invention relates to the field of network management technologies, and in particular, to a method, an apparatus, a device, and a computer storage medium for data association.
Background
The Point-to-Point Protocol (PPPOE) encapsulates the PPPOE into a network tunnel Protocol in an Ethernet frame. Because the Point-to-Point protocol (PPP) is integrated in the network tunnel protocol, the functions of authentication, encryption, compression and the like which cannot be realized by the conventional ethernet can be realized. And the network tunnel protocol can be used for a protocol system for providing access service to users by an Ethernet protocol, such as a cable modem, a digital subscriber line and the like.
However, the association between PPPOE + internet access data and resource system data is lacking at present. The accuracy is low in the query of the resource system data. And when the user equipment fails, the equipment state of the user is difficult to judge, so that the user experience is reduced.
Disclosure of Invention
Embodiments of the present invention provide a data association method, apparatus, device, and computer storage medium, which can associate PPPOE + internet access data with resource system data, and can query a user's device, thereby improving user experience.
In a first aspect, an embodiment of the present invention provides a data association method, where the method includes:
acquiring port data information through a network management system;
determining a target analysis method for the analysis method according to the corresponding relation between the port data information and the analysis method;
analyzing the port data information by using a target analysis method;
and associating the users according to the data acquired by analysis.
In an alternative embodiment, the network management system includes a remote authentication dial-in user service (RADIUS) system and an Element Management System (EMS) system.
In an optional implementation manner, the port data information includes a broadband remote access server BRAS address, a BRAS aggregation port number, an inner and outer layer VLAN, an optical line terminal OLT address, passive optical network PON port information, and an OLT address, a PON port, an inner and outer layer virtual local area network VLAN, an optical network unit ONU, and ONU port information; acquiring port data information through a network management system, wherein the port data information comprises:
acquiring a BRAS address of a broadband remote access server, a BRAS aggregation port number, an inner-outer-layer vlan, an optical line terminal OLT address and passive optical network PON port information through an RADIUS system;
and acquiring an OLT address, a PON port, an inner-layer virtual local area network VLAN, an optical network unit ONU and ONU port information through an EMS system.
In an optional implementation manner, determining a target analysis method for an analysis method according to a correspondence between port data information and the analysis method includes:
when the port data information comprises preset characters, determining a target analysis method as a first preset analysis method according to the corresponding relation between the port data information and the analysis method;
and when the port data information does not comprise the preset characters, determining the target analysis method as a second preset analysis method according to the corresponding relation between the port data information and the analysis method.
In an optional embodiment, the data obtained by parsing includes a first OLTIP, a first ONU port, and a first ONU; the method for associating the users according to the data acquired by analysis comprises the following steps:
determining whether the first OLTIP is matched with a second OLTIP in a user ticket in the port data information;
when the first OLTIP is matched with the second OLTIP, determining whether the first ONU port is matched with a second ONU port in a user ticket in the port data information;
when the first ONU port is matched with the second ONU port, determining whether the first ONU is matched with the second ONU in the user ticket in the port data information;
associating the data with the user when the first ONU is matched with the second ONU.
In a second aspect, a data association apparatus is provided, including:
the acquisition module is used for acquiring port data information through a network management system;
the selection module is used for determining a target analysis method for the analysis method according to the corresponding relation between the port data information and the analysis method;
the analysis module is used for analyzing the port data information by using a target analysis method;
and the association module is used for associating the user according to the data acquired by analysis.
In an optional implementation manner, the obtaining module is specifically configured to:
acquiring a BRAS address of a broadband remote access server, a BRAS aggregation port number, an inner-outer-layer vlan, an optical line terminal OLT address and passive optical network PON port information through an RADIUS system;
and acquiring an OLT address, a PON port, an inner-layer virtual local area network VLAN, an optical network unit ONU and ONU port information through an EMS system.
In an optional implementation manner, the association module is specifically configured to:
determining whether the first OLTIP is matched with a second OLTIP in a user ticket in the port data information;
when the first OLTIP is matched with the second OLTIP, determining whether the first ONU port is matched with a second ONU port in a user ticket in the port data information;
when the first ONU port is matched with the second ONU port, determining whether the first ONU is matched with the second ONU in the user ticket in the port data information;
associating the data with the user when the first ONU is matched with the second ONU.
In a third aspect, a data association device is provided, the device comprising: a memory for storing a program; a processor, configured to execute a program stored in the memory to perform the data association method provided in the first aspect or any optional implementation manner of the first aspect.
In a fourth aspect, a computer storage medium is provided, on which computer program instructions are stored, and the computer program instructions, when executed by a processor, implement the data association method provided in the first aspect or any optional implementation manner of the first aspect.
According to the data association method, the data association device, the data association equipment and the computer storage medium in the embodiment of the invention, after the port data information is obtained through the network management system, the analysis method can be selected according to the port data information, the port data information is analyzed, and then the obtained analysis data is associated with the user, so that the equipment state of the user can be inquired, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram illustrating a method for data association provided by an embodiment of the present invention;
FIG. 2 is a schematic flow chart diagram illustrating another method for data association provided by an embodiment of the present invention;
FIG. 3 is a schematic flow chart diagram illustrating a further method for data association provided by an embodiment of the present invention;
fig. 4 is a schematic structural diagram illustrating a data association apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram showing an exemplary hardware architecture of the data association device in the embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
First, for the sake of easy understanding, the following sections of the embodiments of the present invention will be described with reference to technical terms.
PPPOE + is a network tunneling protocol that encapsulates point-to-point protocol (PPP) in an Ethernet (Ethernet) framework. Because the PPP protocol is integrated in the protocol, the functions of authentication, encryption, compression and the like which cannot be provided by the traditional Ethernet are realized. It can also be used in cable modem (cable modem) and Digital Subscriber Line (DSL) etc. to provide access service to users in Ethernet protocol.
At present, no analytic method of a relatively scientific system exists for PPPOE + Internet access record reported data, and data are determined and analyzed only by a method of searching for certain data through a fixed key field or a method of manually searching and observing one by one. In the embodiment of the invention, after the port data information is acquired through the network management system, the analysis method can be selected according to the port data information, the port data information is analyzed, the acquired analysis data is associated with the user, the equipment state of the user can be inquired, and the user experience is improved.
Next, for convenience of understanding, the following section of the embodiment of the present invention specifically describes the data association method with reference to fig. 1.
FIG. 1 shows a schematic flow chart of a method of providing data association according to an embodiment of the present invention. As shown in fig. 1, the method comprises the steps of:
s101, port data information is obtained through a network management system.
In one embodiment, the network Management System includes a Remote Authentication Dial In User Service (RADIUS) System and an Element Management System (EMS) System.
The port data information may include a Broadband Remote Access Server (BRAS) address, a BRAS aggregation port number, an Optical Line Terminal (OLT) address, Passive Optical Network (PON) port information, and a Virtual Local Area Network (VLAN), an Optical Network Unit (ONU) address, and ONU port information.
The acquiring port data information through the network management system comprises: the method comprises the steps of obtaining a broadband remote access server BRAS address, a BRAS aggregation port number, inner and outer layer VLAN, an optical line terminal OLT address and passive optical network PON port information through a RADIUS system, and obtaining the OLT address, the PON port, inner and outer layer virtual local area network VLAN, an optical network unit ONU and ONU port information through an EMS system.
S102, determining a target analysis method for the analysis method according to the corresponding relation between the port data information and the analysis method.
The method for determining the target analysis method according to the corresponding relation between the port data information and the analysis method comprises the following steps:
and when the port data information comprises the preset characters, determining the target analysis method as a first preset analysis method according to the corresponding relation between the port data information and the analysis method.
And when the port data information does not comprise the preset characters, determining the target analysis method as a second preset analysis method according to the corresponding relation between the port data information and the analysis method.
In some embodiments, the preset characters include "LAG", and the first preset parsing method is adopted if the first letter of the acquired port data information is "LAG", and the second preset parsing method is adopted if the first letter of the acquired port data information is not "LAG".
In some embodiments, the first preset parsing method includes: identifying and deleting the field '00/0/0: 0.0'; obtaining punctuation marks in port data information; the outer VLAN corresponds to the first ": data between "and the first" -; the inner layer VLAN corresponds to data between the first ". multidot.; OLTIP corresponds to data between the first space and the first "/"; the PON port corresponds to the 1 st, 3 rd and 5 th fields between the first "/" and the sixth "/"; judging whether a seventh '/'; if so, the PWD code corresponds to non-0 data between the sixth and seventh "/", and the SN code corresponds to non-0 data between the seventh "/" and the GP or EP; if not, the SN code corresponds to non-0 data between the sixth "/" and the GP or the EP.
In some embodiments, the second preset parsing method includes: classifying the port data information according to the port type of the port data information, dividing a first segment of letter 'TRUNK' into aggregation ports, and dividing a first segment of letter 'ETH' into physical ports; obtaining punctuation marks in port data information; the outer VLAN corresponds to the first ": data between "and the first" -; the inner layer VLAN corresponds to data between the first space and the second space; OLTIP corresponds to data between the second space and the third "/"; the PON port corresponds to the 1 st, 3 rd and 5 th fields between the third "/" and the eighth "/"; judging whether the non-0 data between the eighth '/' and GP or EP is 10 bits or not; if yes, the non-0 data between the eighth "/" and GP or EP is a password; if not, the non-0 data between the eighth "/" and the GP or the EP is the SN code.
S103, analyzing the port data information by using the target analysis method.
In one example, for ease of understanding, examples will be described in conjunction with tables 1 and 2.
The obtained port data information is:
lag-127:1240.12080 0/0/0:0.010.129.0.179/0/0/2/0/4/000000000000ZTEGB002D584GP
the data obtained by analyzing the data after the first preset analysis method is shown in table 1.
TABLE 1
Figure BDA0002793609270000071
If the obtained port data information is:
trunk 4/0/24:1024.2005 10.129.0.177/0/0/2/0/4/000000000000ZTEGB002D586GP
eth 5/0/2:1011.1024 172.31.47.132/0/0/18/0/0/00000000000000jy2ae
the data obtained by the analysis after the second preset analysis method is shown in table 2.
TABLE 2
Figure BDA0002793609270000072
And S104, associating the user according to the data acquired by analysis.
The data obtained by analysis comprises a first OLTIP, a first ONU port and a first ONU.
Optionally, in an embodiment, associating the user according to the data obtained by parsing includes:
determining whether the first OLTIP is matched with a second OLTIP in a user ticket in the port data information; when the first OLTIP is matched with the second OLTIP, determining whether the first ONU port is matched with a second ONU port in a user ticket in the port data information; when the first ONU port is matched with the second ONU port, determining whether the first ONU is matched with the second ONU in the user ticket in the port data information; associating the data with a user when the first ONU matches the second ONU.
According to the data association method in the embodiment of the invention, after the port data information is acquired through the network management system, the analysis method can be selected according to the port data information, the port data information is analyzed, the acquired analysis data is associated with the user, the equipment state of the user can be inquired, and the user experience is improved.
Based on the data association method shown in fig. 2 in combination with the above-mentioned embodiment of the present invention, fig. 2 is a schematic flowchart of another data association method provided in the embodiment of the present invention. As shown in fig. 2, the data association method 200 may include S201 to S206.
S201, obtaining a user ticket.
S202, determining whether the first OLTIP is matched with a second OLTIP in a user ticket in the port data information, if so, entering the step S202, and if not, entering the step S206.
In this step, the first OLTIP and the second OLTIP in the user ticket are matched to indicate that the first OLTIP and the second OLTIP are in one-to-one correspondence, and if not, the matching is unsuccessful.
S203, determining whether the first ONU port is matched with a second ONU port in a user ticket in the port data information, if so, entering the step S203, otherwise, entering the step S206.
In this step, the first ONU port is matched with the second ONU port in the user ticket, which means that the first ONU port corresponds to the second ONU port one by one, and if not, the matching is unsuccessful.
S204, determining whether the first ONU is matched with a second ONU in a user ticket in the port data information, if so, entering the step S204, otherwise, entering the step S206.
In the step, the first ONU is matched with the second ONU in the user ticket to represent the first ONU
And the ONU and the second ONU are in one-to-one correspondence, and if the ONU and the second ONU are not in correspondence, the matching is unsuccessful.
And S205, completing association.
And S206, recording the account number of the user in the user ticket.
In this step, recording the account number of the user when the matching is unsuccessful includes: if a plurality of oltins are matched, the names and oltins of the plurality of OLTs need to be recorded. If a plurality of ONU ports are matched, a plurality of OLT names, OLTIP, PON, ONUID, ONU ports and ONUIP are required to be recorded. If a plurality of ONUs are matched, a plurality of OLT names, OLTIP, PON, SN, PWD, ONU names, ONUIP, and ONUID need to be matched. If the OLTIP is not matched, recording that the OLTIP is not matched, if the ONU port is not matched, recording that the ONU port is not matched, and if the ONU port is not matched, recording that the ONU is not matched.
In some embodiments, the method further comprises generating a report by the recorded account according to the unmatched reason.
According to the data association method in the embodiment of the invention, after the port data information is obtained through the network management system, the analysis method can be selected according to the port data information, the port data information is analyzed, and then the obtained analysis data is associated with the user, so that the real association relationship between the resource data used by the user for surfing the internet and the equipment in the network management data can be verified, the equipment state of the user can be inquired, and the user experience is improved.
Based on the association method of data shown in fig. 3 in combination with the above-mentioned embodiment of the present invention, fig. 3 is a schematic flowchart of another data association method provided in the embodiment of the present invention. As shown in fig. 3, the data association method 300 may include S301 to S309.
S301, obtaining a user ticket.
S302, determining whether the first OLTIP is not matched with a second OLTIP in a user ticket in the port data information, if so, entering a step S309, and if not, entering a step S303.
In this step, the second OLTIP cannot be found in the OLT data collected by the corresponding local city network manager according to the first OLTIP.
And S303, determining whether the first OLTIP is matched with a second OLTIP in user call tickets in the port data information, if so, entering the step S309, and if not, entering the step S304.
In this step, matching multiple OLTIPs requires listing: OLT name, OLTIP.
S304, determining whether the first ONU port is not matched with a second ONU port in a user ticket in the port data information, if so, entering the step S309, and if not, entering the step S305.
In this step, the port that is the same as the first ONU port cannot be found according to the ONU port information associated with the port table collected by the corresponding city network manager by the OLTIP + PON + oneuid + outer VLAN + inner VLAN.
S305, determining whether the first ONU port is matched with a second ONU port in a user ticket in a plurality of port data messages, if so, entering step S309, and if not, entering step S306.
In this step, according to the port table collected by the corresponding municipal network manager by the OLTIP + PON + ONUID + outer VLAN + inner VLAN, the information of a plurality of ONU ports is matched to be the same as the information of the first ONU port.
S306, determining whether the first ONU is not matched with a second ONU in the user ticket in the port data information, if so, entering the step S309, and if not, entering the step S307.
In the step, the ONU which is the same as the first ONU cannot be matched with the corresponding ONU file which is acquired by the corresponding city network manager according to the OLTIP + PON + PWD/SN.
S307, whether the first ONU is matched with a second ONU in a user ticket in the port data information is determined, if yes, the step S309 is executed, and if not, the step S308 is executed.
In the step, according to the corresponding ONU files collected by OLTIP + PON + PWD/SN in the corresponding city network manager, a plurality of ONUs are matched to be the same as the first ONU.
And S308, completing association and recording the number of successful associations.
And S309, recording the matching failure reason.
In this step, the reason why the matching is unsuccessful is already determined in the above step, so that the record can be directly performed according to the reason why the matching is unsuccessful in the above step. According to the data association method in the embodiment of the invention, after the port data information is obtained through the network management system, the analysis method can be selected according to the port data information, the port data information is analyzed, and then the obtained analysis data is associated with the user, so that the real association relationship between the resource data used by the user for surfing the internet and the equipment in the network management data can be verified, the equipment state of the user can be inquired, and the user experience is improved.
An apparatus according to an embodiment of the present invention will be described in detail below with reference to the accompanying drawings.
Based on the same inventive concept, the embodiment of the invention provides a data association device. Fig. 4 is a schematic structural diagram of a data association apparatus according to an embodiment of the present invention. As shown in fig. 4, the data association apparatus 400 includes an obtaining module 401, a selecting module 402, a parsing module 403, and an associating module 404.
The obtaining module 401 is configured to obtain port data information through a network management system.
The selecting module 402 is configured to determine a target parsing method for the parsing method according to a corresponding relationship between the port data information and the parsing method.
The parsing module 403 is configured to parse the port data information by using a target parsing method.
The association module 404 is configured to associate the user according to the data obtained by parsing.
In some embodiments, the obtaining module 401 is specifically configured to:
acquiring a BRAS address of a broadband remote access server, a BRAS aggregation port number, an inner-outer-layer vlan, an optical line terminal OLT address and passive optical network PON port information through an RADIUS system;
and acquiring an OLT address, a PON port, an inner-layer virtual local area network VLAN, an optical network unit ONU and ONU port information through an EMS system.
In some embodiments, the association module 404 is specifically configured to:
determining whether the first OLTIP is matched with a second OLTIP in a user ticket in the port data information;
when the first OLTIP is matched with the second OLTIP, determining whether the first ONU port is matched with a second ONU port in a user ticket in the port data information;
when the first ONU port is matched with the second ONU port, determining whether the first ONU is matched with the second ONU in the user ticket in the port data information;
associating the data with the user when the first ONU is matched with the second ONU.
In some embodiments, the network management system includes a Remote Authentication Dial In User Service (RADIUS) system and an Element Management System (EMS) system.
In some embodiments, the port data information includes a broadband remote access server BRAS address, a BRAS aggregation port number, an optical line terminal OLT address, and passive optical network PON port information, and an inner and outer layer virtual local area network VLAN, an optical network unit ONU address, and ONU port information.
In some embodiments, obtaining port data information via the network management system comprises: the method comprises the steps of obtaining a broadband remote access server BRAS address, a BRAS aggregation port number, inner and outer layer VLAN, an optical line terminal OLT address and passive optical network PON port information through a RADIUS system, and obtaining the OLT address, the PON port, inner and outer layer virtual local area network VLAN, an optical network unit ONU and ONU port information through an EMS system.
In some embodiments, determining a target parsing method for the parsing method according to the correspondence between the port data information and the parsing method includes:
and when the port data information comprises the preset characters, determining the target analysis method as a first preset analysis method according to the corresponding relation between the port data information and the analysis method.
And when the port data information does not comprise the preset characters, determining the target analysis method as a second preset analysis method according to the corresponding relation between the port data information and the analysis method.
In some embodiments, the preset characters include "LAG", and the first preset parsing method is adopted if the first letter of the acquired port data information is "LAG", and the second preset parsing method is adopted if the first letter of the acquired port data information is not "LAG".
In some embodiments, the first preset parsing method includes: identifying and deleting the field '00/0/0: 0.0'; obtaining punctuation marks in port data information; the outer VLAN corresponds to the first ": data between "and the first" -; the inner layer VLAN corresponds to data between the first ". multidot.; OLTIP corresponds to data between the first space and the first "/"; the PON port corresponds to the 1 st, 3 rd and 5 th fields between the first "/" and the sixth "/"; judging whether a seventh '/'; if so, the PWD code corresponds to non-0 data between the sixth and seventh "/", and the SN code corresponds to non-0 data between the seventh "/" and the GP or EP; if not, the SN code corresponds to non-0 data between the sixth "/" and the GP or the EP.
In some embodiments, the second preset parsing method includes: classifying the port data information according to the port type of the port data information, dividing a first segment of letter 'TRUNK' into aggregation ports, and dividing a first segment of letter 'ETH' into physical ports; obtaining punctuation marks in port data information; the outer VLAN corresponds to the first ": data between "and the first" -; the inner layer VLAN corresponds to data between the first space and the second space; OLTIP corresponds to data between the second space and the third "/"; the PON port corresponds to the 1 st, 3 rd and 5 th fields between the third "/" and the eighth "/"; judging whether the non-0 data between the eighth '/' and GP or EP is 10 bits or not; if yes, the non-0 data between the eighth "/" and GP or EP is a password; if not, the non-0 data between the eighth "/" and the GP or the EP is the SN code.
According to the data association device provided by the embodiment of the invention, after the port data information is obtained through the network management system, the analysis method can be selected according to the port data information, the port data information is analyzed, and then the obtained analysis data is associated with the user, so that the real association relationship between the resource data used by the user for surfing the internet and the equipment in the network management data can be verified, the equipment state of the user can be inquired, and the user experience is improved.
Fig. 5 is a block diagram of an exemplary hardware architecture of a data association device in an embodiment of the present invention.
As shown in fig. 5, the data association device 500 includes an input device 501, an input interface 502, a central processor 503, a memory 504, an output interface 505, and an output device 504. The input interface 502, the central processing unit 503, the memory 504, and the output interface 505 are connected to each other through the bus 10, and the input device 501 and the output device 504 are connected to the bus 510 through the input interface 502 and the output interface 505, respectively, and further connected to other components of the data association device 500.
Specifically, the input device 501 receives input information from the outside and transmits the input information to the central processor 503 through the input interface 502; the central processor 503 processes input information based on computer-executable instructions stored in the memory 504 to generate output information, temporarily or permanently stores the output information in the memory 504, and then transmits the output information to the output device 504 through the output interface 505; the output device 504 outputs the output information to the outside of the data association device 500 for use by the user.
That is, the data association apparatus shown in fig. 5 may also be implemented to include: a memory storing computer-executable instructions; and a processor which, when executing computer executable instructions, may implement the method of the data association device described in connection with fig. 1-3.
In one embodiment, the data association device 500 shown in fig. 5 may be implemented as a device that may include: a memory for storing a program; a processor for executing the program stored in the memory to perform the data association method of the embodiment of the present invention.
The embodiment of the invention also provides a computer storage medium, wherein computer program instructions are stored on the computer storage medium, and when being executed by a processor, the computer program instructions realize the data association method of the embodiment of the invention.
It is to be understood that the invention is not limited to the specific arrangements and instrumentality described above and shown in the drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications and additions or change the order between the steps after comprehending the spirit of the present invention.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic Circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the exemplary embodiments mentioned in this patent describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
Aspects of the present disclosure are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations 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, 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, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware for performing the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As described above, only the specific embodiments of the present invention are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present invention, and these modifications or substitutions should be covered within the scope of the present invention.

Claims (10)

1. A method of data association, comprising:
acquiring port data information through a network management system;
determining a target analysis method for the analysis method according to the corresponding relation between the port data information and the analysis method;
analyzing the port data information by using the target analysis method;
and associating the users according to the data acquired by analysis.
2. The method of claim 1, wherein the network management system comprises a Remote Authentication Dial In User Service (RADIUS) system and an Element Management System (EMS) system.
3. The method according to claim 1 or 2, wherein the port data information comprises broadband remote access server BRAS address, BRAS aggregation port number, optical line terminal OLT address and passive optical network PON port information, and inner and outer layer virtual local area network VLAN, optical network unit ONU and ONU port information; acquiring port data information through a network management system, wherein the port data information comprises:
acquiring a BRAS address of a broadband remote access server, a BRAS aggregation port number, an inner-outer-layer vlan, an optical line terminal OLT address and passive optical network PON port information through an RADIUS system;
and acquiring an OLT address, a PON port, an inner-layer virtual local area network VLAN, an optical network unit ONU and ONU port information through an EMS system.
4. The method according to claim 1, wherein the determining a target parsing method for a parsing method according to the correspondence between the port data information and the parsing method comprises:
when the port data information comprises preset characters, determining that the target analysis method is a first preset analysis method according to the corresponding relation between the port data information and the analysis method;
and when the port data information does not comprise preset characters, determining that the target analysis method is a second preset analysis method according to the corresponding relation between the port data information and the analysis method.
5. The method of claim 1, wherein the data obtained by parsing comprises a first OLTIP, a first ONU port, and a first ONU; the associating the user according to the data obtained by analyzing comprises the following steps:
determining whether the first OLTIP is matched with a second OLTIP in a user ticket in the port data information;
when the first OLTIP is matched with the second OLTIP, determining whether the first ONU port is matched with a second ONU port in a user ticket in the port data information;
when the first ONU port is matched with the second ONU port, determining whether the first ONU is matched with the second ONU in the user ticket in the port data information;
associating the data with a user when the first ONU matches the second ONU.
6. An apparatus for data association, comprising:
the acquisition module is used for acquiring port data information through a network management system;
the selection module is used for determining a target analysis method for the analysis method according to the corresponding relation between the port data information and the analysis method;
the analysis module is used for analyzing the port data information by using the target analysis method;
and the association module is used for associating the user according to the data acquired by analysis.
7. The apparatus of claim 6, wherein the obtaining module is specifically configured to:
acquiring a BRAS address of a broadband remote access server, a BRAS aggregation port number, an inner-outer-layer vlan, an optical line terminal OLT address and passive optical network PON port information through an RADIUS system;
and acquiring an OLT address, a PON port, an inner-layer virtual local area network VLAN, an optical network unit ONU and ONU port information through an EMS system.
8. The apparatus of claim 6, wherein the association module is specifically configured to:
determining whether the first OLTIP is matched with a second OLTIP in a user ticket in the port data information;
when the first OLTIP is matched with the second OLTIP, determining whether the first ONU port is matched with a second ONU port in a user ticket in the port data information;
when the first ONU port is matched with the second ONU port, determining whether the first ONU is matched with the second ONU in the user ticket in the port data information;
associating the data with a user when the first ONU matches the second ONU.
9. A data association device, the device comprising:
a memory for storing a program;
a processor for executing the program stored in the memory to perform the data association method of any one of claims 1 to 5.
10. A computer storage medium having computer program instructions stored thereon which, when executed by a processor, implement the data association method of any one of claims 1 to 5.
CN202011323611.1A 2020-11-23 2020-11-23 Data association method, device, equipment and computer storage medium Active CN112468480B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011323611.1A CN112468480B (en) 2020-11-23 2020-11-23 Data association method, device, equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011323611.1A CN112468480B (en) 2020-11-23 2020-11-23 Data association method, device, equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN112468480A true CN112468480A (en) 2021-03-09
CN112468480B CN112468480B (en) 2023-04-07

Family

ID=74798592

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011323611.1A Active CN112468480B (en) 2020-11-23 2020-11-23 Data association method, device, equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN112468480B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116094869A (en) * 2023-01-05 2023-05-09 中国联合网络通信集团有限公司 Corresponding relation generation method and device, server and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064616A (en) * 2006-04-28 2007-10-31 华为技术有限公司 Network charging method, system and equipment
CN102546285A (en) * 2011-07-13 2012-07-04 周利 Port maintenance information inquiry system for broadband metropolitan area network
US20120170448A1 (en) * 2009-09-23 2012-07-05 Zte Corporation Method and Network System for Implementing User Port Orientation in Multi-Machine Backup Scenario of Broadband Remote Access Server
WO2012163205A1 (en) * 2011-07-04 2012-12-06 华为技术有限公司 Method, optical network device, and system for acquiring association relationship between pon ports
CN103428012A (en) * 2012-05-17 2013-12-04 中兴通讯股份有限公司 Configuration method and network element management system of passive optical network service
WO2014043032A1 (en) * 2012-09-11 2014-03-20 Mcafee Incorporated System and method for routing selected network traffic to a remote network security device in a network environment
CN107181988A (en) * 2017-06-05 2017-09-19 浪潮通信信息系统有限公司 A kind of multidimensional data verifies method, mobile phone and the system of broadband account
EP3285411A1 (en) * 2015-03-26 2018-02-21 ZTE Corporation Method and apparatus for distributing optical network unit service information and optical line terminal
CN110493669A (en) * 2019-07-17 2019-11-22 中国移动通信集团黑龙江有限公司 Internet resources check method, apparatus, equipment and computer storage medium
CN110830271A (en) * 2018-08-07 2020-02-21 中国移动通信集团湖南有限公司 Method and device for realizing automatic association and update of homer and guest resource data
CN111865628A (en) * 2019-04-25 2020-10-30 中国移动通信集团河北有限公司 Statistical system, method, server and storage medium for influencing user by home wide fault

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064616A (en) * 2006-04-28 2007-10-31 华为技术有限公司 Network charging method, system and equipment
US20120170448A1 (en) * 2009-09-23 2012-07-05 Zte Corporation Method and Network System for Implementing User Port Orientation in Multi-Machine Backup Scenario of Broadband Remote Access Server
WO2012163205A1 (en) * 2011-07-04 2012-12-06 华为技术有限公司 Method, optical network device, and system for acquiring association relationship between pon ports
US20140178074A1 (en) * 2011-07-04 2014-06-26 Huawei Technologies Co., Ltd. Method for acquiring pon port association relationship, optical network device, and optical network system
CN102546285A (en) * 2011-07-13 2012-07-04 周利 Port maintenance information inquiry system for broadband metropolitan area network
CN103428012A (en) * 2012-05-17 2013-12-04 中兴通讯股份有限公司 Configuration method and network element management system of passive optical network service
WO2014043032A1 (en) * 2012-09-11 2014-03-20 Mcafee Incorporated System and method for routing selected network traffic to a remote network security device in a network environment
EP3285411A1 (en) * 2015-03-26 2018-02-21 ZTE Corporation Method and apparatus for distributing optical network unit service information and optical line terminal
CN107181988A (en) * 2017-06-05 2017-09-19 浪潮通信信息系统有限公司 A kind of multidimensional data verifies method, mobile phone and the system of broadband account
CN110830271A (en) * 2018-08-07 2020-02-21 中国移动通信集团湖南有限公司 Method and device for realizing automatic association and update of homer and guest resource data
CN111865628A (en) * 2019-04-25 2020-10-30 中国移动通信集团河北有限公司 Statistical system, method, server and storage medium for influencing user by home wide fault
CN110493669A (en) * 2019-07-17 2019-11-22 中国移动通信集团黑龙江有限公司 Internet resources check method, apparatus, equipment and computer storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
""TR-092"", 《3GPP TSG_CT\WG3_INTERWORKING_EX-CN3》 *
WEN-CHE YANG等: ""ervice rate test mechanism and management of broadband access network"", 《013 15TH ASIA-PACIFIC NETWORK OPERATIONS AND MANAGEMENT SYMPOSIUM (APNOMS)》 *
梁娟: ""通过OMCI配置ONU宽带上网业务的技术研究"", 《光通信技术》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116094869A (en) * 2023-01-05 2023-05-09 中国联合网络通信集团有限公司 Corresponding relation generation method and device, server and storage medium
CN116094869B (en) * 2023-01-05 2024-04-09 中国联合网络通信集团有限公司 Corresponding relation generation method and device, server and storage medium

Also Published As

Publication number Publication date
CN112468480B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN103763129B (en) A kind of PCIe equipment management method and device
US7602734B2 (en) Methods, systems and computer-readable media for dynamically recognizing and processing service order types in a network management system
US10154324B2 (en) Method and system for updating optical distribution network (ODN) device by using intelligent management terminal
CN111651784A (en) Log desensitization method, device, equipment and computer readable storage medium
RU2011142328A (en) SECURITY CARD PROTECTION SYSTEM
CN111865628B (en) Statistical system, method, server and storage medium for influencing user by home wide fault
CN112468480B (en) Data association method, device, equipment and computer storage medium
CN111597527A (en) Intelligent contract system based on redis protocol
CN106230602A (en) The integrity detection system of the certificate chain of digital certificate and method
CN107635221A (en) A kind of car-mounted terminal identifying processing method and device
CN105989457A (en) Information query method and apparatus thereof
CN111328067B (en) User information checking method, device, system, equipment and medium
CN113098823B (en) Weak password detection method, device, equipment and medium
CN110572278B (en) Method and device for positioning information of three-layer gateway of metropolitan area network
US10762238B2 (en) Ascertaining network devices used with anonymous identifiers
CN115718676A (en) Method and system for recovering electronic data of GoIP equipment
CN114553819B (en) IPv6 address identification method and device
CN107026739B (en) Note signature authentication method and device
CN111783804B (en) Abnormal ticket determining method, device, equipment and storage medium
US20100054238A1 (en) Telecommunication network, network node device, and routing method
CN114637554A (en) Interface calling method, device, equipment and storage medium
CN105468640B (en) A kind of information processing method and device
CN108429626B (en) Method, device and system for presenting network topology
CN109743188A (en) Daily record data treating method and apparatus
US20080168031A1 (en) Method and system for ascertaining whether multiple radios are associated with a single wireless device

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