A session processing method, device, device and storage medium

A processing method and non-storage technology, applied in the network field, can solve problems such as increasing performance loss, reducing session timeout maintenance efficiency, etc., to achieve the effect of improving processing performance, improving maintenance efficiency, and saving equipment resources

Active Publication Date: 2020-09-01
JINGDONG TECH HLDG CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Because when traversing session nodes in segments, most of the 10,000 session nodes that may be traversed have not timed out, but the session nodes that have timed out can only be traversed after a long time. 600 seconds, if a session node needs 1 second to time out after the current traversal, the session node will not be traversed until the next traversal, which is 600 seconds, which greatly reduces the session timeout maintenance efficiency. increased performance loss

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A session processing method, device, device and storage medium
  • A session processing method, device, device and storage medium
  • A session processing method, device, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] figure 1 It is a flowchart of a session processing method provided by Embodiment 1 of the present invention. This embodiment is applicable to creating a session node for storing message information and storing the created session node when a message is received, so that it can be processed in a timely manner. In case of overtime maintenance. The method can be executed by a session processing device, which can be implemented by software and / or hardware, and integrated in the network device. The method specifically includes the following steps:

[0031] S110. When it is detected that the session node corresponding to the currently received message is not stored in the cache unit set, create a session node corresponding to the message, and determine the first absolute timeout time based on the current time and the relative timeout time corresponding to the session node, And store the information of the first absolute timeout time and the message in the created session no...

Embodiment 2

[0053] image 3 It is a flowchart of a session processing method provided by Embodiment 2 of the present invention. On the basis of the above-mentioned embodiments, this embodiment optimizes the storage content of session nodes, and on this basis, updates the update mode of session nodes. further optimization. The explanations of terms that are the same as or corresponding to those in the foregoing embodiments are not repeated here.

[0054] see image 3 , the session processing method provided in this embodiment specifically includes the following steps:

[0055] S210. Detect whether the session node corresponding to the currently received message is stored in the cache unit set, if not, go to S220; if yes, go to S240.

[0056] S220. Create a session node corresponding to the message, determine the first absolute time-out time and the second absolute time-out time based on the current time and the relative time-out time corresponding to the session node, and combine the firs...

Embodiment 3

[0085] Figure 5 It is a schematic structural diagram of a session processing device provided by Embodiment 3 of the present invention. This embodiment is applicable to creating a session node for storing message information and storing the created session node when a message is received, so that In the case of real-time overtime maintenance, the device may specifically include: a session node creation module 410 and a session node storage module 420 .

[0086] Wherein, the session node creation module 410 is used to create a session node corresponding to the message when it is detected that the session node corresponding to the currently received message is not stored in the cache unit set, based on the current time and the relative timeout corresponding to the session node The time determines the first absolute timeout time, and stores the information of the first absolute timeout time and the message in the created session node; the session node storage module 420 is used f...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a session processing method and device, equipment and a storage medium. The method comprises the following steps: when it is detected that a session node corresponding to a currently received message is not stored in a cache unit set, creating the session node corresponding to the message, determining a first absolute timeout time based on the current timeand a relative timeout time corresponding to the session node, and storing the first absolute timeout time and information of the message in the created session node; determining a target cache unitcorresponding to the session node according to the scheduling start time and the first absolute timeout time corresponding to the cache unit set, and storing the created session node into the target cache unit, wherein the cache unit set comprises a plurality of cache units which are sequentially arranged, and each cache unit is sequentially and circularly scheduled according to the arrangement sequence so as to carry out timeout maintenance on session nodes stored in each cache unit, thereby improving the session timeout maintenance efficiency, saving equipment resources and improving the processing performance.

Description

technical field [0001] The embodiments of the present invention relate to network technology, and in particular to a session processing method, device, device and storage medium. Background technique [0002] With the increasing popularity of the mobile Internet, the network scale continues to expand. Since most traditional network devices are delivered and deployed in the form of closed hardware, existing computer networks increasingly show the limitations of their architecture evolution in the face of rich network applications. In view of this, general-purpose hardware such as x86 and virtualization technology can be used to carry software processing of many functions, thereby reducing the cost of network equipment. For example, through software and hardware decoupling and functional abstraction, network device functions no longer depend on dedicated hardware, resources can be fully and flexibly shared, and rapid development and deployment of new services can be realized....

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08
CPCH04L67/14H04L67/143
Inventor 周天翔刘宝春何军
Owner JINGDONG TECH HLDG CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products