WO2021077375A1 - Communication frequency adjustment method and apparatus, and electronic device and storage medium - Google Patents

Communication frequency adjustment method and apparatus, and electronic device and storage medium Download PDF

Info

Publication number
WO2021077375A1
WO2021077375A1 PCT/CN2019/113100 CN2019113100W WO2021077375A1 WO 2021077375 A1 WO2021077375 A1 WO 2021077375A1 CN 2019113100 W CN2019113100 W CN 2019113100W WO 2021077375 A1 WO2021077375 A1 WO 2021077375A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication frequency
use environment
electronic device
environment parameter
server
Prior art date
Application number
PCT/CN2019/113100
Other languages
French (fr)
Chinese (zh)
Inventor
李军
Original Assignee
深圳市欢太科技有限公司
Oppo广东移动通信有限公司
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 深圳市欢太科技有限公司, Oppo广东移动通信有限公司 filed Critical 深圳市欢太科技有限公司
Priority to PCT/CN2019/113100 priority Critical patent/WO2021077375A1/en
Priority to CN201980098838.XA priority patent/CN114175748B/en
Publication of WO2021077375A1 publication Critical patent/WO2021077375A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • 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
    • 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

Definitions

  • This application relates to the technical field of electronic equipment, and more specifically, to a communication frequency adjustment method, device, electronic equipment, and storage medium.
  • This application proposes a communication frequency adjustment method, device, electronic equipment, and storage medium to improve the endurance of the electronic equipment.
  • an embodiment of the present application provides a communication frequency adjustment method, which is applied to an electronic device, and the method includes: obtaining a use environment parameter of the electronic device, where the use environment parameter includes parameters related to the operating environment of the electronic device; When the use environment parameter meets the preset condition, obtain the running application; if the running application includes a target application, the target application and the server are connected according to the use environment parameter. The communication frequency is lowered from the default communication frequency.
  • an embodiment of the present application provides a communication frequency adjustment device, which is applied to an electronic device, and the device includes: an acquisition module for acquiring the use environment parameter of the electronic device, and the use environment parameter includes the operation of the electronic device. Environment-related parameters; a judging module, used to obtain a running application when the use environment parameters meet preset conditions; an adjustment module, used to determine if the application includes a target application, based on the use The environmental parameter lowers the communication frequency between the target application and the server from the default communication frequency.
  • an embodiment of the present application provides an electronic device, the electronic device includes one or more processors; a memory; one or more application programs, wherein the one or more application programs are stored in the memory And is configured to be executed by the one or more processors, and the one or more programs are configured to execute the method applied to the electronic device as described above.
  • an embodiment of the present application provides a computer-readable storage medium in which a program code is stored, wherein the above-mentioned method is executed when the program code is running.
  • the communication frequency adjustment method proposed in this application obtains the use environment parameters of the electronic device, and when the use environment parameters meet the preset conditions, the running application is obtained. If the target application is included, the communication frequency between the target application and the server is lowered from the default communication frequency according to the use environment parameter. Therefore, when the use environment parameters meet the preset conditions and the target application is running, the communication frequency between the target application and the server is reduced, thereby reducing the power consumption of the electronic device and improving the endurance of the electronic device.
  • Fig. 1 shows a flowchart of a communication frequency adjustment method provided by an embodiment of the present application.
  • Fig. 2 shows a flowchart of a communication frequency adjustment method provided by another embodiment of the present application.
  • Fig. 3 shows a flowchart of a communication frequency adjustment method provided by still another embodiment of the present application.
  • Fig. 4 shows a flowchart of a communication frequency adjustment method provided by still another embodiment of the present application.
  • Fig. 5 shows a functional block diagram of a communication frequency adjustment device provided by an embodiment of the present application.
  • Fig. 6 shows a structural block diagram of an electronic device proposed by an embodiment of the present application for executing the communication frequency adjustment method according to an embodiment of the present application.
  • FIG. 7 shows a storage medium provided by an embodiment of the present application for storing or carrying program code for implementing the communication frequency adjustment method according to the embodiment of the present application.
  • the inventor proposes the communication frequency adjustment method of the present application to obtain user environment parameters of the electronic device, and the use environment parameters include parameters related to the operating environment of the electronic device; when the use environment parameters meet the preset conditions, obtain A running application; if the running application includes a target application, the communication frequency between the target application and the server is lowered from the default communication frequency according to the use environment parameters. Therefore, when the use environment parameters meet the preset conditions and the target application is running, the communication frequency between the target application and the server is reduced, thereby reducing the power consumption of the electronic device and improving the endurance of the electronic device.
  • an embodiment of the present application provides a communication frequency adjustment method, which can be applied to a user terminal.
  • This embodiment describes a step flow on the user terminal side.
  • the specific method may include:
  • Step S110 Obtain a use environment parameter of the electronic device, where the use environment parameter includes parameters related to the operating environment of the electronic device.
  • the use environment of the electronic device can be detected, and parameters related to the operating environment of the electronic device can be obtained, so as to determine whether to reduce the communication frequency to reduce power consumption according to the parameters related to the operating environment.
  • the use environment parameter of the electronic device may be the network type to which the electronic device is connected, and the network signal strength of the connected network, so that the network environment of the electronic device can be determined according to the network type and the network signal strength.
  • the use environment parameter may also be the position and orientation data of the electronic device obtained by the electronic device using its own sensors, etc., so that the position environment where the electronic device is located can be determined according to the position and attitude data.
  • the use environment parameter may also be the time when the electronic device is located, so that the time environment of the electronic device can be obtained.
  • the electronic device When the electronic device obtains the connected network type and the network signal strength, it can monitor the network type and the network signal strength by registering the network change notification broadcast.
  • the pose data can be obtained through GPS sensors and gyroscopes.
  • the electronic equipment can obtain real-time use environment parameters to monitor the operating environment of the electronic equipment.
  • Step S120 Obtain the running application when the use environment parameter meets the preset condition.
  • the electronic device may obtain the running application when the use environment parameter satisfies a preset condition. Before obtaining the running application, it can be judged whether the obtained use environment parameter meets the preset condition.
  • the use environment parameters acquired by the electronic device can be multiple, for example, the type of network the electronic device is connected to, the network signal strength of the network to which the electronic device is connected, the posture data of the electronic device, and the time of the electronic device can all be acquired by the electronic device
  • the preset conditions corresponding to different use environment parameters may be different. Therefore, the electronic device can determine whether the use environment parameters meet the preset conditions for each obtained use environment parameter.
  • the corresponding preset condition is X; when the use environment parameter is the network signal strength, the corresponding preset condition is Y; when the use environment parameter is For pose data, the corresponding preset condition is Z; when the use environment parameter is time, the corresponding preset condition is W.
  • the use environment parameter obtained by the electronic device is a network type, it is determined whether the use environment parameter meets the preset condition according to the preset condition X; if the use environment parameter obtained by the electronic device is the network signal strength, it is determined according to the preset condition X Condition Y determines whether the use environment parameter meets the preset condition; if the use environment parameter acquired by the electronic device is pose data, then judge whether the use environment parameter meets the preset condition according to the preset condition Z; if the electronic device acquires When the arrived use environment parameter is time, it is determined whether the use environment parameter meets the preset condition according to the preset condition W.
  • the running application can be obtained; if the obtained use environment parameters do not meet the preset conditions, you can continue to obtain the use environment parameters of the electronic device until the use environment parameters When the preset condition is met, the step of obtaining the running application is executed.
  • Step S130 If the target application is included in the running application, the communication frequency between the target application and the server is lowered from the default communication frequency according to the use environment parameter.
  • the target application program After obtaining the running application program, it can be determined whether there is a target application program in the running application program.
  • the target application program may be a plurality of preset application programs. If the running application includes the preset application, it can be considered that the running application includes the target application, and the communication between the target application and the server can be determined according to the use environment parameter. The communication frequency is lowered from the default communication frequency.
  • the communication frequency between the application and the server is the default communication frequency, and it is running when the obtained use environment parameters meet the preset conditions
  • the application includes the target application. It can be considered that in the current use environment of the electronic device, the communication frequency between the target application and the server is to reduce the power consumption of the electronic device, then the target application can be communicated with the server before The frequency is lowered from the default communication frequency to reduce the communication frequency between the target application and the server.
  • This application proposes a communication frequency adjustment method to obtain user environment parameters of an electronic device, where the use environment parameters include parameters related to the operating environment of the electronic device; when the use environment parameters meet preset conditions, obtain the running application; If the target application is included in the running application, the communication frequency between the target application and the server is lowered from the default communication frequency according to the use environment parameters. Therefore, when the use environment parameters meet the preset conditions and the target application is running, the communication frequency between the target application and the server is reduced, thereby reducing the power consumption of the electronic device and improving the endurance of the electronic device.
  • FIG. 2 another embodiment of the present application provides a communication frequency adjustment method.
  • this embodiment focuses on the process of determining whether the acquired use environment parameters meet preset conditions.
  • Can include:
  • Step S210 Obtain a use environment parameter of the electronic device, where the use environment parameter includes parameters related to the operating environment of the electronic device.
  • step S210 reference may be made to the corresponding part of the foregoing embodiment, which will not be repeated here.
  • Step S220 Determine whether the acquired use environment parameter meets the preset condition, if yes, execute step S230, if not, execute step S210.
  • the use environment parameters can be the network type, network signal strength, pose data, and time to which the electronic device is connected. Wherein, when the electronic device obtains the use environment parameter, it can judge whether the use environment parameter meets the preset condition, and different use environment parameters correspond to different preset conditions.
  • the use environment parameter obtained by the electronic device is the network type to which the electronic device is connected
  • it is determined whether the obtained use environment parameter satisfies the preset condition which may be when the network type to which the electronic device is connected is mobile data. And when it is lower than the latest generation mobile communication standard supported by the electronic device, it can be determined that the use environment parameter meets the preset condition.
  • electronic devices such as mobile terminals can support mobile communication standards.
  • the mobile communication standards that mobile terminals can support are also continuously upgraded, from the second generation of mobile communication standards, namely 2G, to the current fifth generation.
  • the mobile communication standard is 5G.
  • the latest-generation mobile communication standard supported by the electronic device is the fourth-generation mobile communication standard
  • the communication data transmission between the application and the server may be slow, thereby affecting the application Normal communication with the server.
  • the network type is mobile data and is lower than the latest generation mobile communication standard supported by the electronic device, it can be determined that the use environment parameter satisfies a preset condition.
  • determining whether the acquired environment parameter of the user satisfies a preset condition may be determining whether the network signal strength of the electronic device is less than the preset signal strength ; If the acquired network signal strength is less than the preset signal strength, it can be determined that the use environment parameter meets the preset condition.
  • the wireless communication network to which the electronic device is connected may be a Wi-Fi network or a mobile data network.
  • the Wi-Fi network or mobile data network to which the electronic device is connected has a network signal strength lower than the preset signal strength, it can be considered The current network signal strength is low, which may cause slow transmission of communication data between the application and the server, thereby affecting the normal communication between the application and the server.
  • the strength of the network signal where the electronic device is located is less than the preset strength, it is determined that the use environment parameter satisfies the preset condition.
  • judging whether the obtained use environment parameter satisfies the preset condition may be, if the network is mobile data and is lower than all the data.
  • the latest generation of mobile communication standards supported by the electronic device it can be determined that the use environment parameters meet the preset conditions; if the network type is not mobile data or not lower than the latest generation of mobile communication standards supported by the electronic device, it can be determined Whether the network signal strength is less than the preset signal strength, and if the network signal strength is less than the preset signal strength, it is determined that the use environment parameter satisfies the preset condition.
  • the network type that the electronic device is connected to is mobile data and is lower than the latest generation of mobile communication standards supported by the electronic device
  • the normal communication between the application and the server will be affected. Therefore, when the network connected to the electronic device is obtained
  • the use environment parameter satisfies the preset conditions; if the network type to which the electronic device is connected is not mobile data, or the network
  • the type is mobile data but not lower than the latest generation of mobile communication standards supported by the electronic device
  • it is determined whether the network signal strength is lower than the preset network signal strength. If it is lower than the preset network signal strength, there will still be a problem between the application and the server. It can be determined that the use environment parameters meet the preset conditions.
  • judging whether the use environment parameter satisfies a preset condition may be judging whether the pose data of the electronic device within a preset time If there is a change, it is determined that the use environment parameter meets the preset condition.
  • a change in pose data indicates a change in the position of the electronic device or a change in posture sound.
  • the pose data acquired by the electronic device does not change, it can be considered that the electronic device has not changed within the preset time. used.
  • the pose data of the electronic equipment will change. Therefore, if the posture data of the electronic device does not change within the preset time, it can be determined that the use environment parameter satisfies the preset condition.
  • the use environment parameter acquired by the electronic device is time
  • it is determined whether the use environment parameter meets a preset condition which may be after the electronic device acquires the time, determining whether the current time is within the preset time range, The amount of communication data sent and received by the electronic device per unit time within the preset time range is less than a preset amount; if so, it is determined that the use environment parameter satisfies the preset condition.
  • the preset time range can be obtained in advance.
  • the amount of communication data sent and received by the electronic device per unit time is less than the preset amount, that is, within the preset time range, the electronic device
  • the amount of data transmission between the application program and the server running in the application program is small, and data transmission does not need to be performed at a higher communication frequency, and the communication frequency between the application program and the server can be reduced.
  • the current time of the electronic device is within the preset time range, it can be determined that the use environment parameter satisfies the preset condition.
  • the use environment parameters obtained by the electronic device may be any one or more of network type, network signal strength, pose data, and time.
  • the electronic device can obtain multiple use environment parameters at the same time, such as simultaneously obtaining network type, network signal strength, pose data, and time. When any one of the multiple use environment parameters meets a preset condition, it can determine that the Use environmental parameters to meet preset conditions.
  • Step S230 Obtain the running application program.
  • the running application program of the electronic device can be obtained. Therefore, it can be determined whether the running application includes the target application according to the running application. When the running application includes the target application, the relationship between the target application and the server can be adjusted. Communication frequency.
  • Step S240 If the running application includes a target application, the communication frequency between the target application and the server is lowered from the default communication frequency according to the use environment parameter.
  • step S240 reference may be made to the corresponding part of the foregoing embodiment, and details are not described herein again.
  • the user environment parameters of an electronic device are obtained.
  • the usage environment parameters include parameters related to the operating environment of the electronic device, specifically, including network type, network signal strength, pose data, and time. ;
  • obtain the running application if the running application includes the target application, the communication frequency between the target application and the server is changed from the default according to the use environment parameter The communication frequency is lowered. Therefore, the operating environment of the electronic device is monitored from multiple aspects, and the coverage of the scene is increased, so that the communication frequency between the target application and the server can be lowered from the default communication frequency in multiple scenarios, so as to reduce the electronic equipment.
  • the power consumption of the equipment improves the endurance of electronic equipment.
  • another embodiment of the present application provides a communication frequency adjustment method.
  • this embodiment focuses on the method of determining the preset time range when the acquired use environment parameter is time. Process, the method can include:
  • Step S310 monitor the communication data between the target application and the server.
  • the target application program may be some application programs preset by the electronic device. Therefore, the electronic device can monitor the communication data between the target application program and the server while the target application program is running. Specifically, the communication data between the target application and the server may be acquired each time. In order to analyze the communication data acquired each time.
  • Step S320 Count the data volume of the communication data sent and received in a unit time by identifying the characteristics of the communication data.
  • the communication data After obtaining the communication data between the target application and the server, the communication data can be characterized, specifically, it can be to identify the sending data and the receiving data in the communication data, and obtaining each sent data and receiving data. The time when the data is generated, so that the data volume of the communication data sent and received in the unit time can be counted.
  • the received data and the sent data there may be empty data used to detect the connection. After the empty data in the received data and the sent data can be removed by feature recognition, the received data and the sent data in the unit time can be counted The amount of data.
  • Step S330 Integrate the adjacent unit time when the data amount of the received and sent communication data is less than the preset number into the preset time range.
  • the user's habit of using the target application can be analyzed through the data volume of the communication data sent and received between the target application and the server in a unit time.
  • the preset number may be an average number obtained after statistical analysis of big data, that is, the amount of data sent and received per unit time when the target program is used normally. If the data volume of the communication data sent and received per unit time is less than the preset number, it can be considered that the target application is not used, and the adjacent unit time when the data volume of the communication data sent and received is less than the preset number can be integrated into all The preset time range.
  • the adjacent unit time may be integrated into the preset time range when the total length of adjacent unit times is greater than the preset time length. For example, if the amount of data sent and received per unit time is less than the preset amount, there are the first unit time, the second unit time, the third unit time, the fifth unit time, and the sixth unit time.
  • the first unit time, the second unit time, and the third unit time are adjacent unit times, and the total length of the first unit time, the second unit time and the third unit time is greater than the preset Time length, the first unit time, the second unit time, and the third unit time can be integrated into the preset time range; the fifth unit time and the sixth unit time are adjacent unit times , But the total length of the fifth unit time and the sixth unit time is less than the preset time length, the fifth unit time and the sixth unit time are not integrated into the preset time range. This prevents the preset time range from being too short, causing frequent adjustments between the target application and the server when the time is within the preset time range and there is a target application in the running application. Inter-communication frequency, causing additional power consumption. Thereby, the preset time range can be determined.
  • the electronic device may receive a setting instruction sent by a user, and determine the preset time range according to the setting instruction. Specifically, the electronic device may provide a preset time range setting interface through which the user can send a setting instruction to the electronic device to set the time range, and the electronic device may use the user-set time range as the preset time range.
  • Step S340 Obtain a use environment parameter of the electronic device, where the use environment parameter includes time.
  • Step S350 Determine whether the time is within the preset time range, if yes, execute step S360, if not, execute step S340.
  • the electronic device After determining the preset time range, the electronic device can obtain the current time. As an implementation manner, the electronic device may obtain the system time of the electronic device, and determine whether it is in a preset time range according to the system change time. As another implementation manner, the electronic device may obtain the network time, and determine whether it is within a preset time range according to the network time. Specifically, whether the electronic device obtains the system time or the network time can be set according to actual needs, and is not specifically limited here.
  • step S360 After the electronic device obtains the time, it is determined whether the time is within the preset time range, if the time is within the preset time range, step S360 may be performed, and if the time is not within the preset time range, Set the time range, you can continue to get the time.
  • Step S360 Obtain the running application.
  • Step S370 If the running application includes a target application, the communication frequency between the target application and the server is lowered from the default communication frequency according to the use environment parameter.
  • step S360 to step S370 reference may be made to the corresponding part of the foregoing embodiment, which will not be repeated here.
  • This application proposes a communication frequency adjustment method, which monitors the communication data between the target application and the server.
  • the data volume of the communication data sent and received in a unit time is counted, and the data of the communication data sent and received is calculated.
  • the adjacent unit time whose amount is less than the preset number is integrated into the preset time range, so that the user’s behavior and habits can be analyzed, and the time period when the user receives and receives less data is taken as the preset time range.
  • the electronic device When the acquired time is within the preset time range, acquire the running application of the electronic device.
  • the communication frequency between the target application and the server can be changed from the default The communication frequency is lowered. Thereby, the communication frequency between the target application and the server can be adjusted more intelligently, so as to reduce the power consumption of the electronic device and improve the endurance of the electronic device.
  • another embodiment of the present application provides a communication frequency adjustment method.
  • this embodiment focuses on changing the communication frequency between the target application and the server from the default communication frequency.
  • the process of frequency reduction, the method can include:
  • Step S410 Obtain a use environment parameter of the electronic device, where the use environment parameter includes parameters related to the operating environment of the electronic device.
  • Step S420 Obtain the running application when the use environment parameter meets the preset condition.
  • step S410 to step S420 refer to the corresponding part of the foregoing embodiment, which will not be repeated here.
  • Step S430 Determine whether the running application program includes the target application program, if yes, go to step S440; if not, go to step S420.
  • the running application can be obtained.
  • the running application program may be an application program running in the foreground and an application program running in the background. After obtaining the running application, it can be determined whether the running application includes the target application.
  • connection mode between the running application and the server may be obtained, determine whether the connection mode is a persistent connection, and if the connection mode is a persistent connection, determine the running application The program is the target application.
  • the connection between the application and the server can be a long connection and a short connection.
  • the long connection means that the application keeps the connection with the server for a long time
  • the short connection means that the connection with the server is disconnected after the data transmission is completed. the way. Therefore, the electronic device can determine the connection mode between the application and the server according to the connection duration between the application and the server. When it is determined that among the running applications, the connection mode of the existing application is a persistent connection, then the application whose connection mode is the persistent connection can be used as the target application, so that it can be determined that the running application includes the target application program.
  • a target application table may be pre-stored for storing the identifier of the target application, where the identifier of the application may be the name of the application or the application. Application ID, etc. Therefore, after acquiring the running application, the electronic device can acquire the identifier of the running application, and determine whether there is the identifier of the running application in the target application table. , It can be determined that the running application includes the target application.
  • step S440 may be performed. If it is determined that the target application is not included in the running application, then the use environment parameter may satisfy the preset condition. When, continue to get the running application.
  • Step S440 Obtain the length of time that the use environment parameter satisfies the preset condition.
  • Step S450 According to the length of time that the use environment parameter satisfies the preset condition, the communication frequency between the target application and the server is gradually reduced.
  • the communication frequency between the target application and the server is gradually reduced. It may be that the longer the time period during which the use environment parameter satisfies the preset condition, the lower the communication frequency between the target application and the server.
  • reducing the communication frequency between the target application and the server may be by extending the time interval for the target application to send data packets to the server, so as to reduce the communication frequency between the target application and the server. Decrease from the default communication frequency.
  • the communication frequency between the application and the server is gradually reduced according to the length of time when the use environment parameter satisfies the preset condition, multiple time lengths can be set, and corresponding communication frequencies are set for the multiple time lengths respectively.
  • the set duration may be a first duration, a second duration, and a third duration.
  • the communication frequency corresponding to the first duration is the first frequency
  • the frequency corresponding to the second duration is the second frequency, which corresponds to the first duration.
  • the three-hour communication frequency is the first frequency, where the first duration is less than the second duration, the second duration is less than the third duration, the first frequency is greater than the second frequency, and the second frequency is greater than The third frequency, the first frequency is less than the default communication frequency between the target application and the server.
  • the communication frequency between the target application and the server is adjusted to the first communication frequency; if the use environment parameter satisfies the duration of the preset condition Is greater than the first duration and less than the second duration, then the communication frequency between the target application and the server is adjusted to the second communication frequency, if the usage environment parameter satisfies the preset condition, the duration is greater than the second duration and less than For the third duration, the communication frequency between the target application and the server is adjusted to the third communication frequency. Thereby, the communication frequency between the target application and the server can be gradually reduced according to the length of time that the use environment parameter satisfies the preset condition.
  • the communication frequency between the target application and the server is gradually reduced according to the length of time the use environment parameter meets the preset condition, which is suitable for all scenarios, that is, the use environment parameter acquired on the electronic device is the network type, and the network
  • the communication frequency between the target application and the server can be gradually reduced according to the length of time that the use environment parameter satisfies the preset condition.
  • a communication frequency comparison table may be pre-stored in the electronic device, and the communication frequency comparison table includes the correspondence between different network signal strength ranges and communication frequencies. Specifically, the communication frequency comparison table can refer to Table 1.
  • the network signal strength range a to b indicates that the network signal strength is between a and b, including a;
  • the network signal strength range b to c indicates that the network signal strength is between b and c, including b;
  • the signal strength range c to d indicates that the network signal strength is between c and d, including c.
  • the network signal strength range is a>b>c>d, a is less than the preset network signal strength; the communication frequency is A>B>C, and A is less than the default communication frequency between the application and the server.
  • the electronic device when it obtains the network signal strength, it can determine the network signal strength range where the network signal strength is, and search the communication frequency comparison table for the communication frequency corresponding to the network signal strength range; The current communication frequency between the target application and the server is adjusted to the communication frequency found in the communication frequency comparison table.
  • the communication frequency between the target application and the server is lowered from the default communication frequency, or when the use environment parameters meet the preset conditions, and the target application exists in the running application, the target application is directly adjusted
  • the communication frequency between the program and the server is lowered from the default communication frequency to the preset communication frequency.
  • the preset communication frequency may be the lowest communication frequency that maintains the connection between the target application and the server, so that the energy consumption of the electronic device may be maximized.
  • the use environment parameter of the electronic device satisfies the preset condition and the application program running on the electronic device includes a target application
  • the communication frequency between the target application and the server is lowered from the default communication frequency
  • the use environment parameters do not meet the preset conditions, that is, when any of the obtained use environment parameters, network type, network signal strength, pose parameters, and time do not meet the preset conditions, the The communication frequency between the target application and the server is restored to the default communication frequency.
  • This application proposes a communication frequency adjustment method to obtain use environment parameters of an electronic device, where the use environment parameters include parameters related to the operating environment of the electronic device; when the use environment parameters meet preset conditions, obtain a running application; Determine whether the running application includes the target application; if so, obtain the length of time that the use environment parameter meets the preset condition; if not, obtain the running application when the use environment parameter meets the preset condition After obtaining the length of time that the use environment parameter satisfies the preset condition, according to the length of time that the use environment parameter satisfies the preset condition, the communication frequency between the target application and the server is gradually reduced.
  • the communication frequency between the target application and the server can be reduced stepwise, avoiding directly adjusting the communication frequency between the target application and the server to the minimum, so that the target application and the server can be adjusted more intelligently.
  • FIG. 5 shows a communication frequency adjustment apparatus 500 provided by an embodiment of the present application, which is applied to an electronic device.
  • the apparatus 500 includes an acquisition module 510, a judgment module 520, and an adjustment module 530.
  • the obtaining module 510 is used to obtain the use environment parameters of the electronic device, and the use environment parameters include parameters related to the operating environment of the electronic device; the judgment module 520 is used to obtain when the use environment parameters meet the preset conditions, Acquire the running application; the adjustment module 530 is configured to, if the application includes a target application, change the communication frequency between the target application and the server from the default communication frequency according to the use environment parameter Down.
  • the judgment module 520 is also used to judge whether the acquired use environment parameter meets the preset condition; if so, acquire the running application.
  • the use environment parameter includes the connected network type
  • the judging module 520 is also used for judging if the network type to which the electronic device is connected is mobile data and is lower than the latest generation of mobile communication standards supported by the electronic device The use environment parameter satisfies the preset condition.
  • the use environment parameters include the connected network signal strength
  • the judgment module 520 is also used to judge whether the network signal strength of the network to which the electronic device is connected is less than a preset signal strength; if so, it is determined that the use environment parameter meets the preset signal strength. Set conditions.
  • the use environment parameters include the network type to which the electronic device is connected and the corresponding network signal strength
  • the judgment module 520 is also used to determine if the network type is mobile data and is lower than the latest generation of mobile data supported by the electronic device.
  • Communication standards determining that the use environment parameters meet preset conditions; if the network type is not mobile data or not lower than the latest generation of mobile communication standards supported by the electronic device, determining whether the network signal strength is less than the preset signal Strength; if the network signal strength is less than the preset signal strength, it is determined that the use environment parameter satisfies the preset condition.
  • the use environment parameter includes pose data
  • the judgment module 520 is also used to determine whether the pose data of the electronic device has changed within a preset time; if so, determine that the use environment parameter meets the preset time. Set conditions.
  • the communication frequency adjustment device 500 further includes a determining module, and the determining module is used to determine the preset time range before determining whether the current time is within the preset time range.
  • the determination module is also used to monitor the communication data between the target application and the server; by identifying the characteristics of the communication data, count the data volume of the communication data sent and received within a unit time; and send and receive the communication data The adjacent unit time whose data amount is less than the preset number is integrated into the preset time range.
  • the determining module is further configured to receive a setting instruction from a user, and determine the preset time range according to the setting instruction.
  • the adjustment module 530 is further configured to gradually decrease the communication frequency between the target application and the server according to the length of time when the use environment parameter satisfies a preset condition.
  • the adjustment module 530 is also configured to, if the use environment parameter satisfies the preset condition, the longer the time period, the lower the communication frequency between the target application and the server.
  • the adjustment module 530 is further configured to gradually lower the communication frequency between the target application and the server according to the network signal strength, where the weaker the network signal strength, the higher the communication frequency. low.
  • a communication frequency comparison table is pre-stored, and the communication frequency comparison table includes the correspondence between different network signal strength ranges and communication frequencies.
  • the adjustment module 530 is also used to determine where the network signal strength is The network signal strength range of the network; look up the communication frequency corresponding to the network signal strength range in the communication frequency comparison table; adjust the current communication frequency between the target application and the server to be in the communication frequency comparison table The communication frequency found in.
  • the adjustment module 530 is further configured to gradually lower the communication frequency between the target application and the server according to the network signal strength, where the weaker the network signal strength, the higher the communication frequency. low.
  • the judgment module 520 is also used to obtain the connection mode between the running application and the server ; Determine whether the communication connection mode is a long connection; if so, determine that the running application is the target application.
  • the adjustment module 530 is further configured to reduce the communication frequency between the target application and the server from the default communication frequency according to the usage environment parameter, if the usage environment parameter does not meet the preset condition To restore the communication frequency between the target application and the server to the default communication frequency.
  • the communication frequency adjustment method provided by the present application obtains user environment parameters of electronic devices, and the use environment parameters include parameters related to the operating environment of the electronic device; when the use environment parameters meet preset conditions, obtain A running application; if the running application includes a target application, the communication frequency between the target application and the server is lowered from the default communication frequency according to the use environment parameters. Therefore, when the use environment parameters meet the preset conditions and the target application is running, the communication frequency between the target application and the server is reduced, thereby reducing the power consumption of the electronic device and improving the endurance of the electronic device.
  • the coupling or direct coupling or communication connection between the displayed or discussed modules may be through some interfaces, and the indirect coupling or communication connection between the devices or modules may be electrical, Mechanical or other forms.
  • each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software function modules.
  • the electronic device 600 may be an electronic device capable of running application programs, such as a smart phone, a tablet computer, or an e-book.
  • the electronic device 600 in this application may include one or more of the following components: a processor 610, a memory 620, and one or more application programs, where one or more application programs may be stored in the memory 620 and configured to be configured by One or more processors 610 execute, and one or more programs are configured to execute the methods described in the foregoing method embodiments.
  • the processor 610 may include one or more processing cores.
  • the processor 610 uses various interfaces and lines to connect various parts of the entire electronic device 600, and executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 620, and calling data stored in the memory 620 Various functions and processing data of the electronic device 600.
  • the processor 610 may use at least one of digital signal processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 610 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like.
  • the CPU mainly processes the operating system, user interface, and application programs; the GPU is used for rendering and drawing of display content; the modem is used for processing wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 610, but may be implemented by a communication chip alone.
  • the memory 620 may include random access memory (RAM) or read-only memory (Read-Only Memory).
  • the memory 620 may be used to store instructions, programs, codes, code sets or instruction sets.
  • the memory 620 may include a storage program area and a storage data area, where the storage program area may store instructions for implementing the operating system and instructions for implementing at least one function (such as touch function, sound playback function, image playback function, etc.) , Instructions used to implement the following various method embodiments, etc.
  • the storage data area can also store data created by the electronic device 600 during use (such as phone book, audio and video data, chat record data) and the like.
  • FIG. 7 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • the computer-readable storage medium 700 stores program codes, and the program codes can be invoked by a processor to execute the methods described in the foregoing method embodiments.
  • the computer-readable storage medium 700 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the computer-readable storage medium 700 includes a non-transitory computer-readable storage medium.
  • the computer-readable storage medium 700 has storage space for the program code 710 for executing any method steps in the above-mentioned methods. These program codes can be read from or written into one or more computer program products.
  • the program code 710 may be compressed in a suitable form, for example.

Abstract

Disclosed are a communication frequency adjustment method and apparatus, and an electronic device and a storage medium. The method comprises: acquiring usage environment parameters of an electronic device, wherein the usage environment parameters comprise parameters related to an operation environment of the electronic device; when the usage environment parameters satisfy a preset condition, acquiring an application program that is running; and if the application program that is running comprises a target application program, reducing, from a default communication frequency, the communication frequency between the target application program and a server according to the usage environment parameters. Therefore, where the usage environment parameters satisfy a preset condition and a target application program is running, the communication frequency between the target application program and a server is reduced, such that the power consumption of an electronic device is reduced, and the endurance performance of the electronic device is improved.

Description

通信频率调节方法、装置、电子设备及存储介质Communication frequency adjustment method, device, electronic equipment and storage medium 技术领域Technical field
本申请涉及电子设备技术领域,更具体地,涉及一种通信频率调节方法、装置、电子设备及存储介质。This application relates to the technical field of electronic equipment, and more specifically, to a communication frequency adjustment method, device, electronic equipment, and storage medium.
背景技术Background technique
随着科技的发展,人们的生活日益丰富,手机、平板电脑等移动终端使用越来越广泛,功能也越来越多,已经成为人们日常生活的必备的电子设备。在日常的使用中,人们可以通过在电子设备上安装应用程序,以实现各种各样的功能。With the development of science and technology, people's lives are becoming more and more abundant. Mobile terminals such as mobile phones and tablet computers are more and more widely used and have more and more functions. They have become essential electronic devices in people's daily life. In daily use, people can implement various functions by installing applications on electronic devices.
人们在电子设备上安装的应用程序中,有些应用程序需要与服务器长期保持连接,进行信令交互,然而,这些应用程序与服务器的长期连接会消耗大量的功耗,从而导致电子设备的续航能力下降。Among the applications that people install on electronic devices, some applications need to be connected to the server for a long time for signaling interaction. However, the long-term connection between these applications and the server consumes a lot of power consumption, which leads to the battery life of the electronic device. decline.
发明内容Summary of the invention
本申请提出了一种通信频率调节方法、装置、电子设备及存储介质,以提升电子设备的续航能力。This application proposes a communication frequency adjustment method, device, electronic equipment, and storage medium to improve the endurance of the electronic equipment.
第一方面,本申请实施例提供了一种通信频率调节方法,应用于电子设备,该方法包括:获取电子设备的使用环境参数,所述使用环境参数包括与电子设备的运行环境相关的参数;在所述使用环境参数满足预设条件时,获取正在运行的应用程序;若所述正在运行的应用程序中包括目标应用程序,则根据所述使用环境参数将所述目标应用程序与服务器之间的通信频率从默认通信频率下调。In a first aspect, an embodiment of the present application provides a communication frequency adjustment method, which is applied to an electronic device, and the method includes: obtaining a use environment parameter of the electronic device, where the use environment parameter includes parameters related to the operating environment of the electronic device; When the use environment parameter meets the preset condition, obtain the running application; if the running application includes a target application, the target application and the server are connected according to the use environment parameter. The communication frequency is lowered from the default communication frequency.
第二方面,本申请实施例提供了一种通信频率调节装置,应用于电子设备,该装置包括:获取模块,用于获取电子设备的使用环境参数,所述使用环境参数包括与电子设备的运行环境相关的参数;判断模块,用于在所述使用环境参数满足预设条件时,获取正在运行的应用程序;调整模块,用于若所述应用程序中包括目标应用程序,则根据所述使用环境参数将所述目标应用程序与服务器之间的通信频率从默认通信频率下调。In the second aspect, an embodiment of the present application provides a communication frequency adjustment device, which is applied to an electronic device, and the device includes: an acquisition module for acquiring the use environment parameter of the electronic device, and the use environment parameter includes the operation of the electronic device. Environment-related parameters; a judging module, used to obtain a running application when the use environment parameters meet preset conditions; an adjustment module, used to determine if the application includes a target application, based on the use The environmental parameter lowers the communication frequency between the target application and the server from the default communication frequency.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括一个或多个处理器;存储器;一个或多个应用程序,其中所述一个或多个应用程序被存 储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行如上述应用于电子设备的方法。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes one or more processors; a memory; one or more application programs, wherein the one or more application programs are stored in the memory And is configured to be executed by the one or more processors, and the one or more programs are configured to execute the method applied to the electronic device as described above.
第四方面,本申请实施列提供一种计算机可读存储介质,所述计算机可读存储介质中存储有程序代码,其中,在所述程序代码运行时执行上述的方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium in which a program code is stored, wherein the above-mentioned method is executed when the program code is running.
相对于现有技术,本申请提出的通信频率调节方法,通过获取电子设备的使用环境参数,在所述使用环境参数满足预设条件时,获取正在运行的应用程序,若正在运行的应用程序中包括目标应用程序,则根据所述使用环境参数将所述目标应用程序与服务器之间的通信频率从默认通信频率下调。从而在使用环境参数满足预设条件并且有目标应用程序运行的情况下,降低目标应用程序与服务器之间的通信频率,从而降低电子设备的功耗,提升电子设备的续航能力。Compared with the prior art, the communication frequency adjustment method proposed in this application obtains the use environment parameters of the electronic device, and when the use environment parameters meet the preset conditions, the running application is obtained. If the target application is included, the communication frequency between the target application and the server is lowered from the default communication frequency according to the use environment parameter. Therefore, when the use environment parameters meet the preset conditions and the target application is running, the communication frequency between the target application and the server is reduced, thereby reducing the power consumption of the electronic device and improving the endurance of the electronic device.
本申请的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These and other aspects of the present application will be more concise and understandable in the description of the following embodiments.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
图1示出了本申请一个实施例提供的通信频率调节方法的流程图。Fig. 1 shows a flowchart of a communication frequency adjustment method provided by an embodiment of the present application.
图2示出了本申请另一个实施例提供的通信频率调节方法的流程图。Fig. 2 shows a flowchart of a communication frequency adjustment method provided by another embodiment of the present application.
图3示出了本申请再一个实施例提供的通信频率调节方法的流程图。Fig. 3 shows a flowchart of a communication frequency adjustment method provided by still another embodiment of the present application.
图4示出了本申请还一个实施例提供的通信频率调节方法的流程图。Fig. 4 shows a flowchart of a communication frequency adjustment method provided by still another embodiment of the present application.
图5示出了本申请一个实施例提供的通信频率调节装置的功能模块图。Fig. 5 shows a functional block diagram of a communication frequency adjustment device provided by an embodiment of the present application.
图6示出了本申请实施例提出的用于执行根据本申请实施例的通信频率调节方法的电子设备的结构框图。Fig. 6 shows a structural block diagram of an electronic device proposed by an embodiment of the present application for executing the communication frequency adjustment method according to an embodiment of the present application.
图7示出了本申请实施例提供的用于保存或者携带实现根据本申请实施例的通信频率调节方法的程序代码的存储介质。FIG. 7 shows a storage medium provided by an embodiment of the present application for storing or carrying program code for implementing the communication frequency adjustment method according to the embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application.
随着技术的发展,人们在生活中经常使用手机,平板电脑等电子设备,人们通过在电子设备上安装多种应用程序来满足日常的工作或娱乐的需求。在某些应用程序中,为了实现对应的功能,会与服务器保持长时间的连接,以便于及时和服务器进行数据交互。例如,即时通讯应用程序,需要与服务器长时间 连接,以实现及时收发消息的功能。With the development of technology, people often use mobile phones, tablet computers and other electronic devices in their lives. People install a variety of applications on electronic devices to meet their daily work or entertainment needs. In some applications, in order to achieve corresponding functions, it will maintain a long-term connection with the server to facilitate timely data interaction with the server. For example, instant messaging applications need to be connected to the server for a long time to achieve the function of sending and receiving messages in a timely manner.
然而,在这种应用程序中,应用程序与服务器之间采用长连接的方式,由于长连接在收发数据后不会立刻断开连接,而是按照默认的通信频率保持与服务器之间的通信,由此会产生大量的功耗,从而导致电子设备的续航能力下降。发明人在研究中发现,人们并非是24小时都在使用电子设备,那么在人们没有使用电子设备的时候,可以通过降低应用程序与电子设备之间的通信频率来降低电子设备的功耗;并且,在应用程序的运行时,会受到网络的影响,在网络不好的情况下,应用程序与服务器之间按照默认频率保持数据传输时,可能会出现数据传输失败,从而一直处于重试的状态,也会增加电子设备的功耗,在这种情况下也可以降低应用程序与服务器之间的通信频率,实现降低电子设备功耗。However, in this kind of application, a long connection is used between the application and the server. Because the long connection will not disconnect immediately after sending and receiving data, it will keep communicating with the server according to the default communication frequency. As a result, a large amount of power consumption will be generated, resulting in a decrease in the endurance of the electronic device. The inventor found in research that people are not using electronic devices 24 hours a day, so when people are not using electronic devices, they can reduce the power consumption of electronic devices by reducing the frequency of communication between applications and electronic devices; and , When the application is running, it will be affected by the network. In the case of a bad network, when the data transmission between the application and the server is maintained at the default frequency, data transmission failure may occur, and it will always be in a retry state. , It will also increase the power consumption of the electronic device. In this case, the communication frequency between the application and the server can also be reduced to reduce the power consumption of the electronic device.
因此,发明人提出本申请的通信频率调节方法,通过获取电子设备的使用户环境参数,所述使用环境参数包括与电子设备的运行环境相关的参数;在使用环境参数满足预设条件时,获取正在运行的应用程序;若正在运行的应用程序中包括目标应用程序,则根据使用环境参数将所述目标应用程序与服务器之间的通信频率从默认通信频率下调。从而在使用环境参数满足预设条件并且有目标应用程序运行的情况下,降低目标应用程序与服务器之间的通信频率,从而降低电子设备的功耗,提升电子设备的续航能力。Therefore, the inventor proposes the communication frequency adjustment method of the present application to obtain user environment parameters of the electronic device, and the use environment parameters include parameters related to the operating environment of the electronic device; when the use environment parameters meet the preset conditions, obtain A running application; if the running application includes a target application, the communication frequency between the target application and the server is lowered from the default communication frequency according to the use environment parameters. Therefore, when the use environment parameters meet the preset conditions and the target application is running, the communication frequency between the target application and the server is reduced, thereby reducing the power consumption of the electronic device and improving the endurance of the electronic device.
下面将对本申请实施例进行详细的说明。The embodiments of the present application will be described in detail below.
请参阅图1,本申请实施例提供了一种通信频率调节方法,可应用于用户终端,本实施例描述的是用户终端侧的步骤流程,具体的该方法可以包括:Referring to FIG. 1, an embodiment of the present application provides a communication frequency adjustment method, which can be applied to a user terminal. This embodiment describes a step flow on the user terminal side. The specific method may include:
步骤S110:获取电子设备的使用环境参数,所述使用环境参数包括与电子设备的运行环境相关的参数。Step S110: Obtain a use environment parameter of the electronic device, where the use environment parameter includes parameters related to the operating environment of the electronic device.
电子设备在使用的过程中,可以对电子设备的使用环境进行检测,获取与电子设备的运行环境相关的参数,以根据运行环境相关的参数确定是否降低通信频率来降低功耗。其中,电子设备的使用环境参数可以是电子设备连接的网络类型,以及连接的网络的网络信号强度,从而可以根据网络类型以及网络信号强度确定电子设备的网络环境。所述使用环境参数还可以是在电子设备利用自身的传感器等获取到电子设备的位姿数据,从而可以根据所述位姿数据确定电子设备所处的位置环境。所述使用环境参数还可以是电子设备所处的时间,从而可以获取到电子设备的时间环境。During the use of the electronic device, the use environment of the electronic device can be detected, and parameters related to the operating environment of the electronic device can be obtained, so as to determine whether to reduce the communication frequency to reduce power consumption according to the parameters related to the operating environment. The use environment parameter of the electronic device may be the network type to which the electronic device is connected, and the network signal strength of the connected network, so that the network environment of the electronic device can be determined according to the network type and the network signal strength. The use environment parameter may also be the position and orientation data of the electronic device obtained by the electronic device using its own sensors, etc., so that the position environment where the electronic device is located can be determined according to the position and attitude data. The use environment parameter may also be the time when the electronic device is located, so that the time environment of the electronic device can be obtained.
电子设备获取所连接的网络类型以及网络信号强度时,可以是通过注册网络变化通知广播实现对网络类型以及网络信号强度的监控。在获取位姿数据时,可以通过GPS传感器,陀螺仪获取到位姿数据。When the electronic device obtains the connected network type and the network signal strength, it can monitor the network type and the network signal strength by registering the network change notification broadcast. When acquiring the pose data, the pose data can be obtained through GPS sensors and gyroscopes.
在电子设备的使用过程中,电子设备可以实时获取使用环境参数,以对电 子设备的运行环境进行监控。During the use of electronic equipment, the electronic equipment can obtain real-time use environment parameters to monitor the operating environment of the electronic equipment.
步骤S120:在所述使用环境参数满足预设条件时,获取正在运行的应用程序。Step S120: Obtain the running application when the use environment parameter meets the preset condition.
电子设备在获取到所述使用环境参数后,可以在所述使用环境参数满足预设条件时,获取正在运行的应用程序。在获取正在运行的应用程序之前,可以判断获取到的使用环境参数是否满足预设条件。After obtaining the use environment parameter, the electronic device may obtain the running application when the use environment parameter satisfies a preset condition. Before obtaining the running application, it can be judged whether the obtained use environment parameter meets the preset condition.
电子设备获取的使用环境参数可以是多个,例如,电子设备连接的网络类型,电子设备连接的网络的网络信号强度,电子设备的位姿数据,以及电子设备的时间都可以是电子设备获取到的使用环境参数。其中,不同的使用环境参数所对应的预设条件可以不同,由此,电子设备可以对获取到的每一个使用环境参数,判断所述使用环境参数是否满足预设条件。The use environment parameters acquired by the electronic device can be multiple, for example, the type of network the electronic device is connected to, the network signal strength of the network to which the electronic device is connected, the posture data of the electronic device, and the time of the electronic device can all be acquired by the electronic device The use of environmental parameters. The preset conditions corresponding to different use environment parameters may be different. Therefore, the electronic device can determine whether the use environment parameters meet the preset conditions for each obtained use environment parameter.
例如,在所述使用环境参数为连接的网络类型时,对应的预设条件为X;在所述使用环境参数为网络信号强度时,对应的预设条件为Y;在所述使用环境参数为位姿数据时,对应的预设条件为Z;在所述使用环境参数为时间时,对应的预设条件为W。For example, when the use environment parameter is the connected network type, the corresponding preset condition is X; when the use environment parameter is the network signal strength, the corresponding preset condition is Y; when the use environment parameter is For pose data, the corresponding preset condition is Z; when the use environment parameter is time, the corresponding preset condition is W.
若电子设备获取到的使用环境参数为网络类型,则根据预设条件X判断所述使用环境参数是否满足预设条件;若电子设备获取到的使用环境参数为网网络信号强度,则根据预设条件Y判断所述使用环境参数是否满足预设条件;若电子设备获取到的使用环境参数为位姿数据,则根据预设条件Z判断所述使用环境参数是否满足预设条件;若电子设备获取到的使用环境参数为时间,则根据预设条件W判断所述使用环境参数是否满足预设条件。If the use environment parameter obtained by the electronic device is a network type, it is determined whether the use environment parameter meets the preset condition according to the preset condition X; if the use environment parameter obtained by the electronic device is the network signal strength, it is determined according to the preset condition X Condition Y determines whether the use environment parameter meets the preset condition; if the use environment parameter acquired by the electronic device is pose data, then judge whether the use environment parameter meets the preset condition according to the preset condition Z; if the electronic device acquires When the arrived use environment parameter is time, it is determined whether the use environment parameter meets the preset condition according to the preset condition W.
若获取的使用环境参数满足预设条件,则可以获取正在运行的应用程序;若获取的使用环境参数不满足预设条件,则可以继续获取电子设备的使用环境参数,直到在所述使用环境参数满足预设条件时,执行获取正在运行的应用程序的步骤。If the obtained use environment parameters meet the preset conditions, the running application can be obtained; if the obtained use environment parameters do not meet the preset conditions, you can continue to obtain the use environment parameters of the electronic device until the use environment parameters When the preset condition is met, the step of obtaining the running application is executed.
步骤S130:若所述正在运行的应用程序中包括目标应用程序,则根据所述使用环境参数将所述目标应用程序与服务器之间的通信频率从默认通信频率下调。Step S130: If the target application is included in the running application, the communication frequency between the target application and the server is lowered from the default communication frequency according to the use environment parameter.
在获取到正在运行的应用程序后,可以确定所述正在运行的应用程序中,是否存在目标应用程序。其中,目标应用程序可以是预先设置的多个应用程序。若正在运行的应用程序中包括所述预先设置的应用程序,则可以认为所述正在运行的应用程序包括目标应用程序,则可以根据所述使用环境参数将所述目标应用程序与服务器之间的通信频率从默认通信频率下调。After obtaining the running application program, it can be determined whether there is a target application program in the running application program. Among them, the target application program may be a plurality of preset application programs. If the running application includes the preset application, it can be considered that the running application includes the target application, and the communication between the target application and the server can be determined according to the use environment parameter. The communication frequency is lowered from the default communication frequency.
其中,在正常情况下,或者说,在使用环境参数满足预设条件时,应用程序与服务器之间的通信频率为默认通信频率,在获取到的使用环境参数满足预 设条件时,且正在运行的应用程序中包括目标应用程序,可以认为在电子设备当前的使用环境中,目标应用程序与服务器之间的通信频率以减小电子设备的功耗,则可以将目标应用程序与服务器之前的通信频率从默认通信频率下调,以降低所述目标应用程序与服务器之间的通信频率。Among them, under normal circumstances, or when the use environment parameters meet the preset conditions, the communication frequency between the application and the server is the default communication frequency, and it is running when the obtained use environment parameters meet the preset conditions The application includes the target application. It can be considered that in the current use environment of the electronic device, the communication frequency between the target application and the server is to reduce the power consumption of the electronic device, then the target application can be communicated with the server before The frequency is lowered from the default communication frequency to reduce the communication frequency between the target application and the server.
本申请提出通信频率调节方法,获取电子设备的使用户环境参数,所述使用环境参数包括与电子设备的运行环境相关的参数;在使用环境参数满足预设条件时,获取正在运行的应用程序;若正在运行的应用程序中包括目标应用程序,则根据使用环境参数将所述目标应用程序与服务器之间的通信频率从默认通信频率下调。从而在使用环境参数满足预设条件并且有目标应用程序运行的情况下,降低目标应用程序与服务器之间的通信频率,从而降低电子设备的功耗,提升电子设备的续航能力。This application proposes a communication frequency adjustment method to obtain user environment parameters of an electronic device, where the use environment parameters include parameters related to the operating environment of the electronic device; when the use environment parameters meet preset conditions, obtain the running application; If the target application is included in the running application, the communication frequency between the target application and the server is lowered from the default communication frequency according to the use environment parameters. Therefore, when the use environment parameters meet the preset conditions and the target application is running, the communication frequency between the target application and the server is reduced, thereby reducing the power consumption of the electronic device and improving the endurance of the electronic device.
请参阅图2,本申请另一实施例提供了一种通信频率调节方法,本实施例在前述实施例的基础上,重点描述了判断获取的使用环境参数是否满足预设条件的过程,该方法可以包括:Referring to FIG. 2, another embodiment of the present application provides a communication frequency adjustment method. On the basis of the foregoing embodiment, this embodiment focuses on the process of determining whether the acquired use environment parameters meet preset conditions. Can include:
步骤S210:获取电子设备的使用环境参数,所述使用环境参数包括与电子设备的运行环境相关的参数。Step S210: Obtain a use environment parameter of the electronic device, where the use environment parameter includes parameters related to the operating environment of the electronic device.
步骤S210可参照前述实施例对应部分,在此不再赘述。For step S210, reference may be made to the corresponding part of the foregoing embodiment, which will not be repeated here.
步骤S220:判断获取的使用环境参数是否满足预设条件,若是,执行步骤S230,若否,执行步骤S210。Step S220: Determine whether the acquired use environment parameter meets the preset condition, if yes, execute step S230, if not, execute step S210.
使用环境参数可以是电子设备连接的网络类型、网络信号强度、位姿数据以及时间。其中,电子设备在获取到使用环境参数时,可以针对所述使用环境参数判断是否满足预设条件,不同的使用环境参数对应着不同的预设条件。The use environment parameters can be the network type, network signal strength, pose data, and time to which the electronic device is connected. Wherein, when the electronic device obtains the use environment parameter, it can judge whether the use environment parameter meets the preset condition, and different use environment parameters correspond to different preset conditions.
作为一种实施方式,在电子设备获取到的使用环境参数为电子设备连接的网络类型时,判断获取的使用环境参数是否满足预设条件,可以是在所述电子设备连接的网络类型为移动数据且低于所述电子设备支持的最新一代移动通信标准时,可以判定所述使用环境参数满足预设条件。As an implementation manner, when the use environment parameter obtained by the electronic device is the network type to which the electronic device is connected, it is determined whether the obtained use environment parameter satisfies the preset condition, which may be when the network type to which the electronic device is connected is mobile data. And when it is lower than the latest generation mobile communication standard supported by the electronic device, it can be determined that the use environment parameter meets the preset condition.
具体的,电子设备如移动终端可以支持移动通信标准,随着科技的发展,移动终端所能支持的移动通信标准也在不断的升级,从第二代移动通信标准即2G到现在的第五代移动通信标准即5G。若电子设备所支持的最新一代移动通信标准为第四代移动通信标准,那么在电子设备处于第三代移动通信标准时,可能会导致应用程序与服务器之间的通信数据传输缓慢,从而影响应用程序与服务器之间的正常通信。由此,可以在所述网络类型为移动数据且低于所述电子设备支持的最新一代移动通信标准时,判定所述使用环境参数满足预设条件。Specifically, electronic devices such as mobile terminals can support mobile communication standards. With the development of technology, the mobile communication standards that mobile terminals can support are also continuously upgraded, from the second generation of mobile communication standards, namely 2G, to the current fifth generation. The mobile communication standard is 5G. If the latest-generation mobile communication standard supported by the electronic device is the fourth-generation mobile communication standard, when the electronic device is in the third-generation mobile communication standard, the communication data transmission between the application and the server may be slow, thereby affecting the application Normal communication with the server. Thus, when the network type is mobile data and is lower than the latest generation mobile communication standard supported by the electronic device, it can be determined that the use environment parameter satisfies a preset condition.
作为一种实施方式,在电子设备获取到的使用环境参数为网络信号强度时,判断获取的使用户环境参数是否满足预设条件,可以是判断电子设备连接的网 络信号强度是否小于预设信号强度;若获取的网络信号强度小于预设信号强度,可以判定所述使用环境参数满足预设条件。As an implementation manner, when the use environment parameter acquired by the electronic device is the network signal strength, determining whether the acquired environment parameter of the user satisfies a preset condition may be determining whether the network signal strength of the electronic device is less than the preset signal strength ; If the acquired network signal strength is less than the preset signal strength, it can be determined that the use environment parameter meets the preset condition.
具体的,电子设备连接的无线通信网络可以是的Wi-Fi网络或是移动数据网络,在电子设备连接的Wi-Fi网络或是移动数据网络的网络信号强度小于预设信号强度时,可以认为当前的网络信号强度较低,可能会导致应用程序与服务器之间的通信数据传输缓慢,从而影响到应用程序与服务器的之间的正常通信。由此,在电子设备所处的网络信号强度小于预设强度时,判定所述使用环境参数满足预设条件。Specifically, the wireless communication network to which the electronic device is connected may be a Wi-Fi network or a mobile data network. When the Wi-Fi network or mobile data network to which the electronic device is connected has a network signal strength lower than the preset signal strength, it can be considered The current network signal strength is low, which may cause slow transmission of communication data between the application and the server, thereby affecting the normal communication between the application and the server. Thus, when the strength of the network signal where the electronic device is located is less than the preset strength, it is determined that the use environment parameter satisfies the preset condition.
作为一种实施方式,在电子设备获取的使用环境参数为网络类型以及对应的网络信号强度时,判断获取的使用环境参数是否满足预设条件可以是,若所述网络为移动数据且低于所述电子设备支持的最新一代移动通信标准时,可以判定所述使用环境参数满足预设条件;若所述网络类型不为移动数据或者不低于电子设备支持的最新一代移动通信标准,则可以判断所述网络信号强度是否小于预设信号强度,若所述网络信号强度小于所述预设信号强度,判定所述使用环境参数满足预设条件。As an implementation manner, when the use environment parameter obtained by the electronic device is the network type and the corresponding network signal strength, judging whether the obtained use environment parameter satisfies the preset condition may be, if the network is mobile data and is lower than all the data. When the latest generation of mobile communication standards supported by the electronic device, it can be determined that the use environment parameters meet the preset conditions; if the network type is not mobile data or not lower than the latest generation of mobile communication standards supported by the electronic device, it can be determined Whether the network signal strength is less than the preset signal strength, and if the network signal strength is less than the preset signal strength, it is determined that the use environment parameter satisfies the preset condition.
具体的,在电子设备连接的网络类型为移动数据且低于电子设备支持的最新一代移动通信标准时,应用程序与服务器之间的正常通信会受到影响,由此,在获取到电子设备连接的网络类型为移动数据且低于电子设备支持的最新一代移动通信标准时,可以直接判定所述使用环境参数满足预设条件;若所述电子设备连接的网络类型不为移动数据时,或是所述网络类型为移动数据但不低于电子设备支持的最新一代移动通信标准时,则判断网络信号强度是否低于预设网络信号强度,若低于预设网络信号强度,仍然会对应用程序与服务器之间的正常通信造成影响,从而可以判定所述使用环境参数满足预设条件。Specifically, when the network type that the electronic device is connected to is mobile data and is lower than the latest generation of mobile communication standards supported by the electronic device, the normal communication between the application and the server will be affected. Therefore, when the network connected to the electronic device is obtained When the type is mobile data and is lower than the latest generation of mobile communication standards supported by the electronic device, it can be directly determined that the use environment parameter satisfies the preset conditions; if the network type to which the electronic device is connected is not mobile data, or the network When the type is mobile data but not lower than the latest generation of mobile communication standards supported by the electronic device, it is determined whether the network signal strength is lower than the preset network signal strength. If it is lower than the preset network signal strength, there will still be a problem between the application and the server. It can be determined that the use environment parameters meet the preset conditions.
作为一种实施方式,在电子设备获取的使用环境参数为位姿数据时,判断所述使用环境参数是否满足预设条件,可以是判断在预设时间内,所述电子设备的位姿数据是否发生变化,若是,判定所述使用环境参数满足预设条件。具体的,位姿数据的变化表示电子设备的位置发生变化或者姿态发声变化,在预设时间内,若电子设备获取到的位姿数据没有发生变化,可以认为在预设时间内,电子设备没有被使用。在正常的电子设备的使用过程中,电子设备的位姿数据会发生变化。由此,在预设时间内,若电子设备的位姿数据没有发生变化,则可以判定所述使用环境参数满足预设条件。As an implementation manner, when the use environment parameter acquired by the electronic device is pose data, judging whether the use environment parameter satisfies a preset condition may be judging whether the pose data of the electronic device within a preset time If there is a change, it is determined that the use environment parameter meets the preset condition. Specifically, a change in pose data indicates a change in the position of the electronic device or a change in posture sound. Within a preset time, if the pose data acquired by the electronic device does not change, it can be considered that the electronic device has not changed within the preset time. used. During the normal use of electronic equipment, the pose data of the electronic equipment will change. Therefore, if the posture data of the electronic device does not change within the preset time, it can be determined that the use environment parameter satisfies the preset condition.
作为一种实施方式,在电子设备获取的使用环境参数为时间时,判断所述使用环境参数是否满足预设条件,可以是在电子设备获取到时间后,判断当前时间是否处于预设时间范围,所述预设时间范围内所述电子设备单位时间内收发的通信数据量小于预设数量;若是,判定所述使用环境参数满足所述预设条 件。As an implementation manner, when the use environment parameter acquired by the electronic device is time, it is determined whether the use environment parameter meets a preset condition, which may be after the electronic device acquires the time, determining whether the current time is within the preset time range, The amount of communication data sent and received by the electronic device per unit time within the preset time range is less than a preset amount; if so, it is determined that the use environment parameter satisfies the preset condition.
具体的,可以提前获取所述预设时间范围,在所述预设时间范围内,电子设备单位时间内收发的通信数据量小于预设数量,也就是说,在预设时间范围内,电子设备中运行的应用程序与服务器之间的数据传输量较小,不需要以较高的通信频率进行数据传输,则可以降低应用程序与服务器之间的通信频率。那么,当电子设备的当前时间处于所述预设时间范围内时,则可以判定所述使用环境参数满足所述预设条件。Specifically, the preset time range can be obtained in advance. Within the preset time range, the amount of communication data sent and received by the electronic device per unit time is less than the preset amount, that is, within the preset time range, the electronic device The amount of data transmission between the application program and the server running in the application program is small, and data transmission does not need to be performed at a higher communication frequency, and the communication frequency between the application program and the server can be reduced. Then, when the current time of the electronic device is within the preset time range, it can be determined that the use environment parameter satisfies the preset condition.
电子设备获取的使用环境参数可以是网络类型,网络信号强度,位姿数据以及时间中的任意一个或者多个。电子设备可以同时获取多个使用环境参数,如同时获取网络类型,网络信号强度,位姿数据以及时间,在所述多个使用环境参数中的任意一个满足预设条件时,则可以判定所述使用环境参数满足预设条件。The use environment parameters obtained by the electronic device may be any one or more of network type, network signal strength, pose data, and time. The electronic device can obtain multiple use environment parameters at the same time, such as simultaneously obtaining network type, network signal strength, pose data, and time. When any one of the multiple use environment parameters meets a preset condition, it can determine that the Use environmental parameters to meet preset conditions.
步骤S230:获取正在运行的应用程序。Step S230: Obtain the running application program.
在判定所述使用环境参数满足预设条件时,则可以获取电子设备正在运行的应用程序。从而可以根据正在运行的应用程序确定所述正在运行的应用程序中是否包括目标应用程序,在所述正在运行的应用程序包括目标应用程序时,则可以调节所述目标应用程序与服务器之间的通信频率。When it is determined that the use environment parameter satisfies the preset condition, the running application program of the electronic device can be obtained. Therefore, it can be determined whether the running application includes the target application according to the running application. When the running application includes the target application, the relationship between the target application and the server can be adjusted. Communication frequency.
步骤S240:若所述正在运行的应用程序中包括目标应用程序,则根据所述使用环境参数将所述目标应用程序与服务器之间的通信频率从默认通信频率下调。Step S240: If the running application includes a target application, the communication frequency between the target application and the server is lowered from the default communication frequency according to the use environment parameter.
步骤S240可参照前述实施例对应的部分,在此不再赘述。For step S240, reference may be made to the corresponding part of the foregoing embodiment, and details are not described herein again.
本申请提出通信频率调节方法,通过获取电子设备的使用户环境参数,所述使用环境参数包括与电子设备的运行环境相关的参数,具体的,包括网络类型、网络信号强度,位姿数据以及时间;在使用环境参数满足预设条件时,获取正在运行的应用程序;若正在运行的应用程序中包括目标应用程序,则根据使用环境参数将所述目标应用程序与服务器之间的通信频率从默认通信频率下调。从而从多个方面对电子设备的运行环境进行监控,增加了场景覆盖范围,从而可以在多个场景下,将所述目标应用程序与服务器之间的通信频率从默认通信频率下调,以降低电子设备的功耗,提升电子设备的续航能力。This application proposes a communication frequency adjustment method. The user environment parameters of an electronic device are obtained. The usage environment parameters include parameters related to the operating environment of the electronic device, specifically, including network type, network signal strength, pose data, and time. ; When the use environment parameters meet the preset conditions, obtain the running application; if the running application includes the target application, the communication frequency between the target application and the server is changed from the default according to the use environment parameter The communication frequency is lowered. Therefore, the operating environment of the electronic device is monitored from multiple aspects, and the coverage of the scene is increased, so that the communication frequency between the target application and the server can be lowered from the default communication frequency in multiple scenarios, so as to reduce the electronic equipment. The power consumption of the equipment improves the endurance of electronic equipment.
请参阅图3,本申请另一实施例提供了一种通信频率调节方法,本实施例在前述实施例的基础上,重点描述了在获取的使用环境参数为时间时,确定预设时间范围的过程,该方法可以包括:Referring to FIG. 3, another embodiment of the present application provides a communication frequency adjustment method. On the basis of the foregoing embodiment, this embodiment focuses on the method of determining the preset time range when the acquired use environment parameter is time. Process, the method can include:
步骤S310:监控目标应用程序与服务器之间的通信数据。Step S310: monitor the communication data between the target application and the server.
目标应用程序可以是电子设备预先设置好的一些应用程序,由此,电子设备可以在所述目标应用程序运行时,对所述目标应用程序与服务器之间的通信 数据进行监控。具体的,可以是获取每次目标应用程序与服务器之间的通信数据。从而对每次获取到的通信数据进行分析。The target application program may be some application programs preset by the electronic device. Therefore, the electronic device can monitor the communication data between the target application program and the server while the target application program is running. Specifically, the communication data between the target application and the server may be acquired each time. In order to analyze the communication data acquired each time.
步骤S320:通过对所述通信数据进行特征识别,统计在单位时间内收发通信数据的数据量。Step S320: Count the data volume of the communication data sent and received in a unit time by identifying the characteristics of the communication data.
在获取到目标应用程序与服务器之间的通信数据后,可以对所述通信数据进行特征识别,具体的,可以是识别所述通信数据中的发送数据以及接收数据,获取每个发送数据以及接收数据的产生的时间,从而可以统计在单位时间内收发通信数据的数据量。After obtaining the communication data between the target application and the server, the communication data can be characterized, specifically, it can be to identify the sending data and the receiving data in the communication data, and obtaining each sent data and receiving data. The time when the data is generated, so that the data volume of the communication data sent and received in the unit time can be counted.
在接收数据和发送数据中,可能会存在用于检测连接的空数据,可以通过特征识别去除所述接收数据和发送数据中的空数据之后,在统计所述单位时间内的接收数据和发送数据的数据量。In the received data and the sent data, there may be empty data used to detect the connection. After the empty data in the received data and the sent data can be removed by feature recognition, the received data and the sent data in the unit time can be counted The amount of data.
步骤S330:将所述收发通信数据的数据量小于预设数量的相邻单位时间整合为所述预设时间范围。Step S330: Integrate the adjacent unit time when the data amount of the received and sent communication data is less than the preset number into the preset time range.
目标应用程序在运行的过程中,若用户长期使用所述目标应用程序,在单位时间内,所述目标应用程序与服务器之间则会产生较大的收发通信数据。从而可以通过单位时间内的目标应用程序与服务器之间的收发通信数据的数据量,对用户的使用所述目标应用程序的习惯进行分析。During the running of the target application, if the user uses the target application for a long time, relatively large communication data will be sent and received between the target application and the server within a unit time. Therefore, the user's habit of using the target application can be analyzed through the data volume of the communication data sent and received between the target application and the server in a unit time.
在获取到所述在单位时间内收发通信数据的数据量时,可以判断所述收发通信数据的数据量是否小于预设数量。其中,所述预设数量可以是根据大数据统计分析后获得的一个平均数量,即在正常使用目标程序时,单位时间内的收发数据量。若单位时间内的收发通信数据的数据量小于预设数量时,可以认为没有使用所述目标应用程序,则可以将所述收发通信数据的数据量小于预设数量的相邻单位时间整合为所述预设时间范围。When the data volume of the communication data sent and received in the unit time is acquired, it can be determined whether the data volume of the communication data sent and received is less than a preset number. Wherein, the preset number may be an average number obtained after statistical analysis of big data, that is, the amount of data sent and received per unit time when the target program is used normally. If the data volume of the communication data sent and received per unit time is less than the preset number, it can be considered that the target application is not used, and the adjacent unit time when the data volume of the communication data sent and received is less than the preset number can be integrated into all The preset time range.
作为一种实施方式,在整合所述预设时间范围时,可以是在相邻单位时间的总长大于预设时长时,将所述相邻单位时间整合为所述预设时间范围。例如,单位时间内的收发数据量小于预设数量的有,第一个单位时间,第二个单位时间,第三个单位时间,第五个单位时间,第六个单位时间。其中,第一个单位时间,第二个单位时间,第三个单位时间为相邻单位时间,且第一个单位时间,第二个单位时间以及第三个单位时间的总长加起来大于预设时长,则可以将所述第一个单位时间,第二个单位时间,第三个单位时间整合为所述预设时间范围;第五个单位时间和第六个单位时间为相邻的单位时间,但是第五个单位时间和第六个单位时间的总长,小于所述预设时长,则不将第五个单位时间和第六个单位时间整合为所述预设时间范围。从而可以避免所述预设时间范围过短,从而引起在时间处于所述预设时间范围内时,且正在运行的应用程序中存在目标应用程序时,频繁的调整所述目标应用程序与服务器之间的通信频率,造成 额外的功耗。从而可以确定所述预设时间范围。As an implementation manner, when the preset time range is integrated, the adjacent unit time may be integrated into the preset time range when the total length of adjacent unit times is greater than the preset time length. For example, if the amount of data sent and received per unit time is less than the preset amount, there are the first unit time, the second unit time, the third unit time, the fifth unit time, and the sixth unit time. Among them, the first unit time, the second unit time, and the third unit time are adjacent unit times, and the total length of the first unit time, the second unit time and the third unit time is greater than the preset Time length, the first unit time, the second unit time, and the third unit time can be integrated into the preset time range; the fifth unit time and the sixth unit time are adjacent unit times , But the total length of the fifth unit time and the sixth unit time is less than the preset time length, the fifth unit time and the sixth unit time are not integrated into the preset time range. This prevents the preset time range from being too short, causing frequent adjustments between the target application and the server when the time is within the preset time range and there is a target application in the running application. Inter-communication frequency, causing additional power consumption. Thereby, the preset time range can be determined.
作为另一种实施方式,电子设备可以接收用户发送的设置指令,根据所述设置指令确定所述预设时间范围。具体的,电子设备可以提供一个预设时间范围设置接口,用户可以通过该接口向电子设备发送设置指令,对时间范围进行设置,电子设备则可以将用户设置时间范围作为所述预设时间范围。As another implementation manner, the electronic device may receive a setting instruction sent by a user, and determine the preset time range according to the setting instruction. Specifically, the electronic device may provide a preset time range setting interface through which the user can send a setting instruction to the electronic device to set the time range, and the electronic device may use the user-set time range as the preset time range.
步骤S340:获取电子设备的使用环境参数,所述使用环境参数包括时间。Step S340: Obtain a use environment parameter of the electronic device, where the use environment parameter includes time.
步骤S350:判断所述时间是否处于预设时间范围,若是,执行步骤S360,若否,执行步骤S340。Step S350: Determine whether the time is within the preset time range, if yes, execute step S360, if not, execute step S340.
在确定所述预设时间范围后,电子设备可以获取当前所处于的时间。作为一种实施方式,电子设备可以获取电子设备的系统时间,根据所述系统改时间判断是否处于预设时间范围。作为另一种实施方式,电子设备可以是获取网络时间,根据所述网络时间判断是否处于预设时间范围。具体的,电子设备获取的是系统时间还是网络时间,可以根据实际的需求进行设置,在此不做具体限定。After determining the preset time range, the electronic device can obtain the current time. As an implementation manner, the electronic device may obtain the system time of the electronic device, and determine whether it is in a preset time range according to the system change time. As another implementation manner, the electronic device may obtain the network time, and determine whether it is within a preset time range according to the network time. Specifically, whether the electronic device obtains the system time or the network time can be set according to actual needs, and is not specifically limited here.
在所述电子设备获取到时间后,确定所述时间是否处于所述预设时间范围,若所述时间处于所述预设时间范围,则可以执行步骤S360,若所述时间不处于所述预设时间范围,则可以继续获取时间。After the electronic device obtains the time, it is determined whether the time is within the preset time range, if the time is within the preset time range, step S360 may be performed, and if the time is not within the preset time range, Set the time range, you can continue to get the time.
步骤S360:获取正在运行应用程序。Step S360: Obtain the running application.
步骤S370:若所述正在运行的应用程序中包括目标应用程序,则根据所述使用环境参数将所述目标应用程序与服务器之间的通信频率从默认通信频率下调。Step S370: If the running application includes a target application, the communication frequency between the target application and the server is lowered from the default communication frequency according to the use environment parameter.
步骤S360至步骤S370可参照前述实施例对应部分,在此不再赘述。For step S360 to step S370, reference may be made to the corresponding part of the foregoing embodiment, which will not be repeated here.
本申请提出通信频率调节方法,监控目标应用程序与服务器之间的通信数据,通过对所述通信数据进行特征识别,统计在单位时间内收发通信数据的数据量,将所述收发通信数据的数据量小于预设数量的相邻单位时间整合为所述预设时间范围,从而可以根据对用户的行为习惯进行分析,将用户收发数据较少的时间段作为所述预设时间范围,当电子设备获取的时间处于所述预设时间范围时,获取电子设备正在运行的应用程序,在所述应用程序中存在目标应用程序时,则可以将所述目标应用程序与服务器之间的通信频率从默认通信频率下调。从而可以更加智能的调节目标应用程序与服务器之间的通信频率,以降低电子设备的功耗,提升电子设备的续航能力。This application proposes a communication frequency adjustment method, which monitors the communication data between the target application and the server. By identifying the characteristics of the communication data, the data volume of the communication data sent and received in a unit time is counted, and the data of the communication data sent and received is calculated. The adjacent unit time whose amount is less than the preset number is integrated into the preset time range, so that the user’s behavior and habits can be analyzed, and the time period when the user receives and receives less data is taken as the preset time range. When the electronic device When the acquired time is within the preset time range, acquire the running application of the electronic device. When the target application exists in the application, the communication frequency between the target application and the server can be changed from the default The communication frequency is lowered. Thereby, the communication frequency between the target application and the server can be adjusted more intelligently, so as to reduce the power consumption of the electronic device and improve the endurance of the electronic device.
请参阅图4,本申请又一实施例提供了一种通信频率调节方法,本实施例在前述实施例的基础上,重点描述了将所述目标应用程序与服务器之间的通信频率从默认通信频率下调的过程,该方法可以包括:4, another embodiment of the present application provides a communication frequency adjustment method. On the basis of the foregoing embodiments, this embodiment focuses on changing the communication frequency between the target application and the server from the default communication frequency. The process of frequency reduction, the method can include:
步骤S410:获取电子设备的使用环境参数,所述使用环境参数包括与电 子设备的运行环境相关的参数。Step S410: Obtain a use environment parameter of the electronic device, where the use environment parameter includes parameters related to the operating environment of the electronic device.
步骤S420:在所述使用环境参数满足预设条件时,获取正在运行的应用程序。Step S420: Obtain the running application when the use environment parameter meets the preset condition.
步骤S410至步骤S420可参照前述实施例对应部分,在此不再赘述。For step S410 to step S420, refer to the corresponding part of the foregoing embodiment, which will not be repeated here.
步骤S430:判断正在运行的应用程序是否包括目标应用程序,若是,执行步骤S440;若否,执行步骤S420。Step S430: Determine whether the running application program includes the target application program, if yes, go to step S440; if not, go to step S420.
在判定所述使用环境参数满足预设条件时,则可以获取正在运行的应用程序。其中,正在运行的应用程序可以是前台运行的应用程序以及后台运行的应用程序。在获取到正在运行的应用程序后,可以判断所述正在运行的应用程序中是否包括目标应用程序。When it is determined that the use environment parameter meets the preset condition, the running application can be obtained. Among them, the running application program may be an application program running in the foreground and an application program running in the background. After obtaining the running application, it can be determined whether the running application includes the target application.
作为一种实施方式,可以是获取所述正在运行的应用程序与服务器之间的连接方式,判断所述连接方式是否为长连接,若所述连接方式为长连接,判定所述正在运行的应用程序为目标应用程序。As an implementation manner, it may be to obtain the connection mode between the running application and the server, determine whether the connection mode is a persistent connection, and if the connection mode is a persistent connection, determine the running application The program is the target application.
应用程序与服务器之间的连接方式可以是长连接和短连接,其中,长连接为应用程序长时间保持与服务器的连接状态,短连接为数据传输完毕后,则断开与服务器之间的连接方式。从而电子设备可以根据应用程序与服务器之间的连接时长来确定所述应用程序与服务器之间的连接方式。在确定所述正在运行的应用程序中,存在应用程序的连接方式为长连接,则可以将连接方式为长连接的应用程序作为所述目标应用程序,从而可以判定正在运行的应用程序包括目标应用程序。The connection between the application and the server can be a long connection and a short connection. The long connection means that the application keeps the connection with the server for a long time, and the short connection means that the connection with the server is disconnected after the data transmission is completed. the way. Therefore, the electronic device can determine the connection mode between the application and the server according to the connection duration between the application and the server. When it is determined that among the running applications, the connection mode of the existing application is a persistent connection, then the application whose connection mode is the persistent connection can be used as the target application, so that it can be determined that the running application includes the target application program.
作为另一种实施方式,可以是预先存储有目标应用程序表,用于存储所述目标应用程序的标识符,其中,所述应用程序的标识符可以是应用程序的名称,也可以是应用程序的应用ID等。由此,电子设备在获取到正在运行的应用程序后,可以获取所述正在运行的应用程序的标识符,判断在所述目标应用程序表中是否存在正在运行的应用程序的标识符,若存在,则可以判定所述正在运行的应用程序中包括目标应用程序。As another implementation manner, a target application table may be pre-stored for storing the identifier of the target application, where the identifier of the application may be the name of the application or the application. Application ID, etc. Therefore, after acquiring the running application, the electronic device can acquire the identifier of the running application, and determine whether there is the identifier of the running application in the target application table. , It can be determined that the running application includes the target application.
在判定所述正在运行的应用程序中包括目标应用程序,则可以执行步骤S440,若判定所述正在运行的而应用程序中不包括目标应用程序,则可以在所述使用环境参数满足预设条件时,继续获取正在运行的应用程序。When it is determined that the target application is included in the running application, step S440 may be performed. If it is determined that the target application is not included in the running application, then the use environment parameter may satisfy the preset condition. When, continue to get the running application.
步骤S440:获取所述使用环境参数满足预设条件的时长。Step S440: Obtain the length of time that the use environment parameter satisfies the preset condition.
步骤S450:根据所述使用环境参数满足预设条件的时长,将所述目标应用程序与服务器之间的通信频率逐渐调低。Step S450: According to the length of time that the use environment parameter satisfies the preset condition, the communication frequency between the target application and the server is gradually reduced.
在所述使用环境参数满足预设条件时,且在运行的应用程序中包括目标应用程序时,则可以获取所述使用环境参数满足预设条件的时长,根据所述使用环境参数满足预设条件的时长,将所述目标应用程序与服务器之间的通信频率 逐渐调低。可以是所述使用环境参数满足预设条件的时长越长,所述目标应用程序与服务器之间的通信频率越低。具体的,调低所述目标应用程序与服务器之间的通信频率可以是通过延长所述目标应用程序向服务器发送数据包的时间间隔,从而以将所述目标应用程序与服务器之间的通信频率从默认通信频率下调。When the use environment parameter satisfies the preset condition and the target application is included in the running application, the length of time that the use environment parameter satisfies the preset condition can be obtained, and the use environment parameter satisfies the preset condition The communication frequency between the target application and the server is gradually reduced. It may be that the longer the time period during which the use environment parameter satisfies the preset condition, the lower the communication frequency between the target application and the server. Specifically, reducing the communication frequency between the target application and the server may be by extending the time interval for the target application to send data packets to the server, so as to reduce the communication frequency between the target application and the server. Decrease from the default communication frequency.
根据所述使用环境参数满足预设条件的时长,逐步降低所述应用程序与服务器之间的通信频率,可以设置多个时长,分别为所述多个时长设置对应的通信频率。例如,设置的时长可以是第一时长,第二时长,第三时长,对应所述第一时长的通信频率为第一频率,对应所述第二时长的频率为第二频率,对应所述第三时长的通信频率为第一频率,其中,所述第一时长小于所述第二时长,所述第二时长小于所述第三时长,第一频率大于所述第二频率,第二频率大于所述第三频率,第一频率小于目标应用程序与服务器之间的默认通信频率。The communication frequency between the application and the server is gradually reduced according to the length of time when the use environment parameter satisfies the preset condition, multiple time lengths can be set, and corresponding communication frequencies are set for the multiple time lengths respectively. For example, the set duration may be a first duration, a second duration, and a third duration. The communication frequency corresponding to the first duration is the first frequency, and the frequency corresponding to the second duration is the second frequency, which corresponds to the first duration. The three-hour communication frequency is the first frequency, where the first duration is less than the second duration, the second duration is less than the third duration, the first frequency is greater than the second frequency, and the second frequency is greater than The third frequency, the first frequency is less than the default communication frequency between the target application and the server.
若所述使用环境参数满足预设条件的时长小于第一时长,则将所述目标应用程序与服务器之间的通信频率调整为第一通信频率;若所述使用环境参数满足预设条件的时长大于第一时长且小于第二时长,则将所述目标应用程序与服务器之间的通信频率调整为第二通信频率,若所述使用环境参数满足预设条件的时长大于于第二时长且小于第三时长,则将所述目标应用程序与服务器之间的通信频率调整为第三通信频率。从而可以根据所述使用环境参数满足预设条件的时长,逐步降低所述目标应用程序与服务器之间的通信频率。If the duration of the use environment parameter meeting the preset condition is less than the first duration, the communication frequency between the target application and the server is adjusted to the first communication frequency; if the use environment parameter satisfies the duration of the preset condition Is greater than the first duration and less than the second duration, then the communication frequency between the target application and the server is adjusted to the second communication frequency, if the usage environment parameter satisfies the preset condition, the duration is greater than the second duration and less than For the third duration, the communication frequency between the target application and the server is adjusted to the third communication frequency. Thereby, the communication frequency between the target application and the server can be gradually reduced according to the length of time that the use environment parameter satisfies the preset condition.
根据所述使用环境参数满足预设条件时长,将所述目标应用程序与服务器之间的通信频率逐渐降低,适用于所有的场景,即,在电子设备获取到的使用环境参数为网络类型,网络信号强度,位姿参数,时间中的任意一个时,都可以根据所述使用环境参数满足预设条件的时长,将所述目标应用程序与服务器之间的通信频率逐渐降低。在一些特定的场景下,还可以有不同的调节方式。例如,在获取的使用环境参数为网络信号强度时,可以根据网络信号强度所处的网络信号强度范围,所述使用环境参数将所述目标应用程序与服务器之间的通信频率从默认通信频率下调。The communication frequency between the target application and the server is gradually reduced according to the length of time the use environment parameter meets the preset condition, which is suitable for all scenarios, that is, the use environment parameter acquired on the electronic device is the network type, and the network When any one of the signal strength, the pose parameter, and the time is selected, the communication frequency between the target application and the server can be gradually reduced according to the length of time that the use environment parameter satisfies the preset condition. In some specific scenarios, there can also be different adjustment methods. For example, when the acquired use environment parameter is the network signal strength, the use environment parameter may lower the communication frequency between the target application and the server from the default communication frequency according to the network signal strength range where the network signal strength is located. .
电子设备内可以预先存储有通信频率对照表,所述通信频率对照表中包括不同的网络信号强度范围与通信频率之间的对应关系。具体的,所述通信频率对照表可以参照表1。A communication frequency comparison table may be pre-stored in the electronic device, and the communication frequency comparison table includes the correspondence between different network signal strength ranges and communication frequencies. Specifically, the communication frequency comparison table can refer to Table 1.
表1Table 1
网络信号强度范围Network signal strength range a~ba~b b~cb~c c~dc~d
通信频率Communication frequency AA BB CC
在表1中,所述网络信号强度范围a~b表示网络信号强度在a和b之间, 包括a;网络信号强度范围b~c表示网络信号强度在b和c之间,包括b;网络信号强度范围c~d表示网络信号强度在c和d之间,包括c。其中网络信号强度范围a>b>c>d,a小于预设网络信号强度;通信频率A>B>C,A小于应用程序与服务器之间的默认通信频率。In Table 1, the network signal strength range a to b indicates that the network signal strength is between a and b, including a; the network signal strength range b to c indicates that the network signal strength is between b and c, including b; The signal strength range c to d indicates that the network signal strength is between c and d, including c. The network signal strength range is a>b>c>d, a is less than the preset network signal strength; the communication frequency is A>B>C, and A is less than the default communication frequency between the application and the server.
从而电子设备在获取到网络信号强度时,可以确定所述网络信号强度所处于的网络信号强度范围,在在所述通信频率对照表中查找与所述网络信号强度范围对应的通信频率;将所述目标应用程序当前与服务器之间的通信频率调整为在所述通信频率对照表中查找到的通信频率。Therefore, when the electronic device obtains the network signal strength, it can determine the network signal strength range where the network signal strength is, and search the communication frequency comparison table for the communication frequency corresponding to the network signal strength range; The current communication frequency between the target application and the server is adjusted to the communication frequency found in the communication frequency comparison table.
此外,将所述目标应用程序与服务器之间的通信频率从默认通信频率下调,还可以是在使用环境参数满足预设条件,并且正在运行的应用程序中存在目标应用程序时,直接将目标应用程序与服务器之间的通信频率从默认通信频率下调到预先设定的通信频率。其中所述预先设定的通信频率可以是维持目标应用程序与服务器之间的连接的最低通信频率,从而可以最大化的节约电子设备的能耗。In addition, the communication frequency between the target application and the server is lowered from the default communication frequency, or when the use environment parameters meet the preset conditions, and the target application exists in the running application, the target application is directly adjusted The communication frequency between the program and the server is lowered from the default communication frequency to the preset communication frequency. The preset communication frequency may be the lowest communication frequency that maintains the connection between the target application and the server, so that the energy consumption of the electronic device may be maximized.
电子设备在所述使用环境参数满足预设条件时,且在电子设备正在运行的应用程序中包括目标应用程序,则将所述目标应用程序与服务器之间的通信频率从默认通信频率下调之后,若所述使用环境参数不满足预设条件,即获取到的使用环境参数中,网络类型,网络信号强度,位姿参数,时间中的任意一个都不满足预设条件时,则可以将所述目标应用程序与服务器之间的通信频率恢复到所述默认通信频率。When the use environment parameter of the electronic device satisfies the preset condition and the application program running on the electronic device includes a target application, after the communication frequency between the target application and the server is lowered from the default communication frequency, If the use environment parameters do not meet the preset conditions, that is, when any of the obtained use environment parameters, network type, network signal strength, pose parameters, and time do not meet the preset conditions, the The communication frequency between the target application and the server is restored to the default communication frequency.
本申请提出通信频率调节方法,获取电子设备的使用环境参数,所述使用环境参数包括与电子设备的运行环境相关的参数;在所述使用环境参数满足预设条件时,获取正在运行应用程序;判断正在运行的应用程序是否包括目标应用程序;若是,则获取所述使用环境参数满足预设条件的时长,若否,则在所述使用环境参数满足预设条件时,获取正在运行的应用程序,在获取到所述使用环境参数满足预设条件的时长后,则根据所述使用环境参数满足预设条件的时长,将所述目标应用程序与服务器之间的通信频率逐渐调低。从而可以实现对所述目标应用程序与服务器之间的通信频率的阶梯式调低,避免直接将目标应用程序与服务器之间的通信频率调节到最低,从而可以更加智能的调节目标应用程序与服务器之间的通信频率,以降低电子设备的功耗,提升电子设备的续航能力。This application proposes a communication frequency adjustment method to obtain use environment parameters of an electronic device, where the use environment parameters include parameters related to the operating environment of the electronic device; when the use environment parameters meet preset conditions, obtain a running application; Determine whether the running application includes the target application; if so, obtain the length of time that the use environment parameter meets the preset condition; if not, obtain the running application when the use environment parameter meets the preset condition After obtaining the length of time that the use environment parameter satisfies the preset condition, according to the length of time that the use environment parameter satisfies the preset condition, the communication frequency between the target application and the server is gradually reduced. Thereby, the communication frequency between the target application and the server can be reduced stepwise, avoiding directly adjusting the communication frequency between the target application and the server to the minimum, so that the target application and the server can be adjusted more intelligently. To reduce the power consumption of electronic equipment and improve the endurance of electronic equipment.
请参阅图5,其示出了本申请实施例提供的一种通信频率调节装置500,应用于电子设备,所述装置500包括获取模块510、判断模块520、调整模块530。Please refer to FIG. 5, which shows a communication frequency adjustment apparatus 500 provided by an embodiment of the present application, which is applied to an electronic device. The apparatus 500 includes an acquisition module 510, a judgment module 520, and an adjustment module 530.
所述获取模块510用于获取电子设备的使用环境参数,所述使用环境参数 包括与电子设备的运行环境相关的参数;所述判断模块520用于在所述使用环境参数满足预设条件时,获取正在运行的应用程序;所述调整模块530,用于若所述应用程序中包括目标应用程序,则根据所述使用环境参数将所述目标应用程序与服务器之间的通信频率从默认通信频率下调。The obtaining module 510 is used to obtain the use environment parameters of the electronic device, and the use environment parameters include parameters related to the operating environment of the electronic device; the judgment module 520 is used to obtain when the use environment parameters meet the preset conditions, Acquire the running application; the adjustment module 530 is configured to, if the application includes a target application, change the communication frequency between the target application and the server from the default communication frequency according to the use environment parameter Down.
进一步的,在获取正在运行的应用程序之前,所述判断模块520还用于判断获取的使用环境参数是否满足预设条件;若满足,获取正在运行的应用程序。Further, before acquiring the running application, the judgment module 520 is also used to judge whether the acquired use environment parameter meets the preset condition; if so, acquire the running application.
进一步的,所述使用环境参数包括连接的网络类型,所述判断模块520还用于若所述电子设备连接的网络类型为移动数据且低于所述电子设备支持的最新一代移动通信标准,判定所述使用环境参数满足预设条件。Further, the use environment parameter includes the connected network type, and the judging module 520 is also used for judging if the network type to which the electronic device is connected is mobile data and is lower than the latest generation of mobile communication standards supported by the electronic device The use environment parameter satisfies the preset condition.
进一步的,所述使用环境参数包括连接的网络信号强度,所述判断模块520还用于判断电子设备连接的网络的网络信号强度是否小于预设信号强度;若是,判定所述使用环境参数满足预设条件。Further, the use environment parameters include the connected network signal strength, and the judgment module 520 is also used to judge whether the network signal strength of the network to which the electronic device is connected is less than a preset signal strength; if so, it is determined that the use environment parameter meets the preset signal strength. Set conditions.
进一步的,所述使用环境参数包括电子设备连接的网络类型以及对应的网络信号强度,所述判断模块520还用于若所述网络类型为移动数据且低于所述电子设备支持的最新一代移动通信标准,判定所述使用环境参数满足预设条件;若所述网络类型不为移动数据或者不低于所述电子设备支持的最新一代移动通信标准,判断所述网络信号强度是否小于预设信号强度;若所述网络信号强度小于预设信号强度,判定所述使用环境参数满足预设条件。Further, the use environment parameters include the network type to which the electronic device is connected and the corresponding network signal strength, and the judgment module 520 is also used to determine if the network type is mobile data and is lower than the latest generation of mobile data supported by the electronic device. Communication standards, determining that the use environment parameters meet preset conditions; if the network type is not mobile data or not lower than the latest generation of mobile communication standards supported by the electronic device, determining whether the network signal strength is less than the preset signal Strength; if the network signal strength is less than the preset signal strength, it is determined that the use environment parameter satisfies the preset condition.
进一步的,所述使用环境参数包括位姿数据,所述判断模块520还用于判断在预设时间内,所述电子设备的位姿数据是否发生变化;若是,判定所述使用环境参数满足预设条件。Further, the use environment parameter includes pose data, and the judgment module 520 is also used to determine whether the pose data of the electronic device has changed within a preset time; if so, determine that the use environment parameter meets the preset time. Set conditions.
进一步的,所述通信频率调节装置500还包括确定模块,在判断当前时间是否处于预设时间范围之前,所述确定模块用于确定所述预设时间范围。Further, the communication frequency adjustment device 500 further includes a determining module, and the determining module is used to determine the preset time range before determining whether the current time is within the preset time range.
进一步的,所述确定模块还用于监控目标应用程序与服务器之间的通信数据;通过对所述通信数据进行特征识别,统计在单位时间内收发通信数据的数据量;将所述收发通信数据的数据量小于预设数量的相邻单位时间整合为所述预设时间范围。Further, the determination module is also used to monitor the communication data between the target application and the server; by identifying the characteristics of the communication data, count the data volume of the communication data sent and received within a unit time; and send and receive the communication data The adjacent unit time whose data amount is less than the preset number is integrated into the preset time range.
进一步的,所述确定模块还用于接收用户的设置指令,根据所述设置指令确定所述预设时间范围。Further, the determining module is further configured to receive a setting instruction from a user, and determine the preset time range according to the setting instruction.
进一步的,所述调整模块530还用于根据所述使用环境参数满足预设条件的时长,将所述目标应用程序与服务器之间的通信频率逐渐调低。Further, the adjustment module 530 is further configured to gradually decrease the communication frequency between the target application and the server according to the length of time when the use environment parameter satisfies a preset condition.
进一步的,所述调整模块530还用于若所述使用环境参数满足预设条件的时长越长,所述目标应用程序与服务器之间的通信频率越低。Further, the adjustment module 530 is also configured to, if the use environment parameter satisfies the preset condition, the longer the time period, the lower the communication frequency between the target application and the server.
进一步的,所述调整模块530还用于根据所述网络信号强度,将所述目标应用程序与服务器之间的通信频率逐渐调低,其中,所述网络信号强度越弱, 所述通信频率越低。Further, the adjustment module 530 is further configured to gradually lower the communication frequency between the target application and the server according to the network signal strength, where the weaker the network signal strength, the higher the communication frequency. low.
进一步的,预先存储有通信频率对照表,所述通信频率对照表中包括不同的网络信号强度范围与通信频率之间的对应关系,所述调整模块530还用于确定所述网络信号强度所处于的网络信号强度范围;在所述通信频率对照表中查找与所述网络信号强度范围对应的通信频率;将所述目标应用程序当前与服务器之间的通信频率调整为在所述通信频率对照表中查找到的通信频率。Further, a communication frequency comparison table is pre-stored, and the communication frequency comparison table includes the correspondence between different network signal strength ranges and communication frequencies. The adjustment module 530 is also used to determine where the network signal strength is The network signal strength range of the network; look up the communication frequency corresponding to the network signal strength range in the communication frequency comparison table; adjust the current communication frequency between the target application and the server to be in the communication frequency comparison table The communication frequency found in.
进一步的,所述调整模块530还用于根据所述网络信号强度,将所述目标应用程序与服务器之间的通信频率逐渐调低,其中,所述网络信号强度越弱,所述通信频率越低。Further, the adjustment module 530 is further configured to gradually lower the communication frequency between the target application and the server according to the network signal strength, where the weaker the network signal strength, the higher the communication frequency. low.
进一步的,在根据所述使用环境参数将所述目标应用程序与服务器之间的通信频率从默认通信频率下调之前,所述判断模块520还用于获取正在运行应用程序与服务器之间的连接方式;判断所述通信连接方式是否为长连接;若是,判定所述正在运行的应用程序为目标应用程序。Further, before the communication frequency between the target application and the server is lowered from the default communication frequency according to the use environment parameter, the judgment module 520 is also used to obtain the connection mode between the running application and the server ; Determine whether the communication connection mode is a long connection; if so, determine that the running application is the target application.
进一步的,所述调整模块530还用于所述根据所述使用环境参数将所述目标应用程序与服务器之间的通信频率从默认通信频率下调之后,若所述使用环境参数不满足预设条件,将所述目标应用程序与服务器之间的通信频率恢复到所述默认通信频率。Further, the adjustment module 530 is further configured to reduce the communication frequency between the target application and the server from the default communication frequency according to the usage environment parameter, if the usage environment parameter does not meet the preset condition To restore the communication frequency between the target application and the server to the default communication frequency.
需要说明的是,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。It should be noted that those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the device and module described above can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
综上所述,本申请提供的通信频率调节方法,获取电子设备的使用户环境参数,所述使用环境参数包括与电子设备的运行环境相关的参数;在使用环境参数满足预设条件时,获取正在运行的应用程序;若正在运行的应用程序中包括目标应用程序,则根据使用环境参数将所述目标应用程序与服务器之间的通信频率从默认通信频率下调。从而在使用环境参数满足预设条件并且有目标应用程序运行的情况下,降低目标应用程序与服务器之间的通信频率,从而降低电子设备的功耗,提升电子设备的续航能力。In summary, the communication frequency adjustment method provided by the present application obtains user environment parameters of electronic devices, and the use environment parameters include parameters related to the operating environment of the electronic device; when the use environment parameters meet preset conditions, obtain A running application; if the running application includes a target application, the communication frequency between the target application and the server is lowered from the default communication frequency according to the use environment parameters. Therefore, when the use environment parameters meet the preset conditions and the target application is running, the communication frequency between the target application and the server is reduced, thereby reducing the power consumption of the electronic device and improving the endurance of the electronic device.
在本申请所提供的几个实施例中,所显示或讨论的模块相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, the coupling or direct coupling or communication connection between the displayed or discussed modules may be through some interfaces, and the indirect coupling or communication connection between the devices or modules may be electrical, Mechanical or other forms.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or software function modules.
请参考图6,其示出了本申请实施例提供的一种电子设备的结构框图。该 电子设备600可以是智能手机、平板电脑、电子书等能够运行应用程序的电子设备。本申请中的电子设备600可以包括一个或多个如下部件:处理器610、存储器620,以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器620中并被配置为由一个或多个处理器610执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。Please refer to FIG. 6, which shows a structural block diagram of an electronic device provided by an embodiment of the present application. The electronic device 600 may be an electronic device capable of running application programs, such as a smart phone, a tablet computer, or an e-book. The electronic device 600 in this application may include one or more of the following components: a processor 610, a memory 620, and one or more application programs, where one or more application programs may be stored in the memory 620 and configured to be configured by One or more processors 610 execute, and one or more programs are configured to execute the methods described in the foregoing method embodiments.
处理器610可以包括一个或者多个处理核。处理器610利用各种接口和线路连接整个电子设备600内的各个部分,通过运行或执行存储在存储器620内的指令、程序、代码集或指令集,以及调用存储在存储器620内的数据,执行电子设备600的各种功能和处理数据。可选地,处理器610可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器610可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器610中,单独通过一块通信芯片进行实现。The processor 610 may include one or more processing cores. The processor 610 uses various interfaces and lines to connect various parts of the entire electronic device 600, and executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 620, and calling data stored in the memory 620 Various functions and processing data of the electronic device 600. Optionally, the processor 610 may use at least one of digital signal processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA). A kind of hardware form to realize. The processor 610 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is used for rendering and drawing of display content; the modem is used for processing wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 610, but may be implemented by a communication chip alone.
存储器620可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器620可用于存储指令、程序、代码、代码集或指令集。存储器620可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储电子设备600在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。The memory 620 may include random access memory (RAM) or read-only memory (Read-Only Memory). The memory 620 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 620 may include a storage program area and a storage data area, where the storage program area may store instructions for implementing the operating system and instructions for implementing at least one function (such as touch function, sound playback function, image playback function, etc.) , Instructions used to implement the following various method embodiments, etc. The storage data area can also store data created by the electronic device 600 during use (such as phone book, audio and video data, chat record data) and the like.
请参考图7,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读存储介质700中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。Please refer to FIG. 7, which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. The computer-readable storage medium 700 stores program codes, and the program codes can be invoked by a processor to execute the methods described in the foregoing method embodiments.
计算机可读存储介质700可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质700包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质700具有执行上述方法中的任何方法步骤的程序代码710的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码710可以例如以适当形式进行压缩。The computer-readable storage medium 700 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 700 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 700 has storage space for the program code 710 for executing any method steps in the above-mentioned methods. These program codes can be read from or written into one or more computer program products. The program code 710 may be compressed in a suitable form, for example.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限 制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the application, not to limit them; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions recorded in the foregoing embodiments are modified, or some of the technical features thereof are equivalently replaced; these modifications or replacements do not drive the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (20)

  1. 一种通信频率调节方法,其特征在于,应用于电子设备,所述方法包括:A communication frequency adjustment method, characterized in that it is applied to an electronic device, and the method includes:
    获取电子设备的使用环境参数,所述使用环境参数包括与电子设备的运行环境相关的参数;Acquiring a use environment parameter of the electronic device, where the use environment parameter includes parameters related to the operating environment of the electronic device;
    在所述使用环境参数满足预设条件时,获取正在运行的应用程序;When the use environment parameter meets the preset condition, acquiring the running application;
    若所述正在运行的应用程序中包括目标应用程序,则根据所述使用环境参数将所述目标应用程序与服务器之间的通信频率从默认通信频率下调。If the running application includes a target application, the communication frequency between the target application and the server is lowered from the default communication frequency according to the use environment parameter.
  2. 根据权利要求1所述的方法,其特征在于,所述获取正在运行的应用程序之前,还包括:The method according to claim 1, characterized in that, before said obtaining the running application program, it further comprises:
    判断获取的使用环境参数是否满足预设条件;Determine whether the obtained use environment parameters meet the preset conditions;
    若满足,获取正在运行的应用程序。If it is satisfied, get the running application.
  3. 根据权利要求2所述的方法,其特征在于,所述使用环境参数包括连接的网络类型,所述判断获取的使用环境参数是否满足预设条件,包括:The method according to claim 2, wherein the usage environment parameter includes a connected network type, and the judging whether the acquired usage environment parameter satisfies a preset condition includes:
    若所述电子设备连接的网络类型为移动数据且低于所述电子设备支持的最新一代移动通信标准,判定所述使用环境参数满足预设条件。If the network type to which the electronic device is connected is mobile data and is lower than the latest generation of mobile communication standards supported by the electronic device, it is determined that the use environment parameter satisfies a preset condition.
  4. 根据权利要求2所述的方法,其特征在于,所述使用环境参数包括网络信号强度,所述判断获取的使用环境参数是否满足预设条件,包括:The method according to claim 2, wherein the use environment parameter includes network signal strength, and the determining whether the obtained use environment parameter meets a preset condition includes:
    判断电子设备连接的网络的网络信号强度是否小于预设信号强度;Determine whether the network signal strength of the network to which the electronic device is connected is less than the preset signal strength;
    若是,判定所述使用环境参数满足预设条件。If yes, it is determined that the use environment parameter satisfies the preset condition.
  5. 根据权利要求2所述的方法,其特征在于,所述使用环境参数包括电子设备连接的网络类型以及对应的网络信号强度,所述判断获取的使用环境参数是否满足预设条件,包括:The method according to claim 2, wherein the use environment parameter includes the network type to which the electronic device is connected and the corresponding network signal strength, and the determining whether the obtained use environment parameter meets a preset condition includes:
    若所述网络类型为移动数据且低于所述电子设备支持的最新一代移动通信标准,判定所述使用环境参数满足预设条件;If the network type is mobile data and is lower than the latest generation mobile communication standard supported by the electronic device, determining that the use environment parameter meets a preset condition;
    若所述网络类型不为移动数据或者不低于所述电子设备支持的最新一代移动通信标准,判断所述网络信号强度是否小于预设信号强度;If the network type is not mobile data or is not lower than the latest generation of mobile communication standards supported by the electronic device, determining whether the network signal strength is less than a preset signal strength;
    若所述网络信号强度小于预设信号强度,判定所述使用环境参数满足预设条件。If the network signal strength is less than the preset signal strength, it is determined that the use environment parameter satisfies the preset condition.
  6. 根据权利要求2所述的方法,其特征在于,所述使用环境参数包括位姿数据,所述判断获取的使用环境参数是否满足预设条件,包括:The method according to claim 2, wherein the usage environment parameters include pose data, and the judging whether the acquired usage environment parameters meet a preset condition includes:
    判断在预设时间内,所述电子设备的位姿数据是否发生变化;Determine whether the pose data of the electronic device changes within a preset time;
    若是,判定所述使用环境参数满足预设条件。If yes, it is determined that the use environment parameter satisfies the preset condition.
  7. 根据权利要求2所述的方法,其特征在于,所述使用环境参数包括时间,所述判断获取的使用环境参数是否满足预设条件,包括:The method according to claim 2, wherein the use environment parameter includes time, and the judging whether the obtained use environment parameter satisfies a preset condition includes:
    判断当前时间是否处于预设时间范围,所述预设时间范围内所述电子设备 单位时间内收发的通信数据量小于预设数量;Judging whether the current time is within a preset time range, and the amount of communication data sent and received by the electronic device per unit time within the preset time range is less than a preset amount;
    若是,判定所述使用环境参数满足预设条件。If yes, it is determined that the use environment parameter satisfies the preset condition.
  8. 根据权利要求7所述的方法,其特征在于,所述判断当前时间是否处于预设时间范围之前,还包括:The method according to claim 7, wherein said determining whether the current time is before the preset time range, further comprises:
    确定所述预设时间范围。Determine the preset time range.
  9. 根据权利要求8所述的方法,其特征在于,所述确定所述预设时间范围,包括:The method according to claim 8, wherein the determining the preset time range comprises:
    监控目标应用程序与服务器之间的通信数据;Monitor the communication data between the target application and the server;
    通过对所述通信数据进行特征识别,统计在单位时间内收发通信数据的数据量;By identifying the characteristics of the communication data, the data volume of the communication data sent and received in a unit time is counted;
    将所述收发通信数据的数据量小于预设数量的相邻单位时间整合为所述预设时间范围。The adjacent unit time in which the data amount of the received and sent communication data is less than a preset number is integrated into the preset time range.
  10. 根据权利要求8所述的方法,其特征在于,所述确定所述预设时间范围,包括:The method according to claim 8, wherein the determining the preset time range comprises:
    接收用户的设置指令,根据所述设置指令确定所述预设时间范围。A user's setting instruction is received, and the preset time range is determined according to the setting instruction.
  11. 根据权利要求1-10任一项所述的方法,其特征在于,所述根据所述使用环境参数将所述目标应用程序与服务器之间的通信频率从默认通信频率下调,包括:The method according to any one of claims 1-10, wherein the lowering the communication frequency between the target application and the server from the default communication frequency according to the use environment parameter comprises:
    根据所述使用环境参数满足预设条件的时长,将所述目标应用程序与服务器之间的通信频率逐渐调低。The communication frequency between the target application and the server is gradually reduced according to the length of time the use environment parameter satisfies the preset condition.
  12. 根据权利要求11所述的方法,其特征在于,若所述使用环境参数满足预设条件的时长越长,所述目标应用程序与服务器之间的通信频率越低。The method according to claim 11, wherein if the use environment parameter satisfies the preset condition, the longer the time period, the lower the communication frequency between the target application and the server.
  13. 根据权利要求4所述的方法,其特征在于,所述根据所述使用环境参数将所述目标应用程序与服务器之间的通信频率从默认通信频率下调,包括:The method according to claim 4, wherein the lowering the communication frequency between the target application and the server from the default communication frequency according to the use environment parameter comprises:
    根据所述网络信号强度,将所述目标应用程序与服务器之间的通信频率逐渐调低,其中,所述网络信号强度越弱,所述通信频率越低。According to the network signal strength, the communication frequency between the target application and the server is gradually reduced, wherein the weaker the network signal strength, the lower the communication frequency.
  14. 根据权利要求13所述的方法,其特征在于,预先存储有通信频率对照表,所述通信频率对照表中包括不同的网络信号强度范围与通信频率之间的对应关系,所述根据所述使用环境参数将所述目标应用程序与服务器之间的通信频率从默认通信频率下调,包括:The method according to claim 13, characterized in that a communication frequency comparison table is pre-stored, and the communication frequency comparison table includes the correspondence between different network signal strength ranges and communication frequencies. Environmental parameters reduce the communication frequency between the target application and the server from the default communication frequency, including:
    确定所述网络信号强度所处于的网络信号强度范围;Determining the network signal strength range in which the network signal strength is located;
    在所述通信频率对照表中查找与所述网络信号强度范围对应的通信频率;Searching the communication frequency corresponding to the network signal strength range in the communication frequency comparison table;
    将所述目标应用程序当前与服务器之间的通信频率调整为在所述通信频率对照表中查找到的通信频率。The current communication frequency between the target application and the server is adjusted to the communication frequency found in the communication frequency comparison table.
  15. 根据权利要求1-14任一项所述的方法,其特征在于,延长所述目标应 用程序向服务器发送数据包的时间间隔以将所述目标应用程序与服务器之间的通信频率从默认通信频率下调。The method according to any one of claims 1-14, wherein the time interval for the target application to send data packets to the server is extended to change the communication frequency between the target application and the server from the default communication frequency Down.
  16. 根据权利要求1-15任一项所述的方法,其特征在于,所述根据所述使用环境参数将所述目标应用程序与服务器之间的通信频率从默认通信频率下调之前,还包括:The method according to any one of claims 1-15, wherein before reducing the communication frequency between the target application and the server from the default communication frequency according to the use environment parameter, the method further comprises:
    获取正在运行应用程序与服务器之间的连接方式;Get the connection mode between the running application and the server;
    判断所述通信连接方式是否为长连接;Judging whether the communication connection mode is a long connection;
    若是,判定所述正在运行的应用程序为目标应用程序。If yes, it is determined that the running application is the target application.
  17. 根据权利要求1-16任一项所述的方法,其特征在于,所述方法还包括:所述根据所述使用环境参数将所述目标应用程序与服务器之间的通信频率从默认通信频率下调之后,若所述使用环境参数不满足预设条件,将所述目标应用程序与服务器之间的通信频率恢复到所述默认通信频率。The method according to any one of claims 1-16, wherein the method further comprises: reducing the communication frequency between the target application and the server from the default communication frequency according to the use environment parameter After that, if the use environment parameter does not meet the preset condition, the communication frequency between the target application and the server is restored to the default communication frequency.
  18. 一种通信频率调节装置,其特征在于,所述装置包括:A communication frequency adjustment device, characterized in that the device includes:
    获取模块,用于获取电子设备的使用环境参数,所述使用环境参数包括与电子设备的运行环境相关的参数;An obtaining module for obtaining use environment parameters of the electronic device, where the use environment parameters include parameters related to the operating environment of the electronic device;
    判断模块,用于在所述使用环境参数满足预设条件时,获取正在运行的应用程序;The judgment module is used to obtain the running application when the use environment parameter meets the preset condition;
    调整模块,用于若所述应用程序中包括目标应用程序,则根据所述使用环境参数将所述目标应用程序与服务器之间的通信频率从默认通信频率下调。The adjustment module is configured to reduce the communication frequency between the target application and the server from the default communication frequency according to the use environment parameter if the target application is included in the application.
  19. 一种电子设备,其特征在于,所述电子设备包括:An electronic device, characterized in that, the electronic device includes:
    一个或多个处理器;One or more processors;
    一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行如权利要求1至17任一项所述的方法。One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute such as The method of any one of claims 1-17.
  20. 一种计算机可读取存储介质,其特征在于,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行如权利要求1至17任一项所述的方法。A computer-readable storage medium, wherein the computer-readable storage medium stores program code, and the program code can be called by a processor to execute the method according to any one of claims 1 to 17 .
PCT/CN2019/113100 2019-10-24 2019-10-24 Communication frequency adjustment method and apparatus, and electronic device and storage medium WO2021077375A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/113100 WO2021077375A1 (en) 2019-10-24 2019-10-24 Communication frequency adjustment method and apparatus, and electronic device and storage medium
CN201980098838.XA CN114175748B (en) 2019-10-24 Communication frequency adjusting method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/113100 WO2021077375A1 (en) 2019-10-24 2019-10-24 Communication frequency adjustment method and apparatus, and electronic device and storage medium

Publications (1)

Publication Number Publication Date
WO2021077375A1 true WO2021077375A1 (en) 2021-04-29

Family

ID=75619626

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/113100 WO2021077375A1 (en) 2019-10-24 2019-10-24 Communication frequency adjustment method and apparatus, and electronic device and storage medium

Country Status (1)

Country Link
WO (1) WO2021077375A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113573338A (en) * 2021-07-19 2021-10-29 维沃移动通信有限公司 Network connection method and device
CN116506507A (en) * 2023-06-29 2023-07-28 天津市城市规划设计研究总院有限公司 Data processing method based on client characteristics

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101779498A (en) * 2007-08-09 2010-07-14 诺基亚公司 Connection point triggered scanning for positioning radios
EP2587885A1 (en) * 2011-10-26 2013-05-01 Samsung Electronics Co., Ltd Method and apparatus for managing broadcast for portable terminal
CN103561179A (en) * 2013-10-31 2014-02-05 宇龙计算机通信科技(深圳)有限公司 Method and device for adjusting waking time of intelligent terminal
CN104375623A (en) * 2014-11-28 2015-02-25 北京华网汇通技术服务有限公司 Wearable intelligent device and electricity-saving control method thereof
US20170263101A1 (en) * 2016-03-09 2017-09-14 Honda Motor Co., Ltd. Information processing system, terminal, information processing method, information processing method of terminal, and program
CN107241788A (en) * 2017-05-19 2017-10-10 青岛海信移动通信技术股份有限公司 The power consumption control method and device of wearable device
CN110278523A (en) * 2012-06-06 2019-09-24 脸谱公司 Method, equipment and storage medium for communication

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101779498A (en) * 2007-08-09 2010-07-14 诺基亚公司 Connection point triggered scanning for positioning radios
EP2587885A1 (en) * 2011-10-26 2013-05-01 Samsung Electronics Co., Ltd Method and apparatus for managing broadcast for portable terminal
CN110278523A (en) * 2012-06-06 2019-09-24 脸谱公司 Method, equipment and storage medium for communication
CN103561179A (en) * 2013-10-31 2014-02-05 宇龙计算机通信科技(深圳)有限公司 Method and device for adjusting waking time of intelligent terminal
CN104375623A (en) * 2014-11-28 2015-02-25 北京华网汇通技术服务有限公司 Wearable intelligent device and electricity-saving control method thereof
US20170263101A1 (en) * 2016-03-09 2017-09-14 Honda Motor Co., Ltd. Information processing system, terminal, information processing method, information processing method of terminal, and program
CN107241788A (en) * 2017-05-19 2017-10-10 青岛海信移动通信技术股份有限公司 The power consumption control method and device of wearable device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113573338A (en) * 2021-07-19 2021-10-29 维沃移动通信有限公司 Network connection method and device
CN116506507A (en) * 2023-06-29 2023-07-28 天津市城市规划设计研究总院有限公司 Data processing method based on client characteristics

Also Published As

Publication number Publication date
CN114175748A (en) 2022-03-11

Similar Documents

Publication Publication Date Title
CN108512695B (en) Method and device for monitoring application blockage
CN109388367B (en) Sound effect adjusting method and device, electronic equipment and storage medium
CN111240837A (en) Resource allocation method, device, terminal and storage medium
CN104581646B (en) A kind of dynamic broadcast method and device of bluetooth equipment
CN109284080B (en) Sound effect adjusting method and device, electronic equipment and storage medium
CN109413526B (en) Earphone control method, earphone control device, electronic equipment and storage medium
CN110493858A (en) Reduce the method, device and mobile terminal of power consumption
CN109101216B (en) Sound effect adjusting method and device, electronic equipment and storage medium
CN108337127B (en) Application performance monitoring method, system, terminal and computer readable storage medium
CN109271129B (en) Sound effect adjusting method and device, electronic equipment and storage medium
WO2021077375A1 (en) Communication frequency adjustment method and apparatus, and electronic device and storage medium
CN105554819A (en) Data transmission method and device and mobile terminal
CN110876180A (en) Power consumption processing method and device, electronic equipment and computer readable medium
CN112714426B (en) Intelligent upgrading method and device of Bluetooth equipment, electronic equipment and medium
CN110944220A (en) Video screen projection playing method, device, equipment and system
US10757060B2 (en) Message notification method and terminal
US10990460B2 (en) Method of generating broadcast queue, storage medium, and terminal
CN110113201B (en) Monitoring data processing method and device and monitoring system
CN111538678A (en) Data buffering method, device and computer readable storage medium
CN113765945A (en) File dynamic fragmentation transmission method, device, equipment and storage medium
WO2020118601A1 (en) Method, apparatus, electronic device, and storage medium for video encoding
CN113329391B (en) Prompt information display method and device, electronic equipment and storage medium
CN111194055B (en) Data storage frequency processing method and device, electronic equipment and storage medium
CN109511139B (en) WIFI control method and device, mobile device and computer-readable storage medium
WO2020103080A1 (en) Method for reducing power consumption, terminal device, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19950089

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19950089

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 18/10/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 19950089

Country of ref document: EP

Kind code of ref document: A1