CN102404215A - Synchronization method for filtering database table forms, device and network equipment - Google Patents

Synchronization method for filtering database table forms, device and network equipment Download PDF

Info

Publication number
CN102404215A
CN102404215A CN2011103718068A CN201110371806A CN102404215A CN 102404215 A CN102404215 A CN 102404215A CN 2011103718068 A CN2011103718068 A CN 2011103718068A CN 201110371806 A CN201110371806 A CN 201110371806A CN 102404215 A CN102404215 A CN 102404215A
Authority
CN
China
Prior art keywords
fdb
list item
asic
message
syn ack
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
CN2011103718068A
Other languages
Chinese (zh)
Other versions
CN102404215B (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.)
Beijing Star Net Ruijie Networks Co Ltd
Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks 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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN201110371806.8A priority Critical patent/CN102404215B/en
Publication of CN102404215A publication Critical patent/CN102404215A/en
Application granted granted Critical
Publication of CN102404215B publication Critical patent/CN102404215B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a synchronization method for filtering database table forms, a device and a piece of network equipment. The method comprises the following steps: a CPU generates a synchronization request message, and transmits the synchronization request message to an ASIC (Application Specific Integrated Circuit) through an Ethernet port between the CUP and the ASIC, wherein the synchronization request message comprises type identifications which are used for identifying the synchronization request message as a request FDB (Filter Data Base) form synchronization; the ASIC receives the synchronization request message through the Ethernet port, then generates a synchronization response message according to the synchronization request message, and transmits to the CPU through the Ethernet port; the CPU receives the synchronization response message through the Ethernet port, and synchronizes the FDB of an operation system according to the synchronization response message. The technical scheme of the invention can synchronize the FDB of the ASIC and the operation system in time, and can reduce the influence on the real time of the operation system.

Description

Filtered data base list item method for synchronous, device and the network equipment
Technical field
The present invention relates to the network communications technology, relate in particular to a kind of filtered data base list item method for synchronous, device and the network equipment.
Background technology
The network equipment in the Ethernet (for example, switch and router) is generally by CPU (Central Processing Unit; Abbreviate as: CPU) with Ethernet application-specific integrated circuit (ASIC) (Application Specific Integrated Circuit; Abbreviate as: ASIC) wait parts to form.The CPU major function is to carry out arithmetical operation and logical operation, so operational network operation of equipment system above that, the management control network devices also provides the management control interface to the user.The ASIC major function is ethernet port to the user to be provided, and receives message and handles message according to Ethernet protocol from ethernet port, message is passed from ethernet port after disposing again.Before ASIC handled message, the user can be provided with the message of ASIC through the management control interface of operating system and handle behavior.In the network equipment, for the economize on hardware cost, all adopt some low speed bus to connect between CPU and the ASIC, a control channel is provided, for example Serial Peripheral Interface (Serial Peripheral interface; Abbreviate as: SPI) bus.Spi bus is a kind of synchronous serial Peripheral Interface, and it can make CPU and outside other devices interconnect communicate, and the Principle of Communication of spi bus is very simple, with master-slave mode work.The clock of spi bus is 2 megahertzes (MHz), that is to say that the gross data transmission rate when communicating by letter through spi bus is 2 MBPSs (Mbps).
Medium access control (Media Access Control; Abbreviate as: MAC) address is to be used to discern local area network (LAN) (Local Area Network; Abbreviate as: the sign of each node LAN).The MAC Address of network interface card is normally by the burned network interface card of network interface card manufacturer, sends the address of computer with the main frame that receives data of data when it is the transmission data in order to sign, and it generally is globally unique.In Ethernet, an Ethernet message has the MAC Address of the main frame that sends this message, and we are called source MAC, also has the MAC Address of the destination host of this message, and we are referred to as target MAC (Media Access Control) address.ASIC passes through the source MAC of study inspection message, and this address and the port association that receives this message are got up to form a table, and we are referred to as filtered data base (Filter Data Base; Abbreviate as: FDB).When ASIC received a message, its meeting used the source MAC of message to search FDB automatically, if find do not have this MAC Address among the FDB, then it is added FDB, if exist, and this address among the then synchronous FDB.ASIC can use the target MAC (Media Access Control) address of message to search FDB simultaneously; If this target MAC (Media Access Control) address can find in FDB; Just this message is forwarded to the related port of this MAC Address, otherwise this message is forwarded to all of the port (we are referred to as flooding of message).In order to satisfy the needs of user management network equipment, CPU need be with the data sync of FDB on operating system, so that the user can check the FDB single stepping of advancing of going forward side by side through the management control interface, for example deletes certain MAC Address, adds certain MAC Address or the like.
In the prior art scheme, announce to CPU for the MAC Address of ASIC being gone up study, CPU needs periodically read the FDB on the ASIC through spi bus, and the result that will read is synchronized to operating system, makes things convenient for user management.But the FDB of ASIC is bigger, can deposit up to ten thousand FDB list items (the corresponding MAC Address of FDB list item), and for example, specification of equipment FDB commonly used can deposit 8192 or 16384 FDB list items even more.If most critical field MAC Address (standard code is 6 bytes) and port numbers (1 byte) that CPU only reads each list item of FDB be the data of 7 bytes altogether; According to minimum 8192 list items of FDB, the data that need transmit altogether are 8192 (total MAC Address bar number) * 7 (at least 7 bytes of each list item) * 8 (8 of each bytes)=458752 bit data.According to the defeated speed of the theory of spi bus is that 2Mbps calculates, and the minimum time that every transmission 1 bit data needs is 1/ (2*10 6) second, be at least 458752/ (2*10 so read the time of the MAC Address needs among the whole FDB 6)=0.917504 second.In actual use; Because the MAC Address that FDB can deposit is more; Each FDB list item also not only comprises MAC Address and port numbers; The data such as behavior that also can comprise corresponding this MAC Address, spi bus also can not reach theoretical 2Mbps simultaneously, so the actual transmission time can be far longer than theoretical 0.917504 second.
Read if the consumption of cpu cycle property was carried out FDB in about 0.9 second, the real-time that will cause CPU to go up the operating system of operation sharply descends, and business is produced serious influence.In practical application; May take to amplify the Cycle Length that reads FDB; Methods such as each only reading section FDB list item reduce the influence to the operating system real-time; It is untimely synchronously that but these schemes can cause again between FDB and the operating system of ASIC, and the user can not in time understand the state of FDB.
Summary of the invention
The present invention provides a kind of filtered data base list item method for synchronous, device and the network equipment, with so that in time accomplish synchronously between the FDB of ASIC and the operating system, and reduces the influence to the real-time of operating system.
One aspect of the present invention provides a kind of filtered data base FDB list item method for synchronous, comprising:
The central processing unit CPU of the network equipment generates the synchronization request message; And through and the application-specific integrated circuit ASIC of the said network equipment between ethernet port said synchronization request message is sent to said ASIC, said synchronization request message comprises that the said synchronization request message of sign is the synchronous type identification of request FDB list item;
Said ASIC receives said synchronization request message through said ethernet port; And read the FDB of said ASIC according to said synchronization request message; The FDB list item that is read is encapsulated in the syn ack message; And the said syn ack message of interpolation sign is to reply the synchronous type identification of FDB list item in said syn ack message, sends to said CPU through said ethernet port then;
Said CPU receives said syn ack message through said ethernet port, and carries out synchronously according to the FDB of said syn ack message to operating system.
The present invention provides a kind of filtered data base FDB list item synchronizer on the other hand, comprising:
Central processing unit CPU; Be used to generate the synchronization request message; Through and the application-specific integrated circuit ASIC of said FDB list item synchronizer between ethernet port said synchronization request message is sent to said ASIC; And receive the syn ack message that said ASIC returns according to said synchronization request message through said ethernet port; And carry out synchronously according to the FDB of said syn ack message to operating system, said synchronization request message comprises that the said synchronization request message of sign is the synchronous type identification of request FDB list item;
Said ASIC; Be used for receiving said synchronization request message through said ethernet port; And read the FDB of said ASIC according to said synchronization request message; The FDB list item that is read is encapsulated in the said syn ack message, and the said syn ack message of interpolation sign is to reply the synchronous type identification of FDB list item in said syn ack message, sends to said CPU through said ethernet port then.
Another aspect of the invention provides a kind of network equipment, comprising: arbitrary filtered data base list item synchronizer provided by the invention.
The filtered data base list item method for synchronous of one aspect of the present invention; CPU through and ASIC between ethernet port send the synchronization request message to ASIC; ASIC generates the syn ack message according to the synchronization request message; And through and CPU between ethernet port the syn ack message is sent to CPU, CPU carry out according to the syn ack message operating system FDB synchronously, made full use of the fast advantage of ethernet port transmission speed; Make and in time accomplish synchronously between FDB and the operating system of ASIC, and reduced influence the real-time of operating system.
The present invention's filtered data base list item synchronizer on the other hand; The synchronization request that its CPU and its ASIC ethernet port through between the two carries out the FDB list item with reply; Made full use of the fast advantage of ethernet port transmission speed; Make and in time accomplish synchronously between FDB and the operating system of ASIC, and reduced influence the real-time of operating system.
The network equipment of another aspect of the invention; Its filtered data base list item synchronizer carries out the FDB list item through its CPU and its ASIC ethernet port through between the two synchronization request with reply; Made full use of the fast advantage of ethernet port transmission speed; Make and in time accomplish synchronously between FDB and the operating system of ASIC, and reduced influence the real-time of operating system.
Description of drawings
The flow chart of the FDB list item method for synchronous that Figure 1A provides for one embodiment of the invention;
The synchronization request message that Figure 1B provides for one embodiment of the invention or the structural representation of syn ack message;
Fig. 1 C is the synchronization request message that provides of one embodiment of the invention or the structural representation of the data field in the syn ack message;
The flow chart of the FDB list item method for synchronous that Fig. 2 provides for another embodiment of the present invention;
The flow chart of the FDB list item method for synchronous that Fig. 3 provides for further embodiment of this invention;
The structural representation of the FDB list item synchronizer that Fig. 4 provides for one embodiment of the invention.
Embodiment
The flow chart of the FDB list item method for synchronous that Figure 1A provides for one embodiment of the invention.Shown in Figure 1A, the method for present embodiment comprises:
The CPU of step 101, the network equipment generates the synchronization request message; And through and the ASIC of the network equipment between ethernet port the synchronization request message is sent to ASIC, said synchronization request message comprises that sign synchronization request message is the synchronous type identification of request FDB list item.
The network equipment of present embodiment mainly is meant the network equipment in the Ethernet, for example can be switch or router etc.The network equipment of present embodiment mainly is made up of CPU and ASIC.Can connect through some low speed bus between CPU and the ASIC, control channel, for example a spi bus are provided.Simultaneously; In order to let CPU also can receive the data message in the network, also can couple together between CPU and the ASIC through ethernet port, a data passages is provided; This data passages can let CPU receive the Ethernet message that the user sends, and lets and can carry out network service between CPU and the user.
In the present embodiment; For the MAC Address that ASIC is learnt is announced to CPU, so that the FDB of the FDB of operating system and ASIC keeps synchronously, CPU and ASIC pass through ethernet port between the two; Promptly, carry out the synchronous request of FDB list item and reply through connecting the data channel of CPU and ASIC.
Concerning CPU, when needs request FDB list item is synchronous, generate the synchronization request message, through the ethernet port between itself and the ASIC synchronization request message is sent to ASIC then.
Wherein, the synchronization request message that CPU generated meets the Ethernet message format.Shown in Figure 1B, the synchronization request message of present embodiment comprises: target MAC (Media Access Control) address field, source MAC field, type of message field, data field and CRC (Cyclical Redundancy Check; Abbreviate as: CRC) field.
Wherein, the recipient of target MAC (Media Access Control) address sign message.For the synchronous synchronization request message of request FDB list item, target MAC (Media Access Control) address is the distinctive MAC Address of ASIC.
The sender of source MAC sign message.For the synchronous synchronization request message of request FDB list item, source MAC is the distinctive MAC Address of CPU.
The type of type of message field (ETYPE) sign message.Every kind of network application all can identify the message of this network application with a kind of special ETYPE value, separates with the message field with other network applications.Owing to also can transmit other service messages between CPU and the ASIC; For the various messages that the processing FDB list item in the present embodiment is synchronous and other service messages distinguish, the ETYPE value of selecting not have in the network to use is come the synchronous message of identification process FDB list item.Handling the synchronous message of FDB list item comprises the message (being the synchronization request message) that request FDB list item is synchronous and replys the synchronous message of FDB list item (being the syn ack message).
Data field is used to fill the True Data of needs transmission.
Crc field is used for making recipient's checking prediction message mistake whether to occur in transmission course.
Based on above-mentioned message format, present embodiment judges that through application target MAC Address and type of message field message is one and handles synchronous message or the common service message of FDB list item.
Further, present embodiment is done further division to the data field, shown in Fig. 1 C.Data field comprises: command code (Opcode) and a plurality of MAC clauses and subclauses (MAC Entry).Wherein.It is synchronization request message or syn ack message that command code is used for the synchronous message of identification process FDB list item, and for example, this field value can be the synchronization request message for 0/1,0 this message of expression, and 1 this message of expression is the syn ack message.For the synchronization request message, the MAC clauses and subclauses are not done qualification, and for the syn ack message, the MAC clauses and subclauses are used to carry the FDB list item.
Form based on above-mentioned synchronization request message; Present embodiment uses the command code in type of message field and the data field to identify the synchronization request message, promptly uses command code in type of message field and the data field as the type identification of synchronization request message simultaneously.Concrete; The process that CPU generates the synchronization request message comprises: CPU will identify the synchronization request message and be encapsulated in the type of message field and opcode field of synchronization request message for the synchronous type identification of request FDB list item; And the MAC Address of the ASIC target MAC (Media Access Control) address as the synchronization request message is encapsulated in the target MAC (Media Access Control) address field of synchronization request message; The MAC Address of the CPU source MAC as the synchronization request message is encapsulated in the source MAC field of synchronization request message, and in data field and crc field, adds corresponding contents.
But; Type identification for the synchronization request message is not limited to use the command code in type of message field and the data field; Meet at the synchronization request message on the basis of Ethernet message format, other implementations also can, for example the type of message field is expanded; It is to handle the synchronous message of FDB list item that type of message field after the use expansion identifies this message simultaneously, and is the synchronization request message of handling in the synchronous message of FDB list item.
Step 102, ASIC receive the synchronization request message through ethernet port; And read the FDB of ASIC according to the synchronization request message; The FDB list item that is read is encapsulated in the syn ack message; And interpolation sign syn ack message is to reply the synchronous type identification of FDB list item in the syn ack message, sends to CPU through ethernet port then.
CPU sends to ASIC through ethernet port with the synchronization request message; ASIC receives the synchronization request message through ethernet port.Then, ASIC confirms that according to the type identification in the synchronization request message this message is the synchronous message of CPU request FDB list item.For example; ASIC resolves the synchronization request message that receives according to the Ethernet message format; Obtain the target MAC (Media Access Control) address and the type of message of synchronization request message; Confirm the synchronization request message for handling the synchronous message of FDB list item,, confirm that the synchronization request message is for handling the request message in the synchronous message of FDB list item further according to the command code in the data field.Then, ASIC removes to read its FDB, from FDB, reads one or more FDB list item.Wherein, every FDB list item can comprise: the data such as behavior of MAC Address, port numbers, this MAC Address correspondence.Follow again; In the syn ack message of ASIC with the FDB list item encapsulation of being read; And package identification syn ack message is after replying the synchronous type identification of FDB list item (being about to identify the syn ack message is to reply the synchronous type identification of FDB list item to be encapsulated in the type of message field and opcode field of syn ack message) in the syn ack message, through and CPU between ethernet port send to CPU.Wherein, ASIC through and CPU between ethernet port the syn ack message is sent to before the CPU also and can the MAC Address of the CPU target MAC (Media Access Control) address as the syn ack message be encapsulated in the target MAC (Media Access Control) address field of syn ack message; The MAC Address of the ASIC source MAC as the syn ack message is encapsulated in the source MAC field of syn ack message, and in crc field, adds corresponding contents.
Wherein, the form of syn ack message is shown in Figure 1B, and the form of its data field also can be shown in Fig. 1 C.Command code in the ASIC data field is set to 1, and the FDB list item that is obtained is encapsulated in a plurality of MAC clauses and subclauses.Based on message format shown in Figure 1B and Fig. 1 C, the type identification of the syn ack message of present embodiment also can use the command code in type of message field and the data field to represent, but is not limited thereto.
Step 103, CPU receive the syn ack message through ethernet port, and carry out synchronously according to the FDB of syn ack message to operating system.
ASIC through and CPU between ethernet port return the syn ack message to CPU; CPU through and ASIC between ethernet port receive the syn ack message.
After CPU receives the syn ack message, the syn ack message is resolved,, confirm that the syn ack message is that ASIC replys the synchronous message of FDB list item according to the type identification in the syn ack message according to the Ethernet message format.For example; CPU confirms the syn ack message for handling the synchronous message of FDB list item according to target MAC (Media Access Control) address in the syn ack message and type of message field, further confirms that according to the command code in the data field syn ack message is for handling the response message in the synchronous message of FDB list item.Then, CPU carries out according to the FDB of the FDB list item that from the syn ack message, obtains to operating system synchronously.Wherein, the FDB of operating system can be regarded as software FDB.
CPU comprises according to the FDB of the FDB list item that from the syn ack message, obtains to operating system synchronously:
If there is not the FDB list item that from the syn ack message, parses among the FDB of operating system, CPU directly adds the FDB list item that from the syn ack message, parses among the FDB of operating system; In other words, for existing in the syn ack message and there is not the FDB list item among the FDB of operating system, CPU directly adds among the FDB of operating system.
If there are other FDB list items outside the FDB list item that from the syn ack message, parses among the FDB of operating system, CPU is with other FDB list item deletions; In other words, for not existing in the syn ack message and there is the FDB list item among the FDB of operating system, CPU directly deletes from the FDB of operating system.
For among the FDB that not only has operating system but also have the FDB list item in the syn ack message, CPU does not carry out any operation.
So far, CPU has accomplished the simultaneous operation to the FDB of operating system according to the FDB of ASIC.
The FDB list item method for synchronous of present embodiment; CPU and ASIC carry out the synchronous request of FDB list item and reply through ethernet port between the two; Thereby accomplished through Ethernet ASIC FDB and operating system FDB synchronously; Make full use of the fast advantage of ethernet port transmission speed, make and in time accomplish synchronously between FDB and the operating system of ASIC, use spi bus to carry out FDB locking phase ratio with prior art; Reduced influence, and evaded because the other problems that spi bus speed is brought too slowly etc. to the real-time of operating system.In addition,, need not to amplify the Cycle Length that reads FDB, make the user can in time understand the state of FDB because the method for present embodiment is little to the influence of the real-time of operating system.For example; Transmission rate with ethernet port is that 1000Mbps is an example; And the FDB with ASIC comprises that 8192 FDB list items are example, and the time through the synchronous FDB of ethernet port is (8192 (total FDB list item bar number) * 7 (at least 7 bytes of each list item) * 8 (8 of each bytes))/(1000*10 6)=0.000458752 second is far smaller than the 0.917504 second time through the synchronous FDB of spi bus, influences the real-time of operating system hardly.
The flow chart of the FDB list item method for synchronous that Fig. 2 provides for another embodiment of the present invention.As shown in Figure 2, the method for present embodiment comprises:
Step 200, CPU judge whether arrive synchronizing cycle; If judged result is for being execution in step 201; If judged result is for denying execution in step 204.
In the present embodiment, periodically the FDB of ASIC and the FDB of operating system are carried out synchronously.
Concrete, CPU judges whether arrive synchronizing cycle, if arrive in synchronizing cycle, then begins to carry out the simultaneous operation of FDB list item.What wherein, the length of synchronizing cycle can dependency network need be customized by the user voluntarily.
The CPU of step 201, the network equipment generates the synchronization request message; And through and the ASIC of the network equipment between ethernet port the synchronization request message is sent to ASIC, said synchronization request message comprises that sign synchronization request message is the synchronous type identification of request FDB list item.
Step 202, ASIC receive the synchronization request message through ethernet port; And read the FDB of ASIC according to the synchronization request message; The FDB list item that is read is encapsulated in the syn ack message; And interpolation sign syn ack message is to reply the synchronous type identification of FDB list item in the syn ack message, sends to CPU through ethernet port then.
Step 203, CPU receive the syn ack message through ethernet port, and carry out synchronously according to the FDB of syn ack message to operating system.
Above-mentioned steps 201-step 203 can repeat no more at this referring to the description of step 101 and step 103.
Step 204, wait Preset Time, and return execution in step 200.
If synchronizing cycle, also no show was then waited for a period of time, continue to judge whether arrive synchronizing cycle then.
Wherein.In waiting time, CPU can carry out other operations, is not limited to sky etc., to improve the utilance of CPU.
The FDB list item method for synchronous of present embodiment; Through be set synchronizing cycle, it is synchronous to have realized periodically carrying out FDB, can guarantee between FDB and the operating system of ASIC synchronously in time; Guarantee that the user can in time understand the state of FDB, helps improving the utilance of CPU, ASIC etc. again.
The flow chart of the FDB list item method for synchronous that Fig. 3 provides for further embodiment of this invention.As shown in Figure 3, the method for present embodiment comprises:
Step 300, CPU judge whether arrive synchronizing cycle; If judged result is for being execution in step 301; If judged result is for denying execution in step 311.
This step 300 can be referring to the description of step 200.
The CPU of step 301, the network equipment generates the synchronization request message, and said synchronization request message comprises that sign synchronization request message is the synchronous type identification of request FDB list item.
Step 302, CPU through and the ASIC of the network equipment between ethernet port the synchronization request message is sent to ASIC.
Step 303, ASIC receive the synchronization request message through ethernet port, and read the FDB of ASIC according to the synchronization request message.
Above-mentioned steps can be referring to the description in step 101 and the step 102.
Step 304, ASIC judge whether the operation of the FDB that this time reads ASIC reads the last item FDB list item among the FDB; If judged result is for denying execution in step 305; If judged result is for being execution in step 306.
In practical application, because FDB is bigger, can't all FDB list items be synchronized to operating system through a synchronous request and the response operation of FDB list item, possibly carry out simultaneous operation in batches.Based on this, the ASIC of present embodiment through judge this operation of reading FDB whether read the last item FDB list item judge this time whether can accomplish to whole FDB synchronously.If read the last item FDB list item, the request that this FDB list item is synchronous is described and reply can accomplish to whole FDB synchronously; If do not read the last item FDB list item, the request that this FDB list item is synchronous is described and reply can't accomplish to whole FDB synchronously, also need continue to carry out synchronous request of FDB list item and response operation.
The position of step 305, the current FDB list item that reads of ASIC record; So that begin to read from the position of being write down when reading the FDB of ASIC next time; The FDB list item that is read is encapsulated in the syn ack message; And interpolation sign syn ack message is to reply the synchronous type identification of FDB list item in the syn ack message, sends to CPU through ethernet port then, and execution in step 307.
This step is applicable to the request that this FDB list item is synchronous and replys the synchronous situation that can't accomplish whole FDB.In order to guarantee in follow-up execution FDB the list item synchronous request and response operation process; Do not repeat to send the FDB list item, the ASIC of present embodiment is judging when not reading the last item FDB list item the position of writing down the current FDB list item that reads; When reading FDB, just can begin like this from the current location of record next time; Avoided sending the FDB list item of repetition, helped improving synchronous efficiency on the one hand, helped practicing thrift the processing burden of CPU and ASIC on the other hand to CPU.
Other operations of this step can be referring to the description of step 102.
Further, in this step, ASIC can also add the flag bit that identifies the last item FDB list item among the FDB that does not read ASIC in the syn ack message, also need continue to send the synchronization request message in order to inform CPU, to obtain other FDB list items.
Step 306, ASIC are encapsulated in the FDB list item that is read in the syn ack message; And interpolation sign syn ack message is to reply synchronous type identification of FDB list item and the flag bit that identifies the last item FDB list item among the FDB that reads ASIC in the syn ack message; Send to CPU through ethernet port then, and execution in step 307.
This step is applicable to the request that this FDB list item is synchronous and replys the synchronous situation that can accomplish whole FDB.In this case; ASIC adds the flag bit that identifies the last item FDB list item among the FDB that reads ASIC simultaneously in the syn ack message; With inform CPU through the synchronous request of this FDB list item and reply will accomplish to whole FDB synchronously so that CPU prepares to carry out post-treatment operations.
Other descriptions of this step can be repeated no more at this referring to step 102.
Step 307, CPU receive the syn ack message through ethernet port, and the syn ack message is resolved.
Concrete, CPU resolves the syn ack message according to the Ethernet message format, parses the entrained FDB list item of syn ack message.If carry the flag bit that sign ASIC reads the last item FDB list item among the FDB in the syn ack message; And/or carry sign ASIC when not reading the flag bit of the last item FDB list item among the FDB; CPU also can parse the flag bit that sign ASIC reads the last item FDB list item among the FDB from the syn ack message, and/or sign ASIC does not read the flag bit of the last item FDB list item among the FDB.
Step 308, CPU judge whether from the syn ack message, to parse the flag bit that identifies the last item FDB list item among the FDB that reads ASIC; If judged result is for denying execution in step 309; If judged result is for being execution in step 310.
In this step; CPU is through judging whether from the syn ack message, to parse the flag bit that sign ASIC reads the last item FDB list item among the FDB; Judge this FDB list item synchronization request and response operation whether can accomplish to FDB synchronously, and be used for judging the processing mode that CPU should take.
Step 309, CPU carry out synchronously according to the FDB of the FDB list item that from the syn ack message, parses to operating system, and regenerate the synchronization request message, return execution in step 302.
If CPU is not resolved to the flag bit that sign ASIC reads the last item FDB list item among the FDB from the syn ack message; Explain this FDB list item synchronization request and response operation can not accomplish to FDB synchronously; After so CPU carries out synchronously according to the FDB list item that from the syn ack message, parses to the FDB of operating system; Regenerate the synchronization request message, and through continue execution in step 302 and subsequent step accomplish to FDB synchronously.
In FDB list item synchronization request and answering again, in step 303, ASIC begins from FDB, to read the FDB list item from the current location of last registration.
Step 310, CPU are carried out synchronously according to the FDB of the FDB list item that from the syn ack message, parses to operating system, and setting asks FDB list item synchronous synchronizing cycle next time, return execution in step 300.
If CPU is resolved to the flag bit that sign ASIC reads the last item FDB list item among the FDB from the syn ack message; Explain this FDB list item synchronization request and response operation can accomplish to FDB synchronously; Ask FDB list item synchronous synchronizing cycle so CPU is provided with, FDB is synchronous next time in order to carrying out next time.
Step 311, wait Preset Time, and return execution in step 300.
In the present embodiment; CPU and the ASIC ethernet port through between the two carry out between the FDB of FDB and operating system of ASIC synchronously; Make full use of ethernet port data rate advantage faster; Synchronous between the FDB that in time realizes ASIC and the FDB of operating system reduced the influence to the real-time of operating system.Simultaneously; ASIC is through judging whether to read the last item FDB list item and in the syn ack message, add sign whether read the last item FDB list item; Allow to accomplish synchronous to FDB, adapt with the practical application scene through FDB list item synchronization request repeatedly and response operation.Moreover; Present embodiment is through being provided with synchronizing cycle, and it is synchronous to have realized periodically carrying out FDB, can guarantee between FDB and the operating system of ASIC synchronously in time; Guarantee that the user can in time understand the state of FDB, helps improving the utilance of CPU, ASIC etc. again.
In this explanation, the embodiment of the invention is carried out the synchronous scheme of FDB through ethernet port and also can be used for other simultaneous operations, and for example: register is synchronous, counter synchronisation etc.; In addition, between CPU and ASIC, carry out FDB synchronously, can also be to carry out FDB simultaneous operation between other network equipments.
The structural representation of the FDB list item synchronizer that Fig. 4 provides for one embodiment of the invention.As shown in Figure 4, the device of present embodiment comprises: CPU41 and ASIC42.
CPU41; Be used to generate the synchronization request message; Through and the ASIC42 of FDB list item synchronizer between ethernet port the synchronization request message is sent to ASIC42; And receive the syn ack message that ASIC42 returns according to the synchronization request message, and carry out synchronously according to the FDB of syn ack message to operating system through ethernet port.Said synchronization request message comprises that sign synchronization request message is the synchronous type identification of request FDB list item.The synchronization request message of present embodiment meets the Ethernet message format.
ASIC42; Be connected with CPU41; Be used for receiving the synchronization request message, and read the FDB of ASIC42, the FDB list item that is read is encapsulated in the syn ack message according to the synchronization request message through ethernet port; And interpolation sign syn ack message is to reply the synchronous type identification of FDB list item in the syn ack message, sends to CPU42 through ethernet port then.
Wherein, except can connecting, also can connect between CPU41 and the ASIC42 through low speed bus such as spi bus through ethernet port.
Each functional module of present embodiment FDB list item synchronizer can be used for carrying out the flow process of FDB list item method for synchronous shown in Figure 1, and its concrete operation principle repeats no more, and sees the description of method embodiment for details.
The FDB list item synchronizer of present embodiment can be the various network device in the Ethernet, for example switch or router etc.
The FDB list item synchronizer of present embodiment; The synchronization request that its CPU and its ASIC ethernet port through between the two carries out the FDB list item with reply; Made full use of the fast advantage of ethernet port transmission speed; Make and in time accomplish synchronously between FDB and the operating system of ASIC, and reduced influence the real-time of operating system.
Wherein, the synchronization request message and the syn ack message of present embodiment comprise type of message field and data field, and said data field comprises opcode field and MAC entry field, and its concrete structure is shown in Figure 1B and Fig. 1 C.
Implementation structure based on the synchronization request message; The CPU41 of FDB list item synchronizer specifically is used for sign synchronization request message is encapsulated in the type of message field and the opcode field of synchronization request message for the synchronous type identification of request FDB list item, and the MAC Address of the ASIC42 target MAC (Media Access Control) address as the synchronization request message is encapsulated in the target MAC (Media Access Control) address field of synchronization request message.
Implementation structure based on the syn ack message; It is to reply type of message field and the opcode field that the synchronous type identification of FDB list item is encapsulated in the syn ack message that ASIC42 specifically is used for sign syn ack message, and the MAC Address of the CPU41 target MAC (Media Access Control) address as the syn ack message is encapsulated in the target MAC (Media Access Control) address field of syn ack message.
Further; The CPU41 of FDB list item synchronizer also was used for before generating the synchronization request message; Judge whether arrive synchronizing cycle; And when arrive in synchronizing cycle, carry out to generate the synchronization request message, and through and ASIC42 between ethernet port the synchronization request message is sent to the operation of ASIC42.CPU41 is through being provided with synchronizing cycle, and it is synchronous to have realized periodically carrying out FDB, can guarantee between FDB and the operating system of ASIC synchronously in time, guarantee that the user can in time understand the state of FDB, helps improving the utilance of CPU, ASIC etc. again.
Further; The ASIC42 of FDB list item synchronizer specifically is used for reading according to the synchronization request message FDB of ASI42C; If read the last item FDB list item among the FDB of ASIC42; Write down the position of the current FDB list item that reads,, the FDB list item that is read is encapsulated in the syn ack message so that begin to read from the position of being write down when reading the FDB of ASIC42 next time; And interpolation sign syn ack message is to reply the synchronous type identification of FDB list item in the syn ack message, sends to CPU41 through ethernet port then; If read the last item FDB list item among the FDB that the FDB of ASIC42 reads ASIC42; The FDB list item that is read is encapsulated in the syn ack message; And interpolation sign syn ack message is to reply synchronous type identification of FDB list item and the flag bit that identifies the last item FDB list item among the FDB that reads ASIC42 in the syn ack message, sends to CPU41 through ethernet port then.
Further, ASIC42 also is used for when the last item FDB of the FDB that does not read ASIC42 list item, in the syn ack message, adds the flag bit that identifies the last item FDB list item among the FDB that does not read ASIC42.
Correspondingly; CPU41 specifically is used for receiving the syn ack message through ethernet port, the syn ack message is resolved, if from the syn ack message, do not parse the flag bit that identifies the last item FDB list item among the FDB that reads ASIC42; After carrying out synchronously according to the FDB list item that from the syn ack message, parses to the FDB of operating system; Regenerate the synchronization request message, and the synchronization request message is sent to ASIC42 through ethernet port, to continue to carry out FDB simultaneous operation.
In addition, CPU41 also is used for parsing sign from the syn ack message when reading the flag bit of the last item FDB list item the FDB of ASIC42, is provided with to ask FDB list item synchronous synchronizing cycle next time.
Further; CPU41 specifically is used for when there is not the FDB list item that from the syn ack message, parses in the FDB of operating system; The FDB list item that from the syn ack message, parses is directly added among the FDB of operating system; And when in making the FDB of system, having other FDB list items outside the FDB list item from the syn ack message, parse, with other FDB list items deletions.
Above-mentioned CPU41 and ASIC42 can be used for carrying out the flow process of FDB list item method for synchronous shown in Figure 3, and its concrete operation principle repeats no more, and sees the description of method embodiment for details.
In sum; The FDB list item synchronizer of present embodiment have between the FDB of FDB and operating system that following beneficial effect: CPU and the ASIC ethernet port through between the two carries out ASCI synchronously; Make full use of ethernet port data rate advantage faster; Synchronous between the FDB that in time realizes ASCI and the FDB of operating system reduced the influence to the real-time of operating system; ASIC is through judging whether to read the last item FDB list item and in the syn ack message, add sign whether read the last item FDB list item; Allow to accomplish synchronous to FDB, adapt with the practical application scene through FDB list item synchronization request repeatedly and response operation; Through be set synchronizing cycle, it is synchronous to have realized periodically carrying out FDB, can guarantee between FDB and the operating system of ASIC synchronously in time, guarantee that the user can in time understand the state of FDB, helps improving the utilance of CPU, ASIC etc. again.
One embodiment of the invention provides a kind of network equipment, comprising: the FDB list item synchronizer that the above embodiment of the present invention provides.Wherein, the structure of FDB list item synchronizer can be referring to shown in Figure 4, the description of method embodiment shown in its operation principle is can be referring to Figure 1A-Fig. 3 arbitrary.
The network equipment of present embodiment mainly is meant the network equipment in the Ethernet, for example can be router, switch etc.
The network equipment of present embodiment; Owing to comprise FDB list item synchronizer provided by the invention; FDB list item synchronizer carries out the FDB list item through its CPU and its ASIC ethernet port through between the two synchronization request with reply; Made full use of the fast advantage of ethernet port transmission speed, made and in time accomplish synchronously between FDB and the operating system of ASIC, and reduced influence the real-time of operating system.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of program command; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.

Claims (12)

1. a filtered data base FDB list item method for synchronous is characterized in that, comprising:
The central processing unit CPU of the network equipment generates the synchronization request message; And through and the application-specific integrated circuit ASIC of the said network equipment between ethernet port said synchronization request message is sent to said ASIC, said synchronization request message comprises that the said synchronization request message of sign is the synchronous type identification of request FDB list item;
Said ASIC receives said synchronization request message through said ethernet port; And read the FDB of said ASIC according to said synchronization request message; The FDB list item that is read is encapsulated in the syn ack message; And the said syn ack message of interpolation sign is to reply the synchronous type identification of FDB list item in said syn ack message, sends to said CPU through said ethernet port then;
Said CPU receives said syn ack message through said ethernet port, and carries out synchronously according to the FDB of said syn ack message to operating system.
2. FDB list item method for synchronous according to claim 1; It is characterized in that; The central processing unit CPU of the said network equipment generates the synchronization request message, and through and the application-specific integrated circuit ASIC of the said network equipment between ethernet port comprise before said synchronization request message is sent to said ASIC:
Said CPU judges whether arrive synchronizing cycle;
When arrived in said synchronizing cycle, said CPU carried out and generates the synchronization request message, and through and the application-specific integrated circuit ASIC of the said network equipment between ethernet port said synchronization request message is sent to the operation of said ASIC.
3. FDB list item method for synchronous according to claim 1; It is characterized in that; Said ASIC reads the FDB of said ASIC according to said synchronization request message; The FDB list item that is read is encapsulated in the syn ack message, and the said syn ack message of interpolation sign is to reply the synchronous type identification of FDB list item in said syn ack message, sends to said CPU through said ethernet port then and comprises:
If the FDB that said ASIC reads said ASIC according to said synchronization request message does not read the last item FDB list item among the FDB of said ASIC; Write down the position of the current FDB list item that reads; So that begin to read from the position of being write down when reading the FDB of said ASIC next time; The FDB list item that is read is encapsulated in the syn ack message; And the said syn ack message of interpolation sign is to reply the synchronous type identification of FDB list item in said syn ack message, sends to said CPU through said ethernet port then;
If the FDB that said ASIC reads said ASIC according to said synchronization request message reads the last item FDB list item among the FDB of said ASIC; The FDB list item that is read is encapsulated in the syn ack message; And the said syn ack message of interpolation sign is to reply synchronous type identification of FDB list item and the flag bit that identifies the last item FDB list item among the FDB that reads said ASIC in said syn ack message, sends to said CPU through said ethernet port then;
Said CPU receives said syn ack message through said ethernet port, and comprises synchronously according to the FDB of said syn ack message to operating system:
Said CPU receives said syn ack message through said ethernet port; Said syn ack message is resolved; If from said syn ack message, do not parse the flag bit that identifies the last item FDB list item among the FDB that reads said ASIC; After said CPU carries out synchronously according to the FDB list item that from said syn ack message, parses to the FDB of said operating system; Regenerate said synchronization request message, and said synchronization request message is sent to said ASIC through said ethernet port.
4. FDB list item method for synchronous according to claim 3; It is characterized in that; If said CPU parses the flag bit that sign reads the last item FDB list item among the FDB of said ASIC from said syn ack message, said CPU is provided with and asks FDB list item synchronous synchronizing cycle next time.
5. according to claim 1 or 2 or 3 or 4 described FDB list item method for synchronous; It is characterized in that; Said synchronization request message and said syn ack message comprise type of message field, purpose medium access control MAC Address field and data field, and said data field comprises opcode field and MAC entry field.
6. FDB list item method for synchronous according to claim 5; It is characterized in that; Said CPU generates the synchronization request message and comprises: said CPU will identify said synchronization request message and be encapsulated in the said type of message field and said opcode field of said synchronization request message for asking the synchronous type identification of FDB list item, and the MAC Address of the said ASIC target MAC (Media Access Control) address as said synchronization request message is encapsulated in the said target MAC (Media Access Control) address field of said synchronization request message;
Said ASIC adds the said syn ack message of sign in said syn ack message be to reply the synchronous type identification of FDB list item to comprise: it is to reply the synchronous type identification of FDB list item to be encapsulated in the said type of message field and said opcode field of said syn ack message that said ASIC will identify said syn ack message, and the MAC Address of the said CPU target MAC (Media Access Control) address as said syn ack message is encapsulated in the said target MAC (Media Access Control) address field of said syn ack message.
7. a filtered data base FDB list item synchronizer is characterized in that, comprising:
Central processing unit CPU; Be used to generate the synchronization request message; Through and the application-specific integrated circuit ASIC of said FDB list item synchronizer between ethernet port said synchronization request message is sent to said ASIC; And receive the syn ack message that said ASIC returns according to said synchronization request message through said ethernet port; And carry out synchronously according to the FDB of said syn ack message to operating system, said synchronization request message comprises that the said synchronization request message of sign is the synchronous type identification of request FDB list item;
Said ASIC; Be used for receiving said synchronization request message through said ethernet port; And read the FDB of said ASIC according to said synchronization request message; The FDB list item that is read is encapsulated in the said syn ack message, and the said syn ack message of interpolation sign is to reply the synchronous type identification of FDB list item in said syn ack message, sends to said CPU through said ethernet port then.
8. FDB list item synchronizer according to claim 7; It is characterized in that; Said CPU also is used for before generating said synchronization request message, judging whether arrive synchronizing cycle, and when arrive in said synchronizing cycle; Carry out to generate the synchronization request message, and through and the ASIC of said FDB list item synchronizer between ethernet port said synchronization request message is sent to the operation of said ASIC.
9. FDB list item synchronizer according to claim 7; It is characterized in that; Said ASIC specifically is used for reading the FDB of said ASIC according to said synchronization request message, if read the last item FDB list item among the FDB of said ASIC, the position of writing down the current FDB list item that reads; So that begin to read from the position of being write down when reading the FDB of said ASIC next time; The FDB list item that is read is encapsulated in the syn ack message, and the said syn ack message of interpolation sign is to reply the synchronous type identification of FDB list item in said syn ack message, sends to said CPU through said ethernet port then; If read the last item FDB list item among the FDB that the FDB of said ASIC reads said ASIC; The FDB list item that is read is encapsulated in the syn ack message; And the said syn ack message of interpolation sign is to reply synchronous type identification of FDB list item and the flag bit that identifies the last item FDB list item among the FDB that reads said ASIC in said syn ack message, sends to said CPU through said ethernet port then;
Said CPU specifically is used for receiving said syn ack message through said ethernet port; Said syn ack message is resolved; If from said syn ack message, do not parse the flag bit that identifies the last item FDB list item among the FDB that reads said ASIC; After carrying out synchronously according to the FDB list item that from said syn ack message, parses to the FDB of said operating system; Regenerate said synchronization request message, and said synchronization request message is sent to said ASIC through said ethernet port.
10. FDB list item synchronizer according to claim 9; It is characterized in that; Said CPU also is used for parsing sign from said syn ack message when reading the flag bit of the last item FDB list item the FDB of said ASIC, is provided with to ask FDB list item synchronous synchronizing cycle next time.
11. according to claim 7 or 8 or 9 or 10 described FDB list item synchronizers; It is characterized in that; Said synchronization request message and said syn ack message comprise type of message field, purpose medium access control MAC Address field and data field, and said data field comprises opcode field and MAC entry field;
Said CPU specifically is used for the said synchronization request message of sign is encapsulated in the said type of message field and the said opcode field of said synchronization request message for request FDB list item synchronous type identification, and the MAC Address of the said ASIC target MAC (Media Access Control) address as said synchronization request message is encapsulated in the said target MAC (Media Access Control) address field of said synchronization request message;
It is to reply said type of message field and the said opcode field that the synchronous type identification of FDB list item is encapsulated in said syn ack message that said ASIC specifically is used for the said syn ack message of sign, and the MAC Address of the said CPU target MAC (Media Access Control) address as said syn ack message is encapsulated in the said target MAC (Media Access Control) address field of said syn ack message.
12. a network equipment is characterized in that, comprises each described filtered data base list item synchronizer of claim 7-11.
CN201110371806.8A 2011-11-21 2011-11-21 Synchronization method for filtering database table forms, device and network equipment Active CN102404215B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110371806.8A CN102404215B (en) 2011-11-21 2011-11-21 Synchronization method for filtering database table forms, device and network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110371806.8A CN102404215B (en) 2011-11-21 2011-11-21 Synchronization method for filtering database table forms, device and network equipment

Publications (2)

Publication Number Publication Date
CN102404215A true CN102404215A (en) 2012-04-04
CN102404215B CN102404215B (en) 2014-06-04

Family

ID=45886018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110371806.8A Active CN102404215B (en) 2011-11-21 2011-11-21 Synchronization method for filtering database table forms, device and network equipment

Country Status (1)

Country Link
CN (1) CN102404215B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104394078A (en) * 2014-11-05 2015-03-04 盛科网络(苏州)有限公司 Method and system of querying FDB (Forwarding Database) table items of chip
CN105450606A (en) * 2014-08-27 2016-03-30 中国银联股份有限公司 LDAP service node and synchronization method
CN105591818A (en) * 2015-12-21 2016-05-18 杭州华三通信技术有限公司 Method and device for synchronizing port diagnostic information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080240106A1 (en) * 2007-03-30 2008-10-02 Ralph Schlenk Method and apparatus for MAC address learning
CN101656676A (en) * 2009-09-18 2010-02-24 杭州华三通信技术有限公司 Method and equipment for updating media access control (MAC) address list items
CN102195794A (en) * 2010-03-04 2011-09-21 中兴通讯股份有限公司 Quick switching method and device for path protection of Ethernet

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080240106A1 (en) * 2007-03-30 2008-10-02 Ralph Schlenk Method and apparatus for MAC address learning
CN101656676A (en) * 2009-09-18 2010-02-24 杭州华三通信技术有限公司 Method and equipment for updating media access control (MAC) address list items
CN102195794A (en) * 2010-03-04 2011-09-21 中兴通讯股份有限公司 Quick switching method and device for path protection of Ethernet

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450606A (en) * 2014-08-27 2016-03-30 中国银联股份有限公司 LDAP service node and synchronization method
CN105450606B (en) * 2014-08-27 2018-11-27 中国银联股份有限公司 A kind of LDAP service node and synchronous method
CN104394078A (en) * 2014-11-05 2015-03-04 盛科网络(苏州)有限公司 Method and system of querying FDB (Forwarding Database) table items of chip
CN105591818A (en) * 2015-12-21 2016-05-18 杭州华三通信技术有限公司 Method and device for synchronizing port diagnostic information

Also Published As

Publication number Publication date
CN102404215B (en) 2014-06-04

Similar Documents

Publication Publication Date Title
CN102480462B (en) Universal protocol adapting method and device
AU2002351015B2 (en) Method and device for defining objects allowing to establish a device management tree for mobile communication devices
US7747561B1 (en) Synchronization protocol for synchronizing data between nodes
KR101400329B1 (en) Communication system
CN102833061A (en) Method for improving clock accuracy based on seamless redundancy ring network and node
JP2006180510A (en) Method for controlling transfer of short data telegram
CN101877659A (en) Method, device and system for monitoring packet loss
JP4494970B2 (en) Method, apparatus, and system for synchronizing data in response to an interrupted synchronization process
CN102404215B (en) Synchronization method for filtering database table forms, device and network equipment
JP2005012381A (en) Device and method for transferring data, data communication system using the same and program
CN1925386A (en) Clock synchronizing method and first part and second part using this method
EP4283938A1 (en) Packet forwarding method, packet processing method, and device
CN102263700A (en) Method, device and system for sending and receiving messages
WO2007058425A1 (en) Clock synchronization method for wireless 1394 heterogeneous networks
CN114679418A (en) Data transmission method, electronic device, and storage medium
CN101335610B (en) ARP synchronization method in high-side Ethernet network switch
TWI322602B (en) Method for dynamically synchronizing a client to a data source device, and dynamically synchronized communication system
CN115314563A (en) Message generation method, message processing method and message processing device
CN102843253A (en) Multi-sub-rack communication device and method and device of communication of multi-sub-rack communication device
JP2009188631A (en) Data transmission method and data transmitter
CN102394740B (en) Time synchronization method and device
CN113542277B (en) Method, system, medium, and apparatus for CANOPEN device bridging through TSN network
CN113271291B (en) Method and apparatus for transmitting data packets between TSN device and non-TSN device
CN111064622B (en) Network device, synchronization apparatus, and information transmission method
CN101483608A (en) EAPS loop network topology structure automatic discovery method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant