CN114006866A - Message forwarding method, system, equipment and medium - Google Patents
Message forwarding method, system, equipment and medium Download PDFInfo
- Publication number
- CN114006866A CN114006866A CN202111175044.4A CN202111175044A CN114006866A CN 114006866 A CN114006866 A CN 114006866A CN 202111175044 A CN202111175044 A CN 202111175044A CN 114006866 A CN114006866 A CN 114006866A
- Authority
- CN
- China
- Prior art keywords
- preset
- message
- values corresponding
- preset field
- fields
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 230000004044 response Effects 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 8
- 238000004364 calculation method Methods 0.000 claims description 2
- 230000002776 aggregation Effects 0.000 description 3
- 238000004220 aggregation Methods 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a message forwarding method, which comprises the following steps: responding to the received message, and acquiring an IP address of the message; acquiring a value corresponding to a preset field of a preset byte in the IP address of the message; responding to the fact that values corresponding to preset fields of the preset bytes are not all 1, and obtaining rules corresponding to the preset fields; calculating a decimal value corresponding to the preset field; and determining a forwarding port according to the decimal value and the rule so as to forward the message by using the forwarding port. The invention also discloses a system, a computer device and a readable storage medium. The scheme provided by the invention can be used for load sharing under the specific flow condition, and can flexibly design a shunting mode according to the current flow condition.
Description
Technical Field
The present invention relates to the field of messages, and in particular, to a message forwarding method, system, device, and storage medium.
Background
The aggregation and distribution achieves the effect of distribution according to the message attribute by setting an algorithm of the aggregation and distribution; ACL (access control list) has the function of matching message attributes such as IP or MAC and the like and redirecting; ACL is divided into two modes of exact match and fuzzy match, fuzzy match can ignore the fields which do not need to be concerned about, match the concerned fields and redirect to an egress port.
At present, the aggregation carries out the shunting according to a self-configurable algorithm, the shunting condition is determined by the attribute of the flow, under the state of specific flow, the bandwidth of a port cannot be fully utilized, and even the condition that the existing load sharing cannot bear the existing flow occurs and packet loss occurs.
The existing flow distribution technology can not fully utilize the port bandwidth under specific flow, and even the situation that the current flow can not be distributed by load sharing and packet loss occurs.
Disclosure of Invention
In view of this, in order to overcome at least one aspect of the foregoing problems, an embodiment of the present invention provides a packet forwarding method, including the following steps:
responding to the received message, and acquiring an IP address of the message;
acquiring a value corresponding to a preset field of a preset byte in the IP address of the message;
responding to the fact that values corresponding to preset fields of the preset bytes are not all 1, and obtaining rules corresponding to the preset fields;
calculating a decimal value corresponding to the preset field;
and determining a forwarding port according to the decimal value and the rule so as to forward the message by using the forwarding port.
In some embodiments, obtaining a value corresponding to a preset field of a preset byte in an IP address of the packet further includes:
and judging whether the values corresponding to the Nth preset field of the first preset byte in the IP address are all 1.
In some embodiments, in response to that the values corresponding to the preset fields of the preset bytes are not all 1, obtaining the rule corresponding to the preset fields, further includes:
and responding to the situation that the values corresponding to the Nth preset field are not all 1, and acquiring a rule corresponding to the Nth preset field.
In some embodiments, further comprising:
responding to the condition that the values corresponding to the Nth preset field are all 1, and judging whether the values corresponding to the (N + 1) th preset field adjacent to the Nth preset field are all 1;
and responding to the condition that the values corresponding to the N +1 preset fields are not all 1, and acquiring the rule corresponding to the N +1 preset fields.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a message distribution system, including:
the receiving module is configured to respond to the received message and acquire the IP address of the message;
the first acquisition module is configured to acquire a value corresponding to a preset field of a preset byte in the IP address of the message;
the second obtaining module is configured to respond to the fact that values corresponding to preset fields of the preset bytes are not all 1, and obtain rules corresponding to the preset fields;
the calculation module is configured to calculate a decimal value corresponding to the preset field;
and the forwarding module is configured to determine a forwarding port according to the decimal value and the rule so as to forward the message by using the forwarding port.
In some embodiments, the first obtaining module is further configured to:
and judging whether the values corresponding to the Nth preset field of the first preset byte in the IP address are all 1.
In some embodiments, the second obtaining module is further configured to:
and responding to the situation that the values corresponding to the Nth preset field are not all 1, and acquiring a rule corresponding to the Nth preset field.
In some embodiments, the second obtaining module is further configured to:
responding to the condition that the values corresponding to the Nth preset field are all 1, and judging whether the values corresponding to the (N + 1) th preset field adjacent to the Nth preset field are all 1;
and responding to the condition that the values corresponding to the N +1 preset fields are not all 1, and acquiring the rule corresponding to the N +1 preset fields.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a computer apparatus, including:
at least one processor; and
a memory storing a computer program operable on the processor, wherein the processor executes the program to perform the steps of:
responding to the received message, and acquiring an IP address of the message;
acquiring a value corresponding to a preset field of a preset byte in the IP address of the message;
responding to the fact that values corresponding to preset fields of the preset bytes are not all 1, and obtaining rules corresponding to the preset fields;
calculating a decimal value corresponding to the preset field;
and determining a forwarding port according to the decimal value and the rule so as to forward the message by using the forwarding port.
In some embodiments, obtaining a value corresponding to a preset field of a preset byte in an IP address of the packet further includes:
and judging whether the values corresponding to the Nth preset field of the first preset byte in the IP address are all 1.
In some embodiments, in response to that the values corresponding to the preset fields of the preset bytes are not all 1, obtaining the rule corresponding to the preset fields, further includes:
and responding to the situation that the values corresponding to the Nth preset field are not all 1, and acquiring a rule corresponding to the Nth preset field.
In some embodiments, further comprising:
responding to the condition that the values corresponding to the Nth preset field are all 1, and judging whether the values corresponding to the (N + 1) th preset field adjacent to the Nth preset field are all 1;
and responding to the condition that the values corresponding to the N +1 preset fields are not all 1, and acquiring the rule corresponding to the N +1 preset fields.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a computer-readable storage medium storing a computer program which, when executed by a processor, performs the steps of:
responding to the received message, and acquiring an IP address of the message;
acquiring a value corresponding to a preset field of a preset byte in the IP address of the message;
responding to the fact that values corresponding to preset fields of the preset bytes are not all 1, and obtaining rules corresponding to the preset fields;
calculating a decimal value corresponding to the preset field;
and determining a forwarding port according to the decimal value and the rule so as to forward the message by using the forwarding port.
In some embodiments, obtaining a value corresponding to a preset field of a preset byte in an IP address of the packet further includes:
and judging whether the values corresponding to the Nth preset field of the first preset byte in the IP address are all 1.
In some embodiments, in response to that the values corresponding to the preset fields of the preset bytes are not all 1, obtaining the rule corresponding to the preset fields, further includes:
and responding to the situation that the values corresponding to the Nth preset field are not all 1, and acquiring a rule corresponding to the Nth preset field.
In some embodiments, further comprising:
responding to the condition that the values corresponding to the Nth preset field are all 1, and judging whether the values corresponding to the (N + 1) th preset field adjacent to the Nth preset field are all 1;
and responding to the condition that the values corresponding to the N +1 preset fields are not all 1, and acquiring the rule corresponding to the N +1 preset fields.
The invention has one of the following beneficial technical effects: the scheme provided by the invention can be used for load sharing under the specific flow condition, and can flexibly design a shunting mode according to the current flow condition.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a message forwarding method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a message forwarding system according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a computer device provided in an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
According to an aspect of the present invention, an embodiment of the present invention provides a packet forwarding method, as shown in fig. 1, which may include the steps of:
s1, responding to the received message, acquiring the IP address of the message;
s2, obtaining the value corresponding to the preset field of the preset byte in the IP address of the message;
s3, responding to the fact that the values corresponding to the preset fields of the preset bytes are not all 1, and obtaining rules corresponding to the preset fields;
s4, calculating a decimal value corresponding to the preset field;
s5, determining a forwarding port according to the decimal value and the rule to forward the message by using the forwarding port.
The scheme provided by the invention can be used for load sharing under the specific flow condition, and can flexibly design a shunting mode according to the current flow condition.
In some embodiments, in step S1, in response to receiving the message, an IP address of the message is obtained, specifically, each byte in the IP address is obtained as an 8-bit binary string, for example, for the IP address 10.1.1.1, where the third byte 10 may be represented as 00001010, the second byte 1 may be represented as 00000001, the first byte 1 may be represented as 00000001, and the 0 th byte 1 may be represented as 00000001, so that one IP address may be represented by a 32-bit string.
In some embodiments, if the IP address is 1 at step and incremented 512 times, the upper 16 bits do not change in the model, but require homology and homing, so the upper 16 bits need full attention to ensure accurate matching of traffic into the model; shunting by taking 4 bits as a unit in the lower 16 bits; when the flow cannot be completely equalized, 3 bits are derived from the upper bits, and the flow is redistributed.
In some embodiments, obtaining a value corresponding to a preset field of a preset byte in an IP address of the packet further includes:
and judging whether the values corresponding to the Nth preset field of the first preset byte in the IP address are all 1.
In some embodiments, in response to that the values corresponding to the preset fields of the preset bytes are not all 1, obtaining the rule corresponding to the preset fields, further includes:
and responding to the situation that the values corresponding to the Nth preset field are not all 1, and acquiring a rule corresponding to the Nth preset field.
Specifically, the lower 4 bits of the lower 16 bits are used as a first preset field, that is, the lower 4 bits of the 0 th byte are used as preset fields, and whether the fields are all 1 is determined, for example, for the IP address 10.1.1.1, the two-level system corresponding to the 0 th byte is represented as 00000001, the lower 4 bits are 0001, and not both 1, a rule corresponding to the first preset field is matched, then step S4 is performed, a decimal value, that is, 1, corresponding to the value corresponding to the preset field is calculated, and then a corresponding forwarding port is found in the rule according to the decimal value (that is, 1), so as to forward the packet using the port.
In some embodiments, further comprising:
responding to the condition that the values corresponding to the Nth preset field are all 1, and judging whether the values corresponding to the (N + 1) th preset field adjacent to the Nth preset field are all 1;
and responding to the condition that the values corresponding to the N +1 preset fields are not all 1, and acquiring the rule corresponding to the N +1 preset fields.
Specifically, for example, for the IP address 10.1.1.63, the two-level system corresponding to the 0 th byte is represented as 00111111, the lower 4 bits thereof are 1111 bits and are all 1 bits, the rule corresponding to the second preset field (011 in 0011) is matched, that is, 3 bits are derived from the upper bits, then step S4 is performed, the decimal value corresponding to the preset field, that is, 3(011 obtained), is calculated, and then the corresponding forwarding port is found in the rule according to the decimal value (that is, 3) to forward the packet using the port.
Similarly, if the values in the second preset field are all 1, 3 bits are derived from the high order bits as the third preset field, and at this time, since the 0 th byte has only 8 bits, the value corresponding to the 1 st byte needs to be matched. The 1 st byte is also represented by 8 bits, the 0 th byte and the 1 st byte have 16 bits in total, if the lower 4 bits (the first preset field) and the upward derivative 3 bits (the second preset field is 1), the third preset field (the highest bit of the 0 th byte and the lower 2 bits of the 1 st byte) is matched with the rule, the decimal value corresponding to the third preset field (the highest bit of the 0 th byte and the lower 2 bits of the 1 st byte) is calculated, then the corresponding forwarding port is found in the rule according to the decimal value (namely 3), so that the port is used for forwarding the message, and so on.
The scheme provided by the invention can be used for load sharing under the specific flow condition, and can flexibly design a shunting mode according to the current flow condition.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a message distribution system 400, as shown in fig. 2, including:
the receiving module 401 is configured to respond to the received message and obtain an IP address of the message;
a first obtaining module 402, configured to obtain a value corresponding to a preset field of a preset byte in an IP address of the packet;
a second obtaining module 403, configured to, in response to that values corresponding to preset fields of the preset bytes are not all 1, obtain a rule corresponding to the preset fields;
a calculating module 404 configured to calculate a decimal value corresponding to the preset field;
a forwarding module 405 configured to determine a forwarding port according to the decimal value and the rule to forward the packet using the forwarding port.
In some embodiments, the first obtaining module 402 is further configured to:
and judging whether the values corresponding to the Nth preset field of the first preset byte in the IP address are all 1.
In some embodiments, the second obtaining module 403 is further configured to:
and responding to the situation that the values corresponding to the Nth preset field are not all 1, and acquiring a rule corresponding to the Nth preset field.
In some embodiments, the second obtaining module 403 is further configured to:
responding to the condition that the values corresponding to the Nth preset field are all 1, and judging whether the values corresponding to the (N + 1) th preset field adjacent to the Nth preset field are all 1;
and responding to the condition that the values corresponding to the N +1 preset fields are not all 1, and acquiring the rule corresponding to the N +1 preset fields.
The scheme provided by the invention can be used for load sharing under the specific flow condition, and can flexibly design a shunting mode according to the current flow condition.
Based on the same inventive concept, according to another aspect of the present invention, as shown in fig. 3, an embodiment of the present invention further provides a computer apparatus 501, comprising:
at least one processor 520; and
a memory 510, the memory 510 storing a computer program 511 executable on the processor, the processor 520 executing the program to perform the steps of:
s1, responding to the received message, acquiring the IP address of the message;
s2, obtaining the value corresponding to the preset field of the preset byte in the IP address of the message;
s3, responding to the fact that the values corresponding to the preset fields of the preset bytes are not all 1, and obtaining rules corresponding to the preset fields;
s4, calculating a decimal value corresponding to the preset field;
s5, determining a forwarding port according to the decimal value and the rule to forward the message by using the forwarding port.
In some embodiments, obtaining a value corresponding to a preset field of a preset byte in an IP address of the packet further includes:
and judging whether the values corresponding to the Nth preset field of the first preset byte in the IP address are all 1.
In some embodiments, in response to that the values corresponding to the preset fields of the preset bytes are not all 1, obtaining the rule corresponding to the preset fields, further includes:
and responding to the situation that the values corresponding to the Nth preset field are not all 1, and acquiring a rule corresponding to the Nth preset field.
In some embodiments, further comprising:
responding to the condition that the values corresponding to the Nth preset field are all 1, and judging whether the values corresponding to the (N + 1) th preset field adjacent to the Nth preset field are all 1;
and responding to the condition that the values corresponding to the N +1 preset fields are not all 1, and acquiring the rule corresponding to the N +1 preset fields.
The scheme provided by the invention can be used for load sharing under the specific flow condition, and can flexibly design a shunting mode according to the current flow condition.
Based on the same inventive concept, according to another aspect of the present invention, as shown in fig. 4, an embodiment of the present invention further provides a computer-readable storage medium 601, where the computer-readable storage medium 601 stores computer program instructions 610, and the computer program instructions 610, when executed by a processor, perform the following steps:
s1, responding to the received message, acquiring the IP address of the message;
s2, obtaining the value corresponding to the preset field of the preset byte in the IP address of the message;
s3, responding to the fact that the values corresponding to the preset fields of the preset bytes are not all 1, and obtaining rules corresponding to the preset fields;
s4, calculating a decimal value corresponding to the preset field;
s5, determining a forwarding port according to the decimal value and the rule to forward the message by using the forwarding port.
In some embodiments, obtaining a value corresponding to a preset field of a preset byte in an IP address of the packet further includes:
and judging whether the values corresponding to the Nth preset field of the first preset byte in the IP address are all 1.
In some embodiments, in response to that the values corresponding to the preset fields of the preset bytes are not all 1, obtaining the rule corresponding to the preset fields, further includes:
and responding to the situation that the values corresponding to the Nth preset field are not all 1, and acquiring a rule corresponding to the Nth preset field.
In some embodiments, further comprising:
responding to the condition that the values corresponding to the Nth preset field are all 1, and judging whether the values corresponding to the (N + 1) th preset field adjacent to the Nth preset field are all 1;
and responding to the condition that the values corresponding to the N +1 preset fields are not all 1, and acquiring the rule corresponding to the N +1 preset fields.
The scheme provided by the invention can be used for load sharing under the specific flow condition, and can flexibly design a shunting mode according to the current flow condition.
Finally, it should be noted that, as will be understood by those skilled in the art, all or part of the processes of the methods of the above embodiments may be implemented by a computer program, which may be stored in a computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above.
Further, it should be appreciated that the computer-readable storage media (e.g., memory) herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.
Claims (10)
1. A message forwarding method is characterized by comprising the following steps:
responding to the received message, and acquiring an IP address of the message;
acquiring a value corresponding to a preset field of a preset byte in the IP address of the message;
responding to the fact that values corresponding to preset fields of the preset bytes are not all 1, and obtaining rules corresponding to the preset fields;
calculating a decimal value corresponding to the preset field;
and determining a forwarding port according to the decimal value and the rule so as to forward the message by using the forwarding port.
2. The method of claim 1, wherein obtaining a value corresponding to a preset field of a preset byte in an IP address of the packet further comprises:
and judging whether the values corresponding to the Nth preset field of the first preset byte in the IP address are all 1.
3. The method of claim 2, wherein in response to the values corresponding to the preset fields of the preset bytes not all being 1, obtaining the rule corresponding to the preset fields, further comprising:
and responding to the situation that the values corresponding to the Nth preset field are not all 1, and acquiring a rule corresponding to the Nth preset field.
4. The method of claim 3, further comprising:
responding to the condition that the values corresponding to the Nth preset field are all 1, and judging whether the values corresponding to the (N + 1) th preset field adjacent to the Nth preset field are all 1;
and responding to the condition that the values corresponding to the N +1 preset fields are not all 1, and acquiring the rule corresponding to the N +1 preset fields.
5. A message distribution system, comprising:
the receiving module is configured to respond to the received message and acquire the IP address of the message;
the first acquisition module is configured to acquire a value corresponding to a preset field of a preset byte in the IP address of the message;
the second obtaining module is configured to respond to the fact that values corresponding to preset fields of the preset bytes are not all 1, and obtain rules corresponding to the preset fields;
the calculation module is configured to calculate a decimal value corresponding to the preset field;
and the forwarding module is configured to determine a forwarding port according to the decimal value and the rule so as to forward the message by using the forwarding port.
6. The system of claim 5, wherein the first acquisition module is further configured to:
and judging whether the values corresponding to the Nth preset field of the first preset byte in the IP address are all 1.
7. The system of claim 6, wherein the second acquisition module is further configured to:
and responding to the situation that the values corresponding to the Nth preset field are not all 1, and acquiring a rule corresponding to the Nth preset field.
8. The system of claim 7, wherein the second acquisition module is further configured to:
responding to the condition that the values corresponding to the Nth preset field are all 1, and judging whether the values corresponding to the (N + 1) th preset field adjacent to the Nth preset field are all 1;
and responding to the condition that the values corresponding to the N +1 preset fields are not all 1, and acquiring the rule corresponding to the N +1 preset fields.
9. A computer device, comprising:
at least one processor; and
memory storing a computer program operable on the processor, characterized in that the processor executes the program to perform the steps of the method according to any of claims 1-4.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, is adapted to carry out the steps of the method according to any one of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111175044.4A CN114006866B (en) | 2021-10-09 | 2021-10-09 | Message forwarding method, system, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111175044.4A CN114006866B (en) | 2021-10-09 | 2021-10-09 | Message forwarding method, system, equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114006866A true CN114006866A (en) | 2022-02-01 |
CN114006866B CN114006866B (en) | 2023-08-18 |
Family
ID=79922465
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111175044.4A Active CN114006866B (en) | 2021-10-09 | 2021-10-09 | Message forwarding method, system, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114006866B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018001020A1 (en) * | 2016-06-30 | 2018-01-04 | 中兴通讯股份有限公司 | Aggregated link based message forwarding method and device |
CN110636003A (en) * | 2018-06-21 | 2019-12-31 | 中国电信股份有限公司 | Message forwarding method, device, system and computer readable storage medium |
CN111953619A (en) * | 2020-08-07 | 2020-11-17 | 苏州浪潮智能科技有限公司 | Method, system, equipment and medium for shunting message based on DSCP |
-
2021
- 2021-10-09 CN CN202111175044.4A patent/CN114006866B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018001020A1 (en) * | 2016-06-30 | 2018-01-04 | 中兴通讯股份有限公司 | Aggregated link based message forwarding method and device |
CN110636003A (en) * | 2018-06-21 | 2019-12-31 | 中国电信股份有限公司 | Message forwarding method, device, system and computer readable storage medium |
CN111953619A (en) * | 2020-08-07 | 2020-11-17 | 苏州浪潮智能科技有限公司 | Method, system, equipment and medium for shunting message based on DSCP |
Also Published As
Publication number | Publication date |
---|---|
CN114006866B (en) | 2023-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11003482B2 (en) | Service proxy operations | |
US10911549B2 (en) | Proxy routing based on path headers | |
US9813312B2 (en) | Systems and methods for performing debugging operations on networks using a controller | |
US8958418B2 (en) | Frame handling within multi-stage switching fabrics | |
US10305776B2 (en) | Network verification | |
US8605628B2 (en) | Utilizing betweenness to determine forwarding state in a routed network | |
US9197564B2 (en) | Methods and apparatus for load balancing across member ports for traffic egressing out of a port channel | |
US20140244779A1 (en) | Efficient Longest Prefix Matching Techniques for Network Devices | |
US7835304B2 (en) | Method and apparatus for assigning IP addresses | |
US7349982B2 (en) | Enablement of route table entries | |
EP3281369A1 (en) | Server load balancing | |
CN105991660B (en) | System for resource sharing among multiple cloud storage systems | |
US8532331B2 (en) | Method for monitoring a picture or multimedia video pictures in a communication system | |
US9848068B2 (en) | Method for providing a parser to extract information from fields of a data packet header | |
CN111010330B (en) | Method, device and medium for detecting and recovering congested link | |
US20150358434A1 (en) | Efficient packet classification for dynamic containers | |
US11075950B2 (en) | Generation of security policies for microsegmented computer networks | |
CN109905413A (en) | A kind of matching process and device of IP address | |
CN110876072B (en) | Batch registered user identification method, storage medium, electronic device and system | |
CN114006866A (en) | Message forwarding method, system, equipment and medium | |
CN110868747B (en) | Method for detecting delay and automatically switching multiple network modes | |
CN109150921B (en) | Login method, device, equipment and storage medium of multi-node cluster | |
CN109327404B (en) | P2P prediction method and system based on naive Bayes classification algorithm, server and medium | |
US20220179837A1 (en) | Unbalanced binary tree construction method based on calculation of binary boundary value | |
CN116015796A (en) | Flow table updating method and device, firewall equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |