CN117793173A - Terminal awakening processing method, device, equipment and storage medium - Google Patents

Terminal awakening processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN117793173A
CN117793173A CN202410014127.2A CN202410014127A CN117793173A CN 117793173 A CN117793173 A CN 117793173A CN 202410014127 A CN202410014127 A CN 202410014127A CN 117793173 A CN117793173 A CN 117793173A
Authority
CN
China
Prior art keywords
terminal
wake
awakened
module
index
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410014127.2A
Other languages
Chinese (zh)
Inventor
黄鸿儒
刘扬
平军磊
古浩声
张楚乙
龙嘉杰
文涛
孙元涛
刘凡栋
贺晓博
钟志刚
程立勋
李元
尼松涛
张小勇
高功应
马田丰
王志会
林朝辉
陈丹
肖羽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
China Information Technology Designing and Consulting Institute Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
China Information Technology Designing and Consulting Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd, China Information Technology Designing and Consulting Institute Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202410014127.2A priority Critical patent/CN117793173A/en
Publication of CN117793173A publication Critical patent/CN117793173A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a terminal awakening processing method, device, equipment and storage medium. The method comprises the following steps: the TM module acquires preconfigured wake-up configuration information, wherein the wake-up configuration information comprises an index of a terminal to be woken up and a wake-up period of the terminal to be woken up; the TM module starts a timer corresponding to the index of the terminal to be awakened, generates a ICMP echo request message when the timer reaches the awakening period of the terminal to be awakened, and sends the ICMP echo request message to the terminal to be awakened corresponding to the index of the terminal to be awakened through a GTPU tunnel corresponding to the index of the terminal to be awakened; and when the TM module receives the ICMP echo reply message sent by the terminal to be awakened, determining that the TM module is in a connection state with the terminal to be awakened. The method reduces the wake-up time length of the terminal and the waste of resources, and avoids affecting other terminals.

Description

