CN112532264B - Power consumption optimization method of talkback terminal and execution device thereof - Google Patents

Power consumption optimization method of talkback terminal and execution device thereof Download PDF

Info

Publication number
CN112532264B
CN112532264B CN202011359155.6A CN202011359155A CN112532264B CN 112532264 B CN112532264 B CN 112532264B CN 202011359155 A CN202011359155 A CN 202011359155A CN 112532264 B CN112532264 B CN 112532264B
Authority
CN
China
Prior art keywords
service
communicated
terminal
triggered
preset
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
CN202011359155.6A
Other languages
Chinese (zh)
Other versions
CN112532264A (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.)
Shijiazhuang Shanli Tongyi Technology Co ltd
Original Assignee
Shijiazhuang Shanli Tongyi Technology 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 Shijiazhuang Shanli Tongyi Technology Co ltd filed Critical Shijiazhuang Shanli Tongyi Technology Co ltd
Priority to CN202011359155.6A priority Critical patent/CN112532264B/en
Publication of CN112532264A publication Critical patent/CN112532264A/en
Application granted granted Critical
Publication of CN112532264B publication Critical patent/CN112532264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/3827Portable transceivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a power consumption optimization method of an intercom terminal and an execution device thereof, belonging to the field of power consumption optimization methods of intercom terminals.A plurality of service modules are executed on the terminal, and the terminal stops moving and enters a dormant state; acquiring a predetermined service list to be communicated, wherein all service modules contained in the service list to be communicated are sequentially triggered in a preset time period; the service module maintains a long link with the server, and the service module maintains the heartbeat packet of the long link and the data packet for circulating data to be sequentially sent in a time-adjacent manner in at least one triggered time period.

Description

Power consumption optimization method of talkback terminal and execution device thereof
Technical Field
The invention relates to the field of power consumption optimization methods for talkback terminals, in particular to a power consumption optimization method for a talkback terminal and an execution device thereof.
Background
The POC group talkback service is a fast and immediate conversation initiating service performed by applying a public network to limit the contact of terminals all over the country to a signal propagation range, and generally comprises a terminal, a signal broadcasting tower or a signal broadcasting base station, an ethernet network, a server for receiving remote transmission signals, and an talkback network group for receiving centralized management of a platform and a dispatching desk.
The sending process of the heartbeat packet is also accompanied with the processes of starting, uploading, interacting and the like of various to-be-communicated services, the interacting process is substantially the input of the pin high level of the corresponding module, therefore, frequent heartbeat and multi-to-be-communicated service triggering can form a plurality of discontinuous high levels, each high level is the one-time starting, action and closing process of the module, a large amount of electric quantity can be consumed in the starting process of the module, and a large amount of electric quantity can be consumed along with the action of the module, therefore, a plurality of bulges which frequently consume electricity can be presented on the electricity consumption oscillogram of the terminal, and all the bulges are mutually separated, the current is discontinuous, the whole body is in the high level state for a long time, the electricity can be continuously consumed, and the user experience is very poor.
Disclosure of Invention
The embodiment of the invention provides a power consumption optimization method of an intercom terminal and an execution device thereof, which at least solve the technical problems of logic disorder and higher power consumption of the existing module trigger rule.
The above technical problems are solved by the following methods
A power consumption optimization method for a talkback terminal, on which a plurality of services to be communicated are executed, comprises
The terminal stops moving and enters a dormant state;
acquiring a predetermined service list to be communicated, wherein each service to be communicated contained in the service list to be communicated is sequentially triggered in a preset time period;
the duration of all triggered services in the list of the services to be communicated is the triggered duration, and the heartbeat packet and the data packet for streaming data, which are kept in long link with the server by the services to be communicated, are sequentially sent in time adjacency in at least one triggered duration.
Further, the preset duration is a trigger period, and the duration setting rule of the trigger period includes:
the trigger periods of the respective services to be communicated are all preset to be N seconds, N is a positive number, or
The trigger period of the plurality of services to be communicated is preset to be N seconds, the rest services to be communicated are preset to be A x N seconds, N is a positive number, A is a positive integer, or
The triggering period of each service to be communicated is preset to be N 1 -N n Of any one time value, N 1 -N n Any time value in the time sequence is A x N seconds, N is a positive number, and A is a positive integer;
the services to be communicated which are simultaneously triggered in the same trigger period are sequentially and continuously triggered in sequence.
Further, the heartbeat packet and the data packet for streaming data, which are maintained to be in long link by the service to be communicated, are sequentially sent in time adjacency in at least one triggering period, including,
the heartbeat packet and the data packet are transmitted in turn in each transmission period, or
The transmission cycle of the data packets is integral multiple of the transmission cycle of the heartbeat packets, and the data packets are sequentially transmitted in the overlapped transmission cycles.
Further, the service to be communicated comprises a function service and a long link maintaining service, wherein the function service is used for sending a data packet of the streaming data, and the long link maintaining service is used for sending a heartbeat packet.
Further, before or after the step of the terminal stopping activity entering the dormant state,
monitoring the electric quantity of the terminal, wherein the electric quantity of the terminal in unit time exceeds a preset electric quantity, each service to be communicated in the service list to be communicated is grouped again according to a preset necessary service definition to be communicated and a non-necessary service definition to be communicated, and the services to be communicated in the non-necessary service grouping are sequentially shifted out of the service list to be communicated from low to high according to the weight.
An executing device of power consumption optimization method for talkback terminal, wherein the terminal executes a plurality of services to be communicated and stops moving to enter a dormant state, comprises
The triggering unit is used for acquiring a predetermined service list to be communicated, and each service to be communicated contained in the service list to be communicated is sequentially triggered at a preset time period;
the duration of all triggered services in the list of the services to be communicated is the triggered duration, and the heartbeat packet and the data packet for streaming data, which are kept in long link with the server by the services to be communicated, are sequentially sent in time adjacency in at least one triggered duration.
Further, a determination module is included, the determination module being configured to cause:
the trigger periods of the respective services to be communicated are all preset to be N seconds, N is a positive number, or
The trigger period of the multiple services to be communicated is preset to N seconds, the rest services to be communicated are preset to A × N seconds, N is a positive number, A is a positive integer, or
The triggering period of each service to be communicated is preset to be N 1 -N n Of any one time value, N 1 -N n Any time value in the time sequence is A x N seconds, N is a positive number, and A is a positive integer;
the services to be communicated which are simultaneously triggered in the same trigger period are sequentially and continuously triggered in sequence.
Further, the device also comprises a triggering module which enables the heartbeat packet and the data packet to be sent in turn in each sending period, or
The transmission cycle of the data packets is an integral multiple of the transmission cycle of the heartbeat packets, and the data packets are sequentially transmitted in the overlapped transmission cycles.
Further, the service to be communicated includes a functional service and a long link maintaining service, the functional service is used for sending a data packet of the streaming data, and the long link maintaining service is used for sending a heartbeat packet.
Further, the method also comprises a monitoring module, before or after the step of the terminal stopping activity entering the dormant state,
the monitoring module is used for monitoring the electric quantity of the terminal, the electric quantity of the terminal in unit time exceeds a preset electric power-off value, each service to be communicated in the service list to be communicated is grouped again according to a preset necessary service definition to be communicated and a non-necessary service definition to be communicated, and the services to be communicated in the non-necessary service grouping are sequentially shifted out of the service list to be communicated from low to high according to the weight.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is an overall flow chart of the present invention.
Fig. 2 is a level diagram and steps of the same-cycle sequential trigger of the to-be-communicated service.
Fig. 3 is a level diagram and steps for non-co-periodic triggering of the pending communication service.
Fig. 4 is a diagram of the trigger levels and steps for waiting for communication service.
Fig. 5 is a prior art level diagram and steps.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms in the description and claims of the present invention and the drawings are used for distinguishing similar objects, and the terms first, second, etc. do not refer to the technical solutions disclosed in the present invention in a sequential order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
As shown in fig. 1 and fig. 2, a plurality of services to be communicated are executed on a terminal, where the services to be communicated include a service to be communicated for maintaining a long link connection, a service to be communicated for transmitting a data packet of streaming data, a time synchronization module for returning necessary synchronous time information, a position acquisition module for uploading positioning position information, a POC module for receiving online and offline information of other group members, a POC module for receiving voice initiation conditions of other group members, and a prompt module for playing a prompt tone.
S201, the terminal stops moving and enters a dormant state;
the terminal executes a sleep mode, reduces the CPU and cache trigger frequency, and reduces the supply voltage.
S202, acquiring a predetermined list of services to be communicated to be triggered, wherein each service to be communicated contained in the list of services to be communicated to be triggered is periodically and sequentially triggered by taking a preset time length as a trigger period;
the service to be communicated is pre-allocated to the silent list and should trigger the list of the service to be communicated, the service to be communicated is completely silent when entering the silent list of the sleep mode, the list of the service to be communicated is triggered when entering the sleep mode, namely, according to the triggering period, the periodic response is carried out,
the duration of triggering all the services to be communicated in the list of the services to be communicated is a triggered duration, the services to be communicated and the server maintain a long link, heartbeat packets and data packets for circulating data, which are maintained by the services to be communicated, are sequentially sent in a time-adjacent manner in at least one triggered duration, and a next triggering period is started after the triggered duration is finished.
The method comprises the steps that a long link is established between a communication service and a server request, the long link is maintained after the long link is established, the heartbeat packet of the long link is maintained by the communication service to be different from the trigger frequency of a data packet for circulating data, the trigger frequency of the heartbeat packet is smaller than the trigger frequency of the data packet, the ratio of the trigger frequency of the data packet to the trigger frequency of the heartbeat packet is a positive integer, the trigger period of a positive integral multiple time period of the heartbeat packet is necessarily in the same trigger period as the trigger period of the data packet, and the heartbeat packet and the data packet are sequenced and sequentially triggered to send corresponding data.
The long link establishment process is as follows:
each terminal distributes a unique random array before sending the link request, the random array is the corresponding number of the link request, the service gateway forwards the link request to the corresponding service instance, and the service instance comprises the POC service instance.
POC service example receives each link request to inquire the authority of database service identification terminal, service example determines unique corresponding random number for each random array after identification, returns the preset type long survival or indefinite survival response with random number to the terminal with the terminal corresponding to each random array as destination,
the sending process and the returning process are circulated for N times, N is a positive integer, the link establishment relation is determined, the service instance and each terminal respectively establish independent corresponding communication links, the corresponding relation that a plurality of terminals respectively correspond to one communication link and correspond to one service instance is realized, the terminal and the service instance establish the communication links and then inform the establishment of the link of the newly-added service instance, the information is forwarded through the database and read by the shared cache, and the communication ports of the terminal and the service instance are excited to be in a continuous state to be received/sent:
the service instance is circularly self-checked to carry the data packet of the random array in the predefined format, and the terminal is circularly self-checked to carry the data packet of the random number in the predefined format.
And uploading the random numbers and the random array corresponding table values to a database service, sharing the information to a shared cache by the database service, and establishing a key value table of the random numbers and the random arrays.
The terminal establishes a channel with the existing service instance, the server sends signaling to the terminal through the channel or uploads a signaling request reversely to realize communication,
the trigger period is as follows: and triggering the service to be communicated at intervals of preset time, wherein the preset time is a triggering period.
Triggered duration segment: the triggered time length of the triggered service to be communicated is from the end of the previous trigger period to the beginning of the next trigger period, the triggered time length is a triggered time length, and the time from the triggered time of the service to be communicated to the time when all the services to be communicated to be triggered are triggered is a triggered time length.
By the method, the heartbeat packet and the data packet can be operated at low frequency and can be ensured to be executed successively in the same time period, the triggering duration of each trigger is effectively reduced, the module opening and closing frequency is effectively reduced, power consumption caused by frequent opening and closing is prevented, modules are triggered in order, the whole silent period is prolonged, electric quantity loss caused by frequent receiving and discharging of capacitors in the process of level rising edge and level falling edge is prevented, and the standby time is effectively prolonged.
As shown in fig. 2 to 4, optionally, the rule for setting the duration of the trigger period includes:
case 1: as shown in fig. 2, the trigger periods of the respective services to be communicated are all preset to be N seconds, where N is a positive number.
The method comprises the following steps that the services to be communicated are grouped in a list of the services to be communicated, a necessary module for maintaining the survival of a terminal network enters a first group, a module for assisting the survival of the terminal network enters a second group, the triggering frequencies of the services to be communicated in the first group and the services to be communicated in the second group are set to be N seconds, the triggering is carried out at intervals of N seconds and at equal periods, when the triggering is carried out, the triggering is carried out at the moment corresponding to the same triggering period, and the triggering rule is as follows:
1. triggering in sequence
(1) When a plurality of services to be triggered are detected at the same moment, a triggering time sequence is distributed for each service to be triggered in sequence, each service to be triggered is triggered in sequence according to the triggering time sequence, and a triggered time period is completed after all the services to be triggered are triggered.
If the service to be communicated is not triggered, waiting for the service to be communicated to be triggered within a preset waiting time, and if the waiting time is longer than the preset waiting time, preferentially triggering the next service to be communicated to ensure that all the services to be communicated are triggered at the same high level;
2. preset trigger
(1) Allocating a trigger time sequence for each service to be communicated in sequence, and calculating or allocating preset trigger cycle duration;
(2) equally dividing the triggering cycle duration according to the number of the services to be communicated to obtain the module triggering duration of each service to be communicated;
(3) allocating a trigger time sequence to each service to be communicated, and sequentially triggering the services to be communicated according to the trigger time sequence;
(4) triggering the service to be communicated within the corresponding module triggering time length, if the triggering time is longer than the triggering time length, determining that the service to be communicated is triggered to skip the next time sequence service to be communicated when the triggering time is overtime, and simultaneously increasing the time sequence of the service to be communicated which is not triggered to the end of the time sequence so as to ensure that all the services to be communicated are triggered at the same high level;
the trigger mode of sequentially triggering and presetting triggering simultaneously ensures that all the services to be communicated can be sequentially triggered at the same high level, so that the electric quantity consumption caused by the sinking of the level in the middle way is prevented, and the preset trigger mode can effectively shorten the trigger period and further reduce the electric quantity consumption.
The method has the advantages that the thread occupation is reduced, necessary modules are classified into single threads, no new threads are opened, the electric quantity consumption of a CPU can be reduced, the triggering rule is executed, and compared with the existing standby scheme, the method has great advantages.
Optionally, or
Case 2: as shown in fig. 3, the trigger period of each service to be communicated is preset to be N seconds, the rest services to be communicated are preset to be a × N seconds, N is a positive number, a is a positive integer,
the services to be communicated are triggered to be grouped in the list of the services to be communicated, necessary services to be communicated for maintaining the survival of the terminal network enter a first group, services to be communicated for assisting the survival of the terminal network enter a second group, the triggering frequencies of the services to be communicated in the first group are all set to be N seconds, the triggering frequencies of the services to be communicated in the second group are all set to be A x N seconds, N is a positive number, and A is a positive integer.
The trigger periods of A of the first packet and positive integral multiple of each A are coincided with the trigger period of the second packet, and the trigger rule is as follows:
1. triggering in sequence
(1) And B, when the triggering period of A of the first group and the positive integral multiple of each A is reached, the second group is triggered at the same time, the first group and the second group are sequenced in sequence, triggering time sequences are distributed to all the sequenced services to be communicated, the services to be communicated are triggered in sequence according to the triggering time sequences, and a triggered time period is completed after all the services to be communicated are triggered.
If the service to be communicated is not triggered, waiting for the service to be communicated to be triggered within a preset waiting time, and if the waiting time is longer than the preset waiting time, preferentially triggering the next service to be communicated to ensure that all the services to be communicated are triggered at the same high level;
2. preset trigger
(1) When the number of trigger cycles is A and the positive integral multiple of each A, the first group and the second group are sequentially sequenced, all the sequenced services to be communicated are not distributed with trigger time sequences or preset trigger cycle duration, and when the trigger cycles are remained, the trigger time sequences are only distributed to the first group to calculate or distribute the preset trigger cycle duration;
(2) equally dividing the triggering period duration according to the number of the services to be communicated to obtain the module triggering duration of each service to be communicated;
(3) allocating a trigger time sequence to each service to be communicated, and sequentially triggering the services to be communicated according to the trigger time sequence;
(4) triggering the service to be communicated within the corresponding module triggering duration, skipping the service to be communicated to trigger the next time sequence service to be communicated if the triggering is overtime, and simultaneously adding the time sequence of the service to be communicated which is not triggered to the end of the time sequence to ensure that all the services to be communicated are triggered at the same high level;
the trigger modes of sequential triggering and preset triggering simultaneously ensure that all services to be communicated can be sequentially triggered at the same high level, so that the power consumption caused by the level depression in the middle way is prevented, and the preset trigger mode can effectively shorten the trigger period and act steps to further reduce the power consumption.
The method has the advantages that the thread occupation is reduced, necessary modules are classified into single threads, no new threads are opened, the electric quantity consumption of a CPU can be reduced, the triggering rule is executed, and compared with the existing standby scheme, the method has great advantages.
Case 3:
or
As shown in fig. 4, the trigger period of each service to be communicated is preset to N 1 -N n Of any one time value, N 1 -N n Any time value in the time sequence is A x N seconds, N is a positive number, and A is a positive integer;
presetting the service to be communicated to N in the list of the service to be communicated to be triggered 1 -N n Of any one time value, N 1 -N n The time value of any one of the time values is A × N seconds, N is a positive number, A is a positive integer, the trigger periods of the communication services to be communicated are different, the communication services to be communicated are circularly triggered by preset trigger periods respectively, and the trigger intervals are the difference values of the corresponding trigger periods.
Optionally, the heartbeat packet and the data packet for streaming data that are to be communicated and maintain a long link are sequentially sent in time-adjacent manner at least in one trigger period, including,
the heartbeat packet and the data packet are transmitted in turn in each transmission cycle, or
The transmission cycle of the data packets is integral multiple of the transmission cycle of the heartbeat packets, and the data packets are sequentially transmitted in the overlapped transmission cycles.
The data packet and the heartbeat packet are kept to be triggered in the same high level in a centralized mode, the triggering time can be effectively shortened, and the electric quantity consumption is reduced.
Optionally, the service to be communicated includes a function service to be communicated and a long-chain connection maintenance service to be communicated, the function service to be communicated is used for sending a data packet of the streaming data, and the long-chain connection maintenance service to be communicated is used for sending a heartbeat packet.
Optionally, the terminal stops moving to enter the dormant state, including
Each service to be communicated comprises a bus interface, each service to be communicated is communicated through the bus interface, and all the bus interfaces of the service to be communicated except the list of the service to be communicated are triggered to be closed and enter a silent state.
The service to be communicated comprises a service to be communicated for maintaining a long link, a data packet function service to be communicated for sending streaming data, a time information synchronization module for returning necessary synchronous time information, a position acquisition module for uploading positioning position information, a POC module for receiving online and offline information of other group members, a voice initiation condition of the other group members, and a reminding module for playing a reminding sound.
Each service to be communicated is allocated with a memory address and provides an external call api, the external call api comprises a bin file, a citation executable file, a conf call database and configuration information, core judges a logic code and db data, the core judges the logic code and the db data and encapsulates the data into the service to be communicated to provide an external interface to be called, all the services to be communicated comprise bus interfaces and are registered to a service bus, after the terminal stops moving and enters a dormant state, all the modules are classified into a list of the service to be communicated and a list of the service to be communicated according to a preset triggering mark, the bus interface of the list of the service to be communicated is triggered, and the module is silenced.
Optionally, before or after the step of the terminal stopping activity entering the dormant state,
monitoring the electric quantity of the terminal, wherein the electric quantity of the terminal exceeds a preset electric quantity within unit time, each service to be communicated in the service list to be communicated is triggered to be grouped again by a preset necessary service definition to be communicated and a non-necessary service definition to be communicated, and the services to be communicated in the non-necessary service grouping are sequentially shifted out from the service list to be communicated from low to high in weight.
Counting a power-off value, entering a dormant state and starting timing;
timing for 30 minutes, calculating the ratio of the internal electricity consumption to the time minutes, if the ratio is between 0.005 and 0.013 within 30 minutes,
distributing gears according to the ratio, wherein the power failure of the first gear for 30min exceeds 15%, and the ratio is 0.005; the power failure of the second gear 30min exceeds 25%, the ratio is 0.0083, the power failure of the third gear 30min exceeds 40%, and the ratio is 0.013;
when a first gear is triggered, the POC module and the reminding module are moved out of the list of the to-be-triggered communication service and are distributed to unnecessary to-be-communicated service groups; when the second gear is triggered, the data packet function to-be-communicated service, the POC module and the reminding module are moved out of the list of the to-be-communicated service to be triggered and distributed to the unnecessary to-be-communicated service group; when the third gear is triggered, the data packet function to-be-communicated service, the time synchronization module, the position acquisition module, the POC module and the reminding module are moved out of the list of the to-be-communicated service to be triggered and distributed to the unnecessary to-be-communicated service group, only the long chain connection to the to-be-communicated service is reserved, the long chain connection to the to-be-communicated service is maintained, and the power failure is delayed.
Through dynamic monitoring, further power failure caused by internal consumption is effectively prevented when special conditions occur, all modules are forbidden to be started automatically through the api interface to stop communication, hidden internal consumption can be effectively avoided, the length of a punished time period is effectively shortened through the method, and the high-level maintaining time is shortened.
Example 2
An execution device for a power consumption optimization method of a talk-back terminal is provided, the terminal executes a plurality of services to be communicated, and the terminal stops moving to enter a dormant state, comprising
The triggering unit is used for acquiring a predetermined service list to be communicated, and each service to be communicated contained in the service list to be communicated is sequentially triggered at a preset time period;
the duration of all triggered services to be communicated in the service list to be communicated is a triggered duration, and the heartbeat packet and the data packet for transferring data, which are in long link with the server, of the service to be communicated are sent in time-adjacent sequence in at least one triggered duration.
Comprises a judgment module for presetting the trigger period of each service to be communicated to N seconds, wherein N is positive number, or
The trigger period of the plurality of services to be communicated is preset to be N seconds, the rest services to be communicated are preset to be A x N seconds, N is a positive number, A is a positive integer, or
The triggering period of each service to be communicated is preset to be N 1 -N n Of any one of the time values, N 1 -N n Any time value in the time sequence is A x N seconds, N is a positive number, and A is a positive integer;
the services to be communicated which are simultaneously triggered in the same trigger period are sequentially and continuously triggered in sequence.
The system also comprises a triggering unit which triggers the module to enable the heartbeat packet and the data packet to be sequentially transmitted in each transmission period, or
The transmission cycle of the data packets is integral multiple of the transmission cycle of the heartbeat packets, and the data packets are sequentially transmitted in the overlapped transmission cycles.
The service to be communicated comprises a functional service and a long-chain connection maintaining service, wherein the functional service is used for sending a data packet of the streaming data, and the long-chain connection maintaining service is used for sending a heartbeat packet.
The terminal also comprises a monitoring unit, before or after the step of stopping the terminal from entering the dormant state,
the monitoring unit is used for monitoring the electric quantity of the terminal, the electric quantity of the terminal exceeds a preset electric power-off value in unit time, each service to be communicated in the service list to be communicated is grouped again by a preset necessary service module definition and a non-necessary service module definition, and the service modules in the non-necessary service module grouping are sequentially moved out of the service list to be communicated from low to high by weight.
In the above embodiments of the present invention, 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 technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, 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 units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: 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.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and amendments can be made without departing from the principle of the present invention, and these modifications and amendments should also be considered as the protection scope of the present invention.

Claims (9)

1. A power consumption optimization method for an intercom terminal is characterized by comprising the following steps: the terminal executes a plurality of services to be communicated, including that the terminal stops moving and enters a dormant state;
acquiring a predetermined service list to be communicated, wherein each service to be communicated contained in the service list to be communicated is sequentially triggered in a preset time period;
wherein, the duration of the triggering of all the services to be communicated in the service list to be communicated is the triggered duration, the heartbeat packet and the data packet for transferring data, which are maintained by the service to be communicated and the server in long linkage, are sequentially sent in time adjacency in at least one triggered duration,
the service to be communicated comprises a functional service and a long-chain connection maintaining service, the functional service is used for sending a data packet of the streaming data, the long-chain connection maintaining service is used for sending a heartbeat packet,
the long link establishment process is as follows:
each terminal distributes a unique random array before sending the link request, the random array is the corresponding number of the link request, the service gateway forwards the link request to the corresponding service instance, the service instance comprises the POC service instance,
POC service example receives each link request to inquire the authority of database service identification terminal, service example determines unique corresponding random number for each random array after identification, returns preset type long survival or indefinite survival response carrying random number to terminal with terminal corresponding to each random array as destination,
the sending process and the returning process are circulated for N times, N is a positive integer, the link establishment relation is determined, the service instance and each terminal respectively establish a communication link which is independently corresponding, the corresponding relation that a plurality of terminals respectively correspond to one communication link and correspond to one service instance is realized, the terminal and the service instance establish the communication link and then inform the establishment of the link of the newly-added service instance, the information is forwarded by the database and read by the shared cache, and the communication ports of the terminal and the service instance are excited to be in a continuous state to be received/sent.
2. The power consumption optimization method of the intercom terminal according to claim 1, characterized in that: the preset duration is a trigger period, and the duration setting rule of the trigger period comprises the following steps:
the triggering period of each service to be communicated is preset to be N seconds, N is a positive number, or the triggering period part of a plurality of services to be communicated is preset to be N seconds, the rest services to be communicated are preset to be A × N seconds, N is a positive number, A is a positive integer, or the triggering period of each service to be communicated is preset to be N 1 -N n Of any one of the time values, N 1 -N n Any time value in the time sequence is A x N seconds, N is a positive number, and A is a positive integer;
the services to be communicated which are simultaneously triggered in the same trigger period are sequentially and continuously triggered in sequence.
3. The power consumption optimization method of the intercom terminal according to claim 1, wherein: the heartbeat packet and the data packet for circulating data which are used for maintaining long link of the service to be communicated are sequentially sent in a time-adjacent mode in at least one trigger period, and the method comprises the following steps,
the heartbeat packet and the data packet are sequentially transmitted in each transmission period, or the transmission period of the data packet is an integral multiple of the transmission period of the heartbeat packet, and the data packet and the heartbeat packet are sequentially transmitted in overlapped transmission periods.
4. The power consumption optimization method of the intercom terminal according to claim 1, wherein: before or after the step of the terminal stopping activity entering the dormant state,
monitoring the electric quantity of the terminal, wherein the electric quantity of the terminal exceeds a preset electric quantity within unit time, each service to be communicated in the service list to be communicated is grouped again by a preset necessary service module definition and a non-necessary service module definition, and the service modules in the non-necessary service module grouping are sequentially moved out of the service list to be communicated from low to high by weight.
5. An execution apparatus for the power consumption optimization method of the intercom terminal of claim 1, characterized in that: the terminal executes a plurality of services to be communicated, stops moving to enter a dormant state,
the system comprises a triggering unit, a service processing unit and a service processing unit, wherein the triggering unit is used for acquiring a predetermined service list to be communicated, and each service to be communicated contained in the service list to be communicated is sequentially triggered in a preset periodic time period;
the duration of all triggered services in the list of the services to be communicated is the triggered duration, and the heartbeat packet and the data packet for streaming data, which are kept in long link with the server by the services to be communicated, are sequentially sent in time adjacency in at least one triggered duration.
6. The execution device of claim 5, wherein: comprises a judgment module for presetting the trigger period of each service to be communicated to N seconds, wherein N is positive number, or
The trigger period of the plurality of services to be communicated is preset to be N seconds, the rest services to be communicated are preset to be A x N seconds, N is a positive number, A is a positive integer, or
The triggering period of each service to be communicated is preset to be N 1 -N n Of any one time value, N 1 -N n Any time value in the time sequence is A x N seconds, N is a positive number, and A is a positive integer;
the services to be communicated which are simultaneously triggered in the same trigger period are sequentially and continuously triggered in sequence.
7. The execution device of claim 5, wherein: the system also comprises a triggering unit, wherein the triggering module is used for enabling the heartbeat packet and the data packet to be sequentially sent in each sending period, or the sending period of the data packet is an integral multiple of the sending period of the heartbeat packet and is sequentially sent in the overlapped sending periods.
8. The execution device of claim 5, wherein: the service to be communicated comprises a functional service and a long-chain connection maintaining service, wherein the functional service is used for sending a data packet of the streaming data, and the long-chain connection maintaining service is used for sending a heartbeat packet.
9. The execution device of claim 5, wherein: the terminal also comprises a monitoring unit, before or after the step of stopping the terminal from entering the dormant state,
the monitoring unit is used for monitoring the electric quantity of the terminal, the electric quantity of the terminal exceeds a preset electric power-off value in unit time, each service to be communicated in the service list to be communicated is grouped again by a preset necessary service module definition and a non-necessary service module definition, and the service modules in the non-necessary service module grouping are sequentially moved out of the service list to be communicated from low to high by weight.
CN202011359155.6A 2020-11-27 2020-11-27 Power consumption optimization method of talkback terminal and execution device thereof Active CN112532264B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011359155.6A CN112532264B (en) 2020-11-27 2020-11-27 Power consumption optimization method of talkback terminal and execution device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011359155.6A CN112532264B (en) 2020-11-27 2020-11-27 Power consumption optimization method of talkback terminal and execution device thereof

Publications (2)

Publication Number Publication Date
CN112532264A CN112532264A (en) 2021-03-19
CN112532264B true CN112532264B (en) 2022-10-21

Family

ID=74994513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011359155.6A Active CN112532264B (en) 2020-11-27 2020-11-27 Power consumption optimization method of talkback terminal and execution device thereof

Country Status (1)

Country Link
CN (1) CN112532264B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109150670A (en) * 2018-11-05 2019-01-04 中通天鸿(北京)通信科技股份有限公司 A kind of heartbeat method and system for keeping connecting

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079285A (en) * 2013-01-14 2013-05-01 东莞宇龙通信科技有限公司 Mobile terminal and point-to-point connection retention method
CN110753086A (en) * 2019-09-12 2020-02-04 华为技术有限公司 Heartbeat awakening method for application and terminal equipment
CN111385859A (en) * 2020-02-28 2020-07-07 北京九州云动科技有限公司 Terminal power consumption detection optimization method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109150670A (en) * 2018-11-05 2019-01-04 中通天鸿(北京)通信科技股份有限公司 A kind of heartbeat method and system for keeping connecting

Also Published As

Publication number Publication date
CN112532264A (en) 2021-03-19

Similar Documents

Publication Publication Date Title
CN112764407B (en) Distributed control non-periodic communication method
CN104469694B (en) A kind of communication means and device based on group system
CN105282835B (en) It converts with the chance to low power state with the wlan system for power management
CN102158930B (en) Method and equipment for accessing MTC (Multimedia Telephone Communication) equipment
CN101258757B (en) Beep-page and lagging access method after establishing cluster group call
CN101835249A (en) Communication terminal and game machine
CN101541068A (en) WLAN network control method and device thereof
CN102571744B (en) Method and system for reducing carbon footprint and providing power savings in session initiated protocol conferencing
JP2010062846A (en) Wireless communication control method, wireless communication base station, wireless communication terminal, and wireless communication system
CN102215458A (en) Digital cluster communication system based on long term evolution technology as well as base station and terminal
CN103875290B (en) Power save in telecommunication network
CN101635965A (en) Multi-priority voice access method in Ad Hoc radio network
CN103402030A (en) Call collision processing method, terminal and transfer platform
CN102264116A (en) Node network access method based on distributed time division multiple access wireless ad hoc network
CN106954258A (en) A kind of paging processing method, device and paging system
CN102196367B (en) PPT service processing method, and device and system thereof
CN104394534A (en) Two-stage central cooperative frequency spectrum sharing mechanism based on priority queue
CN100477862C (en) Method and system for determining centrally controlled server
CN112532264B (en) Power consumption optimization method of talkback terminal and execution device thereof
CN110753370B (en) Data transmission method and system, base station, terminal and storage device
CN108605300A (en) A kind of method and apparatus that NAN equipment sends sync beacon message
CN105992320A (en) Discontinuous reception method, wireless access network node and terminal
CN102386991B (en) Timeslot interchange operating method for time division multiple address access system in wireless mobile self-organized network
CN108901067B (en) Method for realizing signing data synchronization between broadband cluster core network and dispatching station
CN101686436A (en) Wireless communication system, wireless communication terminal, wireless communication station and wireless communication method

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