CN113242611B - Method and device for adjusting PoC heartbeat packet sending interval - Google Patents

Method and device for adjusting PoC heartbeat packet sending interval Download PDF

Info

Publication number
CN113242611B
CN113242611B CN202110544082.6A CN202110544082A CN113242611B CN 113242611 B CN113242611 B CN 113242611B CN 202110544082 A CN202110544082 A CN 202110544082A CN 113242611 B CN113242611 B CN 113242611B
Authority
CN
China
Prior art keywords
poc
heartbeat packet
sending interval
equal
information
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
CN202110544082.6A
Other languages
Chinese (zh)
Other versions
CN113242611A (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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN202110544082.6A priority Critical patent/CN113242611B/en
Publication of CN113242611A publication Critical patent/CN113242611A/en
Application granted granted Critical
Publication of CN113242611B publication Critical patent/CN113242611B/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
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/10Push-to-Talk [PTT] or Push-On-Call services

Landscapes

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

Abstract

The embodiment of the application discloses a method and a device for adjusting a PoC heartbeat packet sending interval, wherein the method comprises the following steps: the method comprises the steps that the PoC terminal sends a heartbeat packet to a cloud server, wherein the heartbeat packet comprises first information, and the first information is used for indicating the current electric quantity state and/or the wireless network state of the PoC terminal; the PoC terminal receives a heartbeat packet response from the cloud server, wherein the heartbeat packet response comprises a target sending interval, and the target sending interval is determined by the cloud server according to the first information; the PoC terminal adjusts the transmission time of the heartbeat packet according to the target transmission interval. The PoC terminal in the application can adjust the sending interval of the heartbeat packet of the PoC terminal through receiving the target sending interval determined by the cloud server according to the reported first information, thereby realizing the dynamic adjustment of the sending interval of the heartbeat packet of the PoC terminal, and achieving the balance among the PoC PPT calling success rate, the connection delay, the network load and the PoC terminal power consumption.

Description

Method and device for adjusting PoC heartbeat packet sending interval
Technical Field
The present application relates to the field of mobile communications technologies, and in particular, to a method and an apparatus for adjusting a PoC heartbeat packet transmission interval.
Background
PoC (Push to Talk over Cellular) refers to a half-duplex Voice service similar to trunking communication implemented by using a VoIP (Voice over IP) technology based on a mobile Cellular network packet domain bearer, and can support functions such as one-to-one session, one-to-many group session, state real-time presentation, group list management, and the like. It is characterized in that: the user applies for the Talk right in the conversation through a special PTT (Push To Talk) button, and after obtaining the Talk right and obtaining a corresponding prompt, the user can start talking. In a half-duplex conversation, when one party speaks, other members can only listen and cannot speak.
In order to maintain a long connection between the PoC terminal and the PoC cloud service platform, the PoC terminal is required to periodically send a heartbeat packet to the PoC cloud service platform when there is no PoC data traffic. The turn-on delay of the PPT service is the most important technical indicator of PoC, and generally has strict requirements. In a mobile packet network, due to the Discontinuous Reception (DRX) mechanism, the turn-on delay is greatly associated with the transmission interval of heartbeat packets. At present, a PoC terminal sends a heartbeat packet to a cloud service platform by adopting a fixed period, if the sending interval of the heartbeat packet is too long, the PoC terminal may be considered as having no service route by a mobile network or a firewall so as to release a link and cause that long connection cannot be maintained, or PPT service connection delay exceeds standard when the PoC terminal is in an Idle state DRX at the mobile network side; if the transmission interval of the heartbeat packet is too short, the PoC terminal needs to frequently transmit the heartbeat packet, thereby increasing network load and terminal power consumption and further shortening standby time. Therefore, how to dynamically adjust the sending interval of the heartbeat packet of the PoC terminal to achieve the balance between the PoC PPT call success rate, the connection delay, the network load and the terminal power consumption needs to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a method and a device for adjusting a sending interval of a PoC heartbeat packet, which can dynamically adjust the sending interval of the PoC heartbeat packet of a PoC terminal, and achieve the balance among a PoC PPT calling success rate, a connection delay, a network load and the power consumption of the PoC terminal.
In a first aspect, an embodiment of the present application provides a method for adjusting a sending interval of a PoC heartbeat packet, where the method is applied to a PoC terminal, and the method includes:
sending a heartbeat packet to a cloud server, wherein the heartbeat packet comprises first information, and the first information is used for indicating the current electric quantity state and/or the wireless network state of the PoC terminal;
receiving a heartbeat packet response from the cloud server, wherein the heartbeat packet response comprises a target sending interval;
and adjusting the sending time of the heartbeat packet according to the target sending interval.
In a second aspect, an embodiment of the present application provides a method for adjusting a PoC heartbeat packet sending interval, which is applied to a cloud server, and the method includes:
receiving a heartbeat packet from a PoC terminal, wherein the heartbeat packet comprises first information, and the first information comprises the current electric quantity state and/or the wireless network state of the PoC terminal;
determining a target sending interval according to the first information;
and sending a heartbeat packet response to the PoC terminal, wherein the heartbeat packet response comprises the target sending interval.
In a third aspect, an embodiment of the present application provides an apparatus for adjusting a sending interval of a PoC heartbeat packet, where the apparatus is applied to a PoC terminal, and the apparatus includes:
the system comprises a receiving and sending unit, a sending and receiving unit and a sending and receiving unit, wherein the receiving and sending unit is used for sending a heartbeat packet to a cloud server, the heartbeat packet comprises first information, and the first information is used for indicating the current electric quantity state and/or the wireless network state of the PoC terminal;
the receiving and sending unit is further configured to receive a heartbeat packet response from the cloud server, where the heartbeat packet response includes a target sending interval;
and the processing unit is used for adjusting the sending time of the heartbeat packet according to the target sending interval.
In a fourth aspect, an embodiment of the present application provides an apparatus for adjusting a PoC heartbeat packet sending interval, where the apparatus is applied to a cloud server, and the apparatus includes:
the system comprises a receiving and sending unit, a sending and receiving unit and a sending and receiving unit, wherein the receiving and sending unit is used for receiving a heartbeat packet from a PoC terminal, the heartbeat packet comprises first information, and the first information is used for indicating the current electric quantity state and/or the wireless network state of the PoC terminal;
the processing unit is used for determining a target sending interval according to the first information;
the receiving and sending unit is further configured to send a heartbeat packet response to the PoC terminal, where the heartbeat packet response includes the target sending interval.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip is configured to output a heartbeat packet sent to a cloud server, where the heartbeat packet includes first information, and the first information is used to indicate a current power state and/or a wireless network state of the PoC terminal;
the chip is also used for acquiring heartbeat packet response from the cloud server, wherein the heartbeat packet response comprises a target sending interval;
the chip is also used for adjusting the sending time of the heartbeat packet according to the target sending interval.
In a sixth aspect, embodiments of the present application provide a chip module, which includes a transceiver component and a chip,
the chip is used for sending a heartbeat packet response to the PoC terminal through the receiving and sending component, wherein the heartbeat packet response comprises the target sending interval;
the chip is used for receiving a heartbeat packet response from the cloud server through the transceiving component, and the heartbeat packet response comprises a target sending interval;
the chip is further configured to adjust the sending time of the heartbeat packet according to the target sending interval.
In a seventh aspect, an embodiment of the present application provides a chip, where the chip is configured to obtain a heartbeat packet from a PoC terminal, where the heartbeat packet includes first information, and the first information is used to indicate a current power state and/or a wireless network state of the PoC terminal;
the chip is also used for determining a target sending interval according to the first information;
the chip is also used for outputting a heartbeat packet response sent to the PoC terminal, and the heartbeat packet response comprises the target sending interval.
In an eighth aspect, an embodiment of the present application provides a chip module, which includes a transceiver module and a chip,
the chip is used for receiving a heartbeat packet from the PoC terminal through the receiving and sending component, wherein the heartbeat packet comprises first information, and the first information is used for indicating the current electric quantity state and/or the wireless network state of the PoC terminal;
the chip is used for determining a target sending interval according to the first information;
the chip is further configured to send a heartbeat packet reply to the PoC terminal through the transceiver component, where the heartbeat packet reply includes the target sending interval.
In a ninth aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, a communication interface, and one or more programs, stored in the memory and configured to be executed by the processor, the programs including instructions for performing some or all of the steps described in the method of the first or second aspect.
In a tenth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program for electronic data exchange, where the computer program makes a computer perform some or all of the steps described in the method of the first aspect or the second aspect.
In an eleventh aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps described in the method according to the first or second aspect of the embodiments of the present application. The computer program product may be a software installation package.
According to the technical scheme, the PoC terminal sends a heartbeat packet to the cloud server, wherein the heartbeat packet comprises first information, and the first information is used for indicating the current electric quantity state and/or the wireless network state of the PoC terminal; the PoC terminal receives a heartbeat packet response from the cloud server, wherein the heartbeat packet response comprises a target sending interval, and the target sending interval is determined by the cloud server according to the first information; the PoC terminal adjusts the transmission time of the heartbeat packet according to the target transmission interval. The PoC terminal in the application can adjust the sending interval of the heartbeat packet by receiving the target sending interval determined by the cloud server according to the reported first information, thereby realizing the dynamic adjustment of the sending interval of the heartbeat packet of the PoC terminal, and achieving the balance among the PoC PPT call success rate, the connection delay, the network load and the PoC terminal power consumption.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic view of a scenario provided in an embodiment of the present application;
fig. 2 is a flowchart illustrating a method for adjusting a PoC heartbeat packet sending interval according to an embodiment of the present application;
FIG. 3 is a block diagram illustrating a PoC heartbeat packet sending interval adjustment module according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of determining a target transmission interval according to an embodiment of the present application;
fig. 5 is a block diagram illustrating functional units of an apparatus for adjusting a PoC heartbeat packet sending interval according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
First, partial terms related to the embodiments of the present application are explained so as to be easily understood by those skilled in the art.
1. PoC service: the PoC service is a trunking communication system based on a mobile communication network by utilizing VoIP technology, can realize flexible talkback in a wider range covered by the mobile communication network, and is extension and substitution of the functions of the traditional trunking communication products. The PoC service is based on IP technology, which is carried over a data network of the GPRS/WCDMA/LTE/5G NR Packet switched Domain (PS). With the help of IP technology, the PoC service can be implemented to be continuously on-line, and network resources are occupied only when a user speaks, rather than being occupied all the time during the entire session connection, thereby enabling more efficient use of mobile communication network resources than circuit-switched voice services.
The PoC service appears in the form of an application layer wireless Access Point (AP) at a mobile terminal, for example, after a client logs in a mobile phone talkback function, a function of one-to-one or one-to-many conversation can be realized by pressing a key on the mobile phone in a manner of adding a contact or creating a group after the client logs in the mobile phone talkback function. However, PoC has high requirements for the turn-on delay of the PPT service and the delay of voice data, and the time delay from the initiation of a calling party to the turn-on of a called party needs to be controlled within a preset time. That is, the calling PoC terminal PPT key is pressed, the PoC AP initiates an intercom service to the PoC server through the PS domain of the public wireless network to transmit voice data, the PoC server calls the called terminal through the PS domain of the public wireless network, and a delay of turning on and forwarding the voice data needs to be controlled within a preset time.
2. Heartbeat package: in order to realize continuous online of the PoC service, as with most mobile network applications, the application of the PoC service also uses a heartbeat packet to realize long connection with the PoC cloud server after being powered on and online, and the functions of the heartbeat packet mainly include the following two aspects: on one hand, when the server and the client do not have effective business data to come and go within a certain time, the heartbeat packet is sent to the opposite terminal, so that the normal connection between the client and the server can be kept. On the other hand, a connection does not have normal data and heartbeat packets for a long time, the connection is considered to be absent, and in order to save server connection resources, the connection resources can be recycled by closing the socket, so that whether a link is normal or not can be detected by sending a heartbeat packet to an opposite end through any end.
Referring to fig. 1, fig. 1 is a schematic view of a scene according to an embodiment of the present disclosure. As shown in fig. 1, the scenario includes a PoC terminal 110, a cloud server 120, and a gateway 130. The network 130 may be a Serving Gateway (S-GW) or a packet data network Gateway (PDN-GW). Wherein the PoC terminals 110 include a calling PoC terminal 111 and a called PoC terminal 112. Calling PoC terminal 111 sends the PoC service to gateway 130 over the wireless network for forwarding. The gateway 130 then sends it to the cloud server 120 over the IP bearer network. The cloud server 120 receives the PoC service and then sends the PoC service to the called PoC terminal 112 through the gateway 130, either directly or in a similar manner.
The main quality index of the PoC service is the time delay from the PPT key of the calling PoC to the call PoC speech connection process after being pressed. In an actual wireless network, the PoC speech connection delay mainly comes from the processing delay of the application layer of the PoC calling party, the air interface delay of the public wireless network initiated by the calling party, the processing delay of the base station and the switch of the public wireless network, the processing delay of the PoC server, the paging PoC called delay of the base station of the public wireless network, the receiving delay of the air interface data of the PoC called party, and the processing delay of the application layer of the PoC called party. The calling initiated wireless public network air interface time delay and PoC called air interface data receiving time delay are respectively determined by the signal quality of the current calling and called wireless networks, the paging time delay of the PoC called is mainly related to the current network state of the called terminal, and other time delays are caused by non-wireless environment and are relatively fixed in a certain time. When the network works normally and the server load is moderate, the influence of the paging delay of the PoC called party on the whole PoC connection delay is the largest.
In 3GPP series (2G/3G/4G/5G) wireless networks, the PoC called paging delay is related to the current state of the PoC terminal in the wireless network (Radio Resource Control (RRC) Connected state or RRC Idle (Idle) state). In the RRC Connected state, a Physical Downlink Shared Channel (PDSCH) specified by a Physical Downlink Control Channel (PDCCH) of a Cell-Radio Network Temporary Identifier (C-RNTI) dedicated to the PoC terminal directly receives called information and a Scheduling Request (SR) transmitted by a Physical Uplink Control Channel (PUCCH), although a Connected DRX (Connected DRX, CDRX) period (set within 320ms, for example) does not cause a large connection delay due to the Connected DRX, and the terminal is continuously synchronized with the Radio Network in the frequency domain, and the influence of reception and transmission delays caused by the Network quality is relatively small. However, the PDCCH needs to be continuously detected in the RRC connected state, and CDRX sleep time is short, so that power consumption is large and standby time is short. If there is no uplink transmission or downlink reception service in the RRC connected state for a period of time (generally, the network side is set to 10s to 15s), then the RRC connection is released and the Idle state is entered. In the Idle state, the PoC terminal monitors a PDSCH channel indicated by a PDCCH channel of Paging RNTI (Paging RNTI, P-RNTI) in a DRX Paging cycle, finds that it is paged and then initiates a random access procedure to enter an RRC connection state, and then receives called data. Compared with the RRC connected state, the increased delay in the Idle state mainly comes from the DRX paging cycle and the random access + RRC connection establishment procedure, for example, if the DRX paging cycle of the network is configured to 320ms to 1.28S, if the DRX cycle of the wireless network where the PoC terminal is located is configured to 1.28S, the PoC terminal receives paging data every 1.28S, if the PoC connection delay is set to 500ms, it is obviously impossible to ensure that the PoC connection delay is within 500ms, and meanwhile, since the time-frequency domain synchronization to the network in the Idle state is not continuous and the data reception needs to be performed through random access to enter the RRC connected state, the connection failure is easier in the Idle state than in the RRC connected state, that is, the requirement on the quality of the wireless signal is higher. In the Idle state, the paging message is received by taking DRX as a cycle, and the terminal is always in a dormant state, so that the power consumption is low and the standby time is long.
In order to solve the above problems, the present application provides a method for adjusting a sending interval of a PoC heartbeat packet, where a PoC cloud server dynamically adjusts a sending time interval of a current PoC terminal heartbeat packet according to a current electric quantity state and/or a wireless network state condition reported by a PoC terminal in the heartbeat packet, and indicates a latest heartbeat packet sending interval in a response message of the heartbeat packet, so as to achieve a balance among a PoC PPT call success rate, a connection delay, a network load, and a terminal power consumption.
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for adjusting a PoC heartbeat packet sending interval according to an embodiment of the present application, and the method is applied to the scenario shown in fig. 1. As shown in fig. 2, the method includes the following steps.
S210, the PoC terminal sends a heartbeat packet to a cloud server, wherein the heartbeat packet comprises first information, and the first information is used for indicating the current electric quantity state and/or the wireless network state of the PoC terminal.
In the embodiment of the application, when the PoC terminal is powered on or the PoC terminal starts the PPT function, the PoC terminal may establish a long connection with the PoC cloud server, and the cloud server configures an initial heartbeat packet transmission interval of the PoC terminal. When the PoC terminal and the cloud server do not have valid service data to and from within a certain time, in order to avoid the cloud server from disconnecting the long connection with the PoC terminal, the PoC terminal may periodically send heartbeat packets to the cloud server according to an initial heartbeat packet sending interval (i.e., a current heartbeat packet sending interval).
The receiving and sending time delay of the air interface data is mainly determined by the signal quality of the current calling and called wireless networks, and the paging time delay of the PoC called is mainly related to the current network state of the called terminal. In order to achieve the balance among the call success rate, the connection delay, the network load and the terminal power consumption of the PoC PPT, when the PoC terminal sends a heartbeat packet, the current wireless network state and the current electric quantity state of the PoC terminal can be reported in the heartbeat packet, so that the cloud server can dynamically adjust the current heartbeat packet sending interval according to the current wireless network state and the current electric quantity state.
Optionally, the first information includes at least one of: discontinuous Reception (DRX) cycle, RRC connection hold time without service, radio signal quality and battery power.
The PoC terminal may obtain a Discontinuous Reception (DRX) cycle T _ DRX (paging cycle) by receiving a system message of a current serving cell (e.g., a base station), where the system message of the current serving cell may include the DRX cycle, and obtain an RRC connection retention time T _ RRC in the absence of service by counting a time from an RRC connection state to a disconnection state to an idle state when the current serving cell has no service to the PoC terminal, obtain the wireless signal quality SignalQuan by detecting the signal quality of the current serving cell, and obtain the Battery power Level by detecting a power indication of the PoC terminal. The wireless Signal Quality signalquery can be measured by Reference Signal Receiving Power (RSRP), Reference Signal Receiving Quality (RSRQ), or Received Signal Strength Indicator (RSSI).
In this embodiment, the PoC terminal may selectively report the first information to the PoC cloud server in the form of a message in a heartbeat packet. The message format of the first information Info reported by the heartbeat packet can be seen in table 1.
TABLE 1
Info T_DRX T_RRC SignalQuan Battery_Level
4bit 2bit 2bit 2bit 2bit
Whether the four fields of T _ DRX, T _ RRC, SignalQuan, and Battery _ Level are valid or not is respectively indicated by the 4Bit of the first information Info, for example, a value of 1 indicates valid, and a value of 0 indicates invalid. The value or value range of the four fields of T _ DRX, T _ RRC, SignalQuan and Battery _ Level is expressed by 2 bits respectively.
Illustratively, the PoC terminal may classify DRX cycles, each class corresponding to a different DRX cycle period, and the DRX cycle class of the PoC terminal may be indicated by 2 bits of a T _ DRX field in a heartbeat packet. Similarly, the PoC terminal can classify the RRC connection retention time, the radio signal quality, and the battery power in the absence of service, respectively, each class corresponds to a different value range, and the class can be indicated by the value of the bit occupied by the corresponding field in the heartbeat packet.
For example, the PoC terminal currently resides in an LTE cell, and it can be known through receiving an SIB system message of the current cell that a DRX cycle configuration is in four levels of T _ DRX ═ 0,1,2, and 4, and DRX cycle periods respectively corresponding to the four levels are 0 to 320ms, 320 to 640ms, 640ms to 1.28s, and >1.28s, where a T _ DRX value of 00 denotes that the DRX cycle is at a level of 0, a T _ DRX value of 01 denotes that the DRX cycle is at a level of 1, a T _ DRX value of 10 denotes that the DRX cycle is at a level of 2, and a T _ DRX value of 11 denotes that the DRX cycle is at a level of 4. The method comprises the steps of obtaining the RRC connection holding time T _ RRC of the current service cell in the absence of service through actual test estimation, and dividing the RRC connection holding time T _ RRC into four levels of 0,1,2 and 4, wherein the corresponding time lengths are 0-5 s,5 s-15 s,15 s-25 s and >25s (the general network is set to be about 20 s), wherein the T _ RRC value of 00 represents that the RRC connection holding time is in the 0 level in the absence of service, the T _ RRC value of 01 represents that the RRC connection holding time is in the 1 level in the absence of service, the T _ RRC value of 10 represents that the RRC connection holding time is in the 2 level in the absence of service, and the T _ RRC value of 11 represents that the RRC connection holding time is in the 4 level in the absence of service. The current wireless signal quality SignalQuan can be obtained through measurement and is divided into four levels of 1,2, 3 and 4, the larger the level is, the larger the value is, the better the wireless signal quality is, wherein the SignalQuan value of 00 means that the wireless signal quality is in 1 level, the SignalQuan value of 01 means that the wireless signal quality is in 2 level, the SignalQuan value of 10 means that the wireless signal quality is in 3 level, and the SignalQuan value of 11 means that the wireless signal quality is in 4 level. The Battery capacity of the current PoC terminal, Battery _ Level, is divided into four levels, i.e., 0,1,2, and 3, which correspond to the Battery capacities of 0-15%, 15-30%, 30-60%, and 60-100%, respectively, where a value of Battery _ Level 00 indicates that the Battery capacity is at the 0 Level, a value of Battery _ Level 01 indicates that the Battery capacity is at the 1 Level, a value of Battery _ Level 10 indicates that the Battery capacity is at the 2 Level, and a value of Battery _ Level 11 indicates that the Battery capacity is at the 3 Level.
It should be noted that the bits occupied by the four fields of T _ DRX, T _ RRC, SignalQuan, and Battery _ Level may be determined according to the number or value of each divided Level, for example, if T _ DRX is divided into 6 levels, 3 bits may be used to represent the Level of T _ DRX. Therefore, the values or value ranges of the four fields of T _ DRX, T _ RRC, SignalQuan, and Battery _ Level can also be represented by 3Bit, 4Bit, 5Bit, etc. The examples of the present application are not intended to be limiting.
S220, the cloud server receives the heartbeat packet from the PoC terminal and determines a target sending interval according to the first information.
In the embodiment of the application, the cloud server analyzes first information reported by the PoC terminal in the heartbeat packet, and then comprehensively selects the heartbeat packet sending interval according to the first information, the PoC call configuration information and the self condition. As shown in fig. 3, when the PoC terminal and the cloud server do not have valid traffic data to and from within a certain time, the PoC terminal collects the non-traffic RRC connection holding time, DRX cycle, and radio signal quality from the wireless public network through the wireless communication module. And then the PoC terminal carries the collected information and/or the electric quantity information thereof in a heartbeat packet and sends the heartbeat packet to a cloud server through a wireless communication module, a network communication module of the cloud server analyzes the heartbeat packet after receiving the heartbeat packet, and transmits the analyzed information to a heartbeat packet dynamic setting module. And the heartbeat packet dynamic setting module determines a target sending interval according to the information, and then sends the target sending interval bearer and a heartbeat packet response message to the PoC terminal through the network communication module.
Optionally, the determining a target sending interval according to the first information includes: obtaining second information, the second information comprising at least one of: the method comprises the following steps of PoC connection delay requirement, PoC average calling delay, heartbeat packet average response delay and cloud server load; and determining the target sending interval according to the first information and the second information.
The PoC connection time delay requirement is a time delay requirement from the PPT key of the calling PoC terminal to the voice connection of the called PoC terminal, the PoC average calling time delay is the average time delay of paging the called PoC terminal in a preset time period counted by the cloud server, the heartbeat packet average response time delay is the average time delay of receiving the heartbeat packet response by the calling PoC terminal in the preset time period counted by the cloud server, and the cloud server load is the average thread number of the cloud server in an operation queue in a specific time interval and is used for measuring the current CPU workload of the cloud server.
Specifically, the first information and the second information both affect the selection of the target sending interval by the cloud server. For example, if the DRX cycle of the PoC terminal in the Idle state is greater than the PoC turn-on delay requirement, the PoC terminal must be in the RRC connected state for a long time in order to satisfy the turn-on delay requirement for the PPT service. If the overall quality of the current network of the PoC terminal is not good, in order to guarantee the quality of PoC communication, the PoC terminal needs to be in an RRC connection state for a long time, and the cloud server can reduce the interval duration of heartbeat packets, so that the PoC terminal sends heartbeat packets before RRC connection release every time, and the PoC terminal is ensured to be in the RRC connection state for a long time. If the power of the PoC terminal is insufficient or the cloud server is overloaded, the PoC terminal needs to be in an Idle state for a long time in order to reduce the power consumption and workload of the cloud server, and the cloud server can make the PoC terminal be in the Idle state for a long time by increasing the heartbeat packet interval duration, which is beneficial to prolonging the standby time of the PoC terminal and reducing the load of the cloud server although the PoC connection voice delay can be increased. Therefore, after the cloud server analyzes the first information reported by the PoC terminal in the heartbeat packet, the cloud server can comprehensively select a heartbeat packet sending period according to the PoC average calling time delay, the heartbeat packet average response time delay and the PoC connection time delay requirements of the PoC terminal in the latest time period and the load condition of the cloud server, and dynamically adjust the current PoC terminal heartbeat packet sending interval so as to achieve the balance among the PoC PPT calling success rate, the connection time delay, the network load and the terminal power consumption.
Optionally, the determining the target sending interval according to the first information and the second information includes: judging whether the battery electric quantity is less than or equal to a PoC low-power consumption battery threshold; if the battery power is less than or equal to the PoC low-power battery threshold, judging whether the PoC connection time delay requirement is greater than or equal to the DRX period; if the PoC connection time delay requirement is larger than or equal to the DRX period, judging whether the sending interval of the current heartbeat packet is smaller than or equal to the RRC connection holding time without service; and if the current heartbeat packet sending interval is less than or equal to the non-service RRC connection holding time or the PoC connection delay requirement is less than the DRX period, determining the target sending interval according to the cloud server load and the battery power.
After the cloud server receives the heartbeat packet and analyzes the first information, if the first information comprises battery power, the cloud server firstly judges whether the battery power of the PoC terminal is less than or equal to a PoC low-power battery threshold in order to avoid the power shortage of the PoC terminal, and when the battery power of the PoC terminal is less than or equal to the PoC low-power battery threshold, the PoC terminal may be in an Idle state in order to reduce the power consumption of the PoC terminal. Therefore, when the first information includes the DRX cycle, the cloud server determines whether the DRX cycle in the Idle state causes the PoC connection delay to be exceeded, that is, whether the PoC connection delay requirement is greater than or equal to the DRX cycle in the Idle state, and if the PoC connection delay requirement is greater than or equal to the DRX cycle in the Idle state, the PoC terminal needs to maintain a connection state in the wireless public network in order to meet the connection delay requirement for the PPT service; the PoC connection delay requirement is less than the DRX period in the Idle state, and the PoC terminal can be in a connected state or an Idle state in the wireless public network. Further, when the PoC terminal is in a connected state, the PoC terminal needs to send a heartbeat packet before RRC connection release, so that when the first information includes RRC connection holding time without service, the cloud server determines whether a current heartbeat packet sending interval is less than or equal to RRC connection holding time without service, and if the current heartbeat packet sending interval is less than or equal to the RRC connection holding time without service, the cloud server may comprehensively select a target sending interval according to a current network state, a cloud server load, and a battery power of the PoC terminal.
Optionally, the method further includes: and if the current heartbeat packet sending interval is larger than the RRC connection holding time without the service, determining that the target sending interval is the maximum value of the heartbeat packet sending interval which is smaller than the RRC connection holding time without the service.
Specifically, if the current heartbeat packet transmission interval is greater than the non-service RRC connection holding time, it indicates that the PoC terminal may not be able to transmit the heartbeat packet before RRC connection release, so the cloud server needs to shorten the heartbeat packet transmission interval, specifically, the cloud server selects a maximum value of the heartbeat packet transmission interval that is less than the non-service RRC connection holding time as a target transmission interval, so that the PoC terminal can transmit the heartbeat packet before RRC connection release. For example, suppose four levels, i.e., a PoC on-Delay requirement Delay _ threshold is 500ms, and a PoC service heartbeat packet transmission interval T _ keep is 0,1,2, and 3, which correspond to 10s, 15s, 25s, and 50s, respectively. If the current heartbeat sending interval is of a grade 2 and the RRD release time is 15s, at this time, the current heartbeat packet sending interval is greater than the RRC connection holding time when no service exists, and the cloud server needs to shorten the heartbeat packet sending interval, so the cloud server can set the target sending interval to be of a grade 1.
Optionally, the method further includes: if the battery capacity of the PoC terminal is larger than the PoC low-power battery threshold, judging whether the PoC terminal supports a low-power mode; if the PoC terminal supports a low power consumption mode, determining that the target sending interval is the maximum heartbeat packet sending interval; otherwise, judging whether the PoC connection time delay requirement is larger than or equal to the DRX period.
In a specific implementation, if the battery power of the PoC terminal is greater than the PoC low-power battery threshold, it indicates that the battery power of the PoC terminal is sufficient. If the PoC terminal supports the low power consumption mode, that is, the PoC terminal allows the low power consumption mode to be used, the PoC terminal may be in an idle state, and in order to reduce power consumption of the PoC terminal and extend standby time, the cloud server may select a maximum heartbeat packet transmission interval as a target transmission interval. If the PoC terminal does not support the low power consumption mode, in order to ensure that the PoC connection delay can be satisfied, the cloud server needs to determine whether the current DRX cycle causes the PoC connection delay to exceed a standard. If the PoC connection time delay requirement is larger than or equal to the DRX period, the PoC terminal needs to keep a connection state in the wireless public network; if the PoC connection delay requirement is less than the DRX period, the PoC terminal can be in a connection state or an idle state in the wireless public network. For example, assume that the PoC on-Delay requirement Delay _ threshold is 500ms, the PoC low-power Battery threshold Battery _ threshold is 0-15%, the Battery level of the PoC terminal is not 70%, and the PoC service heartbeat packet transmission interval T _ keep is 0,1,2, and 3, which correspond to 10s, 15s, 25s, and 50s, respectively, the current heartbeat transmission interval is 2, and if the PoC terminal supports the low-power mode, the cloud server sets the target transmission interval to 3 levels.
Optionally, the method further includes: judging whether third information meets a first condition, wherein the third information comprises at least one of the following items: the PoC average calling time delay, the heartbeat packet average response time delay and the wireless signal quality; if the third information meets the first condition, determining that the target sending interval is larger than the current heartbeat packet sending interval, otherwise, determining that the target sending interval is smaller than or equal to the current heartbeat packet sending interval.
Wherein the first condition is: the PoC average calling time delay is less than or equal to an average calling time delay threshold, the heartbeat packet average response time delay is less than or equal to the current heartbeat packet sending interval, the wireless signal quality is greater than a wireless signal quality threshold, and the heartbeat packet average response time delay is less than or equal to a heartbeat packet average response time delay threshold.
Specifically, the network performance of the PoC terminal is also an important factor that affects the PoC call delay, so the cloud server may count the overall average performance of the network over a period of time, and adjust the heartbeat packet transmission interval according to the overall average performance of the network. Specifically, when the third information satisfies the first condition, it indicates that the overall network quality of the PoC terminal meets the requirement, and the cloud server may extend the heartbeat packet transmission interval to reduce PoC terminal power consumption and cloud server load. When the third information does not satisfy the first condition, it indicates that the overall network quality of the PoC terminal is poor, and in order to ensure the quality of PoC communication, the cloud server needs to shorten a heartbeat packet transmission interval, so that the cloud server can receive the heartbeat packet.
Optionally, the method further includes: judging whether the target sending interval is larger than or equal to the RRC connection holding time without the service; if the target sending interval is greater than or equal to the RRC connection holding time without the service, the target sending interval is held; and if the target sending interval is smaller than the RRC connection holding time without the service, determining that the target sending interval is smaller than the current heartbeat packet sending interval.
Further, after the cloud server extends the heartbeat packet transmission interval, in order to avoid that the target transmission interval is too long, so that the PoC terminal cannot transmit the heartbeat packet before the RRC connection is released, the cloud server may determine whether the target transmission interval is greater than or equal to the RRC connection holding time when there is no service; and if the target sending interval is greater than or equal to the RRC connection holding time without service, indicating that the target sending interval meets the requirement. If the target sending interval is smaller than the RRC connection holding time without the service, it indicates that the target sending interval makes the PoC terminal unable to send the heartbeat packet before the RRC connection is released, so the cloud server needs to reduce the target sending interval, so that the target sending interval is smaller than the RRC connection holding time without the service.
In the embodiment of the application, the cloud server dynamically adjusts the sending time interval of the current PoC terminal heartbeat packet according to the wireless network configuration condition (DRX period, RRC connection holding time without service) reported by the PoC terminal in the heartbeat packet, the wireless signal quality and the electric quantity information, meanwhile, according to the statistics of the time delay of the received PoC terminal heartbeat packet, the statistics of the connection time delay of the called PoC terminal PPT service, the current cloud server load and the time delay requirement of the current PoC terminal PPT service, so as to achieve the balance among the PoC PPT call success rate, the connection time delay, the network load and the terminal power consumption.
Specifically, as shown in fig. 4, fig. 4 is a schematic flowchart of determining a target transmission interval according to an embodiment of the present application.
As shown in fig. 4, the method specifically includes the following steps:
s401, the cloud server analyzes the heartbeat packet to obtain battery power, DRX period, RRC connection holding time in the absence of service and wireless signal quality;
s402, the cloud server judges whether the battery power is less than or equal to a PoC low-power battery threshold;
s403, when the battery power of the PoC terminal is larger than the PoC low-power battery threshold, the cloud server judges whether the PoC terminal supports the low-power mode;
s404, when the PoC terminal supports the low power consumption mode, the cloud server determines that the target sending interval is the maximum heartbeat packet sending interval;
s405, when the PoC terminal does not support the low power consumption mode or the battery power is less than or equal to the PoC low power consumption battery threshold, the cloud server judges whether the PoC connection time delay requirement is greater than or equal to the DRX period;
s406, when the PoC connection delay requirement is larger than or equal to a DRX period, the cloud server judges whether the sending interval of the current heartbeat packet is smaller than or equal to RRC connection holding time when no service exists;
s407, when the current heartbeat packet sending interval is larger than the RRC connection holding time without the service, the cloud server determines that the target sending interval is the maximum value of the heartbeat packet sending interval which is smaller than the RRC connection holding time without the service;
s408, when the sending interval of the current heartbeat packet is less than or equal to the RRC connection holding time when no service exists or the PoC connection time delay requirement is less than the DRX period, the cloud server judges whether the third information meets a first condition;
s409, when the third information meets the first condition, the cloud server determines that the target sending interval is larger than the current heartbeat packet sending interval;
and S410, when the third information does not meet the first condition, the cloud server determines that the target sending interval is smaller than or equal to the current heartbeat packet sending interval.
The specific implementation manners of S401 to S410 may refer to the above implementation manners, and are not described herein again.
S230, the cloud server sends a heartbeat packet response to the PoC terminal, wherein the heartbeat packet response comprises the target sending interval.
Specifically, after the cloud server synthetically selects the target sending interval, the cloud server may carry the target sending interval in a heartbeat packet response message to the PoC terminal, and send the updated heartbeat packet sending interval to the PoC terminal.
S240, the PoC terminal receives the heartbeat packet response from the cloud server and adjusts the sending time of the heartbeat packet according to the target sending interval.
After receiving the heartbeat packet response, the PoC terminal updates the heartbeat packet sending interval according to the target sending interval sent by the cloud server. Illustratively, after updating the heartbeat packet transmission interval, the PoC terminal continues to measure the wireless network state and/or the power state so as to enable the cloud server to dynamically adjust the heartbeat packet transmission period in real time when the next heartbeat packet is transmitted. Illustratively, the PoC terminal may also send a bearer and heartbeat packet, which periodically measures a wireless network status and/or a power status, to the cloud server.
The method comprises the steps that the PoC terminal sends a heartbeat packet to a cloud server, wherein the heartbeat packet comprises first information, and the first information is used for indicating the current electric quantity state and/or the wireless network state of the PoC terminal; the PoC terminal receives a heartbeat packet response from the cloud server, wherein the heartbeat packet response comprises a target sending interval, and the target sending interval is determined by the cloud server according to the first information; the PoC terminal adjusts the transmission time of the heartbeat packet according to the target transmission interval. The PoC terminal in the application can adjust the sending interval of the heartbeat packet of the PoC terminal through receiving the target sending interval determined by the cloud server according to the reported first information, thereby realizing the dynamic adjustment of the sending interval of the heartbeat packet of the PoC terminal, and achieving the balance among the PoC PPT calling success rate, the connection delay, the network load and the PoC terminal power consumption.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the network device includes hardware structures and/or software modules for performing the functions in order to realize the functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
Referring to fig. 5, fig. 5 is a block diagram of functional units of an apparatus 500 for adjusting a PoC heartbeat packet sending interval according to an embodiment of the present application, where the apparatus 500 may be a PoC terminal or a cloud server, and the apparatus 500 includes: a transceiving unit 510 and a processing unit 520.
In one possible implementation, the apparatus 500 is configured to perform various procedures and steps corresponding to the PoC terminal in the above method.
The transceiver unit 510 is configured to send a heartbeat packet to a cloud server, where the heartbeat packet includes first information, and the first information is used to indicate a current power state and/or a wireless network state of the PoC terminal;
the transceiver unit 510 is further configured to receive a heartbeat packet response from the cloud server, where the heartbeat packet response includes a target sending interval;
the processing unit 520 is configured to adjust the sending time of the heartbeat packet according to the target sending interval.
Optionally, the first information includes at least one of: discontinuous Reception (DRX) cycle, RRC connection hold time without service, radio signal quality and battery power.
In another possible implementation manner, the apparatus 500 is configured to execute the respective processes and steps corresponding to the cloud server in the foregoing method.
The transceiver unit 510 is configured to receive a heartbeat packet from a PoC terminal, where the heartbeat packet includes first information, and the first information is used to indicate a current power state and/or a wireless network state of the PoC terminal;
the processing unit 520 is configured to determine a target sending interval according to the first information;
the transceiver unit 510 is further configured to send a heartbeat packet response to the PoC terminal, where the heartbeat packet response includes the target sending interval.
Optionally, the first information includes at least one of: discontinuous Reception (DRX) cycle, RRC connection holding time without service, radio signal quality and battery power.
Optionally, in terms of determining the target sending interval according to the first information, the processing unit 520 is specifically configured to:
obtaining second information, the second information comprising at least one of: PoC connection time delay requirement, PoC average call time delay, heartbeat packet average response time delay and cloud server load; and determining the target sending interval according to the first information and the second information.
Optionally, in terms of determining the target transmission interval according to the first information and the second information, the processing unit 520 is specifically configured to: judging whether the battery power is less than or equal to a PoC low-power battery threshold; if the battery power is less than or equal to the PoC low-power battery threshold, judging whether the PoC connection time delay requirement is greater than or equal to the DRX period; if the PoC connection time delay requirement is larger than or equal to the DRX period, judging whether the sending interval of the current heartbeat packet is smaller than or equal to the RRC connection holding time without service; and if the current heartbeat packet sending interval is less than or equal to the non-service RRC connection holding time or the PoC connection delay requirement is less than the DRX period, determining the target sending interval according to the cloud server load and the battery power.
Optionally, the processing unit 520 is further configured to: judging whether third information meets a first condition, wherein the third information comprises at least one of the following items: the PoC average calling time delay, the heartbeat packet average response time delay and the wireless signal quality; and if the third information meets the first condition, determining that the target sending interval is greater than the current heartbeat packet sending interval, otherwise, determining that the target sending interval is less than or equal to the current heartbeat packet sending interval.
Optionally, the processing unit 520 is further configured to: judging whether the target sending interval is larger than or equal to the RRC connection holding time without the service; if the target sending interval is greater than or equal to the RRC connection holding time without the service, the target sending interval is held; and if the target sending interval is smaller than the RRC connection holding time without the service, determining that the target sending interval is smaller than the current heartbeat packet sending interval.
Optionally, the processing unit 520 is further configured to: if the battery capacity of the PoC terminal is larger than the PoC low-power battery threshold, judging whether the PoC terminal supports a low-power mode; if the PoC terminal supports a low power consumption mode, determining the target sending interval as a maximum heartbeat packet sending interval; otherwise, judging whether the PoC connection time delay requirement is larger than or equal to the DRX period.
Optionally, the processing unit 520 is further configured to: and if the current heartbeat packet sending interval is larger than the RRC connection holding time without the service, determining that the target sending interval is the maximum value of the heartbeat packet sending interval which is smaller than the RRC connection holding time without the service.
Optionally, the first condition is: the PoC average calling time delay is less than or equal to an average calling time delay threshold, the heartbeat packet average response time delay is less than or equal to the current heartbeat packet sending interval, the wireless signal quality is greater than a wireless signal quality threshold, and the heartbeat packet average response time delay is less than or equal to a heartbeat packet average response time delay threshold.
It should be appreciated that the apparatus 500 herein is embodied in the form of a functional unit. The term "unit" herein may refer to an Application Specific Integrated Circuit (ASIC), an electronic circuit, a processor (e.g., a shared, dedicated, or group processor) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that support the described functionality. In an optional example, it may be understood by those skilled in the art that the apparatus 500 may be embodied as a PoC terminal and a cloud server in the foregoing embodiment, and the apparatus 500 may be configured to perform various procedures and/or steps corresponding to the PoC terminal and the cloud server in the foregoing method embodiment, and in order to avoid repetition, details are not described here again.
The apparatus 500 of each of the above aspects has a function of implementing corresponding steps executed by the PoC terminal and the cloud server in the above method; the functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software comprises one or more modules corresponding to the functions; for example, processing unit 520 may be replaced by a processor that performs the transceiving operations and associated processing operations in the various method embodiments, respectively.
In an embodiment of the present application, the apparatus 500 may also be a chip or a chip system, for example: system on chip (SoC). Correspondingly, the computing unit may be a computing circuit of the chip, and is not limited herein.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, where the electronic device includes: one or more processors, one or more memories, one or more communication interfaces, and one or more programs; the one or more programs are stored in the memory and configured to be executed by the one or more processors.
In one possible implementation, the electronic device is a PoC terminal, and the program includes instructions for performing the following steps:
sending a heartbeat packet to a cloud server, wherein the heartbeat packet comprises first information, and the first information is used for indicating the current electric quantity state and/or the wireless network state of the PoC terminal;
receiving a heartbeat packet response from the cloud server, wherein the heartbeat packet response comprises a target sending interval;
and adjusting the sending time of the heartbeat packet according to the target sending interval.
In another possible implementation manner, the electronic device is a cloud server, and the program includes instructions for performing the following steps:
receiving a heartbeat packet from a PoC terminal, wherein the heartbeat packet comprises first information, and the first information comprises the current electric quantity state and/or the wireless network state of the PoC terminal;
determining a target sending interval according to the first information;
and sending a heartbeat packet response to the PoC terminal, wherein the heartbeat packet response comprises the target sending interval.
All relevant contents of each scene related to the method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
It will be appreciated that the memory described above may include both read-only memory and random access memory, and provides instructions and data to the processor. The portion of memory may also include non-volatile random access memory. For example, the memory may also store device type information.
In the embodiment of the present application, the processor of the above apparatus may be a Central Processing Unit (CPU), and the processor may also be other general processors, Digital Signal Processors (DSP), Application Specific Integrated Circuits (ASIC), Field Programmable Gate Arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It is to be understood that reference to "at least one" in the embodiments of the present application means one or more, and "a plurality" means two or more. "and/or" describes the association relationship of the associated object, indicating that there may be three relationships, for example, a and/or B, which may indicate: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
And, unless stated to the contrary, the embodiments of the present application refer to the ordinal numbers "first", "second", etc., for distinguishing a plurality of objects, and do not limit the sequence, timing, priority, or importance of the plurality of objects. For example, the first information and the second information are different information only for distinguishing them from each other, and do not indicate a difference in the contents, priority, transmission order, importance, or the like of the two kinds of information.
In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software elements in a processor. The software elements may be located in ram, flash, rom, prom, or eprom, registers, among other storage media that are well known in the art. The storage medium is located in a memory, and a processor executes instructions in the memory, in combination with hardware thereof, to perform the steps of the above-described method. To avoid repetition, it is not described in detail here.
The embodiment of the application further provides a chip, where the chip is configured to output a heartbeat packet sent to a cloud server, where the heartbeat packet includes first information, and the first information is used to indicate a current electric quantity state and/or a wireless network state of the PoC terminal; the chip is also used for acquiring heartbeat packet response from the cloud server, wherein the heartbeat packet response comprises a target sending interval; the chip is also used for adjusting the sending time of the heartbeat packet according to the target sending interval.
The embodiment of the present application further provides a chip module, which includes a transceiver component and a chip, where the chip is configured to send a heartbeat packet response to the PoC terminal through the transceiver component, where the heartbeat packet response includes the target sending interval; the chip is used for receiving a heartbeat packet response from the cloud server through the transceiving component, and the heartbeat packet response comprises a target sending interval; the chip is further configured to adjust the sending time of the heartbeat packet according to the target sending interval.
The embodiment of the application further provides a chip, wherein the chip is used for acquiring a heartbeat packet from the PoC terminal, the heartbeat packet comprises first information, and the first information is used for indicating the current electric quantity state and/or the wireless network state of the PoC terminal; the chip is also used for determining a target sending interval according to the first information; the chip is also used for outputting a heartbeat packet response sent to the PoC terminal, and the heartbeat packet response comprises the target sending interval.
The embodiment of the application further provides a chip module, which comprises a transceiver component and a chip, wherein the chip is used for receiving a heartbeat packet from the PoC terminal through the transceiver component, the heartbeat packet comprises first information, and the first information is used for indicating the current electric quantity state and/or the wireless network state of the PoC terminal; the chip is used for determining a target sending interval according to the first information; the chip is further configured to send a heartbeat packet reply to the PoC terminal through the transceiver component, where the heartbeat packet reply includes the target sending interval.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods as described in the above method embodiments.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package.
It should be noted that for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be through some interfaces, indirect coupling or communication connection between devices or units, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiments of the present application.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially or partially contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, or a TRP, etc.) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash disk, ROM, RAM, magnetic or optical disk, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (15)

1. A method for adjusting a sending interval of a PoC heartbeat packet is characterized in that the method is applied to a PoC terminal and comprises the following steps:
sending a heartbeat packet to a cloud server, wherein the heartbeat packet comprises first information, the first information is used for indicating the current power state and/or the wireless network state of the PoC terminal, and the first information comprises at least one of the following information: discontinuous Reception (DRX) cycle, RRC connection holding time in no service, wireless signal quality and battery power;
receiving a heartbeat packet response from the cloud server, wherein the heartbeat packet response comprises a target sending interval, and the target sending interval is determined by the following steps: obtaining second information, wherein the second information comprises at least one of the following items: the method comprises the following steps of PoC connection delay requirement, PoC average calling delay, heartbeat packet average response delay and cloud server load; judging whether the battery electric quantity is less than or equal to a PoC low-power consumption battery threshold; if the battery power is less than or equal to the PoC low-power battery threshold, judging whether the PoC connection time delay requirement is greater than or equal to the DRX period; if the PoC connection time delay requirement is larger than or equal to the DRX period, judging whether the sending interval of the current heartbeat packet is smaller than or equal to the RRC connection holding time without service; if the current heartbeat packet sending interval is less than or equal to the non-service RRC connection holding time or the PoC connection delay requirement is less than the DRX period, determining the target sending interval according to the cloud server load and the battery power;
and adjusting the sending time of the heartbeat packet according to the target sending interval.
2. A method for adjusting a PoC heartbeat packet sending interval is applied to a cloud server, and the method comprises the following steps:
receiving a heartbeat packet from a PoC terminal, wherein the heartbeat packet comprises first information, the first information is used for indicating the current power state and/or the wireless network state of the PoC terminal, and the first information comprises at least one of the following items: discontinuous Reception (DRX) cycle, RRC connection holding time without service, wireless signal quality and battery power;
obtaining second information, the second information comprising at least one of: the method comprises the following steps of PoC connection delay requirement, PoC average calling delay, heartbeat packet average response delay and cloud server load;
judging whether the battery power is less than or equal to a PoC low-power battery threshold;
if the battery power is less than or equal to the PoC low-power battery threshold, judging whether the PoC connection time delay requirement is greater than or equal to the DRX period;
if the PoC connection time delay requirement is larger than or equal to the DRX period, judging whether the sending interval of the current heartbeat packet is smaller than or equal to the RRC connection holding time without service;
if the current heartbeat packet sending interval is less than or equal to the non-service RRC connection holding time or the PoC connection delay requirement is less than the DRX period, determining a target sending interval according to the cloud server load and the battery power;
and sending a heartbeat packet response to the PoC terminal, wherein the heartbeat packet response comprises the target sending interval.
3. The method of claim 2, further comprising:
judging whether third information meets a first condition, wherein the third information comprises at least one of the following items: the PoC average calling time delay, the heartbeat packet average response time delay and the wireless signal quality;
and if the third information meets the first condition, determining that the target sending interval is greater than the current heartbeat packet sending interval, otherwise, determining that the target sending interval is less than or equal to the current heartbeat packet sending interval.
4. The method of claim 3, further comprising:
judging whether the target sending interval is larger than or equal to the RRC connection holding time without the service;
if the target sending interval is greater than or equal to the RRC connection holding time without the service, the target sending interval is held;
and if the target sending interval is smaller than the RRC connection holding time without the service, determining that the target sending interval is smaller than the current heartbeat packet sending interval.
5. The method of claim 2, further comprising:
if the battery capacity of the PoC terminal is larger than the PoC low-power battery threshold, judging whether the PoC terminal supports a low-power mode;
if the PoC terminal supports a low power consumption mode, determining that the target sending interval is the maximum heartbeat packet sending interval; otherwise, judging whether the PoC connection time delay requirement is larger than or equal to the DRX period.
6. The method of claim 2, further comprising:
and if the current heartbeat packet sending interval is larger than the RRC connection holding time without the service, determining that the target sending interval is the maximum value of the heartbeat packet sending interval which is smaller than the RRC connection holding time without the service.
7. The method of claim 3, wherein the first condition is: the PoC average calling time delay is less than or equal to an average calling time delay threshold, the heartbeat packet average response time delay is less than or equal to the current heartbeat packet sending interval, the wireless signal quality is greater than a wireless signal quality threshold, and the heartbeat packet average response time delay is less than or equal to a heartbeat packet average response time delay threshold.
8. An apparatus for adjusting a PoC heartbeat packet transmission interval, applied to a PoC terminal, the apparatus comprising:
a transceiving unit, configured to send a heartbeat packet to a cloud server, where the heartbeat packet includes first information, where the first information is used to indicate a current power state and/or a wireless network state of the PoC terminal, and the first information includes at least one of the following: discontinuous Reception (DRX) cycle, RRC connection holding time without service, wireless signal quality and battery power;
the transceiving unit is further configured to receive a heartbeat packet response from the cloud server, where the heartbeat packet response includes a target sending interval, and the target sending interval is determined by: obtaining second information, the second information comprising at least one of: the method comprises the following steps of PoC connection delay requirement, PoC average calling delay, heartbeat packet average response delay and cloud server load; judging whether the battery power is less than or equal to a PoC low-power battery threshold; if the battery power is less than or equal to the PoC low-power battery threshold, judging whether the PoC connection time delay requirement is greater than or equal to the DRX period; if the PoC connection time delay requirement is larger than or equal to the DRX period, judging whether the sending interval of the current heartbeat packet is smaller than or equal to the RRC connection holding time without service; if the current heartbeat packet sending interval is less than or equal to the non-service RRC connection holding time or the PoC connection delay requirement is less than the DRX period, determining the target sending interval according to the cloud server load and the battery power;
and the processing unit is used for adjusting the sending time of the heartbeat packet according to the target sending interval.
9. An apparatus for adjusting a PoC heartbeat packet transmission interval, applied to a cloud server, the apparatus comprising:
a transceiving unit, configured to receive a heartbeat packet from a PoC terminal, where the heartbeat packet includes first information, where the first information is used to indicate a current power state and/or a wireless network state of the PoC terminal, and the first information includes at least one of the following: discontinuous Reception (DRX) cycle, RRC connection holding time without service, wireless signal quality and battery power;
a processing unit configured to obtain second information, the second information including at least one of: the method comprises the following steps of PoC connection delay requirement, PoC average calling delay, heartbeat packet average response delay and cloud server load; judging whether the battery power is less than or equal to a PoC low-power battery threshold; if the battery power is less than or equal to the PoC low-power battery threshold, judging whether the PoC connection time delay requirement is greater than or equal to the DRX period; if the PoC connection time delay requirement is larger than or equal to the DRX period, judging whether the sending interval of the current heartbeat packet is smaller than or equal to the RRC connection holding time without service; if the current heartbeat packet sending interval is less than or equal to the non-service RRC connection holding time or the PoC connection delay requirement is less than the DRX period, determining a target sending interval according to the cloud server load and the battery power;
the receiving and sending unit is further configured to send a heartbeat packet response to the PoC terminal, where the heartbeat packet response includes the target sending interval.
10. A chip, comprising a processor and a memory, wherein the processor is configured to output a heartbeat packet sent to a cloud server, and the heartbeat packet includes first information, and the first information is used to indicate a current power state and/or a wireless network state of a PoC terminal, and the first information includes at least one of: discontinuous Reception (DRX) cycle, RRC connection holding time without service, wireless signal quality and battery power;
the processor is further configured to obtain a heartbeat packet response from the cloud server, where the heartbeat packet response includes a target sending interval, and the target sending interval is determined by: obtaining second information, the second information comprising at least one of: the method comprises the following steps of PoC connection delay requirement, PoC average calling delay, heartbeat packet average response delay and cloud server load; judging whether the battery power is less than or equal to a PoC low-power battery threshold; if the battery power is less than or equal to the PoC low-power battery threshold, judging whether the PoC connection time delay requirement is greater than or equal to the DRX cycle; if the PoC connection time delay requirement is larger than or equal to the DRX period, judging whether the sending interval of the current heartbeat packet is smaller than or equal to the RRC connection holding time without service; if the current heartbeat packet sending interval is less than or equal to the non-service RRC connection holding time or the PoC connection delay requirement is less than the DRX period, determining the target sending interval according to the cloud server load and the battery power;
the processor is further configured to adjust a transmission time of the heartbeat packet according to the target transmission interval.
11. A chip module comprises a transceiver module and a chip, wherein,
the chip is used for sending a heartbeat packet to a cloud server through the transceiving component, the heartbeat packet includes first information, the first information is used for indicating the current power state and/or the wireless network state of the PoC terminal, and the first information includes at least one of the following: discontinuous Reception (DRX) cycle, RRC connection holding time without service, wireless signal quality and battery power;
the chip is configured to receive, by the transceiver component, a heartbeat packet response from the cloud server, where the heartbeat packet response includes a target transmission interval, and the target transmission interval is determined by: obtaining second information, wherein the second information comprises at least one of the following items: the method comprises the following steps of PoC connection delay requirement, PoC average calling delay, heartbeat packet average response delay and cloud server load; judging whether the battery power is less than or equal to a PoC low-power battery threshold; if the battery power is less than or equal to the PoC low-power battery threshold, judging whether the PoC connection time delay requirement is greater than or equal to the DRX cycle; if the PoC connection time delay requirement is larger than or equal to the DRX period, judging whether the sending interval of the current heartbeat packet is smaller than or equal to the RRC connection holding time without service; if the current heartbeat packet sending interval is less than or equal to the non-service RRC connection holding time or the PoC connection delay requirement is less than the DRX period, determining the target sending interval according to the cloud server load and the battery power;
the chip is further configured to adjust the sending time of the heartbeat packet according to the target sending interval.
12. A chip comprising a processor and a memory, the processor being configured to obtain a heartbeat packet from a PoC terminal, the heartbeat packet including first information, the first information being used to indicate a current power status and/or a wireless network status of the PoC terminal, the first information including at least one of: discontinuous Reception (DRX) cycle, RRC connection holding time without service, wireless signal quality and battery power;
the processor is further configured to obtain second information, the second information including at least one of: the method comprises the following steps of PoC connection delay requirement, PoC average calling delay, heartbeat packet average response delay and cloud server load; judging whether the battery power is less than or equal to a PoC low-power battery threshold; if the battery power is less than or equal to the PoC low-power battery threshold, judging whether the PoC connection time delay requirement is greater than or equal to the DRX period; if the PoC connection time delay requirement is larger than or equal to the DRX period, judging whether the sending interval of the current heartbeat packet is smaller than or equal to the RRC connection holding time without service; if the current heartbeat packet sending interval is less than or equal to the non-service RRC connection holding time or the PoC connection delay requirement is less than the DRX period, determining a target sending interval according to the cloud server load and the battery power;
the processor is further configured to output a heartbeat packet response sent to the PoC terminal, where the heartbeat packet response includes the target sending interval.
13. A chip module comprises a transceiver module and a chip, wherein,
the chip is used for receiving a heartbeat packet from a PoC terminal through the transceiving component, wherein the heartbeat packet comprises first information, the first information is used for indicating the current electric quantity state and/or the wireless network state of the PoC terminal, and the first information comprises at least one of the following information: discontinuous Reception (DRX) cycle, RRC connection holding time without service, wireless signal quality and battery power;
the chip is used for acquiring second information, and the second information comprises at least one of the following items: the method comprises the following steps of PoC connection delay requirement, PoC average calling delay, heartbeat packet average response delay and cloud server load; judging whether the battery power is less than or equal to a PoC low-power battery threshold; if the battery power is less than or equal to the PoC low-power battery threshold, judging whether the PoC connection time delay requirement is greater than or equal to the DRX period; if the PoC connection time delay requirement is larger than or equal to the DRX period, judging whether the sending interval of the current heartbeat packet is smaller than or equal to the RRC connection holding time without service; if the sending interval of the current heartbeat packet is smaller than or equal to the RRC connection holding time without service or the PoC connection delay requirement is smaller than the DRX period, determining a target sending interval according to the load of the cloud server and the electric quantity of the battery;
the chip is further configured to send a heartbeat packet reply to the PoC terminal through the transceiver component, where the heartbeat packet reply includes the target sending interval.
14. An electronic device, characterized in that the electronic device comprises a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of claim 1 or the steps in the method of any of claims 2-7.
15. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform the steps of the method of claim 1 or the steps of the method of any one of claims 2-7.
CN202110544082.6A 2021-05-18 2021-05-18 Method and device for adjusting PoC heartbeat packet sending interval Active CN113242611B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110544082.6A CN113242611B (en) 2021-05-18 2021-05-18 Method and device for adjusting PoC heartbeat packet sending interval

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110544082.6A CN113242611B (en) 2021-05-18 2021-05-18 Method and device for adjusting PoC heartbeat packet sending interval