Terminal awakening processing method, device, equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for processing terminal wakeup.
Background
According to the existing third generation partnership project (3 rd Generation Partnership Project; abbreviated as 3 GPP) protocol, when a terminal has no traffic flow for a maximum IDLE interval, the core network deletes its radio connection and sets the session state to an IDLE state (i.e., IDLE). When the terminal needs to send or receive a service message, the core network will reestablish the wireless connection and set the session state to the CONNECTED state (i.e., CONNECTED). When a large number of low-flow terminals exist in the private network of the enterprise, the core network can continuously delete and reestablish the connection for the terminals, so that a signaling storm of the core network is caused, and the stability of the core network is affected.
In the prior art, in order to avoid that a low-traffic terminal is deleted because there is no traffic flow in the maximum idle interval, a method for adjusting the maximum idle interval of the core network is needed to be generated, that is, by adjusting the length of the maximum idle interval of the core network, although the disconnected terminal needs to be reconnected to a certain extent, the adjustment manner also enables the terminal which does not need to perform subsequent traffic to be continuously connected to the core network, thereby causing resource waste.
Disclosure of Invention
The application provides a terminal awakening processing method, device, equipment and storage medium, which are used for solving the technical problem that other terminals cannot be affected when a terminal is awakened quickly and a specific terminal is awakened.
In a first aspect, the present application provides a method for processing terminal wake-up, including:
the TM module acquires preconfigured wake-up configuration information, wherein the wake-up configuration information comprises an index of a terminal to be woken up and a wake-up period of the terminal to be woken up;
the TM module starts a timer corresponding to the index of the terminal to be awakened, generates a ICMP echo request message when the timer reaches the awakening period of the terminal to be awakened, and sends the ICMP echo request message to the terminal to be awakened corresponding to the index of the terminal to be awakened through a GTPU tunnel corresponding to the index of the terminal to be awakened;
and when the TM module receives the ICMP echo reply message sent by the terminal to be awakened, determining that the TM module is in a connection state with the terminal to be awakened.
Optionally, the method as above, the UPF network element further includes an OAM module, and the method further includes:
the OAM module generates a notification message when receiving the preconfigured wake-up configuration information, and sends the notification message to the TM module through an internal message interface;
the TM module obtains preconfigured wake-up configuration information, including: and the TM module acquires the preconfigured wake-up configuration information from the OAM module according to the notification message.
Optionally, the method as above further comprises:
the OAM module generates a change notification when detecting that the preconfigured wake-up configuration information is changed, and sends the change notification to the TM module through an internal message interface;
after receiving the change notification, the TM module inquires the OAM module to acquire the changed wake-up configuration information and determines whether a timer corresponding to the index of the wake-up terminal to be changed in the changed wake-up configuration information is running or not;
and when the TM module determines that the timer corresponding to the index of the wake-up terminal to be changed is running, deleting the timer, starting a new timer for the index of the wake-up terminal to be changed according to the wake-up period to be changed in the wake-up configuration information after being changed, and generating a new ICMP echo request message, so that the new timer circularly sends a new ICMP echo request message based on the wake-up period to be changed in the wake-up configuration information after being changed.
Optionally, the method as above further comprises:
the TM module inserts a timestamp in the ICMP echo request message;
transmitting a ICMP echo request message to the terminal to be awakened corresponding to the index of the terminal to be awakened through a GTPU tunnel corresponding to the index of the terminal to be awakened, wherein the method comprises the following steps: and transmitting the ICMP echo request message with the inserted time stamp to the terminal to be awakened through a GTPU tunnel corresponding to the index of the terminal to be awakened.
Optionally, the method as above further comprises:
the TM module obtains a time stamp in the ICMP echo reply message, and compares the time stamp with the current time corresponding to the time when the ICMP echo reply message is received, so as to obtain the average time delay of the terminal to be awakened, wherein the time stamp in the ICMP echo reply message is consistent with the time stamp inserted in the ICMP echo request message.
Optionally, the method as above further comprises:
the TM module switches the terminal in the state to be changed from the connection state to the idle state when monitoring that the terminal in the state to be changed meets the preset maximum idle interval; the terminal to be changed is a terminal which is in a connection state, is not configured with pre-configured wake-up configuration information and does not have service data interaction.
Optionally, the method as above, the index of the terminal to be waken includes one or a combination of the following: IP address, SEID and MSISDN number.
In a second aspect, the present application provides a processing apparatus for waking up a terminal, including: TM module, then TM module includes:
the device comprises an acquisition unit, a configuration processing unit and a processing unit, wherein the acquisition unit is used for acquiring pre-configured wake-up configuration information, and the wake-up configuration information comprises an index of a terminal to be waken-up and a wake-up period of the terminal to be waken-up;
the processing unit is used for starting a timer corresponding to the index of the terminal to be awakened, generating a ICMP echo request message when the timer reaches the awakening period of the terminal to be awakened, and sending the ICMP echo request message to the terminal to be awakened corresponding to the index of the terminal to be awakened through a GTPU tunnel corresponding to the index of the terminal to be awakened;
the processing unit is further used for determining that the terminal to be awakened is in a connection state when the ICMP echo reply message sent by the terminal to be awakened is received.
In a third aspect, the present application provides an electronic device, comprising: a processor, a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored in the memory to implement the methods as described herein.
In a fourth aspect, the present application provides a computer-readable storage medium having stored therein computer-executable instructions which, when executed by a processor, are adapted to carry out a method as herein described.
The application provides a terminal awakening processing method, device, equipment and storage medium. The method comprises the steps of obtaining pre-configured wake-up configuration information through a TM module, starting a timer corresponding to an index of a terminal to be waken in the pre-configured wake-up configuration information, generating a ICMP echo request message when the timer reaches a wake-up period of the terminal to be waken, and sending the ICMP echo request message to the terminal to be waken corresponding to the index of the terminal to be waken through a GTPU tunnel corresponding to the index of the terminal to be waken; and when receiving an ICMP echo reply message sent by the terminal to be awakened, determining that the terminal to be awakened is in a connection state. Compared with the prior art that whether all terminals keep a connection state or not to cause resource waste is judged based on the maximum idle interval of the core network, the method and the device have the advantages that corresponding wake-up configuration information is arranged for terminals with different service requirements, particularly for terminals with the connection state to be kept, and based on the wake-up configuration information, when a wake-up period of the terminal to be waken is reached, a corresponding timer is started to send and receive messages, so that the corresponding terminal is waken up rapidly, connection disconnection can be realized for the terminals with different service requirements on the basis of no adjustment of the maximum idle interval of the core network, or the situation of reconnection is avoided, and the problem of network resource waste is solved effectively.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic architecture diagram of a UPF network element on which a terminal wake-up processing method is based;
fig. 2 is a flow chart of a terminal wake-up processing method provided in an embodiment of the present application;
fig. 3 is a flow chart of a terminal wake-up processing method provided in an embodiment of the present application;
fig. 4 is a flow chart of a terminal wake-up processing method provided in an embodiment of the present application;
fig. 5 is a flow chart of a processing method for terminal wake-up provided in an embodiment of the present application;
fig. 6 is a flow chart of another method for processing terminal wake-up according to an embodiment of the present application;
fig. 7 is a schematic diagram of a network element performing terminal wake-up in the terminal wake-up processing method provided in the embodiment of the present application;
fig. 8 is a schematic structural diagram of a terminal wake-up processing device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Specific embodiments thereof have been shown by way of example in the drawings and will herein be described in more detail. These drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
In the prior art, a method for adjusting the maximum idle interval of a core network needs to be generated because a terminal with low traffic is deleted because no service flow exists in the maximum idle interval, namely, the maximum idle interval of the core network is adjusted to be longer, so that the phenomenon that the disconnected terminal needs to be reconnected by the core network, and the terminal which does not need to perform subsequent services continues to be connected to the core network is avoided, thereby causing resource waste.
In order to solve the above problems, the inventive concept of the present application is: how to realize connection and deletion with a core network based on terminals with different service demands so as to effectively solve the problem that terminals with service demands in the prior art can be guaranteed to be reconnected after being disconnected, and terminals without service demands can be disconnected in time so as to effectively avoid waste of network resources.
The following describes the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 1 is a schematic architecture diagram of a UPF network element based on which a terminal wake-up processing method provided in the present application is provided, where, as shown in fig. 1, the UPF network element mainly includes: TM module 11, OAM module 12, CM module 13, redis module 14. The TM module 11 mainly includes: a report module 110, a session data module 111, a flow module 112, and a forwarding (fwd) module 113. The OAM module 12 mainly includes: a high availability control (HActrl) module 120, a scada (Supervisory Control and Data Acquisition, data acquisition and monitoring control) module 121, a global system services access (sysmgr) module 123, an alarm (alarm) module 124, a log (log) module 125, a configuration (conf) module 126, a gateway (api-gw) module 127; the CM module 13 includes an interface (N4/N4 u) module 130, a high availability cluster (HA) module 131, a node session (node session) module 132, and a packet switched control protocol parser (pfcp parser) module 133.
The TM (Transmission Mode ) module 11 is responsible for managing and controlling data flows in the network to achieve efficient utilization of network resources and guarantee of QoS (Quality of Service ); the OAM (Open Application Model ) module 12 is responsible for implementing configuration management, service registration, system status monitoring, and interface display of signaling and statistics information, and the OAM module 12 supports a binding relationship between the configuration S-nsai/DNN and each subinterface, and supports detailed configuration of the DNN when static configuration is started; the CM module 13 is responsible for performing PFCP signaling interaction with the SMF through an N4 interface, realizing functions of node management, session management and the like, and releasing session information to a redis (non-relational database) module; the redis module is responsible for providing a publish and subscribe channel for session information and statistics.
Fig. 2 is a flow chart of a terminal wake-up processing method according to an embodiment of the present application. As shown in fig. 2, the method may include:
s201, the TM module acquires preconfigured wake-up configuration information, wherein the wake-up configuration information comprises an index of a terminal to be waken up and a wake-up period of the terminal to be waken up.
In this embodiment, the index of the terminal to be awakened may refer to an identifier identifying a different terminal, and the awakening period of the terminal to be awakened may refer to an interval of awakening different terminals, and the terminal is awakened by the awakening configuration information corresponding to the terminal to be awakened, so that the terminal is kept in a connected state.
In addition, optionally, the index of the terminal to be awakened includes one or several of the following: IP address, SEID and MSISDN number.
In this embodiment, an IP Address (IP Address) may refer to an identifier logically allocated to a terminal; the secure environment identifier (Security environment identifier; SEID for short) may refer to a serial number of a terminal near field communication (Near Field Communication; NFC for short) module; the mobile station integrated services digital network (Mobile Station Integrated Services Digital Network; abbreviated MSISDN) number may refer to the unique identification number of the terminal; wherein the IP address, the SEID and the MSISDN number are all unique and can be used to identify a given terminal.
S202, starting a timer corresponding to an index of a terminal to be awakened by the TM module, generating a ICMP echo request message when the timer reaches an awakening period of the terminal to be awakened, and sending the ICMP echo request message to the terminal to be awakened corresponding to the index of the terminal to be awakened through a GTPU tunnel corresponding to the index of the terminal to be awakened.
In this embodiment, the network control message (Internet Control Message Protocol; abbreviated as ICMP) protocol may refer to a protocol for error reporting and diagnosis over an IP network, and the ICMP echo request message is one of the ICMP protocols for requesting a response from a terminal. The GTPU (GPRS Tunneling Protocol-User Plane; abbreviated as GPRS tunneling protocol) is a protocol for transmitting data in a mobile communication network, and the GTPU tunnel may refer to a tunnel for transmitting data established in the mobile communication network through the GTPU protocol, for transmitting data between different nodes of a core network, while ensuring security and reliability of the data.
S203, when the TM module receives the ICMP echo reply message sent by the terminal to be awakened, the TM module determines that the terminal to be awakened is in a connection state.
In this embodiment, the ICMP echo reply message may refer to a response message corresponding to the ICMP echo request message, which is replied by the terminal, and indicates that the terminal has received the ICMP echo request message and will respond, where the ICMP echo reply message contains the same data as the ICMP echo request message request. The terminal state comprises a CONNECTED state and an IDLE state, when the terminal is in the CONNECTED state, the terminal is indicated to be successfully CONNECTED and can perform normal communication and interaction, and when the terminal is in the IDLE state, the terminal is indicated to be in an IDLE state and has no activity or interaction.
In this embodiment, preconfigured wake-up configuration information is obtained through a TM module, a timer corresponding to an index of a terminal to be waken in the preconfigured wake-up configuration information is started, a ICMP echo request message is generated when the timer reaches a wake-up period of the terminal to be waken, and the ICMP echo request message is sent to the terminal to be waken corresponding to the index of the terminal to be waken through a GTPU tunnel corresponding to the index of the terminal to be waken; and when receiving an ICMP echo reply message sent by the terminal to be awakened, determining that the terminal to be awakened is in a connection state. Compared with the prior art that whether all terminals keep a connection state or not to cause resource waste is judged based on the maximum idle interval of the core network, the method and the device have the advantages that corresponding wake-up configuration information is arranged for terminals with different service requirements, particularly for terminals with the connection state to be kept, and based on the wake-up configuration information, when a wake-up period of the terminal to be waken is reached, a corresponding timer is started to send and receive messages, so that the corresponding terminal is waken up rapidly, connection disconnection can be realized for the terminals with different service requirements on the basis of no adjustment of the maximum idle interval of the core network, or the situation of reconnection is avoided, and the problem of network resource waste is solved effectively.
Fig. 3 is a flow chart of a terminal wake-up processing method provided in the second embodiment of the present application. On the basis of the foregoing embodiment, if the UPF network element further includes an OAM module, as shown in fig. 3, the method further includes:
s301, when the OAM module receives the preconfigured wake-up configuration information, a notification message is generated, and the notification message is sent to the TM module through an internal message interface.
In this embodiment, the internal message interface may refer to a management interface protocol, including: network configuration protocol, simple network management protocol (Simple Network Management Protocol, SNMP for short), RESTful API (HTTP-based web application programming interface).
One specific implementation manner of the TM module in step S201 to obtain the preconfigured wake-up configuration information is:
s302, the TM module acquires the preconfigured wake-up configuration information from the OAM module according to the notification message.
In this embodiment, the OAM module stores and manages the preconfigured wakeup configuration information, and when the preconfigured wakeup configuration information changes, generates a notification message and sends the notification message to the TM module, and after the TM module receives the notification message, acquires the corresponding preconfigured wakeup configuration information. The TM module and the OAM module are separated clearly, so that the management efficiency of the pre-configured wake-up configuration information is improved.
Fig. 4 is a flow chart of a terminal wake-up processing method provided in the third embodiment of the present application. On the basis of the above embodiments, as shown in fig. 4, the method further includes:
s401, when the OAM module detects that the preconfigured wake-up configuration information is changed, a change notification is generated, and the change notification is sent to the TM module through an internal message interface.
In this embodiment, the change of the preconfigured wake-up configuration information includes adding the preconfigured wake-up configuration information or modifying the preconfigured wake-up configuration information, where the modifying the preconfigured wake-up configuration information includes changing an index of the terminal to be woken up and/or changing a wake-up period of the terminal to be woken up.
S402, after receiving the change notification, the TM module inquires the OAM module to acquire the changed wake-up configuration information, and determines whether a timer corresponding to the index of the wake-up terminal to be changed in the changed wake-up configuration information is running.
In this embodiment, for example, if the preconfigured wake-up configuration information is changed to modify the wake-up period of the to-be-awakened terminal in the preconfigured wake-up configuration information, a timer corresponding to the index of the to-be-changed wake-up terminal in the changed wake-up configuration information is running.
S403, when determining that the timer corresponding to the index of the wake-up terminal to be changed is running, deleting the timer, starting a new timer for the index of the wake-up terminal to be changed according to the wake-up period to be changed in the wake-up configuration information after being changed, and generating a new ICMP echo request message, so that the new timer circularly sends a new ICMP echo request message based on the wake-up period to be changed in the wake-up configuration information after being changed.
In this embodiment, for example, the wake-up terminal to be changed is a terminal a, and there is a running timer a in the terminal a, if the wake-up period of the terminal a is changed from 6S to 5S, the timer a is deleted, a new timer B is created according to the changed wake-up period 5S, and a new ICMP echo request message is generated, and the timer B sends a new ICMP echo request message according to the wake-up period of 5S.
In this embodiment, if the preconfigured wake-up configuration information is changed, a message is sent and received according to the changed preconfigured wake-up configuration information, so that the designated terminal can realize connection, and the change does not affect other terminals.
Fig. 5 is a flow chart of a processing method for terminal wake-up provided in a fourth embodiment of the present application, where, based on the foregoing embodiments, as shown in fig. 5, the method further includes:
s501, the TM module inserts a time stamp in the ICMP echo request message.
In this embodiment, the timestamp inserted in the ICMP echo request message may be a time of ICMP echo request message and written into ICMP echo request message.
Accordingly, one specific implementation manner of step S202 is:
s502, starting a timer corresponding to an index of a terminal to be awakened by the TM module, generating a ICMP echo request message when the timer reaches an awakening period of the terminal to be awakened, and sending a ICMP echo request message with a time stamp inserted into the GTPU tunnel corresponding to the index of the terminal to be awakened to the terminal to be awakened.
Further, the method may include:
the TM module inserts a timestamp in the ICMP echo request message.
In this embodiment, the time stamp may refer to the total seconds from the time of greenwich mean time 1970, 01, 00 minutes, 00 seconds to the time of generating the ICMP echo request message, and the time stamp does not change with time zone.
Transmitting a ICMP echo request message to the terminal to be awakened corresponding to the index of the terminal to be awakened through a GTPU tunnel corresponding to the index of the terminal to be awakened, wherein the method comprises the following steps: and transmitting the ICMP echo request message with the inserted time stamp to the terminal to be awakened through a GTPU tunnel corresponding to the index of the terminal to be awakened. S503, a TM module obtains a time stamp in the ICMP echo reply message, and compares the time stamp with the current time corresponding to the time when the ICMP echo reply message is received, so as to obtain the average time delay of the terminal to be awakened, wherein the time stamp in the ICMP echo reply message is consistent with the time stamp inserted in the ICMP echo request message.
In this embodiment, the ICMP echo reply message may refer to a reply message corresponding to the ICMP echo request message, and part of the content in the ICMP echo reply message is from the corresponding ICMP echo request message, that is, part of the content in the ICMP echo reply message is consistent with the corresponding ICMP echo request message, for example, the timestamp in the ICMP echo reply message is the timestamp inserted in the ICMP echo request message; the average time delay of the terminal to be awakened can be obtained by comparing the time stamp with the current time corresponding to the time when the ICMP echo reply message is received, wherein the network delay degree of the terminal can be judged through the average time delay. The mean time delay is calculated as follows:
average delay= (current time-timestamp)/2
For example, if the timestamp in the ICMP echo request message is 1700730000S (i.e., 2023/11/23:00:00), the current time is 2023/11/23:17: 00:02, the average time delay is 1S.
S504, when monitoring that the terminal of which the state is to be changed meets a preset maximum idle interval, the TM module switches the terminal of which the state is to be changed from a connection state to an idle state; the terminal to be changed is a terminal which is in a connection state, is not configured with pre-configured wake-up configuration information and does not have service data interaction.
In this embodiment, for example, the maximum idle interval of the pre-configuration is 10S, if the terminal a in the connected state is not configured with the pre-configured wake-up configuration information, the connection state cannot be maintained by the ICMP echo request message and the ICMP echo reply message, and the terminal a does not have service data to interact in 10S, the session state of the terminal a is set to the idle state, so as to reduce the resource occupation required by the connection.
Fig. 6 is a flow chart of another method for processing terminal wake-up according to an embodiment of the present application, where, as shown in fig. 6, the method for processing terminal wake-up includes:
s601, an OAM module acquires preset wake-up configuration information and informs a TM module through an internal message interface; the preset wake-up configuration information comprises an index of the terminal to be waken up and a wake-up period of the terminal to be waken up.
In this embodiment, for example, the terminal 1 is a terminal to be awakened, and the index of the terminal 1 in the preset awakening configuration information is the IP address, and/or SETD, and/or MSISDN number of the terminal 1, the awakening period of the terminal 1 is 8S, and the terminal 2 does not set the awakening configuration information.
S602, the TM module receives preset awakening configuration information from the OAM module, searches the terminal according to an index of the terminal to be awakened in the preset awakening configuration information, and establishes and awakens a timer for the terminal according to an awakening period of the terminal to be awakened in the preset awakening configuration information.
In this embodiment, for example, the terminal 1 is found according to its index, and a timer with a wake-up period of 8S is established in the terminal 1, and the timer is woken up.
S603, the TM module generates a ICMP echo request message comprising a time stamp, and sends the ICMP echo request message to the terminal through a GTPU tunnel corresponding to the terminal.
In this embodiment, the timestamp included in the ICMP echo request message may be the time at which the ICMP echo request message was generated.
S604, after receiving the ICMP echo request message including the timestamp sent by the TM module, the terminal sends a corresponding ICMP echo reply message including the timestamp to the TM module.
In this embodiment, the timestamp in the ICMP echo reply message is from the received ICMP echo request message, and the timestamp in the ICMP echo reply message is consistent with the timestamp in the received ICMP echo request message.
S605, the TM module receives the corresponding ICMP echo reply message comprising the time stamp, and calculates the average time delay of the terminal according to the current time and the time stamp.
In the present embodiment, for example, the average delay of the terminal 1 is (current time-timestamp)/2.
S606, if the preset wake-up configuration information is changed, the OAM module informs the TM module through the internal message interface, and the terminal is found according to the index of the terminal to be waken in the changed preset wake-up configuration information.
In this embodiment, for example, if the wake-up period in the preset wake-up configuration information corresponding to the terminal 1 is changed from 8S to 6S, the OAM module notifies the TM module via the internal message interface, and searches for the terminal 1 according to the index of the terminal to be waken in the changed preset wake-up configuration information.
S607, if the running timer exists in the terminal, deleting the timer, establishing and waking up a new timer according to the wake-up period of the terminal to be waken up in the preset wake-up configuration information, and executing the steps of S603-S605 to enable the session state of the terminal to be a connection state.
In this embodiment, for example, if there is a running timer in the terminal 1, the timer is deleted, a timer with a wake-up period of 6S is established, and steps of sending and receiving a message are performed, so that the session state of the terminal 1 is in a connection state.
S608, if the preset wake-up configuration information corresponding to the terminal is not set, and the terminal has no service data in the maximum idle interval, the session state of the terminal is set to be an idle state.
In this embodiment, for example, if the terminal 2 does not set the preset wake-up configuration information corresponding to the terminal 2 and there is no service data in 10S, the session state of the terminal 2 is set to be the idle state.
In this embodiment, as shown in fig. 7, the network element performing terminal wake-up in the terminal wake-up processing method may further include a large network AMF (Access and Mobility Management Function ), a large network SMF (Session Management function, session management function), a large network UPF, the Internet (Internet), a campus UPF, and a customer intranet.
Fig. 8 is a schematic structural diagram of a terminal wake-up processing device according to an embodiment of the present application. As shown in fig. 8, the processing device 80 for waking up the terminal includes: TM module 801, OAM module 802. Wherein, TM module 801 includes:
the obtaining unit 8011 is configured to obtain preconfigured wake-up configuration information, where the wake-up configuration information includes an index of a terminal to be woken up and a wake-up period of the terminal to be woken up.
The processing unit 8012 is configured to start a timer corresponding to the index of the terminal to be awakened, generate a ICMP echo request message when the timer reaches an awakening period of the terminal to be awakened, and send the ICMP echo request message to the terminal to be awakened corresponding to the index of the terminal to be awakened through a GTPU tunnel corresponding to the index of the terminal to be awakened. And the method is also used for determining that the terminal to be awakened is in a connection state when the ICMP echo reply message sent by the terminal to be awakened is received.
In the embodiment of the present application, the acquiring unit 8011 may also be used for:
and obtaining a time stamp in the ICMP echo reply message, and comparing the time stamp with the current time corresponding to the time when the ICMP echo reply message is received to obtain the average time delay of the terminal to be awakened, wherein the time stamp in the ICMP echo reply message is consistent with the time stamp inserted in the ICMP echo request message.
In the embodiment of the present application, the processing unit 8012 may also be configured to:
the OAM module generates a notification message when receiving the preconfigured wake-up configuration information, and sends the notification message to the TM module through an internal message interface;
the TM module obtains preconfigured wake-up configuration information, including: and the TM module acquires the preconfigured wake-up configuration information from the OAM module according to the notification message.
In the embodiment of the present application, the processing unit 8012 may also be configured to:
the OAM module generates a change notification when detecting that the preconfigured wake-up configuration information is changed, and sends the change notification to the TM module through an internal message interface;
after receiving the change notification, the TM module inquires the OAM module to acquire the changed wake-up configuration information and determines whether a timer corresponding to the index of the wake-up terminal to be changed in the changed wake-up configuration information is running or not;
and when the TM module determines that the timer corresponding to the index of the wake-up terminal to be changed is running, deleting the timer, starting a new timer for the index of the wake-up terminal to be changed according to the wake-up period to be changed in the wake-up configuration information after being changed, and generating a new ICMP echo request message, so that the new timer circularly sends a new ICMP echo request message based on the wake-up period to be changed in the wake-up configuration information after being changed.
In the embodiment of the present application, the processing unit 8012 may also be configured to:
the TM module inserts a timestamp in the ICMP echo request message;
transmitting a ICMP echo request message to the terminal to be awakened corresponding to the index of the terminal to be awakened through a GTPU tunnel corresponding to the index of the terminal to be awakened, wherein the method comprises the following steps:
and transmitting the ICMP echo request message with the inserted time stamp to the terminal to be awakened through a GTPU tunnel corresponding to the index of the terminal to be awakened.
In the embodiment of the present application, the processing unit 8012 may also be configured to:
the TM module switches the terminal in the state to be changed from the connection state to the idle state when monitoring that the terminal in the state to be changed meets the preset maximum idle interval; the terminal to be changed is a terminal which is in a connection state, is not configured with pre-configured wake-up configuration information and does not have service data interaction.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 9, the electronic device 90 includes:
the electronic device 90 may include one or more processing cores 'processors 901, one or more computer-readable storage media's memory 902, communication components 903, and the like. The processor 901, the memory 902, and the communication unit 903 are connected via a bus 904.
In a specific implementation, at least one processor 901 executes computer-executable instructions stored in a memory 902, so that the at least one processor 901 performs a processing method for terminal wakeup as described above.
The specific implementation process of the processor 901 may refer to the above-mentioned method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In the embodiment shown in fig. 9, it should be understood that the processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: digital Signal Processor, abbreviated as DSP), application specific integrated circuits (english: application Specific Integrated Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The Memory may comprise high-speed Memory (Random Access Memory, RAM) or may further comprise Non-volatile Memory (NVM), such as at least one disk Memory.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or one type of bus.
In some embodiments, a computer program product is also proposed, comprising a computer program or instructions which, when executed by a processor, implement the steps in a method of processing a wake-up of any of the above terminals.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the present application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. The terminal awakening processing method is characterized by being applied to a UPF network element, wherein the UPF network element comprises the following steps: TM module, the method comprises:
the TM module acquires pre-configured wake-up configuration information, wherein the wake-up configuration information comprises an index of a terminal to be waken up and a wake-up period of the terminal to be waken up;
the TM module starts a timer corresponding to the index of the terminal to be awakened, generates a ICMP echo request message when the timer reaches the awakening period of the terminal to be awakened, and sends the ICMP echo request message to the terminal to be awakened corresponding to the index of the terminal to be awakened through a GTPU tunnel corresponding to the index of the terminal to be awakened;
and when the TM module receives the ICMP echo reply message sent by the terminal to be awakened, determining that the TM module is in a connection state with the terminal to be awakened.
2. The method of claim 1, wherein the UPF network element further comprises an OAM module, and wherein the method further comprises:
the OAM module generates a notification message when receiving the preconfigured wake-up configuration information, and sends the notification message to the TM module through an internal message interface;
the TM module obtains the preconfigured wake-up configuration information, including:
and the TM module acquires the preconfigured wake-up configuration information from the OAM module according to the notification message.
3. The method as recited in claim 2, further comprising:
the OAM module generates a change notification when detecting that the preconfigured wake-up configuration information is changed, and sends the change notification to the TM module through the internal message interface;
after receiving the change notification, the TM module inquires the OAM module to acquire changed wake-up configuration information, and determines whether a timer corresponding to an index of a wake-up terminal to be changed in the changed wake-up configuration information is running or not;
and when determining that the timer corresponding to the index of the wake-up terminal to be changed is running, deleting the timer, starting a new timer for the index of the wake-up terminal to be changed according to the wake-up period to be changed in the wake-up configuration information after being changed, and generating a new ICMP echo request message, so that the new timer circularly transmits the new ICMP echo request message based on the wake-up period to be changed in the wake-up configuration information after being changed.
4. A method according to any one of claims 1 to 3, further comprising:
the TM module inserts a timestamp in the ICMP echo request message;
the transmitting the ICMP echo request message to the terminal to be awakened corresponding to the index of the terminal to be awakened through the GTPU tunnel corresponding to the index of the terminal to be awakened, including:
and transmitting the ICMP echo request message with the inserted time stamp to the terminal to be awakened through a GTPU tunnel corresponding to the index of the terminal to be awakened.
5. The method as recited in claim 4, further comprising:
the TM module obtains a time stamp in the ICMP echo reply message, and compares the time stamp with the current time corresponding to the time when the ICMP echo reply message is received, so as to obtain the average time delay of the terminal to be awakened, wherein the time stamp in the ICMP echo reply message is consistent with the time stamp inserted in the ICMP echo request message.
6. The method as recited in claim 5, further comprising:
the TM module switches the terminal to be changed from a connection state to an idle state when monitoring that the terminal to be changed meets a preset maximum idle interval; the terminal to be changed is a terminal which is in a connected state, is not configured with pre-configured wake-up configuration information and does not have service data interaction.
7. The method of claim 1, wherein the index of the terminal to be awakened comprises one or a combination of the following: IP address, SEID and MSISDN number.
8. A processing apparatus for terminal wakeup, comprising: TM module, then TM module includes:
the device comprises an acquisition unit, a configuration processing unit and a processing unit, wherein the acquisition unit is used for acquiring pre-configured wake-up configuration information, and the wake-up configuration information comprises an index of a terminal to be waken up and a wake-up period of the terminal to be waken up;
the processing unit is used for starting a timer corresponding to the index of the terminal to be awakened, generating a ICMP echo request message when the timer reaches the awakening period of the terminal to be awakened, and sending the ICMP echo request message to the terminal to be awakened corresponding to the index of the terminal to be awakened through a GTPU tunnel corresponding to the index of the terminal to be awakened;
the processing unit is further configured to determine that the terminal to be awakened is in a connection state when receiving the ICMP echo reply message sent by the terminal to be awakened.
9. An electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1 to 7.
10. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1 to 7.
CN202410014127.2A 2024-01-04 2024-01-04 Terminal awakening processing method, device, equipment and storage medium Pending CN117793173A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410014127.2A CN117793173A (en) 2024-01-04 2024-01-04 Terminal awakening processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410014127.2A CN117793173A (en) 2024-01-04 2024-01-04 Terminal awakening processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117793173A true CN117793173A (en) 2024-03-29

Family

ID=90398428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410014127.2A Pending CN117793173A (en) 2024-01-04 2024-01-04 Terminal awakening processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117793173A (en)

Similar Documents

Publication Publication Date Title
US11523268B2 (en) Communications method and apparatus
KR101281215B1 (en) Communicating system information in a wireless communication network
EP3952367A1 (en) Event notification method and device, and storage medium
US11070989B2 (en) Network slice management method, management unit, and system
EP2698963A1 (en) Heartbeat cycle obtaining method, terminal, and server
JP2021528897A (en) PDN connectivity network event reporting
CN114363927B (en) Management method, management unit, communication system, storage medium, and program product
KR20140052397A (en) Appartus and method for managing virtual machine in mobile communication syste
US20230156527A1 (en) Communication method and apparatus
US20220369110A1 (en) Methods and devices of detection of misbehaving ues using data analysis
CN108183849B (en) Device management method, device and system based on L2TP
WO2018233451A1 (en) Communication method, apparatus, and system
WO2020043209A1 (en) Disconnected network state reporting method and apparatus, and storage medium
WO2023279896A1 (en) Message processing method, electronic device, and storage medium
CN110337137B (en) Data packet filtering method, device and system
WO2022068771A1 (en) Communication method and communication apparatus
CN109981462B (en) Message processing method and device
EP2888914B1 (en) Integrated paging technique
CN114143904B (en) CPE management method based on 5G fusion network shunt
CN117793173A (en) Terminal awakening processing method, device, equipment and storage medium
WO2018177003A1 (en) Charging method, and related device and system
WO2009014911A2 (en) Providing network connectivity and service state information to application servers
WO2020156460A1 (en) Methods and nodes for ue-to-ue event monitoring
WO2024114356A1 (en) Information transmission method and apparatus, and related device and storage medium
WO2024055815A1 (en) Edge psa management method, and electronic device and computer-readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination