Terminal control method and apparatus, storage medium, and electronic device

CN117440539BActive Publication Date: 2026-08-21SHENZHEN TCL CREATIVE CLOUD TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310318115.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-22
Publication Date
2026-08-21
Estimated Expiration
2043-03-22

AI Technical Summary

Technical Problem

[0003]在实际网络测试中,由于5G NR网络和手机终端等还不够成熟,存在各种在5G NR网络下紧急电话等会话业务建立失败的问题,例如,一个场景中,在某运营商网络下,当手机终端注册上5G NR网络之后拨打紧急电话,同时手机终端在紧急电话建立完成之前向5G网络发起上行数据请求,会导致紧急电话在5G NR上建立失败的问题,严重影响用户体验

Benefits of technology

[0023]According to another embodiment of this application, a computer program product or computer program includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations described in the embodiments of this application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117440539B_ABST
    Figure CN117440539B_ABST
Patent Text Reader

Abstract

The application discloses a terminal control method and device, a storage medium and an electronic device, relates to the technical field of communication, and the method comprises the following steps: if it is found that a terminal locally initiates a session service establishment request to a 5G network, it is found whether the terminal locally receives a session response message corresponding to the establishment request returned by the 5G network, and it is found whether a background application initiates an uplink data request to the 5G network; if the session response message is not received and the background application initiates the uplink data request within a predetermined time period, the uplink data request is intercepted; after the session response message is received within the predetermined time period or after the predetermined time period is exceeded, the process of the background application initiating a request to the 5G network is restored. The application can effectively avoid the problem that an emergency telephone and other session services fail to be established, improve the reliability of session service establishment in a 5G NR network, and improve user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, specifically to a terminal control method, device, storage medium, and electronic device. Background Technology

[0002] Currently, 5G NR networks are being deployed on a large scale around the world, and major operators are vigorously promoting the construction progress of 5G NR networks and testing 5G NR-related session services. Among them, emergency calls, as a session service directly related to the safety of users' lives and property, have always been highly valued by operators.

[0003] In actual network testing, due to the immaturity of 5G NR networks and mobile terminals, there are various issues with the failure to establish session services such as emergency calls under 5G NR networks. For example, in one scenario, under a certain operator's network, after a mobile terminal registers with the 5G NR network and makes an emergency call, if the mobile terminal initiates an uplink data request to the 5G network before the emergency call is established, the emergency call will fail to be established on 5G NR, which seriously affects the user experience.

[0004] Therefore, the target has the problem of poor reliability in establishing session services in 5G NR networks, resulting in a poor user experience. Summary of the Invention

[0005] This application provides a solution that can effectively improve the reliability of session service establishment in 5G NR networks and enhance user experience.

[0006] The embodiments of this application provide the following technical solutions:

[0007] According to one embodiment of this application, a terminal control method includes: if a request to establish a session service is detected on the terminal's local end to a 5G network, monitoring whether the terminal's local end receives a session response message corresponding to the establishment request returned by the 5G network, and detecting whether a background application initiates an uplink data request to the 5G network; if the session response message is not received and the background application initiates the uplink data request within a predetermined time period, then the uplink data request is intercepted; after the session response message is received within the predetermined time period, or after the predetermined time period has elapsed, the process of the background application initiating a request to the 5G network is resumed.

[0008] In some embodiments of this application, the predetermined time period is determined as follows: the completion time from the initiation of a session service establishment request to the receipt of the corresponding response message by the terminal under normal network conditions is obtained; the predetermined time period is obtained based on the completion time.

[0009] In some embodiments of this application, the predetermined time period is determined as follows: obtaining the terminal information, location information, current network information, and session service information corresponding to the terminal locally; and using a preset control analysis model to analyze and process the terminal information, location information, current network information, and session service information to obtain the predetermined time period.

[0010] In some embodiments of this application, obtaining the predetermined time period based on the completion duration includes one of the following methods: determining the completion duration as the predetermined time period; obtaining an adjustment coefficient based on the normal network state and the current network state, and adjusting the completion duration based on the adjustment coefficient to obtain the predetermined time period.

[0011] In some embodiments of this application, the step of obtaining an adjustment coefficient based on the normal network state and the current network state, and adjusting the completion time based on the adjustment coefficient to obtain the predetermined time period includes: determining the difference between the normal network state and the current network state; obtaining a preset coefficient corresponding to the difference to obtain the adjustment coefficient; and multiplying the adjustment coefficient by the completion time to obtain the predetermined time period.

[0012] In some embodiments of this application, the process of restoring the background application's request to the 5G network includes one of the following methods: sending the intercepted uplink data request to the 5G network; sending a recovery message to the background application, the recovery message being used to instruct the background application to restore the process of initiating the request to the 5G network.

[0013] In some embodiments of this application, the conversation service includes at least one of emergency calls and regular calls.

[0014] According to one embodiment of this application, a terminal control device includes: a monitoring module, configured to, if it detects that the terminal locally initiates a session service establishment request to the 5G network, monitor whether the terminal locally receives a response message corresponding to the establishment request returned by the 5G network, and detect whether a background application initiates an uplink data request to the 5G network; and a control module, configured to, within a predetermined time period, if it does not receive the response message and the background application initiates the uplink data request, intercept the uplink data request; and, after receiving the session response message within the predetermined time period, or after the predetermined time period has elapsed, resume the process of the background application initiating a request to the 5G network.

[0015] In some embodiments of this application, the apparatus further includes a first determining module, configured to: obtain the completion time from the initiation of a session service establishment request to the receipt of a corresponding response message by the terminal under normal network conditions; and obtain the predetermined time period based on the completion time.

[0016] In some embodiments of this application, the device further includes a second determining module, configured to: acquire terminal information, location information, current network information, and session service information corresponding to the terminal locally; and analyze and process the terminal information, location information, current network information, and session service information using a preset control analysis model to obtain the predetermined time period.

[0017] In some embodiments of this application, the first determining module is configured to: determine the completion duration as the predetermined time period; obtain an adjustment coefficient based on the normal network state and the current network state; and adjust the completion duration based on the adjustment coefficient to obtain the predetermined time period.

[0018] In some embodiments of this application, the first determining module is configured to: determine the difference between the normal network state and the current network state; obtain a preset coefficient corresponding to the difference to obtain the adjustment coefficient; and multiply the adjustment coefficient by the completion duration to obtain the predetermined time period.

[0019] In some embodiments of this application, the control module is configured to implement one of the following methods: sending the intercepted uplink data request to the 5G network; sending a recovery message to the background application, the recovery message being used to instruct the background application to resume the process of initiating a request from the 5G network.

[0020] In some embodiments of this application, the conversation service includes at least one of emergency calls and regular calls.

[0021] According to another embodiment of this application, a storage medium stores a computer program thereon, which, when executed by a computer's processor, causes the computer to perform the methods described in the embodiments of this application.

[0022] According to another embodiment of this application, an electronic device may include: a memory storing a computer program; and a processor reading the computer program stored in the memory to execute the methods described in the embodiments of this application.

[0023] According to another embodiment of this application, a computer program product or computer program includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations described in the embodiments of this application.

[0024] In this embodiment, if a request to establish a session service is detected on the terminal's local end to the 5G network, the system monitors whether the terminal receives a session response message corresponding to the establishment request returned by the 5G network, and detects whether a background application initiates an uplink data request to the 5G network. If the session response message is not received and the background application initiates the uplink data request within a predetermined time period, the uplink data request is intercepted. After the session response message is received within the predetermined time period, or after the predetermined time period has elapsed, the process of the background application initiating a request to the 5G network is resumed.

[0025] In this way, during the establishment of session services in the 5G NR network, by detecting whether the background application initiates an uplink data request to the 5G network, and within and after the predetermined time period, the uplink data request is intercepted and the process of the background application initiating a request to the 5G network is resumed in stages based on whether the session response message corresponding to the establishment request is received. This can effectively avoid the problem of session service establishment failure such as emergency calls, improve the reliability of session service establishment in the 5G NR network, and enhance the user experience. Attached Figure Description

[0026] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0027] Figure 1 A flowchart of a terminal control method according to an embodiment of this application is shown.

[0028] Figure 2 A block diagram of a terminal control device according to an embodiment of this application is shown.

[0029] Figure 3 A block diagram of an electronic device according to an embodiment of this application is shown. Detailed Implementation

[0030] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0031] Figure 1 A flowchart illustrating a terminal control method according to an embodiment of this application is shown. The executing entity of this terminal control method can be a terminal with communication capabilities, such as a mobile phone, smartwatch, television, computer, and home appliances. In one embodiment of this application, the executing entity is specifically a mobile phone.

[0032] like Figure 1 As shown, the terminal control method may include steps S110 to S130.

[0033] Step S110: If a request to establish a session service is detected on the terminal's local end to the 5G network, monitor whether the terminal's local end receives a session response message corresponding to the establishment request returned by the 5G network, and detect whether the background application initiates an uplink data request to the 5G network; Step S120: If the session response message is not received and the background application initiates the uplink data request within a predetermined time period, then the uplink data request is intercepted; Step S130: After receiving the session response message within the predetermined time period, or after the predetermined time period has elapsed, resume the process of the background application initiating a request to the 5G network.

[0034] Session services can include emergency calls and other regular calls (i.e., non-emergency calls) made on 5G NR. Users initiate session service establishment requests to the 5G network by making calls on their terminals. For example, after completing an IMS emergency register on 5G NR, if the terminal is registered with 5G NR and the 5G network supports emergency calls, the terminal will send a PDU_SESSION_ESTABLISHMENT_REQUEST (emergency call establishment request) to the 5G network after making the emergency call. The terminal itself is the execution entity; a new listener 'a' is added to the terminal side to monitor whether the terminal initiates session service establishment requests to the 5G network on 5G NR.

[0035] A new listener, b, is added to the terminal side. After the terminal initiates a setup request, listener b can be activated to continuously monitor whether the terminal receives the session response message corresponding to the setup request from the 5G network. For example, when the 5G network receives a PDU_SESSION_ESTABLISHMENT_REQUEST (i.e., an emergency call setup request), the access network gNB replies with RRCReconfiguration to allocate radio resources to the terminal and returns a PDU_SESSION_ESTABLISHMENT_ACCEPT (emergency call session response message) to the terminal. Listener b can monitor whether it receives this session response message. After the terminal initiates a setup request, the terminal can continuously detect whether background applications initiate uplink data requests (SERVICE_REQUEST) to the 5G network.

[0036] When listener a detects that the terminal has initiated a connection request, the terminal can start a timer T. The duration of timer T can be a predetermined time period. During the execution of timer T (i.e., within the predetermined time period), if listener b does not detect a session response message and the background application initiates an uplink data request, the uplink data request will be intercepted. That is, even if the terminal detects that the background application has initiated an uplink data request, it will not initiate an uplink data request SERVICE_REQUEST to the 5G network.

[0037] During the execution of timer T (i.e., within the predetermined time period), if listener b detects that the terminal has received a session response message from the 5G network, it will resume the process of the background application in the terminal initiating a request to the 5G network, even if timer T has not expired. Alternatively, after timer T expires (i.e., after the predetermined time period has elapsed), regardless of whether the terminal has received a session response message from the network, it will resume the process of the background application in the terminal initiating a request to the 5G network.

[0038] Under the aforementioned control, after receiving the session response message, the terminal can further establish a session service according to the session establishment process, effectively improving the success rate of session service establishment. For example, after receiving the PDU_SESSION_ESTABLISHMENT_ACCEPT (emergency call session response message), the terminal initiates an IMS emergency register request, interacts with the 5G network to complete the IMS emergency registration process, and after completing the IMS emergency register, the terminal initiates an INVITE request, which can establish an emergency call on 5G NR. This mainly involves the 5G network allocating the radio bearer for voice and activating the PDU session (emergency call) with 5QI=1.

[0039] In this way, based on steps S110 to S130, during the process of establishing a session service in the 5G NR network, by detecting whether the background application initiates an uplink data request to the 5G network, and within and after the predetermined time period, the uplink data request is intercepted and the process of the background application initiating a request to the 5G network is resumed in stages according to whether the session response message corresponding to the establishment request is received. This can effectively avoid the problem of session service establishment failure such as emergency calls, improve the reliability of session service establishment in the 5G NR network, and enhance the user experience.

[0040] The following description Figure 1 Further optional specific embodiments are provided for each step performed during terminal control in the example implementation.

[0041] In one embodiment, the predetermined time period is determined as follows: the completion time from the initiation of a session service establishment request to the receipt of the corresponding response message by the terminal under normal network conditions is obtained; the predetermined time period is obtained based on the completion time.

[0042] The normal network state can be the corresponding state of a normal network during actual network testing. By obtaining the completion time (e.g., 1 second, 2 seconds) from initiating a session establishment request to receiving the corresponding response message locally under normal network conditions, and determining a predetermined time period based on this completion time, the process of the background application initiating requests to the 5G network can be controlled in stages based on this predetermined time period. This can effectively improve the reliability of session establishment.

