CN114173401A - Equipment control method and related product - Google Patents

Equipment control method and related product Download PDF

Info

Publication number
CN114173401A
CN114173401A CN202111449011.4A CN202111449011A CN114173401A CN 114173401 A CN114173401 A CN 114173401A CN 202111449011 A CN202111449011 A CN 202111449011A CN 114173401 A CN114173401 A CN 114173401A
Authority
CN
China
Prior art keywords
preset
electronic device
hotspot
throughput
temperature
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.)
Pending
Application number
CN202111449011.4A
Other languages
Chinese (zh)
Inventor
王泽卫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202111449011.4A priority Critical patent/CN114173401A/en
Publication of CN114173401A publication Critical patent/CN114173401A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/04Terminal devices adapted for relaying to or from another terminal or user
    • 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 embodiment of the application discloses a device control method and a related product, wherein the method comprises the following steps: responding to a hotspot function starting instruction, and starting a first hotspot mode; determining an application program for calling the hotspot function; selecting a target hotspot mode according to an application program; and controlling the electronic equipment to operate in a target hotspot mode. By adopting the embodiment of the application, the power consumption of the electronic equipment can be saved, and the user experience can be improved.

Description

Equipment control method and related product
Technical Field
The present application relates to the field of communications, and in particular, to an apparatus control method and related product.
Background
In order to solve the problem that outdoor internet surfing or part of devices do not have access to a cellular network, a mobile phone sharing hotspot is used for other devices to access to the network, so that a convenient mode is achieved. The Mobile phone hotspot is a Technology for converting Communication signals corresponding to General Packet Radio Service (GPRS), third Generation Mobile Communication Technology (3rd-Generation, 3G), fourth Generation Mobile Communication Technology (4G) and gradually popularized fifth Generation Mobile Communication Technology (5G) received by a Mobile phone into wireless fidelity (WiFi) signals to be transmitted.
With the popularization of data traffic, more and more scenes are available for users to share hotspots with the data traffic, for example, the hotspots are shared by mobile phones for remote office of notebook computers, and are shared by vehicle-mounted wireless modules to realize functions of accurate navigation/song listening and the like. When the mobile phone shares a hot spot, the mobile phone needs cellular network (GPRS, 3G, 4G and 5G) hardware, a CPU and wifi network hardware to work simultaneously, so that the power consumption and the heating are serious, and the user experience is low.
Disclosure of Invention
The embodiment of the application provides an equipment control method and a related product, which are beneficial to saving the power consumption of electronic equipment and improving the user experience.
In a first aspect, an embodiment of the present application provides an apparatus control method, which is applied to an electronic apparatus, and the method includes:
responding to a hotspot function starting instruction, and starting a first hotspot mode;
determining an application program for calling the hotspot function;
selecting a target hotspot mode according to the application program, wherein the target hotspot mode at least comprises the first hotspot mode;
and controlling the electronic equipment to operate in the target hotspot mode.
In a second aspect, the present application provides an apparatus for controlling a device, where the apparatus is applied to an electronic device, and the apparatus includes an initiating unit, a calling unit, a selecting unit, and a controlling unit,
the starting unit is used for responding to a hotspot function starting instruction and starting a first hotspot mode;
the calling unit is used for determining an application program for calling the hotspot function;
the selecting unit is configured to select a target hotspot mode according to the application program, where the target hotspot mode at least includes the first hotspot mode;
the control unit is used for controlling the electronic equipment to operate in the target hotspot mode.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing steps in any method of the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods of the first aspect of the present application.
In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, in response to a hotspot function starting instruction, a first hotspot mode is started; determining an application program for calling the hotspot function; selecting a target hotspot mode according to the application program; and controlling the electronic equipment to operate in the target hotspot mode. Therefore, the electronic equipment can dynamically select the target hotspot mode according to the currently used application program and control the electronic equipment to operate in the target hotspot mode, so that the power consumption of the electronic equipment is saved, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described 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 without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a software structure of an electronic device according to an embodiment of the present application;
fig. 3 is a schematic network architecture diagram of a device control method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of an apparatus control method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of an apparatus control method according to an embodiment of the present application;
fig. 6 is a schematic flowchart of an apparatus control method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 8 is a block diagram of functional units of an apparatus control device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
1) The electronic device may be a portable electronic device, such as a cell phone, a tablet computer, a wearable electronic device with wireless communication capabilities (e.g., a smart watch), etc., that also contains other functionality, such as personal digital assistant and/or music player functionality. Exemplary embodiments of the portable electronic device include, but are not limited to, portable electronic devices that carry an IOS system, an Android system, a Microsoft system, or other operating system. The portable electronic device may also be other portable electronic devices such as a Laptop computer (Laptop) or the like. It should also be understood that in other embodiments, the electronic device may not be a portable electronic device, but may be a desktop computer. In an embodiment of the present application, the electronic device may include an electronic device and/or a tag device.
2) Stations (Station), each of which is connected to an electronic device in a wireless network (e.g., laptop, PDA, and other network-enabled user devices), may be referred to as a Station.
3) An Access Point (AP), which is a creator of a wireless network, is a central node of the network. A wireless router used in a typical home or office is an AP.
4) Soft-Access point (Soft-AP), Soft-Access point (Soft-routing mode), a technology for implementing AP functions through a wireless network card using dedicated software.
5) Multiple Input Multiple Output (MIMO), which uses Multiple antennas at both the transmitting and receiving ends, forms an antenna system with Multiple channels between transmit and receive.
6) Single Input Single Output (SISO) communication systems employing a Single transmit antenna and a Single receive antenna.
In a first section, the software and hardware operating environment of the technical solution disclosed in the present application is described as follows.
Fig. 1 shows a schematic structural diagram of an electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a compass 190, a motor 191, a pointer 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. Wherein the different processing units may be separate components or may be integrated in one or more processors. In some embodiments, the electronic device 100 may also include one or more processors 110. The controller can generate an operation control signal according to the instruction operation code and the time sequence signal to complete the control of instruction fetching and instruction execution. In other embodiments, a memory may also be provided in processor 110 for storing instructions and data. Illustratively, the memory in the processor 110 may be a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. This avoids repeated accesses and reduces the latency of the processor 110, thereby increasing the efficiency with which the electronic device 100 processes data or executes instructions.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a SIM card interface, a USB interface, and/or the like. The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. The USB interface 130 may also be used to connect to a headset to play audio through the headset.
It should be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only an illustration, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (blue tooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), UWB, and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a relational analysis microprocessor connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, videos, and the like. The display screen 194 includes a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a mini light-emitting diode (mini-light-emitting diode, mini), a Micro-o led, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the electronic device 100 may include 1 or more display screens 194.
The electronic device 100 may implement a photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or more cameras 193.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
Internal memory 121 may be used to store one or more computer programs, including instructions. The processor 110 may execute the above-mentioned instructions stored in the internal memory 121, so as to enable the electronic device 100 to execute the method for displaying page elements provided in some embodiments of the present application, and various applications and data processing. The internal memory 121 may include a program storage area and a data storage area. Wherein, the storage program area can store an operating system; the storage program area may also store one or more applications (e.g., gallery, contacts, etc.), and the like. The storage data area may store data (e.g., photos, contacts, etc.) created during use of the electronic device 100, and the like. Further, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage components, flash memory components, Universal Flash Storage (UFS), and the like. In some embodiments, the processor 110 may cause the electronic device 100 to execute the method for displaying page elements provided in the embodiments of the present application and other applications and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor 110. The electronic device 100 may implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc. Such as music playing, recording, etc.
The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., X, Y and the Z axis) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
Fig. 2 shows a block diagram of a software structure of the electronic device 100. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom. The application layer may include a series of application packages.
As shown in fig. 2, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media libraries (media libraries), three-dimensional graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
In a second section, example application scenarios disclosed in embodiments of the present application are described below.
Fig. 3 shows a scenario architecture diagram of a device control method applicable to the present application, and as shown in fig. 3, the scenario diagram includes an electronic device (100a) and an electronic device (100 b).
As shown in fig. 3, the electronic device 100a may communicate with the electronic device 100b through a hotspot device, the electronic device may transmit a file, send a picture, and the like to the electronic device 100b through a hotspot function, and the electronic device 100c may share a network (e.g., a 2G, 3G, 4G, 5G, WiFi network, or the like) with the electronic device 100a after connecting to the hotspot device.
In the present case, when the electronic device 100a and the electronic device 100b share a hotspot, if a usage scenario of an application program of the electronic device 100a that currently calls a hotspot function is a high throughput scenario, for example: file mutual transmission, downloading of large-memory game software, caching of high-definition videos and other high-throughput scenes; the electronic device 100a generally adopts a mode of directly closing one WiFi access, and mostly switches the hotspot mode of the electronic device 100a to a low power consumption mode, which cannot meet the high throughput scenario, and the user experience is low. And sacrifice throughput under the condition that the electronic equipment heating condition is not interrupted, some users may only download files occupying little memory through the hot spot function, and after the downloading is completed, the hot spot function is closed, even if a high-performance hot spot mode is used, the problem of heating or power consumption of the electronic equipment is not caused, the electronic equipment is switched to a low-power hot spot mode, the downloading speed is reduced, the downloading time is prolonged, and the user experience is also influenced.
Therefore, in view of the above problems, an embodiment of the present application provides an apparatus control method, and in particular, an electronic apparatus 100a may start a first hotspot mode in response to a hotspot function starting instruction; determining an application program for calling the hotspot function; selecting a target hotspot mode according to the application program; and controlling the electronic equipment to operate in the target hotspot mode. Therefore, the electronic equipment can dynamically select the target hotspot mode according to the currently used application program and control the electronic equipment to operate in the target hotspot mode, so that the power consumption of the electronic equipment is saved, and the user experience is improved.
In the third section, the scope of protection of the claims disclosed in the embodiments of the present application is described below.
Referring to fig. 4, fig. 4 is a schematic flowchart of a device control method applied to an electronic device according to an embodiment of the present application.
S401, the electronic equipment responds to a hotspot function starting instruction and starts a first hotspot mode.
The user may trigger the hot spot function starting instruction of the electronic device through a key or a screen touch or a gesture, and the triggering mode of the hot spot function starting instruction may be set by the user or default by the system, which is not limited herein.
The first hotspot mode may be set by the user or default, and is not limited herein; the first hotspot mode may refer to a high performance hotspot mode, i.e., a hotspot mode using MIMO technology.
The electronic device may refer to a sending end device, that is, a Soft-AP end device, that sends data to other electronic devices through a hot spot function.
In a specific implementation, after receiving a start instruction for the hotspot function, the electronic device may open the hotspot function and start the first hotspot mode.
Therefore, in the application, when the electronic device starts the hot spot function for the first time, the electronic device does not generate heat, hair scald and other problems, and the power consumption of the electronic device is not high relative to the power consumption after the electronic device is operated for a period of time, at this time, the high-performance hot spot mode, namely the first hot spot mode, can be started preferentially, so that the electronic device can be operated in the high-performance hot spot mode to improve the performance of the electronic device.
S402, the electronic equipment determines an application program for calling the hotspot function.
The application program may refer to a software application program that can call a hotspot function or can complete data transmission through a hotspot, and the application program may implement file transmission, screen projection, or document downloading with another electronic device through the hotspot function, which is not limited herein; the application program may include at least one of: file transfer software, screen projection software, document download software, file interaction software, reading software, video software, chat software, game software, shopping software, and the like, without limitation.
Optionally, if the electronic device does not start the application program, the first hotspot mode, that is, the high-power-consumption hotspot mode, may be maintained, in this case, compared with the hotspot function called by the application function, at this time, the electronic device may not increase too much device power consumption, and once there is an application program or another device calling the hotspot function, it is not necessary to complete a switch from the low-power-consumption hotspot mode to the high-power-consumption hotspot mode, and a throughput-related experience may be quickly provided for a user of the Station-side device, which is beneficial to improving user experience.
Optionally, the application program includes an application program loaded in the electronic device; or the application program comprises other electronic equipment for receiving the data sent by the electronic equipment.
The other electronic device may be a receiver device that receives data through the electronic device, and may be a Station device.
The application program may be an application program that calls the hotspot function or uses the hotspot to send data in the local electronic device.
When the electronic device and other electronic devices are the same manufacturer or an application program can be acquired between the electronic device and other electronic devices, the application program may also refer to a Station device that receives data sent by the electronic device.
In a specific implementation, different application scenarios may be considered, for example, if an application program of the Soft-AP end device that sends data through a hotspot may be the same as an application program of the Station end device that receives data through the hotspot, the application program in the present application may be the application program of the Soft-AP end device; if the application program of the Soft-AP end device for sending data through the hotspot is possibly different from the application program of the Station end device for receiving data through the hotspot, the application program in the application can be the application program of the Station end device because the Soft-AP end device serves the Station end device; or if the electronic device Soft-AP end device sends data to the Station end device through a module inside the system without passing through a specific application program (for example, the electronic device has a device failure, but a hot spot module inside the electronic device is usable, and sends all or part of data inside the electronic device to other electronic devices through a hot spot provided by the hot spot module), then the application program in the application may be an application program of the Station end device; the location for the application can be determined according to different application scenarios.
Therefore, in the application, in consideration of different application scenes in practical application, it is necessary to locate the application program calling the hotspot function, the type of the application program is not specifically set, and the application program calling the corresponding hotspot function or realizing data transmission through the hotspot can be determined according to different application scenes, so that the user experience can be improved under the condition of meeting different application scenes; furthermore, the corresponding throughput requirement can be determined according to the application program subsequently, so that the switching of a high-power-consumption hotspot mode or a low-power-consumption hotspot mode of the hotspot mode is completed, the data transmission of the Station end equipment experiencing high throughput is favorably improved, and the power consumption of the Soft-AP end equipment is favorably reduced.
S403, the electronic device selects a target hotspot mode according to the application program, wherein the target hotspot mode at least comprises the first hotspot mode.
The target hotspot pattern may include at least one hotspot pattern, including but not limited to a first hotspot pattern, and may further include a second hotspot pattern, where the second hotspot pattern is different from the first hotspot pattern, and the second hotspot pattern may refer to a low-performance hotspot pattern, for example, a low-performance hotspot pattern using SISO technology, and the like, which is not limited herein.
In a specific implementation, the electronic device may determine, through an application program, an application scenario in which the hotspot function is currently used, and select a high-performance hotspot mode or a low-performance hotspot mode according to a throughput requirement of the application scenario.
In one possible example, selecting a target hotspot pattern according to the application program may include the following steps: determining the equipment temperature and the residual capacity of the electronic equipment; judging whether a preset white list comprises the application program or not; if the preset white list does not comprise the application program, determining a first preset electric quantity and a first preset temperature corresponding to the electronic equipment, and determining the target hotspot mode according to the first preset electric quantity, the first preset temperature, the equipment temperature and the residual electric quantity; if the preset white list comprises the application program, determining a second preset electric quantity and a second preset temperature corresponding to the electronic equipment, and determining the target hotspot mode according to the second preset electric quantity and the second preset temperature, the equipment temperature and the residual electric quantity.
The preset white list can be set by the user or defaulted by the system, and is not limited herein; the preset white list may store a plurality of application programs in advance, or store a plurality of application scenarios. For example, the applications stored in the preset white list may be power-hungry applications, high-throughput applications, or the like, and are not limited herein. For example, the application scenario may be a power-saving application scenario, or a high-throughput application scenario, and the like, which is not limited herein.
For example, the preset white list may include at least one of the following applications: file transfer type software, screen projection type software, document download type software, etc., without limitation.
The first preset electric quantity and/or the first preset temperature can be set by a user or defaulted by a system, and are not limited herein; the first preset electric quantity and/or the first preset temperature can correspond to a preset white list, and if an application program calling a hotspot function exists in the white list, the first preset temperature and/or the first preset electric quantity are/is obtained or determined; the first preset electric quantity and/or the first preset temperature are/is equivalent to a critical value and can be respectively used for monitoring the power consumption condition and the heating condition of the electronic equipment so as to judge the performance of the electronic equipment.
The second preset electric quantity and/or the second preset temperature can be set by a user or defaulted by a system, and are not limited herein; the set value of the second preset electric quantity is larger than the first preset electric quantity, and the set value of the second preset temperature is smaller than the first preset temperature.
For example, the above-mentioned determining the device temperature of the electronic device may be specifically obtained by detecting a specific location point in the electronic device, and the specific location point may be set by a user or default by a system, which is not limited herein; the specific location point may be a Central Processing Unit (CPU) or a location of an antenna or a communication module in the electronic device, and the specific location point of each electronic device is different and may vary according to an arrangement structure inside the electronic device.
Therefore, in the application, the electronic device can select different hot spot mode selection strategies according to the throughput requirements of the application program, and then can adjust or select the operation mode (namely the hot spot mode) of the hot spot function of the electronic device in real time according to the device temperature and the residual electricity quantity of the electronic device so as to meet different throughput requirements and be beneficial to improving user experience.
In one possible example, determining the target hotspot pattern according to the first preset power, the first preset temperature, the device temperature and the remaining power may include: if the equipment temperature is less than or equal to the first preset temperature and/or the residual electric quantity is greater than or equal to the first preset electric quantity, keeping the electronic equipment to operate in the first hotspot mode; if the device temperature is greater than the first preset temperature and/or the remaining power is less than the first preset power, reducing the throughput of the electronic device, keeping the electronic device operating in the first hot spot mode, and keeping the electronic device operating in the current throughput and the first hot spot mode when the device temperature is less than or equal to the first preset temperature or the remaining power is greater than or equal to the first preset power.
In the embodiment of the present application, the target hotspot mode is a first hotspot mode.
In a specific implementation, if the temperature of the electronic device is less than or equal to a first preset temperature, or the remaining power is greater than a first preset power, it indicates that the operating environment and the hardware condition of the electronic device at the moment can meet the operating requirement of high throughput, and the remaining power of the electronic device is sufficient to support the operating requirement of high throughput, the electronic device is kept to operate in a first hotspot mode; if the device temperature is higher than the first preset temperature or the remaining capacity is lower than the first preset capacity, it is indicated that the throughput of the electronic device is large to cause that the device temperature of the electronic device is too high or the remaining capacity cannot support the electronic device to operate in a high throughput environment. Similarly, if the temperature of the device is less than or equal to a first preset temperature and the remaining power is greater than or equal to a first preset power, the electronic device is kept to operate in a first hot spot mode; if the device temperature is higher than the first preset temperature and the remaining power is lower than the first preset power, the throughput of the electronic device is reduced, and the electronic device is kept to operate in the first hot spot mode to meet the working requirement of the application program.
In addition, the throughput of the electronic device is reduced to reduce the device temperature, the device temperature and the remaining power of the electronic device may be detected at intervals of a preset time period (which may be set by a user or default of a system, but not limited thereto), and when the device temperature of the electronic device is less than or equal to the first preset temperature, or after the remaining power of the electronic device is sufficient to support a high-performance operating environment of the electronic device, the reduction of the throughput of the electronic device may be stopped, and the electronic device may be kept to operate in the current throughput and the first hotspot mode at this time, so that it is beneficial to improve the performance of the electronic device, and improve user experience.
For example, if the first preset temperature is set to 38 degrees celsius, when it is detected that the device temperature at a specific location of the electronic device is higher than 38 degrees celsius, the throughput may be reduced, the electronic device may be kept operating in the high-performance hotspot mode using the MIMO technology, and after the device temperature is lower than 38 degrees celsius, the reduction of the throughput may be stopped, and the current throughput may be determined in real time, and the electronic device may be operated in the current throughput and in the high-performance hotspot mode using the MIMO technology.
Therefore, in the application, after determining that the application scenario of the application program of the electronic device is a high-throughput application scenario, whether the throughput of the electronic device needs to be reduced is determined according to the device temperature and/or the remaining power, and the electronic device is always kept to operate in the first hotspot mode, namely the high-performance hotspot mode, so that the high-performance use of the application program can be ensured, for example, the high-speed download or the high-speed transmission of a file can be ensured, which is beneficial to improving the user experience, and meanwhile, the device performance is improved, and the use safety of the electronic device is ensured, so that the device damage caused by the over-high temperature is prevented.
In one possible example, determining the target hotspot pattern according to the second preset power and the second preset temperature, the device temperature and the remaining power may include: if the equipment temperature is less than or equal to the second preset temperature and/or the residual electric quantity is greater than or equal to the second preset electric quantity, keeping the electronic equipment to operate in the first hotspot mode; if the device temperature is higher than the second preset temperature and/or the residual electric quantity is lower than the second preset electric quantity, switching the first hot spot mode to a second hot spot mode, controlling the electronic device to operate in the second hot spot mode, and switching the second hot spot mode to the first hot spot mode and controlling the electronic device to operate in the first hot spot mode when the device temperature is lower than or equal to the second preset temperature or the residual electric quantity is higher than or equal to the second preset electric quantity.
The target hotspot mode comprises a first hotspot mode and a second hotspot mode, and can be switched according to different conditions.
In a specific implementation, if the device temperature is less than or equal to the second preset temperature or the remaining power is greater than or equal to the second preset power, or when the device temperature is less than or equal to the second preset temperature and the remaining power is greater than or equal to the second preset power, because the application program is not in the preset white list, i.e., the application scenario of the application is a low throughput application scenario, e.g., reading-class software, etc., then, the electronic device performance required by the application is low, that is, the processor performance or the memory occupied by running the application is low compared with the application in the preset white list, therefore, the application program or the electronic equipment can be continuously operated in the first hot spot mode, so that the situation of blocking or unsmooth operation can not occur when the user uses the application program, and the user experience is favorably improved.
Further, when the device temperature is higher than a second preset temperature, or the remaining power is lower than a second preset power, or the device temperature is higher than the second preset temperature and the remaining power is lower than the second preset power, because the application scene corresponding to the application program is a low-throughput application scene, and at this time, when the device temperature is too high, the application program is not favorable for normal use, and a situation of blocking or unsmooth operation may occur, the first hotspot mode can be switched to the second hotspot mode, that is, the high-power-consumption hotspot mode is switched to the low-power-consumption hotspot mode, and the hotspot of the electronic device is kept to operate in the low-power-consumption hotspot mode, so that the temperature of the electronic device is favorably reduced, the remaining power of the electronic device is favorably saved, and the device safety of the electronic device is favorably protected; furthermore, the device temperature or the remaining power of the electronic device may be monitored in real time at preset time intervals (which may be set by a user or default to a system, and is not limited herein; for example, 30s, 2min, 5min, and the like), and when the device temperature is less than or equal to the second preset temperature, or the remaining power is greater than or equal to the second preset power, the second hotspot mode is switched to the first hotspot mode, so as to ensure the usage requirement of the user, that is, the throughput requirement of the application program. For example, if the application program is a reading software, the heating condition of the electronic device and the increase of power consumption can be greatly reduced through the above manner, which is beneficial to ensuring normal reading of a user and improving user experience.
Therefore, in the application, when the application program is not in the preset white list, that is, the scene using the application program is not a high-throughput application scene, and therefore, the throughput demand in the scene is smaller than that of the application program in the preset white list, a target hotspot mode can be determined according to the device temperature and the residual power, that is, the switching between the first hotspot mode and the second hotspot mode is completed, and the low-power-consumption hotspot mode can be triggered in a wider range, so that the influence on the performance of the electronic device caused by overhigh temperature or overhigh power consumption of the electronic device is avoided, and the improvement of user experience is facilitated.
In one possible example, before the reducing the throughput of the electronic device, the method may further include: determining current network environment characteristics; and predicting the throughput corresponding to the electronic equipment under the current network environment according to the current network environment characteristics.
Wherein, the throughput may refer to a maximum amount of data transmitted at a maximum rate per unit time; the current network environment characteristic may refer to a network environment characteristic corresponding to the device in the current situation, and may include at least one of the following: operating power, channel, bandwidth, interference strength of transmitted data, channel utilization, type of electronic device, etc., without limitation.
In a specific implementation, a neural network model may be preset in the electronic device, and various features in the network environment features and parameters corresponding to each feature may be input into the neural network model to obtain an influence parameter of each network environment feature on throughput, obtain a plurality of influence parameters, and calculate the throughput of the electronic device in the current network environment according to the plurality of influence parameters.
For example, the impact parameters of each of the above network environment characteristics on throughput can be expressed as:
Figure BDA0003383828370000111
Figure BDA0003383828370000112
wherein, ajFor network environment characteristics, b is throughput, c (a)jAnd b) represents the influence parameter of the jth network environment parameter relative to the throughput y.
For example, a result value corresponding to each network environment characteristic may be obtained by multiplying each impact parameter by a parameter corresponding to the network environment characteristic corresponding thereto, and then all the result values are added to obtain a predicted value for the throughput, and further, the throughput corresponding to the preset value may be determined according to a mapping relationship between the preset predicted value and the throughput, and further, the throughput corresponding to the electronic device may be obtained.
Therefore, in the application, the current throughput of the electronic equipment can be calculated through the current network environment characteristics, so that the throughput of the electronic equipment can be obtained, the prediction efficiency can be improved, and in the subsequent steps, the adjustment strategy (for reducing or increasing the throughput) for the throughput of the electronic equipment can be adjusted timely according to the throughput, so that the damage to the equipment caused by too high equipment temperature due to high throughput can be avoided.
In one possible example, the reducing the throughput of the electronic device may include: determining a target throughput adjustment strategy corresponding to the throughput according to a mapping relation between preset throughput and the throughput adjustment strategy; determining a target step length corresponding to the target throughput adjustment strategy according to a mapping relation between a preset throughput adjustment strategy and a preset step length; and gradually reducing the throughput of the electronic equipment by taking the target step length as a reference.
The above-mentioned throughput adjustment policy may refer to decreasing or increasing throughput by some measures (for example, a policy of increasing transmission rate, decreasing transmission time, etc.); the mapping relationship between the preset throughput and the throughput adjustment strategy and the mapping relationship between the preset throughput adjustment strategy and the preset step length can be stored in the electronic device.
The preset step may refer to a size of decreasing or increasing throughput in a unit time, and may be, for example, 3Mbps, 5Mbps, and the like, which is not limited herein.
For example, the throughput adjustment policy may include: the I/O delay time of the storage device is controlled by reallocating the memory occupancy rate of the storage device associated with the application program, and/or the workload of the memory of the CPU is distributed by the priority of all the application programs currently used to adjust the throughput of the electronic device, and other application programs except the application programs are closed according to the priority of all the application programs currently used, so as to control the transmission rate or the transmission time of the data transmitted by the electronic device, and adjust the throughput. The priority of the application program may be set by the user or by default, and is not limited herein, for example, the priority of the chat software may be set to be higher than that of the game software, and the like.
In the specific implementation, different throughput adjustment strategies corresponding to different throughputs can be preset, an intermediate value can be set, if the difference between the throughput and the intermediate value is greater than a preset value, the adjustment range of the throughput is considered to be large, the setting of the numerical value of the preset step length can be increased, and the target step length corresponding to the target throughput adjustment strategy is obtained; otherwise, the setting of the numerical value of the preset step length can be reduced, and the target step length corresponding to the target throughput adjustment strategy is obtained. If the throughput needs to be adjusted greatly, a plurality of adjustment policies can be appropriately selected to adjust the throughput at the same time, for example, the memory occupancy rate of the storage device associated with the application program can be reallocated, meanwhile, the workload of the memory of the CPU is allocated according to the priorities of all currently used application programs, and other application programs except the application program in the background are closed according to the priorities of all currently used application programs, so that the adjustment policies are simultaneously acted, so as to reduce the throughput of the electronic device.
Therefore, in the application, because the electronic device does not only have one application program in the current operation, considering the normal operation of other application programs, the step length can be preset as a reference, and the throughput of the electronic device is gradually reduced, so as to ensure the normal operation of a plurality of application programs in the electronic device; in addition, in the process of gradually reducing the throughput of the electronic device by the preset step length, if the device temperature of the electronic device obtained through monitoring is less than or equal to the first preset temperature (or the second preset temperature), the reduction of the throughput of the electronic device can be stopped timely, and for the throughput adjustment strategy for closing other application programs in the background, the number of other application programs in the background can be reduced, so that a user can be ensured to switch back to other application programs from the application programs at any time, and the like, thereby ensuring the high throughput requirement of the device, and being beneficial to improving the user experience.
In one possible example, the step of gradually reducing the throughput of the electronic device based on the target step size may include the steps of: determining the data volume required to be sent by the application program in the first hotspot mode; calculating the difference between the throughput and the target step length to obtain a target throughput; determining target time required for sending the data volume in the first hotspot mode according to the target throughput; and controlling the electronic equipment to transmit the data volume in the target time.
For example, the electronic device may determine the size (50M) of the data volume of the file that the file transfer class software needs to transfer, and determine to reduce the throughput of 50Mbps to 45Mbps according to the target step size (5 Mbps); then, it may be determined that, in the first hotspot mode, that is, in the high-power-consumption hotspot mode, a target time required for transmitting the 50M data amount to the other electronic device in a unit time is determined, and the electronic device is controlled to transmit the 50M data amount to the other electronic device through the first hotspot mode in the target time.
Therefore, in the application, the throughput of the electronic equipment can be gradually reduced by taking the preset step length as a reference so as to ensure that the throughput of the electronic equipment is gradually reduced within a unit, and therefore, the purpose of saving power consumption can be achieved while the requirement of high throughput of the equipment is ensured.
S404, the electronic equipment controls the electronic equipment to operate in the target hotspot mode.
After the target hotspot mode is selected, the electronic equipment can be controlled to operate in the target hotspot mode so as to complete the realization of the functions of the application program.
It can be seen that, in the device control method described in the embodiment of the present application, the electronic device starts the first hotspot mode in response to the hotspot function starting instruction; determining an application program for calling the hotspot function; selecting a target hotspot mode according to the application program; and controlling the electronic equipment to operate in the target hotspot mode. Therefore, the electronic equipment can dynamically select the target hotspot mode according to the currently used application program and control the electronic equipment to operate in the target hotspot mode, so that the power consumption of the electronic equipment is saved, and the user experience is improved.
Referring to fig. 5, fig. 5 is a schematic flowchart of a device control method applied to an electronic device according to an embodiment of the present application.
S501, responding to a hotspot function starting instruction, and starting a first hotspot mode.
And S502, determining an application program for calling the hotspot function.
S503, determining the equipment temperature and the residual capacity of the electronic equipment.
S504, judging whether the preset white list comprises the application program.
And S505, if the preset white list does not include the application program, determining a first preset electric quantity and a first preset temperature corresponding to the electronic equipment, and determining the target hotspot mode according to the first preset electric quantity, the first preset temperature, the equipment temperature and the residual electric quantity.
S506, if the preset white list comprises the application program, determining a second preset electric quantity and a second preset temperature corresponding to the electronic equipment, and determining the target hotspot mode according to the second preset electric quantity and the second preset temperature, the equipment temperature and the residual electric quantity, wherein the target hotspot mode at least comprises the first hotspot mode.
And S507, controlling the electronic equipment to operate in the target hotspot mode.
The above steps S501 to S507 may refer to the related descriptions in the device control method described in step S401 to step S404 in the device control method described in fig. 4, and are not described again here.
It can be seen that, in the device control method described in the embodiment of the present application, the electronic device starts the first hotspot mode in response to the hotspot function starting instruction; determining an application program for calling the hotspot function; determining the equipment temperature and the residual capacity of the electronic equipment; judging whether a preset white list comprises the application program or not; if the preset white list does not comprise the application program, determining a first preset electric quantity and a first preset temperature corresponding to the electronic equipment, and determining the target hotspot mode according to the first preset electric quantity, the first preset temperature, the equipment temperature and the residual electric quantity; if the preset white list comprises the application program, determining a second preset electric quantity and a second preset temperature corresponding to the electronic equipment, and determining the target hotspot mode according to the second preset electric quantity and the second preset temperature, the equipment temperature and the residual electric quantity, wherein the target hotspot mode at least comprises the first hotspot mode; and controlling the electronic equipment to operate in the target hotspot mode. Therefore, the electronic equipment can select different hot spot mode selection strategies according to the throughput requirements of the application programs, and further, the operation mode (namely the hot spot mode) of the hot spot function of the electronic equipment can be adjusted or selected in real time according to the equipment temperature and the residual electric quantity of the electronic equipment so as to meet different throughput requirements and be beneficial to improving user experience.
Referring to fig. 6, fig. 6 is a schematic flowchart of a device control method applied to an electronic device according to an embodiment of the present application.
S601, responding to a hotspot function starting instruction, and starting a first hotspot mode.
S602, determining an application program for calling the hotspot function.
S603, determining the equipment temperature and the residual capacity of the electronic equipment.
S604, judging whether the preset white list comprises the application program.
S605, if the preset white list does not include the application program, determining a first preset electric quantity and a first preset temperature corresponding to the electronic device, and if the device temperature is less than or equal to the first preset temperature and/or the residual electric quantity is greater than or equal to the first preset electric quantity, keeping the electronic device running in the first hot spot mode.
S606, if the device temperature is greater than the first preset temperature and/or the remaining power is less than the first preset power, reducing throughput of the electronic device, keeping the electronic device operating in the first hot spot mode, and keeping the electronic device operating in the current throughput and the first hot spot mode when the device temperature is less than or equal to the first preset temperature or the remaining power is greater than or equal to the first preset power.
S607, if the preset white list includes the application program, determining a second preset electric quantity and a second preset temperature corresponding to the electronic device, and if the device temperature is less than or equal to the second preset temperature, and/or the remaining electric quantity is greater than or equal to the second preset electric quantity, keeping the electronic device operating in the first hot spot mode.
S608, if the device temperature is greater than the second preset temperature and/or the remaining power is less than the second preset power, switching the first hotspot mode to a second hotspot mode, controlling the electronic device to operate in the second hotspot mode, and when the device temperature is less than or equal to the second preset temperature or the remaining power is greater than or equal to the second preset power, switching the second hotspot mode to the first hotspot mode, and controlling the electronic device to operate in the first hotspot mode.
And S609, controlling the electronic equipment to operate in the target hotspot mode.
The above steps S601 to S609 may refer to the related descriptions in the device control method described in step S401 to step S404 in the device control method described in fig. 4, and are not repeated here.
It can be seen that, in the device control method described in the embodiment of the present application, the electronic device starts the first hotspot mode in response to the hotspot function starting instruction; determining an application program for calling the hotspot function; determining the equipment temperature and the residual capacity of the electronic equipment; judging whether a preset white list comprises the application program or not; if the preset white list does not include the application program, determining a first preset electric quantity and a first preset temperature corresponding to the electronic equipment, and if the equipment temperature is less than or equal to the first preset temperature and/or the residual electric quantity is greater than or equal to the first preset electric quantity, keeping the electronic equipment running in the first hot spot mode; if the device temperature is greater than the first preset temperature and/or the remaining power is less than the first preset power, reducing the throughput of the electronic device, keeping the electronic device operating in the first hot spot mode, and keeping the electronic device operating in the current throughput and the first hot spot mode when the device temperature is less than or equal to the first preset temperature or the remaining power is greater than or equal to the first preset power; if the preset white list comprises the application program, determining a second preset electric quantity and a second preset temperature corresponding to the electronic equipment, and if the equipment temperature is less than or equal to the second preset temperature and/or the residual electric quantity is greater than or equal to the second preset electric quantity, keeping the electronic equipment to operate in the first hot spot mode; if the device temperature is higher than the second preset temperature and/or the residual electric quantity is lower than the second preset electric quantity, switching the first hot spot mode to a second hot spot mode, controlling the electronic device to operate in the second hot spot mode, and switching the second hot spot mode to the first hot spot mode and controlling the electronic device to operate in the first hot spot mode when the device temperature is lower than or equal to the second preset temperature or the residual electric quantity is higher than or equal to the second preset electric quantity. Therefore, after the electronic equipment determines that the application scene of the application program of the electronic equipment is the high-throughput application scene, whether the throughput of the electronic equipment needs to be reduced is judged through the equipment temperature and/or the residual electric quantity, the electronic equipment is always kept to operate in the first hotspot mode, namely the high-performance hotspot mode, the high-performance use of the application program can be guaranteed, for example, the high-speed downloading or the high-speed transmission of files can be guaranteed, the user experience is improved, meanwhile, the equipment performance is improved, the use safety of the electronic equipment is guaranteed, and the device damage caused by overhigh temperature is prevented. And after the electronic equipment can determine that the application scene of the application program of the electronic equipment is not the high-throughput application scene, a target hotspot mode can be determined according to the temperature and the residual electric quantity of the equipment, namely, the switching between the first hotspot mode and the second hotspot mode is completed, and the low-power-consumption hotspot mode can be triggered in a wider range, so that the influence on the performance of the electronic equipment caused by overhigh temperature or overhigh power consumption of the electronic equipment is avoided, and the improvement of user experience is facilitated.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, and as shown in the drawing, the electronic device includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the following steps:
responding to a hotspot function starting instruction, and starting a first hotspot mode;
determining an application program for calling the hotspot function;
selecting a target hotspot mode according to the application program, wherein the target hotspot mode at least comprises the first hotspot mode;
and controlling the electronic equipment to operate in the target hotspot mode.
It can be seen that the electronic device described in the embodiment of the present application may start the first hotspot mode in response to the hotspot function starting instruction; determining an application program for calling the hotspot function; selecting a target hotspot mode according to the application program; and controlling the electronic equipment to operate in the target hotspot mode. Therefore, the electronic equipment can dynamically select the target hotspot mode according to the currently used application program and control the electronic equipment to operate in the target hotspot mode, so that the power consumption of the electronic equipment is saved, and the user experience is improved.
Optionally, in the aspect of selecting the target hotspot mode according to the application program, the program further includes instructions for performing the following steps:
determining the equipment temperature and the residual capacity of the electronic equipment;
judging whether a preset white list comprises the application program or not;
if the preset white list does not comprise the application program, determining a first preset electric quantity and a first preset temperature corresponding to the electronic equipment, and determining the target hotspot mode according to the first preset electric quantity, the first preset temperature, the equipment temperature and the residual electric quantity;
if the preset white list comprises the application program, determining a second preset electric quantity and a second preset temperature corresponding to the electronic equipment, and determining the target hotspot mode according to the second preset electric quantity and the second preset temperature, the equipment temperature and the residual electric quantity.
Optionally, in the aspect of determining the target hotspot pattern according to the first preset power amount, the first preset temperature, the device temperature, and the remaining power amount, the program further includes instructions for executing the following steps:
if the equipment temperature is less than or equal to the first preset temperature and/or the residual electric quantity is greater than or equal to the first preset electric quantity, keeping the electronic equipment to operate in the first hotspot mode;
if the device temperature is greater than the first preset temperature and/or the remaining power is less than the first preset power, reducing the throughput of the electronic device, keeping the electronic device operating in the first hot spot mode, and keeping the electronic device operating in the current throughput and the first hot spot mode when the device temperature is less than or equal to the first preset temperature or the remaining power is greater than or equal to the first preset power.
Optionally, in the aspect of determining the target hotspot pattern according to the second preset electric quantity and the second preset temperature, the device temperature, and the remaining electric quantity, the program further includes instructions for executing the following steps:
if the equipment temperature is less than or equal to the second preset temperature and/or the residual electric quantity is greater than or equal to the second preset electric quantity, keeping the electronic equipment to operate in the first hotspot mode;
if the device temperature is higher than the second preset temperature and/or the residual electric quantity is lower than the second preset electric quantity, switching the first hot spot mode to a second hot spot mode, controlling the electronic device to operate in the second hot spot mode, and switching the second hot spot mode to the first hot spot mode and controlling the electronic device to operate in the first hot spot mode when the device temperature is lower than or equal to the second preset temperature or the residual electric quantity is higher than or equal to the second preset electric quantity.
Optionally, before the reducing the throughput of the electronic device, the program further includes instructions for performing the following steps:
determining current network environment characteristics;
and predicting the throughput corresponding to the electronic equipment under the current network environment according to the current network environment characteristics.
Optionally, in terms of the reducing the throughput of the electronic device, the program further includes instructions for performing the following steps:
determining a target throughput adjustment strategy corresponding to the throughput according to a mapping relation between preset throughput and the throughput adjustment strategy;
determining a target step length corresponding to the target throughput adjustment strategy according to a mapping relation between a preset throughput adjustment strategy and a preset step length;
and gradually reducing the throughput of the electronic equipment by taking the target step length as a reference.
Optionally, in the aspect of gradually reducing the throughput of the electronic device based on the target step size, the program further includes instructions for performing the following steps:
determining the data volume required to be sent by the application program in the first hotspot mode;
calculating the difference between the throughput and the target step length to obtain a target throughput;
determining target time required for sending the data volume in the first hotspot mode according to the target throughput;
and controlling the electronic equipment to transmit the data volume in the target time.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In the case of dividing each functional module with corresponding functions, fig. 8 shows a schematic diagram of a device control apparatus, and as shown in fig. 8, the device control apparatus 800 is applied to an electronic device, and the device control apparatus 800 may include: an activation unit 801, a calling unit 802, a selection unit 803, and a control unit 804, wherein,
the activation unit 801 may be used to support the electronic device to perform the above step S401, and/or other processes for the techniques described herein.
The invoking unit 802 may be used to support the electronic device to perform step S402 described above, and/or other processes for the techniques described herein.
The selection unit 803 may be used to enable the electronic device to perform step S403 described above, and/or other processes for the techniques described herein.
The control unit 804 may be used to support the electronic device in performing step S404 described above, and/or other processes for the techniques described herein.
It can be seen that the device control apparatus provided in the embodiment of the present application may start the first hotspot mode in response to the hotspot function starting instruction; determining an application program for calling the hotspot function; selecting a target hotspot mode according to the application program; and controlling the electronic equipment to operate in the target hotspot mode. Therefore, the electronic equipment can dynamically select the target hotspot mode according to the currently used application program and control the electronic equipment to operate in the target hotspot mode, so that the power consumption of the electronic equipment is saved, and the user experience is improved.
Optionally, in the aspect of selecting the target hotspot mode according to the application program, the selecting unit 803 may be specifically configured to:
determining the equipment temperature and the residual capacity of the electronic equipment;
judging whether a preset white list comprises the application program or not;
if the preset white list does not comprise the application program, determining a first preset electric quantity and a first preset temperature corresponding to the electronic equipment, and determining the target hotspot mode according to the first preset electric quantity, the first preset temperature, the equipment temperature and the residual electric quantity;
if the preset white list comprises the application program, determining a second preset electric quantity and a second preset temperature corresponding to the electronic equipment, and determining the target hotspot mode according to the second preset electric quantity and the second preset temperature, the equipment temperature and the residual electric quantity.
Optionally, in the aspect of determining the target hotspot mode according to the first preset electric quantity, the first preset temperature, the device temperature, and the remaining electric quantity, the selecting unit 803 may be specifically configured to:
if the equipment temperature is less than or equal to the first preset temperature and/or the residual electric quantity is greater than or equal to the first preset electric quantity, keeping the electronic equipment to operate in the first hotspot mode;
if the device temperature is greater than the first preset temperature and/or the remaining power is less than the first preset power, reducing the throughput of the electronic device, keeping the electronic device operating in the first hot spot mode, and keeping the electronic device operating in the current throughput and the first hot spot mode when the device temperature is less than or equal to the first preset temperature or the remaining power is greater than or equal to the first preset power.
Optionally, in the aspect of determining the target hotspot mode according to the second preset electric quantity and the second preset temperature, the device temperature, and the remaining electric quantity, the selecting unit 803 may be specifically configured to:
if the equipment temperature is less than or equal to the second preset temperature and/or the residual electric quantity is greater than or equal to the second preset electric quantity, keeping the electronic equipment to operate in the first hotspot mode;
if the device temperature is higher than the second preset temperature and/or the residual electric quantity is lower than the second preset electric quantity, switching the first hot spot mode to a second hot spot mode, controlling the electronic device to operate in the second hot spot mode, and switching the second hot spot mode to the first hot spot mode and controlling the electronic device to operate in the first hot spot mode when the device temperature is lower than or equal to the second preset temperature or the residual electric quantity is higher than or equal to the second preset electric quantity.
Optionally, in terms of reducing the throughput of the electronic device, the selecting unit 803 may be specifically configured to:
determining a target throughput adjustment strategy corresponding to the throughput according to a mapping relation between preset throughput and the throughput adjustment strategy;
determining a target step length corresponding to the target throughput adjustment strategy according to a mapping relation between a preset throughput adjustment strategy and a preset step length;
and gradually reducing the throughput of the electronic equipment by taking the target step length as a reference.
Optionally, in terms of gradually reducing the throughput of the electronic device with the target step as a reference, the selecting unit 803 may be specifically configured to:
determining the data volume required to be sent by the application program in the first hotspot mode;
calculating the difference between the throughput and the target step length to obtain a target throughput;
determining target time required for sending the data volume in the first hotspot mode according to the target throughput;
and controlling the electronic equipment to transmit the data volume in the target time.
It should be noted that all relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
The electronic device provided by the embodiment is used for executing the device control method, so that the same effect as the implementation method can be achieved.
In case an integrated unit is employed, the electronic device may comprise a processing module, a storage module and a communication module. The processing module may be configured to control and manage actions of the electronic device, and for example, may be configured to support the electronic device to execute steps executed by the activation unit 801, the call unit 802, the selection unit 803, and the control unit 804. The memory module may be used to support the electronic device in executing stored program codes and data, etc. The communication module can be used for supporting the communication between the electronic equipment and other equipment.
The processing module may be a processor or a controller. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., a combination of one or more microprocessors, a Digital Signal Processing (DSP) and a microprocessor, or the like. The storage module may be a memory. The communication module may specifically be a radio frequency circuit, a bluetooth chip, a Wi-Fi chip, or other devices that interact with other electronic devices.
In an embodiment, when the processing module is a processor and the storage module is a memory, the electronic device according to this embodiment may be a device having the structure shown in fig. 1.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, 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 application.

Claims (12)

1. A device control method applied to an electronic device, the method comprising:
responding to a hotspot function starting instruction, and starting a first hotspot mode;
determining an application program for calling the hotspot function;
selecting a target hotspot mode according to the application program, wherein the target hotspot mode at least comprises the first hotspot mode;
and controlling the electronic equipment to operate in the target hotspot mode.
2. The method of claim 1, wherein selecting a target hotspot pattern according to the application comprises:
determining the equipment temperature and the residual capacity of the electronic equipment;
judging whether a preset white list comprises the application program or not;
if the preset white list does not comprise the application program, determining a first preset electric quantity and a first preset temperature corresponding to the electronic equipment, and determining the target hotspot mode according to the first preset electric quantity, the first preset temperature, the equipment temperature and the residual electric quantity;
if the preset white list comprises the application program, determining a second preset electric quantity and a second preset temperature corresponding to the electronic equipment, and determining the target hotspot mode according to the second preset electric quantity and the second preset temperature, the equipment temperature and the residual electric quantity.
3. The method of claim 2, wherein the determining the target hotspot pattern according to the first preset power, the first preset temperature, the device temperature and the remaining power comprises:
if the equipment temperature is less than or equal to the first preset temperature and/or the residual electric quantity is greater than or equal to the first preset electric quantity, keeping the electronic equipment to operate in the first hotspot mode;
if the device temperature is greater than the first preset temperature and/or the remaining power is less than the first preset power, reducing the throughput of the electronic device, keeping the electronic device operating in the first hot spot mode, and keeping the electronic device operating in the current throughput and the first hot spot mode when the device temperature is less than or equal to the first preset temperature or the remaining power is greater than or equal to the first preset power.
4. The method of claim 2, wherein determining the target hotspot pattern according to the second preset power and the second preset temperature, the device temperature, and the remaining power comprises:
if the equipment temperature is less than or equal to the second preset temperature and/or the residual electric quantity is greater than or equal to the second preset electric quantity, keeping the electronic equipment to operate in the first hotspot mode;
if the device temperature is higher than the second preset temperature and/or the residual electric quantity is lower than the second preset electric quantity, switching the first hot spot mode to a second hot spot mode, controlling the electronic device to operate in the second hot spot mode, and switching the second hot spot mode to the first hot spot mode and controlling the electronic device to operate in the first hot spot mode when the device temperature is lower than or equal to the second preset temperature or the residual electric quantity is higher than or equal to the second preset electric quantity.
5. The method of claim 3, wherein prior to the reducing the throughput of the electronic device, the method further comprises:
determining current network environment characteristics;
and predicting the throughput corresponding to the electronic equipment under the current network environment according to the current network environment characteristics.
6. The method of claim 3, wherein the reducing the throughput of the electronic device comprises:
determining a target throughput adjustment strategy corresponding to the throughput according to a mapping relation between preset throughput and the throughput adjustment strategy;
determining a target step length corresponding to the target throughput adjustment strategy according to a mapping relation between a preset throughput adjustment strategy and a preset step length;
and gradually reducing the throughput of the electronic equipment by taking the target step length as a reference.
7. The method of claim 5, wherein the step-wise decreasing the throughput of the electronic device based on the target step size comprises:
determining the data volume required to be sent by the application program in the first hotspot mode;
calculating the difference between the throughput and the target step length to obtain a target throughput;
determining target time required for sending the data volume in the first hotspot mode according to the target throughput;
and controlling the electronic equipment to transmit the data volume in the target time.
8. The method of claim 1, wherein the application comprises an application loaded in the electronic device; alternatively, the first and second electrodes may be,
the application program comprises other electronic equipment for receiving the data sent by the electronic equipment.
9. An apparatus control device, characterized in that the device is applied to an electronic apparatus, the device comprising:
a starting unit, a calling unit, a selecting unit and a control unit, wherein,
the starting unit is used for responding to a hotspot function starting instruction and starting a first hotspot mode;
the calling unit is used for determining an application program for calling the hotspot function;
the selecting unit is configured to select a target hotspot mode according to the application program, where the target hotspot mode at least includes the first hotspot mode;
the control unit is used for controlling the electronic equipment to operate in the target hotspot mode.
10. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-8.
11. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-8.
12. A computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform the method as described in any one of claims 1-8.
CN202111449011.4A 2021-11-30 2021-11-30 Equipment control method and related product Pending CN114173401A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111449011.4A CN114173401A (en) 2021-11-30 2021-11-30 Equipment control method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111449011.4A CN114173401A (en) 2021-11-30 2021-11-30 Equipment control method and related product

Publications (1)

Publication Number Publication Date
CN114173401A true CN114173401A (en) 2022-03-11

Family

ID=80482035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111449011.4A Pending CN114173401A (en) 2021-11-30 2021-11-30 Equipment control method and related product

Country Status (1)

Country Link
CN (1) CN114173401A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219739A (en) * 2013-05-30 2014-12-17 华为终端有限公司 Communication rate adjusting method and wireless hotspot
CN105676992A (en) * 2015-12-29 2016-06-15 北京金山安全软件有限公司 Method and device for saving electric quantity and electronic equipment
CN106658623A (en) * 2016-09-14 2017-05-10 广东欧珀移动通信有限公司 Hotspot network switching method and terminal equipment
CN109039415A (en) * 2018-08-22 2018-12-18 珠海格力电器股份有限公司 WIFI hot spot channel pattern switching method and WIFI hot spot generation device
CN111107614A (en) * 2018-10-26 2020-05-05 中兴通讯股份有限公司 Terminal device control method and device and terminal device readable storage medium
CN111866779A (en) * 2020-07-13 2020-10-30 Oppo广东移动通信有限公司 Configuration method and device of hotspot mode, electronic equipment and storage medium
CN112291833A (en) * 2019-07-23 2021-01-29 华为技术有限公司 Equipment control method, system and related device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219739A (en) * 2013-05-30 2014-12-17 华为终端有限公司 Communication rate adjusting method and wireless hotspot
CN105676992A (en) * 2015-12-29 2016-06-15 北京金山安全软件有限公司 Method and device for saving electric quantity and electronic equipment
CN106658623A (en) * 2016-09-14 2017-05-10 广东欧珀移动通信有限公司 Hotspot network switching method and terminal equipment
WO2018049971A1 (en) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 Hotspot network switching method and terminals
CN109039415A (en) * 2018-08-22 2018-12-18 珠海格力电器股份有限公司 WIFI hot spot channel pattern switching method and WIFI hot spot generation device
CN111107614A (en) * 2018-10-26 2020-05-05 中兴通讯股份有限公司 Terminal device control method and device and terminal device readable storage medium
CN112291833A (en) * 2019-07-23 2021-01-29 华为技术有限公司 Equipment control method, system and related device
CN111866779A (en) * 2020-07-13 2020-10-30 Oppo广东移动通信有限公司 Configuration method and device of hotspot mode, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN114397978B (en) Application display method and electronic equipment
CN112269527B (en) Application interface generation method and related device
CN111182614B (en) Method and device for establishing network connection and electronic equipment
CN111555825B (en) Radio frequency resource allocation method and device
CN112598594A (en) Color consistency correction method and related device
CN113115460B (en) Time slot selection method and related equipment
CN113115439A (en) Positioning method and related equipment
CN110806926A (en) Resource control method and equipment
CN111553846A (en) Super-resolution processing method and device
CN111835530A (en) Group joining method and device
CN111953627A (en) Method and device for detecting SSB serial number
CN114422686A (en) Parameter adjusting method and related device
CN111880661A (en) Gesture recognition method and device
CN111381996A (en) Memory exception handling method and device
CN113781959B (en) Interface processing method and device
CN115390738A (en) Scroll screen opening and closing method and related product
CN114173401A (en) Equipment control method and related product
CN111581119B (en) Page recovery method and device
CN114915996A (en) Communication exception handling method and related device
CN113676238A (en) Method for determining angle of arrival and related product
CN111953452A (en) Method and device for detecting SSB serial number
CN112770002B (en) Heartbeat control method and electronic equipment
WO2022188511A1 (en) Voice assistant wake-up method and apparatus
CN114744691A (en) Wireless charging method, device and system
CN113542315A (en) Communication framework, service event processing method and device

Legal Events

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