CN108391326B - Method, device and terminal for managing wireless connection - Google Patents

Method, device and terminal for managing wireless connection Download PDF

Info

Publication number
CN108391326B
CN108391326B CN201810150189.0A CN201810150189A CN108391326B CN 108391326 B CN108391326 B CN 108391326B CN 201810150189 A CN201810150189 A CN 201810150189A CN 108391326 B CN108391326 B CN 108391326B
Authority
CN
China
Prior art keywords
terminal
state
wireless connection
service
sending
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
CN201810150189.0A
Other languages
Chinese (zh)
Other versions
CN108391326A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810150189.0A priority Critical patent/CN108391326B/en
Publication of CN108391326A publication Critical patent/CN108391326A/en
Application granted granted Critical
Publication of CN108391326B publication Critical patent/CN108391326B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/25Maintenance of established connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/28Discontinuous transmission [DTX]; Discontinuous reception [DRX]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method, a device and a terminal for managing wireless connection are applied to an AP of the terminal. The method comprises the following steps: establishing a wireless connection with an access network device; when the terminal is in a wireless connection state, detecting whether the terminal has a service requirement of a low-delay service; and if the terminal has the service requirement of the low-delay service, sending an ACK (acknowledgement) data packet to the target equipment through wireless connection so as to enable the terminal to keep a connection state. In the embodiment of the application, when a service requirement of a low-latency service exists in a terminal, an ACK packet is sent to a target device on a network side through a wireless connection established between the terminal and an access network device, in the process, the wireless connection between the terminal and the access network device is always maintained in a connection state, and subsequently, when the terminal needs to communicate with a service server on the network side, the terminal can directly communicate with the service server without switching the terminal from an idle state to a connection state, so that the communication latency between the terminal and the service server is reduced.

Description

Method, device and terminal for managing wireless connection
Technical Field
The embodiment of the application relates to the technical field of wireless communication, in particular to a method, a device and a terminal for managing wireless connection.
Background
The terminal generally has a requirement for communication with a service server on the network side, and the terminal can communicate with the service server after establishing a wireless connection with the access network device.
In the related art, a terminal may previously establish a wireless connection with an access network device, and when the terminal does not communicate with a service server for a long time, the access network device generally releases the wireless connection with the terminal.
Disclosure of Invention
The embodiment of the application provides a method, a device and a terminal for managing wireless connection. The technical scheme is as follows:
in one aspect, an embodiment of the present Application provides a method for managing a wireless connection, where the method is applied to an Application Processor (AP) of a terminal, and the method includes:
establishing a wireless connection with an access network device;
when the terminal is in the connection state of the wireless connection, detecting whether the terminal has the service requirement of the low-delay service;
and if the terminal has the service requirement of the low-delay service, sending an Acknowledgement (ACK) data packet to target equipment through the wireless connection so as to enable the terminal to keep the connection state.
In another aspect, an embodiment of the present application provides an apparatus for managing wireless connection, where the apparatus is applied to an AP of a terminal, and the apparatus includes:
the connection establishing module is used for establishing wireless connection with the access network equipment;
the demand detection module is used for detecting whether the terminal has the service demand of the low-delay service when the terminal is in the connection state of the wireless connection;
and the data packet sending module is used for sending an Acknowledgement (ACK) data packet to target equipment through the wireless connection if the terminal has the service requirement of the low-delay service, so that the terminal keeps the connection state.
In yet another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the method for managing a wireless connection in the foregoing aspect.
In yet another aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program is loaded and executed by a processor to implement the method for managing wireless connection in the above aspect.
The technical scheme provided by the embodiment of the application can bring the following beneficial effects:
when the service requirement of the low-delay service exists in the terminal, the ACK data packet is sent to the target equipment on the network side through the wireless connection established between the terminal and the access network equipment, the wireless connection between the terminal and the access network equipment is always maintained in a connection state in the process, and the terminal can directly communicate with the service server when needing to communicate with the service server on the network side subsequently without switching the terminal from an idle state to a connection state, so that the communication delay between the terminal and the service server is reduced.
Drawings
FIG. 1 is a schematic illustration of an implementation environment provided by one embodiment of the present application;
FIG. 2 is a flow diagram of a method of managing a wireless connection as provided by one embodiment of the present application;
fig. 3 is a block diagram of an ACK packet according to an embodiment of the present application;
FIG. 4 is a flow chart illustrating a method of managing wireless connections according to another embodiment of the present application;
FIG. 5 is a block diagram illustrating an apparatus for managing wireless connections according to one embodiment of the present application;
fig. 6 is a block diagram of a terminal shown in one embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
In the related art, after the wireless connection established between the terminal and the access network device is released by the access network device, if the terminal needs to communicate with the service server, the terminal needs to establish the wireless connection with the access network device again, which takes a long time and causes a long communication delay between the terminal and the service server.
The embodiment of the application provides a method, a device and a terminal for managing wireless connection, when a service requirement of a low-delay service exists in the terminal, an ACK (acknowledgement character) data packet is sent to a target device on a network side through a wireless connection established between the terminal and an access network device, in the process, the wireless connection between the terminal and the access network device is always maintained in a connection state, and when the terminal needs to communicate with a service server on the network side, the terminal can directly communicate with the service server without switching the terminal from an idle state to the connection state, so that the communication delay between the terminal and the service server is reduced.
Referring to fig. 1, a schematic diagram of an implementation environment provided by an embodiment of the present application is shown. The implementation environment may be a mobile communication system, which may be a Long Term Evolution (LTE) system or a 5th generation mobile communication technology (5G) system, also called New Radio (NR) system. The mobile communication system may include: a terminal 11 and an access network device 12.
The terminal 11 may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem with wireless communication functions, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal equipment (terminal device), and so on.
The terminal 11 includes an AP and a baseband chip. An application processor is a processor in the terminal for running an operating system and application programs. Such as: monitoring the running condition of the application program, monitoring the data packet of the application program and the like. The Baseband chip, also referred to as a Baseband chip Processor (BP), is a Processor for communicating with access network devices. Such as: and providing network request, call and short message service. The application processor and the baseband chip communicate with each other through a shared memory (shared memory). Alternatively, the application processor and the baseband chip may be integrated into a single processor.
The terminal 11 and the access network device 12 establish a wireless connection through a wireless air interface. Optionally, the wireless air interface is a wireless air interface based on an LTE standard, for example, the wireless air interface is a Uu interface; or, the wireless air interface is based on a 5G standard; alternatively, the wireless air interface may be a wireless air interface based on a 5G next generation mobile communication network technology standard.
Access network device 12 may be a base station that provides wireless network access functions to terminals. For example, the base station may be an evolved Node B (eNB or e-NodeB) in LTE, or a base station in 5G system that adopts a centralized distributed architecture.
Optionally, as shown in fig. 1, the implementation environment further includes a server 13. The server 13 is configured to provide low-latency services to the terminal 11, such as a red packet snatching service, a shopping second killing service, and the like. The server 13 may be one server, a server cluster composed of a plurality of servers, or a cloud computing service center. Alternatively, the server 13 is a network-side server that establishes a communication connection with the access network device 12 through the core network.
Fig. 2 is a flowchart of a method for managing a wireless connection according to an embodiment of the present application, which may be applied to the AP of the terminal in the embodiment shown in fig. 1. The method may include several steps as follows.
Step 201, establishing a wireless connection with an access network device.
In this embodiment, the terminal may previously establish a wireless connection with the access network device. For example, in the LTE system, a Radio connection between a terminal and an access network device is called a Radio Resource Control (RRC) connection. In other communication systems in subsequent evolution, the connection may still be referred to as an RRC connection or may be referred to by other names, which is not limited in this application.
Step 202, when the wireless connection is in a connected state, detecting whether the terminal has a service requirement of a low-delay service.
When the wireless connection is in a connected state, the terminal can directly communicate with the service server. The wireless connection can also be in an idle state, when the wireless connection is in the idle state, the terminal cannot communicate with the service server, if the terminal has a communication requirement, the wireless connection needs to be restored from the idle state to a connection state, and the process needs to consume a certain amount of time, so that the time delay when the terminal communicates with the service server is increased.
The low-delay service refers to a service with a delay requirement smaller than a preset threshold, where the preset threshold may be set according to an actual requirement, and the preset threshold is not limited in this embodiment of the application, and exemplarily, the preset threshold is 20 ms. For example, low latency traffic refers to a red envelope snatching traffic in social applications; as another example, low latency traffic refers to shopping-second-kill traffic in a shopping-like application.
In some embodiments of the present application, step 202 comprises the sub-steps of:
step 202a, detecting whether a specified application program exists in the terminal and is in a running state;
step 202b, if the specified application program in the terminal is in the running state, determining that the terminal has the service requirement of the low-delay service.
In this embodiment of the application, the designated application refers to an application that has a service requirement of a low-latency service, for example, the designated application refers to a social application corresponding to the red packet robbing application, and a shopping application corresponding to a shopping second killing service.
Optionally, the terminal stores a designated application program list, where the designated application program list includes an identifier of an application program with a service requirement of a low-latency service, and when an application program is started subsequently, the AP directly searches whether the identifier of the started application program exists in the designated application program list, and if the designated application program list includes the identifier of the started application program, it is determined that the terminal has the service requirement of the low-latency service; and if the appointed application program list does not comprise the identification of the started application program, determining that the terminal does not have the service requirement of the low-delay service.
When the radio connection is not in the connected state, that is, when the radio connection is in the idle state, the radio connection needs to be switched from the idle state to the connected state.
Step 203, if the terminal has the service requirement of the low-delay service, sending an acknowledgement ACK packet to the target device through the wireless connection, so that the wireless connection maintains a connected state.
The ACK packet is returned by the receiving device to the sending device after receiving the data, and it usually carries data indicating that the reception is error-free. The target device may be any device that establishes a wireless connection with the access network device. For example, the target device is a server, or a server cluster composed of a plurality of servers.
In order to avoid the situation, in the embodiment of the present application, the terminal is always in the connected state by sending an ACK packet to the target device. And if the terminal does not have the service requirement of the low-delay service, ending the whole process.
In some embodiments of the present application, the ACK packet sent by the AP to the target device also carries error checking information. The ACK packet usually carries check information, for the sending device to check the receiving device, where the check information is, for example, a checksum (checksum). In the embodiment of the application, since the check information carried in the ACK packet is erroneous, the ACK packet may be discarded by the routing device, the access network device, and the like in the ACK packet transmission process, so that the target device does not need to check the ACK packet sent by the AP on the premise that the wireless connection is maintained in the connected state, thereby saving the processing resource of the target device.
Fig. 3 is a block diagram relating to the embodiment shown in fig. 2. In this embodiment of the present application, when detecting that a terminal has a service requirement of a low latency service, an AP sends a notification message to a Framework layer (Framework) in the terminal to notify the Framework layer that the terminal has the service requirement of the low latency service, and then an Internet Protocol (IP) Protocol stack of the Framework layer in the AP sends an ACK packet to a server.
To sum up, in the method provided in this embodiment, when there is a service requirement for a low latency service in a terminal, an ACK packet is sent to a target device on a network side through a wireless connection established between the terminal and an access network device, in this process, the wireless connection between the terminal and the access network device is always maintained in a connected state, and subsequently, when the terminal needs to communicate with a service server on the network side, the terminal can directly communicate with the service server without first switching the terminal from an idle state to a connected state, thereby reducing a communication latency between the terminal and the service server.
In addition, the ACK data packet carries wrong checking information, so that the ACK data packet is discarded in the transmission process, and the follow-up target equipment does not need to check the ACK data packet, so that the processing resource of the target equipment is saved.
Fig. 4 is a flow chart of a method of managing a wireless connection as provided by another embodiment of the present application. The method may comprise the steps of:
step 401, establishing a wireless connection with an access network device.
Step 402, when the wireless connection is in a connected state, detecting whether the terminal has a service requirement of a low-delay service.
In some embodiments of the present application, step 402 includes the following substeps:
step 402a, detecting whether a specified application program exists in the terminal and is in a running state;
step 402b, if the specified application program in the terminal is in the running state, detecting whether the specified application program has a specified operation event;
step 402c, if the specified operation event exists in the specified application program, determining that the terminal has the service requirement of the low-delay service.
The specified operation event may be an event in which the terminal communicates with the service server through a specified application program. For example, specifying an operational event refers to the terminal receiving a red envelope sent by the business server through the social application.
The terminal also stores a designated operation event list, the designated operation event list comprises an identification of an operation event with a service requirement of the low-delay service and an identification of an application program corresponding to the operation event, when a certain application program is started subsequently and the operation event occurs in the application program, the AP detects whether the designated event operation list comprises the identification of the operation event, and if the designated event operation list comprises the identification of the operation event, the terminal is determined to have the service requirement of the low-delay service; and if not, determining that the terminal does not have the service requirement of the low-delay service.
In the embodiment of the application, after detecting that the designated application program is in the running state, the AP further detects whether a designated operation event occurs in the designated running program, so that the terminal is prevented from sending the ACK packet too frequently, and processing resources of the terminal are saved.
Step 403, if the terminal has a service requirement of the low latency service, acquiring a Discontinuous Reception (DRX) state of the terminal.
The DRX state includes a sleep state and an active state. In a wireless communication system, there is a DRX mechanism under which a terminal periodically switches between a sleep state and an active state. When the terminal is in a sleep state, the terminal does not monitor a subframe in a Physical Downlink Control Channel (PDCCH); when the terminal is in an active state, the terminal can monitor the subframes in the PDCCH all the time. If the terminal needs to send an ACK packet to the target device when being in the sleep state, the terminal needs to be switched from the sleep state to the active state first, which results in higher power consumption of the terminal. Therefore, in the embodiment of the present application, before sending the ACK packet to the target device through the wireless connection, the DRX state of the terminal is acquired.
If the terminal is in the sleep state, the following step 404 is executed; if the terminal is in the active state, the following step 405 is performed.
And step 404, when the terminal is in the first active state after the sleep state, sending an ACK packet to the target device through the wireless connection, so that the terminal maintains the connection state.
If the terminal is in the sleep state, the AP sends an ACK data packet to the target equipment through wireless connection when the terminal is in a first activation state after the sleep state, so that the terminal is prevented from being switched from the sleep state to the activation state and then sending the ACK data packet.
In one example, sending the ACK packet to the target device over the wireless connection is specifically implemented as: and sending the ACK data packet to the target equipment once through wireless connection at intervals of a first time according to the interval indication information.
The interval indication information is used for indicating that the time interval between two consecutive times of sending the ACK data packets is a first duration. The first duration may be actually set according to a time required for the terminal to switch from the connected state to the idle state, for example, the first duration is less than a time required for the terminal to switch from the connected state to the idle state, and a difference between the first duration and the time required for the terminal to switch from the connected state to the idle state is less than a preset threshold, where the preset threshold may be set according to a requirement, and the embodiment of the present application is not limited thereto. For example, the time required for the terminal to switch from the connected state to the idle state is 5 seconds, and the first duration is 4 seconds. The first duration may be actually set by the AP according to a time required for the terminal to switch from the connected state to the idle state. In this example, the AP sends an ACK packet to the target device through the wireless connection every first time interval, so that the ACK packet is sent as little as possible on the premise that the terminal remains connected, thereby saving processing resources of the terminal.
In another example, sending the ACK packet to the target device over the wireless connection is specifically implemented as: and sending the ACK data packet to the target equipment through wireless connection within the second time length according to the time length indication information.
In order to avoid the above situation, it is necessary to limit the number of times of sending the ACK packets, in this embodiment, by setting the sending duration of sending the ACK packets to be 100 times, and thus limiting the number of times of sending the ACK packets, it is necessary to actually set the time interval between two consecutive times of sending the ACK packets, for example, the maximum sending number of times of sending the ACK packets is 100 times, and the time interval between two consecutive times of sending the ACK packets is 3 seconds, and then the sending time is 100 × 3 — 300 seconds.
In yet another example, the ACK packet is sent to the target device over the wireless connection every first duration for the second duration based on the interval indication information and the duration indication information.
For example, the maximum transmission times of the ACK packets is 100 times, and the first duration is 4 seconds, so that the transmission duration is 100 × 4-400 seconds.
Step 405, sending an ACK packet to the target device over the wireless connection.
To sum up, in the method provided in this embodiment, when there is a service requirement for a low latency service in a terminal, an ACK packet is sent to a target device on a network side through a wireless connection established between the terminal and an access network device, in this process, the wireless connection between the terminal and the access network device is always maintained in a connected state, and subsequently, when the terminal needs to communicate with a service server on the network side, the terminal can directly communicate with the service server without first switching the terminal from an idle state to a connected state, thereby reducing a communication latency between the terminal and the service server.
In addition, the DRX state of the terminal is acquired before the ACK data packet is sent, when the DRX state of the terminal is in the sleep state, the ACK data packet is sent to the target equipment through the wireless connection when the terminal is in the first active state after the sleep state, and the ACK data packet is prevented from being sent after the terminal is switched from the sleep state to the active state.
In addition, the time interval between two times of continuous sending of the ACK data packets is set, so that the sending times of the ACK data packets are reduced as much as possible on the premise of maintaining the connection state of the terminal, and the processing resources of the terminal are saved; in addition, the sending duration of the ACK data packets is set, so that the condition that the access network equipment switches the wireless connection from the connection state to the idle state on the premise that all the received ACK data packets fail to be checked is avoided.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 5, a block diagram of an apparatus for managing wireless connections is shown, according to an embodiment of the present application. The device is applied to the AP of the terminal, has the functions of realizing the method examples, and the functions can be realized by hardware or by hardware executing corresponding software. The apparatus may include: a connection establishing module 501, a demand detecting module 502 and a data packet sending module 503.
A connection establishing module 501, configured to establish a wireless connection with an access network device.
A requirement detecting module 502, configured to detect whether a service requirement of a low latency service exists in the terminal when the terminal is in the connected state of the wireless connection.
A data packet sending module 503, configured to send an ACK data packet to a target device through the wireless connection if the terminal has a service requirement of the low latency service, so that the terminal maintains the connection state.
To sum up, the apparatus provided in this embodiment of the present application, when there is a service requirement of a low latency service in a terminal, sends an ACK packet to a target device on a network side through a wireless connection established with an access network device, in this process, the wireless connection between the terminal and the access network device is always maintained in a connected state, and subsequently, when the terminal needs to communicate with a service server on the network side, the terminal can directly communicate with the service server without first switching the terminal from an idle state to a connected state, thereby reducing a communication latency between the terminal and the service server.
In an optional embodiment provided based on the embodiment shown in fig. 5, the data packet sending module 503 is configured to:
sending the ACK data packet to the target equipment once through the wireless connection at intervals of a first duration according to interval indication information, wherein the interval indication information is used for indicating that a time interval between two continuous times of sending the ACK data packets is the first duration;
or,
according to duration indication information, sending the ACK data packet to the target equipment through the wireless connection within a second duration, wherein the duration indication information is used for indicating that the duration for sending the ACK data packet is the second duration;
or,
and sending the ACK data packet to the target equipment once through the wireless connection at intervals of a first time length within a second time length according to interval indication information and time length indication information, wherein the interval indication information is used for indicating that a time interval between two continuous times of sending the ACK data packets is the first time length, and the time length indication information is used for indicating that the duration of sending the ACK data packets is the second time length.
In another optional embodiment provided based on the embodiment shown in fig. 5, the requirement detecting module 502 is configured to:
detecting whether a specified application program exists in the terminal and is in a running state;
and if the designated application program in the terminal is in the running state, determining that the terminal has the service requirement of the low-delay service.
Optionally, the requirement detecting module 502 is further configured to:
if the specified application program in the terminal is in the running state, detecting whether a specified operation event exists in the specified application program;
and if the specified operation event exists in the specified application program, determining that the terminal has the service requirement of the low-delay service.
In another alternative embodiment provided based on the embodiment shown in fig. 5, the apparatus further comprises: a status acquisition module (not shown).
And the state acquisition module is used for acquiring the Discontinuous Reception (DRX) state of the terminal, wherein the DRX state comprises a sleep state and an active state.
The packet sending module 503 is further configured to send the ACK packet to a target device through the wireless connection when the terminal is in a first active state after the sleep state if the DRX state of the terminal is the sleep state.
In some embodiments of the present application, the packet sending module 503 is further configured to execute the step of sending the ACK packet to the target device through the wireless connection if the DRX state of the terminal is the active state.
In another optional embodiment provided based on the embodiment shown in fig. 5, the ACK packet carries error checking information.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Referring to fig. 6, a block diagram of a terminal according to an exemplary embodiment of the present application is shown. A terminal in the present application may include one or more of the following components: a processor 610 and a memory 620.
Processor 610 may include one or more processing cores. The processor 610 connects various parts within the overall terminal using various interfaces and lines, performs various functions of the terminal and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 620, and calling data stored in the memory 620. Alternatively, the processor 610 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 610 may integrate one or a combination of a Central Processing Unit (CPU) and a modem. Wherein, the CPU mainly processes an operating system, an application program and the like; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 610, but may be implemented by a single chip.
Optionally, the processor 610, when executing the program instructions in the memory 620, implements the method of managing a wireless connection provided by the various method embodiments described below.
The Memory 620 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 620 includes a non-transitory computer-readable medium. The memory 620 may be used to store instructions, programs, code sets, or instruction sets. The memory 620 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function, instructions for implementing the various method embodiments described above, and the like; the storage data area may store data created according to the use of the terminal, and the like.
The structure of the terminal described above is only illustrative, and in actual implementation, the terminal may include more or less components, such as: a display screen, etc., which are not limited in this embodiment.
Those skilled in the art will appreciate that the configuration shown in fig. 6 is not intended to be limiting of terminal 600 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In an exemplary embodiment, a computer readable storage medium is also provided, in which a computer program is stored, which is loaded and executed by a processor of a terminal to implement the respective steps in the above-described method embodiments.
In an exemplary embodiment, a computer program product is also provided for implementing the functions of the individual steps in the above-described method embodiments when the computer program product is executed.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (8)