[0043] In one embodiment, obtaining the predetermined time period based on the completion duration includes one of the following methods: determining the completion duration as the predetermined time period; obtaining an adjustment coefficient based on the normal network state and the current network state, and adjusting the completion duration based on the adjustment coefficient to obtain the predetermined time period.

[0044] In this embodiment, in one approach, the completion time is determined as a predetermined time period; in another approach, an adjustment coefficient is obtained based on the normal network status and the current network status, and the completion time is adjusted according to the adjustment coefficient to obtain the predetermined time period, thereby further improving the hierarchical control effect. The current network status can be the network status at the moment the establishment request is detected or at a predetermined time thereafter.

[0045] In one embodiment, the step of obtaining an adjustment coefficient based on the normal network state and the current network state, and adjusting the completion time based on the adjustment coefficient to obtain the predetermined time period, includes: determining the difference between the normal network state and the current network state; obtaining a preset coefficient corresponding to the difference to obtain the adjustment coefficient; and multiplying the adjustment coefficient by the completion time to obtain the predetermined time period.

[0046] In one approach, a normal network state can be "normal," and the current network state can be "good," "smooth," or "slow." The difference between the normal network state and the current network state is determined; for example, the difference between "normal" and "slow" is considered a worse state. A preset coefficient corresponding to this difference is obtained as an adjustment coefficient, which can be the preset coefficient corresponding to the difference of "worse state."

[0047] In one approach, the normal network state can be the first network speed, and the current network state can also be the current network speed. The difference between the normal network state and the current network state is determined, for example, the speed difference between the first network speed and the current network speed. A preset coefficient corresponding to this difference is obtained, resulting in an adjustment coefficient. This adjustment coefficient can be a preset coefficient corresponding to a preset range within which the "speed difference" falls.

[0048] The predetermined time period is obtained by multiplying the adjustment factor by the completion time. Adjusting the completion time based on normal and current network conditions further enhances the effectiveness of phased control.

[0049] In one embodiment, the predetermined time period is determined as follows: obtaining the terminal information, location information, current network information, and session service information corresponding to the terminal locally; and using a preset control analysis model to analyze and process the terminal information, location information, current network information, and session service information to obtain the predetermined time period.

[0050] In this embodiment, the terminal information, location information, current network information, and session service information corresponding to the terminal are further obtained locally. The terminal information may be terminal type, terminal model, etc., the location information may be location coordinates or the area where the terminal is located, the current network information may include network speed, network type, etc., and the session service information may be the service type of the session service (e.g., whether it is urgent or non-urgent).

[0051] Terminal information, location information, current network information, and session service information are input into a preset control analysis model for analysis and processing. This process yields a predetermined time period predicted by the preset control analysis model, which can be a pre-trained machine learning-based analysis model. The predetermined time period predicted by the preset control analysis model is the one with the highest confidence among multiple predicted time periods. In this way, the process of controlling the backend application's requests to the 5G network in stages based on this predetermined time period can further effectively improve the reliability of session service establishment.

[0052] In one embodiment, the process of restoring the background application's request to the 5G network includes one of the following methods: sending the intercepted uplink data request to the 5G network; sending a recovery message to the background application, the recovery message being used to instruct the background application to restore the process of initiating the request to the 5G network.

[0053] In this embodiment, in one approach, the uplink data request intercepted in the previous steps is directly sent to the 5G network to restore the process of the background application initiating a request to the 5G network, which can efficiently restore the process. In another approach, a recovery message is further sent to the background application. This recovery message instructs the background application to resume the process of initiating a request to the 5G network. The background application can then resend the request, avoiding the possibility of incorrectly sending previous uplink data requests due to temporary changes in the background application's strategy, further improving the reliability of process recovery.

[0054] To facilitate better implementation of the terminal control method provided in the embodiments of this application, the embodiments of this application also provide a terminal control device based on the above-described terminal control method. The meanings of the terms used are the same as in the above-described terminal control method, and specific implementation details can be found in the descriptions in the method embodiments. Figure 2 A block diagram of a terminal control device according to an embodiment of this application is shown.