Publications (2)

Publication Number Publication Date
CN113242611A CN113242611A (en) 2021-08-10
CN113242611B true CN113242611B (en) 2022-09-27

Family

ID=77137503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110544082.6A Active CN113242611B (en) 2021-05-18 2021-05-18 Method and device for adjusting PoC heartbeat packet sending interval

Country Status (1)

Country Link
CN (1) CN113242611B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114390072B (en) * 2021-12-17 2023-09-29 武汉慧联无限科技有限公司 Information processing method, device and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223257B (en) * 2011-07-25 2014-02-19 莫雅静 Heartbeat interval adjusting method, server, client terminal and communication system
CN103312766B (en) * 2011-11-15 2016-06-29 华为技术有限公司 A kind of method, system and device supporting applications client forever online
CN102932757A (en) * 2012-09-25 2013-02-13 百度在线网络技术(北京)有限公司 Heartbeat message sending method of mobile terminal, mobile terminal and information pushing system
CN103354667B (en) * 2013-06-28 2017-03-01 贵阳朗玛信息技术股份有限公司 Talking connection processing method and processing device
CN104703146B (en) * 2013-12-09 2019-03-08 腾讯科技(深圳)有限公司 Information-pushing method, client and system
CN103634746B (en) * 2013-12-13 2017-05-17 中国人民解放军重庆通信学院 Method and apparatus for keeping PoC continuous connection handling capacity
CN109150670B (en) * 2018-11-05 2020-11-27 中通天鸿(北京)通信科技股份有限公司 Heartbeat method and system for maintaining connection

Also Published As

Publication number Publication date
CN113242611A (en) 2021-08-10

Similar Documents

Publication Publication Date Title
JP6482364B2 (en) Deterministic RRC connection
JP6054462B2 (en) Postponing application data based on network load
CN111356216B (en) Communication method and related equipment thereof
US10736033B2 (en) Secondary cell group configuration
US11930381B2 (en) Backup link for low latency communication
JP6145126B2 (en) Coordinate operation of application and baseband layer
WO2008084938A1 (en) A method of reporting measurement information in packet based cellular system
US11129052B2 (en) Radio network node, wireless device and methods performed therein
JP2014531157A (en) Communication terminal and communication method
US10779234B2 (en) Transmission mode switching method and apparatus
US9332550B2 (en) Controlling fast dormancy
US11490400B2 (en) End node, relay node, and methods performed therein for handling transmission of information
US11812255B2 (en) Congestion aware DRX_ON adaptation in sidelink unicast
US20220030565A1 (en) Method and device for adjusting pdcch monitoring period
US8305894B1 (en) Paging channel queue management based on load
CN113242611B (en) Method and device for adjusting PoC heartbeat packet sending interval
JP6629428B2 (en) Wireless local area network WLAN measurement and reporting method and related devices
WO2022073246A1 (en) Communication method and apparatus
WO2018177298A1 (en) Load balancing method and device
CN111670588B (en) Information transmission method, user equipment, base station equipment and computer storage medium
US20240015649A1 (en) Multi-link target wake time (twt)
WO2023151612A1 (en) Communication method and communication apparatus
CN115884100A (en) Communication method and device
CN115412860A (en) Group calling configuration, receiving method and device, and computer readable storage medium
KR20090083886A (en) Method of transmitting and receiving control information in a mobile communications system

Legal Events

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