CN109413697B - Method and device for configuring movable timer - Google Patents

Method and device for configuring movable timer Download PDF

Info

Publication number
CN109413697B
CN109413697B CN201811201931.2A CN201811201931A CN109413697B CN 109413697 B CN109413697 B CN 109413697B CN 201811201931 A CN201811201931 A CN 201811201931A CN 109413697 B CN109413697 B CN 109413697B
Authority
CN
China
Prior art keywords
target
interval duration
frequency
statistical
occurrence
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.)
Active
Application number
CN201811201931.2A
Other languages
Chinese (zh)
Other versions
CN109413697A (en
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
Original Assignee
China United Network Communications Group 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 filed Critical China United Network Communications Group Co Ltd
Priority to CN201811201931.2A priority Critical patent/CN109413697B/en
Publication of CN109413697A publication Critical patent/CN109413697A/en
Application granted granted Critical
Publication of CN109413697B publication Critical patent/CN109413697B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0287Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level changing the clock frequency of a controller in the equipment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a method and a device for configuring an active timer, relates to the field of wireless communication, and can improve the utilization rate of network resources. The method comprises the following steps: acquiring historical service data of a user terminal; calculating the value of a target activity timer according to a first preset formula according to historical service data; generating an APN template according to historical service data and the value of a target activity timer; acquiring all service data used by a user terminal in a current preset time period; calculating the occurrence frequency and the sending interval duration of statistics according to all service data used by the user terminal in the current preset time period; calculating the value of the statistical activity timer according to a second preset formula according to the statistical occurrence frequency and the statistical sending interval duration; and determining a target APN template which needs to be imported into a core network element EPC corresponding to the user terminal according to the difference value between the value of the statistical activity timer and the value of the target activity timer.

Description

Method and device for configuring movable timer
Technical Field
The present invention relates to the field of wireless communications, and in particular, to a method and an apparatus for configuring an active timer.
Background
At present, in order to further reduce the energy consumption of the terminal, technical personnel in the communication field invent an NB-Iot (Narrow Band Internet of Things), which is an Internet of Things mode that can reduce the energy consumption of a user equipment ue (user equipment); specifically, when the NB-Iot is used, the UE mainly uses Power Saving technologies such as eDRX (enhanced Discontinuous Transmission) and PSM (Power Saving Mode) to reduce the energy consumption of the UE and prolong the standby time of the UE. Regarding the PSM mechanism, the UE and the MME (mobility Management Entity, mobility Management node function) negotiate an active timer through NAS message, the timer is started after the UE changes to an idle state, and after the active timer is overtime, the MME determines that the UE enters the PSM, and rejects downlink service and paging; on the UE side, after the timer times out, the UE turns off the Access Stratum (AS) function (such AS cell selection) to save power, so that the UE and the network information about the UE entering the power saving mode are synchronized. After the ue enters PSM, the PSM will exit only when the ue needs to send mo (mobile origin) data or the TAU (Tracking Area Update) cycle time is up to the TA (Tracking Area) that needs to be updated.
The initial configuration of an active timer in the existing network is based on the parameter configuration of the APN of the network, and an APN template is called according to the APN requested by the terminal or the signed APN allocated to the terminal by the network, so as to allocate a fixed value of the T3324 timer to the terminal. However, when the terminal behavior changes, if the active timer parameter configuration of the original APN template is still maintained, the active timer timing and the uplink service transmission time are contradictory, and when the active timer is unreasonably set, the PSM setting time is short, which causes the terminal to quickly enter the PSM state and the terminal which just enters the PSM state, at this time, if uplink data transmission is needed, i.e. MO data is performed, uplink MO data transmission needs to be performed again from the idle state, and a series of signaling flows need to be performed; therefore, in this case, although power saving can be achieved when the terminal enters the PSM state, network signaling overhead and network resource load are caused by mismatching of the active timer and the service.
Disclosure of Invention
Embodiments of the present invention provide a method for configuring an active timer, which can reduce signaling overhead of a terminal in a power saving mechanism and improve network resource utilization.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, a method for configuring an active timer is provided, including:
acquiring historical service data of a user terminal; the historical traffic data includes at least: the method comprises the steps that a user terminal uses first generation frequencies of all first services and first transmission interval duration of data packets of all the first services before the current time;
calculating the value of a target activity timer according to a first preset formula according to the target frequency and the target interval duration; the target frequency is any one of all the first generation frequencies, and the target interval duration is any one of all the first transmission interval durations of the data packets;
generating an access point APN template according to the target frequency, the target interval duration and the value of the target activity timer;
acquiring second generation frequency of all second services used by the user terminal and second sending interval duration of data packets of all the second services in a current preset time period;
calculating and counting the occurrence frequency according to all the second occurrence frequencies and all the first occurrence frequencies;
calculating and counting the sending interval duration according to the second sending interval duration of all the data packets and the first sending interval duration of all the data packets;
calculating the value of the statistical activity timer according to a second preset formula according to the statistical occurrence frequency and the statistical sending interval duration;
and determining a target APN template which needs to be introduced into a core network element EPC corresponding to the user terminal according to the difference value between the value of the statistical activity timer and the value of the target activity timer, and introducing the target APN template into the EPC so that the EPC configures the target activity timer corresponding to the target APN template for the user terminal.
The technical scheme provided by the embodiment comprises the steps of firstly calculating values of various different activity timers according to historical services of a user terminal, then constructing various APN templates by using the values of the various activity timers and corresponding historical service data, wherein different activity timers are set in each APN template and the values of the various activity timers are aimed at different terminal service conditions; when the behavior of the user terminal changes, namely the service data in the current preset time period changes, a statistical activity timer value capable of reflecting the current situation is obtained according to the service data in the current preset time period, then a most suitable target APN template in the current preset time period is determined according to the statistical activity timer value and the values of all activity timers calculated by historical service data, and after the target APN template is led into an EPC (evolved packet core), the EPC can set the value of a suitable activity timer for the user terminal. Therefore, the technical solution provided in the embodiment of the present invention can enable the user terminal to periodically and dynamically adjust the value of the active timer, so that the user terminal can enter the power saving mode without affecting the service usage, thereby reducing the signaling overhead caused by frequent idle state and power saving mode changes of the user terminal due to an excessively small value of the active timer, ensuring the power saving mechanism of the user terminal and the balance of network resource load, and improving the utilization rate of network resources.
Optionally, the obtaining the first sending interval duration of the data packets of all the first services includes:
acquiring all adjacent interval durations of the third service, wherein the adjacent interval durations are the sending interval durations of adjacent data packets of the third service; the third service is any one of all the first services; the adjacent data packet is generated in each occurrence process of the third service;
and determining the average value of all the adjacent interval durations as the first transmission interval duration of the data packet of the third service.
Optionally, the obtaining the second sending interval duration of the data packets of all the second services includes:
acquiring all adjacent interval durations of the fourth service, wherein the adjacent interval durations are the sending interval durations of adjacent data packets of the fourth service; the fourth service is any one of all the second services; the adjacent data packet is generated in each occurrence process of the fourth service;
and determining the average value of all the adjacent interval durations as the second transmission interval duration of the data packet of the fourth service.
Optionally, calculating the statistical occurrence frequency according to all the second occurrence frequencies and all the first occurrence frequencies includes:
determining the first generation frequency close to each second generation frequency according to all the second generation frequencies and all the first generation frequencies and a third preset formula;
determining a second generation frequency which is the same as the first generation frequency to be the same second generation frequency;
and calculating and counting the occurrence frequency according to a fourth preset formula according to the ratio of the number of each second occurrence frequency to the number of all second occurrence frequencies.
Optionally, calculating the statistical sending interval duration according to the second sending interval durations of all the data packets and the first sending interval durations of all the data packets includes:
determining the first sending interval duration of the data packets close to the second sending interval duration of each data packet according to the second sending interval duration of all the data packets and the first sending interval duration of all the data packets and a fifth preset formula;
determining a second sending interval duration of the data packets with the same first sending interval duration of the similar data packets as the first sending interval duration of the same data packets;
and calculating and counting the sending interval duration according to a sixth preset formula according to the ratio of the number of the first sending interval durations of each type of data packets to the number of the second sending interval durations of all the data packets.
Optionally, determining, according to the difference between the value of the statistical activity timer and the value of the target activity timer, a target APN template that needs to be imported into an EPC (core network element) corresponding to the user terminal includes:
and determining the APN template corresponding to the value of the target activity timer with the minimum difference value with the value of the statistical activity timer as the target APN template.
Illustratively, the first predetermined formula is:
APNijT3324=F(fi,tj);
wherein, APNijT3324 is the value of the target Activity timer, fiIs a target frequency, and the target frequency is a first generation frequency of the ith first service, tjA first transmission interval duration for a data packet of a target interval duration and a target interval duration of a jth first service, F (F)i,tj) Calculating APN from target frequency and target interval duration constructed according to statistical analysisijFunctional expression of T3324, F (F)i,tj) Is proportional to the target frequency and F (F)i,tj) Is inversely related to the target interval duration, i is a positive integer, and j is a positive integer.
Illustratively, the second predetermined formula is:
APNmmT3324=F(fm,tm);
wherein, APNmmT3324 is the value of the statistical Activity timer, fmTo count the frequency of occurrence, tmTo account for transmission interval duration, F (F)m,fm) Is composed ofAPN calculation based on statistical analysis and constructed by statistical occurrence frequency and statistical sending interval durationmmFunctional expression of T3324, F (F)m,fm) Is proportional to the frequency of occurrence of the statistics and F (F)m,fm) The value of (d) is inversely related to the length of the statistical transmission interval.
Illustratively, the third predetermined formula is:
Figure BDA0001830212490000041
wherein, gnFor the nth second frequency of occurrence, xnIs gnClose first frequency of occurrence, fi-1For the i-1 st occurrence frequency, fiIs the ith first generation frequency and fiIs all greater than fi-1With f in the first frequency of occurrencei-1The first occurrence frequency with the smallest difference; n is a positive integer, i is a positive integer and i is greater than 1;
the fourth preset formula is:
fm=αf1+.....+βfi-1+....γfi
wherein f ismTo count the frequency of occurrence, f1Is the 1 st first generation frequency, alpha is the approximate first generation frequency f1The same second generation frequency of beta is similar to the first generation frequency and fi-1The same second occurrence frequency of gamma is similar to the first occurrence frequency of fiThe number of the same second generation frequency of (2) is a ratio of the number of all the second generation frequencies.
Illustratively, the fifth predetermined formula is:
Figure BDA0001830212490000051
wherein h isnSecond transmission interval duration, w, for the nth packetnIs hnOf the first transmission interval duration, t, of the close data packetj-1First transmission interval duration, t, for the (j-1) th packetjA first transmission interval duration of a jth data packet and tjFor all greater than tj-1Of the first transmission interval duration of the data packet with tj-1The first transmission interval duration of the data packet with the smallest difference; n is a positive integer, j is a positive integer and j is greater than 1;
the sixth preset formula is:
tm=α't1+.....+β'tj-1+....γ'tj
wherein, tmTo count the frequency of occurrence, t1A first transmission interval duration for the 1 st data packet, and a' is a first transmission interval duration t for the similar data packet1The number of the second sending interval time length of the same data packet accounts for the number of the second sending interval time length of all the data packets, and beta' is the ratio of the first sending interval time length of the similar data packets to tj-1The number of the second sending interval time length of the same data packet accounts for the number of the second sending interval time length of all the data packets, and gamma' is the ratio of the first sending interval time length of the similar data packets to tjThe number of the second sending interval durations of the same type of data packets accounts for the ratio of the number of the second sending interval durations of all the data packets.
In a second aspect, there is provided an apparatus for configuring an active timer, comprising: the device comprises an acquisition module, a calculation module, a template generation module and an import module;
the acquisition module is used for acquiring historical service data of the user terminal; the historical traffic data includes at least: the method comprises the steps that a user terminal uses first generation frequencies of all first services and first transmission interval duration of data packets of all the first services before the current time;
the calculating module is used for calculating the value of the target activity timer according to a first preset formula according to the target frequency and the target interval duration acquired by the acquiring module; the target frequency is any one of all the first generation frequencies acquired by the acquisition module, and the target interval duration is any one of all the first transmission interval durations of the data packets acquired by the acquisition module;
the template generating module is used for generating an access point APN template according to the target frequency acquired by the acquisition module, the target interval duration acquired by the acquisition module and the value of the target activity timer calculated by the calculation module;
the obtaining module is further configured to obtain a second occurrence frequency of all second services used by the user terminal and a second transmission interval duration of data packets of all second services in a current preset time period;
the calculation module is also used for calculating and counting the occurrence frequency according to all the second occurrence frequencies and all the first occurrence frequencies acquired by the acquisition module;
the calculation module is further used for calculating and counting the sending interval duration according to the second sending interval durations of all the data packets and the first sending interval durations of all the data packets obtained by the obtaining module;
the calculation module is also used for calculating the value of the statistical activity timer according to a second preset formula according to the statistical occurrence frequency and the statistical sending interval duration;
and the importing module is used for determining a target APN template which needs to be imported into a core network element EPC corresponding to the user terminal according to the difference value between the value of the statistical activity timer calculated by the calculating module and the value of the target activity timer calculated by the calculating module, and importing the target APN template into the EPC so that the EPC configures the target activity timer corresponding to the target APN template for the user terminal.
Optionally, the obtaining module is specifically configured to: acquiring all adjacent interval durations of the third service, wherein the adjacent interval durations are the sending interval durations of adjacent data packets of the third service; the third service is any one of all the first services; the adjacent data packet is generated in each occurrence process of the third service;
and determining the average value of all the adjacent interval durations as the first transmission interval duration of the data packet of the third service.
Optionally, the obtaining module is specifically configured to: acquiring all adjacent interval durations of the fourth service, wherein the adjacent interval durations are the sending interval durations of adjacent data packets of the fourth service; the fourth service is any one of all the second services; the adjacent data packet is generated in each occurrence process of the fourth service;
and determining the average value of all the adjacent interval durations as the second transmission interval duration of the data packet of the fourth service.
Optionally, the calculation module is specifically configured to: determining the first generation frequency close to each second generation frequency according to a third preset formula and all the second generation frequencies and all the first generation frequencies acquired by the acquisition module;
determining a second generation frequency which is the same as the first generation frequency to be the same second generation frequency;
and calculating and counting the occurrence frequency according to a fourth preset formula according to the ratio of the number of each second occurrence frequency to the number of all second occurrence frequencies.
Optionally, the calculation module is specifically configured to: determining the first sending interval duration of the data packets close to the second sending interval duration of each data packet according to a fifth preset formula according to the second sending interval durations of all the data packets and the first sending interval durations of all the data packets obtained by the obtaining module;
determining a second sending interval duration of the data packets with the same first sending interval duration of the similar data packets as the first sending interval duration of the same data packets;
and calculating and counting the sending interval duration according to a sixth preset formula according to the ratio of the number of the first sending interval durations of each type of data packets to the number of the second sending interval durations of all the data packets.
Optionally, the import module is specifically configured to: and determining the APN template corresponding to the value of the target activity timer with the minimum difference value with the value of the statistical activity timer as the target APN template.
In a third aspect, a configuration device of an active timer is provided, which includes a memory, a processor, a bus and a communication interface; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus; when the configuration means of the activity timer is running, the processor executes computer-executable instructions stored by the memory to cause the configuration means of the activity timer to perform the method of configuring an activity timer as provided in the first aspect.
In a fourth aspect, there is provided a computer storage medium comprising computer executable instructions which, when executed on a computer, cause the computer to perform the method of configuring an activity timer as provided in the first aspect.
The embodiment of the invention provides a method and a device for configuring an activity timer, wherein the method comprises the following steps: acquiring historical service data of a user terminal; the historical traffic data includes at least: the method comprises the steps that a user terminal uses first generation frequencies of all first services and first transmission interval duration of data packets of all the first services before the current time; calculating the value of a target activity timer according to a first preset formula according to the target frequency and the target interval duration; the target frequency is any one of all the first generation frequencies, and the target interval duration is any one of all the first transmission interval durations of the data packets; generating an access point APN template according to the target frequency, the target interval duration and the value of the target activity timer; acquiring second generation frequency of all second services used by the user terminal and second sending interval duration of data packets of all the second services in a current preset time period; calculating and counting the occurrence frequency according to all the second occurrence frequencies and all the first occurrence frequencies; calculating and counting the sending interval duration according to the second sending interval duration of all the data packets and the first sending interval duration of all the data packets; calculating the value of the statistical activity timer according to a second preset formula according to the statistical occurrence frequency and the statistical sending interval duration; and determining a target APN template which needs to be introduced into a core network element EPC corresponding to the user terminal according to the difference value between the value of the statistical activity timer and the value of the target activity timer, and introducing the target APN template into the EPC so that the EPC configures the target activity timer corresponding to the target APN template for the user terminal. The technical scheme provided by the embodiment of the invention comprises the steps of firstly calculating the values of various different activity timers according to the historical service of a user terminal, then constructing various APN templates by using the values of the various activity timers and the corresponding historical service data, wherein the different activity timers are set in each APN template and the values of the various activity timers are aimed at different terminal service conditions; when the behavior of the user terminal changes, namely the service data in the current preset time period changes, a statistical activity timer value capable of reflecting the current situation is obtained according to the service data in the current preset time period, then a most suitable target APN template in the current preset time period is determined according to the statistical activity timer value and the values of all activity timers calculated by historical service data, and after the target APN template is led into an EPC (evolved packet core), the EPC can set the value of a suitable activity timer for the user terminal. Therefore, the technical solution provided in the embodiment of the present invention can enable the user terminal to periodically and dynamically adjust the value of the active timer, so that the user terminal can enter the power saving mode without affecting the service usage, thereby reducing the signaling overhead caused by frequent idle state and power saving mode changes of the user terminal due to an excessively small value of the active timer, ensuring the power saving mechanism of the user terminal and the balance of network resource load, and improving the utilization rate of network resources.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for configuring an active timer according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating another method for configuring an activity timer according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an apparatus for configuring an active timer according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another configuration apparatus for an active timer according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
For the convenience of clearly describing the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, the words "first", "second", and the like are used for distinguishing the same items or similar items with basically the same functions and actions, and those skilled in the art can understand that the words "first", "second", and the like are not limited in number or execution order.
It should be noted that, in the embodiments of the present invention, "of", "corresponding" and "corresponding" may be sometimes used in combination, and it should be noted that, when the difference is not emphasized, the intended meaning is consistent.
The value of the existing active timer T3324 is obtained by calling an APN template from an APN requested by a terminal or an APN allocated to a terminal by a network, and the value of the active timer T3324 is allocated to the terminal, but once the service behavior of a user terminal changes, the set active timer is unreasonable, the PSM setting time is short, which causes the terminal to quickly enter a PSM state and to just enter the terminal in the PSM state, at this time, if uplink data transmission is required, i.e. MO data is performed, uplink MO data transmission is performed again from an idle state, and a series of signaling flows are required; therefore, in this case, although power saving can be achieved when the terminal enters the PSM state, network signaling overhead and network resource load are caused by mismatching of the active timer and the service.
In view of the above problem, referring to fig. 1, an embodiment of the present invention provides a method for configuring an active timer, including:
101. acquiring historical service data of a user terminal; the historical traffic data includes at least: the first generation frequency of all the first services used by the user terminal before the current time and the first transmission interval duration of the data packets of all the first services.
Illustratively, the historical traffic data may be obtained from a CG (Charging Gateway).
The historical service data may be all the historical service data in a time period from the current time of the user terminal to the time of opening an account of the user terminal, or may be the historical service data in any time period before the current time of the user terminal, and is not limited specifically here.
Because there are a plurality of different data packets generated in each service of the user terminal, there are a plurality of transmission time intervals between adjacent data packets, and for convenience of calculation, the first transmission interval duration of the data packet obtained in the embodiment of the present invention is an average value of the transmission time intervals of all adjacent data packets generated in each service performing process of any kind of service, so optionally, obtaining the first transmission interval duration of the data packet of all first services includes:
s1, acquiring all adjacent interval durations of the third service, wherein the adjacent interval durations are the sending interval durations of adjacent data packets of the third service; the third service is any one of all the first services; the adjacent data packet is an adjacent data packet generated in each occurrence process of the third service.
Specifically, the sending sequence of the specific values of the adjacent data packets is the data packets adjacent to each other in front and back.
And S2, determining the average value of all the adjacent interval durations as the first transmission interval duration of the data packet of the third service.
102. Calculating the value of a target activity timer according to a first preset formula according to the target frequency and the target interval duration; the target frequency is any one of all the first generation frequencies, and the target interval duration is any one of all the first transmission interval durations of the data packets.
Specifically, the activity timer used in practice is T3324.
Illustratively, the first predetermined formula is:
APNijT3324=F(fi,tj);
wherein, APNijT3324 is the value of the target Activity timer, fiIs a target frequency, and the target frequency is a first generation frequency of the ith first service, tjA first transmission interval duration for a data packet of a target interval duration and a target interval duration of a jth first service, F (F)i,tj) Calculating APN from target frequency and target interval duration constructed according to statistical analysisijFunctional expression of T3324, F (F)i,tj) Is proportional to the target frequency and F (F)i,tj) Is inversely related to the target interval duration, i is a positive integer, and j is a positive integer.
Specifically, the function rule F provided in the embodiment of the present invention is obtained according to statistical analysis, and different service data and people can obtain different function rules, as long as the following objectives can be achieved:
when the service occurs frequently and the service data packet transmission interval is short, the value of the active timer is increased, the terminal enters the PSM slowly, frequent signaling interaction from the PSM state to the connection state is reduced, when the service occurs frequently and the service data packet transmission interval is long, the value of the active timer is reduced, the terminal enters the PSM quickly, and the power consumption of the terminal is saved.
103. And generating an access point APN template according to the target frequency, the target interval duration and the value of the target activity timer.
Specifically, if there are i services in the historical service data of the user terminal, there are i target frequencies and i target interval durations, and i may be finally obtained2Planting APN template; in addition, if a new service type appears in practice, the invention is implementedThe proposed solution is restarted from step 101 to obtain a more complete APN template library.
104. And acquiring second generation frequency of all second services used by the user terminal and second sending interval duration of data packets of all the second services in the current preset time period.
For example, the second occurrence frequency of all the second services used by the ue and the second transmission interval duration of the data packets of all the second services in the current preset time period may be obtained from the CG.
Because there are a plurality of different data packets generated in each service of the user terminal, there are a plurality of transmission time intervals between adjacent data packets, and for convenience of calculation, the first transmission interval duration of the data packet obtained in the embodiment of the present invention is an average value of the transmission time intervals of all adjacent data packets generated in each service performing process of any kind of service, so, optionally, obtaining the second transmission interval durations of the data packets of all second services includes:
q1, acquiring all adjacent interval durations of the fourth service, wherein the adjacent interval durations are the sending interval durations of adjacent data packets of the fourth service; the fourth service is any one of all the second services; the adjacent data packet is generated in each occurrence process of the fourth service;
and Q2, determining the average value of all adjacent interval durations as the second transmission interval duration of the data packet of the fourth service.
105. And calculating the statistical occurrence frequency according to all the second occurrence frequencies and all the first occurrence frequencies.
Optionally, referring to fig. 2, the step 105 specifically includes:
1051. and determining the first generation frequency close to each second generation frequency according to all the second generation frequencies and all the first generation frequencies and a third preset formula.
Illustratively, the third predetermined formula is:
Figure BDA0001830212490000121
wherein, gnFor the nth second frequency of occurrence, xnIs gnClose first frequency of occurrence, fi-1For the i-1 st occurrence frequency, fiIs the ith first generation frequency and fiIs all greater than fi-1With f in the first frequency of occurrencei-1The first occurrence frequency with the smallest difference; n is a positive integer, i is a positive integer and i is greater than 1; note that, if g isnIs equal to (f)i-1+fi) 2 is xnHas a value of fi-1And fiAny of them is acceptable; in addition, each kind of second service corresponds to a second occurrence frequency, so the nth second occurrence frequency has the same meaning as the second occurrence frequency of the nth kind of second service, and the rest second occurrence frequencies have the same meaning; each first service corresponds to a first generation frequency, so the 1 st first generation frequency has the same meaning as the first generation frequency of the first service, and the rest first generation frequencies have the same principle.
1052. And determining the second occurrence frequency which is the same with the first occurrence frequency as the same second occurrence frequency.
1053. And calculating and counting the occurrence frequency according to a fourth preset formula according to the ratio of the number of each second occurrence frequency to the number of all second occurrence frequencies.
Illustratively, the fourth predetermined formula is:
fm=αf1+.....+βfi-1+....γfi
wherein f ismTo count the frequency of occurrence, f1Is the 1 st first generation frequency, alpha is the approximate first generation frequency f1The same second generation frequency of beta is similar to the first generation frequency and fi-1The same second occurrence frequency of gamma is similar to the first occurrence frequency of fiThe number of the same second generation frequency of (2) is a ratio of the number of all the second generation frequencies.
106. And calculating and counting the sending interval duration according to the second sending interval durations of all the data packets and the first sending interval durations of all the data packets.
Optionally, referring to fig. 2, the step 106 specifically includes:
1061. and determining the first transmission interval duration of the data packets close to the second transmission interval duration of each data packet according to the second transmission interval duration of all the data packets and the first transmission interval duration of all the data packets and a fifth preset formula.
Illustratively, the fifth predetermined formula is:
Figure BDA0001830212490000131
wherein h isnSecond transmission interval duration, w, for the nth packetnIs hnOf the first transmission interval duration, t, of the close data packetj-1First transmission interval duration, t, for the (j-1) th packetjA first transmission interval duration of a jth data packet and tjFor all greater than tj-1Of the first transmission interval duration of the data packet with tj-1The first transmission interval duration of the data packet with the smallest difference; n is a positive integer, j is a positive integer and j is greater than 1; it should be noted that if hnIs equal to (t)j-1+ti) H is then 2nIs taken as tj-1And tjAny of them is acceptable; in addition, each kind of second service corresponds to a second sending interval duration of a data packet, so that the second sending interval duration of the nth data packet has the same meaning as the second sending interval duration of the data packet of the nth kind of second service, and the second sending interval durations of the other data packets are the same; each kind of first service corresponds to a first sending interval duration of a data packet, so the first sending interval duration of the 1 st data packet has the same meaning as the first sending interval duration of the data packet of the first service, and the first sending interval durations of the other data packets are the same.
1062. And determining the second sending interval duration of the data packets with the same first sending interval duration of the similar data packets as the first sending interval duration of the same data packets.
1063. And calculating and counting the sending interval duration according to a sixth preset formula according to the ratio of the number of the first sending interval durations of each type of data packets to the number of the second sending interval durations of all the data packets.
Illustratively, the sixth preset formula is:
fm=αf1+.....+βfi-1+....γfi
wherein f ismTo count the frequency of occurrence, f1Is the 1 st first generation frequency, alpha is the approximate first generation frequency f1The same second generation frequency of beta is similar to the first generation frequency and fi-1The same second occurrence frequency of gamma is similar to the first occurrence frequency of fiThe number of the same second generation frequency of (2) is a ratio of the number of all the second generation frequencies.
107. And calculating the value of the statistical activity timer according to a second preset formula according to the statistical occurrence frequency and the statistical sending interval duration.
Illustratively, the second predetermined formula is:
APNmmT3324=F(fm,tm);
wherein, APNmmT3324 is the value of the statistical Activity timer, fmTo count the frequency of occurrence, tmTo account for transmission interval duration, F (F)m,fm) Calculating APN from statistical frequency and statistical transmission interval duration constructed according to statistical analysismmFunctional expression of T3324, F (F)m,fm) Is proportional to the frequency of occurrence of the statistics and F (F)m,fm) The value of (d) is inversely related to the length of the statistical transmission interval.
Specifically, the function rule F provided in the embodiment of the present invention is obtained according to statistical analysis, and different service data and people can obtain different function rules, generally, where F is the same as F in step 102, as long as the following objectives can be achieved:
when the service occurs frequently and the service data packet transmission interval is short, the value of the active timer is increased, the terminal enters the PSM slowly, frequent signaling interaction from the PSM state to the connection state is reduced, when the service occurs frequently and the service data packet transmission interval is long, the value of the active timer is reduced, the terminal enters the PSM quickly, and the power consumption of the terminal is saved.
108. And determining a target APN template which needs to be introduced into a core network element EPC corresponding to the user terminal according to the difference value between the value of the statistical activity timer and the value of the target activity timer, and introducing the target APN template into the EPC so that the EPC configures the target activity timer corresponding to the target APN template for the user terminal.
In practice, the whole process of the technical solution provided by the embodiment of the present invention is partially cyclic, that is, after the step 108 is executed, the step 104 is executed; otherwise, but once a new traffic class appears, then after 108, 101 is performed.
Optionally, referring to fig. 2, the step 108 specifically includes:
1081. and determining the APN template corresponding to the value of the target activity timer with the minimum difference value with the value of the statistical activity timer as the target APN template.
1082. And importing the target APN template into the EPC so that the EPC configures a target activity timer corresponding to the target APN template for the user terminal.
The configuration method of the activity timer provided by the embodiment of the invention comprises the following steps: acquiring historical service data of a user terminal; the historical traffic data includes at least: the method comprises the steps that a user terminal uses first generation frequencies of all first services and first transmission interval duration of data packets of all the first services before the current time; calculating the value of a target activity timer according to a first preset formula according to the target frequency and the target interval duration; the target frequency is any one of all the first generation frequencies, and the target interval duration is any one of all the first transmission interval durations of the data packets; generating an access point APN template according to the target frequency, the target interval duration and the value of the target activity timer; acquiring second generation frequency of all second services used by the user terminal and second sending interval duration of data packets of all the second services in a current preset time period; calculating and counting the occurrence frequency according to all the second occurrence frequencies and all the first occurrence frequencies; calculating and counting the sending interval duration according to the second sending interval duration of all the data packets and the first sending interval duration of all the data packets; calculating the value of the statistical activity timer according to a second preset formula according to the statistical occurrence frequency and the statistical sending interval duration; and determining a target APN template which needs to be introduced into a core network element EPC corresponding to the user terminal according to the difference value between the value of the statistical activity timer and the value of the target activity timer, and introducing the target APN template into the EPC so that the EPC configures the target activity timer corresponding to the target APN template for the user terminal. The technical scheme provided by the embodiment of the invention comprises the steps of firstly calculating the values of various different activity timers according to the historical service of a user terminal, then constructing various APN templates by using the values of the various activity timers and the corresponding historical service data, wherein the different activity timers are set in each APN template and the values of the various activity timers are aimed at different terminal service conditions; when the behavior of the user terminal changes, namely the service data in the current preset time period changes, a statistical activity timer value capable of reflecting the current situation is obtained according to the service data in the current preset time period, then a most suitable target APN template in the current preset time period is determined according to the statistical activity timer value and the values of all activity timers calculated by historical service data, and after the target APN template is led into an EPC (evolved packet core), the EPC can set the value of a suitable activity timer for the user terminal. Therefore, the technical solution provided in the embodiment of the present invention can enable the user terminal to periodically and dynamically adjust the value of the active timer, so that the user terminal can enter the power saving mode without affecting the service usage, thereby reducing the signaling overhead caused by frequent idle state and power saving mode changes of the user terminal due to an excessively small value of the active timer, ensuring the power saving mechanism of the user terminal and the balance of network resource load, and improving the utilization rate of network resources.
Referring to fig. 3, an embodiment of the present invention further provides an active timer configuring apparatus 01, including: the system comprises an acquisition module 31, a calculation module 32, a template generation module 33 and an import module 34;
an obtaining module 31, configured to obtain historical service data of the user terminal 02; the historical traffic data includes at least: the user terminal 02 uses the first generation frequency of all the first services and the first transmission interval duration of the data packets of all the first services before the current time;
a calculating module 32, configured to calculate a value of the target activity timer according to a first preset formula according to the target frequency and the target interval duration obtained by the obtaining module 31; the target frequency is any one of all the first generation frequencies acquired by the acquisition module 31, and the target interval duration is any one of all the first transmission interval durations of the data packets acquired by the acquisition module 31;
the template generating module 33 is configured to generate an access point APN template according to the target frequency obtained by the obtaining module 31, the target interval duration obtained by the obtaining module 31, and the value of the target activity timer calculated by the calculating module 32;
the obtaining module 31 is further configured to obtain a second occurrence frequency of all second services used by the user terminal 02 in the current preset time period and a second sending interval duration of data packets of all second services;
the calculating module 32 is further configured to calculate and count occurrence frequencies according to all the second occurrence frequencies and all the first occurrence frequencies acquired by the acquiring module 31;
the calculating module 32 is further configured to calculate and count the transmission interval duration according to the second transmission interval duration of all the data packets and the first transmission interval duration of all the data packets acquired by the acquiring module 31;
the calculation module 32 is further configured to calculate a value of the statistical activity timer according to a second preset formula according to the statistical occurrence frequency and the statistical sending interval duration;
an importing module 34, configured to determine, according to a difference between the value of the statistical activity timer calculated by the calculating module 32 and the value of the target activity timer calculated by the calculating module 32, a target APN template that needs to be imported into the core network element EPC03 corresponding to the user terminal 02, and import the target APN template into the EPC03, so that the EPC03 configures the target activity timer corresponding to the target APN template for the user terminal 02.
Optionally, the obtaining module 31 is specifically configured to: acquiring all adjacent interval durations of the third service, wherein the adjacent interval durations are the sending interval durations of adjacent data packets of the third service; the third service is any one of all the first services; the adjacent data packet is generated in each occurrence process of the third service;
and determining the average value of all the adjacent interval durations as the first transmission interval duration of the data packet of the third service.
Optionally, the obtaining module 31 is specifically configured to: acquiring all adjacent interval durations of the fourth service, wherein the adjacent interval durations are the sending interval durations of adjacent data packets of the fourth service; the fourth service is any one of all the second services; the adjacent data packet is generated in each occurrence process of the fourth service;
and determining the average value of all the adjacent interval durations as the second transmission interval duration of the data packet of the fourth service.
Optionally, the calculating module 32 is specifically configured to: according to all the second occurrence frequencies and all the first occurrence frequencies acquired by the acquisition module 31, determining a first occurrence frequency close to each second occurrence frequency according to a third preset formula;
determining a second generation frequency which is the same as the first generation frequency to be the same second generation frequency;
and calculating and counting the occurrence frequency according to a fourth preset formula according to the ratio of the number of each second occurrence frequency to the number of all second occurrence frequencies.
Optionally, the calculating module 32 is specifically configured to: according to the second sending interval duration of all the data packets and the first sending interval duration of all the data packets obtained by the obtaining module 31, determining the first sending interval duration of the data packets close to the second sending interval duration of each data packet according to a fifth preset formula;
determining a second sending interval duration of the data packets with the same first sending interval duration of the similar data packets as the first sending interval duration of the same data packets;
and calculating and counting the sending interval duration according to a sixth preset formula according to the ratio of the number of the first sending interval durations of each type of data packets to the number of the second sending interval durations of all the data packets.
Optionally, the import module 34 is specifically configured to: and determining the APN template corresponding to the value of the target activity timer with the minimum difference value with the value of the statistical activity timer as the target APN template.
The configuration device of the activity timer provided by the embodiment of the invention comprises: the device comprises an acquisition module, a calculation module, a template generation module and an import module; the acquisition module is used for acquiring historical service data of the user terminal; the historical traffic data includes at least: the method comprises the steps that a user terminal uses first generation frequencies of all first services and first transmission interval duration of data packets of all the first services before the current time; the calculating module is used for calculating the value of the target activity timer according to a first preset formula according to the target frequency and the target interval duration acquired by the acquiring module; the target frequency is any one of all the first generation frequencies acquired by the acquisition module, and the target interval duration is any one of all the first transmission interval durations of the data packets acquired by the acquisition module; the template generating module is used for generating an access point APN template according to the target frequency acquired by the acquisition module, the target interval duration acquired by the acquisition module and the value of the target activity timer calculated by the calculation module; the obtaining module is further configured to obtain a second occurrence frequency of all second services used by the user terminal and a second transmission interval duration of data packets of all second services in a current preset time period; the calculation module is also used for calculating and counting the occurrence frequency according to all the second occurrence frequencies and all the first occurrence frequencies acquired by the acquisition module; the calculation module is further used for calculating and counting the sending interval duration according to the second sending interval durations of all the data packets and the first sending interval durations of all the data packets obtained by the obtaining module; the calculation module is also used for calculating the value of the statistical activity timer according to a second preset formula according to the statistical occurrence frequency and the statistical sending interval duration; and the importing module is used for determining a target APN template which needs to be imported into a core network element EPC corresponding to the user terminal according to the difference value between the value of the statistical activity timer calculated by the calculating module and the value of the target activity timer calculated by the calculating module, and importing the target APN template into the EPC so that the EPC configures the target activity timer corresponding to the target APN template for the user terminal. Therefore, when configuring the activity timer, the technical solution provided by the embodiment of the present invention may first calculate values of a plurality of different activity timers according to historical services of the user terminal, and then construct a plurality of different APN templates according to the values of the different activity timers and historical service data corresponding to the values of the different activity timers, where the value of the different activity timers set in each APN template is already directed at different terminal service conditions; when the behavior of the user terminal changes, namely the service data in the current preset time period changes, a statistical activity timer value capable of reflecting the current situation is obtained according to the service data in the current preset time period, then a most suitable target APN template in the current preset time period is determined according to the statistical activity timer value and the values of all activity timers calculated by historical service data, and after the target APN template is led into an EPC (evolved packet core), the EPC can set the value of a suitable activity timer for the user terminal. Therefore, the technical solution provided in the embodiment of the present invention can enable the user terminal to periodically and dynamically adjust the value of the active timer, so that the user terminal can enter the power saving mode without affecting the service usage, thereby reducing the signaling overhead caused by frequent idle state and power saving mode changes of the user terminal due to an excessively small value of the active timer, ensuring the power saving mechanism of the user terminal and the balance of network resource load, and improving the utilization rate of network resources.
Referring to fig. 4, an embodiment of the present invention further provides another active timer configuration apparatus, including a memory 41, a processor 42, a bus 43, and a communication interface 44; the memory 41 is used for storing computer execution instructions, and the processor 42 is connected with the memory 41 through a bus 43; when the configuration means of the active timer is running, the processor 42 executes the computer-executable instructions stored in the memory 41 to cause the configuration means of the active timer to perform the configuration method of the active timer as provided in the above embodiments.
In particular implementations, processor 42(42-1 and 42-2) may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 4, for example, as one embodiment. And as an example, the means for configuring the activity timer may include a plurality of processors 42, such as processor 42-1 and processor 42-2 shown in fig. 4. Each of the processors 42 may be a Single-core processor (Single-CPU) or a Multi-core processor (Multi-CPU). Processor 42 may refer herein to one or more devices, circuits, and/or processing cores that process data (e.g., computer program instructions).
The Memory 41 may be a Read-Only Memory 41 (ROM) or other types of static storage devices that can store static information and instructions, a Random Access Memory (RAM) or other types of dynamic storage devices that can store information and instructions, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), a magnetic Disc storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 41 may be self-contained and coupled to the processor 42 via a communication bus 43. The memory 41 may also be integrated with the processor 42.
In a specific implementation, the memory 41 is used for storing data in the present application and computer-executable instructions corresponding to software programs for executing the present application. Processor 42 may configure various functions of the device by running or executing software programs stored in memory 41, as well as invoking data stored in memory 41, activity timers.
The communication interface 44 is any device such as a transceiver for communicating with other devices or communication Networks, such as a control system, a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), and the like. The communication interface 44 may include a receiving unit implementing a receiving function and a transmitting unit implementing a transmitting function.
The bus 43 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus 43 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
The embodiment of the present invention further provides a computer storage medium, where the computer storage medium includes computer execution instructions, and when the computer execution instructions run on a computer, the computer is enabled to execute the configuration method of the activity timer provided in the above embodiment.
The embodiment of the present invention further provides a computer program, where the computer program may be directly loaded into the memory and contains a software code, and the computer program is loaded and executed by a computer, so as to implement the configuration method of the activity timer provided in the above embodiment.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical function division, and there may be other division ways in actual implementation. For example, various elements or components may be combined or may be integrated into another device, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention.

Claims (16)

1. A method of configuring an active timer, comprising:
acquiring historical service data of a user terminal; the historical traffic data includes at least: the user terminal uses the first generation frequency of all the first services and the first transmission interval duration of the data packets of all the first services before the current time;
calculating the value of a target activity timer according to a first preset formula according to the target frequency and the target interval duration; the target frequency is any one of all the first generation frequencies, and the target interval duration is any one of all the first transmission interval durations of the data packets;
the first preset formula is as follows:
APNijT3324=F(fi,tj);
wherein, APNijT3324 is the value of the target Activity timer, fiThe target frequency is the same as the first generation frequency of the ith first service, tjA first transmission interval duration for the data packet of the target interval duration and the target interval duration being the jth first service, F (F)i,tj) Calculating APN from said target frequency and said target interval duration constructed from statistical analysisijFunctional expression of T3324, F (F)i,tj) Is proportional to the target frequency and F (F)i,tj) The value of (a) is in inverse proportion to the target interval duration, i is a positive integer, and j is a positive integer;
generating an access point APN template according to the target frequency, the target interval duration and the value of the target activity timer;
acquiring second generation frequency of all second services used by the user terminal and second sending interval duration of data packets of all the second services in a current preset time period;
calculating and counting the occurrence frequency according to all the second occurrence frequencies and all the first occurrence frequencies;
calculating and counting the sending interval duration according to the second sending interval duration of all the data packets and the first sending interval duration of all the data packets;
calculating the value of a statistical activity timer according to a second preset formula according to the statistical occurrence frequency and the statistical sending interval duration;
the second preset formula is as follows:
APNmmT3324=F(fm,tm);
wherein, APNmmT3324 is the value of the statistical activity timer, fmFor said statistical occurrence, tmFor said statistical transmission interval duration, F (F)m,fm) Calculating APN from said statistical frequency of occurrence and said statistical transmission interval duration constructed from statistical analysismmFunctional expression of T3324, F (F)m,fm) Is proportional to the frequency of occurrence of said statistics and F (F)m,fm) The value of (d) is in inverse relation to the statistical transmission interval duration;
and determining a target APN template which needs to be introduced into a core network element EPC corresponding to the user terminal according to the difference value between the value of the statistical activity timer and the value of the target activity timer, and introducing the target APN template into the EPC so that the EPC configures the target activity timer corresponding to the target APN template for the user terminal.
2. The method of claim 1, wherein the obtaining the first transmission interval duration of the data packets of all the first services comprises:
acquiring all adjacent interval durations of a third service, wherein the adjacent interval durations are the sending interval durations of adjacent data packets of the third service; the third service is any one of all the first services; the adjacent data packet is an adjacent data packet generated in each occurrence process of the third service;
and determining the average value of all the adjacent interval durations as the first transmission interval duration of the data packet of the third service.
3. The method of claim 1, wherein the obtaining the second transmission interval duration of the data packets of all the second services comprises:
acquiring all adjacent interval durations of a fourth service, wherein the adjacent interval durations are the sending interval durations of adjacent data packets of the fourth service; the fourth service is any one of the second services; the adjacent data packet is an adjacent data packet generated in each occurrence process of the fourth service;
and determining the average value of all the adjacent interval durations as the second sending interval duration of the data packet of the fourth service.
4. The method of claim 1, wherein said calculating a statistical frequency of occurrence based on all of said second frequency of occurrence and all of said first frequency of occurrence comprises:
determining a first generation frequency close to each second generation frequency according to all the second generation frequencies and all the first generation frequencies and a third preset formula;
determining a second generation frequency which is the same as the first generation frequency to be the same second generation frequency;
and calculating the statistical occurrence frequency according to a fourth preset formula according to the ratio of the number of each second occurrence frequency to the number of all second occurrence frequencies.
5. The method of claim 1, wherein the calculating a statistical transmission interval duration based on all of the packet second transmission interval durations and all of the packet first transmission interval durations comprises:
determining the first sending interval duration of the data packets close to the second sending interval duration of each data packet according to a fifth preset formula according to the second sending interval durations of all the data packets and the first sending interval durations of all the data packets;
determining a second sending interval duration of the data packets with the same first sending interval duration of the similar data packets as the first sending interval duration of the same data packets;
and calculating the statistical sending interval duration according to a sixth preset formula according to the ratio of the number of the first sending interval durations of each data packet to the number of the second sending interval durations of all the data packets.
6. The method of claim 1, wherein the determining, according to a difference between the value of the statistical activity timer and the value of the target activity timer, a target APN template to be introduced into an EPC (core network element) corresponding to the ue comprises:
and determining the APN template corresponding to the value of the target activity timer with the minimum difference value with the value of the statistical activity timer as the target APN template.
7. The method for configuring an activity timer according to claim 4, wherein the third predetermined formula is:
Figure FDA0003310936930000031
wherein, gnFor the nth of said second frequency of occurrence, xnIs gnClose first frequency of occurrence, fi-1For the i-1 th of the first frequency of occurrence, fiFor the ith said first shotFrequency generation and fiIs all greater than fi-1With f in the first frequency of occurrencei-1The first occurrence frequency having the smallest difference; n is a positive integer, i is a positive integer and i is greater than 1;
the fourth preset formula is as follows:
fm=αf1+.....+βfi-1+....γfi
wherein f ismFor said statistical occurrence, f1Is the 1 st first generation frequency, alpha is the approximate first generation frequency f1The number of the second generation frequencies of the same kind accounts for the number of all the second generation frequencies, beta is the similar first generation frequency and is fi-1The number of the second generation frequencies of the same kind is a ratio of the number of the second generation frequencies to the number of all the second generation frequencies, and γ is a similar first generation frequency and is fiThe number of the second generation frequencies of the same kind is a ratio of the number of the second generation frequencies to the number of all the second generation frequencies.
8. The method for configuring an activity timer according to claim 5, wherein the fifth predetermined formula is:
Figure FDA0003310936930000032
wherein h isnA second transmission interval duration, w, for the nth data packetnIs hnOf the first transmission interval duration, t, of the close data packetj-1A first transmission interval duration, t, for the (j-1) th data packetjA first transmission interval duration t for the jth data packetjFor all greater than tj-1Of the first transmission interval duration of the data packet with tj-1The data packet with the smallest difference value is sent for the first sending interval duration; n is a positive integer, j is a positive integer and j is greater than 1;
the sixth preset formula is as follows:
tm=α't1+.....+β'tj-1+....γ'tj
wherein, tmFor said statistical occurrence, t1A first transmission interval duration for the 1 st data packet, and a' is a first transmission interval duration t for the similar data packet1The number of the second transmission interval durations of the same data packet accounts for the number of the second transmission interval durations of all the data packets, and beta' is the ratio of the first transmission interval durations of the similar data packets to tj-1The number of the second transmission interval durations of the same data packet accounts for the number of the second transmission interval durations of all the data packets, and gamma' is the ratio of the first transmission interval durations of the similar data packets to tjThe number of the second transmission interval durations of the same type of the data packets accounts for the number of the second transmission interval durations of all the data packets.
9. An activity timer deployment apparatus comprising: the device comprises an acquisition module, a calculation module, a template generation module 33 and an import module;
the acquisition module is used for acquiring historical service data of the user terminal; the historical traffic data includes at least: the user terminal uses the first generation frequency of all the first services and the first transmission interval duration of the data packets of all the first services before the current time;
the calculating module is used for calculating the value of the target activity timer according to a first preset formula according to the target frequency and the target interval duration acquired by the acquiring module; the target frequency is any one of all the first generation frequencies acquired by the acquisition module, and the target interval duration is any one of all the first transmission interval durations of the data packets acquired by the acquisition module;
the first preset formula is as follows:
APNijT3324=F(fi,tj);
wherein, APNijT3324 is the value of the target Activity timer, fiThe target frequency is the same as the first generation frequency of the ith first service, tjFor the target interval durationThe target interval duration is the first transmission interval duration of the data packet of the jth first service, F (F)i,tj) Calculating APN from said target frequency and said target interval duration constructed from statistical analysisijFunctional expression of T3324, F (F)i,tj) Is proportional to the target frequency and F (F)i,tj) The value of (a) is in inverse proportion to the target interval duration, i is a positive integer, and j is a positive integer;
the template generating module is used for generating an access point APN template according to the target frequency acquired by the acquiring module, the target interval duration acquired by the acquiring module and the value of the target activity timer calculated by the calculating module;
the obtaining module is further configured to obtain a second occurrence frequency of all second services used by the user terminal and a second transmission interval duration of data packets of all second services within a current preset time period;
the calculation module is further configured to calculate and count occurrence frequencies according to all the second occurrence frequencies and all the first occurrence frequencies acquired by the acquisition module;
the calculation module is further configured to calculate and count the transmission interval duration according to the second transmission interval duration of all the data packets and the first transmission interval duration of all the data packets acquired by the acquisition module;
the calculation module is also used for calculating the value of the statistical activity timer according to a second preset formula according to the statistical occurrence frequency and the statistical sending interval duration;
the second preset formula is as follows:
APNmmT3324=F(fm,tm);
wherein, APNmmT3324 is the value of the statistical activity timer, fmFor said statistical occurrence, tmFor said statistical transmission interval duration, F (F)m,fm) Calculating APN from said statistical frequency of occurrence and said statistical transmission interval duration constructed from statistical analysismmFunctional expression of T3324, F (F)m,fm) Is proportional to the frequency of occurrence of said statistics and F (F)m,fm) The value of (d) is in inverse relation to the statistical transmission interval duration;
the importing module is configured to determine a target APN template to be imported into an EPC (core network element) corresponding to the user terminal according to a difference between the value of the statistical activity timer calculated by the calculating module and the value of the target activity timer calculated by the calculating module, and import the target APN template into the EPC, so that the EPC configures the target activity timer corresponding to the target APN template for the user terminal.
10. The activity timer configuration apparatus according to claim 9, wherein the obtaining module is specifically configured to:
acquiring all adjacent interval durations of a third service, wherein the adjacent interval durations are the sending interval durations of adjacent data packets of the third service; the third service is any one of all the first services; the adjacent data packet is an adjacent data packet generated in each occurrence process of the third service;
and determining the average value of all the adjacent interval durations as the first transmission interval duration of the data packet of the third service.
11. The activity timer configuration apparatus according to claim 9, wherein the obtaining module is specifically configured to:
acquiring all adjacent interval durations of a fourth service, wherein the adjacent interval durations are the sending interval durations of adjacent data packets of the fourth service; the fourth service is any one of the second services; the adjacent data packet is an adjacent data packet generated in each occurrence process of the fourth service;
and determining the average value of all the adjacent interval durations as the second sending interval duration of the data packet of the fourth service.
12. The activity timer configuration apparatus of claim 9, wherein the calculation module is specifically configured to:
determining a first generation frequency close to each second generation frequency according to a third preset formula and all the second generation frequencies and all the first generation frequencies acquired by the acquisition module;
determining a second generation frequency which is the same as the first generation frequency to be the same second generation frequency;
and calculating the statistical occurrence frequency according to a fourth preset formula according to the ratio of the number of each second occurrence frequency to the number of all second occurrence frequencies.
13. The activity timer configuration apparatus of claim 9, wherein the calculation module is specifically configured to:
determining a first data packet sending interval duration which is close to the second data packet sending interval duration of each data packet according to a fifth preset formula according to the second data packet sending interval durations and the first data packet sending interval durations acquired by the acquisition module;
determining a second sending interval duration of the data packets with the same first sending interval duration of the similar data packets as the first sending interval duration of the same data packets;
and calculating the statistical sending interval duration according to a sixth preset formula according to the ratio of the number of the first sending interval durations of each data packet to the number of the second sending interval durations of all the data packets.
14. The activity timer configuration apparatus of claim 9, wherein the import module is specifically configured to:
and determining the APN template corresponding to the value of the target activity timer with the minimum difference value with the value of the statistical activity timer as the target APN template.
15. An active timer configuration device, comprising a memory, a processor, a bus and a communication interface; the memory is used for storing computer execution instructions, and the processor is connected with the memory through the bus; the computer-executable instructions stored by the memory are executed by the processor when the activity timer configuration device is running to cause the activity timer configuration device to perform the activity timer configuration method of any one of claims 1-8.
16. A computer storage medium, comprising computer executable instructions which, when run on a computer, cause the computer to perform the method of configuring an activity timer of any one of claims 1-8.
CN201811201931.2A 2018-10-16 2018-10-16 Method and device for configuring movable timer Active CN109413697B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811201931.2A CN109413697B (en) 2018-10-16 2018-10-16 Method and device for configuring movable timer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811201931.2A CN109413697B (en) 2018-10-16 2018-10-16 Method and device for configuring movable timer

