Information processing method, device, equipment and storage medium

文档序号:196666 发布日期:2021-11-02 浏览:28次 中文

阅读说明:本技术 信息处理方法、装置、设备及存储介质 (Information processing method, device, equipment and storage medium ) 是由 李欣然 刘陈 于 2021-07-13 设计创作,主要内容包括:本发明公开了一种信息处理方法、装置、设备及存储介质。其中,所述方法包括:向网络设备发送第一请求;所述第一请求用于请求建立IP多媒体子系统(IMS)承载;接收所述网络设备发送的第一消息;所述第一消息携带有建立IMS承载的相关信息;对所述第一消息携带的建立IMS承载的相关信息进行信令检查,得到检查结果;在所述检查结果不符合预设条件的情况下,启动定时器;若所述定时器超时,则重新向所述网络设备发送所述第一请求;并更新所述定时器的计时时长。(The invention discloses an information processing method, an information processing device, information processing equipment and a storage medium. Wherein the method comprises the following steps: sending a first request to a network device; the first request is for requesting establishment of an IP Multimedia Subsystem (IMS) bearer; receiving a first message sent by the network equipment; the first message carries the relevant information for establishing IMS bearing; carrying out signaling check on the related information for establishing the IMS bearer carried by the first message to obtain a check result; starting a timer under the condition that the checking result does not meet the preset condition; if the timer is overtime, the first request is sent to the network equipment again; and updating the timing duration of the timer.)

1. An information processing method, applied to a mobile terminal, the method comprising:

sending a first request to a network device; the first request is used for requesting to establish an IP multimedia subsystem (IM S) bearer;

receiving a first message sent by the network equipment; the first message carries the relevant information for establishing IMS bearing;

carrying out signaling check on the related information for establishing the IMS bearer carried by the first message to obtain a check result;

starting a timer under the condition that the checking result does not meet the preset condition;

if the timer is overtime, the first request is sent to the network equipment again; and updating the timing duration of the timer.

2. The method of claim 1, wherein the updating the timing duration of the timer comprises:

starting a counter, and counting the times that the check result does not meet the preset condition to obtain a first numerical value;

and updating the timing duration of the timer based on the first numerical value.

3. The method of claim 2, wherein updating the timing duration of the timer based on the first value comprises:

determining a first function based on the first numerical value, and a preset second numerical value and a preset third numerical value;

updating the timing duration of the timer by using the first function, so that the timing duration of the timer is increased along with the increase of the first value.

4. The method of claim 3, wherein determining the first function based on the first value, and the predetermined second value and the predetermined third value comprises:

determining an output value of the first function according to the preset second value under the condition that the first value is smaller than or equal to a first threshold value;

and determining an output value of the first function according to the first numerical value and the preset third numerical value under the condition that the first numerical value is larger than the first threshold value.

5. The method of claim 3, further comprising:

determining a second function;

and utilizing the second function to enable the timing duration of the updated timer to fall within a preset numerical range.

6. The method of claim 3, further comprising:

and updating the counting mode of the counter when the timing duration of the timer is greater than or equal to a first duration threshold.

7. The method of claim 6, wherein the updating the count mode of the counter comprises:

changing the numerical interval of the counter for carrying out two adjacent times of counting from a first value to a second value;

wherein the second value is greater than the first value.

8. An information processing apparatus characterized by comprising:

a sending unit, configured to send a first request to a network device; the first request is used for requesting to establish an IM S bearer;

a receiving unit, configured to receive a first message sent by the network device; the first message carries the relevant information for establishing IMS bearing;

the processing unit is used for carrying out signaling check on the related information for establishing the IMS bearer carried by the first message to obtain a check result; starting a timer under the condition that the checking result does not meet the preset condition; if the timer is overtime, the first request is sent to the network equipment again; and updating the timing duration of the timer.

9. A mobile terminal comprising a processor and a memory for storing a computer program capable of running on the processor,

wherein the processor is adapted to perform the steps of the method of any one of claims 1 to 7 when running the computer program.

10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.

Technical Field

The present invention relates to the field of wireless technologies, and in particular, to an information processing method, apparatus, device, and storage medium.

Background

At present, in the process of establishing an IP Multimedia Subsystem (IMS) bearer by a mobile terminal, if a Network fails temporarily, the mobile terminal may check a signaling message sent by a Network device, and if it is checked that related information for establishing the IMS bearer cannot be normally obtained, the mobile terminal may frequently initiate a Public Data Network (PDN) connection request. In the process, as the mobile terminal frequently initiates the PDN connection request and occupies radio frequency resources, problems such as increased power consumption of the mobile terminal and discontinuous data service occur.

Disclosure of Invention

In view of the above, embodiments of the present invention are intended to provide an information processing method, apparatus, device, and storage medium.

The technical scheme of the embodiment of the invention is realized as follows:

at least one embodiment of the present invention provides an information processing method applied to a mobile terminal, including:

sending a first request to a network device; the first request is used for requesting to establish an IM S bearer;

receiving a first message sent by the network equipment; the first message carries the relevant information for establishing IMS bearing;

carrying out signaling check on the related information for establishing the IMS bearer carried by the first message to obtain a check result;

starting a timer under the condition that the checking result does not meet the preset condition;

if the timer is overtime, the first request is sent to the network equipment again; and updating the timing duration of the timer.

In the above technical solution, the updating the timing duration of the timer includes:

starting a counter, and counting the times that the check result does not meet the preset condition to obtain a first numerical value;

and updating the timing duration of the timer based on the first numerical value.

In the above technical solution, the updating the timing duration of the timer based on the first numerical value includes:

determining a first function based on the first numerical value, and a preset second numerical value and a preset third numerical value;

updating the timing duration of the timer by using the first function, so that the timing duration of the timer is increased along with the increase of the first value.

In the above technical solution, the determining a first function based on the first numerical value, the preset second numerical value, and the preset third numerical value includes:

determining an output value of the first function according to the preset second value under the condition that the first value is smaller than or equal to a first threshold value;

and determining an output value of the first function according to the first numerical value and the preset third numerical value under the condition that the first numerical value is larger than the first threshold value.

In the above technical solution, the method further includes:

determining a second function;

and utilizing the second function to enable the timing duration of the updated timer to fall within a preset numerical range.

In the above technical solution, the method further includes:

and updating the counting mode of the counter when the timing duration of the timer is greater than or equal to a first duration threshold.

In the above technical solution, the updating the counting manner of the counter includes:

changing the numerical interval of the counter for carrying out two adjacent times of counting from a first value to a second value;

wherein the second value is greater than the first value.

At least one embodiment of the present invention provides an information processing apparatus including:

a sending unit, configured to send a first request to a network device; the first request is used for requesting to establish an IM S bearer;

a receiving unit, configured to receive a first message sent by the network device; the first message carries the relevant information for establishing IMS bearing;

the processing unit is used for carrying out signaling check on the related information for establishing the IMS bearer carried by the first message to obtain a check result; starting a timer under the condition that the checking result does not meet the preset condition; if the timer is overtime, the first request is sent to the network equipment again; and updating the timing duration of the timer.

At least one embodiment of the invention provides a mobile terminal characterized by a processor and a memory for storing a computer program capable of running on the processor,

wherein the processor is configured to perform the steps of any of the above methods when executing the computer program.

At least one embodiment of the invention provides a computer-readable storage medium, on which a computer program is stored, characterized in that the computer program realizes the steps of any of the methods described above when executed by a processor.

The information processing method, the device, the equipment and the storage medium provided by the embodiment of the invention send a first request to the network equipment; the first request is used for requesting to establish an IM S bearer; receiving a first message sent by the network equipment; the first message carries the relevant information for establishing IMS bearing; carrying out signaling check on the related information for establishing the IMS bearer carried by the first message to obtain a check result; starting a timer under the condition that the checking result does not meet the preset condition; if the timer is overtime, the first request is sent to the network equipment again; and updating the timing duration of the timer. By adopting the technical scheme of the embodiment of the invention, the time interval of the mobile terminal for sending the first request to the network equipment again is adjusted by updating the timing duration of the timer, so that the problem of power consumption increase caused by frequent retry of the mobile terminal under the condition of network abnormity is avoided.

Drawings

FIG. 1 is a schematic flow chart of an implementation of an information processing method according to an embodiment of the present invention;

FIG. 2 is a first flowchart illustrating a specific implementation of an information processing method according to an embodiment of the present invention;

fig. 3 is a schematic diagram of a mobile terminal sending a first request to a network device according to an embodiment of the present invention;

FIG. 4 is a flowchart illustrating a second specific implementation of the information processing method according to the embodiment of the present invention;

FIG. 5 is a schematic diagram of the structure of an information processing apparatus according to an embodiment of the present invention;

fig. 6 is a schematic diagram of a composition structure of a mobile terminal according to an embodiment of the present invention.

Detailed Description

Before the technical solution of the embodiment of the present invention is introduced, a description is given of a related art.

In the related art, when a mobile phone is attached to a network, if the network supports a Voice over Packet Switch (VoPS) and the mobile phone supports the IMS function of the operator, the mobile phone may initiate a PDN _ CONNECTIVITY _ REQUEST carrying an IMS APN, the network may issue ACTIVATE DEDICATED EPS BEARER CONTEXT REQUEST to establish a corresponding QCI5 default BEARER and allocate a plurality of P-CSCF addresses, the mobile phone selects one of the P-CSCF addresses to perform TCP three-way handshake connection, and initiate IMS registration after the connection is successful.

In order to prevent the network temporary failure, the mobile phone has a Signaling Check (SGN Check) function, that is, after receiving an ACTIVATE DEDICATED EPS BEARER CONTEXT REQUEST message sent by the network, the mobile phone checks two fields in the Signaling as shown in table 1, where an EPS QoS field must be indicated as QCI5, and a Protocol configuration option field must include a P-CSCF address allocated by the network. If one of the two is not satisfied, the result of the SGN Check is "Fail", and in order to acquire normal bearer information again, the mobile phone initiates a PDN _ DISCONNECT _ REQUEST to DISCONNECT an established PDN connection, and re-initiates a PDN _ CONNECTIVITY _ REQUEST carrying the IMS APN.

Information Element Type/Reference
EPS QoS EPS quality of service
Protocol configuration option Protocol configuration options

TABLE 1

If the operator network does not support VoPS, as shown in table 2, when the mobile phone initially attaches to the network, the network sets the IMS VoPS IE in the EPS network feature support field in the delivered ATTACH _ ACCEPT message to 0, and then the mobile phone will not initiate a PDN _ CONNECTIVITY _ REQUEST carrying the IMS APN. However, networks of some overseas operators do not support VoPS, but still set the IMS VoPS IE field to 1, resulting in a mobile phone initiating a PDN request carrying an IMS APN. Meanwhile, the part of operator networks can prevent the mobile phone from initiating the IMS registration in a mode of replying ACTIVATE DEDICATED EPS BEARER CONTEXT REQUEST messages which do not carry any P-CSCF address or EPS Qos is not QCI 5. According to the design, at this time, the mobile phone will determine that the result of the SGN Check is "Fail", actively initiate a PDN _ DISCONNECT _ REQUEST, and repeat the above step of establishing the default bearer. In this scenario, the mobile phone frequently initiates a PDN connection request, occupies RF resources, and causes problems such as power consumption increase and discontinuous data service.

TABLE 2

In the related art, the problem that a terminal frequently initiates a PDN connection request is solved in the following two ways:

in the first mode, a timer is set, namely when the result of SGN Check is 'Fail', the timer is started, after the timer is over, a PDN _ DISCONNECT _ REQUEST REQUEST is sent, and a PDN _ CONNECTIVITY _ REQUEST REQUEST carrying the IMS APN is sent again.

In the second mode, a counter is set, that is, after a preset number of SGN check Fail situations continuously occur, PDN _ DISCONNECT _ REQUEST is initiated, and a new PDN establishment REQUEST is stopped to be initiated.

However, in the first scheme, since the length of the timer cannot be controlled, the setting is too short, which cannot effectively avoid the problems of power consumption and data congestion caused by frequent PDN connections; the result that the quick recovery cannot be achieved in the scene of the temporary network problem is set to be too long. In the second scheme, the PDN establishment is stopped after the number of times is reached, and thus the robustness is not provided in the case of a temporary network problem.

Based on this, in the embodiment of the present invention, a first request is sent to a network device; the first request is used for requesting to establish an IM S bearer; receiving a first message sent by the network equipment; the first message carries the relevant information for establishing IMS bearing; carrying out signaling check on the related information for establishing the IMS bearer carried by the first message to obtain a check result; starting a timer under the condition that the checking result does not meet the preset condition; if the timer is overtime, the first request is sent to the network equipment again; and updating the timing duration of the timer.

Fig. 1 is a schematic flow chart of an implementation of an information processing method according to an embodiment of the present invention, and as shown in fig. 1, the method includes steps 101 to 104;

step 101: sending a first request to a network device; the first request is for requesting establishment of an IMS bearer.

It will be appreciated that when a mobile terminal attaches to a network, the mobile terminal sends the first request to a network device if the network supports VoPS and the mobile terminal supports IMS functionality of the operator of the network.

It can be understood that, when the mobile terminal attaches to the network, if the network does not support VoPS, the network may set the VoPS IE in the ATTCH _ ACCEPT message replying to the mobile terminal to 1 and send to the mobile terminal; and after receiving the ATTCH _ ACCEPT message, the mobile terminal identifies that the value of the vops IE field is 1, and then sends the first request to the network equipment.

It is to be understood that the first REQUEST may specifically be a PDN _ CONNECTIVITY _ REQUEST carrying an IMS APN.

It will be appreciated that the network may be a 5G network, or alternatively, a 6G network, etc.

Step 102: receiving a first message sent by the network equipment; the first message carries the relevant information for establishing the IMS bearing.

It is understood that the information related to establishing the IMF may refer to a QCI number for establishing a default bearer and a network-allocated P-CSCF address.

It can be understood that two fields may be set in the first message, and the two fields are used for carrying information related to the establishment of the IMS bearer.

For example, the first message is an ACTIVATE DEDICATED EPS BEARER CONTEXT REQUEST message. The two fields included in the message are an EPS QoS field and a Protocol configuration option field, respectively. Wherein, the EPS QoS field carries the QCI number of the default bearer, such as QCI 5; the Protocol configuration option field carries the P-CSCF address.

Step 103: and carrying out signaling check on the related information for establishing the IMS bearer carried by the first message to obtain a check result.

It can be understood that, in order to avoid that the information related to the establishment of the IMS bearer is not received in the case of an abnormality in the network, the mobile terminal may start a Signaling Check (SGN Check) function after receiving the first message sent by the network device.

It can be understood that, after the mobile terminal starts the signaling checking function, it may check two fields of the first message carrying the related message for establishing the IMS bearer.

It can be understood that, the checking of the two fields in the first message may refer to checking whether the contents of the two fields are both correct, and if the contents of the two fields are both correct, determining that the checking result meets a preset condition.

That is, if the content of one of the two fields is incorrect, it may be determined that the inspection result does not meet the preset condition.

Or, the contents of the two fields are not correct, and it can also be determined that the inspection result does not meet the preset condition.

Step 104: starting a timer under the condition that the checking result does not meet the preset condition; if the timer is overtime, the first request is sent to the network equipment again; and updating the timing duration of the timer.

It will be appreciated that the greater the number of repetitions of the mobile device sending the first request to the network device, the greater the power consumption of the mobile terminal. Therefore, in order to avoid the problem that the power consumption is increased due to the fact that the mobile terminal frequently initiates the first request, the time interval that the mobile terminal frequently initiates the first request to the network device can be controlled.

It can be understood that, by updating the timing duration of the timer, the time interval at which the mobile terminal frequently initiates the first request to the network device can be controlled.

Further, if the updated timer is long in timing duration, the time interval at which the mobile terminal frequently initiates the first request to the network device may be extended.

Similarly, if the updated timer has a shorter time duration, the time interval at which the mobile terminal frequently initiates the first request to the network society may be shortened.

Here, the mobile terminal performs signaling check on the first message sent by the network device to obtain the relevant information for establishing the IM S bearer, which has the following advantages;

(1) compared with the mode that the mobile terminal frequently initiates the PDN connection request to the network equipment according to the fixed time length in the related technology, in the embodiment of the invention, the time interval of the mobile terminal reinitiating the first request to the network equipment can be controlled under the condition that the network is abnormal.

(2) By controlling the time interval of the mobile terminal frequently initiating the first request to the network device, the problems of power consumption increase, data blockage and the like of the mobile terminal caused by the fact that the mobile terminal frequently initiates the first request can be avoided.

Fig. 2 is a schematic flow chart of a specific implementation of an information processing method according to an embodiment of the present invention, and as shown in fig. 2, the method includes steps 201 to 208;

step 201: sending a first request to a network device; the first request is for requesting establishment of an IMS bearer.

It is to be understood that the first REQUEST may specifically be a PDN _ CONNECTIVITY _ REQUEST carrying an IMS APN.

Step 202: receiving a first message sent by the network equipment; the first message carries the relevant information for establishing the IMS bearing.

It is to be understood that the first message may specifically be an ACTIVATE DEDICATED EPS BEARER CONTEXT REQUEST message.

Step 203: carrying out signaling check on the related information for establishing the IMS bearer carried by the first message to obtain a check result; judging whether the checking result meets a preset condition or not, and executing the step 204 under the condition that the checking result does not meet the preset condition; otherwise, step 208 is performed.

It can be understood that the mobile terminal may start the SCG check function, and perform signaling check on the information related to establishing the IMS bearer, which is carried in the first message.

It is understood that the first message includes two fields, denoted by field 1 and field 2, where field 1 is used to carry the QCI number for establishing the IMS bearer, and field 2 is used to carry the network-allocated P-CSCF address.

In one embodiment, it is assumed that the content of field 1 is accurate, that is, the QCI number carried by field 1 is a preset number, such as QCI 5; but the content of the field 2 is not accurate, that is, the P-CSCF address carried by the field 2 is not allocated by the network device, it is determined that the check result does not meet the preset condition.

In another embodiment, it is assumed that the content of field 1 is inaccurate, i.e. the QCI number carried by field 1 is not a preset number; but the content of the field 2 is accurate, that is, the P-CSCF address carried by the field 2 is allocated by the network device, it is determined that the check result does not meet the preset condition.

Step 204: starting a timer; and if the timer is overtime, the first request is sent to the network equipment again.

Step 205: and starting a counter, and counting the times that the check result does not meet the preset condition to obtain a first numerical value.

It is understood that N may be used to indicate the number of times the preset condition is not met for the inspection result.

It is understood that the counter may count N ═ N + 1.

Step 206: determining a first function based on the first numerical value, and a preset second numerical value and a preset third numerical value; and updating the timing duration of the timer by utilizing the first function.

It is to be understood that, with the first function, the timing length of the timer is updated such that the timing length of the timer increases as the first value increases.

It is to be understood that the process of determining the first function may include:

determining an output value of the first function according to the preset second value under the condition that the first value is smaller than or equal to a first threshold value;

and determining an output value of the first function according to the first numerical value and the preset third numerical value under the condition that the first numerical value is larger than the first threshold value.

For example, assume that N is used to represent the first numerical value, T1 is used to represent the preset second numerical value, and T2 is used to represent the preset third numerical value.

The first function may be expressed using formula (1).

min(T2,T1×2N) (1)

The timing length of the timer may be updated using equation (2).

W=min(T2,T1×2N) (2)

Wherein W represents the counted time length of the updated timer.

Table 3 is an illustration of the timing length of the updated timer, and as shown in table 3, the timing length W of the updated timer can be obtained according to equation (2) by setting T1 to 5min and T2 to 720 min.

N W/min
0 5
1 10
2 20
3 40
4 80
5 160
6 320
7 640
8 720
... ...
N>8 720

TABLE 3

As can be seen from table 3, before N is less than 8, the timing duration of the timer represented by W is relatively short, and after N is greater than 8, the timing duration of the timer represented by W is relatively long.

That is, if the network is abnormal in a short time, the time interval for controlling the mobile terminal to initiate the retry to the network device is short, for example, 10min to 320min, so that the frequency of retrying the PDN connection is high, and the PDN connection is easy to recover quickly.

If the network is abnormal for a long time, the time interval for controlling the mobile terminal to initiate the retry to the network device is longer, such as 6 to 12 hours, so that the frequency of retrying the PDN connection is lower, and the opportunity of at least 2 to 4 retries per day can be ensured.

Step 207: determining a second function; and utilizing the second function to enable the timing duration of the updated timer to fall within a preset numerical range.

It is understood that, in order to more flexibly control the time interval between the mobile terminal sending the request to the network device, the timing duration of the updated timer may be converted into a range of values.

It is understood that the updated timer duration may be converted into a range of values by generating a function of the random number.

For example, the second function may be U (50, 100)%.

The time length of the updated timer may be converted into a range of values according to equation (3).

Twait=U(50,100)%×W (3)

Wherein, Twait represents a numerical range corresponding to the timing duration of the updated timer.

Table 4 is an illustration of a numerical range corresponding to the updated timing length of the timer, and as shown in table 4, a numerical range corresponding to the updated timing length W of the timer can be obtained according to equation (3).

N W/min TwaitValue range/min
0 5 2.5~5
1 10 5~10
2 20 10~20
3 40 20~40
4 80 40~80
5 160 80~160
6 320 160~320
7 640 320~640
8 720 360~720
... ... ...
N>8 720 360~720

TABLE 4

It can be understood that, after the timing duration of the timer is updated, the mobile terminal sends the first request to the network device again, as shown in fig. 3, time intervals between two adjacent times of sending the first request to the network device by the mobile terminal are different, and the larger the number of retries is, the longer the time interval is.

Step 208: and establishing TCP connection and finishing the registration of IM S load.

It is understood that the counter N may be reset in case that the check result meets a preset condition.

It will be appreciated that the count N of the counter may be reset in one of the following ways:

turning on and turning off the machine;

switching on and off the flight mode;

and (5) hot plugging and unplugging the card.

In an embodiment, if the current mobile terminal is in the power-on state, the user is prompted to power off the mobile terminal, so as to reset the count value N of the counter.

In an embodiment, if the current mobile terminal is in the airplane mode, the user is prompted to turn off the flight mode, so as to reset the count value N of the counter.

In an embodiment, a hot plug card operation may be performed on the mobile terminal to reset the count value N of the counter.

In this embodiment, the timer and the counter are used to control the time interval of the mobile terminal sending the first request to the network device, which has the following advantages:

(1) under the condition that the network behavior cannot be predicted, the balance between the retry times and the power consumption of the mobile terminal in the scene and the RF resource preemption can be ensured by adaptively adjusting the retry time.

(2) When the network is abnormal in a short time, the interval of the mobile terminal initiating the retry is short, the retry frequency is high, and the fast recovery is easy. When the network has abnormity for a long time, the mobile terminal will retry for a certain number of times, and then the retry interval is lengthened, but the retry opportunity with a certain frequency can still be guaranteed every day. Has better robustness.

Fig. 4 is a flowchart illustrating a specific implementation of an information processing method according to an embodiment of the present invention, and as shown in fig. 4, the method includes steps 401 to 408;

step 401: sending a first request to a network device; the first request is for requesting establishment of an IM S bearer.

It is to be understood that the first REQUEST may specifically be a PDN _ CONNECTIVITY _ REQUEST carrying an IMS APN.

Step 402: receiving a first message sent by the network equipment; the first message carries the relevant information for establishing the IMS bearing.

It is to be understood that the first message may specifically be an ACTIVATE DEDICATED EPS BEARER CONTEXT REQUEST message.

Step 403: carrying out signaling check on the related information for establishing the IMS bearer carried by the first message to obtain a check result; if the checking result does not meet the preset condition, executing step 404; otherwise, step 408 is performed.

It can be understood that the mobile terminal may start the SCG check function, and perform signaling check on the information related to establishing the IMS bearer, which is carried in the first message.

It is understood that the first message includes two fields, denoted by field 1 and field 2, where field 1 is used to carry the QCII number for establishing the IMS bearer, and field 2 is used to carry the network-allocated P-CSCF address.

In one embodiment, it is assumed that the content of field 1 is accurate, that is, the QCI number carried by field 1 is a preset number, such as QCI 5; but the content of the field 2 is not accurate, that is, the P-CSCF address carried by the field 2 is not allocated by the network device, it is determined that the check result does not meet the preset condition.

In another embodiment, it is assumed that the content of field 1 is inaccurate, i.e. the QCI number carried by field 1 is not a preset number; but the content of the field 2 is accurate, that is, the P-CSCF address carried by the field 2 is allocated by the network device, it is determined that the check result does not meet the preset condition.

Step 404; starting a timer; and if the timer is overtime, the first request is sent to the network equipment again.

Step 405: and starting a counter, and counting the times that the check result does not meet the preset condition to obtain a first numerical value.

It is understood that N may be used to indicate the number of times the preset condition is not met for the inspection result.

It is understood that the counter may count N ═ N + 1.

Step 406: determining a first function based on the first numerical value, and a preset second numerical value and a preset third numerical value; and updating the timing duration of the timer by utilizing the first function.

It is to be understood that, with the first function, the timing length of the timer is updated such that the timing length of the timer increases as the first value increases.

It is to be understood that the process of determining the first function may include:

determining an output value of the first function according to the preset second value under the condition that the first value is smaller than or equal to a first threshold value;

and determining an output value of the first function according to the first numerical value and the preset third numerical value under the condition that the first numerical value is larger than the first threshold value.

Step 407: and updating the counting mode of the counter when the timing duration of the timer is greater than or equal to a first duration threshold.

It is understood that updating the counting mode of the counter may include:

changing the numerical interval of the counter for carrying out two adjacent times of counting from a first value to a second value;

wherein the second value is greater than the first value.

For example, when the timing duration W of the timer is greater than or equal to 720min, the counting manner of the counter is updated from N-N +1 to N-N + 2.

That is, the numerical interval between two adjacent counts is changed from 1 to 2.

Step 408: and establishing TCP connection and finishing the registration of IM S load.

It is understood that the counter N may be reset in case that the check result meets a preset condition.

It will be appreciated that the count N of the counter may be reset in one of the following ways:

turning on and turning off the machine;

switching on and off the flight mode;

and (5) hot plugging and unplugging the card.

In an embodiment, if the current mobile terminal is in the power-on state, the user is prompted to power off the mobile terminal, so as to reset the count value N of the counter.

In an embodiment, if the current mobile terminal is in the airplane mode, the user is prompted to turn off the flight mode, so as to reset the count value N of the counter.

In an embodiment, a hot plug card operation may be performed on the mobile terminal to reset the count value N of the counter.

Here, the timer and the counter are used to control the time interval of the mobile terminal sending the first request to the network device, which has the following advantages:

(1) when the network has abnormity for a long time, the mobile terminal will retry for a certain number of times, and then the retry interval is lengthened, but the retry opportunity with a certain frequency can still be guaranteed every day.

(2) When the retry time interval is longer, the time interval of sending the first request to the network device can be controlled to be longer by changing the accumulation mode of the counter, so as to adapt to the long-time abnormity of the network and achieve the purpose of reducing power consumption.

In order to implement the information processing method according to the embodiment of the present invention, an information processing apparatus is further provided in an embodiment of the present invention, and fig. 5 is a schematic structural diagram of the information processing method according to the embodiment of the present invention; as shown in fig. 5, the apparatus includes:

a sending unit 51, configured to send a first request to a network device; the first request is used for requesting to establish an IM S bearer;

a receiving unit 52, configured to receive a first message sent by the network device; the first message carries the relevant information for establishing IMS bearing;

a processing unit 53, configured to perform signaling check on the relevant information for establishing the IMS bearer, which is carried in the first message, to obtain a check result; starting a timer under the condition that the checking result does not meet the preset condition; if the timer is overtime, the first request is sent to the network equipment again; and updating the timing duration of the timer.

In an embodiment, the processing unit 53 is specifically configured to:

starting a counter, and counting the times that the check result does not meet the preset condition to obtain a first numerical value;

and updating the timing duration of the timer based on the first numerical value.

In an embodiment, the processing unit 53 is specifically configured to:

determining a first function based on the first numerical value, and a preset second numerical value and a preset third numerical value;

updating the timing duration of the timer by using the first function, so that the timing duration of the timer is increased along with the increase of the first value.

In an embodiment, the processing unit 53 is specifically configured to:

determining an output value of the first function according to the preset second value under the condition that the first value is smaller than or equal to a first threshold value;

and determining an output value of the first function according to the first numerical value and the preset third numerical value under the condition that the first numerical value is larger than the first threshold value.

In an embodiment, the processing unit 53 is further configured to:

determining a second function;

and utilizing the second function to enable the timing duration of the updated timer to fall within a preset numerical range.

In the above technical solution, the processing unit 53 is further configured to:

and updating the counting mode of the counter when the timing duration of the timer is greater than or equal to a first duration threshold.

In an embodiment, the processing unit 53 is specifically configured to:

changing the numerical interval of the counter for carrying out two adjacent times of counting from a first value to a second value;

wherein the second value is greater than the first value.

In practical applications, the sending unit 51 and the receiving unit 72 may be implemented by a communication interface in an information processing apparatus. The processing unit 53 may be implemented by a processor in an information processing apparatus.

It should be noted that: in the information processing apparatus provided in the above embodiment, when performing information processing, only the division of each program module is exemplified, and in practical applications, the processing may be distributed to different program modules according to needs, that is, the internal structure of the apparatus may be divided into different program modules to complete all or part of the processing described above. In addition, the information processing apparatus and the information processing method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.

An embodiment of the present invention further provides a mobile terminal, as shown in fig. 6, including:

a communication interface 61 capable of information interaction with other devices;

and the processor 62 is connected with the communication interface 61 and is used for executing the method provided by one or more technical schemes of the intelligent device side when running the computer program. And the computer program is stored on the memory 63.

It should be noted that: the specific processing procedures of the processor 62 and the communication interface 61 are described in detail in the method embodiment, and are not described herein again.

Of course, in practice, the various components of the mobile terminal 60 are coupled together by a bus system 64. It will be appreciated that the bus system 64 is used to enable communications among the components. The bus system 64 includes a power bus, a control bus, and a status signal bus in addition to the data bus. For clarity of illustration, however, the various buses are labeled as bus system 64 in fig. 6.

The memory 63 in the embodiment of the present application is used to store various types of data to support the operation of the mobile terminal 60. Examples of such data include: any computer program for operating on the mobile terminal 60.

The method disclosed in the above embodiments of the present application may be applied to the processor 62, or implemented by the processor 62. The processor 62 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 62. The Processor 62 may be a general purpose Processor, a Digital data Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 62 may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 63, and the processor 62 reads the information in the memory 63 and performs the steps of the aforementioned method in conjunction with its hardware.

In an exemplary embodiment, the mobile terminal 60 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the foregoing methods.

It will be appreciated that the memory (memory 63) of embodiments of the present application may be either volatile memory or nonvolatile memory, and may include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memories described in the embodiments of the present application are intended to comprise, without being limited to, these and any other suitable types of memory.

In an exemplary embodiment, the present invention further provides a storage medium, specifically a computer-readable storage medium, for example, a memory 61 storing a computer program, which can be executed by a processor 62 of a mobile terminal 60 to complete the steps of the aforementioned control server side method. The computer readable storage medium may be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM.

It should be noted that: "first," "second," and the like are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.

In addition, the technical solutions described in the embodiments of the present invention may be arbitrarily combined without conflict.

The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

20页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:无线自组网系统和方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!