CN103209141A - Method for processing data messages with switching chip and switching chip - Google Patents

Method for processing data messages with switching chip and switching chip Download PDF

Info

Publication number
CN103209141A
CN103209141A CN2012100138120A CN201210013812A CN103209141A CN 103209141 A CN103209141 A CN 103209141A CN 2012100138120 A CN2012100138120 A CN 2012100138120A CN 201210013812 A CN201210013812 A CN 201210013812A CN 103209141 A CN103209141 A CN 103209141A
Authority
CN
China
Prior art keywords
data message
vlan tag
exchange chip
service port
port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012100138120A
Other languages
Chinese (zh)
Inventor
钱夏欢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2012100138120A priority Critical patent/CN103209141A/en
Publication of CN103209141A publication Critical patent/CN103209141A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method for processing data messages with a switching chip, the switching chip for processing the data messages and a data message processing system. The method includes that the switching chip receives the data messages from an external device from the business port of the switching chip and sends the data messages to an expansion processor connected with the switching chip through a common port except the business port. According to the method for processing the data messages with the switching chip, the switching chip for processing the data messages and the data message processing system, the problem of the CPU (Central Processing Unit) performance degradation due to the fact that the switching chip sends the data messages to a CPU for processing can be avoided.

Description

A kind of exchange chip deal with data method of message and exchange chip
Technical field
The application relates to field of data exchange, relates in particular to a kind of exchange chip deal with data method of message and exchange chip.
Background technology
In switch device, need to handle the lot of data message, these data messages need be transferred to exchange chip and handle by the CPU that particular port is connected usually.Not only kind is many owing to these data messages, and number is also many, these data messages is all transferred to CPU handle, and may cause at a time has the mass data message to impact CPU, causes CPU usage too high, and performance descends; And CPU is just unable to do what one wishes to the agreement (as 1588 agreements) of some time-sensitive type itself.
For this situation, or select the stronger CPU of performance for use, but need to increase cost so inevitably, reduce competitiveness of product; Looking for his method in addition walks around CPU and addresses the above problem.
Summary of the invention
The invention provides the exchange chip of a kind of exchange chip deal with data method of message, data message processing method, deal with data message and the system of deal with data message, solved and how to have avoided exchange chip that data message is all transferred to the cpu performance decline problem that the CPU processing brings.
For solving the problems of the technologies described above, the invention provides a kind of exchange chip deal with data method of message, described method comprises the steps:
Exchange chip is from the data message of its service port reception from external equipment;
Exchange chip is sent to described data message and its extensible processor that is connected by the common port except this service port.
Further, after described exchange chip receives data message from external equipment from its service port, at the new VLAN TAG of the preceding increase of the existing virtual local area network tags head of described data message (VLAN TAG), described new VLAN TAG is corresponding with described service port, wherein, VLAN TAG comprises VLAN ID (VLAN ID);
Described exchange chip is sent to described extensible processor with amended data message.
Further, after described exchange chip receives data message from external equipment, by access control list (ACL) this data message is carried out the condition coupling earlier, only the data message of Satisfying Matching Conditions is made subsequent treatment.
Further, described exchange chip receives the response message of described data message by identical common port from described extensible processor, and wherein, described response message possesses two-layer VLAN TAG;
Described exchange chip is resolved the outermost layer VLAN TAG of described response message, if parsing described outermost layer VLAN TAG corresponding port is described service port, described exchange chip is deleted described outermost layer VLAN TAG from described response message;
Described exchange chip sends amended response message by described service port.
Further, the mapping table of the described common port of exchange chip memory transactions chip and VLAN ID (VLAN ID);
Described exchange chip disposes described new VLAN TAG according to this mapping table, and judges according to this mapping table whether the common port corresponding with the outermost layer VLAN TAG of described response message is described service port.
For solving the problems of the technologies described above, the invention provides a kind of data message processing method, described method comprises the steps:
Exchange chip is from the data message of its service port reception from external equipment;
Described exchange chip is sent to described data message and its extensible processor that is connected by other the common ports except this service port;
Described extensible processor processing said data message;
Described extensible processor returns the response message of described data message to described exchange chip.
Further, after described exchange chip receives data message from external equipment from its service port, at the new VLAN TAG of the preceding increase of the existing virtual local area network tags head of described data message (VLAN TAG), described new VLAN TAG is corresponding with described service port, wherein, VLAN TAG comprises VLAN ID (VLAN ID);
Described exchange chip is sent to described extensible processor with amended data message;
Described extensible processor parses the corresponding service port of this amended data message outermost layer VLAN TAG;
Described extensible processor carries the VLAN TAG corresponding with described service port at the response message that returns to described exchange chip, and this VLAN TAG is set to outermost layer VLAN TAG.
Further, after described exchange chip receives data message from external equipment, by access control list (ACL) this data message is carried out the condition coupling earlier, only the data message of Satisfying Matching Conditions is made subsequent treatment.
Further, after described exchange chip receives response message from described extensible processor, resolve the outermost layer VLAN TAG of described response message, find and this outermost layer VLAN TAG corresponding service port;
Described exchange chip is deleted this outermost layer VLAN TAG from described response message;
Described exchange chip sends amended response message by described service port.
Further, the mapping table of described exchange chip and the described extensible processor difference common port of memory transactions chip and VLAN ID (VLAN ID);
Described exchange chip disposes described new VLAN TAG according to this mapping table, and judges according to this mapping table whether the common port corresponding with the outermost layer VLAN TAG of described response message is described service port;
Described extensible processor is searched and described amended data message outermost layer VLAN TAG corresponding service port according to this mapping table.
For solving the problems of the technologies described above, the invention provides a kind of exchange chip of deal with data message, described exchange chip comprises:
Reception is from the service port of the data message of external equipment;
Except this service port, be used for the common port be connected with extensible processor;
The response message that the data message that described service port is received is sent to described common port and described data message that will described common port reception is sent to the redirection module of described service port.
Further, described redirection module, behind the data message that gets access to from service port from external equipment, at the preceding increase of the existing virtual local area network tags head of described data message (VLAN TAG) the VLAN TAG corresponding with described service port, wherein, VLAN TAG comprises VLAN ID (VLAN ID); And amended data message is redirected to the described common port that is connected with extensible processor.
Further, described redirection module behind the data message that obtains from service port from external equipment, is carried out the condition coupling by access control list (ACL) to this data message, only the data message of Satisfying Matching Conditions is made subsequent treatment.
Further, the response message from the described data message of described common port that receives of described redirection module possesses two-layer VLAN TAG;
Described redirection module, also for after receiving described response message from described common port, resolve the outermost layer VLAN TAG of described response message, when judging described outermost layer VLAN TAG corresponding port and be described service port, from described response message, delete described outermost layer VLAN TAG, and amended response message is redirected to described service port.
Further, described exchange chip also comprises memory module, and described memory module is for the mapping table of the common port of memory transactions chip and VLAN ID (VLAN ID);
Described redirection module, also be used for behind the data message that gets access to from service port from external equipment, read described memory module stored relation table, be configured in the VLAN TAG corresponding with described service port that increases before the existing VLAN TAG of described data message according to this mapping table; And when resolving outermost layer VLAN TAG from the response message of described common port, read described memory module stored relation table, judge according to this mapping table whether with this outermost layer VLAN TAG corresponding port be described service port.
For solving the problems of the technologies described above, the invention provides a kind of system of deal with data message, described system comprises exchange chip and extensible processor, wherein,
Described exchange chip is used for from the data message of its service port reception from external equipment; Described data message is sent to and its extensible processor that is connected by other the common ports except this service port; And receive the response message of the described data message that described extensible processor sends from described other common ports, and described response message is sent to described service port;
Described extensible processor is used for the described data message that receives from described exchange chip is handled; And the response message that returns described data message by described other common ports to described exchange chip.
Further, described exchange chip, behind the data message that receives from its service port from external equipment, at the new VLAN TAG of the preceding increase of the existing virtual local area network tags head of described data message (VLAN TAG), described new VLAN TAG is corresponding with described service port, wherein, VLANTAG comprises VLAN ID (VLAN ID); Amended data message is sent to described extensible processor by described other common ports;
Described extensible processor is used for parsing the corresponding service port of this amended data message outermost layer VLAN TAG; And carry the VLAN TAG corresponding with described service port in the response message that returns to described exchange chip by described other common ports, and this VLAN TAG is set to outermost layer VLAN TAG.
Further, described exchange chip behind the data message that receives from external equipment, carries out the condition coupling by access control list (ACL) to this data message earlier, only the data message of Satisfying Matching Conditions is made subsequent treatment.
Further, described exchange chip, behind the response message for the described data message that receives described extensible processor transmission from described other common ports, resolve the outermost layer VLANTAG of described response message, find and this outermost layer VLAN TAG corresponding service port; From described response message, delete this outermost layer VLAN TAG, and send amended response message by described service port.
Further, described exchange chip is for the mapping table of the common port of memory transactions chip and VLAN ID (VLAN ID); Dispose described new VLAN TAG according to this mapping table, and judge according to this mapping table whether the common port corresponding with the outermost layer VLAN TAG of described response message is described service port;
Described extensible processor is for the mapping table of the storage common port of described exchange chip and VLAN ID (VLAN ID); Search and described amended data message outermost layer VLAN TAG corresponding service port according to this mapping table.
Exchange chip can be sent to extensible processor with this data message in the technique scheme behind the data message that receives from service port, has alleviated the CPU burden; And extensible processor links to each other with the common port of exchange chip with exchange chip, conveniently as required the number of extensible processor is expanded.
Description of drawings
Fig. 1 is the exchange chip deal with data method of message flow chart of present embodiment;
Fig. 2 is the deal with data method of message flow chart of present embodiment;
Fig. 3 is the exchange chip module map of the deal with data message of present embodiment;
Fig. 4 is system's composition diagram of the deal with data message of present embodiment.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, hereinafter will be elaborated to embodiments of the invention by reference to the accompanying drawings.Need to prove that under the situation of not conflicting, the embodiment among the application and the feature among the embodiment be combination in any mutually.
Fig. 1 is the exchange chip deal with data method of message flow chart of present embodiment.
The S101 exchange chip is from the data message of its service port reception from external equipment;
After described exchange chip receives data message from external equipment from its service port, can be at the new VLAN TAG of the preceding increase of the existing virtual local area network tags head of described data message (VLAN TAG), described new VLAN TAG is corresponding with described service port, wherein, VLAN TAG comprises VLAN ID (VLAN ID), and then execution in step S102;
After described exchange chip receives data message from external equipment, also can carry out the condition coupling by access control list (ACL) to this data message earlier, only the data message of Satisfying Matching Conditions is made subsequent treatment, as, can be by the matching condition at the protocol Data Unit (PDU) of data message be set in ACL; Not only can carry out flow control to the data message that mails to extensible processor according to this step; And can guarantee that extensible processor receives the fail safe of data;
The S102 exchange chip is sent to described data message and its extensible processor that is connected by the common port except this service port.
Above-mentioned exchange chip also receives the response message of described data message by identical common port from described extensible processor, and this response message possesses two-layer VLAN TAG; Described exchange chip is resolved the outermost layer VLAN TAG of described response message, if to parse described outermost layer VLAN TAG corresponding port be described service port, described exchange chip is deleted described outermost layer VLAN TAG from described response message, send amended response message by described service port again;
Equally, described exchange chip can carry out the condition coupling to the response message that receives by access control list ACL, resolves the outermost layer VLAN TAG of described response message under the situation of Satisfying Matching Conditions again.Need the condition of coupling to comprise: the VLAN TAG that described response message comprises is the common port that 2 layers, described response message are connected with extensible processor from exchange chip; Need the condition of coupling also can comprise: the outermost layer VLAN TAG corresponding port of response message is the port that exchange chip receives the data message corresponding with this response message, because this matching condition needs exchange chip to resolve the outermost layer VLAN TAG of response message, therefore satisfying under the situation of this matching condition, exchange chip just can directly be carried out the action of the described outermost layer VLAN TAG of deletion from described response message.
But the mapping table of the above-mentioned common port of exchange chip memory transactions chip and VLAN ID is VLAN 1001-1010 as the VLAN ID of common port 1-10 correspondence; After the storage, exchange chip can directly read this mapping table to dispose above-mentioned new VLAN TAG from this locality, and judge according to this mapping table whether the common port corresponding with the outermost layer VLAN TAG of above-mentioned response message is described service port, has accelerated the processing speed of exchange chip.
Because the port of configurable exchange chip carries out the VLAN inspection in the practical application, only allow from qualified vlan data message turnover port, for avoiding exchange chip to mail to data message that the data message of the common port that is connected with extensible processor and extensible processor mail to the common port that described exchange chip is connected with extensible processor by unnecessary screening, can close the VLAN audit function of this common port.
Fig. 2 is the deal with data method of message flow chart of present embodiment.
The S201 exchange chip is from the data message of its service port reception from external equipment;
After described exchange chip can receive data message from external equipment from its service port, at the new VLAN TAG of the preceding increase of the existing virtual local area network tags head of described data message (VLAN TAG), described new VLAN TAG is corresponding with described service port, wherein, VLAN TAG comprises VLAN ID (VLAN ID), and then execution in step S102;
After described exchange chip receives data message from external equipment, also can carry out the condition coupling by access control list (ACL) to this data message earlier, only the data message of Satisfying Matching Conditions be made subsequent treatment;
The described exchange chip of S202 is sent to described data message and its extensible processor that is connected by other the common ports except this service port;
The described extensible processor processing said data of S203 message;
Described extensible processor can obtain and this outermost layer VLAN TAG corresponding service port by resolving this amended data message outermost layer VLAN TAG;
Described extensible processor can be handled described data message according to the hash table that is stored in the expander when the processing said data message;
Described extensible processor comprises the processing of described data message self to be handled described data message, or described message is uploaded CPU;
The described extensible processor of S204 returns the response message of described data message to described exchange chip.
Described extensible processor carries the VLAN TAG corresponding with described service port at the response message that returns to described exchange chip, and this VLAN TAG is set to outermost layer VLAN TAG.
In the said method, after described exchange chip receives response message from described extensible processor, can resolve the outermost layer VLAN TAG of described response message, find and this outermost layer VLAN TAG corresponding service port; From described response message, delete this outermost layer VLAN TAG then; Send amended response message by described service port again.
Above-mentioned exchange chip and extensible processor can be distinguished the mapping table of the common port of memory transactions chip and VLAN ID (VLAN ID); Described exchange chip can dispose described new VLAN TAG according to this mapping table, and judges according to this mapping table whether the common port corresponding with the outermost layer VLAN TAGVLAN TAG of described response message is described service port; Described extensible processor can be searched and this amended data message outermost layer VLAN TAG corresponding service port according to this mapping table.
Fig. 3 is the exchange chip module map of the deal with data message of present embodiment.
Described exchange chip comprises: receive the redirection module that is used for the common port that is connected with extensible processor from the service port of the data message of external equipment, except this service port and the data message of described service port reception is sent to described common port and the response message of the described data message of described common port reception is sent to described service port.
Above-mentioned redirection module, after can be used for getting access to data message from external equipment from service port, at the preceding increase of the existing virtual local area network tags head of described data message (VLAN TAG) the VLAN TAG corresponding with described service port, wherein, VLAN TAG comprises VLAN ID (VLAN ID); And amended data message is redirected to the described common port that is connected with extensible processor;
Above-mentioned redirection module after also can be used for obtaining data message from external equipment from service port, is carried out the condition coupling by access control list (ACL) to this data message, only the data message of Satisfying Matching Conditions is made subsequent treatment;
The response message from the described data message of described common port that above-mentioned redirection module receives possesses two-layer VLAN TAG; Above-mentioned redirection module, also for after receiving described response message from described common port, resolve the outermost layer VLAN TAG of described response message, when judging described outermost layer VLAN TAG corresponding port and be described service port, from described response message, delete described outermost layer VLAN TAG, and amended response message is redirected to described service port.
Above-mentioned exchange chip also can comprise a memory module that is used for the mapping table of the common port of memory transactions chip and VLAN ID (VLAN ID); At this moment, redirection module, also be used for behind the data message that gets access to from service port from external equipment, read described memory module stored relation table, be configured in the VLAN TAG corresponding with described service port that increases before the existing VLAN TAG of described data message according to this mapping table; And when resolving outermost layer VLAN TAG from the response message of described common port, read described memory module stored relation table, judge according to this mapping table whether with this outermost layer VLAN TAG corresponding port be described service port.
Fig. 4 is system's composition diagram of the deal with data message of present embodiment.
This system comprises exchange chip and extensible processor, wherein,
Described exchange chip is used for from the data message of its service port reception from external equipment; Described data message is sent to and its extensible processor that is connected by other the common ports except this service port; And receive the response message of the described data message that described extensible processor sends from described other common ports, and described response message is sent to described service port;
This exchange chip, after also can be used for receiving data message from external equipment from its service port, at the new VLAN TAG of the preceding increase of the existing virtual local area network tags head of described data message (VLAN TAG), described new VLAN TAG is corresponding with described service port, wherein, VLAN TAG comprises VLAN ID (VLAN ID); Amended data message is sent to described extensible processor by described other common ports;
This exchange chip, also can be used for receiving the data message from external equipment after, earlier by access control list (ACL) this data message is carried out the condition coupling, only the data message of Satisfying Matching Conditions is made subsequent treatment;
This exchange chip after also can be used for receiving the response message of the described data message that described extensible processor sends from described other common ports, is resolved the outermost layer VLAN TAG of described response message, finds and this outermost layer VLAN TAG corresponding service port; From described response message, delete this outermost layer VLAN TAG, and send amended response message by described service port.
Described extensible processor is used for the described data message that receives from described exchange chip is handled; And the response message that returns described data message by described other common ports to described exchange chip;
This extensible processor also can be used for parsing the corresponding service port of this amended data message outermost layer VLAN TAG; And carry the VLAN TAG corresponding with described service port in the response message that returns to described exchange chip by described other common ports, and this VLAN TAG is set to outermost layer VLAN TAG.
Above-mentioned exchange chip also can be used for the mapping table of the common port of memory transactions chip and VLAN ID (VLAN ID); Dispose described new VLAN TAG according to this mapping table, and judge according to this mapping table whether the common port corresponding with the outermost layer VLAN TAG of described response message is described service port;
Above-mentioned extensible processor is also for the mapping table of storing the common port of described exchange chip and VLAN ID (VLAN ID); Search and described amended data message outermost layer VLAN TAG corresponding service port according to this mapping table
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to finish by program, described program can be stored in the computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of above-described embodiment also can use one or more integrated circuits to realize, correspondingly, each the module/unit in above-described embodiment can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
Need to prove; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (20)

1. an exchange chip deal with data method of message is characterized in that described method comprises the steps:
Exchange chip is from the data message of its service port reception from external equipment;
Exchange chip is sent to described data message and its extensible processor that is connected by the common port except this service port.
2. the method for claim 1 is characterized in that, described method further comprises:
After described exchange chip receives data message from external equipment from its service port, at the new VLAN TAG of the preceding increase of the existing virtual local area network tags head of described data message (VLAN TAG), described new VLAN TAG is corresponding with described service port, wherein, VLAN TAG comprises VLAN ID (VLAN ID);
Described exchange chip is sent to described extensible processor with amended data message.
3. method as claimed in claim 1 or 2 is characterized in that, described method further comprises:
After described exchange chip receives data message from external equipment, by access control list (ACL) this data message is carried out the condition coupling earlier, only the data message of Satisfying Matching Conditions is made subsequent treatment.
4. method as claimed in claim 3 is characterized in that, described method also comprises:
Described exchange chip receives the response message of described data message by identical common port from described extensible processor, and wherein, described response message possesses two-layer VLAN TAG;
Described exchange chip is resolved the outermost layer VLAN TAG of described response message, if parsing described outermost layer VLAN TAG corresponding port is described service port, described exchange chip is deleted described outermost layer VLAN TAG from described response message;
Described exchange chip sends amended response message by described service port.
5. method as claimed in claim 4 is characterized in that, described method further comprises:
The mapping table of the described common port of exchange chip memory transactions chip and VLAN ID (VLAN ID);
Described exchange chip disposes described new VLAN TAG according to this mapping table, and judges according to this mapping table whether the common port corresponding with the outermost layer VLAN TAG of described response message is described service port.
6. a data message processing method is characterized in that, described method comprises the steps:
Exchange chip is from the data message of its service port reception from external equipment;
Described exchange chip is sent to described data message and its extensible processor that is connected by other the common ports except this service port;
Described extensible processor processing said data message;
Described extensible processor returns the response message of described data message to described exchange chip.
7. method as claimed in claim 6 is characterized in that, described method further comprises:
After described exchange chip receives data message from external equipment from its service port, at the new VLAN TAG of the preceding increase of the existing virtual local area network tags head of described data message (VLAN TAG), described new VLAN TAG is corresponding with described service port, wherein, VLAN TAG comprises VLAN ID (VLAN ID);
Described exchange chip is sent to described extensible processor with amended data message;
Described extensible processor parses the corresponding service port of this amended data message outermost layer VLAN TAG;
Described extensible processor carries the VLAN TAG corresponding with described service port at the response message that returns to described exchange chip, and this VLAN TAG is set to outermost layer VLAN TAG.
8. as claim 6 or 7 described methods, it is characterized in that described method further comprises:
After described exchange chip receives data message from external equipment, by access control list (ACL) this data message is carried out the condition coupling earlier, only the data message of Satisfying Matching Conditions is made subsequent treatment.
9. method as claimed in claim 8 is characterized in that, described method further comprises:
After described exchange chip receives response message from described extensible processor, resolve the outermost layer VLAN TAG of described response message, find and this outermost layer VLAN TAG corresponding service port;
Described exchange chip is deleted this outermost layer VLAN TAG from described response message;
Described exchange chip sends amended response message by described service port.
10. method as claimed in claim 9 is characterized in that, described method further comprises:
The mapping table of described exchange chip and the described extensible processor difference common port of memory transactions chip and VLAN ID (VLAN ID);
Described exchange chip disposes described new VLAN TAG according to this mapping table, and judges according to this mapping table whether the common port corresponding with the outermost layer VLAN TAG of described response message is described service port;
Described extensible processor is searched and described amended data message outermost layer VLAN TAG corresponding service port according to this mapping table.
11. the exchange chip of a deal with data message is characterized in that, described exchange chip comprises:
Reception is from the service port of the data message of external equipment;
Except this service port, be used for the common port be connected with extensible processor;
The response message that the data message that described service port is received is sent to described common port and described data message that will described common port reception is sent to the redirection module of described service port.
12. exchange chip as claimed in claim 11 is characterized in that,
Described redirection module, behind the data message that gets access to from service port from external equipment, at the preceding increase of the existing virtual local area network tags head of described data message (VLAN TAG) the VLAN TAG corresponding with described service port, wherein, VLAN TAG comprises VLAN ID (VLAN ID); And amended data message is redirected to the described common port that is connected with extensible processor.
13. as claim 11 or 12 described exchange chips, it is characterized in that,
Described redirection module behind the data message that obtains from service port from external equipment, is carried out the condition coupling by access control list (ACL) to this data message, only the data message of Satisfying Matching Conditions is made subsequent treatment.
14. exchange chip as claimed in claim 13 is characterized in that,
The response message from the described data message of described common port that described redirection module receives possesses two-layer VLAN TAG;
Described redirection module, also for after receiving described response message from described common port, resolve the outermost layer VLAN TAG of described response message, when judging described outermost layer VLAN TAG corresponding port and be described service port, from described response message, delete described outermost layer VLAN TAG, and amended response message is redirected to described service port.
15. exchange chip as claimed in claim 14 is characterized in that, described exchange chip also comprises memory module,
Described memory module is for the mapping table of the common port of memory transactions chip and VLAN ID (VLAN ID);
Described redirection module, also be used for behind the data message that gets access to from service port from external equipment, read described memory module stored relation table, be configured in the VLAN TAG corresponding with described service port that increases before the existing VLAN TAG of described data message according to this mapping table; And when resolving outermost layer VLAN TAG from the response message of described common port, read described memory module stored relation table, judge according to this mapping table whether with this outermost layer VLAN TAG corresponding port be described service port.
16. the system of a deal with data message is characterised in that, described system comprises exchange chip and extensible processor, wherein,
Described exchange chip is used for from the data message of its service port reception from external equipment; Described data message is sent to and its extensible processor that is connected by other the common ports except this service port; And receive the response message of the described data message that described extensible processor sends from described other common ports, and described response message is sent to described service port;
Described extensible processor is used for the described data message that receives from described exchange chip is handled; And the response message that returns described data message by described other common ports to described exchange chip.
17. system as claimed in claim 16 is characterized in that,
Described exchange chip, behind the data message that receives from its service port from external equipment, at the new VLANTAG of the existing virtual local area network tags head of described data message (VLAN TAG) preceding increase, described new VLAN TAG is corresponding with described service port, wherein, VLAN TAG comprises VLAN ID (VLAN ID); Amended data message is sent to described extensible processor by described other common ports;
Described extensible processor is used for parsing the corresponding service port of this amended data message outermost layer VLAN TAG; And carry the VLAN TAG corresponding with described service port in the response message that returns to described exchange chip by described other common ports, and this VLAN TAG is set to outermost layer VLAN TAG.
18. as claim 16 or 17 described systems, it is characterized in that,
Described exchange chip behind the data message that receives from external equipment, carries out the condition coupling by access control list (ACL) to this data message earlier, only the data message of Satisfying Matching Conditions is made subsequent treatment.
19. system as claimed in claim 18 is characterized in that,
Described exchange chip behind the response message for the described data message that receives described extensible processor transmission from described other common ports, is resolved the outermost layer VLAN TAG of described response message, finds and this outermost layer VLAN TAG corresponding service port; From described response message, delete this outermost layer VLAN TAG, and send amended response message by described service port.
20. system as claimed in claim 19 is characterized in that,
Described exchange chip is for the mapping table of the common port of memory transactions chip and VLAN ID (VLAN ID); Dispose described new VLAN TAG according to this mapping table, and judge according to this mapping table whether the common port corresponding with the outermost layer VLAN TAG of described response message is described service port;
Described extensible processor is for the mapping table of the storage common port of described exchange chip and VLAN ID (VLAN ID); Search and described amended data message outermost layer VLAN TAG corresponding service port according to this mapping table.
CN2012100138120A 2012-01-17 2012-01-17 Method for processing data messages with switching chip and switching chip Pending CN103209141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100138120A CN103209141A (en) 2012-01-17 2012-01-17 Method for processing data messages with switching chip and switching chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100138120A CN103209141A (en) 2012-01-17 2012-01-17 Method for processing data messages with switching chip and switching chip

