WO2023207196A1 - Message processing method and apparatus, and storage medium and program product - Google Patents
Message processing method and apparatus, and storage medium and program product Download PDFInfo
- Publication number
- WO2023207196A1 WO2023207196A1 PCT/CN2022/143461 CN2022143461W WO2023207196A1 WO 2023207196 A1 WO2023207196 A1 WO 2023207196A1 CN 2022143461 W CN2022143461 W CN 2022143461W WO 2023207196 A1 WO2023207196 A1 WO 2023207196A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- target
- information
- message
- sent
- indicator
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 60
- 238000000034 method Methods 0.000 claims description 50
- 238000004590 computer program Methods 0.000 claims description 21
- 230000008569 process Effects 0.000 claims description 19
- 230000015654 memory Effects 0.000 claims description 16
- 238000010586 diagram Methods 0.000 description 22
- 230000010365 information processing Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/50—Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
Definitions
- Embodiments of the present application relate to but are not limited to the field of communication technology, and in particular, to a message processing method and its device, storage medium, and program product.
- indicators in the stack are generally organized with label bits (32bit) as the basic unit, that is, occupying the position of one or more labels.
- label bits 32bit
- SPL Special purpose label (special purpose label)/eSPL (Extended Special-Purpose Label, extended special label) indicates information, or uses a common label to indicate, where the information is used to guide the device to forward or process packets.
- the correspondence between an indicator and information may be one-to-one, that is, one tag value indicates that it has the function of indicating one kind of information, or one-to-many, that is, one tag value indicates that it has the function of indicating multiple types of information.
- Embodiments of the present application provide a message processing method and its device, storage media, and program products, which can determine the requirements in the message based on the type of information, the repeated carrying and processing of information, and the order of information processing.
- embodiments of the present application provide a message processing method, including:
- the processing sequence determines the target indicator combination; generates a target message carrying the information to be sent and the target indicator combination; and sends the target message to the receiving node, so that the receiving node pairs the target indicator combination according to the target indicator combination.
- the information to be sent undergoes data processing.
- embodiments of the present application provide a message processing method, including:
- the target message includes a combination of information to be sent and a target indicator
- the target indicator combination is based on the information type of the information to be sent and the information of the information to be sent.
- embodiments of the present application also provide a message processing device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor.
- a message processing device including: a memory, a processor, and a computer program stored in the memory and executable on the processor.
- the processor executes the computer program Implement the message processing method as described above.
- embodiments of the present application further provide a computer-readable storage medium that stores computer-executable instructions, and the computer-executable instructions are used to execute the message processing method as described above.
- embodiments of the present application further provide a computer program product, which includes a computer program or computer instructions.
- the computer program or computer instructions are stored in a computer-readable storage medium.
- the processor of the computer device obtains the information from the computer program or computer instructions.
- the computer-readable storage medium reads the computer program or the computer instructions, and the processor executes the computer program or the computer instructions, so that the computer device performs the message processing method as described above.
- Embodiments of this application include: determining whether the target condition for using a combination indicator in the message is met based on the information type of the information to be sent and the order of processing of the information to be sent; when it is determined that the target condition is met, based on the information type and the order to be processed Determine the target indicator combination; generate a target message carrying the combination of the information to be sent and the target indicator; send the target message to the receiving node, so that the receiving node performs data processing on the information to be sent according to the target indicator combination, that is, after determining When the target conditions are met, the target indicator combination can be determined based on the information type and the order to be processed, and a target message carrying the combination of the information to be sent and the target indicator can be generated. Through the target indicator combination, the target indicator combination in the message can be determined based on the information type, The need for repeated carrying and repeated processing of information, as well as the order of information processing.
- Figure 1 is a flow chart of a message processing method provided by an embodiment of the present application.
- Figure 2 is a schematic diagram of a target indicator including four second data identification bits provided by an embodiment of the present application
- Figure 3 is a schematic diagram of indicators in a stack provided by an embodiment of the present application.
- Figure 4 is a schematic diagram of a post-stack indicator provided by an embodiment of the present application.
- FIG. 5 is a flow chart of another specific method of step S120 in Figure 1;
- Figure 6 is a flow chart of a specific method of step S130 in Figure 1;
- Figure 7 is a flow chart of a specific method of step S330 in Figure 6;
- FIG 8 is a flow chart of another specific method of step S330 in Figure 7;
- Figure 9 is a flow chart of a message processing method provided by another embodiment of the present application.
- Figure 10 is a flow chart of a specific method in step S620 in Figure 9;
- Figure 11 is a schematic structural diagram of a target indicator provided by a specific example of this application.
- Figure 12 is a schematic diagram of a target indicator provided by a specific example of the present application, which is filled in the target message of the candidate message in an orderly and continuous manner;
- Figure 13 is a schematic diagram of a target packet in which target indicators are filled in orderly and discontinuously into a candidate packet according to an embodiment of the present application;
- Figure 14 is a schematic diagram of a target message in which target indicators are filled in orderly and discontinuously into a candidate message according to another embodiment of the present application;
- Figure 15 is a schematic structural diagram of an indicator in the stack provided by a specific example of this application.
- Figure 16 is a schematic structural diagram of a post-stack indicator provided in a specific example of this application.
- Figure 17 is a schematic diagram of a target message provided by a specific example of this application.
- Figure 18 is a schematic structural diagram of a target indicator provided by another specific example of this application.
- Figure 19 is a schematic diagram of a target message provided by another specific example of this application.
- Figure 20 is a schematic structural diagram of a target indicator provided by another specific example of this application.
- Figure 21 is a schematic diagram of a network topology for performing a message processing method provided by another specific example of this application.
- Figure 22 is a schematic diagram of a target message provided by another specific example of this application.
- Figure 23 is a schematic diagram of a target message provided by another specific example of this application.
- Figure 24 is a schematic diagram of a target message obtained after the first data processing provided by another specific example of this application.
- Figure 25 is a schematic diagram of a target message obtained after the second data processing provided by another specific example of this application.
- Figure 26 is a schematic structural diagram of a message processing device provided by an embodiment of the present application.
- This application provides a message processing method and its device, storage medium, and program product. Based on the information type of the information to be sent and the order of processing of the information to be sent, it is determined whether the target condition for using a combination indicator in the message is met. ; When it is determined that the target conditions are met, the target indicator combination is determined based on the information type and the sequence to be processed; a target message carrying the combination of the information to be sent and the target indicator is generated; the target message is sent to the receiving node, so that the receiving node can Combine the information to be sent for data processing, that is to say, if it is determined that the target conditions are met, the target indicator combination can be determined based on the information type and the order to be processed, and a target message carrying the combination of the information to be sent and the target indicator can be generated.
- the target indicator combination can be determined based on the information type and the order to be processed, and a target message carrying the combination of the information to be sent and the target indicator can be generated.
- Figure 1 is a flow chart of a message processing method provided by an embodiment of the present application.
- the message processing method may include but is not limited to step S110, step S120, step S130 and step S140.
- Step S110 Determine whether the target condition for using a combination indicator in the message is met based on the information type of the information to be sent and the order in which the information to be sent is to be processed.
- the target condition can be that the number of information to be sent is multiple with the same information type; it can also be that different processing orders of the information to be sent correspond to different business logic or processing results; or it can be that there is The number of information to be sent of the same information type is multiple, and the different processing orders of the information to be sent correspond to different business logic or processing results, which can be determined according to the actual situation, and there are no specific restrictions on this. For example, assume that the information to be sent contains information a1, information a2 and information b, where information a1 and information a2 are the same information.
- the information to be sent contains two pieces of information of the same information type, it can be determined that the information is consistent with the The target condition of using the combination indicator in the message; or, assuming that the order of the information to be sent is information c, information b, and information a, and the order to be processed has corresponding business logic or processing results, then you can Determine that the target conditions for using the combination indicator in the message are met; or, the information to be sent contains information a1, information a2, and information b, and information a1 and information a2 are the same information, and the order to be sent is information b, information a2, and information a2. Information a1 and information a2, and the sequence to be processed has corresponding business logic or processing results, then it can be determined that the target conditions for using the combination indicator in the message are met. It should be noted that information a1 and information a2 are the same Information.
- Step S120 When it is determined that the target conditions are met, the target indicator combination is determined according to the information type and the order to be processed.
- the target indicator combination may include multiple target indicators, and when the multiple target indicators are filled in the target message, each target indicator may include a first data identification bit and a second data identification bit. At least one of them, wherein the first data identification bit is used to characterize whether the target to-be-sent information can be obtained through the target message, the target to-be-sent information is expressed by the first data identification bit, and the target message does not carry additional target to-be-sent information;
- the second data identification bit is used to indicate whether the target message carries corresponding information to be sent, and is not specifically limited here.
- the target indicator can be filled in the label stack of the target packet or after the label stack of the target packet; the second data identification bit can be used to indicate whether the label stack of the target packet carries The corresponding information to be sent can also be used to indicate whether the label stack of the target message carries the corresponding information to be sent.
- each target indicator can also include a data read identification bit and a stack bottom identification bit, where the stack bottom identification bit is used to indicate whether the current target indicator is at the bottom of the label stack, and the data read identification bit It is used to indicate whether to continue reading the next target indicator, and there is no specific restriction here.
- the number of the first data identification bits and the second data identification bits in each of the above target indicators is not limited, and may be one or more. The selection is based on the actual situation and is not specifically limited here.
- Step S130 Generate a target message carrying a combination of the information to be sent and the target indicator.
- Step S140 Send the target message to the receiving node, so that the receiving node performs data processing on the information to be sent based on the target indicator combination.
- the receiving node is configured to read a preset number of target indicators, which is not specifically limited here.
- the message processing method including the above-mentioned steps S110 to S140, first, based on the information type of the information to be sent and the order of processing of the information to be sent, it is determined whether it meets the requirements for using a combination indicator in the message.
- Target conditions When it is determined that the target conditions are met, the target indicator combination can be determined based on the information type and the order to be processed. Then, a target message carrying the combination of the information to be sent and the target indicator is generated, and finally the target message is sent to the receiving node. , so that the receiving node performs data processing on the information to be sent according to the target indicator combination.
- the target indicator combination when it is determined that the target conditions are met, can be determined according to the information type and the order to be processed, Generate a target message that carries a combination of information to be sent and a target indicator. Through the combination of target indicators, the requirements in the message can be determined based on the type of information, repeated carrying and processing of information, and the order of information processing.
- each target indicator when the target indicator combination includes multiple target indicators, and the multiple target indicators are filled in the label stack of the target message, and each target indicator includes a first data identification bit, A plurality of second data identification bits, stack bottom identification bits and data read identification bits, where the second data identification bit is used to indicate whether the label stack of the target message carries the corresponding information to be sent, as shown in Figure 2.
- FIG. 2 is a schematic diagram of a target indicator taking an example in which the target indicator includes four second data identification bits. It should be noted that the number of the first data identification bits and the second data identification bits may be three, four or more.
- the target indicator combination when the target indicator combination includes multiple target indicators, and some of the target indicators can be filled in the label stack of the target message, and the other part of the target indicators can be filled in the label stack of the target message.
- the target indicator filled in the label stack of the target packet be the stack indicator and the target indicator filled in the label stack of the target packet be the in-stack indicator
- Both the post-stack indicator and the in-stack indicator include a data read identification bit and a plurality of second data identification bits.
- the data read identification bit is used to indicate whether to continue reading the next target indicator; in the indicator in the stack, the second data identification bit is used to indicate whether the label stack carries the corresponding information to be sent, or , used to indicate whether the end of the label stack carries the corresponding information to be sent; in the end of the stack indicator, the second data identification bit is used to indicate whether the end of the label stack carries the corresponding information to be sent. It should also be noted that the number of second data identification bits is not limited and may be 3, 4 or more, and will not be listed one by one here.
- step S120 is further described. This step S120 may include but is not limited to the following steps:
- Target indicator combinations are determined based on information type, order to be processed, and preset combination rules.
- the target indicator combination can be determined according to the information type, the order to be processed, and the preset combination rule, thereby improving the accuracy of the data indication.
- step S120 is further described. This step S120 may include but is not limited to step S210 and step S220.
- Step S210 Determine the target indicator information according to the information type and the order to be processed, where the target indicator information includes the number of indicators, the information indicated by each indicator, the position of each indicator in the label stack, and the information indicated by each indicator. At least one of the positions of the information in the label stack.
- the information indicated by the indicator may include information to be sent, the information type of the information to be sent, the order in which the information to be sent is to be sent, whether the information to be sent is repeatedly carried or whether the information to be sent is repeatedly processed, etc. At least one of them is not specifically limited here.
- target indicator information may also include whether there are other labels between each indicator, the position of each indicator after the label stack, or the position of the information indicated by each indicator after the label stack, etc.
- No specific restrictions are imposed.
- Step S220 Determine a target indicator combination according to the target indicator information.
- the target indicator information can be determined according to the information type and the order to be processed, and the target indicator combination can be determined according to the target indicator information.
- the combination of target indicators can determine the requirements in the message based on the type of information, the repeated carrying and repeated processing of information, and the order of information processing.
- the target indicator information includes at least one of the number of indicators, the information indicated by each indicator, the position of each indicator in the label stack, and the location of the information indicated by each indicator in the label stack, No specific restrictions are made here.
- step S130 when the target indicator combination includes multiple target indicators, step S130 is further described.
- This step S130 may include but is not limited to steps S310, step S320 and Step S330.
- Step S310 Generate candidate messages
- Step S320 Perform parameter setting processing on the indication bits corresponding to each target indicator according to the information that each target indicator needs to indicate.
- each target indicator includes a first data identification bit.
- the first data identification bit is used to indicate whether the target information to be sent can be obtained through the target message.
- the target information to be sent is expressed by the first data identification bit, and the target The message does not carry additional target information to be sent.
- the first data identification bit is 1, it means that the target information to be sent can be obtained through the target message.
- the target information to be sent is expressed through the first data identification bit, and the target message does not carry additional information.
- the target information to be sent when the first data identification bit is 0, it means that the target information to be sent cannot be obtained through the target message, and the target information to be sent cannot be expressed through the first data identification bit.
- This embodiment does not specifically limit this, and it can also Other parameter setting processing is performed on the indication bit corresponding to each target indicator.
- the parameter can be 2, 3, 7, 8, etc., and a corresponding meaning is given to the parameter, which is not specifically limited here.
- Step S330 Fill the candidate message with the information to be sent and each target indicator that has undergone parameter setting processing to obtain the target message.
- the number of information to be sent is multiple, for example, 1, 3 or more, and the position sequence of each information to be sent in the target message is consistent with the indication bits corresponding to each target indicator. corresponding to the position order.
- the target message by filling the information to be sent and each target indicator that has been processed by parameter setting into the candidate message.
- the information to be sent and each target that has been processed by parameter setting can be filled in.
- the indicator is filled into the label stack of the candidate message to obtain the target message; or the information to be sent and each target indicator processed by parameter setting are filled into the label stack of the candidate message to obtain the target message; or Yes, a part of the information to be sent and each target indicator processed by parameter setting are filled into the label stack of the candidate message, and the other part of the information to be sent and each target indicator processed by parameter setting are filled into the candidate message.
- candidate messages are first generated, and secondly, according to the information that each target indicator needs to indicate, the indication bit corresponding to each target indicator is processed.
- Parameter setting processing and finally the information to be sent and each target indicator processed by parameter setting are filled into the candidate message to obtain the target message, which is convenient for the receiving node to read the target message according to the target indicator and obtain the information.
- the target indicator combination and the information to be sent corresponding to the target indicator combination can constitute data combination information.
- the target message is repeatedly filled with multiple data combination information, and each receiving node processes the corresponding data combination information.
- the data combination information is within the readable tag depth of the corresponding receiving node. It should also be noted that the readable tag depth of each receiving node may be different.
- step S330 is further described. This step S330 may include but is not limited to step S410 and step S420.
- Step S410 Fill each target indicator that has undergone parameter setting processing into the candidate message in an orderly and continuous manner
- Step S420 Immediately after all the target indicators, each information to be sent is filled into the candidate message in an orderly and continuous manner.
- each target indicator that has undergone parameter setting processing is first filled into the candidate message in an orderly and continuous manner, and then, after all target indicators are Immediately after, each information to be sent is filled into the candidate message in an orderly and continuous manner to prepare for the subsequent generation of the target message.
- the target indicator combination and the information to be sent corresponding to the target indicator combination can constitute data combination information.
- the target message is repeatedly filled with multiple data combination information, and each receiving node processes the corresponding data combination information.
- the data combination information is within the readable tag depth of the corresponding receiving node. It should also be noted that the readable tag depth of each receiving node may be different.
- Step S330 is further described.
- Step S330 may include but is not limited to step S510 and step S520.
- Step S510 Fill each target indicator that has undergone parameter setting processing into the candidate message in an orderly and discontinuous manner.
- Step S520 Fill the candidate message with the corresponding information to be sent immediately after each target indicator.
- each target indicator that has undergone parameter setting processing is first filled into the candidate message in an orderly and discontinuous manner, and then each target indicator is filled in Immediately after, the corresponding information to be sent is filled into the candidate message to prepare for generating the target message.
- the target indicator combination and the information to be sent corresponding to the target indicator combination constitute data combination information.
- the target message is repeatedly filled with multiple data combination information.
- the data combination information is within the readable tag depth of the corresponding receiving node. It should also be noted that the readable tag depth of each receiving node may be different.
- the message processing method may also include but is not limited to the following steps:
- the number of target indicators to be read is agreed upon with the receiving node.
- the sending node and the receiving node can agree on the number of target indicators to be read, thereby indicating that the receiving node How many target indicators need to be read to perform data processing on the information to be sent.
- Figure 9 is a message processing method provided by another embodiment of the present application.
- the message processing method may include but is not limited to step S610 and step S620.
- Step S610 Receive the target message from the sending node.
- the target message includes a combination of information to be sent and a target indicator.
- the target indicator combination is determined according to the information type of the information to be sent and the order in which the information to be sent is to be processed.
- the combination indicator is used in the message. In the case of target conditions, a combination of indicators based on the type of information and the order in which it is to be processed.
- the target condition can be that the number of information to be sent is multiple with the same information type; it can also be that different processing orders of the information to be sent correspond to different business logic or processing results; or it can be that there is The number of information to be sent of the same information type is multiple, and the different processing orders of the information to be sent correspond to different business logic or processing results, which can be determined according to the actual situation, and there are no specific restrictions on this. For example, assume that the information to be sent contains information a1, information a2 and information b, where information a1 and information a2 are the same information.
- the information to be sent contains two pieces of information of the same information type, it can be determined that the information is consistent with the The target condition of using the combination indicator in the message; or, assuming that the order of the information to be sent is information c, information b, and information a, and the order to be processed has corresponding business logic or processing results, then you can Determine that the target conditions for using the combination indicator in the message are met; or, the information to be sent contains information a1, information a2 and information b, information a1 and information a2 are the same information, and the order to be sent is information b, information a1 and information a2, and the sequence to be processed has corresponding business logic or processing results, then it can be determined that the target conditions for using the combination indicator in the message are met.
- the target indicator combination may include multiple target indicators, the number of information to be sent may be multiple, and the position order of each information to be sent in the target message is consistent with the position sequence corresponding to each target indicator.
- the position sequence of each indication bit corresponds to that, and there is no specific restriction here.
- Step S620 Perform data processing on the information to be sent according to the target indicator combination in the target message.
- a target message from the sending node is first received, where the target message includes a combination of information to be sent and a target indicator, and the target indicator combination is
- the target conditions for using a combination indicator in the message are met based on the information type of the information to be sent and the order of processing of the information to be sent
- the indicator combination obtained based on the information type and the order to be processed, and then, according to The target indicator combination in the target message performs data processing on the information to be sent, so that each receiving node can determine the requirements in the message based on the type of information, repeated carrying and processing of information, and the order of information processing through the combination of target indicators.
- the target indicator combination and the information to be sent corresponding to the target indicator combination constitute data combination information.
- the target message is repeatedly filled with multiple data combination information.
- the data combination information is processed by the corresponding node, the data
- the combined information is within the readable tag depth of the corresponding node, and is not specifically limited here. It should also be noted that the readable tag depth of each receiving node may be different.
- step S620 when the target indicator combination includes multiple target indicators and the number of information to be sent is multiple, step S620 will be further described.
- This step S620 may include: It is not limited to step S710, step S720 and step S730.
- Step S710 Read the first target indicator from the top of the label stack of the target message, determine the information to be sent corresponding to the first target indicator, and determine whether to continue reading the next target indicator based on the first target indicator.
- Target indicator Read the first target indicator from the top of the label stack of the target message, determine the information to be sent corresponding to the first target indicator, and determine whether to continue reading the next target indicator based on the first target indicator.
- the target indicator combination may include multiple target indicators, and each target indicator includes a data read identification bit, and the data read identification bit is used to indicate whether to continue reading the next target indicator.
- Step S720 When it is determined to continue reading the next target indicator based on the first target indicator, read the next target indicator, and determine the information to be sent corresponding to the next target indicator, until the reading is completed and all required readings are completed.
- the target indicator taken;
- Step S730 Perform data processing on all the determined information to be sent according to the order of all read target indicators.
- performing data processing on all the determined information to be sent may be to perform data processing on all the determined information to be sent after reading all the target indicators that need to be read; or, after reading, After each target indicator is retrieved, data processing is performed on the determined corresponding information to be sent, which is not specifically limited here.
- the receiving node after receiving the target message, the receiving node reads the first target indicator from the top of the label stack of the target message, determines the information to be sent corresponding to the first target indicator, and based on The first target indicator determines whether to continue reading the next target indicator.
- the next target indicator is determined based on the first target indicator, the next target indicator is read and determined to be consistent with the next target indicator.
- the information to be sent corresponding to the symbol is read until all the target indicators that need to be read are completed. Finally, all the determined information to be sent is processed according to the order of all the target indicators read. Therefore, the receiving node passes the target The combination of indicators determines the order in which the information in the target message is processed.
- the message processing method may also include but is not limited to the following steps:
- the number of target indicators to read is agreed upon with the sending node.
- the receiving node can agree with the sending node on the number of target indicators to read before receiving the target message from the sending node, so as to facilitate subsequent In the step, the receiving node processes the information to be sent.
- step S620 when the target indicator combination includes multiple target indicators, step S620 is further described.
- Step S620 may include but is not limited to the following steps:
- the receiving node can read a preconfigured preset number of target indicators and perform data processing on the information to be sent.
- the target indicator combination may include multiple target indicators, and when the multiple target indicators are filled in the target message, each target indicator may include a first data identification bit and a second data identification bit. At least one of them, wherein the first data identification bit is used to characterize whether the target to-be-sent information can be obtained through the target message, the target to-be-sent information is expressed by the first data identification bit, and the target message does not carry additional target to-be-sent information;
- the second data identification bit is used to indicate whether the target message carries corresponding information to be sent, and is not specifically limited here.
- the target indicator can be filled in the label stack of the target packet or after the label stack of the target packet; the second data identification bit can be used to indicate whether the label stack of the target packet carries The corresponding information to be sent can also be used to indicate whether the label stack of the target message carries the corresponding information to be sent.
- each target indicator can also include a data read identification bit and a stack bottom identification bit, where the stack bottom identification bit is used to indicate whether the current target indicator is at the bottom of the label stack, and the data read identification bit It is used to indicate whether to continue reading the next target indicator, and there is no specific restriction here.
- the number of the first data identification bits and the second data identification bits in each of the above target indicators is not limited, and may be one or more. The selection is based on the actual situation and is not specifically limited here.
- each target indicator when the target indicator combination includes multiple target indicators, and the multiple target indicators are filled in the label stack of the target message, and each target indicator includes a first data identification bit, A plurality of second data identification bits, stack bottom identification bits and data read identification bits, where the second data identification bit is used to indicate whether the label stack of the target message carries the corresponding information to be sent.
- the third The number of second data identification bits may be three, four or more, as shown in Figure 2.
- Figure 2 is a schematic diagram of a target indicator taking an example in which the target indicator includes four second data identification bits.
- the target indicator combination when the target indicator combination includes multiple target indicators, and some of the target indicators can be filled in the label stack of the target message, and the other part of the target indicators can be filled in the label stack of the target message.
- the target indicator filled in the label stack of the target packet is the post-stack indicator
- the target indicator filled in the label stack of the target packet is the in-stack indicator.
- Both the back indicator and the stack indicator include a data read identification bit and a plurality of second data identification bits.
- the data read identification bit is used to indicate whether to continue reading the next target indicator; in the indicator in the stack, the second data identification bit is used to indicate whether the label stack carries the corresponding information to be sent, or , used to indicate whether the end of the label stack carries the corresponding information to be sent; in the end of the stack indicator, the second data identification bit is used to indicate whether the end of the label stack carries the corresponding information to be sent. It should also be noted that the number of second data identification bits is not limited and may be 3, 4 or more, and will not be listed one by one here.
- the target indicator combination includes multiple target indicators.
- Each target indicator includes a first data identification bit, a plurality of second data identification bits and a data read identification bit.
- the target indicator is as shown in As shown in 11, A1 represents the first data identification bit, B1/B2 represents B1 or B2, where B1 represents the second data identification bit corresponding to information b1, B2 represents the second data identification bit corresponding to information b2, and C1 represents the second data identification bit corresponding to information c, S represents the stack bottom identification bit, X1 represents the data read identification bit, Y1 represents the second data identification bit corresponding to information y, and Z1 represents the information z corresponding to The second data identification bit.
- the information to be sent carries information b1, information a, information b2 and information c in sequence, and information b1 and information b2 are the same information, where information a only needs to be expressed through the first data identification bit, and the target The message does not carry additional information a.
- the information type of the information to be sent and the order of the information to be sent can be determined to meet the target conditions for using the combination indicator in the message, and it is determined that there are two target indicators, namely The first target indicator and the second target indicator perform parameter setting processing on the indication bits corresponding to each target indicator according to the information that each target indicator needs to indicate, that is, the first target indicator corresponds to the information b1.
- the corresponding second data identification bit B1 is set to 1 (setting the second data identification bit B1 to 1 indicates that the tag stack carries information b1), the data read identification bit X1 is set to 1, and the remaining bit identification positions are 0, while in the second target indicator
- the first data identification bit A1 corresponding to the information a is set to 1 (setting the first data identification bit A1 to 1 indicates that the information a can be obtained through the target message, the information a is expressed through the first data identification bit A1, and the target message does not Additional information is carried a)
- the second data identification bit B2 corresponding to the information b2 is set to 1 (setting the second data identification bit B2 to 1 indicates that the label stack carries information b2)
- the second data identification bit C1 corresponding to the information c is set 1 (the second data identification bit C1 is set to 1 to indicate that the label stack carries information c), and the remaining bit identification positions are 0.
- the first target indicator and the second target indicator that have been processed by parameter setting are filled in order and continuously. to the candidate message, and fill the candidate message with information b1, information b2 and information c in an orderly and continuous manner immediately after all target indicators to obtain the target message, where the target message is shown in Figure 12 .
- the data reading flag bit X1 is set to 1, indicating that the next target indicator is continued to be read; the data reading flag bit X1 is set to 0, indicating that the reading of the next target indicator is stopped; the stack bottom flag bit S is set to 0 , indicating that the current target indicator is not at the bottom of the label stack.
- the specific meaning of each identification bit is represented by setting the bit as an example.
- the specific meaning of each identification bit can also be characterized in other ways.
- the embodiment of this application is in There are no specific restrictions on this.
- the target indicator combination includes multiple target indicators.
- Each target indicator includes a first data identification bit, a plurality of second data identification bits and a data read identification bit.
- the target indicator is as shown in 11, in Figure 11, A1 represents the first data identification bit, B1/B2 represents B1 or B2, where B1 represents the second data identification bit corresponding to the information b1, and B2 represents the second data identification bit corresponding to the information b2.
- Data identification bit, C1 represents the second data identification bit corresponding to the information c, S represents the stack bottom identification bit, X1 represents the data read identification bit, Y1 represents the second data identification bit corresponding to the information y, and Z1 represents the The second data identification bit corresponding to the information z.
- the information to be sent carries information b1, information a, information b2 and information c in sequence.
- information b1 and information b2 are the same information. Therefore, it can be determined that there are two target indicators, namely the first The target indicator and the second target indicator perform parameter setting processing on the indication bits corresponding to each target indicator according to the information that each target indicator needs to indicate, that is, corresponding to the information b1 in the first target indicator respectively.
- the second data identification bit B1 is set to 1 (the second data identification bit B1 is set to 1 to indicate that the tag stack carries information b1), the data read identification bit
- the first data identification bit A1 corresponding to the information a is set to 1 (setting the first data identification bit A1 to 1 indicates that the information a can be obtained through the target message, the information a is expressed through the first data identification bit A1, and the target message does not require additional Carrying information a)
- the second data identification bit B2 corresponding to information b2 is set to 1 (setting the second data identification bit B2 to 1 indicates that the label stack carries information b2)
- the second data identification bit C1 corresponding to information c is set to 1 (The second data identification bit C1 is set to 1 to indicate that the label stack carries information c), and the remaining bit identification positions are 0.
- the first target indicator and the second target indicator that have been processed by parameter setting are filled in order and discontinuously.
- the candidate message is obtained from the text, wherein, when there are no other labels between the first target indicator and the second target indicator, the target message is as shown in Figure 13; between the first target indicator and the second target indicator When there are other labels between the symbols, the target packet is as shown in Figure 14.
- the data reading flag bit X1 is set to 1, indicating that the next target indicator is continued to be read; the data reading flag bit X1 is set to 0, indicating that the reading of the next target indicator is stopped; the stack bottom flag bit S is set to 0 , indicating that the current target indicator is not at the bottom of the label stack, and other parameters may also be set to represent the specific meaning of each identification bit.
- This embodiment of the present application does not impose specific limitations here.
- the indicator in the stack is as shown in Figure 15.
- S represents the bottom identification bit of the stack
- X2 represents the data read identification bit
- Y2 represents the second data identification bit corresponding to the information y
- Z2 Represents the second data identification bit corresponding to information z
- the post-stack indicator is shown in Figure 16.
- X3/X4 represents X3 or X4, where X3 and X4 both represent the data read identification bit
- A2 represents The second data identification bit corresponding to information a
- B3 represents the second data identification bit corresponding to information b
- C2 represents the second data identification bit corresponding to information c.
- the label stack in the target packet sequentially carries the information y in the label stack, the information after the label stack b, the information after the label stack a, and also carries the in-stack indicator and the first post-stack indicator. symbol and the second stack indicator.
- the data reading flag bit X2 in the stack indicator is set to 1 (indicating that the reading of the next stack indicator is stopped), the second data flag bit Y2 is set to 1 (indicating that the label stack carries the corresponding information y), the second The data identification bit Z2 is set to 1 (indicating that the tag stack carries data); and the data read identification bit X3 in the first stack indicator is set to 0 (indicating that the next stack indicator continues to be read), in the first stack
- the second data identification bit B3 corresponding to the information b in the rear indicator is set to 1 (the second data identification bit B3 is set to 1 to indicate that the label stack carries the corresponding information b); the data read identification bit of the second stack rear indicator X4 is set to 1 (indicating stopping reading the next stack indicator), and the second data identification bit A2 corresponding to information a in the second stack indicator is set to 1 (the second data identification bit A2 is set to 1 to indicate the label stack Then carry the corresponding information a).
- the receiving node After receiving the target message, the receiving node first reads the indicator in the stack and reads the identification bit X2 according to the data in the indicator in the stack. It can be seen that it stops reading the next indicator in the stack and then reads the indicator in the stack according to The second data identification bit Y2 in the indicator shows that the information y carried in the label stack needs to be processed. Then, according to the second data identification bit Z2, it can be seen that the label stack carries data, and then the receiving node The information y is processed for data, and the first post-stack indicator and the second post-stack indicator are read in sequence.
- the tag needs to be
- the information b carried after the stack is processed for data processing, and according to the data reading flag X3 of the indicator after the first stack, continue to read the indicator after the second stack, and then according to the information a in the indicator after the second stack
- the corresponding second data identification bit A2 it can be seen that the information a carried after the label stack needs to be processed.
- the data reading identification bit X4 of the second stack indicator it can be seen that reading of the next stack indicator is stopped. , after that, the receiving node performs data processing on information b and information a in sequence.
- each identification bit is represented by setting a bit as an example.
- the specific meaning of each identification bit can also be represented by other methods, and there is no specific limitation here.
- the target indicator is as shown in Figure 18.
- A3 represents the second data identification bit corresponding to information a
- B4 represents the second data identification bit corresponding to information b
- C3 represents the second data identification bit corresponding to information c.
- the corresponding second data identification bit S represents the bottom identification bit of the stack
- X5/X6 represents X5 or X6, where X5 and X6 both represent the data reading identification bit
- Y3 represents the second data identification bit corresponding to the information y
- Z3 Indicates the second data identification bit corresponding to the information z.
- the label stack in the target message sequentially carries information a in the label stack, information c after the label stack, and information b in the label stack.
- the target message The text carries two target indicators, namely a first target indicator and a second target indicator.
- the first target indicator the second data identification bit A3 corresponding to the information a is set to 1 (the label stack representing the target message carries the corresponding information a), and the second data identification bit C3 corresponding to the information c is set to 1 ( The label stack representing the target message carries the corresponding information c), the data reading flag bit
- the second data identification bit B4 corresponding to the information b is set to 1 (indicating that the label stack of the target message carries the corresponding information b)
- the data read identification bit X6 is set to 0 (indicating that the next target indicator is continued to be read),
- the remaining bits identify position 0.
- the receiving node After receiving the target message, the receiving node reads the first target indicator from the top of the label stack of the target message, determines the information to be sent corresponding to the first target indicator, and determines the information based on the first target indicator. Whether to continue reading the next target indicator, according to the data reading identification bit X5, it can be seen that it is necessary to stop reading the second target indicator, and according to the data reading identification bit X6 of the second target indicator, it can be seen that continuing to read Next target indicator, then, according to the second data identification bit A3 corresponding to information a in the first target indicator, and the second data identification bit C3 corresponding to information c, it can be seen that information a and information need to be processed in sequence c performs data processing, and according to the second data identification bit B4 corresponding to information b in the second target indicator, it can be seen that information b needs to be data processed, and then the receiving node performs data processing on information a, information c and information b in sequence.
- the data is processed, and then the first label is stripped. After the stripping process, the second label will be on the top of the label stack. After that, the receiving node continues to forward to the next receiving node, and the next receiving node repeats the above steps. No more details here. Repeat.
- Figure 20 is a schematic diagram of a target indicator.
- A4 represents the second data identification bit corresponding to information a
- B5/B6 represents B5 or B6, where B5 represents the second data identification corresponding to information b1.
- bit represents the second data identification bit corresponding to information b2
- S represents the stack bottom identification bit
- X7/X8 represents X7 or X8, where X7 or X8 represents the data read identification bit.
- the first receiving node is represented by P1
- the second receiving node is represented by P2
- the third receiving node is represented by P3
- the sending node is represented by D. It is assumed that the receiving node includes the first receiving node 110 and the second receiving node 120 and the third receiving node 130.
- the readable label depth of the first receiving node 110 is 7 layers.
- the readable label depths of the second receiving node 120 and the third receiving node 130 are both 10 layers.
- the first receiving node 110 and the third receiving node 130 have a readable label depth of 10 layers.
- Both the second receiving node 120 and the third receiving node 130 need to read information b1, information a and information b2 in order, and information b1 and information b2 are the same information. It can be seen that the target message carries the first target indicator.
- the second data identification bit B5 corresponding to the information b1 in the first target indicator is set to 1
- the data read identification bit X7 is set to 1 (indicating that the next target indicator is continued to be read)
- the remaining positions Set to 0 the second data identification bit A4 corresponding to the information a in the second target indicator is set to 1
- the second data identification bit B6 corresponding to the information b2 in the second target indicator is set to 1, and the remaining positions are set to 0.
- the first target indicator, the second target indicator, the information b1, information a, information b2) are located between the fourth and eighth layers in the tag stack, and the data combination information exceeds the readable tag depth of the corresponding first receiving node 110, as shown in Figure 22. Therefore, Two pieces of data combination information need to be filled repeatedly in the label stack.
- the first data combination information is filled in the position after the first label and the second label.
- the third label is filled in the position after the first data combination information.
- the second data combination information is filled in to the position after the third label, as shown in Figure 23.
- the first receiving node 110 After receiving the target message, the first receiving node 110 compares the information to be sent (ie, information b1, information a) corresponding to the target indicator combination (ie, the first target indicator and the second target indicator) according to the target indicator combination. , information b2) performs data processing, and then strips the first label to obtain the target message after the first stripping process, and forwards the target message after the first stripping process to the second receiving node 120, Among them, the target message after the first stripping process is shown in Figure 24, and the information b1 and the information b2 can be the same information.
- the second receiving node 120 compares the target indicators according to the target indicator combination (ie, the first target indicator and the second target indicator).
- the corresponding information to be sent i.e., information b1, information a, information b2
- the first target indicator will be located at the top of the label stack, and because the third A target indicator, a second target indicator, information b1, information a and information b2 are a set of data combination information. Therefore, the second tag and the first data combination information are all peeled off to obtain the second stripping process.
- the target message after the second stripping process is forwarded to the third receiving node 130, where the target message after the second stripping process is shown in Figure 25.
- the third receiving node 130 continues to process the third label and the second set of data combination information according to the previous steps, which will not be described again here.
- the data reading flag bit can be set to 0 to indicate continued reading.
- the next target indicator In other embodiments, the data reading flag bit may be set to 1 to indicate continuing to read the next target indicator, which is not specifically limited here.
- the message processing device 200 includes a memory 202, a processor 201, and a program stored in the memory 202 and capable of running on the processor 201. Computer program.
- the processor 201 and the memory 202 may be connected through a bus or other means.
- the memory 202 can be used to store non-transitory software programs and non-transitory computer executable programs.
- the memory 202 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device.
- the memory 202 optionally includes memory located remotely relative to the processor 201, and these remote memories may be connected to the processor 201 through a network. Examples of the above-mentioned networks include but are not limited to the Internet, intranets, local area networks, mobile communication networks and combinations thereof.
- the non-transitory software programs and instructions required to implement the message processing method of the above embodiment are stored in the memory 202.
- the message processing method in the above embodiment is executed, for example, the above described The method steps S110 to S140 in Figure 1, the method steps S210 to S220 in Figure 5, the method steps S310 to S330 in Figure 6, the method steps S410 to S420 in Figure 7, the method steps S510 to S520 in Figure 8, Method steps S610 to S620 in FIG. 9 and method steps S710 to S730 in FIG. 10 .
- the device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separate, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
- an embodiment of the present application also provides a computer-readable storage medium that stores computer-executable instructions, and the computer-executable instructions are executed by a processor or controller, for example, by the above-mentioned Execution by a processor in the device embodiment can cause the above processor to execute the message processing method in the above embodiment, and execute the above-described method steps S110 to S140 in Figure 1, method steps S210 to S220 in Figure 5, Method steps S310 to S330 in FIG. 6 , method steps S410 to S420 in FIG. 7 , method steps S510 to S520 in FIG. 8 , method steps S610 to S620 in FIG. 9 , and method steps S710 to S730 in FIG. 10 .
- an embodiment of the present application also provides a computer program product, including a computer program or computer instructions.
- the computer program or computer instructions are stored in a computer-readable storage medium.
- the processor of the computer device reads the computer program from the computer-readable storage medium. Get the computer program or computer instructions, and the processor executes the computer program or computer instructions, so that the computer device performs the message processing method in the above embodiment, for example, performs the above-described method steps S110 to S140 in Figure 1 and Figure 5.
- Method steps S210 to S220, method steps S310 to S330 in Figure 6, method steps S410 to S420 in Figure 7, method steps S510 to S520 in Figure 8, method steps S610 to S620 in Figure 9, method steps S610 to S620 in Figure 10 Method steps S710 to S730.
- Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disk (DVD) or other optical disk storage, magnetic cassettes, tapes, disk storage or other magnetic storage devices, or may Any other medium used to store the desired information and that can be accessed by a computer.
- communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Digital Computer Display Output (AREA)
- Debugging And Monitoring (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Provided in the present application are a message processing method and apparatus, and a storage medium and a program product. The message processing method comprises: according to an information type of information to be sent and a sequence in which said information is to be processed, determining whether a target condition for using a combined indicator in a message is met; when it is determined that the target condition is met, determining a target indicator combination according to the information type and said sequence; generating a target message, which carries said information and the target indicator combination; and sending the target message to a receiving node, such that the receiving node performs data processing on said information according to the target indicator combination.
Description
相关申请的交叉引用Cross-references to related applications
本申请基于申请号为202210460693.7、申请日为2022年04月28日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is filed based on a Chinese patent application with application number 202210460693.7 and a filing date of April 28, 2022, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into this application as a reference.
本申请实施例涉及但不限于通信技术领域,尤其涉及一种报文处理方法及其装置、存储介质、程序产品。Embodiments of the present application relate to but are not limited to the field of communication technology, and in particular, to a message processing method and its device, storage medium, and program product.
在MPLS(Multi-Protocol Label Switching,多协议标签交换)技术中,栈中的指示符一般以标签位(32bit)为基本单元进行组织,即占用一个或者多个标签的位置,例如,采用SPL(Special purpose label,特殊标签)/eSPL(Extended Special-Purpose Label,扩展特殊标签)进行信息的指示,或者用一个普通标签进行指示,其中,该信息用于指导设备进行报文的转发或者处理。指示符与信息的对应关系可能是一对一,即一个标签值表明其具备指示一种信息的功能,或者一对多,即一个标签值表明其具备指示多种信息的功能。但是,针对指示符与信息的对应关系为一对一或者一对多的情况,相关技术中,还没有对如何通过指示符确定报文中的信息类型、信息重复携带并重复处理、以及信息处理顺序等需求提出解决方法。In MPLS (Multi-Protocol Label Switching) technology, indicators in the stack are generally organized with label bits (32bit) as the basic unit, that is, occupying the position of one or more labels. For example, using SPL ( Special purpose label (special purpose label)/eSPL (Extended Special-Purpose Label, extended special label) indicates information, or uses a common label to indicate, where the information is used to guide the device to forward or process packets. The correspondence between an indicator and information may be one-to-one, that is, one tag value indicates that it has the function of indicating one kind of information, or one-to-many, that is, one tag value indicates that it has the function of indicating multiple types of information. However, in the case where the correspondence between the indicator and the information is one-to-one or one-to-many, the relevant technology has not yet explained how to determine the type of information in the message through the indicator, how to repeatedly carry and process the information, and how to process the information. Propose solutions to sequence and other requirements.
发明内容Contents of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics described in detail in this article. This summary is not intended to limit the scope of the claims.
本申请实施例提供了一种报文处理方法及其装置、存储介质、程序产品,能够确定报文中基于信息类型、信息重复携带并重复处理、以及信息处理顺序的需求。Embodiments of the present application provide a message processing method and its device, storage media, and program products, which can determine the requirements in the message based on the type of information, the repeated carrying and processing of information, and the order of information processing.
第一方面,本申请实施例提供了一种报文处理方法,包括:In the first aspect, embodiments of the present application provide a message processing method, including:
根据待发送信息的信息类型和所述待发送信息的待处理顺序,确定是否符合在报文中使用组合指示符的目标条件;当确定符合所述目标条件,根据所述信息类型和所述待处理顺序确定目标指示符组合;生成携带所述待发送信息和所述目标指示符组合的目标报文;向接收节点发送所述目标报文,使得所述接收节点根据所述目标指示符组合对所述待发送信息进行数据处理。According to the information type of the information to be sent and the order of processing of the information to be sent, it is determined whether the target condition of using the combination indicator in the message is met; when it is determined that the target condition is met, according to the information type and the to-be-sent information, The processing sequence determines the target indicator combination; generates a target message carrying the information to be sent and the target indicator combination; and sends the target message to the receiving node, so that the receiving node pairs the target indicator combination according to the target indicator combination. The information to be sent undergoes data processing.
第二方面,本申请实施例提供了一种报文处理方法,包括:In the second aspect, embodiments of the present application provide a message processing method, including:
接收来自发送节点的目标报文,其中,所述目标报文包括待发送信息和目标指示符组合,所述目标指示符组合为在根据所述待发送信息的信息类型和所述待发送信息的待处理顺序确定符合在报文中使用组合指示符的目标条件的情况下,根据所述信息类型和所述待处理顺序而得到的指示符组合;根据所述目标报文中的所述目标指示符组合对所述待发送信息进行数据处理。Receive a target message from the sending node, wherein the target message includes a combination of information to be sent and a target indicator, and the target indicator combination is based on the information type of the information to be sent and the information of the information to be sent. When the order to be processed is determined to meet the target condition of using a combination indicator in the message, the indicator combination obtained according to the information type and the order to be processed; according to the target indication in the target message The combination of symbols performs data processing on the information to be sent.
第三方面,本申请实施例还提供了一种报文处理装置,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上所述的报文处理方法。In a third aspect, embodiments of the present application also provide a message processing device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program Implement the message processing method as described above.
第四方面,本申请实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行如上所述的报文处理方法。In a fourth aspect, embodiments of the present application further provide a computer-readable storage medium that stores computer-executable instructions, and the computer-executable instructions are used to execute the message processing method as described above.
第五方面,本申请实施例还提供了一种计算机程序产品,包括计算机程序或计算机指令,所述计算机程序或所述计算机指令存储在计算机可读存储介质中,计算机设备的处理器从所述计算机可读存储介质读取所述计算机程序或所述计算机指令,所述处理器执行所述计算机程序或所述计算机指令,使得所述计算机设备执行如上所述的报文处理方法。In a fifth aspect, embodiments of the present application further provide a computer program product, which includes a computer program or computer instructions. The computer program or computer instructions are stored in a computer-readable storage medium. The processor of the computer device obtains the information from the computer program or computer instructions. The computer-readable storage medium reads the computer program or the computer instructions, and the processor executes the computer program or the computer instructions, so that the computer device performs the message processing method as described above.
本申请实施例包括:根据待发送信息的信息类型和待发送信息的待处理顺序,确定是否符合在报文中使用组合指示符的目标条件;当确定符合目标条件,根据信息类型和待处理顺序确定目标指示符组合;生成携带待发送信息和目标指示符组合的目标报文;向接收节点发送目标报文,使得接收节点根据目标指示符组合对待发送信息进行数据处理,即是说,在确定符合目标条件的情况下,可以根据信息类型和待处理顺序确定目标指示符组合,生成携带待发送信息和目标指示符组合的目标报文,通过目标指示符组合可以确定报文中基于信息类型、信息重复携带并重复处理、以及信息处理顺序的需求。Embodiments of this application include: determining whether the target condition for using a combination indicator in the message is met based on the information type of the information to be sent and the order of processing of the information to be sent; when it is determined that the target condition is met, based on the information type and the order to be processed Determine the target indicator combination; generate a target message carrying the combination of the information to be sent and the target indicator; send the target message to the receiving node, so that the receiving node performs data processing on the information to be sent according to the target indicator combination, that is, after determining When the target conditions are met, the target indicator combination can be determined based on the information type and the order to be processed, and a target message carrying the combination of the information to be sent and the target indicator can be generated. Through the target indicator combination, the target indicator combination in the message can be determined based on the information type, The need for repeated carrying and repeated processing of information, as well as the order of information processing.
本申请的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请而了解。本申请的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the application will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the application. The objectives and other advantages of the application may be realized and obtained by the structure particularly pointed out in the specification, claims and appended drawings.
附图用来提供对本申请技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于 解释本申请的技术方案,并不构成对本申请技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solution of the present application, and constitute a part of the description. Together with the embodiments of the present application, they are used to explain the technical solution of the present application, and do not constitute a limitation of the technical solution of the present application.
图1是本申请一个实施例提供的报文处理方法的流程图;Figure 1 is a flow chart of a message processing method provided by an embodiment of the present application;
图2是本申请一个实施例提供的目标指示符包括四个第二数据标识位的目标指示符示意图;Figure 2 is a schematic diagram of a target indicator including four second data identification bits provided by an embodiment of the present application;
图3是本申请一个实施例提供的栈中指示符的示意图;Figure 3 is a schematic diagram of indicators in a stack provided by an embodiment of the present application;
图4是本申请一个实施例提供的栈后指示符的示意图;Figure 4 is a schematic diagram of a post-stack indicator provided by an embodiment of the present application;
图5是图1中步骤S120的另一种具体方法的流程图;Figure 5 is a flow chart of another specific method of step S120 in Figure 1;
图6是图1中步骤S130的一种具体方法的流程图;Figure 6 is a flow chart of a specific method of step S130 in Figure 1;
图7是图6中步骤S330的一种具体方法的流程图;Figure 7 is a flow chart of a specific method of step S330 in Figure 6;
图8是图7中步骤S330的另一种具体方法的流程图;Figure 8 is a flow chart of another specific method of step S330 in Figure 7;
图9是本申请另一个实施例提供的报文处理方法的流程图;Figure 9 is a flow chart of a message processing method provided by another embodiment of the present application;
图10是图9中步骤S620的一种具体方法的流程图;Figure 10 is a flow chart of a specific method in step S620 in Figure 9;
图11是本申请一个具体示例提供的目标指示符的结构示意图;Figure 11 is a schematic structural diagram of a target indicator provided by a specific example of this application;
图12是本申请一个具体示例提供的目标指示符有序且连续地填充至候选报文的目标报文的示意图;Figure 12 is a schematic diagram of a target indicator provided by a specific example of the present application, which is filled in the target message of the candidate message in an orderly and continuous manner;
图13是本申请一个实施例提供的目标指示符有序且不连续地填充至候选报文的目标报文的示意图;Figure 13 is a schematic diagram of a target packet in which target indicators are filled in orderly and discontinuously into a candidate packet according to an embodiment of the present application;
图14是本申请另一个实施例提供的目标指示符有序且不连续地填充至候选报文的目标报文的示意图;Figure 14 is a schematic diagram of a target message in which target indicators are filled in orderly and discontinuously into a candidate message according to another embodiment of the present application;
图15是本申请一个具体示例提供的栈中指示符的结构示意图;Figure 15 is a schematic structural diagram of an indicator in the stack provided by a specific example of this application;
图16是本申请一个具体示例提供的栈后指示符的结构示意图;Figure 16 is a schematic structural diagram of a post-stack indicator provided in a specific example of this application;
图17是本申请一个具体示例提供的目标报文的示意图;Figure 17 is a schematic diagram of a target message provided by a specific example of this application;
图18是本申请另一个具体示例提供的目标指示符的结构示意图;Figure 18 is a schematic structural diagram of a target indicator provided by another specific example of this application;
图19是本申请另一个具体示例提供的目标报文的示意图;Figure 19 is a schematic diagram of a target message provided by another specific example of this application;
图20是本申请另一个具体示例提供的目标指示符的结构示意图;Figure 20 is a schematic structural diagram of a target indicator provided by another specific example of this application;
图21是本申请另一个具体示例提供的用于执行报文处理方法的网络拓扑的示意图;Figure 21 is a schematic diagram of a network topology for performing a message processing method provided by another specific example of this application;
图22是本申请另一个具体示例提供的目标报文的示意图;Figure 22 is a schematic diagram of a target message provided by another specific example of this application;
图23是本申请另一个具体示例提供的目标报文的示意图;Figure 23 is a schematic diagram of a target message provided by another specific example of this application;
图24是本申请另一个具体示例提供的第一次数据处理后得到的目标报文的示意图;Figure 24 is a schematic diagram of a target message obtained after the first data processing provided by another specific example of this application;
图25是本申请另一个具体示例提供的第二次数据处理后得到的目标报文的示意图;Figure 25 is a schematic diagram of a target message obtained after the second data processing provided by another specific example of this application;
图26是本申请一个实施例提供的报文处理装置的结构示意图。Figure 26 is a schematic structural diagram of a message processing device provided by an embodiment of the present application.
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clear, the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application and are not used to limit the present application.
需要说明的是,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于流程图中的顺序执行所示出或描述的步骤。说明书和权利要求书及上述附图的描述中,多个(或多项)的含义是两个以上,大于、小于、超过等理解为不包括本数,以上、以下、以内等理解为包括本数。如果有描述到“第一”、“第二”等只是用于区分技术特征为目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量或者隐含指明所指示的技术特征的先后关系。It should be noted that although a logical sequence is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that in the flowchart. In the description of the specification, claims and the above drawings, plural (or multiple) means two or more, greater than, less than, exceeding, etc. are understood to exclude the number, and above, below, within, etc. are understood to include the number. If there are descriptions of "first", "second", etc., they are only used for the purpose of distinguishing technical features and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the indicated technical features. The sequence relationship of technical features.
本申请提供了一种报文处理方法及其装置、存储介质、程序产品,根据待发送信息的信息类型和待发送信息的待处理顺序,确定是否符合在报文中使用组合指示符的目标条件;当确定符合目标条件,根据信息类型和待处理顺序确定目标指示符组合;生成携带待发送信息和目标指示符组合的目标报文;向接收节点发送目标报文,使得接收节点根据目标指示符组合对待发送信息进行数据处理,即是说,在确定符合目标条件的情况下,可以根据信息类型和待处理顺序确定目标指示符组合,生成携带待发送信息和目标指示符组合的目标报文,通过目标指示符组合可以确定报文中基于信息类型、信息重复携带并重复处理、以及信息处理顺序的需求。This application provides a message processing method and its device, storage medium, and program product. Based on the information type of the information to be sent and the order of processing of the information to be sent, it is determined whether the target condition for using a combination indicator in the message is met. ; When it is determined that the target conditions are met, the target indicator combination is determined based on the information type and the sequence to be processed; a target message carrying the combination of the information to be sent and the target indicator is generated; the target message is sent to the receiving node, so that the receiving node can Combine the information to be sent for data processing, that is to say, if it is determined that the target conditions are met, the target indicator combination can be determined based on the information type and the order to be processed, and a target message carrying the combination of the information to be sent and the target indicator can be generated. Through the combination of target indicators, the requirements based on the type of information in the message, the repeated carrying and processing of information, and the order of information processing can be determined.
下面结合附图,对本申请实施例作进一步阐述。The embodiments of the present application will be further described below with reference to the accompanying drawings.
参照图1,图1是本申请一个实施例提供的报文处理方法的流程图,该报文处理方法可以包括但不限于步骤S110、步骤S120、步骤S130和步骤S140。Referring to Figure 1, Figure 1 is a flow chart of a message processing method provided by an embodiment of the present application. The message processing method may include but is not limited to step S110, step S120, step S130 and step S140.
步骤S110:根据待发送信息的信息类型和待发送信息的待处理顺序,确定是否符合在报文中使用组合指示符的目标条件。Step S110: Determine whether the target condition for using a combination indicator in the message is met based on the information type of the information to be sent and the order in which the information to be sent is to be processed.
需要说明的是,该目标条件可以是具有相同的信息类型的待发送信息的数量为多个;也可以是待发送信息的不同的待处理顺序对应于不同的业务逻辑或者处理结果;或者是具有相同的信息类型的待发送信息的数量为多个,并且待发送信息的不同的待处理顺序对应于不同的业务逻辑或者处理结果,可以根据实际情况而定,对此不作具体限制。例如,假设待发送信息中具有信息a1、信息a2和信息b,其中,信息a1和信息a2为相同的信息,由于该待发送信息中具有两个相同的信息类型的信息,则可以确定符合在报文中使用组合指示符的目标条件;或者,假设待发送信息的待发送顺序依次是信息c、信息b和信息a,并且该待处理顺序有与之对应的业务逻辑或者处理结果,则可以确定符合在报文中使用组合指示符的目标条件;又或者,待发送 信息中具有信息a1、信息a2和信息b,且信息a1和信息a2为相同的信息,待发送顺序依次是信息b、信息a1和信息a2,并且该待处理顺序有与之对应的业务逻辑或者处理结果,则可以确定符合在报文中使用组合指示符的目标条件,需要说明的是,信息a1和信息a2为相同的信息。It should be noted that the target condition can be that the number of information to be sent is multiple with the same information type; it can also be that different processing orders of the information to be sent correspond to different business logic or processing results; or it can be that there is The number of information to be sent of the same information type is multiple, and the different processing orders of the information to be sent correspond to different business logic or processing results, which can be determined according to the actual situation, and there are no specific restrictions on this. For example, assume that the information to be sent contains information a1, information a2 and information b, where information a1 and information a2 are the same information. Since the information to be sent contains two pieces of information of the same information type, it can be determined that the information is consistent with the The target condition of using the combination indicator in the message; or, assuming that the order of the information to be sent is information c, information b, and information a, and the order to be processed has corresponding business logic or processing results, then you can Determine that the target conditions for using the combination indicator in the message are met; or, the information to be sent contains information a1, information a2, and information b, and information a1 and information a2 are the same information, and the order to be sent is information b, information a2, and information a2. Information a1 and information a2, and the sequence to be processed has corresponding business logic or processing results, then it can be determined that the target conditions for using the combination indicator in the message are met. It should be noted that information a1 and information a2 are the same Information.
步骤S120:当确定符合目标条件,根据信息类型和待处理顺序确定目标指示符组合。Step S120: When it is determined that the target conditions are met, the target indicator combination is determined according to the information type and the order to be processed.
需要说明的是,目标指示符组合可以包括多个目标指示符,并且该多个目标指示符填充于目标报文时,每个目标指示符均可以包括第一数据标识位、第二数据标识位至少之一,其中,第一数据标识位用于表征是否可通过目标报文获取目标待发送信息,目标待发送信息通过第一数据标识位表达,并且目标报文不额外携带目标待发送信息;第二数据标识位用于表征目标报文是否携带对应的待发送信息,在此不做具体限制。还需要说明的是,目标指示符可以填充于目标报文的标签栈中,也可以填充于目标报文的标签栈后;第二数据标识位可以用于表征目标报文的标签栈中是否携带对应的待发送信息,也可以用于表征目标报文的标签栈后是否携带对应的待发送信息。It should be noted that the target indicator combination may include multiple target indicators, and when the multiple target indicators are filled in the target message, each target indicator may include a first data identification bit and a second data identification bit. At least one of them, wherein the first data identification bit is used to characterize whether the target to-be-sent information can be obtained through the target message, the target to-be-sent information is expressed by the first data identification bit, and the target message does not carry additional target to-be-sent information; The second data identification bit is used to indicate whether the target message carries corresponding information to be sent, and is not specifically limited here. It should also be noted that the target indicator can be filled in the label stack of the target packet or after the label stack of the target packet; the second data identification bit can be used to indicate whether the label stack of the target packet carries The corresponding information to be sent can also be used to indicate whether the label stack of the target message carries the corresponding information to be sent.
还需要说明的是,每个目标指示符均还可以包括数据读取标识位、栈底标识位,其中,栈底标识位用于表征当前目标指示符是否处于标签栈底,数据读取标识位用于表征是否继续读取下一个目标指示符,在此不做具体限制。It should also be noted that each target indicator can also include a data read identification bit and a stack bottom identification bit, where the stack bottom identification bit is used to indicate whether the current target indicator is at the bottom of the label stack, and the data read identification bit It is used to indicate whether to continue reading the next target indicator, and there is no specific restriction here.
还需要说明的是,上述每个目标指示符中的第一数据标识位和第二数据标识位的数量均不限,可以是一个或者多个,根据实际情况选择,在此不做具体限制。It should also be noted that the number of the first data identification bits and the second data identification bits in each of the above target indicators is not limited, and may be one or more. The selection is based on the actual situation and is not specifically limited here.
步骤S130:生成携带待发送信息和目标指示符组合的目标报文。Step S130: Generate a target message carrying a combination of the information to be sent and the target indicator.
步骤S140:向接收节点发送目标报文,使得接收节点根据目标指示符组合对待发送信息进行数据处理。Step S140: Send the target message to the receiving node, so that the receiving node performs data processing on the information to be sent based on the target indicator combination.
需要说明的是,当目标指示符组合包括多个目标指示符,该接收节点被配置有读取预设数量的目标指示符,在此不做具体限制。It should be noted that when the target indicator combination includes multiple target indicators, the receiving node is configured to read a preset number of target indicators, which is not specifically limited here.
本实施例中,通过采用包括有上述步骤S110至步骤S140的报文处理方法,首先根据待发送信息的信息类型和待发送信息的待处理顺序,确定是否符合在报文中使用组合指示符的目标条件,当确定符合该目标条件时,可以根据信息类型和待处理顺序确定目标指示符组合,之后,生成携带待发送信息和目标指示符组合的目标报文,最后向接收节点发送目标报文,使得接收节点根据该目标指示符组合对该待发送信息进行数据处理,即是说,本申请实施例在确定符合目标条件的情况下,可以根据信息类型和待处理顺序确定目标指示符组合,生成携带待发送信息和目标指示符组合的目标报文,通过目标指示符组合可以确定报文中基于信息类型、信息重复携带并重复处理、以及信息处理顺序的需求。In this embodiment, by adopting the message processing method including the above-mentioned steps S110 to S140, first, based on the information type of the information to be sent and the order of processing of the information to be sent, it is determined whether it meets the requirements for using a combination indicator in the message. Target conditions. When it is determined that the target conditions are met, the target indicator combination can be determined based on the information type and the order to be processed. Then, a target message carrying the combination of the information to be sent and the target indicator is generated, and finally the target message is sent to the receiving node. , so that the receiving node performs data processing on the information to be sent according to the target indicator combination. That is to say, in the embodiment of the present application, when it is determined that the target conditions are met, the target indicator combination can be determined according to the information type and the order to be processed, Generate a target message that carries a combination of information to be sent and a target indicator. Through the combination of target indicators, the requirements in the message can be determined based on the type of information, repeated carrying and processing of information, and the order of information processing.
在一实施例中,当目标指示符组合包括多个目标指示符,并且该多个目标指示符填充于目标报文的标签栈中时,且每个目标指示符均包括第一数据标识位、多个第二数据标识位、栈底标识位和数据读取标识位,其中,第二数据标识位用于表征目标报文的标签栈中是否携带对应的待发送信息,如图2所示,图2是以目标指示符包括四个第二数据标识位为例的目标指示符示意图。需要说明的是,第一数据标识位和第二数据标识位均可以是三个、四个或者更多。In an embodiment, when the target indicator combination includes multiple target indicators, and the multiple target indicators are filled in the label stack of the target message, and each target indicator includes a first data identification bit, A plurality of second data identification bits, stack bottom identification bits and data read identification bits, where the second data identification bit is used to indicate whether the label stack of the target message carries the corresponding information to be sent, as shown in Figure 2. FIG. 2 is a schematic diagram of a target indicator taking an example in which the target indicator includes four second data identification bits. It should be noted that the number of the first data identification bits and the second data identification bits may be three, four or more.
在一实施例中,如图3和图4所示,当目标指示符组合包括多个目标指示符,并且一部分目标指示符可以填充于目标报文的标签栈中,另外一部分目标指示符填充于目标报文的标签栈后,其中,设填充于目标报文的标签栈后的目标指示符为栈后指示符和设填充于目标报文的标签栈中的目标指示符为栈中指示符,栈后指示符和栈中指示符均包括数据读取标识位和多个第二数据标识位。需要说明的是,数据读取标识位用于表征是否继续读取下一个目标指示符;在栈中指示符中,第二数据标识位用于表征标签栈中是否携带对应的待发送信息,或者,用于表征标签栈后是否携带对应的待发送信息;在栈后指示符中,第二数据标识位用于表征标签栈后是否携带对应的待发送信息。还需要说明的是,第二数据标识位的数量不限,可以是3个、4个或者更多,在此不再一一列举。In one embodiment, as shown in Figure 3 and Figure 4, when the target indicator combination includes multiple target indicators, and some of the target indicators can be filled in the label stack of the target message, and the other part of the target indicators can be filled in the label stack of the target message. After the label stack of the target packet, let the target indicator filled in the label stack of the target packet be the stack indicator and the target indicator filled in the label stack of the target packet be the in-stack indicator, Both the post-stack indicator and the in-stack indicator include a data read identification bit and a plurality of second data identification bits. It should be noted that the data read identification bit is used to indicate whether to continue reading the next target indicator; in the indicator in the stack, the second data identification bit is used to indicate whether the label stack carries the corresponding information to be sent, or , used to indicate whether the end of the label stack carries the corresponding information to be sent; in the end of the stack indicator, the second data identification bit is used to indicate whether the end of the label stack carries the corresponding information to be sent. It should also be noted that the number of second data identification bits is not limited and may be 3, 4 or more, and will not be listed one by one here.
在一实施例中,对步骤S120进行进一步的说明,该步骤S120可以包括但不限于以下步骤:In an embodiment, step S120 is further described. This step S120 may include but is not limited to the following steps:
根据信息类型、待处理顺序和预设组合规则确定目标指示符组合。Target indicator combinations are determined based on information type, order to be processed, and preset combination rules.
在本实施例中,可以根据信息类型、待处理顺序和该预设组合规则可以确定目标指示符组合,以此提高数据指示的准确性。In this embodiment, the target indicator combination can be determined according to the information type, the order to be processed, and the preset combination rule, thereby improving the accuracy of the data indication.
在一实施例中,如图5所示,对步骤S120进行进一步的说明,该步骤S120可以包括但不限于有步骤S210和步骤S220。In one embodiment, as shown in FIG. 5 , step S120 is further described. This step S120 may include but is not limited to step S210 and step S220.
步骤S210:根据信息类型和待处理顺序确定目标指示符信息,其中,目标指示符信息包括指示符数量、各指示符所指示的信息、各指示符在标签栈中的位置、各指示符所指示的信息在标签栈中的位置中的至少一个。Step S210: Determine the target indicator information according to the information type and the order to be processed, where the target indicator information includes the number of indicators, the information indicated by each indicator, the position of each indicator in the label stack, and the information indicated by each indicator. At least one of the positions of the information in the label stack.
需要说明的是,指示符数量不限,可以是一个、两个、三个或者更多,在此不再一一列举。It should be noted that the number of indicators is not limited and can be one, two, three or more, and will not be listed one by one here.
需要说明的是,指示符所指示的信息可以包括待发送信息、待发送信息的信息类型、待发送信息的待发送顺序、待发送信息是否重复携带或者待发送信息是否重复处理等等指示性信息中的至少之一,在此不做具体限制。It should be noted that the information indicated by the indicator may include information to be sent, the information type of the information to be sent, the order in which the information to be sent is to be sent, whether the information to be sent is repeatedly carried or whether the information to be sent is repeatedly processed, etc. At least one of them is not specifically limited here.
需要说明的是,目标指示符信息还可以包括各指示符之间是否存在其他标签、各指示符在标签栈后的位置或各指示符所指示的信息在标签栈后的位置中等等,在此不做具体限制。It should be noted that the target indicator information may also include whether there are other labels between each indicator, the position of each indicator after the label stack, or the position of the information indicated by each indicator after the label stack, etc. Here, No specific restrictions are imposed.
步骤S220:根据目标指示符信息确定目标指示符组合。Step S220: Determine a target indicator combination according to the target indicator information.
在本实施例中,通过采用包括上述步骤S210和步骤S220的报文处理方法,可以根据信息类型和待处理顺序确定目标指示符信息,根据该目标指示符信息可以确定目标指示符组合,通过该目标指示符组合可以确定报文中基于信息类型、信息重复携带并重复处理、以及信息处理顺序的需求。需要说明的是,目标指示符信息包括指示符数量、各指示符所指示的信息、各指示符在标签栈中的位置、各指示符所指示的信息在标签栈中的位置中的至少一个,在此不做具体限制。In this embodiment, by adopting the message processing method including the above steps S210 and S220, the target indicator information can be determined according to the information type and the order to be processed, and the target indicator combination can be determined according to the target indicator information. Through the The combination of target indicators can determine the requirements in the message based on the type of information, the repeated carrying and repeated processing of information, and the order of information processing. It should be noted that the target indicator information includes at least one of the number of indicators, the information indicated by each indicator, the position of each indicator in the label stack, and the location of the information indicated by each indicator in the label stack, No specific restrictions are made here.
在一实施例中,如图6所示,在目标指示符组合包括多个目标指示符的情况下,对步骤S130进行进一步的说明,该步骤S130可以包括但不限于有步骤S310、步骤S320和步骤S330。In one embodiment, as shown in Figure 6, when the target indicator combination includes multiple target indicators, step S130 is further described. This step S130 may include but is not limited to steps S310, step S320 and Step S330.
步骤S310:生成候选报文;Step S310: Generate candidate messages;
步骤S320:根据各个目标指示符所需要指示的信息,对各个目标指示符所对应的指示位进行参数设置处理。Step S320: Perform parameter setting processing on the indication bits corresponding to each target indicator according to the information that each target indicator needs to indicate.
需要说明的是,对各个目标指示符所对应的指示位进行参数设置处理的方式有很多,比如对各个目标指示符所对应的指示位进行置1或者置0,其中,对各个目标指示符所对应的指示位进行置1,与对各个目标指示符所对应的指示位进行置0,分别表征相反的含义。举一例,假设各个目标指示符均包括第一数据标识位,第一数据标识位用于表征是否可通过目标报文获取目标待发送信息,目标待发送信息通过第一数据标识位表达,并且目标报文不额外携带目标待发送信息,当第一数据标识位置1时,表征可通过目标报文获取目标待发送信息,目标待发送信息通过第一数据标识位表达,并且目标报文不额外携带目标待发送信息;当第一数据标识位置0时,表征不可通过目标报文获取目标待发送信息,目标待发送信息不能通过第一数据标识位表达,本实施例对此不作具体限制,还可以对各个目标指示符所对应的指示位进行其他参数设置处理,该参数可以是2、3或者7、8等等,并针对该参数赋予相应的意义,在此不做具体限制。It should be noted that there are many ways to perform parameter setting processing on the indication bit corresponding to each target indicator, such as setting the indication bit corresponding to each target indicator to 1 or 0, wherein, setting the indication bit corresponding to each target indicator Setting the corresponding indication bit to 1 and setting the indication bit corresponding to each target indicator to 0 represent opposite meanings respectively. For example, assume that each target indicator includes a first data identification bit. The first data identification bit is used to indicate whether the target information to be sent can be obtained through the target message. The target information to be sent is expressed by the first data identification bit, and the target The message does not carry additional target information to be sent. When the first data identification bit is 1, it means that the target information to be sent can be obtained through the target message. The target information to be sent is expressed through the first data identification bit, and the target message does not carry additional information. The target information to be sent; when the first data identification bit is 0, it means that the target information to be sent cannot be obtained through the target message, and the target information to be sent cannot be expressed through the first data identification bit. This embodiment does not specifically limit this, and it can also Other parameter setting processing is performed on the indication bit corresponding to each target indicator. The parameter can be 2, 3, 7, 8, etc., and a corresponding meaning is given to the parameter, which is not specifically limited here.
步骤S330:将待发送信息和经过参数设置处理的各个目标指示符填充至候选报文,得到目标报文。Step S330: Fill the candidate message with the information to be sent and each target indicator that has undergone parameter setting processing to obtain the target message.
需要说明的是,待发送信息的数量为多个,比如,1个、3个或者更多,并且各个待发送信息在目标报文中的位置顺序,与各个目标指示符所对应的各指示位的位置顺序相对应。It should be noted that the number of information to be sent is multiple, for example, 1, 3 or more, and the position sequence of each information to be sent in the target message is consistent with the indication bits corresponding to each target indicator. corresponding to the position order.
需要说明的是,将待发送信息和经过参数设置处理的各个目标指示符填充至候选报文,得到目标报文的方式有很多,比如,可以是将待发送信息和经过参数设置处理的各个目标指示符填充至候选报文的标签栈中,得到目标报文;或者是将待发送信息和经过参数设置处理的各个目标指示符填充至候选报文的标签栈后,得到目标报文;又或者是,将一部分的待发送信息和经过参数设置处理的各个目标指示符填充至候选报文的标签栈中,并且另外一部分的将待发送信息和经过参数设置处理的各个目标指示符填充至候选报文的标签栈后,在此不做具体限制。It should be noted that there are many ways to obtain the target message by filling the information to be sent and each target indicator that has been processed by parameter setting into the candidate message. For example, the information to be sent and each target that has been processed by parameter setting can be filled in. The indicator is filled into the label stack of the candidate message to obtain the target message; or the information to be sent and each target indicator processed by parameter setting are filled into the label stack of the candidate message to obtain the target message; or Yes, a part of the information to be sent and each target indicator processed by parameter setting are filled into the label stack of the candidate message, and the other part of the information to be sent and each target indicator processed by parameter setting are filled into the candidate message. After the label stack of the article, no specific restrictions are made here.
本实施例中,通过采用包括上述步骤S310至步骤S330的报文处理方法,首先生成候选报文,其次,根据各个目标指示符所需要指示的信息,对各个目标指示符所对应的指示位进行参数设置处理,最后将该待发送信息和经过参数设置处理的各个目标指示符填充至候选报文,得到目标报文,便于接收节点根据目标指示符读取目标报文而获取信息。In this embodiment, by adopting the message processing method including the above steps S310 to S330, candidate messages are first generated, and secondly, according to the information that each target indicator needs to indicate, the indication bit corresponding to each target indicator is processed. Parameter setting processing, and finally the information to be sent and each target indicator processed by parameter setting are filled into the candidate message to obtain the target message, which is convenient for the receiving node to read the target message according to the target indicator and obtain the information.
需要说明的是,目标指示符组合和与目标指示符组合对应的待发送信息可以构成数据组合信息,目标报文中重复填充有多个数据组合信息,各个接收节点在处理对应的数据组合信息时,数据组合信息处于对应的接收节点的可读标签深度内。还需要说明的是,各个接收节点的可读标签深度可以不相同。It should be noted that the target indicator combination and the information to be sent corresponding to the target indicator combination can constitute data combination information. The target message is repeatedly filled with multiple data combination information, and each receiving node processes the corresponding data combination information. , the data combination information is within the readable tag depth of the corresponding receiving node. It should also be noted that the readable tag depth of each receiving node may be different.
在一实施例中,如图7所示,对步骤S330进行进一步的说明,该步骤S330可以包括但不限于有步骤S410和步骤S420。In one embodiment, as shown in FIG. 7 , step S330 is further described. This step S330 may include but is not limited to step S410 and step S420.
步骤S410:将经过参数设置处理的各个目标指示符有序且连续地填充至候选报文;Step S410: Fill each target indicator that has undergone parameter setting processing into the candidate message in an orderly and continuous manner;
步骤S420:在所有目标指示符的后面紧接着将各个待发送信息有序且连续地填充至候选报文。Step S420: Immediately after all the target indicators, each information to be sent is filled into the candidate message in an orderly and continuous manner.
在本实施例中,通过采用包括上述步骤S410和步骤S420的报文处理方法,首先将经过参数设置处理的各个目标指示符有序且连续地填充至候选报文,然后,在所有目标指示符的后面紧接着将各个待发送信息有序且连续地填充至候选报文,为后续生成目标报文做准备。In this embodiment, by adopting the message processing method including the above-mentioned steps S410 and S420, each target indicator that has undergone parameter setting processing is first filled into the candidate message in an orderly and continuous manner, and then, after all target indicators are Immediately after, each information to be sent is filled into the candidate message in an orderly and continuous manner to prepare for the subsequent generation of the target message.
需要说明的是,目标指示符组合和与目标指示符组合对应的待发送信息可以构成数据组合信息,目标报文中重复填充有多个数据组合信息,各个接收节点在处理对应的数据组合信息时,数据组合信息处于对应的接收节点的可读标签深度内。还需要说明的是,各个接收节点的可读标签深度可以不相同。It should be noted that the target indicator combination and the information to be sent corresponding to the target indicator combination can constitute data combination information. The target message is repeatedly filled with multiple data combination information, and each receiving node processes the corresponding data combination information. , the data combination information is within the readable tag depth of the corresponding receiving node. It should also be noted that the readable tag depth of each receiving node may be different.
在一实施例中,如图8所示,对步骤S330进行进一步的说明,该步骤S330可以包括但不限于有步骤S510和步骤S520。In one embodiment, as shown in FIG. 8 , step S330 is further described. Step S330 may include but is not limited to step S510 and step S520.
步骤S510:将经过参数设置处理的各个目标指示符有序且不连续地填充至候选报文。Step S510: Fill each target indicator that has undergone parameter setting processing into the candidate message in an orderly and discontinuous manner.
需要说明的是,各个目标指示符之间可以存在其他标签,也可以不存在其他标签,在此不做具体限制。It should be noted that other tags may or may not exist between each target indicator, and there are no specific restrictions here.
步骤S520:在各个目标指示符的后面紧接着将对应的待发送信息填充至候选报文。Step S520: Fill the candidate message with the corresponding information to be sent immediately after each target indicator.
在本实施例中,通过采用包括上述步骤S510和步骤S520的报文处理方法,首先将经过参数设置处理的各个目标指示符有序且不连续地填充至候选报文,接着在各个目标指示符的后面紧接着将对应的待发送信息填充至候选报文,为生成目标报文做准备。In this embodiment, by adopting the message processing method including the above-mentioned steps S510 and S520, each target indicator that has undergone parameter setting processing is first filled into the candidate message in an orderly and discontinuous manner, and then each target indicator is filled in Immediately after, the corresponding information to be sent is filled into the candidate message to prepare for generating the target message.
需要说明的是,目标指示符组合和与目标指示符组合对应的待发送信息构成数据组合信息,目标报文中 重复填充有多个数据组合信息,各个接收节点在处理对应的数据组合信息时,数据组合信息处于对应的接收节点的可读标签深度内。还需要说明的是,各个接收节点的可读标签深度可以不相同。It should be noted that the target indicator combination and the information to be sent corresponding to the target indicator combination constitute data combination information. The target message is repeatedly filled with multiple data combination information. When each receiving node processes the corresponding data combination information, The data combination information is within the readable tag depth of the corresponding receiving node. It should also be noted that the readable tag depth of each receiving node may be different.
在一实施例中,在目标指示符组合包括多个目标指示符的情况下,在执行步骤S140之前,该报文处理方法还可以包括但不限于以下步骤:In an embodiment, when the target indicator combination includes multiple target indicators, before performing step S140, the message processing method may also include but is not limited to the following steps:
与接收节点约定读取的目标指示符的数量。The number of target indicators to be read is agreed upon with the receiving node.
在本实施例中,假设目标指示符包括多个目标指示符,则可以在向接收节点发送目标报文之前,发送节点与接收节点约定读取的目目标指示符的数量,由此指明接收节点需要读取到多少个目标指示符可以对待发送信息进行数据处理。In this embodiment, assuming that the target indicator includes multiple target indicators, before sending the target message to the receiving node, the sending node and the receiving node can agree on the number of target indicators to be read, thereby indicating that the receiving node How many target indicators need to be read to perform data processing on the information to be sent.
另外,图9是本申请另一个实施例提供的一种报文处理方法,该报文处理方法可以包括但不限于步骤S610和步骤S620。In addition, Figure 9 is a message processing method provided by another embodiment of the present application. The message processing method may include but is not limited to step S610 and step S620.
步骤S610:接收来自发送节点的目标报文。Step S610: Receive the target message from the sending node.
需要说明的是,目标报文包括待发送信息和目标指示符组合,目标指示符组合为在根据待发送信息的信息类型和待发送信息的待处理顺序确定符合在报文中使用组合指示符的目标条件的情况下,根据信息类型和待处理顺序而得到的指示符组合。It should be noted that the target message includes a combination of information to be sent and a target indicator. The target indicator combination is determined according to the information type of the information to be sent and the order in which the information to be sent is to be processed. The combination indicator is used in the message. In the case of target conditions, a combination of indicators based on the type of information and the order in which it is to be processed.
需要说明的是,该目标条件可以是具有相同的信息类型的待发送信息的数量为多个;也可以是待发送信息的不同的待处理顺序对应于不同的业务逻辑或者处理结果;或者是具有相同的信息类型的待发送信息的数量为多个,并且待发送信息的不同的待处理顺序对应于不同的业务逻辑或者处理结果,可以根据实际情况而定,对此不作具体限制。例如,假设待发送信息中具有信息a1、信息a2和信息b,其中,信息a1和信息a2为相同的信息,由于该待发送信息中具有两个相同的信息类型的信息,则可以确定符合在报文中使用组合指示符的目标条件;或者,假设待发送信息的待发送顺序依次是信息c、信息b和信息a,并且该待处理顺序有与之对应的业务逻辑或者处理结果,则可以确定符合在报文中使用组合指示符的目标条件;又或者,待发送信息中具有信息a1、信息a2和信息b,信息a1和信息a2为相同的信息,待发送顺序依次是信息b、信息a1和信息a2,并且该待处理顺序有与之对应的业务逻辑或者处理结果,则可以确定符合在报文中使用组合指示符的目标条件。It should be noted that the target condition can be that the number of information to be sent is multiple with the same information type; it can also be that different processing orders of the information to be sent correspond to different business logic or processing results; or it can be that there is The number of information to be sent of the same information type is multiple, and the different processing orders of the information to be sent correspond to different business logic or processing results, which can be determined according to the actual situation, and there are no specific restrictions on this. For example, assume that the information to be sent contains information a1, information a2 and information b, where information a1 and information a2 are the same information. Since the information to be sent contains two pieces of information of the same information type, it can be determined that the information is consistent with the The target condition of using the combination indicator in the message; or, assuming that the order of the information to be sent is information c, information b, and information a, and the order to be processed has corresponding business logic or processing results, then you can Determine that the target conditions for using the combination indicator in the message are met; or, the information to be sent contains information a1, information a2 and information b, information a1 and information a2 are the same information, and the order to be sent is information b, information a1 and information a2, and the sequence to be processed has corresponding business logic or processing results, then it can be determined that the target conditions for using the combination indicator in the message are met.
在一实施例中,目标指示符组合可以包括多个目标指示符,待发送信息的数量可以为多个,而且各个待发送信息在目标报文中的位置顺序,与各个目标指示符所对应的各指示位的位置顺序相对应,在此不做具体限制。In one embodiment, the target indicator combination may include multiple target indicators, the number of information to be sent may be multiple, and the position order of each information to be sent in the target message is consistent with the position sequence corresponding to each target indicator. The position sequence of each indication bit corresponds to that, and there is no specific restriction here.
步骤S620:根据目标报文中的目标指示符组合对待发送信息进行数据处理。Step S620: Perform data processing on the information to be sent according to the target indicator combination in the target message.
在本实施例中,通过采用包括上述步骤S610至S620的报文处理方法,首先接收来自发送节点的目标报文,其中目标报文包括待发送信息和目标指示符组合,该目标指示符组合为在根据待发送信息的信息类型和待发送信息的待处理顺序确定符合在报文中使用组合指示符的目标条件的情况下,根据信息类型和待处理顺序而得到的指示符组合,然后,根据目标报文中的目标指示符组合对待发送信息进行数据处理,使得各个接收节点通过目标指示符组合可以确定报文中基于信息类型、信息重复携带并重复处理、以及信息处理顺序的需求。In this embodiment, by adopting the message processing method including the above steps S610 to S620, a target message from the sending node is first received, where the target message includes a combination of information to be sent and a target indicator, and the target indicator combination is When it is determined that the target conditions for using a combination indicator in the message are met based on the information type of the information to be sent and the order of processing of the information to be sent, the indicator combination obtained based on the information type and the order to be processed, and then, according to The target indicator combination in the target message performs data processing on the information to be sent, so that each receiving node can determine the requirements in the message based on the type of information, repeated carrying and processing of information, and the order of information processing through the combination of target indicators.
需要说明的是,目标指示符组合和与目标指示符组合对应的待发送信息构成数据组合信息,目标报文中重复填充有多个数据组合信息,数据组合信息在被对应的节点处理时,数据组合信息处于对应的节点的可读标签深度内,在此不做具体限制。还需要说明的是,各个接收节点的可读标签深度可以不相同。It should be noted that the target indicator combination and the information to be sent corresponding to the target indicator combination constitute data combination information. The target message is repeatedly filled with multiple data combination information. When the data combination information is processed by the corresponding node, the data The combined information is within the readable tag depth of the corresponding node, and is not specifically limited here. It should also be noted that the readable tag depth of each receiving node may be different.
在一实施例中,如图10所示,在目标指示符组合包括多个目标指示符,待发送信息的数量为多个的情况下,对步骤S620进行进一步的说明,该步骤S620可以包括但不限于有步骤S710、步骤S720和步骤S730。In an embodiment, as shown in Figure 10, when the target indicator combination includes multiple target indicators and the number of information to be sent is multiple, step S620 will be further described. This step S620 may include: It is not limited to step S710, step S720 and step S730.
步骤S710:从目标报文的标签栈顶开始读取第一个目标指示符,确定与第一个目标指示符对应的待发送信息,并根据第一个目标指示符确定是否继续读取下一个目标指示符。Step S710: Read the first target indicator from the top of the label stack of the target message, determine the information to be sent corresponding to the first target indicator, and determine whether to continue reading the next target indicator based on the first target indicator. Target indicator.
需要说明的是,目标指示符组合可以包括多个目标指示符,且每个目标指示符均包括数据读取标识位,数据读取标识位用于表征是否继续读取下一个目标指示符。It should be noted that the target indicator combination may include multiple target indicators, and each target indicator includes a data read identification bit, and the data read identification bit is used to indicate whether to continue reading the next target indicator.
步骤S720:当根据第一个目标指示符确定继续读取下一个目标指示符,读取下一个目标指示符,并确定与下一个目标指示符对应的待发送信息,直到读取完成所有需要读取的目标指示符;Step S720: When it is determined to continue reading the next target indicator based on the first target indicator, read the next target indicator, and determine the information to be sent corresponding to the next target indicator, until the reading is completed and all required readings are completed. The target indicator taken;
步骤S730:根据读取到的所有目标指示符的顺序对确定到的所有待发送信息进行数据处理。Step S730: Perform data processing on all the determined information to be sent according to the order of all read target indicators.
需要说明的是,对确定到的所有待发送信息进行数据处理,可以是在读取完成所有需要读取的目标指示符之后,对确定到的所有待发送信息进行数据处理;或者是,在读取完成每一个目标指示符之后,对确定到的对应的待发送信息进行数据处理,在此不做具体限制。It should be noted that performing data processing on all the determined information to be sent may be to perform data processing on all the determined information to be sent after reading all the target indicators that need to be read; or, after reading, After each target indicator is retrieved, data processing is performed on the determined corresponding information to be sent, which is not specifically limited here.
在本实施例中,接收节点在接收到目标报文后,从目标报文的标签栈顶开始读取第一个目标指示符,确定与第一个目标指示符对应的待发送信息,并根据第一个目标指示符确定是否继续读取下一个目标指示符,当根据第一个目标指示符确定继续读取下一个目标指示符,读取下一个目标指示符,并确定与下一个目标指示符对应的待发送信息,直到读取完成所有需要读取的目标指示符,最后根据读取到的所有目标指示符的顺序对确定到的所有待发送信息进行数据处理,因此,接收节点通过目标指示符组合可以确定目标报文中的信息处理顺序。In this embodiment, after receiving the target message, the receiving node reads the first target indicator from the top of the label stack of the target message, determines the information to be sent corresponding to the first target indicator, and based on The first target indicator determines whether to continue reading the next target indicator. When the next target indicator is determined based on the first target indicator, the next target indicator is read and determined to be consistent with the next target indicator. The information to be sent corresponding to the symbol is read until all the target indicators that need to be read are completed. Finally, all the determined information to be sent is processed according to the order of all the target indicators read. Therefore, the receiving node passes the target The combination of indicators determines the order in which the information in the target message is processed.
在一实施例中,在目标指示符组合包括多个目标指示符的情况下,在执行步骤S610之前,该报文处理方法还可以包括但不限于有以下步骤:In an embodiment, when the target indicator combination includes multiple target indicators, before executing step S610, the message processing method may also include but is not limited to the following steps:
与发送节点约定读取的目标指示符的数量。The number of target indicators to read is agreed upon with the sending node.
在本实施例中,在目标指示符组合包括多个目标指示符的情况下,接收节点在接收来自发送节点的目标报文之前,可以与发送节点约定读取的目标指示符的数量,便于后续步骤中接收节点对待发送信息进行处理。In this embodiment, when the target indicator combination includes multiple target indicators, the receiving node can agree with the sending node on the number of target indicators to read before receiving the target message from the sending node, so as to facilitate subsequent In the step, the receiving node processes the information to be sent.
在一实施例中,在目标指示符组合包括多个目标指示符的情况下,对步骤S620进行进一步的说明,该步骤S620可以包括但不限于有以下步骤:In an embodiment, when the target indicator combination includes multiple target indicators, step S620 is further described. Step S620 may include but is not limited to the following steps:
读取预先配置的预设数量的目标指示符对待发送信息进行数据处理。Reads a pre-configured, preset number of target indicators for data processing of the information to be sent.
在本实施例中,在目标指示符组合包括多个目标指示符的情况下,接收节点可以读取预先配置的预设数量的目标指示符对待发送信息进行数据处理。In this embodiment, when the target indicator combination includes multiple target indicators, the receiving node can read a preconfigured preset number of target indicators and perform data processing on the information to be sent.
需要说明的是,目标指示符组合可以包括多个目标指示符,并且该多个目标指示符填充于目标报文时,每个目标指示符均可以包括第一数据标识位、第二数据标识位至少之一,其中,第一数据标识位用于表征是否可通过目标报文获取目标待发送信息,目标待发送信息通过第一数据标识位表达,并且目标报文不额外携带目标待发送信息;第二数据标识位用于表征目标报文是否携带对应的待发送信息,在此不做具体限制。还需要说明的是,目标指示符可以填充于目标报文的标签栈中,也可以填充于目标报文的标签栈后;第二数据标识位可以用于表征目标报文的标签栈中是否携带对应的待发送信息,也可以用于表征目标报文的标签栈后是否携带对应的待发送信息。It should be noted that the target indicator combination may include multiple target indicators, and when the multiple target indicators are filled in the target message, each target indicator may include a first data identification bit and a second data identification bit. At least one of them, wherein the first data identification bit is used to characterize whether the target to-be-sent information can be obtained through the target message, the target to-be-sent information is expressed by the first data identification bit, and the target message does not carry additional target to-be-sent information; The second data identification bit is used to indicate whether the target message carries corresponding information to be sent, and is not specifically limited here. It should also be noted that the target indicator can be filled in the label stack of the target packet or after the label stack of the target packet; the second data identification bit can be used to indicate whether the label stack of the target packet carries The corresponding information to be sent can also be used to indicate whether the label stack of the target message carries the corresponding information to be sent.
还需要说明的是,每个目标指示符均还可以包括数据读取标识位、栈底标识位,其中,栈底标识位用于表征当前目标指示符是否处于标签栈底,数据读取标识位用于表征是否继续读取下一个目标指示符,在此不做具体限制。It should also be noted that each target indicator can also include a data read identification bit and a stack bottom identification bit, where the stack bottom identification bit is used to indicate whether the current target indicator is at the bottom of the label stack, and the data read identification bit It is used to indicate whether to continue reading the next target indicator, and there is no specific restriction here.
还需要说明的是,上述每个目标指示符中的第一数据标识位和第二数据标识位的数量均不限,可以是一个或者多个,根据实际情况选择,在此不做具体限制。It should also be noted that the number of the first data identification bits and the second data identification bits in each of the above target indicators is not limited, and may be one or more. The selection is based on the actual situation and is not specifically limited here.
在一实施例中,当目标指示符组合包括多个目标指示符,并且该多个目标指示符填充于目标报文的标签栈中时,且每个目标指示符均包括第一数据标识位、多个第二数据标识位、栈底标识位和数据读取标识位,其中,第二数据标识位用于表征目标报文的标签栈中是否携带对应的待发送信息,需要说明的是,第二数据标识位可以是三个、四个或者更多,如图2所示,图2是以目标指示符包括四个第二数据标识位为例的目标指示符示意图。In an embodiment, when the target indicator combination includes multiple target indicators, and the multiple target indicators are filled in the label stack of the target message, and each target indicator includes a first data identification bit, A plurality of second data identification bits, stack bottom identification bits and data read identification bits, where the second data identification bit is used to indicate whether the label stack of the target message carries the corresponding information to be sent. It should be noted that the third The number of second data identification bits may be three, four or more, as shown in Figure 2. Figure 2 is a schematic diagram of a target indicator taking an example in which the target indicator includes four second data identification bits.
在一实施例中,如图3和图4所示,当目标指示符组合包括多个目标指示符,并且一部分目标指示符可以填充于目标报文的标签栈中,另外一部分目标指示符填充于目标报文的标签栈后,其中,假设填充于目标报文的标签栈后的目标指示符为栈后指示符,填充于目标报文的标签栈中的目标指示符为栈中指示符,栈后指示符和栈中指示符均包括数据读取标识位和多个第二数据标识位。需要说明的是,数据读取标识位用于表征是否继续读取下一个目标指示符;在栈中指示符中,第二数据标识位用于表征标签栈中是否携带对应的待发送信息,或者,用于表征标签栈后是否携带对应的待发送信息;在栈后指示符中,第二数据标识位用于表征标签栈后是否携带对应的待发送信息。还需要说明的是,第二数据标识位的数量不限,可以是3个、4个或者更多,在此不再一一列举。In one embodiment, as shown in Figure 3 and Figure 4, when the target indicator combination includes multiple target indicators, and some of the target indicators can be filled in the label stack of the target message, and the other part of the target indicators can be filled in the label stack of the target message. After the label stack of the target packet, it is assumed that the target indicator filled in the label stack of the target packet is the post-stack indicator, and the target indicator filled in the label stack of the target packet is the in-stack indicator. Both the back indicator and the stack indicator include a data read identification bit and a plurality of second data identification bits. It should be noted that the data read identification bit is used to indicate whether to continue reading the next target indicator; in the indicator in the stack, the second data identification bit is used to indicate whether the label stack carries the corresponding information to be sent, or , used to indicate whether the end of the label stack carries the corresponding information to be sent; in the end of the stack indicator, the second data identification bit is used to indicate whether the end of the label stack carries the corresponding information to be sent. It should also be noted that the number of second data identification bits is not limited and may be 3, 4 or more, and will not be listed one by one here.
针对上述实施例所提供的报文处理方法,下面以具体的示例进行详细的描述:Regarding the packet processing method provided by the above embodiment, a detailed description is given below using specific examples:
示例一:Example one:
在一实施例中,目标指示符组合包括多个目标指示符,每个目标指示符均包括第一数据标识位、多个第二数据标识位和数据读取标识位,其目标指示符如图11所示,A1代表第一数据标识位,B1/B2表示B1或者B2,其中B1代表与信息b1相对应的第二数据标识位,B2代表与信息b2相对应的第二数据标识位,C1代表与信息c相对应的第二数据标识位,S代表栈底标识位,X1代表数据读取标识位,Y1代表与信息y相对应的第二数据标识位,Z1代表与信息z相对应的第二数据标识位。假设根据待发送顺序,待发送信息依次携带信息b1、信息a、信息b2和信息c,且信息b1和信息b2是相同的信息,其中,信息a只需通过第一数据标识位表达,并且目标报文不额外携带信息a,由该待发送信息的信息类型和待发送信息的待发送顺序可以确定符合在报文中使用组合指示符的目标条件,并确定有两个目标指示符,分别为第一目标指示符和第二目标指示符,根据各个目标指示符所需要指示的信息,对各个目标指示符所对应的指示位进行参数设置处理,即分别第一目标指示符中与信息b1相对应的第二数据标识位B1置1(第二数据标识位B1置1表征标签栈中携带信息b1)、数据读取标识位X1置1,其余位标识位置0,而在第二目标指示符的与信息a相对应的第一数据标识位A1置1(第一数据标识位A1置1表征可通过目标报文获取信息a,信息a通过第一数据标识位A1表达,并且目标报文不额外携带信息a)、与信息b2相对应的第二数据标识位B2置1(第二数据标识位B2置1表征标签栈中携带信息b2)、与信息c对应的第二数据标识位C1置1(第二数据标识位C1置1表征标签栈中携带信息c),其余位标识位置0,接着,将经过参数设置处理的第一目标指示符和第二目标指示符有序且连续地填充至候选报文,并在所有目标指示符的后面紧接着将信息b1、信息b2和信息c有序且连续地填充至候选报文,得到目标报文,其中,目标报文如图12所示。需要说明的是,数据读取标识位X1置1,表征继续读取下一个目标指示符;数据读取标识位X1置0,表征停止读取下一个目标指示符;栈底标识位S置0,表 征当前目标指示符不处于标签栈底,本申请实施例以通过置位的方式表征各个标识位的具体含义为例,也可以通过其他方式表征各个标识位的具体含义,本申请实施例在此不做具体限制。In one embodiment, the target indicator combination includes multiple target indicators. Each target indicator includes a first data identification bit, a plurality of second data identification bits and a data read identification bit. The target indicator is as shown in As shown in 11, A1 represents the first data identification bit, B1/B2 represents B1 or B2, where B1 represents the second data identification bit corresponding to information b1, B2 represents the second data identification bit corresponding to information b2, and C1 represents the second data identification bit corresponding to information c, S represents the stack bottom identification bit, X1 represents the data read identification bit, Y1 represents the second data identification bit corresponding to information y, and Z1 represents the information z corresponding to The second data identification bit. Assume that according to the order to be sent, the information to be sent carries information b1, information a, information b2 and information c in sequence, and information b1 and information b2 are the same information, where information a only needs to be expressed through the first data identification bit, and the target The message does not carry additional information a. The information type of the information to be sent and the order of the information to be sent can be determined to meet the target conditions for using the combination indicator in the message, and it is determined that there are two target indicators, namely The first target indicator and the second target indicator perform parameter setting processing on the indication bits corresponding to each target indicator according to the information that each target indicator needs to indicate, that is, the first target indicator corresponds to the information b1. The corresponding second data identification bit B1 is set to 1 (setting the second data identification bit B1 to 1 indicates that the tag stack carries information b1), the data read identification bit X1 is set to 1, and the remaining bit identification positions are 0, while in the second target indicator The first data identification bit A1 corresponding to the information a is set to 1 (setting the first data identification bit A1 to 1 indicates that the information a can be obtained through the target message, the information a is expressed through the first data identification bit A1, and the target message does not Additional information is carried a), the second data identification bit B2 corresponding to the information b2 is set to 1 (setting the second data identification bit B2 to 1 indicates that the label stack carries information b2), and the second data identification bit C1 corresponding to the information c is set 1 (the second data identification bit C1 is set to 1 to indicate that the label stack carries information c), and the remaining bit identification positions are 0. Then, the first target indicator and the second target indicator that have been processed by parameter setting are filled in order and continuously. to the candidate message, and fill the candidate message with information b1, information b2 and information c in an orderly and continuous manner immediately after all target indicators to obtain the target message, where the target message is shown in Figure 12 . It should be noted that the data reading flag bit X1 is set to 1, indicating that the next target indicator is continued to be read; the data reading flag bit X1 is set to 0, indicating that the reading of the next target indicator is stopped; the stack bottom flag bit S is set to 0 , indicating that the current target indicator is not at the bottom of the label stack. In the embodiment of this application, the specific meaning of each identification bit is represented by setting the bit as an example. The specific meaning of each identification bit can also be characterized in other ways. The embodiment of this application is in There are no specific restrictions on this.
示例二:Example two:
在一实施例中,目标指示符组合包括多个目标指示符,每个目标指示符均包括第一数据标识位、多个第二数据标识位和数据读取标识位,其目标指示符如图11所示,在图11中,A1代表第一数据标识位,B1/B2表示B1或者B2,其中B1代表与信息b1相对应的第二数据标识位,B2代表与信息b2相对应的第二数据标识位,C1代表与信息c相对应的第二数据标识位,S代表栈底标识位,X1代表数据读取标识位,Y1代表与信息y相对应的第二数据标识位,Z1代表与信息z相对应的第二数据标识位。假设根据待发送顺序,待发送信息依次携带信息b1、信息a、信息b2和信息c,其中,信息b1与信息b2为相同的信息,因此,可以确定有两个目标指示符,分别为第一目标指示符和第二目标指示符,根据各个目标指示符所需要指示的信息,对各个目标指示符所对应的指示位进行参数设置处理,即分别在第一目标指示符中与信息b1相对应的第二数据标识位B1置1(第二数据标识位B1置1表征标签栈中携带信息b1)、数据读取标识位X1置1,其余位标识位置0,而在第二目标指示符的与信息a相对应的第一数据标识位A1置1(第一数据标识位A1置1表征可通过目标报文获取信息a,信息a通过第一数据标识位A1表达,并且目标报文不额外携带信息a)、与信息b2相对应的第二数据标识位B2置1(第二数据标识位B2置1表征标签栈中携带信息b2)、与信息c对应的第二数据标识位C1置1(第二数据标识位C1置1表征标签栈中携带信息c),其余位标识位置0,接着,将经过参数设置处理的第一目标指示符和第二目标指示符有序且不连续地填充至候选报文,并在第一目标指示符的后面紧接着将对应的信息b1填充至候选报文,在第二目标指示符的后面紧接着将对应的信息b2、信息c1依次填充至候选报文得到目标报文,其中,在第一目标指示符和第二目标指示符之间不存在其他标签的情况下,目标报文如图13所示;在第一目标指示符和第二目标指示符之间存在其他标签的情况下,目标报文如图14所示。需要说明的是,数据读取标识位X1置1,表征继续读取下一个目标指示符;数据读取标识位X1置0,表征停止读取下一个目标指示符;栈底标识位S置0,表征当前目标指示符不处于标签栈底,也可以设置其他参数表征各个标识位的具体含义,本申请实施例在此不做具体限制。In one embodiment, the target indicator combination includes multiple target indicators. Each target indicator includes a first data identification bit, a plurality of second data identification bits and a data read identification bit. The target indicator is as shown in 11, in Figure 11, A1 represents the first data identification bit, B1/B2 represents B1 or B2, where B1 represents the second data identification bit corresponding to the information b1, and B2 represents the second data identification bit corresponding to the information b2. Data identification bit, C1 represents the second data identification bit corresponding to the information c, S represents the stack bottom identification bit, X1 represents the data read identification bit, Y1 represents the second data identification bit corresponding to the information y, and Z1 represents the The second data identification bit corresponding to the information z. Assume that according to the order to be sent, the information to be sent carries information b1, information a, information b2 and information c in sequence. Among them, information b1 and information b2 are the same information. Therefore, it can be determined that there are two target indicators, namely the first The target indicator and the second target indicator perform parameter setting processing on the indication bits corresponding to each target indicator according to the information that each target indicator needs to indicate, that is, corresponding to the information b1 in the first target indicator respectively. The second data identification bit B1 is set to 1 (the second data identification bit B1 is set to 1 to indicate that the tag stack carries information b1), the data read identification bit The first data identification bit A1 corresponding to the information a is set to 1 (setting the first data identification bit A1 to 1 indicates that the information a can be obtained through the target message, the information a is expressed through the first data identification bit A1, and the target message does not require additional Carrying information a), the second data identification bit B2 corresponding to information b2 is set to 1 (setting the second data identification bit B2 to 1 indicates that the label stack carries information b2), and the second data identification bit C1 corresponding to information c is set to 1 (The second data identification bit C1 is set to 1 to indicate that the label stack carries information c), and the remaining bit identification positions are 0. Then, the first target indicator and the second target indicator that have been processed by parameter setting are filled in order and discontinuously. to the candidate message, and fill the candidate message with the corresponding information b1 immediately after the first target indicator, and fill the candidate message with the corresponding information b2 and information c1 immediately after the second target indicator. The target message is obtained from the text, wherein, when there are no other labels between the first target indicator and the second target indicator, the target message is as shown in Figure 13; between the first target indicator and the second target indicator When there are other labels between the symbols, the target packet is as shown in Figure 14. It should be noted that the data reading flag bit X1 is set to 1, indicating that the next target indicator is continued to be read; the data reading flag bit X1 is set to 0, indicating that the reading of the next target indicator is stopped; the stack bottom flag bit S is set to 0 , indicating that the current target indicator is not at the bottom of the label stack, and other parameters may also be set to represent the specific meaning of each identification bit. This embodiment of the present application does not impose specific limitations here.
示例三:Example three:
在一实施例中,栈中指示符如图15所示,在图15中,S表示栈底标识位,X2代表数据读取标识位,Y2表示与信息y对应的第二数据标识位,Z2表示与信息z对应的第二数据标识位;栈后指示符如图16所示,在图16中,X3/X4表示X3或者X4,其中,X3和X4均表示数据读取标识位,A2表示与信息a相对应的第二数据标识位,B3表示与信息b相对应的第二数据标识位,C2表示与信息c相对应的第二数据标识位。如图17所示,假设目标报文中的标签栈中依次携带标签栈中的信息y、标签栈后的信息b、标签栈后的信息a,并且携带栈中指示符、第一栈后指示符和第二栈后指示符。在栈中指示符中的数据读取标识位X2置1(表征停止读取下一个栈中指示符)、第二数据标识位Y2置1(表征标签栈中携带对应的信息y)、第二数据标识位Z2置1(表征标签栈后携带有数据);而在第一栈后指示符中数据读取标识位X3置0(表征继续读取下一个栈后指示符),在第一栈后指示符中与信息b对应的第二数据标识位B3置1(第二数据标识位B3置1表征标签栈后携带对应的信息b);在第二栈后指示符的数据读取标识位X4置1(表征停止读取下一个栈后指示符),并在第二栈后指示符中与信息a对应的第二数据标识位A2置1(第二数据标识位A2置1表征标签栈后携带对应的信息a)。接收节点接收到该目标报文后,首先读取栈中指示符,根据该栈中指示符中的数据读取标识位X2,可知,停止读取下一个栈中指示符,又根据该栈中指示符中的第二数据标识位Y2,可知,需要对标签栈中携带的信息y进行数据处理,接着,又根据第二数据标识位Z2,可知,标签栈后携带有数据,然后接收节点对信息y进行数据处理,又依次读取第一栈后指示符和第二栈后指示符,根据第一栈后指示符中的与信息b对应的第二数据标识位B3,可知,需要对标签栈后携带的信息b进行数据处理,又根据第一栈后指示符的数据读取标识位X3可知,继续读取第二栈后指示符,然后根据第二栈后指示符中的与信息a对应的第二数据标识位A2,可知,需要对标签栈后携带的信息a进行数据处理,又根据第二栈后指示符的数据读取标识位X4可知,停止读取下一个栈后指示符,之后,该接收节点依次对信息b和信息a进行数据处理,在处理完信息b和信息a之后,该接收节点继续转发给下一个接收节点,下一个接收节点重复上述步骤,在此不再赘述。本申请实施例以通过置位的方式表征各个标识位的具体含义为例,也可以通过其他方式表征各个标识位的具体含义,在此不做具体限制。In one embodiment, the indicator in the stack is as shown in Figure 15. In Figure 15, S represents the bottom identification bit of the stack, X2 represents the data read identification bit, Y2 represents the second data identification bit corresponding to the information y, and Z2 Represents the second data identification bit corresponding to information z; the post-stack indicator is shown in Figure 16. In Figure 16, X3/X4 represents X3 or X4, where X3 and X4 both represent the data read identification bit, and A2 represents The second data identification bit corresponding to information a, B3 represents the second data identification bit corresponding to information b, and C2 represents the second data identification bit corresponding to information c. As shown in Figure 17, it is assumed that the label stack in the target packet sequentially carries the information y in the label stack, the information after the label stack b, the information after the label stack a, and also carries the in-stack indicator and the first post-stack indicator. symbol and the second stack indicator. The data reading flag bit X2 in the stack indicator is set to 1 (indicating that the reading of the next stack indicator is stopped), the second data flag bit Y2 is set to 1 (indicating that the label stack carries the corresponding information y), the second The data identification bit Z2 is set to 1 (indicating that the tag stack carries data); and the data read identification bit X3 in the first stack indicator is set to 0 (indicating that the next stack indicator continues to be read), in the first stack The second data identification bit B3 corresponding to the information b in the rear indicator is set to 1 (the second data identification bit B3 is set to 1 to indicate that the label stack carries the corresponding information b); the data read identification bit of the second stack rear indicator X4 is set to 1 (indicating stopping reading the next stack indicator), and the second data identification bit A2 corresponding to information a in the second stack indicator is set to 1 (the second data identification bit A2 is set to 1 to indicate the label stack Then carry the corresponding information a). After receiving the target message, the receiving node first reads the indicator in the stack and reads the identification bit X2 according to the data in the indicator in the stack. It can be seen that it stops reading the next indicator in the stack and then reads the indicator in the stack according to The second data identification bit Y2 in the indicator shows that the information y carried in the label stack needs to be processed. Then, according to the second data identification bit Z2, it can be seen that the label stack carries data, and then the receiving node The information y is processed for data, and the first post-stack indicator and the second post-stack indicator are read in sequence. According to the second data identification bit B3 in the first post-stack indicator corresponding to the information b, it can be seen that the tag needs to be The information b carried after the stack is processed for data processing, and according to the data reading flag X3 of the indicator after the first stack, continue to read the indicator after the second stack, and then according to the information a in the indicator after the second stack According to the corresponding second data identification bit A2, it can be seen that the information a carried after the label stack needs to be processed. According to the data reading identification bit X4 of the second stack indicator, it can be seen that reading of the next stack indicator is stopped. , after that, the receiving node performs data processing on information b and information a in sequence. After processing information b and information a, the receiving node continues to forward it to the next receiving node, and the next receiving node repeats the above steps, no more here. Repeat. In the embodiment of this application, the specific meaning of each identification bit is represented by setting a bit as an example. The specific meaning of each identification bit can also be represented by other methods, and there is no specific limitation here.
示例四:Example four:
在一示例中,目标指示符如图18所示,在图18中,A3表示与信息a对应的第二数据标识位,B4表示与信息b对应的第二数据标识位,C3表示与信息c对应的第二数据标识位,S表示栈底标识位,X5/X6表示X5或者X6,其中,X5和X6均表示数据读取标识位,Y3表示与信息y对应的第二数据标识位,Z3表示与信息z对应的第二数据标识位。如图19所示,假设目标报文中的标签栈中依次携带标签栈中的信息a、标签栈后的信息c、标签栈中的信息b,由待发送信息的待发送顺序可知,目标报文携带两个目标指示符,即第一目标指示符和第二目标指示符。在第一目标指示符中与信息a对应的第二数据标识位A3置1(表征目标报文的标签栈中携带对应的信息a)、与信息c对应的第二数据标识位C3置1(表征目标报文的标签栈中携带对应的信息c)、数据读取标识位X5置1(表征停止读取下一个目标指示符),其余位标识位置0,而在第二 目标指示符中,在与信息b对应的第二数据标识位B4置1(表征目标报文的标签栈中携带对应的信息b),数据读取标识位X6置0(表征继续读取下一个目标指示符),其余位标识位置0。接收节点接收到目标报文后,从目标报文的标签栈顶开始读取第一个目标指示符,确定与第一个目标指示符对应的待发送信息,并根据第一个目标指示符确定是否继续读取下一个目标指示符,根据数据读取标识位X5,可知,需要停止读取第二目标指示符,又根据第二目标指示符的数据读取标识位X6,可知,继续读取下一个目标指示符,接着,根据第一目标指示符中的与信息a对应的第二数据标识位A3,以及与信息c对应的第二数据标识位C3,可知,需要依次对信息a和信息c进行数据处理,又根据第二目标指示符中与信息b对应的第二数据标识位B4,可知,需要对信息b进行数据处理,接着该接收节点依次对信息a、信息c和信息b进行数据处理,然后对第一标签进行剥离,在剥离处理之后,第二标签会位于标签栈顶,之后,该接收节点继续转发给下一个接收节点,下一个接收节点重复上述步骤,在此不再赘述。In an example, the target indicator is as shown in Figure 18. In Figure 18, A3 represents the second data identification bit corresponding to information a, B4 represents the second data identification bit corresponding to information b, and C3 represents the second data identification bit corresponding to information c. The corresponding second data identification bit, S represents the bottom identification bit of the stack, X5/X6 represents X5 or X6, where X5 and X6 both represent the data reading identification bit, Y3 represents the second data identification bit corresponding to the information y, Z3 Indicates the second data identification bit corresponding to the information z. As shown in Figure 19, assume that the label stack in the target message sequentially carries information a in the label stack, information c after the label stack, and information b in the label stack. It can be seen from the order of the information to be sent that the target message The text carries two target indicators, namely a first target indicator and a second target indicator. In the first target indicator, the second data identification bit A3 corresponding to the information a is set to 1 (the label stack representing the target message carries the corresponding information a), and the second data identification bit C3 corresponding to the information c is set to 1 ( The label stack representing the target message carries the corresponding information c), the data reading flag bit The second data identification bit B4 corresponding to the information b is set to 1 (indicating that the label stack of the target message carries the corresponding information b), the data read identification bit X6 is set to 0 (indicating that the next target indicator is continued to be read), The remaining bits identify position 0. After receiving the target message, the receiving node reads the first target indicator from the top of the label stack of the target message, determines the information to be sent corresponding to the first target indicator, and determines the information based on the first target indicator. Whether to continue reading the next target indicator, according to the data reading identification bit X5, it can be seen that it is necessary to stop reading the second target indicator, and according to the data reading identification bit X6 of the second target indicator, it can be seen that continuing to read Next target indicator, then, according to the second data identification bit A3 corresponding to information a in the first target indicator, and the second data identification bit C3 corresponding to information c, it can be seen that information a and information need to be processed in sequence c performs data processing, and according to the second data identification bit B4 corresponding to information b in the second target indicator, it can be seen that information b needs to be data processed, and then the receiving node performs data processing on information a, information c and information b in sequence. The data is processed, and then the first label is stripped. After the stripping process, the second label will be on the top of the label stack. After that, the receiving node continues to forward to the next receiving node, and the next receiving node repeats the above steps. No more details here. Repeat.
示例五:Example five:
如图20所示,图20为目标指示符的示意图,A4代表与信息a相对应的第二数据标识位,B5/B6表示B5或者B6,其中B5代表与信息b1相对应的第二数据标识位,B6代表与信息b2相对应的第二数据标识位,S代表栈底标识位,X7/X8表示X7或者X8,其中,X7或者X8表示数据读取标识位。如图21所示,第一接收节点用P1表示,第二接收节点用P2表示,第三接收节点用P3表示,发送节点用D表示,假设接收节点包括第一接收节点110、第二接收节点120和第三接收节点130,第一接收节点110的可读标签深度为7层,第二接收节点120和第三接收节点130的可读标签深度均为10层,第一接收节点110、第二接收节点120和第三接收节点130均需要按顺序读取信息b1、信息a和信息b2,且信息b1和信息b2为相同的信息,由此可知,目标报文中携带第一目标指示符和第二目标指示符,且第一目标指示符中对应信息b1的第二数据标识位B5置1,以及数据读取标识位X7置1(表征继续读取下一个目标指示符),其余位置置0,第二目标指示符中对应信息a的第二数据标识位A4置1,以及第二目标指示符中对应信息b2的第二数据标识位B6置1,其余位置置0,当发送节点100将第一目标指示符和第二目标指示符均填充在第一标签、第二标签和第三标签之后的位置时,数据组合信息(即第一目标指示符,第二目标指示符,信息b1,信息a,信息b2)处于标签栈中第四层到第八层之间的位置,数据组合信息超出了对应的第一接收节点110的可读标签深度,如图22所示,因此,需要在标签栈中重复填充2个数据组合信息,将第一个数据组合信息填充在第一标签和第二标签之后的位置,将第三标签填充至第一个数据组合信息之后的位置,将第二个数据组合信息填充至第三标签之后的位置,如图23所示。As shown in Figure 20, Figure 20 is a schematic diagram of a target indicator. A4 represents the second data identification bit corresponding to information a, B5/B6 represents B5 or B6, where B5 represents the second data identification corresponding to information b1. bit, B6 represents the second data identification bit corresponding to information b2, S represents the stack bottom identification bit, X7/X8 represents X7 or X8, where X7 or X8 represents the data read identification bit. As shown in Figure 21, the first receiving node is represented by P1, the second receiving node is represented by P2, the third receiving node is represented by P3, and the sending node is represented by D. It is assumed that the receiving node includes the first receiving node 110 and the second receiving node 120 and the third receiving node 130. The readable label depth of the first receiving node 110 is 7 layers. The readable label depths of the second receiving node 120 and the third receiving node 130 are both 10 layers. The first receiving node 110 and the third receiving node 130 have a readable label depth of 10 layers. Both the second receiving node 120 and the third receiving node 130 need to read information b1, information a and information b2 in order, and information b1 and information b2 are the same information. It can be seen that the target message carries the first target indicator. and the second target indicator, and the second data identification bit B5 corresponding to the information b1 in the first target indicator is set to 1, and the data read identification bit X7 is set to 1 (indicating that the next target indicator is continued to be read), and the remaining positions Set to 0, the second data identification bit A4 corresponding to the information a in the second target indicator is set to 1, and the second data identification bit B6 corresponding to the information b2 in the second target indicator is set to 1, and the remaining positions are set to 0. When the sending node 100 When both the first target indicator and the second target indicator are filled in the positions after the first label, the second label and the third label, the data combination information (i.e. the first target indicator, the second target indicator, the information b1, information a, information b2) are located between the fourth and eighth layers in the tag stack, and the data combination information exceeds the readable tag depth of the corresponding first receiving node 110, as shown in Figure 22. Therefore, Two pieces of data combination information need to be filled repeatedly in the label stack. The first data combination information is filled in the position after the first label and the second label. The third label is filled in the position after the first data combination information. The second data combination information is filled in to the position after the third label, as shown in Figure 23.
第一接收节点110接收到该目标报文后,根据目标指示符组合(即第一目标指示符和第二目标指示符)对与目标指示符组合对应的待发送信息(即信息b1,信息a,信息b2)进行数据处理,接着,对第一标签进行剥离处理,得到第一次剥离处理后的目标报文,将该第一次剥离处理后的目标报文转发给第二接收节点120,其中,第一次剥离处理后的目标报文如图24所示,且信息b1和信息b2可以为相同的信息。After receiving the target message, the first receiving node 110 compares the information to be sent (ie, information b1, information a) corresponding to the target indicator combination (ie, the first target indicator and the second target indicator) according to the target indicator combination. , information b2) performs data processing, and then strips the first label to obtain the target message after the first stripping process, and forwards the target message after the first stripping process to the second receiving node 120, Among them, the target message after the first stripping process is shown in Figure 24, and the information b1 and the information b2 can be the same information.
如图24所示,第二接收节点120在接收到第一次剥离处理后的目标报文之后,根据目标指示符组合(即第一目标指示符和第二目标指示符)对与目标指示符组合对应的待发送信息(即信息b1,信息a,信息b2)进行数据处理,接着,对第二标签进行剥离处理,在剥离处理之后,第一目标指示符会位于标签栈顶,又因为第一目标指示符,第二目标指示符、信息b1、信息a以及信息b2是一组数据组合信息,因此,将第二标签与该第一数据组合信息均进行剥离处理,得到第二次剥离处理后的目标报文,将该第二次剥离处理后的目标报文转发给第三接收节点130,其中,第二次剥离处理后的目标报文如图25所示。As shown in Figure 24, after receiving the target message after the first stripping process, the second receiving node 120 compares the target indicators according to the target indicator combination (ie, the first target indicator and the second target indicator). The corresponding information to be sent (i.e., information b1, information a, information b2) is combined for data processing, and then the second label is stripped. After the stripping process, the first target indicator will be located at the top of the label stack, and because the third A target indicator, a second target indicator, information b1, information a and information b2 are a set of data combination information. Therefore, the second tag and the first data combination information are all peeled off to obtain the second stripping process. The target message after the second stripping process is forwarded to the third receiving node 130, where the target message after the second stripping process is shown in Figure 25.
第三接收节点130在接收到第二次剥离处理后的目标报文后继续按照前面的步骤处理第三标签和第二组数据组合信息,在此不再赘述。After receiving the target message after the second stripping process, the third receiving node 130 continues to process the third label and the second set of data combination information according to the previous steps, which will not be described again here.
可以理解的是,上述所有示例中的标志位的取值以及对应的含义,可以根据实际情况而选择,例如,在一些实施例中,数据读取标识位可以是设置为0时表示继续读取下一个目标指示符,在另一些实施例中,数据读取标识位可以设置为1时表示继续读取下一个目标指示符,在此不做具体限制。It can be understood that the values and corresponding meanings of the flag bits in all the above examples can be selected according to the actual situation. For example, in some embodiments, the data reading flag bit can be set to 0 to indicate continued reading. The next target indicator. In other embodiments, the data reading flag bit may be set to 1 to indicate continuing to read the next target indicator, which is not specifically limited here.
另外,参照图26,本申请的一个实施例还提供了一种报文处理装置,该报文处理装置200包括存储器202、处理器201及存储在存储器202上并可在处理器201上运行的计算机程序。In addition, referring to Figure 26, an embodiment of the present application also provides a message processing device. The message processing device 200 includes a memory 202, a processor 201, and a program stored in the memory 202 and capable of running on the processor 201. Computer program.
处理器201和存储器202可以通过总线或者其他方式连接。The processor 201 and the memory 202 may be connected through a bus or other means.
存储器202作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序以及非暂态性计算机可执行程序。此外,存储器202可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施方式中,存储器202可选包括相对于处理器201远程设置的存储器,这些远程存储器可以通过网络连接至该处理器201。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。As a non-transitory computer-readable storage medium, the memory 202 can be used to store non-transitory software programs and non-transitory computer executable programs. In addition, the memory 202 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 202 optionally includes memory located remotely relative to the processor 201, and these remote memories may be connected to the processor 201 through a network. Examples of the above-mentioned networks include but are not limited to the Internet, intranets, local area networks, mobile communication networks and combinations thereof.
实现上述实施例的报文处理方法所需的非暂态软件程序以及指令存储在存储器202中,当被处理器201执行时,执行上述实施例中的报文处理方法,例如,执行以上描述的图1中的方法步骤S110至S140、图5中的方法步骤S210至S220、图6中的方法步骤S310至S330、图7中的方法步骤S410至S420、图8中的方法步骤S510至S520、图9中的方法步骤S610至S620、图10中的方法步骤S710至S730。The non-transitory software programs and instructions required to implement the message processing method of the above embodiment are stored in the memory 202. When executed by the processor 201, the message processing method in the above embodiment is executed, for example, the above described The method steps S110 to S140 in Figure 1, the method steps S210 to S220 in Figure 5, the method steps S310 to S330 in Figure 6, the method steps S410 to S420 in Figure 7, the method steps S510 to S520 in Figure 8, Method steps S610 to S620 in FIG. 9 and method steps S710 to S730 in FIG. 10 .
以上所描述的设备实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上 分开的,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separate, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
此外,本申请的一个实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个处理器或控制器执行,例如,被上述设备实施例中的一个处理器执行,可使得上述处理器执行上述实施例中的报文处理方法,执行以上描述的图1中的方法步骤S110至S140、图5中的方法步骤S210至S220、图6中的方法步骤S310至S330、图7中的方法步骤S410至S420、图8中的方法步骤S510至S520、图9中的方法步骤S610至S620、图10中的方法步骤S710至S730。In addition, an embodiment of the present application also provides a computer-readable storage medium that stores computer-executable instructions, and the computer-executable instructions are executed by a processor or controller, for example, by the above-mentioned Execution by a processor in the device embodiment can cause the above processor to execute the message processing method in the above embodiment, and execute the above-described method steps S110 to S140 in Figure 1, method steps S210 to S220 in Figure 5, Method steps S310 to S330 in FIG. 6 , method steps S410 to S420 in FIG. 7 , method steps S510 to S520 in FIG. 8 , method steps S610 to S620 in FIG. 9 , and method steps S710 to S730 in FIG. 10 .
此外,本申请的一个实施例还提供了一种计算机程序产品,包括计算机程序或计算机指令,计算机程序或计算机指令存储在计算机可读存储介质中,计算机设备的处理器从计算机可读存储介质读取计算机程序或计算机指令,处理器执行计算机程序或计算机指令,使得计算机设备执行上述实施例中的报文处理方法,例如,执行以上描述的图1中的方法步骤S110至S140、图5中的方法步骤S210至S220、图6中的方法步骤S310至S330、图7中的方法步骤S410至S420、图8中的方法步骤S510至S520、图9中的方法步骤S610至S620、图10中的方法步骤S710至S730。In addition, an embodiment of the present application also provides a computer program product, including a computer program or computer instructions. The computer program or computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer program from the computer-readable storage medium. Get the computer program or computer instructions, and the processor executes the computer program or computer instructions, so that the computer device performs the message processing method in the above embodiment, for example, performs the above-described method steps S110 to S140 in Figure 1 and Figure 5. Method steps S210 to S220, method steps S310 to S330 in Figure 6, method steps S410 to S420 in Figure 7, method steps S510 to S520 in Figure 8, method steps S610 to S620 in Figure 9, method steps S610 to S620 in Figure 10 Method steps S710 to S730.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统可以被实施为软件、固件、硬件及其适当的组合。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art can understand that all or some steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit . Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is known to those of ordinary skill in the art, the term computer storage media includes volatile and nonvolatile media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. removable, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disk (DVD) or other optical disk storage, magnetic cassettes, tapes, disk storage or other magnetic storage devices, or may Any other medium used to store the desired information and that can be accessed by a computer. Additionally, it is known to those of ordinary skill in the art that communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
以上是对本申请的较佳实施方式进行了具体说明,但本申请并不局限于上述实施方式,熟悉本领域的技术人员在不违背本申请范围的前提下还可作出种种的等同变形或替换,这些等同的变形或替换均包含在本申请权利要求所限定的范围内。The above is a detailed description of the preferred embodiments of the present application, but the present application is not limited to the above-mentioned embodiments. Those skilled in the art can also make various equivalent modifications or substitutions without departing from the scope of the present application. These equivalent modifications or substitutions are included within the scope defined by the claims of this application.
Claims (27)
- 一种报文处理方法,包括:A message processing method, including:根据待发送信息的信息类型和所述待发送信息的待处理顺序,确定是否符合在报文中使用组合指示符的目标条件;Determine whether the target condition for using a combination indicator in the message is met according to the information type of the information to be sent and the order in which the information to be sent is to be processed;当确定符合所述目标条件,根据所述信息类型和所述待处理顺序确定目标指示符组合;When it is determined that the target condition is met, determine a target indicator combination according to the information type and the order to be processed;生成携带所述待发送信息和所述目标指示符组合的目标报文;Generate a target message carrying a combination of the information to be sent and the target indicator;向接收节点发送所述目标报文,使得所述接收节点根据所述目标指示符组合对所述待发送信息进行数据处理。The target message is sent to the receiving node, so that the receiving node performs data processing on the information to be sent according to the target indicator combination.
- 根据权利要求1所述的报文处理方法,其中,所述目标条件至少包括以下之一:The message processing method according to claim 1, wherein the target condition includes at least one of the following:具有相同的信息类型的所述待发送信息的数量为多个;The number of information to be sent having the same information type is multiple;所述待发送信息的不同的待处理顺序对应于不同的业务逻辑或者处理结果。Different processing orders of the information to be sent correspond to different business logic or processing results.
- 根据权利要求1所述的报文处理方法,其中,所述根据所述信息类型和所述待处理顺序确定目标指示符组合,包括:The message processing method according to claim 1, wherein the determining the target indicator combination according to the information type and the order to be processed includes:根据所述信息类型、所述待处理顺序和预设组合规则确定目标指示符组合。The target indicator combination is determined according to the information type, the order to be processed and the preset combination rules.
- 根据权利要求1所述的报文处理方法,其中,所述根据所述信息类型和所述待处理顺序确定目标指示符组合,包括:The message processing method according to claim 1, wherein the determining the target indicator combination according to the information type and the order to be processed includes:根据所述信息类型和所述待处理顺序确定目标指示符信息,其中,所述目标指示符信息包括指示符数量、各指示符所指示的信息、各指示符在标签栈中的位置、各指示符所指示的信息在标签栈中的位置中的至少一个;Target indicator information is determined according to the information type and the order to be processed, wherein the target indicator information includes the number of indicators, the information indicated by each indicator, the position of each indicator in the label stack, each indication At least one of the positions of the information indicated by the symbol in the label stack;根据所述目标指示符信息确定目标指示符组合。A target indicator combination is determined based on the target indicator information.
- 根据权利要求1所述的报文处理方法,其中,所述目标指示符组合包括多个目标指示符;所述生成携带所述待发送信息和所述目标指示符组合的目标报文,包括:The message processing method according to claim 1, wherein the target indicator combination includes a plurality of target indicators; the generating a target message carrying the information to be sent and the target indicator combination includes:生成候选报文;Generate candidate messages;根据各个所述目标指示符所需要指示的信息,对各个所述目标指示符所对应的指示位进行参数设置处理;According to the information that each of the target indicators needs to indicate, perform parameter setting processing on the indication bit corresponding to each of the target indicators;将所述待发送信息和经过参数设置处理的各个所述目标指示符填充至所述候选报文,得到目标报文。The information to be sent and each of the target indicators processed by parameter setting are filled into the candidate message to obtain a target message.
- 根据权利要求5所述的报文处理方法,其中,所述待发送信息的数量为多个,各个所述待发送信息在所述目标报文中的位置顺序,与各个所述目标指示符所对应的各指示位的位置顺序相对应。The message processing method according to claim 5, wherein the number of the information to be sent is multiple, and the position sequence of each of the information to be sent in the target message is consistent with the position of each of the target indicators. The positions of the corresponding indication bits correspond to each other.
- 根据权利要求6所述的报文处理方法,其中,所述将所述待发送信息和经过参数设置处理的各个所述目标指示符填充至所述候选报文,包括:The message processing method according to claim 6, wherein said filling the candidate message with the information to be sent and each of the target indicators processed by parameter setting includes:将经过参数设置处理的各个所述目标指示符有序且连续地填充至所述候选报文;Filling each of the target indicators that have undergone parameter setting processing into the candidate message in an orderly and continuous manner;在所有所述目标指示符的后面紧接着将各个所述待发送信息有序且连续地填充至所述候选报文。Immediately after all the target indicators, each of the information to be sent is filled into the candidate message in an orderly and continuous manner.
- 根据权利要求6所述的报文处理方法,其中,所述将所述待发送信息和经过参数设置处理的各个所述目标指示符填充至所述候选报文,包括:The message processing method according to claim 6, wherein said filling the candidate message with the information to be sent and each of the target indicators processed by parameter setting includes:将经过参数设置处理的各个所述目标指示符有序且不连续地填充至所述候选报文;Filling each of the target indicators that have undergone parameter setting processing into the candidate message in an orderly and discontinuous manner;在各个所述目标指示符的后面紧接着将对应的所述待发送信息填充至所述候选报文。Immediately after each of the target indicators, the corresponding information to be sent is filled into the candidate message.
- 根据权利要求7或8所述的报文处理方法,其中,所述目标指示符组合和与所述目标指示符组合对应的所述待发送信息构成数据组合信息,所述目标报文中重复填充有多个所述数据组合信息,各个所述接收节点在处理对应的所述数据组合信息时,所述数据组合信息处于对应的所述接收节点的可读标签深度内。The message processing method according to claim 7 or 8, wherein the target indicator combination and the information to be sent corresponding to the target indicator combination constitute data combination information, and the target message is repeatedly filled in There is a plurality of the data combination information. When each receiving node processes the corresponding data combination information, the data combination information is within the readable tag depth of the corresponding receiving node.
- 根据权利要求5所述的报文处理方法,其中,所述将所述待发送信息和经过参数设置处理的各个所述目标指示符填充至所述候选报文,得到目标报文,包括至少以下之一:The message processing method according to claim 5, wherein the information to be sent and each of the target indicators processed by parameter setting are filled into the candidate message to obtain a target message, including at least the following one:将所述待发送信息和经过参数设置处理的各个所述目标指示符填充至所述候选报文的标签栈中,得到目标报文;Fill the label stack of the candidate message with the information to be sent and each of the target indicators processed by parameter setting to obtain the target message;将所述待发送信息和经过参数设置处理的各个所述目标指示符填充至所述候选报文的标签栈后,得到目标报文。After the information to be sent and each of the target indicators processed by parameter setting are filled into the label stack of the candidate message, a target message is obtained.
- 根据权利要求1所述的报文处理方法,其中,所述目标指示符组合包括多个目标指示符;所述向接收节点发送所述目标报文之前,所述报文处理方法还包括:The message processing method according to claim 1, wherein the target indicator combination includes multiple target indicators; before sending the target message to the receiving node, the message processing method further includes:与所述接收节点约定读取的所述目标指示符的数量。The number of the target indicators to be read is agreed upon with the receiving node.
- 根据权利要求1所述的报文处理方法,其中,所述目标指示符组合包括多个目标指示符,所述接收节点被配置为读取预设数量的所述目标指示符。The message processing method according to claim 1, wherein the target indicator combination includes a plurality of target indicators, and the receiving node is configured to read a preset number of the target indicators.
- 根据权利要求1所述的报文处理方法,其中,所述目标指示符组合包括多个目标指示符,所述多个目标指示符填充于所述目标报文,每个所述目标指示符均包括至少以下之一:The message processing method according to claim 1, wherein the target indicator combination includes a plurality of target indicators, the plurality of target indicators are filled in the target message, and each of the target indicators is Include at least one of the following:第一数据标识位,用于表征是否可通过所述目标报文获取目标待发送信息,所述目标待发送信息通过所 述第一数据标识位表达,并且所述目标报文不额外携带所述目标待发送信息;The first data identification bit is used to indicate whether the target information to be sent can be obtained through the target message. The target information to be sent is expressed by the first data identification bit, and the target message does not additionally carry the Target message to be sent;第二数据标识位,所述第二数据标识位用于表征所述目标报文是否携带对应的所述待发送信息。The second data identification bit is used to indicate whether the target message carries the corresponding information to be sent.
- 根据权利要求13所述的报文处理方法,其中,每个所述目标指示符均还包括:The message processing method according to claim 13, wherein each of the target indicators further includes:数据读取标识位,用于表征是否继续读取下一个目标指示符。The data read flag bit is used to indicate whether to continue reading the next target indicator.
- 一种报文处理方法,包括:A message processing method, including:接收来自发送节点的目标报文,其中,所述目标报文包括待发送信息和目标指示符组合,所述目标指示符组合为在根据所述待发送信息的信息类型和所述待发送信息的待处理顺序确定符合在报文中使用组合指示符的目标条件的情况下,根据所述信息类型和所述待处理顺序而得到的指示符组合;Receive a target message from the sending node, wherein the target message includes a combination of information to be sent and a target indicator, and the target indicator combination is based on the information type of the information to be sent and the information of the information to be sent. When the order to be processed is determined to meet the target conditions for using combination indicators in the message, the indicator combination obtained according to the information type and the order to be processed;根据所述目标报文中的所述目标指示符组合对所述待发送信息进行数据处理。Perform data processing on the information to be sent according to the target indicator combination in the target message.
- 根据权利要求15所述的报文处理方法,其中,所述目标条件包括至少以下之一:The message processing method according to claim 15, wherein the target condition includes at least one of the following:具有相同的信息类型的所述待发送信息的数量为多个;The number of information to be sent having the same information type is multiple;所述待发送信息的不同的待处理顺序对应于不同的业务逻辑或者处理结果。Different processing orders of the information to be sent correspond to different business logic or processing results.
- 根据权利要求15所述的报文处理方法,其中,所述目标指示符组合包括多个目标指示符,所述待发送信息的数量为多个;The message processing method according to claim 15, wherein the target indicator combination includes multiple target indicators, and the number of information to be sent is multiple;所述根据所述目标报文中的所述目标指示符组合对所述待发送信息进行数据处理,包括:The data processing of the information to be sent according to the target indicator combination in the target message includes:从所述目标报文的标签栈顶开始读取第一个所述目标指示符,确定与第一个所述目标指示符对应的待发送信息,并根据第一个所述目标指示符确定是否继续读取下一个目标指示符;Read the first target indicator from the top of the label stack of the target message, determine the information to be sent corresponding to the first target indicator, and determine whether to send based on the first target indicator. Continue reading the next target indicator;当根据第一个所述目标指示符确定继续读取下一个目标指示符,读取下一个目标指示符,并确定与所述下一个目标指示符对应的待发送信息,直到读取完成所有需要读取的目标指示符;When it is determined according to the first target indicator to continue reading the next target indicator, read the next target indicator, and determine the information to be sent corresponding to the next target indicator, until reading completes all required Read target indicator;根据读取到的所有目标指示符的顺序对确定到的所有待发送信息进行数据处理。Perform data processing on all determined information to be sent according to the order of all target indicators read.
- 根据权利要求17所述的报文处理方法,其中,所述根据读取到的所有目标指示符的顺序对确定到的所有待发送信息进行数据处理,包括:The message processing method according to claim 17, wherein the data processing of all the determined information to be sent according to the order of all read target indicators includes:在读取完成所有需要读取的目标指示符之后,对确定到的所有待发送信息进行数据处理;After reading all the target indicators that need to be read, perform data processing on all the determined information to be sent;或者,or,在读取完成每一个目标指示符之后,对确定到的对应的待发送信息进行数据处理。After each target indicator is read, data processing is performed on the determined corresponding information to be sent.
- 根据权利要求15所述的报文处理方法,其中,所述目标指示符组合包括多个目标指示符,所述待发送信息的数量为多个,各个所述待发送信息在所述目标报文中的位置顺序,与各个所述目标指示符所对应的各指示位的位置顺序相对应。The message processing method according to claim 15, wherein the target indicator combination includes multiple target indicators, the number of the information to be sent is multiple, and each of the information to be sent is in the target message. The position sequence in corresponds to the position sequence of the indication bits corresponding to each of the target indicators.
- 根据权利要求19所述的报文处理方法,其中,所述目标指示符组合和与所述目标指示符组合对应的所述待发送信息构成数据组合信息,所述目标报文中重复填充有多个所述数据组合信息,所述数据组合信息在被对应的节点处理时,所述数据组合信息处于对应的节点的可读标签深度内。The message processing method according to claim 19, wherein the target indicator combination and the information to be sent corresponding to the target indicator combination constitute data combination information, and the target message is repeatedly filled with multiple The data combination information, when the data combination information is processed by the corresponding node, the data combination information is within the readable tag depth of the corresponding node.
- 根据权利要求15所述的报文处理方法,其中,所述目标指示符组合包括多个目标指示符;所述接收来自发送节点的目标报文之前,所述报文处理方法还包括:The message processing method according to claim 15, wherein the target indicator combination includes a plurality of target indicators; before receiving the target message from the sending node, the message processing method further includes:与所述发送节点约定读取的所述目标指示符的数量。The number of the target indicators to be read is agreed upon with the sending node.
- 根据权利要求15所述的报文处理方法,其中,所述目标指示符组合包括多个目标指示符,所述根据所述目标报文中的所述目标指示符组合对所述待发送信息进行数据处理,包括:The message processing method according to claim 15, wherein the target indicator combination includes a plurality of target indicators, and the information to be sent is processed according to the target indicator combination in the target message. Data processing, including:读取预先配置的预设数量的所述目标指示符对所述待发送信息进行数据处理。A preconfigured and preset number of the target indicators are read and data processing is performed on the information to be sent.
- 根据权利要求15所述的报文处理方法,其中,所述目标指示符组合包括多个目标指示符,所述多个目标指示符填充于所述目标报文,每个所述目标指示符均包括至少之一:The message processing method according to claim 15, wherein the target indicator combination includes a plurality of target indicators, the plurality of target indicators are filled in the target message, and each of the target indicators is Include at least one of:第一数据标识位,用于表征是否可通过所述目标报文获取目标待发送信息,所述目标待发送信息通过所述第一数据标识位表达,并且所述目标报文不额外携带所述目标待发送信息;The first data identification bit is used to indicate whether the target information to be sent can be obtained through the target message. The target information to be sent is expressed by the first data identification bit, and the target message does not additionally carry the Target message to be sent;第二数据标识位,用于表征所述目标报文是否携带对应的所述待发送信息。The second data identification bit is used to indicate whether the target message carries the corresponding information to be sent.
- 根据权利要求23所述的报文处理方法,其中,每个所述目标指示符均还包括:The message processing method according to claim 23, wherein each of the target indicators further includes:数据读取标识位,用于表征是否继续读取下一个目标指示符。The data read flag bit is used to indicate whether to continue reading the next target indicator.
- 一种报文处理装置,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至24中任意一项所述的报文处理方法。A message processing device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements any one of claims 1 to 24. The message processing method described.
- 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至24中任意一项所述的报文处理方法。A computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to execute the message processing method described in any one of claims 1 to 24.
- 一种计算机程序产品,包括计算机程序或计算机指令,所述计算机程序或所述计算机指令存储在计算机可读存储介质中,计算机设备的处理器从所述计算机可读存储介质读取所述计算机程序或所述计算机指令,所述处理器执行所述计算机程序或所述计算机指令,使得所述计算机设备执行如权利要求1至24任意一项所述的报文处理方法。A computer program product comprising a computer program or computer instructions stored in a computer-readable storage medium from which a processor of a computer device reads the computer program Or the computer instructions, the processor executes the computer program or the computer instructions, so that the computer device executes the message processing method according to any one of claims 1 to 24.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210460693.7A CN117014369A (en) | 2022-04-28 | 2022-04-28 | Message processing method and device, storage medium and program product thereof |
CN202210460693.7 | 2022-04-28 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023207196A1 true WO2023207196A1 (en) | 2023-11-02 |
Family
ID=88517170
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/143461 WO2023207196A1 (en) | 2022-04-28 | 2022-12-29 | Message processing method and apparatus, and storage medium and program product |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN117014369A (en) |
WO (1) | WO2023207196A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018161672A1 (en) * | 2017-03-10 | 2018-09-13 | 华为技术有限公司 | Packet processing method, apparatus and system |
CN109144736A (en) * | 2018-09-30 | 2019-01-04 | 新华三信息安全技术有限公司 | A kind of method and device exporting alert message |
WO2019165888A1 (en) * | 2018-03-01 | 2019-09-06 | 中兴通讯股份有限公司 | Method and apparatus for processing packet using unified sr label stack |
CN112368980A (en) * | 2018-07-13 | 2021-02-12 | 华为技术有限公司 | MPLS extension header for on-network traffic |
CN113973082A (en) * | 2020-07-06 | 2022-01-25 | 华为技术有限公司 | Message processing method and network equipment |
-
2022
- 2022-04-28 CN CN202210460693.7A patent/CN117014369A/en active Pending
- 2022-12-29 WO PCT/CN2022/143461 patent/WO2023207196A1/en unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018161672A1 (en) * | 2017-03-10 | 2018-09-13 | 华为技术有限公司 | Packet processing method, apparatus and system |
WO2019165888A1 (en) * | 2018-03-01 | 2019-09-06 | 中兴通讯股份有限公司 | Method and apparatus for processing packet using unified sr label stack |
CN112368980A (en) * | 2018-07-13 | 2021-02-12 | 华为技术有限公司 | MPLS extension header for on-network traffic |
CN109144736A (en) * | 2018-09-30 | 2019-01-04 | 新华三信息安全技术有限公司 | A kind of method and device exporting alert message |
CN113973082A (en) * | 2020-07-06 | 2022-01-25 | 华为技术有限公司 | Message processing method and network equipment |
Also Published As
Publication number | Publication date |
---|---|
CN117014369A (en) | 2023-11-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11502937B2 (en) | Path establishment method and controller | |
CN112217724B (en) | Path management method, path management device, network equipment and readable storage medium | |
US10044770B2 (en) | Method and apparatus for managing a plurality of sessions in a multi-path routing based network | |
CN115065637B (en) | Method and device for transmitting computing power resource information and electronic equipment | |
CN103354520B (en) | A kind of method and device of tag processes | |
CN111478829B (en) | Pressure testing method, device and system for block chain network | |
US9847937B2 (en) | Hardware acceleration for routing programs | |
US11309974B2 (en) | Quantum channel routing utilizing a quantum channel measurement service | |
CN114844842A (en) | Data transmission method and device, electronic equipment and readable storage medium | |
CN105376292A (en) | Explicit strategy feedback in name-based forwarding | |
CN113645120A (en) | Message processing method, line card, equipment and storage medium | |
US20200028709A1 (en) | Method for removing data frame redundancy in network environment, and device and computer program for carrying out same | |
CN108322393A (en) | Routing link management method and system, virtual flow-line gateway and host gateway | |
WO2023207196A1 (en) | Message processing method and apparatus, and storage medium and program product | |
CN112769738B (en) | DetNet data packet processing method and device | |
CN104767589B (en) | A kind of method for sending information and device | |
CN110290068A (en) | A kind of sending method, method of reseptance and the equipment of adhesion label | |
CN106789440B (en) | IP packet header detection method and device | |
CN111880742B (en) | Distributed storage volume creation method, system, device and computer medium | |
CN109246005A (en) | Message forwarding method and device | |
CN102413038B (en) | Processing method and system for inaccessibility of next hop of route | |
CN113765794B (en) | Data transmission method and device, electronic equipment and medium | |
CN106850388B (en) | Method and device for forwarding message by VPLS network | |
CN111935020A (en) | Message generation method and circuit and storage medium | |
CN102868606A (en) | Method, master router and system for sending VRRP (virtual router redundancy protocol) heartbeat messages |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22940002 Country of ref document: EP Kind code of ref document: A1 |