A message sending method and device

By judging the forwarding records of undefined modal packets and sending them according to the destination address, the problem of undefined modal packets being unable to be processed in multimodal network environments is solved, achieving efficient cross-device forwarding and resource conservation.

CN118802746BActive Publication Date: 2026-01-16XINYANG BRANCH HENAN CO LTD OF CHINA MOBILE COMM CORP +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410306618.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-18
Publication Date
2026-01-16
Estimated Expiration
2044-03-18

AI Technical Summary

Technical Problem

Existing network equipment cannot effectively process unidentified modal packets, resulting in the direct discarding of undefined modal packets and a waste of data resources.

Method used

By determining whether an undefined modal message has a forwarding record and sending it according to the destination address, cross-device forwarding of undefined modal messages is achieved, while avoiding excessive consumption of link bandwidth by undefined modal messages.

Benefits of technology

It achieves efficient forwarding of undefined modal packets, avoids resource waste, and is suitable for processing unidentified modal packets in multimodal network environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118802746B_ABST
    Figure CN118802746B_ABST
Patent Text Reader

Abstract

The application provides a message sending method and device, comprising: obtaining an undetermined mode message, and judging whether to perform a discard operation on the undetermined mode message; in response to that the discard operation is not performed on the undetermined mode message, judging whether the undetermined mode message is a first undetermined mode message with a forwarding record; in response to that the undetermined mode message is the first undetermined mode message, determining a destination address corresponding to the first undetermined mode message, and performing a sending operation on the first undetermined mode message according to the destination address. By judging whether the undetermined mode message is the first undetermined mode message with the forwarding record, and performing the sending operation on the first undetermined mode message according to the destination address, the cross-device forwarding of the undetermined mode message is realized, and meanwhile, the undetermined mode message can avoid consuming too much link bandwidth, so that the application has a wide use scenario.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of network communication, and in particular to a message sending method and device. BACKGROUND

[0002] In a polymorphic network environment (Polymorphic Network Environment, PNE for short), there are multiple identification systems, such as content identification, identity identification, and geographic space identification. The network architecture model formed based on each identification system is a network modality, such as an IP network, a named data network, and a geographic location network. Existing network devices only support a small number of modalities. For unidentified modalities, they need to be sent to other devices through an inter-modal interface for processing. The existing technology directly discards unidentified modality messages. Therefore, how to efficiently and flexibly process mixed forwarding of unidentified modality messages is an important problem to be studied and solved.

[0003] It should be noted that the above introduction to the technical background is only for the convenience of clearly and completely describing the technical solutions of the present application, and for the convenience of understanding by those skilled in the art. The above technical solutions cannot be considered as known to those skilled in the art just because they are described in the background section of the present application. SUMMARY

[0004] The embodiments of the present application provide a message sending method and device.

[0005] The first aspect of the present application provides a message sending method, comprising:

[0006] obtaining an unidentified modality message, and determining whether to perform a discard operation on the unidentified modality message;

[0007] in response to not performing the discard operation on the unidentified modality message, determining whether the unidentified modality message is a first unidentified modality message with a forwarding record;

[0008] in response to the unidentified modality message being the first unidentified modality message, determining a destination address corresponding to the first unidentified modality message, and performing a sending operation on the first unidentified modality message according to the destination address.

[0009] The second aspect of the present application provides a message sending device, comprising:

[0010] an obtaining module, configured to obtain an unidentified modality message, and determine whether to perform a discard operation on the unidentified modality message;

[0011] a determining module, configured to determine whether the undetermined mode packet is a first undetermined mode packet with a forwarding record in response to the undetermined mode packet not being discarded;

[0012] a sending module, configured to determine a destination address corresponding to the first undetermined mode packet, and send the first undetermined mode packet according to the destination address in response to the undetermined mode packet being the first undetermined mode packet.

[0013] The third aspect of the present application provides an electronic device, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the packet sending method provided by the first aspect of the present application.

[0014] The fourth aspect of the present application provides a non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the method provided by the first aspect of the present application.

[0015] The fifth aspect of the present application provides a computer program product, comprising a computer program, the computer program is executed by a processor in a communication device to implement the method provided by the first aspect of the present application.

[0016] The embodiments of the present application provide the technical solutions at least with the following beneficial effects:

[0017] By determining whether the undetermined mode packet is a first undetermined mode packet with a forwarding record, and sending the first undetermined mode packet according to the destination address, the cross-device forwarding of the undetermined mode packet is realized, and at the same time, the undetermined mode packet can avoid consuming too much link bandwidth, which has a wide range of use scenarios.

[0018] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application. BRIEF DESCRIPTION OF DRAWINGS

[0019] The above and / or additional aspects and advantages of the present application will become apparent and more readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:

[0020] Figure 1 A flowchart of a packet sending method provided by an embodiment of the present application;

[0021] Figure 2 A flowchart of another packet sending method provided by an embodiment of the present application;

[0022] Figure 3A variety of modal message sending scenario diagrams provided by the embodiments of the present application are shown in the following table.

[0023] Figure 4 A real-time message processing flow diagram provided by the embodiments of the present application is shown in the following table.

[0024] Figure 5 A structure diagram of a message sending device provided by the embodiments of the present application is shown in the following table.

[0025] Figure 6 A structure diagram of an electronic device according to the embodiments of the present application is shown in the following table.

[0026] Figure 7 A structure diagram of another electronic device according to the embodiments of the present application is shown in the following table. DETAILED DESCRIPTION

[0027] The exemplary embodiments will be described in detail herein below with reference to the drawings. In the following description, the same or similar components are designated by the same or similar reference numerals throughout the drawings, and repeated description thereof will be omitted. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. Rather, they are merely examples of devices and methods consistent with some aspects of the embodiments of the present application, as detailed in the appended claims.

[0028] The terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the embodiments of the present application. As used in the embodiments of the present application and the appended claims, the singular forms "a," "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and / or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.

[0029] It will be understood that, although the terms first, second, third, etc. can be used herein to describe various information, these terms are not intended to denote a temporal or chronological order. Rather, these terms are used only to distinguish one from another. For example, a first information can be termed a second information, and similarly, a second information can also be termed a first information, without departing from the scope of the embodiments of the present application. As used herein, the words "if" and "when" can be interpreted to mean "upon" or "in response to a determination" depending on the context.

[0030] The embodiments of the present application are described in detail below with reference to the drawings, in which examples of the embodiments are shown. The embodiments described below by reference to the drawings are exemplary and are intended to explain the present application, and should not be understood as limiting the present application.

[0031] It should be noted that the message sending method provided by any one of the embodiments of the present application can be executed alone or in combination with the possible implementation methods in other embodiments, and can also be executed in combination with any one of the technical solutions in the related art.

[0032] The message sending method and device of the embodiments of the present application are described below with reference to the accompanying drawings.

[0033] Figure 1 A flowchart of a message sending method provided by an embodiment of the present application is shown in FIG. 1. As shown in the figure, the method includes but is not limited to the following steps: Figure 1

[0034] S101, obtaining an undetermined mode message, and determining whether to perform a discard operation on the undetermined mode message.

[0035] It should be noted that a message is a data unit exchanged and transmitted in a network, and it is a basic unit in network communication, used to transmit information between a source address and a destination address. The message can be a data packet in different protocol layers, and the protocol layer usually refers to an OSI (Open System Interconnection) seven-layer protocol model, including: an application layer, a presentation layer, a session layer, a transport layer, a network layer, a data link layer, and a physical layer.

[0036] In a network, when a device wants to communicate with a remote server, data is encapsulated into individual messages, each message containing a source address and a destination address. These messages are transmitted through the network, forwarded by multiple intermediate nodes (routers, switches, etc.), and finally reach the target server. Then the server opens the message, parses the data content therein, and makes a corresponding response according to the source address. The design and parsing of the message follow specific communication protocols, which specify the structure, format of the message, and how to process the data therein. Different applications and protocols can apply different message formats and rules. Encapsulating messages is from upper layer to lower layer (for example, application layer -> transport layer -> network layer -> data link layer -> physical layer), and the parsing and encapsulation of the message is from lower layer to upper layer.