Publications (1)

Publication Number Publication Date
CN103209141A true CN103209141A (en) 2013-07-17

Family

ID=48756230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100138120A Pending CN103209141A (en) 2012-01-17 2012-01-17 Method for processing data messages with switching chip and switching chip

Country Status (1)

Country Link
CN (1) CN103209141A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103746943A (en) * 2013-12-23 2014-04-23 汉柏科技有限公司 Method for establishing VLAN subinterface and exchange chip using the same
CN103997460A (en) * 2014-06-04 2014-08-20 福建星网锐捷网络有限公司 Method for terminating QinQ route, exchange chip and exchanger
CN104639455A (en) * 2015-02-16 2015-05-20 杭州华三通信技术有限公司 Netstream processing method and device
CN105072033A (en) * 2015-07-06 2015-11-18 北京汉柏科技有限公司 Message forwarding method of switch chip, and switch chip
CN105763489A (en) * 2016-04-19 2016-07-13 烽火通信科技股份有限公司 Method and system for expanding the exchange capacity of exchange service chip
CN105939324A (en) * 2016-01-11 2016-09-14 杭州迪普科技有限公司 Message forwarding method and device
CN108011802A (en) * 2017-12-14 2018-05-08 锐捷网络股份有限公司 A kind of file transmitting method and two three-layer network appliances
CN108173699A (en) * 2018-01-26 2018-06-15 武汉光迅科技股份有限公司 One kind is based on Marvell exchange chips CPU high-efficient treatment methods when obtaining message source port
CN109302354A (en) * 2018-10-26 2019-02-01 盛科网络(苏州)有限公司 A kind of chip implementing method and device of UDP encapsulation GRE message
CN109587079A (en) * 2018-12-14 2019-04-05 北京物芯科技有限责任公司 A kind of OAM transaction processing system and method
CN110851289A (en) * 2019-10-23 2020-02-28 新华三信息安全技术有限公司 Protocol message processing method and switch
CN111277503A (en) * 2020-01-20 2020-06-12 广州芯德通信科技股份有限公司 Method for managing plug-in exchange chip by main CPU based on SVLAN
CN111585741A (en) * 2020-05-29 2020-08-25 工业互联网创新中心(上海)有限公司 Data access method, system, terminal and storage medium
CN107454021B (en) * 2017-07-13 2020-09-22 北京神州绿盟信息安全科技股份有限公司 Communication method and device
CN112714054A (en) * 2020-12-25 2021-04-27 北京天融信网络安全技术有限公司 Message sending method, device and storage medium
CN113114579A (en) * 2021-03-30 2021-07-13 杭州迪普信息技术有限公司 ACL issuing method and device
CN115842792A (en) * 2023-02-20 2023-03-24 之江实验室 Data processing method and device, storage medium and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5784367A (en) * 1995-04-07 1998-07-21 Sextant Avionique Method and device for communications between plural terminals, compatible with the ARINC 629 standard
US6931020B1 (en) * 1999-07-27 2005-08-16 Infineon Technologies Ag Method and device for switching a plurality of packet-oriented signals
CN1859275A (en) * 2005-07-27 2006-11-08 华为技术有限公司 Multiple port ethernet exchanging device and data transmission method
CN101146026A (en) * 2006-09-13 2008-03-19 中兴通讯股份有限公司 Packet filtering method, system and device
CN101610217A (en) * 2009-06-05 2009-12-23 中兴通讯股份有限公司 Be implemented in the method and system of message transmission between extensible processor and the exchange chip
CN101820392A (en) * 2010-03-26 2010-09-01 中兴通讯股份有限公司 Method for realizing multi-service forwarding and network processor
CN102215170A (en) * 2011-06-08 2011-10-12 中兴通讯股份有限公司 Method and processor for restraining Internet storm
WO2011134739A1 (en) * 2010-04-28 2011-11-03 Siemens Aktiengesellschaft Method for searching for message sequences, protocol analysis engine and protocol analyzer

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5784367A (en) * 1995-04-07 1998-07-21 Sextant Avionique Method and device for communications between plural terminals, compatible with the ARINC 629 standard
US6931020B1 (en) * 1999-07-27 2005-08-16 Infineon Technologies Ag Method and device for switching a plurality of packet-oriented signals
CN1859275A (en) * 2005-07-27 2006-11-08 华为技术有限公司 Multiple port ethernet exchanging device and data transmission method
CN101146026A (en) * 2006-09-13 2008-03-19 中兴通讯股份有限公司 Packet filtering method, system and device
CN101610217A (en) * 2009-06-05 2009-12-23 中兴通讯股份有限公司 Be implemented in the method and system of message transmission between extensible processor and the exchange chip
CN101820392A (en) * 2010-03-26 2010-09-01 中兴通讯股份有限公司 Method for realizing multi-service forwarding and network processor
WO2011134739A1 (en) * 2010-04-28 2011-11-03 Siemens Aktiengesellschaft Method for searching for message sequences, protocol analysis engine and protocol analyzer
CN102215170A (en) * 2011-06-08 2011-10-12 中兴通讯股份有限公司 Method and processor for restraining Internet storm

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103746943A (en) * 2013-12-23 2014-04-23 汉柏科技有限公司 Method for establishing VLAN subinterface and exchange chip using the same
CN103997460A (en) * 2014-06-04 2014-08-20 福建星网锐捷网络有限公司 Method for terminating QinQ route, exchange chip and exchanger
CN103997460B (en) * 2014-06-04 2017-05-17 福建星网锐捷网络有限公司 Method for terminating QinQ route, exchange chip and exchanger
CN104639455A (en) * 2015-02-16 2015-05-20 杭州华三通信技术有限公司 Netstream processing method and device
CN104639455B (en) * 2015-02-16 2018-02-09 新华三技术有限公司 A kind of network flow treating method and apparatus
CN105072033A (en) * 2015-07-06 2015-11-18 北京汉柏科技有限公司 Message forwarding method of switch chip, and switch chip
CN105939324A (en) * 2016-01-11 2016-09-14 杭州迪普科技有限公司 Message forwarding method and device
CN105763489A (en) * 2016-04-19 2016-07-13 烽火通信科技股份有限公司 Method and system for expanding the exchange capacity of exchange service chip
CN107454021B (en) * 2017-07-13 2020-09-22 北京神州绿盟信息安全科技股份有限公司 Communication method and device
CN108011802A (en) * 2017-12-14 2018-05-08 锐捷网络股份有限公司 A kind of file transmitting method and two three-layer network appliances
CN108173699A (en) * 2018-01-26 2018-06-15 武汉光迅科技股份有限公司 One kind is based on Marvell exchange chips CPU high-efficient treatment methods when obtaining message source port
CN108173699B (en) * 2018-01-26 2021-04-02 武汉光迅科技股份有限公司 CPU high-efficiency processing method based on Marvell exchange chip when obtaining message source port
CN109302354A (en) * 2018-10-26 2019-02-01 盛科网络(苏州)有限公司 A kind of chip implementing method and device of UDP encapsulation GRE message
CN109587079A (en) * 2018-12-14 2019-04-05 北京物芯科技有限责任公司 A kind of OAM transaction processing system and method
CN109587079B (en) * 2018-12-14 2020-11-20 北京物芯科技有限责任公司 OAM service processing system and method
CN110851289A (en) * 2019-10-23 2020-02-28 新华三信息安全技术有限公司 Protocol message processing method and switch
CN110851289B (en) * 2019-10-23 2022-11-08 新华三信息安全技术有限公司 Protocol message processing method and switch
CN111277503A (en) * 2020-01-20 2020-06-12 广州芯德通信科技股份有限公司 Method for managing plug-in exchange chip by main CPU based on SVLAN
CN111585741A (en) * 2020-05-29 2020-08-25 工业互联网创新中心(上海)有限公司 Data access method, system, terminal and storage medium
CN111585741B (en) * 2020-05-29 2023-06-09 工业互联网创新中心(上海)有限公司 Method for accessing non-time sensitive network data into time sensitive network
CN112714054A (en) * 2020-12-25 2021-04-27 北京天融信网络安全技术有限公司 Message sending method, device and storage medium
CN113114579A (en) * 2021-03-30 2021-07-13 杭州迪普信息技术有限公司 ACL issuing method and device
CN115842792A (en) * 2023-02-20 2023-03-24 之江实验室 Data processing method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN103209141A (en) Method for processing data messages with switching chip and switching chip
US9866479B2 (en) Technologies for concurrency of cuckoo hashing flow lookup
US20160119198A1 (en) Deep Packet Inspection Method and Device, and Coprocessor
CN110417569B (en) Network link fault processing method and tunnel endpoint equipment
US20170003997A1 (en) Compute Cluster Load Balancing Based on Memory Page Contents
CN104754003B (en) Transmit the method and system of data
CN108924274B (en) Domain name system DNS processing method and device, storage medium and electronic equipment
CN112965824A (en) Message forwarding method and device, storage medium and electronic equipment
US9253089B2 (en) System and method for routing using path identifiers
CN110177010B (en) Link switching method and device
CN104995902A (en) Methods and systems for seamless network communication between IPV4 and IPV6 devices
US10089131B2 (en) Compute cluster load balancing based on disk I/O cache contents
US10178033B2 (en) System and method for efficient traffic shaping and quota enforcement in a cluster environment
US20170171147A1 (en) Method and electronic device for implementing domain name system
CN107682446A (en) A kind of message mirror-image method, device and electronic equipment
US9923794B2 (en) Method, apparatus, and system for identifying abnormal IP data stream
US20180248791A1 (en) Customer premises equipment virtualization
KR20220104241A (en) Network working methods, devices, equipment and storage media
CN104702508A (en) Method and system for dynamically updating table items
CN112583655A (en) Data transmission method and device, electronic equipment and readable storage medium
US8914467B2 (en) Information processing apparatus, system, and storage medium
CN105144073A (en) Removable storage device identity and configuration information
US10802859B2 (en) Setting method for server apparatus and server apparatus for load balancing
US11237874B2 (en) System and method for managing low computing resource state
WO2022111173A1 (en) Network slice access method, device, and system, and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130717

WD01 Invention patent application deemed withdrawn after publication