Publications (2)

Publication Number Publication Date
CN109413697A CN109413697A (en) 2019-03-01
CN109413697B true CN109413697B (en) 2021-12-24

Family

ID=65467243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811201931.2A Active CN109413697B (en) 2018-10-16 2018-10-16 Method and device for configuring movable timer

Country Status (1)

Country Link
CN (1) CN109413697B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110278601B (en) * 2019-04-30 2022-02-15 中国联合网络通信集团有限公司 Terminal power saving method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105309014B (en) * 2014-01-10 2019-06-11 Lg 电子株式会社 Support the method and its radio device of battery saving mode
EP3182751B1 (en) * 2014-08-11 2019-11-20 Lg Electronics Inc. Method for monitoring ue reachability in wireless communication system, and device for same
KR102380492B1 (en) * 2015-03-13 2022-03-29 인텔 코포레이션 Mobility Management Entity, User Equipment, and Method Supporting Extended Discontinuous Receive Mechanism
US10736171B2 (en) * 2015-04-16 2020-08-04 Lg Electronics Inc. Method and apparatus for performing extended DRX operation based on uplink indication in wireless communication system
CN106814789B (en) * 2017-01-25 2020-07-03 腾讯科技(深圳)有限公司 Timing method and device

Also Published As

Publication number Publication date
CN109413697A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
US20180302880A1 (en) Paging Message Transmission Method, Base Station, Mobility Management Entity, and User Equipment
JP7209863B2 (en) Channel occupied time sharing method and device
EP3393183A1 (en) Apparatus and method for paging user equipment, and communication system
EP2851798A1 (en) Method, device, and terminal for adjusting heartbeat cycle for application
CN104053227A (en) Method and device for selecting anchor masters
CN111147395B (en) Network resource adjusting method and device
CN103530185A (en) Resource optimization method and device
US9936497B2 (en) Node scheduling method and system and device
CN107534950A (en) A kind of method and apparatus for transmitting information
CN108810971A (en) Internet of things data transmission method, internet-of-things terminal and computer readable storage medium
CN109413697B (en) Method and device for configuring movable timer
EP3468264B1 (en) Method and device for power allocation
CN110445623B (en) Charging method, device and system
US10892872B2 (en) Method, system and device for determining reference subframe
CN109308219B (en) Task processing method and device and distributed computer system
CN109002381B (en) Process communication monitoring method, electronic device and computer readable storage medium
US20130115992A1 (en) Method and apparatus for controlling wireless devices
CN107548019B (en) Method and device for processing network beacon in wireless sensor network
Wu et al. Analysis of discontinuous reception (DRX) on energy efficiency and transmission delay with bursty packet data traffic
Gautam et al. An analytical model driven by fluid queue for battery life time of a user equipment in LTE-A networks
CN110139294A (en) A kind of wake-up area determination method, the network equipment and user terminal
CN111885588B (en) Method and device for executing electronic card management service
CN111130812B (en) Communication rate determining method and device
CN115996404B (en) Dynamic adjustment method and device for node link
CN113938992A (en) Threshold determination method and device

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
GR01 Patent grant
GR01 Patent grant