CN114466400A - Device control method, device and computer readable storage medium - Google Patents

Device control method, device and computer readable storage medium Download PDF

Info

Publication number
CN114466400A
CN114466400A CN202210055176.1A CN202210055176A CN114466400A CN 114466400 A CN114466400 A CN 114466400A CN 202210055176 A CN202210055176 A CN 202210055176A CN 114466400 A CN114466400 A CN 114466400A
Authority
CN
China
Prior art keywords
transmission mode
data transmission
data
preset
local
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210055176.1A
Other languages
Chinese (zh)
Other versions
CN114466400B (en
Inventor
何毅
周万富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Communication Technology Chengdu Ltd
Original Assignee
TCL Communication Technology Chengdu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TCL Communication Technology Chengdu Ltd filed Critical TCL Communication Technology Chengdu Ltd
Priority to CN202210055176.1A priority Critical patent/CN114466400B/en
Publication of CN114466400A publication Critical patent/CN114466400A/en
Application granted granted Critical
Publication of CN114466400B publication Critical patent/CN114466400B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Abstract

The application discloses a device control method, a device, equipment and a computer readable storage medium, which can acquire the amount of network resources occupied by local equipment when the local equipment transmits data; if the network resource quantity is detected to be smaller than a preset resource quantity threshold value, identifying a data transmission mode of the local equipment; and if the data transmission mode does not belong to a preset low-power-consumption transmission mode, switching the data transmission mode to the preset low-power-consumption transmission mode. The data transmission method and the data transmission device can determine the actual data throughput of the device according to the network resource amount of the device during data transmission in real time, and switch the data transmission mode of the device to the low power consumption mode when the data throughput is low, so that the power consumption of the device is effectively controlled, unnecessary power consumption during the endurance of the device is reduced, and the endurance time of the device is prolonged.

Description

Device control method, device and computer readable storage medium
Technical Field
The application relates to the technical field of intelligent terminals, in particular to a device control method, a device control device, a device and a computer readable storage medium.
Background
With the development of communication technology, the efficiency of data transmission of the device is improved. However, the improvement of data transmission efficiency also depends on the hardware requirements of the device itself, for example, the device chip and the device rf antenna are also needed to be implemented in combination. In order to improve the data transmission efficiency of the device, the related art uses multiple rf antennas simultaneously for data transmission and reception, so as to improve the data transmission efficiency.
However, when the device uses a plurality of rf antennas to transmit and receive data, the power consumption of the device is increased, which causes excessive power consumption during the duration of the device, and reduces the duration of the device.
Disclosure of Invention
The embodiment of the application provides a device control method, a device and a computer readable storage medium.
A first aspect of the present application provides an apparatus control method, including:
acquiring the amount of network resources occupied by local equipment when transmitting data;
if the network resource quantity is detected to be smaller than a preset resource quantity threshold value, identifying a data transmission mode of the local equipment;
and if the data transmission mode does not belong to a preset low-power-consumption transmission mode, switching the data transmission mode to the preset low-power-consumption transmission mode.
Accordingly, a second aspect of the present application provides an apparatus for controlling a device, the apparatus comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the quantity of network resources occupied by local equipment when the local equipment transmits data;
the identification unit is used for identifying a data transmission mode of the local equipment if the network resource quantity is detected to be smaller than a preset resource quantity threshold value;
and the switching unit is used for switching the data transmission mode to a preset low-power transmission mode if the data transmission mode does not belong to the preset low-power transmission mode.
In some embodiments, the device control apparatus further comprises a detection unit configured to:
detecting whether a local running process contains a target application in a preset application list or not to obtain a detection result;
the obtaining unit is further configured to obtain, if the detection result indicates that the target application is included, the amount of network resources occupied by the local device when transmitting data.
In some embodiments, the obtaining unit is further configured to:
acquiring the number of network resources occupied by local equipment during data transmission and resource distribution frequency;
and determining the number of the network resources according to the number of the network resources and the resource allocation frequency.
In some embodiments, the identification unit is further configured to:
identifying a first number of transmit antennas used by the local device when transmitting data and obtaining a second number of receive antennas used by the local device when transmitting data;
and determining the data transmission mode of the local equipment according to the first quantity and the second quantity.
In some embodiments, the identification unit is further configured to:
comparing the first number with a preset transmitting antenna number threshold value to obtain a first comparison result;
comparing the second number with a preset receiving antenna number threshold value to obtain a second comparison result;
and determining a data transmission mode of the local equipment based on the first comparison result and the second comparison result.
In some embodiments, the identification unit is further configured to:
if the network resource quantity is detected to be larger than or equal to a preset resource quantity threshold value, identifying a data transmission mode of the local equipment;
the switching unit is further configured to determine a target transmission mode of the local device when transmitting data according to the number of the network resources and switch the data transmission mode to the target transmission mode when the data transmission mode is a preset low-power transmission mode.
In some embodiments, the obtaining unit is further configured to:
acquiring the quantity of target network resources of the local equipment in the target transmission mode;
the switching unit is further configured to switch the target transmission mode to a preset low-power-consumption transmission mode if the number of the target network resources is smaller than a preset resource number threshold.
The third aspect of the present application further provides a computer-readable storage medium, which stores a plurality of instructions, where the instructions are suitable for being loaded by a processor to execute the steps in the device control method provided in the first aspect of the present application.
A fourth aspect of the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the device control method provided in the first aspect of the present application when executing the computer program.
A fifth aspect of the present application provides a computer program product comprising computer programs/instructions which, when executed by a processor, implement the steps in the device control method provided by the first aspect.
The method and the device can acquire the amount of network resources occupied by the local equipment when the local equipment transmits data; if the network resource quantity is detected to be smaller than a preset resource quantity threshold value, identifying a data transmission mode of the local equipment; and if the data transmission mode does not belong to a preset low-power-consumption transmission mode, switching the data transmission mode to the preset low-power-consumption transmission mode. The method can identify the number of network resources occupied by the terminal equipment in data transmission in real time, and compares the identified number of the network resources with a preset resource number threshold value to determine the throughput of the terminal equipment in data transmission; therefore, the actual data throughput of the equipment is determined according to the network resource amount of the equipment during data transmission in real time, and when the data throughput is low, the data transmission mode of the equipment is switched to the low power consumption mode, so that the power consumption of the equipment is effectively controlled, unnecessary power consumption during the endurance of the equipment is reduced, and the endurance time of the equipment is prolonged.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of a scenario of an apparatus control system provided in an embodiment of the present application;
FIG. 2 is a schematic flowchart illustrating steps of a device control method according to an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart illustrating another step of a device control method according to an embodiment of the present application;
fig. 4 is a schematic block flow chart of an apparatus control method provided in an embodiment of the present application;
FIG. 5 is a schematic structural diagram of an apparatus control device provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of a computer device provided in the present application.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a device control method, a device, equipment and a computer readable storage medium. The equipment control method can be used in equipment control devices. The device control apparatus may be integrated in a computer device, which may be a terminal or a device control apparatus. The terminal can be a mobile phone, a tablet computer, a notebook computer, a mobile smart television, a smart watch, wearable smart equipment and the like.
Please refer to fig. 1, which is a schematic view of a scenario of an apparatus control system according to an embodiment of the present disclosure. As shown, the scenario includes a terminal.
The terminal can acquire the amount of network resources occupied by local equipment when transmitting data; if the number of the network resources is detected to be smaller than a preset resource number threshold value, identifying a data transmission mode of the local equipment; and if the data transmission mode does not belong to the preset low-power-consumption transmission mode, switching the data transmission mode to the preset low-power-consumption transmission mode.
The device control may include acquiring a network resource amount, identifying a data transmission mode, switching a data transmission mode, and the like.
It should be noted that the schematic diagram of the plant control system scenario shown in fig. 1 is only an example, and the plant control scenario described in the embodiment of the present application is for more clearly illustrating the technical solution of the present application, and does not constitute a limitation on the technical solution provided in the present application. As can be appreciated by those skilled in the art, with the evolution of device control scenarios and the emergence of new service scenarios, the technical solution provided in the present application is also applicable to similar technical problems.
Based on the above-described implementation scenarios, detailed descriptions will be given below.
In order to avoid that the terminal device occupies a high-power-consumption data transmission mode due to too low throughput of data transmission, the data transmission requirement is not matched with the transmission mode, and unnecessary power consumption is generated in the device endurance. Therefore, the equipment control method can effectively control the power consumption of the equipment, reduce the unnecessary power consumption in the endurance of the equipment and further improve the endurance time of the equipment.
In the embodiments of the present application, description will be made from the perspective of a device control apparatus, which may be specifically integrated in a computer device such as a terminal or a server. Referring to fig. 2, fig. 2 is a schematic step flow diagram of an apparatus control method according to an embodiment of the present disclosure, where for example, an apparatus control device is specifically integrated on a terminal, the terminal is a terminal capable of switching a data transmission mode, and when a processor on the terminal executes a program corresponding to the apparatus control method, the specific flow is as follows:
step 101, acquiring the amount of network resources occupied by local equipment when transmitting data.
The local device refers to a computer device, such as a terminal integrated with a device control apparatus, which is an execution subject described in the embodiments of the present application. For clarity of description of the embodiments of the present application, the execution subject of the present application will be referred to as "local device".
The data transmission refers to a data transmission scenario performed by the local device to implement the interaction requirement of the related service data, and the data transmission scenario may include a scenario of sending data and a scenario of receiving data of the local device. For example, the data transmission scenario may be: the method includes the steps that a scene of sending and receiving data of the local device when a voice call is carried out, and data are sent and received when an application (such as a video application, an audio application, an instant chat application, an information sharing application and the like) on the local device runs.
The network resource may be a communication resource for implementing a data transmission scenario of the local device, and the network resource may be a network resource allocated by the communication base station or the cell to meet a data transmission requirement of the local device. Specifically, the network resource may include an uplink first network spectrum resource, an allocation frequency of the first network spectrum resource, a modulation coding order, a downlink second network spectrum resource, a signal strength, a signal-to-noise ratio, and the like.
The network resource amount may be a resource amount occupied by the local device when transmitting data, and the network resource amount may be determined by the communication base station/cell, and in order to meet a data transmission requirement of the local device, the communication base station/cell allocates a certain amount of network resources according to the requirement of the local device when transmitting data, so as to support the local device to perform data transmission, specifically, data transmission with the communication base station/cell may be performed. The network resource quantity may be an uplink first network spectrum resource quantity, a downlink second network spectrum resource quantity, a network spectrum resource allocation frequency (scheduling rate), a modulation coding order, a signal strength value, a signal-to-noise ratio value, and the like.
In order to determine the data throughput, that is, the data transmission amount, of the local device during data transmission, the embodiment of the application may determine the real-time data throughput of the local device according to the network resource amount by acquiring/identifying the network resource amount occupied by the local device during data transmission.
In some embodiments, the network resource amount may include a network resource number and a resource allocation frequency, and the step "acquiring the amount of network resources occupied by the local device when transmitting data" may include: the number of network resources occupied by the local equipment during data transmission and the resource distribution frequency are obtained, and the number of the network resources is determined according to the number of the network resources and the resource distribution frequency.
For example, when the local device is in a scene of sending data, taking the uplink first network spectrum resource as a network resource as an example, the amount of the network resource occupied by the local device when transmitting data is obtained, which is actually the amount of the resource occupied by the local device when sending data. Specifically, the acquiring process is as follows: acquiring the number of uplink first network spectrum resources occupied by local equipment when transmitting data, namely the number of spectrum resources allocated by a communication base station/cell to satisfy the requirement of uploading or transmitting data by the local equipment, such as 1800 plus 2100MHz or other spectrum numbers; acquiring a scheduling rate corresponding to the first network spectrum resource number, namely the resource allocation frequency of the communication base station when allocating a specific spectrum resource number; further, the number of the first network spectrum resources and the resource allocation frequency (scheduling rate) are determined as the number of the network resources.
For another example, when the local device is in a scene of Receiving data, the network resource amount may include a downlink second network spectrum resource amount, a Modulation and Coding Scheme (MCS), a Signal strength (Reference Signal Receiving Power, RSRP), a Signal to Interference plus Noise Ratio (SINR), and the network resource amount occupied by the local device when transmitting data is actually obtained. Specifically, the acquiring process is as follows: and acquiring resource quantity values such as a modulation coding order, a downlink second network spectrum resource number, a signal intensity (value), a signal-to-noise ratio (value) and the like when the local equipment receives data, and determining the resource quantity values as the network resource quantity.
It should be noted that, when the amount of network resources occupied by the local device during data transmission is obtained, the communication base station/cell connected to the local device may be requested in real time to issue currently occupied network resources and network resource data, and the network resources and network resource data may be issued in a log, a message, or other manners. In addition, when data is transmitted, the occupied quantity of the network resources can be detected through the local equipment so as to determine the occupied quantity of the network resources.
In the embodiment of the application, the local device has different corresponding data throughputs in different data transmission scenarios. Specifically, the local device is an application with a high data throughput requirement, such as a video application, a game application, and the like, which has a large data transmission requirement and a real-time data transmission requirement, and needs to occupy a large amount of network resources when performing data transmission; therefore, for such applications, the local device needs to support data transmission in a high power consumption transmission mode, such as data transmission by transceiving with multiple antennas. In addition, in order to control the power consumption of the device and reduce unnecessary power consumption of the device, the amount of network resources occupied by the local device when the local device runs the application can be determined by monitoring the application with high data throughput requirement, and then, the data transmission mode with low power consumption is selected to transmit data when the amount of the network resources is low.
In some embodiments, in order to monitor a part of an application program with a data high throughput requirement, an embodiment of the present application may pre-establish a preset application list, where the preset application list may include one or more target applications, and each target application may be an application with a data high throughput requirement; furthermore, the application in the running process of the local device can be identified to determine whether the target application with the data high-throughput requirement in the preset application list is contained. Specifically, before the step of acquiring the amount of network resources occupied by the local device when transmitting data, the method may include: detecting whether a local running process contains a target application in a preset application list or not to obtain a detection result; and if the detection result is that the target application is contained, acquiring the quantity of network resources occupied by the local equipment when the data is transmitted.
Through the method, the number of the network resources occupied by the local equipment when the local equipment transmits data can be acquired/identified, so that the real-time data throughput of the local equipment is determined according to the number of the network resources, and whether the data transmission mode of the local equipment needs to be adjusted or not is determined subsequently.
Step 102, if it is detected that the number of the network resources is smaller than a preset resource number threshold, identifying a data transmission mode of the local device.
The preset resource quantity threshold may be a data threshold corresponding to the relevant network resource, and is used to determine the quantity of the corresponding network resource; and comparing the number of the network resources occupied by the local equipment during data transmission with the preset resource number threshold value to determine the number of the network resources occupied by the local equipment during data transmission. For example, taking the number of the first network spectrum resources in the uplink as an example, the corresponding preset resource number threshold may be a network spectrum resource number threshold; taking the scheduling rate as an example, the corresponding preset resource quantity threshold may be an allocation frequency threshold corresponding to the number of the related spectrum resources; for the number of other network resources, the corresponding preset resource number threshold may also be a modulation coding order threshold, a downlink network spectrum resource number threshold, a signal strength threshold, a signal-to-noise ratio threshold, and the like.
The data transmission mode may be a mode of the local device during data transmission, and the power consumption corresponding to different data transmission modes is different, specifically, the power consumption consumed at the same time is different. It should be noted that the data transmission mode is determined by an antenna transceiving mode adopted by the local device when transmitting data, and different numbers of antennas correspond to different data transmission modes. Specifically, the antenna included in the local device may be as follows: two transmitting antennas (2T) and four receiving antennas (4R), the data transmission mode of the local device may include: two-in-one reception (1T2R, i.e., 1 transmit antenna, 2 receive antennas), four-in-one reception (1T4R, i.e., 1 transmit antenna, 4 receive antennas), two-in-two reception (2T2R), four-in-two reception (2T4R, i.e., 2 transmit antennas, 4 receive antennas), with multiple data transmission modes.
In the embodiment of the application, after the number of network resources occupied by the local device during data transmission is obtained, the number of network resources is compared with the corresponding preset resource number threshold value, so that a comparison result is obtained. It should be noted that the current data throughput of the local device may be determined according to the comparison result.
For example, comparing the number of uplink first network spectrum resources with a preset first network spectrum resource number threshold, comparing the scheduling rate (the allocation frequency of the number of network spectrum resources) with a preset scheduling rate threshold, comparing the signal strength value with a preset signal strength value, comparing the signal-to-noise ratio with a preset signal-to-noise ratio threshold, and the like; so as to obtain a corresponding comparison result, and thus, the current data throughput or decoding success rate of the local device is determined according to the comparison result. And then, according to the comparison result, determining whether to identify the data transmission mode of the local equipment.
Specifically, the current data throughput of the local device is determined according to the comparison result, and the basis is as follows: when the number of uplink first network spectrum resources (UL Grant) is greater than or equal to the preset threshold of the number of first network spectrum resources, and the scheduling rate is greater than or equal to the preset threshold of the scheduling rate, it indicates that the uplink throughput demand is high at this time, and it may be necessary to open two transmitting antennas for data transmission. When the downlink second network spectrum Resource number (Resource Block, RB) is greater than or equal to a preset second network spectrum Resource number threshold and/or the modulation coding order is greater than or equal to a preset modulation coding order threshold, it indicates that the downlink throughput is higher at this time, and four receiving antennas (4R) are started to receive data, so as to improve the downlink throughput.
In addition, the current decoding success rate of the local equipment is determined according to the comparison result, and the basis is as follows: when the Reference Signal Received Power (RSRP) is smaller than a preset signal strength threshold and/or the signal to noise ratio (SINR) is smaller than a preset signal to noise ratio threshold, it is shown that the downlink channel condition is poor at this time, four receiving antennas (4R) need to be started to bring diversity gain, and the decoding success rate is improved.
Further, after determining the data throughput or the decoding success rate of the local device during the current data transmission, the current data mode of the local device is identified to determine whether the current data transmission mode matches the confirmed data throughput or decoding success rate requirement, so as to adjust the transmission mode of the local device subsequently. For example, if the local device does not currently belong to the preset low power consumption data transmission mode (e.g., 1T4R, 2T2R, 2T4R, etc.), that is, when the local device turns on 2T and/or 4R for data transmission, the obtained number of network resources is compared with a preset threshold for the number of network resources, so as to determine the data throughput and/or the decoding success rate during data transmission according to the comparison result, and further identify the data transmission mode of the local device, so as to determine whether the current data transmission mode (turning on 2T and/or 4R) of the local device needs to be switched to the preset low power consumption transmission mode (1T 2R).
In some embodiments, the step of "identifying a data transmission mode of the local device" may include:
(1) identifying a first number of transmitting antennas used by the local device when transmitting data, and obtaining a second number of receiving antennas used by the local device when transmitting data;
(2) and determining the data transmission mode of the local equipment according to the first quantity and the second quantity.
The transmitting antenna may be an antenna for transmitting data in a data transmission scenario, i.e., "T". The receive antenna is an antenna used to receive data in a data transmission scenario, i.e., "R".
Specifically, the data transmission mode is determined by an antenna transceiving mode adopted by the local device when transmitting data, and different antenna numbers correspond to different data transmission modes. In the embodiment of the present application, the data transmission mode of the local device may include: multiple data transmission modes such as one-transmission two-reception (1T2R), one-transmission four-reception (1T4R), two-transmission two-reception (2T2R), two-transmission four-reception (2T4R) and the like.
In some embodiments, the step of "determining a data transmission mode of the local device according to the first number and the second number" may include:
(2.1) comparing the first number with a preset transmitting antenna number threshold value to obtain a first comparison result;
(2.2) comparing the second number with a preset receiving antenna number threshold to obtain a second comparison result;
and (2.3) determining the data transmission mode of the local equipment based on the first comparison result and the second comparison result.
The preset threshold of the number of transmitting antennas and the preset threshold of the number of receiving antennas can be determined according to actual conditions. In this embodiment of the present application, in order to determine whether the data transmission mode of the local device is in the preset low power consumption transmission mode, a preset threshold for the number of transmitting antennas and a preset threshold for the number of receiving antennas may be set for the low power consumption mode, for example, in the default preset low power consumption transmission mode in the embodiment of the present application, the data transmission mode is 1T2R, specifically, 1 transmitting antenna is started, and 2 receiving antennas are started, then the preset threshold for the number of transmitting antennas is 1, and the preset threshold for the number of receiving antennas is 2.
It should be noted that, the data transmission mode in the embodiment of the present application may specifically include: one-to-two (1T2R), one-to-four (1T4R), two-to-two (2T2R), and two-to-four (2T 4R). For convenience of description, the data transmission modes may be divided according to a low power consumption mode and a non-low power consumption mode, where a first-and-second-transmission mode (1T2R) is defaulted to be a preset low power consumption transmission mode, and a first-and-fourth-transmission mode (1T4R), a second-and-second-transmission mode (2T2R), and a second-and-fourth-transmission mode (2T4R) are defaulted to be a non-preset low power consumption transmission mode.
For example, to identify whether the current data transmission mode of the local device is the preset low power consumption transmission mode, after identifying the first number of transmitting antennas and the second number of receiving antennas used by the local device when transmitting data, the first number may be compared with a preset threshold number of transmitting antennas, and the second number may be compared with a preset threshold number of receiving antennas, to determine whether the first number of transmitting antennas is greater than 1, and determine whether the second number of receiving antennas is greater than 2. When the first number of the transmitting antennas is greater than 1 and/or the second number of the receiving antennas is greater than 2, determining that the data transmission mode of the local device does not belong to a preset low-power-consumption transmission mode, namely the data transmission mode is not the preset low-power-consumption transmission mode; when the first number of the transmitting antennas is equal to 1 and the second number of the receiving antennas is equal to 2, that is, 1T2R, it is determined that the data transmission mode of the local device belongs to the preset low power consumption transmission mode.
Through the method, the data transmission mode of the local device can be identified, so that whether the local device is switched to the preset low-power-consumption transmission mode or not can be determined subsequently.
Step 103, if the data transmission mode does not belong to the preset low power consumption transmission mode, switching the data transmission mode to the preset low power consumption transmission mode.
The preset low-power-consumption transmission mode may be a low-power-consumption data transmission mode in which the local device operates with the fewest number of antennas used for data transmission, for example, an antenna mode of the preset low-power-consumption transmission mode is set to 1T2R by default in the embodiment of the present application, that is, 1 transmitting antenna and 2 receiving antennas are used; when the number of antennas used by the local device in transmitting data is other, specifically 1T4R, 2T2R, 2T4R, it is determined that the local device does not belong to the preset low-power-consumption transmission mode.
In order to perform data transmission in a preset low power consumption transmission mode when the data throughput of a local device is low. In the embodiment of the application, when the local device is judged to be in a low throughput capacity in a data transmission scenario, a current data transmission mode of the local device is identified, and if the antenna mode adopted by the local device is identified to be 1T4R, 2T2R or 2T4R, it is determined that the current data transmission mode of the local device does not belong to a preset low-power-consumption transmission mode; further, when the data transmission mode does not belong to the preset low power consumption transmission mode, the data transmission mode of the local device is switched to the preset low power consumption transmission mode, specifically, the antenna mode may be switched to 1T 2R. Therefore, when the data throughput of the local equipment is detected to be low, the data transmission is carried out in the preset low-power-consumption transmission mode, the power consumption of the equipment is effectively controlled, unnecessary power consumption in the endurance of the equipment is reduced, and the endurance time of the equipment is prolonged.
In the embodiment of the application, after the network resource quantity of the local device during data transmission is obtained, the network resource quantity is compared with a preset resource quantity threshold value to obtain a comparison result, so as to determine whether to switch the data transmission mode according to the comparison result. Specifically, after the network resource quantity is compared with a preset resource quantity threshold, when it is determined that the current data throughput of the local device is high according to the comparison result, the antenna working mode during data transmission needs to be switched to a multi-antenna mode.
In some embodiments, comparing the number of network resources with a preset threshold number of resources further comprises: if the number of the network resources is detected to be larger than or equal to the preset resource number threshold value, identifying a data transmission mode of the local equipment; when the data transmission mode is the preset low-power-consumption transmission mode, determining a target transmission mode of the local equipment during data transmission according to the number of network resources, and switching the data transmission mode to the target transmission mode.
The target transmission mode is a non-preset low power consumption transmission mode, and may specifically be 1T4R, 2T2R, or 2T4R, and the like, and it should be noted that when the target transmission mode is selected, the target transmission mode may be determined according to a specific data throughput. For example, when data is transmitted, when (uplink) data throughput is low when data is transmitted and (downlink) data throughput is high when data is received, the selected target transmission mode is 1T 4R; when the (uplink) data throughput is high when data is transmitted and the (downlink) data throughput is low when data is received, the selected target transmission mode is 2T 2R; when the (uplink) data throughput is high when data is transmitted and the (downlink) data throughput is high when data is received, the selected target transmission mode is 2T 4R. The above is an example, and the specific situation is determined according to the actual situation. Through the mode, the network resource quantity is compared with the corresponding preset resource quantity threshold, when the data throughput of the local equipment is determined to be high according to the comparison result and the local equipment is in the preset low-power-consumption transmission mode, the appropriate target transmission mode is determined according to the data throughput, and the data transmission mode is switched to the target transmission mode, so that the data transmission mode of the local equipment is properly controlled, the power consumption of the equipment is effectively controlled, and unnecessary power consumption in the continuous voyage of the equipment is reduced.
Further, after the step of switching the data transmission mode to the target transmission mode, the method further includes: acquiring the quantity of target network resources of local equipment in a target transmission mode; and if the number of the target network resources is less than the preset resource number threshold value, switching the target transmission mode to a preset low-power-consumption output transmission mode.
Specifically, after the switching to the appropriate target transmission mode is performed, because the current target transmission mode does not belong to the preset low power consumption transmission mode, the amount of network resources occupied by the local device when transmitting data may be monitored in real time, and when the amount of the target network resources is smaller than the preset resource amount threshold, it is determined that the data throughput of the local device at this time is low, at this time, the target transmission mode may be switched to the preset low power consumption transmission mode, for example, the antenna operating mode (1T4R, 2T2R, or 2T4R) is switched to 1T2R, so that the local device is in the preset low power consumption transmission mode.
Therefore, the method and the device can acquire the number of network resources occupied by the local device when the local device transmits data; if the number of the network resources is detected to be smaller than a preset resource number threshold value, identifying a data transmission mode of the local equipment; and if the data transmission mode does not belong to the preset low-power-consumption transmission mode, switching the data transmission mode to the preset low-power-consumption transmission mode. The method can identify the number of network resources occupied by the terminal equipment in data transmission in real time, and compares the identified number of the network resources with a preset resource number threshold value to determine the throughput of the terminal equipment in data transmission; therefore, the actual data throughput of the equipment is determined according to the network resource amount of the equipment during data transmission in real time, and when the data throughput is low, the data transmission mode of the equipment is switched to the low power consumption mode, so that the power consumption of the equipment is effectively controlled, unnecessary power consumption during the endurance of the equipment is reduced, and the endurance time of the equipment is prolonged.
The method described in the above examples is further illustrated in detail below by way of example.
The embodiments of the present application take device control as an example, and further describe the device control method provided in the embodiments of the present application.
Fig. 3 is a schematic flow chart of another step of the device control method provided in the embodiment of the present application, and fig. 4 is a schematic block flow chart of the device control method provided in the embodiment of the present application. In the embodiments of the present application, the description will be made from the perspective of a device control apparatus, which may be specifically integrated in a computer device such as a terminal or a server.
Specifically, for example, when a processor integrated in a terminal executes a program corresponding to the device control method, a specific flow of the device control method is as follows:
201. and detecting whether the local running process contains the target application in the preset application list to obtain a detection result.
In the embodiment of the application, the local device has different corresponding data throughputs in different data transmission scenarios. For example, when the local device is an application with a high data throughput requirement, such as a video application, a game application, and the like, which has a large data transmission requirement and a real-time data transmission requirement, it needs to occupy a large amount of network resources when performing data transmission; therefore, for such applications, the local device needs to support data transmission in a high power consumption transmission mode, such as data transmission by transceiving with multiple antennas.
According to the embodiment of the application, a low-power transmission mode is preset to default to a conventional data transmission mode of the local device. In order to control the power consumption of the device and reduce unnecessary power consumption of the device, the number of network resources occupied by the local device when the local device runs the application can be determined by monitoring the application with high data throughput requirement, and then, the data transmission mode with low power consumption is selected to transmit data when the number of the network resources is low.
In order to monitor part of application programs with high data throughput requirements, in the embodiment of the application, a preset application list may be established in advance, where the preset application list may include one or more target applications, and each target application may be an application with high data throughput requirements; furthermore, the application in the running process of the local device can be identified to determine whether the target application with the data high-throughput requirement in the preset application list is contained. In this way, it is determined whether the local device is running a target application with a high data throughput requirement, so as to subsequently monitor the amount of network resources of the target application, thereby determining whether a data transmission mode needs to be switched.
202. And if the detection result is that the target application is contained, acquiring the quantity of network resources occupied by the local equipment when the data is transmitted.
The network resource may be a communication resource for implementing a data transmission scenario of the local device, and the network resource may be a network resource allocated by the communication base station or the cell to meet a data transmission requirement of the local device.
The network resource amount may be a resource amount occupied by the local device when transmitting data, and the network resource amount may be determined by the communication base station/cell, and in order to meet a data transmission requirement of the local device, the communication base station/cell allocates a certain amount of network resources according to the requirement of the local device when transmitting data, so as to support the local device to perform data transmission, specifically, data transmission with the communication base station/cell may be performed. Specifically, the number of network resources may be the number of uplink first network spectrum resources, the number of downlink second network spectrum resources, the allocation frequency (scheduling rate) of network spectrum resources, a modulation coding order, a signal strength value, a signal-to-noise ratio, and the like.
It should be noted that, when the amount of network resources occupied by the local device during data transmission is obtained, the communication base station/cell connected to the local device may be requested in real time to issue currently occupied network resources and network resource data, and the network resources and network resource data may be issued in a log, a message, or other manners. In addition, when data is transmitted, the occupied quantity of the network resources can be detected through the local equipment so as to determine the occupied quantity of the network resources.
203. And comparing the network resource quantity with a preset resource quantity threshold value to obtain a comparison result.
The preset resource quantity threshold may be a data threshold corresponding to the relevant network resource, and is used to determine the quantity of the corresponding network resource; and comparing the number of the network resources occupied by the local equipment during data transmission with the preset resource number threshold value to determine the number of the network resources occupied by the local equipment during data transmission. For example, taking the number of the first network spectrum resources in the uplink as an example, the corresponding preset resource number threshold may be a network spectrum resource number threshold; taking the scheduling rate as an example, the corresponding preset resource quantity threshold may be an allocation frequency threshold corresponding to the number of the related spectrum resources; for the number of other network resources, the corresponding preset resource number threshold may also be a modulation coding order threshold, a downlink network spectrum resource number threshold, and the like.
Specifically, when the comparison result is that the number of the network resources is greater than or equal to the preset resource number threshold, it is determined that the data throughput of the local device during data transmission is relatively high, and since the default preset low-power transmission mode of the local device does not meet the current data throughput, the data transmission mode of the local device needs to be adjusted, and therefore, step 204 and step 207 need to be executed.
In addition, when the comparison result shows that the number of the network resources is smaller than the preset resource number threshold, it is determined that the data throughput of the local device is smaller when the local device transmits data, and the local device can perform data transmission in a preset low-power-consumption transmission mode. Therefore, the data transmission mode of the local device may be determined first to determine whether a handover is required, and the steps 208 and 210 are executed specifically.
204. And if the comparison result is that the number of the network resources is greater than or equal to the preset resource number threshold, identifying the data transmission mode of the local equipment.
The data transmission mode may be a mode of the local device during data transmission, and the power consumption corresponding to different data transmission modes is different, specifically, the power consumption consumed at the same time is different. It should be noted that the data transmission mode is determined by an antenna transceiving mode adopted by the local device when transmitting data, and different numbers of antennas correspond to different data transmission modes.
For example, the data transmission mode of the local device may include: two-in-one (1T2R, i.e., 1 transmit antenna, 2 receive antennas), four-in-one (1T4R, i.e., 1 transmit antenna, 4 receive antennas), two-in-one (2T2R), and four-in-one (2T4R, i.e., 2 transmit antennas, 4 receive antennas). The transmission mode with low power consumption is default to a one-transmission two-reception mode (1T2R), and the transmission mode with low power consumption is default to a non-default transmission mode with low power consumption for one-transmission four-reception (1T4R), two-transmission two-reception (2T2R) and two-transmission four-reception (2T 4R).
205. And when the data transmission mode is the preset low-power-consumption transmission mode, determining a target transmission mode of the local equipment during data transmission according to the quantity of the network resources, and switching the data transmission mode to the target transmission mode.
The target transmission mode is a non-preset low power consumption transmission mode, and may specifically be 1T4R, 2T2R, or 2T4R, and the like, and it should be noted that when the target transmission mode is selected, the target transmission mode may be determined according to a specific data throughput.
For example, when data is transmitted, when (uplink) data throughput is low when data is transmitted and (downlink) data throughput is high when data is received, the selected target transmission mode is 1T 4R; when the (uplink) data throughput is high when data is transmitted and the (downlink) data throughput is low when data is received, the selected target transmission mode is 2T 2R; when the (uplink) data throughput is high when data is transmitted and the (downlink) data throughput is high when data is received, the selected target transmission mode is 2T 4R. The above is an example, and the specific situation is determined according to the actual situation.
206. And acquiring the quantity of target network resources of the local equipment in a target transmission mode.
After the data transmission mode is switched to the proper target transmission mode, because the current target transmission mode does not belong to the preset low-power-consumption transmission mode, the amount of network resources occupied by the local equipment during data transmission can be monitored in real time, and whether the data transmission mode needs to be switched subsequently or not is determined.
207. And if the number of the target network resources is less than the preset resource number threshold value, switching the target transmission mode to a preset low-power-consumption output transmission mode.
Specifically, when the number of target network resources is smaller than the preset resource number threshold, it is determined that the data throughput of the local device at this time is low, and at this time, the target transmission mode may be switched to the preset low power consumption transmission mode, for example, the antenna operation mode (1T4R, 2T2R, or 2T4R) is switched to 1T2R, so that the local device is in the preset low power consumption transmission mode.
208. If the comparison result is that the number of the network resources is smaller than the preset resource number threshold, identifying a first number of transmitting antennas used by the local device when the local device transmits data, and acquiring a second number of receiving antennas used by the local device when the local device transmits data.
209. And determining the data transmission mode of the local equipment according to the first quantity and the second quantity.
210. And if the data transmission mode does not belong to the preset low-power-consumption transmission mode, switching the data transmission mode to the preset low-power-consumption transmission mode.
By executing step 201 and step 210, the scenario of the device control method shown in fig. 4 can be implemented, where the scenario shown in fig. 4 is specifically as follows:
(1) setting the optimized starting time and life cycle, and not taking effect in a default state.
(2) An application white list (a preset application list) is set, applications needing low time delay or high throughput are added into the white list, multi-antenna receiving can be started aiming at the white list applications, and the applications such as video applications and game applications can be used in mobile phone applications.
(3) For uplink, a scheduling rate and a UL Grant threshold are set, when the uplink scheduling rate and the UL Grant reach the threshold, it indicates that the uplink throughput demand is high at this time, 2T transmission is started, the terminal needs to continuously monitor whether the scheduling rate after 2T is started and the UL Grant is reduced, and if T1 is continuously reduced in a period, the terminal needs to back to 1T.
The UL Grant refers to the number of uplink first network spectrum resources, such as network spectrum resources allocated to the terminal by the communication base station/cell for uplink transmission.
The scheduling rate refers to the allocation frequency of the network spectrum resource, for example, the number of times that the network allocates the resource to the terminal in the LTE subframe is indicated.
(4) For downlink, two situations can be included, specifically as follows:
firstly, setting an MCS/RB threshold, and when the MCS/RB threshold is higher than the threshold, the downlink throughput is higher, and the downlink throughput can be improved by starting 4R. Wherein, the MCS is a Modulation and Coding Scheme (Modulation and Coding Scheme). The RB refers to the number of downlink network spectrum resources (Resource Block), and the base station transmits downlink data to the terminal.
And secondly, setting RSRP and SINR thresholds, and when the RSRP and the SINR thresholds are lower than the thresholds, indicating that the condition of a downlink channel is poor at the moment, requiring 4R to bring diversity gain, and improving the decoding success rate. Here, RSRP refers to Reference Signal Receiving Power (Reference Signal Receiving Power), i.e., Signal strength. The SINR refers to a Signal-to-Interference plus Noise Ratio (Signal-to-Interference plus Noise Ratio), i.e., a Signal-to-Noise Ratio.
(5) Setting a back-off period, when starting 2T or 4R, needing to set a monitoring period T2, and in the monitoring period, when finding that the throughput after starting does not rise to a threshold value, the terminal needs to return to a default 1T2R state; if the state is raised, the 2T or 4R state is kept.
By combining the above scenarios (1) - (5) with the step 201-210, the number of the transceiving antennas can be reasonably selected from the 1T2R, 1T4R and 2T4R supported by the 5G SA network terminal, thereby effectively reducing the power consumption of the terminal device.
Therefore, the method and the device can acquire the number of network resources occupied by the local device when the local device transmits data; if the number of the network resources is detected to be smaller than a preset resource number threshold value, identifying a data transmission mode of the local equipment; and if the data transmission mode does not belong to the preset low-power-consumption transmission mode, switching the data transmission mode to the preset low-power-consumption transmission mode. The method can identify the number of network resources occupied by the terminal equipment in data transmission in real time, and compares the identified number of the network resources with a preset resource number threshold value to determine the throughput of the terminal equipment in data transmission; therefore, the actual data throughput of the equipment is determined according to the network resource amount of the equipment during data transmission in real time, and when the data throughput is low, the data transmission mode of the equipment is switched to the low power consumption mode, so that the power consumption of the equipment is effectively controlled, unnecessary power consumption during the endurance of the equipment is reduced, and the endurance time of the equipment is prolonged.
In order to better implement the method, the embodiment of the application also provides a device control device, and the device control device can be integrated in computer equipment such as a terminal.
For example, as shown in fig. 5, which is a schematic structural diagram of an apparatus control device provided in the embodiment of the present application, the apparatus control device may include an obtaining unit 301, an identifying unit 302, and a switching unit 303, specifically as follows:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the quantity of network resources occupied by local equipment when the local equipment transmits data;
the identification unit is used for identifying the data transmission mode of the local equipment if the network resource quantity is detected to be smaller than a preset resource quantity threshold value;
and the switching unit is used for switching the data transmission mode to the preset low-power-consumption transmission mode if the data transmission mode does not belong to the preset low-power-consumption transmission mode.
In some embodiments, the device control apparatus further comprises a detection unit for:
detecting whether a local running process contains a target application in a preset application list or not to obtain a detection result;
the obtaining unit 301 is further configured to obtain, if the detection result indicates that the target application is included, the amount of network resources occupied by the local device when transmitting data.
In some embodiments, the obtaining unit 301 is further configured to:
acquiring the number of network resources occupied by local equipment during data transmission and resource distribution frequency; and determining the number of the network resources according to the number of the network resources and the resource allocation frequency.
In some embodiments, the identifying unit 302 is further configured to:
identifying a first number of transmitting antennas used by the local device when transmitting data, and obtaining a second number of receiving antennas used by the local device when transmitting data; and determining the data transmission mode of the local equipment according to the first quantity and the second quantity.
In some embodiments, the identifying unit 302 is further configured to:
comparing the first quantity with a preset transmitting antenna quantity threshold value to obtain a first comparison result; comparing the second number with a preset receiving antenna number threshold value to obtain a second comparison result; and determining the data transmission mode of the local equipment based on the first comparison result and the second comparison result.
In some embodiments, the identifying unit 302 is further configured to:
if the number of the network resources is detected to be larger than or equal to the preset resource number threshold value, identifying a data transmission mode of the local equipment;
the switching unit 303 is further configured to determine, when the data transmission mode is the preset low power consumption transmission mode, a target transmission mode of the local device when transmitting data according to the number of network resources, and switch the data transmission mode to the target transmission mode.
In some embodiments, the obtaining unit 301 is further configured to:
acquiring the quantity of target network resources of local equipment in a target transmission mode;
the switching unit 303 is further configured to switch the target transmission mode to a preset low-power output transmission mode if the number of the target network resources is smaller than the preset resource number threshold.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
Therefore, in the embodiment of the present application, the amount of network resources occupied by the local device when transmitting data can be acquired by the acquisition unit 301; if the number of the network resources is detected to be smaller than the preset resource number threshold value through the identification unit 302, identifying a data transmission mode of the local device; if the data transmission mode does not belong to the predetermined low power consumption transmission mode, the switching unit 303 switches the data transmission mode to the predetermined low power consumption transmission mode. The method can identify the number of network resources occupied by the terminal equipment in data transmission in real time, and compares the identified number of the network resources with a preset resource number threshold value to determine the throughput of the terminal equipment in data transmission; therefore, the actual data throughput of the equipment is determined according to the network resource amount of the equipment during data transmission in real time, and when the data throughput is low, the data transmission mode of the equipment is switched to the low power consumption mode, so that the power consumption of the equipment is effectively controlled, unnecessary power consumption during the endurance of the equipment is reduced, and the endurance time of the equipment is prolonged.
An embodiment of the present application further provides a computer device, where the computer device may be a terminal or an intelligent device control device, as shown in fig. 6, and is a schematic structural diagram of the computer device provided in the present application. Specifically, the method comprises the following steps:
the computer device may include components such as a processing unit 401 of one or more processing cores, a storage unit 402 of one or more storage media, a power module 403, and an input module 404. Those skilled in the art will appreciate that the computer device configuration illustrated in FIG. 6 does not constitute a limitation of computer devices, and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. Wherein:
the processing unit 401 is a control center of the computer device, connects various parts of the whole computer device by various interfaces and lines, executes various functions of the computer device and processes data by running or executing software programs and/or modules stored in the storage unit 402 and calling data stored in the storage unit 402, thereby integrally monitoring the computer device. Optionally, the processing unit 401 may include one or more processing cores; preferably, the processing unit 401 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It is to be understood that the above-described modem processor may not be integrated into the processing unit 401.
The storage unit 402 may be used to store software programs and modules, and the processing unit 401 executes various functional applications and data processing by running the software programs and modules stored in the storage unit 402. The storage unit 402 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, web page access, and the like), and the like; the storage data area may store data created according to use of the computer device, and the like. Further, the storage unit 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory unit 402 may also include a memory controller to provide the processing unit 401 access to the memory unit 402.
The computer device further comprises a power module 403 for supplying power to each component, and preferably, the power module 403 is logically connected to the processing unit 401 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The power module 403 may also include one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and any other components.
The computer device may also include an input module 404, the input module 404 operable to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the computer device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processing unit 401 in the computer device loads the executable file corresponding to the process of one or more application programs into the storage unit 402 according to the following instructions, and the processing unit 401 runs the application programs stored in the storage unit 402, so as to implement various functions as follows:
the method comprises the steps of taking the amount of network resources occupied by local equipment when data are transmitted; if the number of the network resources is detected to be smaller than a preset resource number threshold value, identifying a data transmission mode of the local equipment; and if the data transmission mode does not belong to the preset low-power-consumption transmission mode, switching the data transmission mode to the preset low-power-consumption transmission mode.
It should be noted that the computer device provided in the embodiment of the present application and the method in the foregoing embodiment belong to the same concept, and specific implementation of the above operations may refer to the foregoing embodiment, which is not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present invention provide a computer-readable storage medium having stored therein a plurality of instructions, which can be loaded by a processor to perform the steps of any of the methods provided by the embodiments of the present invention. For example, the instructions may perform the steps of:
the method comprises the steps of taking the amount of network resources occupied by local equipment when data are transmitted; if the number of the network resources is detected to be smaller than a preset resource number threshold value, identifying a data transmission mode of the local equipment; and if the data transmission mode does not belong to the preset low-power-consumption transmission mode, switching the data transmission mode to the preset low-power-consumption transmission mode.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the computer-readable storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the computer-readable storage medium can execute the steps in any method provided by the embodiment of the present invention, the beneficial effects that can be achieved by any method provided by the embodiment of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
According to an aspect of the application, there is provided, among other things, a computer program product or computer program comprising computer instructions stored in a storage medium. The processor of the computer device reads the computer instructions from the storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided in the various optional implementation modes of the device control method.
The method, the apparatus, the device and the computer-readable storage medium for controlling the device provided by the embodiments of the present invention are described in detail above, and a specific example is applied in the present disclosure to explain the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. An apparatus control method characterized by comprising:
acquiring the amount of network resources occupied by local equipment when transmitting data;
if the network resource quantity is detected to be smaller than a preset resource quantity threshold value, identifying a data transmission mode of the local equipment;
and if the data transmission mode does not belong to a preset low-power-consumption transmission mode, switching the data transmission mode to the preset low-power-consumption transmission mode.
2. The method of claim 1, wherein before obtaining the amount of network resources occupied by the local device during data transmission, the method further comprises:
detecting whether a local running process contains a target application in a preset application list or not to obtain a detection result;
then, the obtaining of the amount of network resources occupied by the local device when transmitting data includes:
and if the detection result is that the target application is contained, acquiring the quantity of network resources occupied by local equipment during data transmission.
3. The method according to any one of claims 1 or 2, wherein the obtaining of the amount of network resources occupied by the local device when transmitting data includes:
acquiring the number of network resources occupied by local equipment during data transmission and resource distribution frequency;
and determining the number of the network resources according to the number of the network resources and the resource allocation frequency.
4. The method of claim 1, wherein the identifying the data transmission mode of the local device comprises:
identifying a first number of transmit antennas used by the local device when transmitting data and obtaining a second number of receive antennas used by the local device when transmitting data;
and determining the data transmission mode of the local equipment according to the first quantity and the second quantity.
5. The method of claim 4, wherein determining the data transmission mode of the local device according to the first number and the second number comprises:
comparing the first number with a preset transmitting antenna number threshold value to obtain a first comparison result;
comparing the second number with a preset receiving antenna number threshold value to obtain a second comparison result;
and determining a data transmission mode of the local equipment based on the first comparison result and the second comparison result.
6. The method of claim 1, further comprising:
if the network resource quantity is detected to be larger than or equal to a preset resource quantity threshold value, identifying a data transmission mode of the local equipment;
when the data transmission mode is a preset low-power consumption transmission mode, determining a target transmission mode of the local equipment during data transmission according to the number of the network resources, and switching the data transmission mode to the target transmission mode.
7. The method of claim 6, wherein after the switching the data transmission mode to the target transmission mode, further comprising:
acquiring the quantity of target network resources of the local equipment in the target transmission mode;
and if the number of the target network resources is less than a preset resource number threshold value, switching the target transmission mode to a preset low-power-consumption output transmission mode.
8. An apparatus control device, characterized by comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the quantity of network resources occupied by local equipment when the local equipment transmits data;
the identification unit is used for identifying a data transmission mode of the local equipment if the network resource quantity is detected to be smaller than a preset resource quantity threshold value;
and the switching unit is used for switching the data transmission mode to a preset low-power transmission mode if the data transmission mode does not belong to the preset low-power transmission mode.
9. A computer device comprising a processor and a memory, the memory storing a computer program, the processor being configured to execute the computer program in the memory to implement the steps in the device control method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the device control method according to any one of claims 1 to 7.
CN202210055176.1A 2022-01-18 2022-01-18 Device control method, device and computer readable storage medium Active CN114466400B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210055176.1A CN114466400B (en) 2022-01-18 2022-01-18 Device control method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210055176.1A CN114466400B (en) 2022-01-18 2022-01-18 Device control method, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114466400A true CN114466400A (en) 2022-05-10
CN114466400B CN114466400B (en) 2024-03-19

Family

ID=81408920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210055176.1A Active CN114466400B (en) 2022-01-18 2022-01-18 Device control method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114466400B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024060706A1 (en) * 2022-09-19 2024-03-28 Oppo广东移动通信有限公司 Data transmission method and apparatus, electronic device, and computer-readable storage medium

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442398A (en) * 2013-08-13 2013-12-11 大唐移动通信设备有限公司 Method and device for switching transmission modes based on LTE system
CN106231662A (en) * 2016-09-30 2016-12-14 维沃移动通信有限公司 The method for handover control of a kind of terminal antenna and terminal
CN107592133A (en) * 2017-08-30 2018-01-16 努比亚技术有限公司 A kind of antenna switch triggering method, communication terminal and computer-readable storage medium
CN107659346A (en) * 2017-08-30 2018-02-02 努比亚技术有限公司 A kind of antenna switch triggering method, communication terminal and computer-readable storage medium
CN107707288A (en) * 2017-09-01 2018-02-16 珠海格力电器股份有限公司 A kind of data transmission method and device
CN108207033A (en) * 2017-12-26 2018-06-26 广东欧珀移动通信有限公司 Signal transmission control method and device
CN108430101A (en) * 2018-03-05 2018-08-21 广东欧珀移动通信有限公司 Antenna method for closing, device, storage medium and electronic equipment
US20180242256A1 (en) * 2015-09-03 2018-08-23 Deutsche Telekom Ag Enhanced power consumption management of a user equipment using a mobile communication network, wherein different sets of radio resources are used in dependency of a power consumption information
CN110650485A (en) * 2018-06-26 2020-01-03 维沃移动通信有限公司 Antenna switching transmission mode indication method for SRS, terminal equipment and network equipment
CN110753389A (en) * 2019-10-23 2020-02-04 维沃移动通信有限公司 Network control method and electronic equipment
US20200045705A1 (en) * 2016-09-30 2020-02-06 Lg Electronics Inc. Method and apparatus for user equipment receiving broadcast feedback information transmitting message in wireless communication system
CN111343682A (en) * 2020-03-11 2020-06-26 Tcl移动通信科技(宁波)有限公司 Network switching method, device, storage medium and terminal
CN111769919A (en) * 2019-04-01 2020-10-13 华为技术有限公司 Sounding Reference Signal (SRS) transmission method and communication device
CN112039572A (en) * 2020-09-10 2020-12-04 Oppo广东移动通信有限公司 Antenna mode switching method and device, receiver and storage medium
CN112888039A (en) * 2021-01-26 2021-06-01 努比亚技术有限公司 Network switching method and device based on mobile terminal and terminal equipment
CN113556805A (en) * 2020-04-26 2021-10-26 荣耀终端有限公司 Method and terminal for reducing power consumption
US20210345365A1 (en) * 2018-08-29 2021-11-04 Nokia Solutions And Networks Oy Joint allocation of transmission power and time resource

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442398A (en) * 2013-08-13 2013-12-11 大唐移动通信设备有限公司 Method and device for switching transmission modes based on LTE system
US20180242256A1 (en) * 2015-09-03 2018-08-23 Deutsche Telekom Ag Enhanced power consumption management of a user equipment using a mobile communication network, wherein different sets of radio resources are used in dependency of a power consumption information
US20200045705A1 (en) * 2016-09-30 2020-02-06 Lg Electronics Inc. Method and apparatus for user equipment receiving broadcast feedback information transmitting message in wireless communication system
CN106231662A (en) * 2016-09-30 2016-12-14 维沃移动通信有限公司 The method for handover control of a kind of terminal antenna and terminal
CN107592133A (en) * 2017-08-30 2018-01-16 努比亚技术有限公司 A kind of antenna switch triggering method, communication terminal and computer-readable storage medium
CN107659346A (en) * 2017-08-30 2018-02-02 努比亚技术有限公司 A kind of antenna switch triggering method, communication terminal and computer-readable storage medium
CN107707288A (en) * 2017-09-01 2018-02-16 珠海格力电器股份有限公司 A kind of data transmission method and device
CN108207033A (en) * 2017-12-26 2018-06-26 广东欧珀移动通信有限公司 Signal transmission control method and device
CN108430101A (en) * 2018-03-05 2018-08-21 广东欧珀移动通信有限公司 Antenna method for closing, device, storage medium and electronic equipment
CN110650485A (en) * 2018-06-26 2020-01-03 维沃移动通信有限公司 Antenna switching transmission mode indication method for SRS, terminal equipment and network equipment
US20210345365A1 (en) * 2018-08-29 2021-11-04 Nokia Solutions And Networks Oy Joint allocation of transmission power and time resource
CN111769919A (en) * 2019-04-01 2020-10-13 华为技术有限公司 Sounding Reference Signal (SRS) transmission method and communication device
CN110753389A (en) * 2019-10-23 2020-02-04 维沃移动通信有限公司 Network control method and electronic equipment
CN111343682A (en) * 2020-03-11 2020-06-26 Tcl移动通信科技(宁波)有限公司 Network switching method, device, storage medium and terminal
CN113556805A (en) * 2020-04-26 2021-10-26 荣耀终端有限公司 Method and terminal for reducing power consumption
CN112039572A (en) * 2020-09-10 2020-12-04 Oppo广东移动通信有限公司 Antenna mode switching method and device, receiver and storage medium
CN112888039A (en) * 2021-01-26 2021-06-01 努比亚技术有限公司 Network switching method and device based on mobile terminal and terminal equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
K. ZHENG, X. LIU, B. WANG, H. ZHENG, K. CHI AND Y. YAO: "Throughput Maximization of Wireless-Powered Communication Networks: An Energy Threshold Approach", IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY, 11 January 2021 (2021-01-11) *
牟茜茜: "动态业务下高能效MIMO-OFDM系统重配置", 信息科技辑, 15 March 2016 (2016-03-15) *
陈剑;徐晓铁;吴建平;李贺武;: "能耗感知的MIMO天线配置模式选择算法", 解放军理工大学学报(自然科学版), no. 02, 15 April 2013 (2013-04-15) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024060706A1 (en) * 2022-09-19 2024-03-28 Oppo广东移动通信有限公司 Data transmission method and apparatus, electronic device, and computer-readable storage medium

Also Published As

Publication number Publication date
CN114466400B (en) 2024-03-19

Similar Documents

Publication Publication Date Title
CN108632880B (en) Networking working mode selection method, device and terminal
US11778622B2 (en) Method and apparatus for obtaining information, terminal, and storage medium
US11723112B2 (en) Power saving methods and devices using discontinuous reception (DRX) in wireless systems
US20050117536A1 (en) System and method for transmitting and receiving resource allocation information in a wireless communication system
US20100020760A1 (en) Orthogonal frequency domain multiplexing (ofdm) communication system
CN105075370A (en) User equipment and method for distributed channel access for D2D communications
CN103503550A (en) Method in a base station for allocating communication resources to a user equipment, base station, computer program and computer program product
KR102302358B1 (en) Method and apparatus for selecting power preference information in wireless communication system
US20180242257A1 (en) Low power consumption communication method and apparatus
CN110891306B (en) Method, base station and storage medium for downlink coverage adaptive adjustment
CN111786764B (en) Method, system, terminal device and computer readable storage medium for selecting main carrier
US20240090005A1 (en) METHOD AND SYSTEM FOR TRAFFIC SHAPING AT THE DU/CU TO ARTIFICIALLY REDUCE THE TOTAL TRAFFIC LOAD ON THE RADIO RECEIVER SO THAT NOT ALL THE TTLs ARE CARRYING DATA
CN111294898A (en) User terminal, state switching method thereof, computer-readable storage medium and base station
CN114466400B (en) Device control method, device and computer readable storage medium
CN103889000A (en) Channel allocation method and device
CN111212448A (en) BWP self-adaptive selection modulation method and system
CN113891447A (en) Method and device for allocating uplink resources
US20220278725A1 (en) Method and device for channel state indication on unlicensed spectrum
US20220141840A1 (en) Coordinated scheduling method and related apparatus
CN114040417A (en) Bandwidth allocation method, device and base station based on dynamic spectrum sharing
CN115442876A (en) Terminal power saving method and device, wireless access equipment, electronic equipment and medium
WO2024045561A1 (en) Multi-input and multi-output control method, wifi device, and computer readable medium
WO2021253877A1 (en) Method and device for determining modulation and coding scheme (mcs), and storage medium
US20230397290A1 (en) Method for uplink data transmission, user equipment, and storage medium
WO2023109322A1 (en) Resource scheduling method, base station, ue, electronic device, and storage medium

Legal Events

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