[0037] ​In the process of message transmission, the source address and the destination address usually do not change, unless network address translation is encountered. If the message is transmitted in two layers (data link layer -> physical layer), it can be addressed through MAC (Media Access Control Address, that is, MAC address, which is an address used to confirm the position of a network device, used to uniquely identify a network card in a network. If a device has one or more network cards, each network card needs and will have a unique MAC address. The MAC address, also known as the physical address or hardware address, is burned on the flash chip of the network card by the network device manufacturer. The MAC address, like the ID number on an ID card, is unique.) Addressing; if the message is transmitted in three layers (network layer -> data link layer -> physical layer), as an example, for a multi-modal network environment, it can be addressed through IP (Internet Protocol Address, that is, IP address, also known as Internet Protocol address. IP address is a unified address format provided by IP protocol, which allocates a logical address for each network and each host on the Internet, thereby shielding the difference between physical addresses) addressing, or content identification, or identity identification, or geospatial identification, etc. Further, the message is called data in the application layer, presentation layer and session layer, called segment in the transport layer, called packet in the network layer, called frame in the data link layer, and called bit in the physical layer.

[0038] Figure 3 Various modal message sending scenarios provided by the embodiments of the present application are shown. As shown in Figure 3 In a multi-modal network environment, some devices only support a small number of modes. Network device A only supports mode X, and network device A obtains mode X traffic from the server for user use. Network device B only supports mode Y, and network device B obtains mode Y traffic from the server for user use. For unidentified modes (i.e., unidentified modes, for network device A, mode Y is an unidentified mode; for network device B, mode X is an unidentified mode), it needs to be sent to other devices through an inter-modal interface for processing. Current network technology cannot determine which three-layer (network layer -> data link layer -> physical layer) processing module to use to process the unidentified mode message, and the device can only discard the unidentified mode message, resulting in waste of data resources. For example, mode Y traffic cannot be transmitted to the corresponding user of mode X network environment, and mode Y traffic is directly discarded.

[0039] Further, Figure 4 The real-time message processing flow provided by the embodiments of the present application is shown. As shown in Figure 4As shown, the obtaining of the indefinite modal message includes: querying the modal type supported by the device according to the protocol of the received real-time message, if the result of the modal identification shows a known modal, the real-time message is processed according to the known modal message processing flow; if the result of the modal identification shows an unknown modal, that is, the modal of the real-time message does not match the modal in the modal type table, the real-time message is processed according to the indefinite modal message processing flow, and then it is judged whether the indefinite modal message is supported by the device, if not, the indefinite modal message is discarded.

[0040] S102, in response to the indefinite modal message not being discarded, judging whether the indefinite modal message is a first indefinite modal message with a forwarding record.

[0041] It should be noted that the message received by the current device is sent by the sending device, when the number of modes supported by the sending device is more than the number of modes supported by the current device, the current device will have a modal miss, that is, an indefinite modal message. The current device extracts a plurality of parameters (the parameters should be selected according to the actual use scene) of the indefinite modal message and matches the configuration table, if the matching is successful, the indefinite modal message is not discarded, otherwise the indefinite modal message is discarded.

[0042] Further, after the first indefinite modal message hit by the current device performs the forwarding operation, a state will be recorded in the indefinite modal cache table, if the current device continues to receive the same message as the first indefinite modal message hit by the current device, and the message is executed to forward, the indefinite modal cache table has the forwarding record of the message, that is, the forwarding record is effective, the message belongs to the "white list" of the current device, and the indefinite modal message with the forwarding record is recorded as the first indefinite modal message. The indefinite modal message not in the "white list" of the current device is discarded.

[0043] S103, in response to the indefinite modal message being the first indefinite modal message, determining the destination address corresponding to the first indefinite modal message, and performing a sending operation on the first indefinite modal message according to the destination address.

[0044] It should be noted that the sending process of the first indefinite modal message is similar to the sending process of the known modal message, when the current device sends the first indefinite modal message, the network node sends the first indefinite modal message to the next node according to the destination address information of the first indefinite modal message, and transfers the first indefinite modal message to the node of the destination address node by node. Specifically, after each node receives the first indefinite modal message and checks it, the node temporarily stores the message, and then finds the address of the next node using the routing information, and then transmits the entire message to the next node.

[0045] It should be noted that the undetermined mode cache table is usually provided with a timeout aging mechanism, which can avoid current device resource exhaustion, and also solve the problem that the current device is waiting for a long time due to the fact that the first undetermined mode packet is not responded in time by the downstream device due to packet loss and other reasons. If the forwarding record in the undetermined mode cache table is not effective after a certain time (as an example, it can be 10 seconds), the undetermined mode cache table is deleted, and if the same packet as the first undetermined mode packet is received subsequently, the first undetermined mode packet is reprocessed. On the other hand, the undetermined mode cache table can also be set with an upper limit value (as an example, the upper limit value can be 10000), and when the number of undetermined mode cache tables exceeds the upper limit value, the subsequent undetermined mode packets are discarded directly, thereby avoiding the exhaustion of the memory resources of the device by the downstream device sending a large number of undefined modes maliciously or abnormally.

[0046] In summary, by judging whether the undetermined mode packet is the first undetermined mode packet with a forwarding record, and transmitting the first undetermined mode packet according to the destination address, the cross-device forwarding of the undetermined mode packet is realized, and at the same time, the undetermined mode packet can avoid consuming too much link bandwidth, which has a wide range of use scenarios.

[0047] Figure 2 The flowchart of another packet transmission method provided by the embodiments of the present application is shown in FIG. 6. As shown in FIG. 6, the method includes but is not limited to the following steps: Figure 2

[0048] S201, receiving a real-time packet and judging whether the real-time packet is an undetermined mode packet.

[0049] It should be noted that in a feasible embodiment, the received real-time packet is identified by protocol to obtain the protocol field of the real-time packet. Specifically, the real-time packet is identified by protocol based on the physical layer parameters and data link layer parameters of the real-time packet to obtain the protocol field of the real-time packet.

[0050] The protocol field is used to judge whether the real-time packet is the undetermined mode packet. Specifically, the modal type table corresponding to the real-time packet is queried according to the protocol field; if the protocol field is hit by a mode in the modal type table, it is determined that the real-time packet is a known mode packet, and the known mode packet is processed according to the known packet processing flow. Further, the known mode packet is transmitted based on the destination address corresponding to the real-time packet; if the protocol field is not hit by a mode in the modal type table, it is determined that the real-time packet is the undetermined mode packet, and the undetermined mode packet is processed according to the undetermined mode packet processing flow.

[0051] ​For a more detailed description of step S201, please refer to the relevant content in the above embodiments, which will not be repeated here.

[0052] S202, in response to the real-time message being an undefined modal message, determine whether to discard the undefined modal message.

[0053] It should be noted that, in one feasible embodiment, in response to the real-time message being an undefined modal message, a configuration table for filtering the undefined modal message is obtained; based on the configuration table, it is determined whether to discard the undefined modal message. Specifically, the modality code and source interface of the undefined modal message are obtained; if the modality code and source interface of the undefined modal message are not matched by the configuration table, the undefined modal message is discarded; if the modality code and source interface of the undefined modal message are matched by the configuration table, it is determined that the undefined modal message has not been discarded.

[0054] For a further detailed description of step S202, please refer to the relevant content in the above embodiments, which will not be repeated here.

[0055] S203, in response to the fact that no discard operation was performed on the undetermined modality message, determine whether the undetermined modality message is a first undetermined modality message with forwarding records.

[0056] It should be noted that, in one feasible embodiment, in response to the operation that the undefined mode packet is not dropped, the forwarding record tag of the undefined mode packet is obtained based on the undefined mode cache table corresponding to the undefined mode packet. As an example, such as... Figure 2 As shown, the destination interface typically routes based on the current device's destination address and ingress interface. In this embodiment, the destination interface can be represented as the destination address. If the current device forwards an undefined mode packet, but the destination interface does not receive the undefined mode packet, the undefined mode cache table marks the above state as the first state. If the current device forwards an undefined mode packet, and the destination interface receives the undefined mode packet (i.e., there is a forwarding record for the undefined mode packet in the undefined mode cache table), meaning that the undefined mode packet is transmitted between the current device and the destination interface, then the undefined mode cache table marks the above state as the second state. Based on the second state, the undefined mode packet is the first undefined mode packet. If the destination interface receives an undefined mode packet—specifically, the first undefined mode packet—but the destination interface does not receive any more undefined mode packets from the current device, and therefore there is no forwarding record for the undefined mode packet in the undefined mode cache table, the undefined mode cache table can be updated to the first state.

[0057] For a further detailed description of step S203, please refer to the relevant content in the above embodiments, which will not be repeated here.

[0058] S204, in response to the unconfirmed mode message being the first unconfirmed mode message, determining a destination address corresponding to the first unconfirmed mode message, and sending the first unconfirmed mode message according to the destination address.

[0059] For a detailed description of step S204, please refer to the description of the related content in the above embodiments, which will not be repeated here.

[0060] In summary, by judging whether the unconfirmed mode message is the first unconfirmed mode message with a forwarding record, and sending the first unconfirmed mode message according to the destination address, the cross-device forwarding of the unconfirmed mode message is realized, and at the same time, the unconfirmed mode message can avoid consuming too much link bandwidth, which has a wide range of use scenarios.

[0061] Figure 5 A structural schematic diagram of a message sending device provided by an embodiment of the present application is shown in FIG. 5. Figure 5 As shown in the figure, the message sending device 500 comprises:

[0062] An obtaining module 501, configured to obtain an unconfirmed mode message, and judge whether to perform a discard operation on the unconfirmed mode message.

[0063] A judging module 502, configured to, in response to not performing the discard operation on the unconfirmed mode message, judge whether the unconfirmed mode message is a first unconfirmed mode message with a forwarding record.

[0064] A sending module 503, configured to, in response to the unconfirmed mode message being the first unconfirmed mode message, determine a destination address corresponding to the first unconfirmed mode message, and send the first unconfirmed mode message according to the destination address.

[0065] Figure 6 An electronic device according to an example embodiment is shown in FIG. 6. Figure 6 The electronic device shown in the figure is only an example, and should not bring any limitation to the function and use range of the embodiments of the present application.

[0066] As shown in the figure, the electronic device 600 comprises: Figure 6As shown, the electronic device 600 includes a processor 601, which can perform various appropriate actions and processes according to programs stored in a read only memory (ROM) 602 or loaded into a random access memory (RAM) 603 from a memory 606. Various programs and data required for the operation of the electronic device 600 are also stored in the RAM 603. The processor 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0067] Connected to the I / O interface 605 are a storage 606 including a hard disk or the like, and a communication section 607 including a network interface card such as a LAN (Local Area Network) card, a modem, or the like, which performs communication processing via a network such as the Internet; and a drive 608 is also connected to the I / O interface 605 as necessary.

[0068] In particular, according to the embodiments of the present application, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, the embodiments of the present application include a computer program carrying on a computer readable medium, which contains program codes for executing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network by the communication section 607. When the computer program is executed by the processor 601, the above-described functions defined in the methods of the present application are performed.

[0069] In the exemplary embodiments, a storage medium including instructions, such as a memory including instructions, is also provided, which can be executed by the processor 601 of the electronic device 600 to complete the above-described methods. Alternatively, the storage medium can be a non-transitory computer readable storage medium, such as a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, and the like.

[0070] In this application, computer readable storage medium can be any tangible medium that can contain, or store computer readable program codes. In this application, computer readable signal medium can include data signals in baseband or in a carrier wave, transmittable through program code in a modulated data signal carrier, such as a carrier wave, or other transfer medium. Computer readable program codes can be transmitted through any suitable medium, including but not limited to wireless, wireline, optical cable, RF, etc., or any suitable combination of these.

[0071] Figure 7 is a structural block diagram of another electronic device according to an exemplary embodiment. Figure 7 The electronic device shown is only an example, and should not bring any limitation to the function and use range of the embodiments of the present application. As shown in Figure 7 The electronic device 700 includes a processor 701 and a memory 702. The memory 702 is configured to store program codes, and the processor 701 is connected with the memory 702 and configured to read the program codes from the memory 702 to implement the packet sending method in the above embodiments.

[0072] Optionally, the number of the processors 701 can be one or more.

[0073] Optionally, the electronic device can further include an interface 703, and the number of the interface 703 can be multiple. The interface 703 can be connected with an application program, and can receive data of an external device such as a sensor, etc.

[0074] Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. It is intended that the present application cover any and all variations of the application that come within the scope of the claims and their equivalents. It is intended that the specification and examples be considered exemplary only, with the true scope and spirit of the application being indicated by the following claims.

[0075] It should be understood that the present application is not limited to the precise construction that has been described above and illustrated in the accompanying drawings, and that various modifications and changes can be made by those skilled in the art without departing from the scope of the present application. The scope of the present application is limited only by the appended claims.

Claims

1. A message sending method characterized by, The method comprises the following steps: protocol identification is performed on the received real-time message to obtain a protocol field of the real-time message; it is judged whether the real-time message is the indefinite mode message based on the protocol field; a configuration table used for screening the indefinite mode message is obtained in response to the real-time message being the indefinite mode message; a mode code and a source interface of the indefinite mode message are obtained; if the mode code and the source interface of the indefinite mode message are not hit by the configuration table, the indefinite mode message is discarded; if the mode code and the source interface of the indefinite mode message are hit by the configuration table, it is determined that the indefinite mode message is not discarded; in response to not performing the discarding operation on the indefinite mode message, a forwarding record mark of the indefinite mode message is obtained based on an indefinite mode cache table corresponding to the indefinite mode message; if the forwarding record mark is valid, it is determined that the indefinite mode message is the first indefinite mode message; if the forwarding record is not valid, the discarding operation is performed on the indefinite mode message; in response to the indefinite mode message being the first indefinite mode message, a destination address corresponding to the first indefinite mode message is determined, and a sending operation is performed on the first indefinite mode message according to the destination address.

2. The method of claim 1, wherein, The protocol identification is performed on the received real-time message to obtain the protocol field of the real-time message, which comprises the following steps: protocol identification is performed on the real-time message based on a physical layer parameter and a data link layer parameter of the real-time message to obtain the protocol field of the real-time message.

3. The method of claim 1, wherein, The indefinite mode message is judged based on the protocol field, which comprises the following steps: a mode type table corresponding to the real-time message is queried according to the protocol field; if the protocol field is hit by a mode in the mode type table, it is determined that the real-time message is a known mode message; if the protocol field is not hit by a mode in the mode type table, it is determined that the real-time message is the indefinite mode message.

4. The method of claim 3, wherein, After it is determined that the real-time message is the known mode message, the following step is further included: a sending operation is performed on the known mode message based on a destination address corresponding to the real-time message.

5. A packet transmitting apparatus characterized by comprising: The method comprises the following steps: a protocol field of a real-time message is obtained by performing protocol identification on the received real-time message; it is judged whether the real-time message is the indefinite mode message based on the protocol field; a configuration table used for screening the indefinite mode message is obtained in response to the real-time message being the indefinite mode message; a mode code and a source interface of the indefinite mode message are obtained; if the mode code and the source interface of the indefinite mode message are not hit by the configuration table, the indefinite mode message is discarded; if the mode code and the source interface of the indefinite mode message are hit by the configuration table, it is determined that the indefinite mode message is not discarded; a judgment module obtains a forwarding record mark of the indefinite mode message based on an indefinite mode cache table corresponding to the indefinite mode message in response to not performing the discarding operation on the indefinite mode message. If the forwarding record mark is effective, the undetermined mode message is determined as the first undetermined mode message; if the forwarding record is not effective, the undetermined mode message is discarded; The sending module determines a destination address corresponding to the first undetermined mode message in response to the undetermined mode message being the first undetermined mode message, and sends the first undetermined mode message according to the destination address.

6. An electronic device, comprising: Comprise: A processor; A memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method of any one of claims 1-4.

7. A non-transitory computer-readable storage medium, comprising: When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can perform the method of any one of claims 1-4.

Citation Information

Patent Citations

  • Message processing method and electronic device supporting the same

    CN106031296A

  • Message transmission method, device, storage medium and system

    CN113259497A