1. A method for managing a wireless connection, applied in an application processor AP of a terminal, the method comprising:
establishing a wireless connection with an access network device;
when the terminal is in the connection state of the wireless connection, detecting whether the terminal has the service requirement of the low-delay service;
if the terminal has the service requirement of the low-delay service, sending an ACK data packet to target equipment through the wireless connection once every first time interval within second time interval according to interval indication information and time duration indication information so that the terminal keeps the connection state, wherein the ACK data packet carries wrong check information;
the interval indication information is used for indicating that a time interval between two consecutive times of sending the ACK data packets is the first time length, the first time length is smaller than time required by the terminal to switch from the connection state to the idle state, a difference value between the time required by the terminal to switch from the connection state to the idle state is smaller than a preset threshold value, the duration time length for sending the ACK data packets is the second time length, and the second time length is determined according to the first time length and the maximum sending times of the ACK data packets.
2. The method of claim 1, wherein the detecting whether the terminal has a service requirement of a low latency service comprises:
detecting whether a specified application program exists in the terminal and is in a running state;
and if the designated application program in the terminal is in the running state, determining that the terminal has the service requirement of the low-delay service.
3. The method according to claim 2, wherein after detecting whether the specified application program exists in the terminal and is in the running state, the method further comprises:
if the specified application program in the terminal is in the running state, detecting whether a specified operation event exists in the specified application program;
and if the specified operation event exists in the specified application program, determining that the terminal has the service requirement of the low-delay service.
4. The method according to any one of claims 1 to 3, wherein before sending the ACK packet to the target device via the wireless connection, the method further comprises:
acquiring a Discontinuous Reception (DRX) state of the terminal, wherein the DRX state comprises a sleep state and an active state;
and if the DRX state of the terminal is the sleep state, executing the step of sending the ACK data packet to the target equipment through the wireless connection when the terminal is in a first active state after the sleep state.
5. The method of claim 4, wherein after the obtaining the DRX state of the terminal, further comprising:
and if the DRX state of the terminal is the activated state, executing the step of sending the ACK data packet to the target equipment through the wireless connection.
6. An apparatus for managing wireless connection, applied in an application processor AP in a terminal, the apparatus comprising:
the connection establishing module is used for establishing wireless connection with the access network equipment;
the demand detection module is used for detecting whether the terminal has the service demand of the low-delay service when the terminal is in the connection state of the wireless connection;
a data packet sending module, configured to send an ACK data packet to a target device through the wireless connection every first time interval within a second time interval according to interval indication information and time duration indication information if the terminal has a service requirement of the low latency service, so that the terminal maintains the connection state, where the ACK data packet carries error checking information;
the interval indication information is used for indicating that a time interval between two consecutive times of sending the ACK data packets is the first time length, the first time length is smaller than time required by the terminal to switch from the connection state to the idle state, a difference value between the time required by the terminal to switch from the connection state to the idle state is smaller than a preset threshold value, the duration time length for sending the ACK data packets is the second time length, and the second time length is determined according to the first time length and the maximum sending times of the ACK data packets.
7. A terminal characterized in that it comprises a processor and a memory, said memory storing a computer program that is loaded and executed by said processor to implement the method of managing wireless connections according to any one of claims 1 to 5.
8. A computer-readable storage medium, in which a computer program is stored which is loaded and executed by a processor to implement a method of managing wireless connections as claimed in any one of claims 1 to 5.
CN201810150189.0A 2018-02-13 2018-02-13 Method, device and terminal for managing wireless connection Active CN108391326B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810150189.0A CN108391326B (en) 2018-02-13 2018-02-13 Method, device and terminal for managing wireless connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810150189.0A CN108391326B (en) 2018-02-13 2018-02-13 Method, device and terminal for managing wireless connection

Publications (2)

Publication Number Publication Date
CN108391326A CN108391326A (en) 2018-08-10
CN108391326B true CN108391326B (en) 2020-07-07

Family

ID=63069644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810150189.0A Active CN108391326B (en) 2018-02-13 2018-02-13 Method, device and terminal for managing wireless connection

Country Status (1)

Country Link
CN (1) CN108391326B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115460676B (en) * 2022-06-16 2024-03-15 中国联合网络通信集团有限公司 State management method, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469949A (en) * 2013-09-23 2015-03-25 中国移动通信集团公司 Keep-alive method, keep-alive device and keep-alive system in wireless network
US9143386B1 (en) * 2010-09-27 2015-09-22 Sprint Communications Company L.P. Remote keep-alive message management in a wireless communication network
CN107306282A (en) * 2016-04-20 2017-10-31 中国移动通信有限公司研究院 A kind of link keep-alive method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090271517A1 (en) * 2008-04-25 2009-10-29 Webmessenger, Inc. Method and apparatus for wireless device reconnection handling
CN105657860B (en) * 2016-01-29 2019-09-10 珠海市魅族科技有限公司 A kind of method and device improving data service response speed

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9143386B1 (en) * 2010-09-27 2015-09-22 Sprint Communications Company L.P. Remote keep-alive message management in a wireless communication network
CN104469949A (en) * 2013-09-23 2015-03-25 中国移动通信集团公司 Keep-alive method, keep-alive device and keep-alive system in wireless network
CN107306282A (en) * 2016-04-20 2017-10-31 中国移动通信有限公司研究院 A kind of link keep-alive method and device

Also Published As

Publication number Publication date
CN108391326A (en) 2018-08-10

Similar Documents

Publication Publication Date Title
WO2016188432A1 (en) Machine type communication scheduling method, base station and user equipment
EP3579656A1 (en) Method for keeping mobile initiated connection only mode user equipment in connected mode
CN109792287B (en) Method and device for transmitting response message
WO2017185867A1 (en) Method for service transmission and terminal
CN107371206B (en) Method and equipment for data transmission
RU2019139392A (en) COMMUNICATION METHOD AND COMMUNICATION DEVICE
US20210274393A1 (en) Data transmission method and device in rrc inactive state, terminal and network side device
CN107370573B (en) Method and equipment for transmitting downlink data
US9184887B2 (en) Base station and terminal connection method for the base station
WO2019063017A1 (en) Information transmission method and device
CN108391325B (en) Method, device and terminal for managing wireless connection
CN113972967B (en) Auxiliary information sending method, auxiliary information receiving device, terminal and network side equipment
CN108377579B (en) Method, device, terminal and storage medium for controlling radio resource control connection
US12047881B2 (en) Method and device for feeding back HARQ, and readable storage medium
CN108076535B (en) Method, device, terminal and storage medium for controlling radio resource control connection
CN108886689B (en) Resource allocation method, equipment and system
US20190215348A1 (en) Beacon sensor advertisement frame
CN108391326B (en) Method, device and terminal for managing wireless connection
CN108200639A (en) Sending method, device and the terminal of business datum
CN111434100B (en) Apparatus, method, and computer-readable storage medium for data transceiving with IoT devices
CN107005991B (en) Transmission method, terminal device, base station and the communication system of upstream data packet
CN108200661B (en) RRC connection release method, terminal, access network device and storage medium
CN108064088B (en) RRC connection release method, terminal, access network device and storage medium
CN110650259A (en) Call request response method, device, server, terminal and storage medium
CN113141657A (en) Semi-persistent scheduling 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant