18-07-2023 дата публикации
Номер: CN116455953A
Принадлежит:
The invention relates to the technical field of internet protocol (IP) network communication, and particularly discloses a message triggering type session aging method, which comprises the following steps of: S1, searching hash to match a session after a message is uploaded to a firewall, and if a first packet cannot be matched, creating a new session at the moment; s2, a new session allocates session resources; s3, when a session resource exists, distributing a session table item, assigning the update time on the session as the current time, and adding the current time to the end of the linked list of the corresponding aging queue; step S4, when no session resource exists, sequentially judging whether the session pointed by the head node of the aging chain table reaches the aging time or not, and the like; according to the invention, the development and debugging difficulty is simplified, and the new establishment and aging of the session are bound together in a message triggering manner ...
Подробнее