[0055] like Figure 2 As shown, the terminal control device 200 may include: a monitoring module 210, which can be used to monitor whether the terminal receives a response message corresponding to the establishment request from the 5G network if it detects that the terminal has initiated a session service establishment request to the 5G network, and detect whether the background application has initiated an uplink data request to the 5G network; a control module 220, which can be used to intercept the uplink data request if the response message is not received and the background application initiates the uplink data request within a predetermined time period; and to resume the process of the background application initiating a request to the 5G network after receiving the session response message within the predetermined time period, or after the predetermined time period has expired.

[0056] In some embodiments of this application, the apparatus further includes a first determining module, configured to: obtain the completion time from the initiation of a session service establishment request to the receipt of a corresponding response message by the terminal under normal network conditions; and obtain the predetermined time period based on the completion time.

[0057] In some embodiments of this application, the device further includes a second determining module, configured to: acquire terminal information, location information, current network information, and session service information corresponding to the terminal locally; and analyze and process the terminal information, location information, current network information, and session service information using a preset control analysis model to obtain the predetermined time period.

[0058] In some embodiments of this application, the first determining module is configured to: determine the completion duration as the predetermined time period; obtain an adjustment coefficient based on the normal network state and the current network state; and adjust the completion duration based on the adjustment coefficient to obtain the predetermined time period.

[0059] In some embodiments of this application, the first determining module is configured to: determine the difference between the normal network state and the current network state; obtain a preset coefficient corresponding to the difference to obtain the adjustment coefficient; and multiply the adjustment coefficient by the completion duration to obtain the predetermined time period.

[0060] In some embodiments of this application, the control module is configured to implement one of the following methods: sending the intercepted uplink data request to the 5G network; sending a recovery message to the background application, the recovery message being used to instruct the background application to resume the process of initiating a request from the 5G network.

[0061] In some embodiments of this application, the conversation service includes at least one of emergency calls and regular calls.

[0062] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0063] Furthermore, embodiments of this application also provide an electronic device, which can be a terminal or a server, such as... Figure 3 As shown, it illustrates a structural schematic diagram of the electronic device involved in the embodiments of this application, specifically:

[0064] The electronic device may include components such as a processor 301 with one or more processing cores, a memory 302 with one or more computer-readable storage media, a power supply 303, and an input unit 304. Those skilled in the art will understand that... Figure 3The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0065] in:

[0066] The processor 301 is the control center of the electronic device. It connects to various parts of the computer device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 302, and by calling data stored in the memory 302, it performs various functions of the computer device and processes data, thereby providing overall monitoring of the electronic device. Optionally, the processor 301 may include one or more processing cores; preferably, the processor 301 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user page, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 301.

[0067] The memory 302 can be used to store software programs and modules. The processor 301 executes various functional applications and data processing by running the software programs and modules stored in the memory 302. The memory 302 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 302 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 302 may also include a memory controller to provide the processor 301 with access to the memory 302.

[0068] The electronic device also includes a power supply 303 that supplies power to various components. Preferably, the power supply 303 can be logically connected to the processor 301 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 303 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0069] The electronic device may also include an input unit 304, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0070] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 301 in the electronic device loads the executable files corresponding to the processes of one or more computer programs into the memory 302 according to the following instructions, and the processor 301 runs the computer programs stored in the memory 302, thereby realizing the various functions in the foregoing embodiments of this application. For example, the processor 301 can perform the following steps:

[0071] If a request to establish a session service is detected on the terminal's local end to the 5G network, the system monitors whether the terminal receives a session response message corresponding to the establishment request returned by the 5G network, and detects whether the background application initiates an uplink data request to the 5G network. If the session response message is not received and the background application initiates the uplink data request within a predetermined time period, the uplink data request is intercepted. After the session response message is received within the predetermined time period, or after the predetermined time period has elapsed, the process of the background application initiating a request to the 5G network is resumed.

[0072] In some embodiments of this application, the method further includes: obtaining the completion time from the time the terminal initiates the session service establishment request to the time it receives the corresponding response message under normal network conditions; and obtaining the predetermined time period based on the completion time.

[0073] In some embodiments of this application, the method further includes: obtaining terminal information, location information, current network information, and session service information corresponding to the terminal locally; and using a preset control analysis model to analyze and process the terminal information, location information, current network information, and session service information to obtain the predetermined time period.

[0074] In some embodiments of this application, obtaining the predetermined time period based on the completion duration includes one of the following methods: determining the completion duration as the predetermined time period; obtaining an adjustment coefficient based on the normal network state and the current network state, and adjusting the completion duration based on the adjustment coefficient to obtain the predetermined time period.

[0075] In some embodiments of this application, the step of obtaining an adjustment coefficient based on the normal network state and the current network state, and adjusting the completion time based on the adjustment coefficient to obtain the predetermined time period includes: determining the difference between the normal network state and the current network state; obtaining a preset coefficient corresponding to the difference to obtain the adjustment coefficient; and multiplying the adjustment coefficient by the completion time to obtain the predetermined time period.

[0076] In some embodiments of this application, the process of restoring the background application's request to the 5G network includes one of the following methods: sending the intercepted uplink data request to the 5G network; sending a recovery message to the background application, the recovery message being used to instruct the background application to restore the process of initiating the request to the 5G network.

[0077] In some embodiments of this application, the conversation service includes at least one of emergency calls and regular calls.

[0078] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by a computer program, or by a computer program controlling related hardware. The computer program can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0079] Therefore, embodiments of this application also provide a storage medium storing a computer program that can be loaded by a processor to execute the steps in any of the methods provided in embodiments of this application.

[0080] The storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0081] Since the computer program stored in the storage medium can execute the steps of any of the methods provided in the embodiments of this application, the beneficial effects that the methods provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.

[0082] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein.

[0083] It should be understood that this application is not limited to the embodiments described above and shown in the accompanying drawings, but various modifications and changes can be made without departing from its scope.

Claims

1. A terminal control method, characterized in that, include: If a request to establish a session service is detected on the terminal's local end to the 5G network, the system monitors whether the terminal's local end receives a session response message corresponding to the establishment request returned by the 5G network, and detects whether the background application initiates an uplink data request to the 5G network. If the session response message is not received within the predetermined time period and the background application initiates the uplink data request, then the uplink data request is intercepted. After receiving the session response message within the predetermined time period, or after the predetermined time period has elapsed, the process of the background application initiating a request to the 5G network is resumed. The method for determining the predetermined time period includes: obtaining the completion time from the time the terminal initiates the session service establishment request to the time it receives the corresponding response message under normal network conditions; obtaining an adjustment coefficient based on the normal network conditions and the current network conditions; and adjusting the completion time based on the adjustment coefficient to obtain the predetermined time period.

2. The method according to claim 1, characterized in that, The predetermined time period is determined as follows: Obtain the terminal information, location information, current network information, and session service information corresponding to the terminal locally; The terminal information, location information, current network information, and session service information are analyzed and processed using a preset control analysis model to obtain the predetermined time period.

3. The method according to claim 1, characterized in that, The step of obtaining an adjustment coefficient based on the normal network state and the current network state, and adjusting the completion time based on the adjustment coefficient to obtain the predetermined time period, includes: Determine the difference between the normal network state and the current network state; Obtain the preset coefficient corresponding to the difference to obtain the adjustment coefficient; The predetermined time period is obtained by multiplying the adjustment coefficient by the completion duration.

4. The method according to claim 1, characterized in that, The process of restoring the background application's request to the 5G network includes one of the following methods: The intercepted uplink data request is sent to the 5G network; A recovery message is sent to the background application, which instructs the background application to resume the process of initiating a 5G network request.

5. The method according to claim 1, characterized in that, The conversation service includes at least one of emergency calls and regular calls.

6. A terminal control device, characterized in that, include: The monitoring module is used to monitor whether the terminal receives the response message corresponding to the establishment request from the 5G network if it detects that the terminal initiates a session service establishment request to the 5G network, and to detect whether the background application initiates an uplink data request to the 5G network. The control module is used to intercept the uplink data request if the response message is not received within a predetermined time period and the background application initiates the uplink data request. After receiving the session response message within the predetermined time period, or after the predetermined time period has elapsed, the process of the background application initiating a request to the 5G network is resumed; wherein, the predetermined time period is determined by: obtaining the completion time from initiating the session service establishment request to receiving the corresponding response message on the terminal under normal network conditions; obtaining an adjustment coefficient based on the normal network conditions and the current network conditions, and adjusting the completion time based on the adjustment coefficient to obtain the predetermined time period.

7. A storage medium, characterized in that, It stores a computer program that, when executed by the computer's processor, causes the computer to perform the method described in any one of claims 1 to 5.

8. An electronic device, characterized in that, include: Memory, which stores computer programs; A processor reads a computer program stored in memory to perform the method described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Voice communication method and voice communication device

    CN113543281A

  • Method and device for processing network registration exception, storage medium and chip

    CN113810937A