CN106330969A - Method for recognizing messages in CMC system in CM online process - Google Patents

Method for recognizing messages in CMC system in CM online process Download PDF

Info

Publication number
CN106330969A
CN106330969A CN201610933101.3A CN201610933101A CN106330969A CN 106330969 A CN106330969 A CN 106330969A CN 201610933101 A CN201610933101 A CN 201610933101A CN 106330969 A CN106330969 A CN 106330969A
Authority
CN
China
Prior art keywords
message
cmc
messages
tftp
mac
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
CN201610933101.3A
Other languages
Chinese (zh)
Other versions
CN106330969B (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.)
Chengdu Guangda Hengji Communication Technology Co., Ltd
Original Assignee
Chengdu Guangda New Network 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 Chengdu Guangda New Network Technology Co Ltd filed Critical Chengdu Guangda New Network Technology Co Ltd
Priority to CN201610933101.3A priority Critical patent/CN106330969B/en
Publication of CN106330969A publication Critical patent/CN106330969A/en
Application granted granted Critical
Publication of CN106330969B publication Critical patent/CN106330969B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • H04L12/4645Details on frame tagging
    • H04L12/4666Operational details on the addition or the stripping of a tag in a frame, e.g. at a provider edge node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a method for recognizing messages in a CMC system in a CM online process. The method comprises the steps that all messages, except DHCP messages, with the source address being a CM or the destination address being the CM are recognized as TFTP messages; then, the messages are subjected to VLAN Tag treatment, VLAN Tags are added for upstream messages, VLAN Tags are deleted for downstream messages, and thus TFTP interaction between the CM and a configuration server is completed, and configuration files needed by initialization of the CM are downloaded. According to the method, the content of TFTP messages does not need to deeply analyzed, source MAC or destination MAC information in message heads is extracted to be compared with MAC addresses recorded in CM information sheet items, messages with the same MAC and without VLAN Tags are recognized as the TFTP messages, the processing logic is simple and easy to achieve, and the forwarding performance of CMC is not influenced.

Description

Packet identification method during CM reaches the standard grade in a kind of CMC system
Technical field
The present invention relates to data communication technology field, particularly relate to the message during CM reaches the standard grade in a kind of CMC system and know Other method.
Background technology
CMC original text is " Cable Media Convert ", wire cable medium conversion equipment.It is C-DOCSIS system In headend.
CM original text is " Cable Modem ", cable modem.It is responsible for connecting PC and the hfc plant of user, to network It is modulated with user data/demodulates and transmit, it is achieved network and the two-way interactive of user data.
DOCSIS original text is " Data-over-Cable Service Interface Specification ", cable count According to business interface specification, its basic function is transparent transmission IP message between head end and user side equipment.
HFC original text is " Hybrid Fiber Coaxial ", optical fiber-coaxial cable hybrid network.
C-DOCSIS original text is " China DOCSIS ", the standard that DOCSIS generates in China's evolution, can be simply viewed as Being a subset of DOCSIS system, C-DOCSIS system is by C-DOCSIS head end, C-DOCSIS terminal, configuration system and network Management system forms, and is mainly used in Broadcast and TV system network.
C-DOCSIS head end connects Coaxial distribution network network and aggregation networks, is responsible for the data between them and forwards, by converging The configuration system of poly-network insertion operator and NMS.
C-DOCSIS terminal unit connects Coaxial distribution network network and the subscriber equipment of operator, is responsible for the data between them Forward.
C-DOCSIS configuration system provides business and the equipment configuration service of C-DOCSIS system, it is achieved CM configuration file Generate, issue, the function such as terminal software upgrading, including Dynamic Host Configuration Protocol server, profile service device etc..Configuration system and CM and CPE may be in the network of the different physics network segments.
C-DOCSIS system initialization mainly includes two parts, be first that head end CMC completes substantially to initialize, afterwards CM Initialization is reached the standard grade to be needed to carry out repeatedly just being finally completed alternately with head end CMC and configuration service device.The initialization of CM is reached the standard grade bag Include following 5 basic steps:
The scanning of 1.CM downlink channel and CMC DL synchronization stream.
Line parameter in 2.CMC acquisition.
3.CMC finds range, and is automatically adjusted physical parameter adaptive with CM.
4.CM sets up IP and connects (as shown in Figure 1).
5.CM registers.
Step 1-3 is that hardware radio-frequency module is automatically performed, and 4,5 complete for software system.
Step 4 is set up IP and is connected as present invention is primarily concerned with content.IP connection procedure includes following two parts:
CM, by mutual with the Dynamic Host Configuration Protocol server in configuration system, obtains IP address, gateway address, CM profile service device and Filename.
CM, after obtaining IP address, downloads CM configuration file by TFTP from configuration service device, and this configuration file ensures CM Normally work after reaching the standard grade.
In actual application scenarios, due to configuration system and CM may not at a VLAN, between may be through two layers of friendship Change aggregation networks, then CM sets up DHCP, TFTP message mutual with configuration service device in IP connection procedure needs its institute of labelling The VLAN ID belonged to, proper communication could complete to connect, and the place reason head end CMC of this part completes.
Head end CMC needs to identify DHCP, TFTP message that CM is sent to configuration service device, and interpolation comprises correct VLAN The VLAN TAG of ID, then needs to divest VLAN TAG on CMC response to DHCP, TFTP message of CM for configuration service device After be sent to CM.
DHCP message recognition methods: UDP message and destination slogan are 68 or 69, CMC software analytic message process is relative Simply;Although TFTP is also UDP message, but the request message destination slogan sent except client is fixed as 69, but follow-up TFTP information transmission message and ACK message port numbers the most fixing, each TFTP connect dynamically distributed by tftp server. So except first TFTP request message identification is simple, follow-up TFTP information transmission and ACK message are relative complex.Common Method is exactly to record client source port numbers and the source port number of tftp server end distribution that each TFTP connects, if CM is relatively Many, the TFTP of CMC software solution new record connects number to be increased the most therewith, and not only resolving is complex, and owing to message is known Other process is that every message will perform, and also can reduce the forwarding performance of CMC.
Summary of the invention
For solving the problems referred to above, the invention provides the packet identification method during CM reaches the standard grade in a kind of CMC system.
Described system includes carrier network, switch, CMC, HFC, some CM being connected by HFC with CMC;Operator Network, switch, CMC, HFC, CM are sequentially connected with, it is characterised in that in described CMC, storage has a CM information table, described CM Information table storage has the mac address information of each CM.
Said method includes uplink message transmission flow, and this flow process comprises the steps:
Step one: certain or some CM initialize, and send uplink message to CMC.
Step 2: CMC receives uplink message, sequentially performs each uplink message to operate as follows:
Step 2.1: the source MAC obtained in uplink message head is compared one by one with the mac address information in CM information table, sentences Whether this source MAC disconnected is the MAC Address of certain CM, the most then perform subsequent step, otherwise continue up transmission.
Step 2.2: judge whether this uplink message has VLAN Tag, without being then considered as TFTP message, and performs Step 2.3.
Step 2.3: to VLAN Tag belonging to tftp server on this uplink message labelling, continue up transmission;
Step 3: repeated execution of steps two, until having traveled through all uplink messages.
Further, step 2.2 is particularly as follows: carry out type judgement to uplink message, it is judged that method is: first determine whether on this Row message the most labelling VLAN Tag, and if the most labeled; would illustrate be this message be DHCP message, continue up transmission And no longer perform subsequent step, then it is considered as TFTP message without VLAN Tag, and performs step 2.3.
Further, described method includes downlink data transmission flow, comprises the steps:
Step one: CMC receives downlink message, sequentially performs each downlink message to operate as follows:
Step 1.1: the target MAC (Media Access Control) address in downlink message head is compared one by one with the MAC in CM information table, it is judged that this purpose Whether MAC Address is the MAC Address of certain CM, the most then be considered to be sent to the management message of corresponding CM, continue executing with Step 3, otherwise continues directly to up transmission.
Step 1.2: check whether this downlink message comprises VLAN Tag, if comprising, deleting VLAN Tag, then holding Row step 4, otherwise performs step 4.
Step 1.3: continue to send this downlink message.
Step 2: repeated execution of steps 1, until having traveled through all downlink messages.
Further, described CM connects Set Top Box and/or computer and/or mobile phone.
The invention have the benefit that
The present invention is directed to prior art CM and reach the standard grade that to set up IP connection procedure software identification TFTP message process complicated and can affect head The problem of end CMC forwarding performance, it is provided that a kind of simplify TFTP message knows method for distinguishing, i.e. need not solve as prior art Analyse message content, keep track of each TFTP connectivity port information, but the message except DHCP is all identified as TFTP report Literary composition, then carries out VLAN Tag process to message, and uplink message adds VLAN Tag, descending deletion VLAN Tag.The method is not Need message content is deeply resolved, but take out the source MAC in heading or purpose MAC information and remember in CM information table The MAC Address of record compares, and MAC is identical and is then identified as TFTP message without VLAN Tag, processes logic and the most easily realizes, and right CMC forwarding performance is without impact.
Accompanying drawing explanation
Fig. 1 is the flow chart of prior art.
Fig. 2 is CMC system structure schematic diagram.
Fig. 3 is uplink message transmission flow figure.
Fig. 4 is downlink message transmission flow figure.
Detailed description of the invention
It is illustrated in figure 2 the organigram of CMC system in prior art.Described system includes carrier network, exchange Machine, CMC, HFC (Hybrid Fiber-Coaxial, hybrid fiber coax), some it is connected by HFC with CMC CM.Described CM connects STB(Set-Top-Box, Set Top Box) and/or the terminal unit that can network such as PC and/or mobile phone.Fortune Battalion's business's network, switch, CMC, HFC, CM are sequentially connected with.From CM or the terminal unit that is connected with CM to the number of carrier network Being up direction according to transmission direction, the message of transmission is uplink message, otherwise is then down direction, and the message of transmission is descending report Literary composition.
Unlike the prior art, prestore in described CMC a CM information table, and described CM information table have recorded this All CM relevant information including MAC under CMC.This table can be created by DHCP software module.
CM sets up in IP connection procedure and can send uplink message to the configuration system of operator, including DHCP request reaching the standard grade Ask with TFTP.First the Dynamic Host Configuration Protocol server that CM sends in DHPC request message, with configuration system to configuration system completes alternately And for CM distribute IP address, then CM to configuration system configuration service device send TFTP request message to obtain configuration file, Configuration service device then sends configuration file (downlink message) to CM after receiving up TFTP request message, and CM is receiving Configuring after configuration file and register, CM initialization of reaching the standard grade completes after the registration is finished.
Use the technology design of the present invention, the processing method of uplink message included step as shown in Figure 3:
Step one: certain or some CM initialize, and send uplink message to CMC.
Step 2: CMC receives uplink message, sequentially performs each uplink message to operate as follows:
Step 2.1: the source MAC obtained in uplink message head is compared one by one with the mac address information in CM information table, sentences Whether this source MAC disconnected is the MAC Address of certain CM, the most then perform subsequent step, otherwise continue up transmission.
Step 2.2: judge whether this uplink message has VLAN Tag, without being then considered as TFTP message, and performs Step 2.3.
This step can be specifically described as: uplink message is carried out type judgement, it is judged that method is: first determine whether that this is up Message the most labelling VLAN Tag, and if the most labeled; would illustrate be this message be DHCP message, continue up transmission and No longer perform subsequent step, be then considered as TFTP message without VLAN Tag,
Step 2.3: to VLAN Tag belonging to tftp server on this uplink message labelling, continue up transmission;
Step 3: repeated execution of steps two, until having traveled through all uplink messages.
The uplink message that CM sends during reaching the standard grade includes DHCP message, TFTP message, the present invention and prior art It is that in place of difference that the uplink message by CM sends the most simply divides into DHCP message, non-DHCP message, and all non- DHCP message is all thought into TFTP message by simple.Advantage of this is that the most efficiently, although likely in this process In have the message of remaining kind that CM sends and be interpreted as TFTP message and sent tftp server, but tftp server will not It is carried out any process, only processes real TFTP message, do not interfere with the initialization of CM.
Use the technology design of the present invention, the processing method of downlink message included step as shown in Figure 4:
Step one: CMC receives downlink message, sequentially performs each downlink message to operate as follows:
Step 1.1: the target MAC (Media Access Control) address in downlink message head is compared one by one with the MAC in CM information table, it is judged that this purpose Whether MAC Address is the MAC Address of certain CM, the most then be considered to be sent to the management message of corresponding CM, continue executing with Step 3, otherwise directly directly performs step 4.
If target MAC (Media Access Control) address is not the address of CM, then it is assumed that be destined to be connected with CM can on-line customer's terminal set Standby message, does not processes this kind of message.
Step 1.2: check whether this downlink message comprises VLAN Tag, if comprising, deleting VLAN Tag, then holding Row step 4, otherwise continues directly to up transmission.
Step 1.3: continue to send this downlink message.
Step 2: repeated execution of steps 1, until having traveled through all downlink messages.
To the processing mode of downlink message similarly to the prior art.The realization of each step above-mentioned can be by operating in Software inside CMC realizes.

Claims (4)

1. the packet identification method during CM reaches the standard grade in CMC system, described system include carrier network, switch, CMC, HFC, some CM being connected by HFC with CMC;Carrier network, switch, CMC, HFC, CM are sequentially connected with, its feature Being, in described CMC, storage has a CM information table, described CM information table storage to have the mac address information of each CM, described side Method includes uplink message transmission flow, and this flow process comprises the steps:
Step one: certain or some CM initialize, and send uplink message to CMC;
Step 2: CMC receives uplink message, sequentially performs each uplink message to operate as follows:
Step 2.1: the source MAC obtained in uplink message head is compared one by one with the mac address information in CM information table, sentences Whether this source MAC disconnected is the MAC Address of certain CM, the most then perform subsequent step, otherwise continue up transmission;
Step 2.2: judge whether this uplink message has VLAN Tag, without being then considered as TFTP message, and performs step 2.3;
Step 2.3: to VLAN Tag belonging to tftp server on this uplink message labelling, continue up transmission;
Step 3: repeated execution of steps two, until having traveled through all uplink messages.
2. the simple packet identification method during CM reaches the standard grade in CMC system as claimed in claim 1, it is characterised in that step Rapid 2.2 particularly as follows: carry out type judgement to uplink message, it is judged that method is: first determines whether that this uplink message is the most labeled VLAN Tag, and if the most labeled; would illustrate be this message be DHCP message, continue up transmission and no longer perform follow-up step Suddenly, then it is considered as TFTP message without VLAN Tag, and performs step 2.3.
3. the simple packet identification method during CM reaches the standard grade in CMC system as claimed in claim 1 or 2, it is characterised in that Described method includes that downlink data transmission flow, described flow process comprise the steps:
Step one: CMC receives downlink message, sequentially performs each downlink message to operate as follows:
Step 1.1: the target MAC (Media Access Control) address in downlink message head is compared one by one with the MAC in CM information table, it is judged that this purpose Whether MAC Address is the MAC Address of certain CM, the most then be considered to be sent to the management message of corresponding CM, continue executing with Step 3, otherwise continues directly to up transmission;
Step 1.2: check whether this downlink message comprises VLAN Tag, if comprising, deleting VLAN Tag, then performing step Rapid four, otherwise perform step 4;
Step 1.3: continue to send this downlink message;
Step 2: repeated execution of steps 1, until having traveled through all downlink messages.
4. the simple packet identification method during CM reaches the standard grade in CMC system as claimed in claim 1, it is characterised in that institute State CM connection and have Set Top Box and/or computer and/or mobile phone.
CN201610933101.3A 2016-10-31 2016-10-31 A kind of packet identification method during CM is online in CMC system Expired - Fee Related CN106330969B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610933101.3A CN106330969B (en) 2016-10-31 2016-10-31 A kind of packet identification method during CM is online in CMC system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610933101.3A CN106330969B (en) 2016-10-31 2016-10-31 A kind of packet identification method during CM is online in CMC system

Publications (2)

Publication Number Publication Date
CN106330969A true CN106330969A (en) 2017-01-11
CN106330969B CN106330969B (en) 2019-07-02

Family

ID=57818306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610933101.3A Expired - Fee Related CN106330969B (en) 2016-10-31 2016-10-31 A kind of packet identification method during CM is online in CMC system

Country Status (1)

Country Link
CN (1) CN106330969B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852234A (en) * 2005-09-22 2006-10-25 华为技术有限公司 Method for transmitting message
CN101287010A (en) * 2008-06-12 2008-10-15 华为技术有限公司 Method and apparatus for identifying and verifying type of message protocol
US20090034594A1 (en) * 2007-07-30 2009-02-05 Cisco Technology, Inc. Keeping modems online upon N+1 switchover in cable modem termination systems
CN102546118A (en) * 2012-03-12 2012-07-04 国家广播电影电视总局广播电视规划院 Service forwarding and priority mapping method for China-data over cable system interface specification (C-DOCSIS) system
CN105027501A (en) * 2014-02-18 2015-11-04 华为技术有限公司 Method, apparatus and system for obtaining configuration file
CN105610994A (en) * 2014-11-25 2016-05-25 中兴通讯股份有限公司 IP address assignment method, coaxial mediation converter (CMC) and system
CN105634824A (en) * 2016-01-25 2016-06-01 北京斯普兰迪通信技术有限公司 Method and system for shunting HFC network signals by using multi-Ethernet port cable modem

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852234A (en) * 2005-09-22 2006-10-25 华为技术有限公司 Method for transmitting message
US20090034594A1 (en) * 2007-07-30 2009-02-05 Cisco Technology, Inc. Keeping modems online upon N+1 switchover in cable modem termination systems
CN101287010A (en) * 2008-06-12 2008-10-15 华为技术有限公司 Method and apparatus for identifying and verifying type of message protocol
CN102546118A (en) * 2012-03-12 2012-07-04 国家广播电影电视总局广播电视规划院 Service forwarding and priority mapping method for China-data over cable system interface specification (C-DOCSIS) system
CN105027501A (en) * 2014-02-18 2015-11-04 华为技术有限公司 Method, apparatus and system for obtaining configuration file
CN105610994A (en) * 2014-11-25 2016-05-25 中兴通讯股份有限公司 IP address assignment method, coaxial mediation converter (CMC) and system
CN105634824A (en) * 2016-01-25 2016-06-01 北京斯普兰迪通信技术有限公司 Method and system for shunting HFC network signals by using multi-Ethernet port cable modem

Also Published As

Publication number Publication date
CN106330969B (en) 2019-07-02

Similar Documents

Publication Publication Date Title
US10439862B2 (en) Communication terminal with multiple virtual network interfaces
US9419862B2 (en) System and method for discovering and verifying a hybrid fiber-coaxial topology in a cable network environment
US8726306B2 (en) Device-specific pre-provisoining access-limiting for a modem and a consumer premise equipment device
CN102355610B (en) Method for implementing circuit identification in optical network unit (ONU) system based on EOC (Ethernet over Coaxial cable)
CN104581419B (en) Double net implementation methods based on android Intelligent set top boxes
CN105025387A (en) Method and system for internet protocol television (IPTV) intelligent terminal to carry out IPTV business and internet business
CN102263774A (en) Method and device for processing source role information
CN103648109A (en) Wireless distributed forwarding system and method thereof
CN102098278B (en) Subscriber access method and system as well as access server and device
US20140314089A1 (en) Layer 2 access method, device and system on hfc network
CN100473037C (en) Method for realizing distributed DHCP relay
CN102724662A (en) Method and device for providing differentiated services in broadband wireless network
CN103051738B (en) A kind of dhcp address distribution method and system
CN105323159B (en) The processing method and processing device of data message
US9204179B2 (en) Location-based service group discovery for switched digital video
CN1997036A (en) Access multiplexer
CN106330969A (en) Method for recognizing messages in CMC system in CM online process
CN101388796A (en) Information sending processing method, communication equipment and communication system
CN102790722A (en) DHCP (dynamic host configuration protocol) message forwarding method and wireless access control equipment
CN112188301B (en) Communication method, apparatus, system, terminal, and computer-readable storage medium
WO2017024571A1 (en) Packet processing method, apparatus and system
CN107046477B (en) Method for realizing automatic configuration of C-CMTS (C-CMTS) equipment based on solidified address
CN105635330B (en) A kind of method and apparatus for realizing dhcp broadcast mutual message VLAN N:1 conversion
CN105703983A (en) Communication system
EP3032824B1 (en) Method for automatic tracking of hybrid fiber coaxial upstream service upgrades

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200804

Address after: Floor 2, No.16, Gaopeng Avenue, high tech Zone, Chengdu, Sichuan 610000

Patentee after: Chengdu Guangda Hengji Communication Technology Co., Ltd

Address before: 610041 building four, building two, Shiyang Industrial Park, five village, Shiyang village, fifty-five village, Chengdu hi tech Zone, Sichuan, Qingyun

Patentee before: CHENGDU GUANGDA NEW NETWORK TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190702

Termination date: 20201031

CF01 Termination of patent right due to non-payment of annual fee