Message forwarding method and device, storage medium and electronic equipment
A forwarding method and message technology, applied in the communication field, can solve problems such as insufficient utilization of CPU resources, inability to distribute two-way messages, increase authentication time, etc., to improve forwarding speed and processing efficiency, and ensure high-performance forwarding , Avoid the effect of read-write lock mechanism
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] The method embodiment provided by Embodiment 1 of the present invention may be executed in a gateway server (such as a NAT gateway), a router, a switch, or a similar packet forwarding device. Take running on the gateway server as an example, figure 1 It is a block diagram of the hardware structure of a gateway server in the embodiment of the present invention. Such as figure 1 As shown, the gateway server can include one or more ( figure 1Only one is shown in the figure) a processor 102 (the processor 102 may include but not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the above-mentioned gateway server also A transmission device 106 for communication functions as well as input and output devices 108 may be included. Those of ordinary skill in the art can understand that, figure 1 The shown structure is only for illustration, and it does not limit the structure of the ...
Embodiment 2
[0064] In this embodiment, a packet forwarding device is also provided, which is used to implement the above embodiments and preferred implementation modes, and what has been explained will not be repeated here. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.
[0065] Figure 7 is a structural block diagram of a message forwarding device according to an embodiment of the present invention, such as Figure 7 As shown, the device includes: a first receiving module 70, an analysis module 72, a search module 74, and a forwarding module 76, wherein,
[0066] The first receiving module 70 is configured to receive the message to be forwarded;
[0067] Parsing module 72, for parsing the data flow of messag...
Embodiment 3
[0079] The embodiment of the present application also provides an electronic device, Figure 8 is a structural diagram of an electronic device according to an embodiment of the present invention, such as Figure 8As shown, it includes a processor 81, a communication interface 82, a memory 83 and a communication bus 84, wherein the processor 81, the communication interface 82, and the memory 83 complete mutual communication through the communication bus 84, and the memory 83 is used to store computer programs; The processor 81 is used to implement the following steps when executing the program stored on the memory 83: receiving the message to be forwarded; analyzing the data flow direction of the message; Perform hash calculation to determine the processing thread of the message; if the data flow direction is the inflow direction, according to the mapping relationship between the destination port and the processing thread, determine the processing thread corresponding to the ou...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com