WO2021057565A1 - 处理方法及移动设备 - Google Patents

处理方法及移动设备 Download PDF

Info

Publication number
WO2021057565A1
WO2021057565A1 PCT/CN2020/115505 CN2020115505W WO2021057565A1 WO 2021057565 A1 WO2021057565 A1 WO 2021057565A1 CN 2020115505 W CN2020115505 W CN 2020115505W WO 2021057565 A1 WO2021057565 A1 WO 2021057565A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
device configuration
interface
mobile device
configuration items
Prior art date
Application number
PCT/CN2020/115505
Other languages
English (en)
French (fr)
Inventor
谢冰
胡慧锋
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021057565A1 publication Critical patent/WO2021057565A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • 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
    • 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
    • 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
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • This application relates to the field of terminal technology, and in particular to a processing method and mobile equipment.
  • the current existing solution is to use the periodic sleep mechanism during the standby process, the screen is turned off regularly, and the power saving mode is set during the manufacturing process or use process of the mobile device.
  • the power saving mode the screen brightness is reduced and the sleep time is longer. , So as to achieve the purpose of reducing the power consumption of mobile devices.
  • the above solutions are usually finalized after the product design is completed, and the mobile device can control its own power consumption based on the user's selection of the working mode, and the mobile device cannot realize the intelligent control of the device.
  • the present application provides a processing method and a mobile device, which can adjust the parameters of one or more devices in the mobile device according to the interactive interface of the current application program of the mobile device, so as to realize energy-saving control of the devices, thereby reducing the power consumption of the mobile device.
  • the present application provides a processing method, which is applied to a mobile device, and the interactive interface of at least one application program is displayed on the display of the mobile device.
  • the above processing method includes: the mobile device obtains the interactive interface corresponding to the at least one application program
  • the identification includes at least one of the following: the identification of the interactive interface or the identification of the application; the mobile device determines the device configuration item corresponding to the identification according to the above-mentioned identification and the parameter configuration file, and adjusts one or more of the mobile devices according to the device configuration item
  • the above-mentioned parameter configuration file is obtained from a cloud server matched by the mobile device, and the parameter configuration file is determined by the cloud server.
  • the mobile device can learn the application and/or interactive interface opened by the user according to the identifier corresponding to the interactive interface of the current application.
  • the mobile device determines the device configuration items according to the type of the application and/or the type of the interactive interface.
  • the device configuration item controls the device of one or more devices, such as turning on or off a device, adjusting the working parameters of a device, etc.
  • the above solution realizes energy-saving control of the device, minimizes the power consumption of the mobile device, and improves the endurance and processing performance of the mobile device.
  • the device includes at least one of the following: a Wi-Fi module, a Bluetooth module, an NFC module, an infrared module, a modem, a speaker, a positioning module, or a display.
  • acquiring the identifier corresponding to the interactive interface of the at least one application by the mobile device includes: acquiring the identifier corresponding to the interactive interface of the at least one application through an activity management service.
  • the mobile device enables scan interception for one or more devices according to device configuration items, including: when it is determined that the mobile device is stationary, triggering the activation of scan interception for one or more devices according to the device configuration items .
  • the one or more devices mentioned above include a Wi-Fi module, a Bluetooth module, a Near Field Communication (NFC) module, an infrared module, or a modem.
  • a Wi-Fi module a Wi-Fi module
  • a Bluetooth module a Near Field Communication (NFC) module
  • NFC Near Field Communication
  • an infrared module or a modem.
  • the above device configuration items are related to the current motion state of the mobile device. If the mobile device is currently stationary, the mobile device can trigger scanning and interception of one or more devices. Scanning interception means that the mobile device does not send out network search signals. Or, do not send out Wi-Fi scan signals, or do not send out Bluetooth scan signals, or do not send out NFC scan signals, or do not send out infrared scan signals, etc. For example, no network signal search is performed when the mobile device is in a stationary state.
  • the static state here can be understood as the mobile device is in a static state relative to a fixed object on the ground (such as a base station, a signal tower, etc.).
  • this solution takes into account the current motion state of the mobile device.
  • the mobile device can adjust the working mode of the Wi-Fi module, Bluetooth module, NFC module, infrared module, or modem. For example, shutting down the device, reducing the device startup cycle (low power consumption mode), etc., so as to further reduce the power consumption of the mobile device and improve the standby capability of the mobile device.
  • the mobile device adjusts the parameters of one or more devices according to the device configuration items, including:
  • One or more devices include speakers, positioning modules, Wi-Fi modules, Bluetooth modules, modems, or, displays.
  • speakers include Dolby devices (dolby), smart power amplifiers (smartpa), etc.
  • positioning modules include global positioning system (gps) modules
  • displays include liquid crystal displays (lcd) and so on.
  • the device configuration items of the speaker may include one or more of the following: power off the Dolby device, power off the smartpa device, and adjust the Equalizer (EQ) gear position.
  • the device configuration item of the positioning module can include GPS positioning and change to network positioning.
  • the device configuration item of the LCD may include dynamic backlight control. It can be seen that the device configuration items of the present application are used to reduce the power consumption of each device of the mobile device.
  • the mobile device adjusts the parameters of one or more devices according to the device configuration items and enables scan interception for one or more devices according to the device configuration items, including: adjusting one or more devices according to the device configuration items Device parameters, one or more of the above devices include speakers, positioning modules, Wi-Fi modules, Bluetooth modules, modems, or, displays; and
  • the one or more devices mentioned above include Wi-Fi module, Bluetooth module, NFC module, infrared module, or modem.
  • the mobile device not only considers the current interactive interface of the application program, but also considers the current motion state of the mobile device.
  • the device control of the mobile device is more refined, and the effect of reducing power consumption is better.
  • the above-mentioned device is a Wi-Fi module
  • the parameters of one or more devices are adjusted according to the device configuration items, including: adjusting the parameters of the Wi-Fi module through the wireless Internet service according to the device configuration items;
  • the above-mentioned device For the modem, adjust the parameters of one or more devices according to the device configuration items, including: adjust the parameters of the modem through the wireless Internet service according to the device configuration items;
  • the above-mentioned device is a speaker, and the parameter of one or more devices is adjusted according to the device configuration item, including: adjusting the parameter of the speaker through the audio system service according to the device configuration item;
  • the above-mentioned device is a positioning module, and the parameters of one or more devices are adjusted according to the device configuration items, including: adjusting the parameters of the positioning module through the location management service according to the device configuration items;
  • the above-mentioned device is a display, and the parameters of one or more devices are adjusted according to the device configuration items, including: adjusting the parameters of the display through the display engine service according to the device configuration items;
  • the above-mentioned device is a Bluetooth module, and adjusting the parameters of one or more devices according to the device configuration items includes: adjusting the parameters of the Bluetooth module through the Bluetooth management service according to the device configuration items.
  • this application provides a processing device, including: an event and device data collection module, a configuration management service (Config Manager Service, CMS) configuration reading module, and a scheduling decision module.
  • a configuration management service Config Manager Service, CMS
  • the event and device data collection module is used to obtain an identifier corresponding to the interactive interface of at least one application program, and the identifier includes at least one of the following: the identifier of the interactive interface or the identifier of the application program;
  • the CMS configuration reading module is used to determine the device configuration items corresponding to the identifier according to the identifier and the parameter configuration file.
  • the parameter configuration file is obtained from the cloud server matched by the mobile device, and the parameter configuration file is determined by the cloud server;
  • the scheduling decision module is used to adjust the parameters of one or more devices according to the device configuration items and/or enable scanning interception for one or more devices according to the device configuration items.
  • the device includes at least one of the following: a Wi-Fi module, a Bluetooth module, an NFC module, an infrared module, a modem, a speaker, a positioning module, or a display.
  • the event and device data collection module is specifically configured to obtain the identification corresponding to the interactive interface of at least one application program through the activity management service.
  • the scheduling decision module is specifically configured to trigger the activation of scan interception for one or more devices according to the device configuration item when it is determined that the mobile device is stationary.
  • the scheduling decision module is specifically used to adjust the parameters of one or more devices according to the device configuration items.
  • One or more devices include speakers, positioning modules, Wi-Fi modules, Bluetooth modules, and modems. Or, the display.
  • the scheduling decision module is specifically used to enable scanning and interception for one or more devices according to the device configuration items.
  • One or more devices include Wi-Fi modules, Bluetooth modules, NFC modules, and infrared modules. , Or, modem.
  • the scheduling decision module is specifically used to adjust the parameters of one or more devices according to the device configuration items.
  • One or more devices include speakers, positioning modules, Wi-Fi modules, Bluetooth modules, and modems. Or, the display; and
  • One or more devices include Wi-Fi module, Bluetooth module, NFC module, infrared module, or modem.
  • the device is a Wi-Fi module, and the scheduling decision module is specifically used to adjust the parameters of the Wi-Fi module through wireless Internet services according to device configuration items;
  • the device is a modem, and the scheduling decision module is specifically used for The parameters of the modem are adjusted through the wireless Internet service according to the device configuration items;
  • the device is a speaker, and the scheduling decision module is specifically used to adjust the parameters of the speaker through the audio system service according to the device configuration item;
  • the device is the positioning module and the scheduling decision module, which is specifically used according to The device configuration item adjusts the parameters of the positioning module through the location management service;
  • the device is a display, and the scheduling decision module is specifically used to adjust the parameters of the display through the display engine service according to the device configuration item;
  • the device is a Bluetooth module, and the scheduling decision module is specifically used according to The device configuration item adjusts the parameters of the Bluetooth module through the Bluetooth management service.
  • this application provides a mobile device, including: a display screen, the display screen including a display and a touch device; one or more processors; one or more memories; one or more sensors;
  • the memory stores one or more application programs and one or more programs, where one or more programs include instructions.
  • the instructions When the instructions are executed by a mobile device, the mobile device executes any one of the application programs described in the first aspect of the present application. Approach.
  • the present application provides a computer-readable storage medium with instructions stored in the computer-readable storage medium.
  • the instructions run on a mobile device, the mobile device executes any of the instructions described in the first aspect of the present application. Approach.
  • the present application provides a computer program product containing instructions, which when the computer program product runs on a mobile device, causes the mobile device to execute the processing method described in any one of the first aspect of the present application.
  • the present application provides a processing method and a mobile device.
  • the identification corresponding to the interactive interface of at least one application currently on the mobile device is obtained.
  • the identification includes at least one of the following: the identification of the interactive interface or the identification of the application, according to the identification and parameters
  • the configuration file determines the device configuration item corresponding to the identifier, where the parameter configuration file is obtained from the cloud server matched by the mobile device, and the mobile device adjusts the parameters of one or more devices according to the device configuration item corresponding to the identifier, and/or according to
  • the device configuration item corresponding to the motion state of the mobile device enables scanning and interception of one or more devices, thereby realizing energy-saving control of the device, minimizing the power consumption of the mobile device, and improving the endurance and processing performance of the mobile device.
  • FIG. 1A is a schematic diagram of a usage scenario of a single-screen mobile phone provided by an embodiment of the application
  • FIG. 1B is a schematic diagram of a usage scenario of a single-screen mobile phone provided by an embodiment of the application
  • FIG. 1C is a schematic diagram of a usage scenario of a single-screen mobile phone provided by an embodiment of the application
  • FIG. 1D is a schematic diagram of a usage scenario of a single-screen mobile phone provided by an embodiment of the application
  • FIG. 2A is a schematic diagram of a usage scenario of a folding mobile phone provided by an embodiment of the application
  • 2B is a schematic diagram of a usage scenario of a folding mobile phone provided by an embodiment of the application.
  • 2C is a schematic diagram of a usage scenario of a folding mobile phone provided by an embodiment of the application.
  • 2D is a schematic diagram of a usage scenario of a folding mobile phone provided by an embodiment of the application.
  • FIG. 3 is a schematic diagram of the hardware structure of a mobile phone provided by an embodiment of the application.
  • 4A is a schematic diagram of the software structure of a mobile phone provided by an embodiment of the application.
  • 4B is a schematic diagram of data flow inside the Android operating system provided by an embodiment of the application.
  • FIG. 5 is a schematic flowchart of a processing method provided by an embodiment of this application.
  • FIG. 6 is a schematic flowchart of a processing method provided by another embodiment of this application.
  • FIG. 7 is a schematic diagram of logical judgment of a scheduling decision module in a mobile device according to an embodiment of the application.
  • FIG. 8 is a schematic flowchart of a processing method provided by still another embodiment of this application.
  • FIG. 9 is a schematic diagram of a picture classification model of a cloud server provided by an embodiment of the application.
  • FIG. 10 is a schematic structural diagram of a processing device provided by an embodiment of this application.
  • FIG. 11 is a schematic structural diagram of a mobile device provided by an embodiment of this application.
  • the purpose of the embodiments of the present application is to perform energy-saving control on the devices in the mobile device according to the currently opened application or interactive interface or the current motion state of the mobile device, so as to minimize the power consumption of the mobile device.
  • this application provides a processing method for mobile devices, which can be applied to mobile phones, tablet computers, notebook computers, ultra-mobile personal computers (UMPC), handheld computers, netbooks, and personal digital computers.
  • PDAs Personal digital assistants
  • wearable devices wearable devices
  • virtual reality devices virtual reality devices
  • other mobile devices with display screens can also be applied to mobile devices with flexible screens such as folding phones, tablets, and laptops.
  • the method is characterized in that the mobile device can respond to changes in the interactive interface of at least one application of the mobile device, such as starting, closing, switching of the application, or switching of the internal interface of a certain application or the interface between different applications
  • the mobile device determines the device configuration item corresponding to the identity according to the identity and parameter configuration file corresponding to the interactive interface of at least one application, and adjusts the parameters and/or parameters of one or more devices of the mobile device according to the device configuration items. Scanning and intercepting one or more devices, realizing automatic control of devices in mobile devices according to application categories or interactive interface categories, while meeting user needs, minimizing the power consumption of mobile devices and improving the overall battery life of mobile devices Capacity and processing performance.
  • Figures 1A to 1D take a single-screen mobile phone as an example of a mobile device.
  • the current interactive interface of the mobile phone is the chat interface of social applications.
  • the user uses gesture control to call the display interface of multiple applications running in the background, and selects to enter the navigation application from the display interface.
  • the mobile phone can learn that the interactive interface displayed on the display has changed.
  • the identification corresponding to the interactive interface currently displayed on the display such as the identification of the navigation interface, query the parameter configuration file and obtain the device configuration items corresponding to the navigation interface. Adjust the parameters of one or more devices of the mobile phone.
  • the current interactive interface of the mobile phone is the chat interface of social applications.
  • the mobile phone can learn that the interactive interface displayed on the display has changed.
  • the logo corresponding to the new interactive interface such as the logo of the video playback interface, query parameter configuration files, and obtain the device configuration items corresponding to the video playback interface, such as dynamic backlight control and equalizer gear adjustment, so as to adjust the parameters of the corresponding device of the mobile phone.
  • the mobile phone acquires the identifier corresponding to the interface currently displayed on the display of the mobile phone.
  • the mobile phone can also acquire the identifier of the application corresponding to the interface currently displayed on the display of the mobile phone. .
  • Multiple interfaces may also be displayed on the screen of the above-mentioned single-screen mobile phone.
  • two or more interactive interfaces are displayed on the display interface of a mobile phone at the same time. There is no overlap between the interactive interfaces (ie split-screen display).
  • the current display interface of the mobile phone includes two interactive interfaces, interactive interface 1 and interactive Interface 2.
  • the mobile phone can determine the device configuration items according to the interface and parameter configuration file of the current user operation.
  • the user currently clicks on the interactive interface 1, and then the mobile phone responds to the current operation and configures the device according to the identification and parameter configuration of the interactive interface 1.
  • the file determines the device configuration items corresponding to the interactive interface 1.
  • the mobile phone can also determine the device configuration items according to the opening sequence of the interactive interface. For example, the user first opens the interactive interface 1 and then opens the interactive interface 2. The mobile phone determines the device configuration items corresponding to the interactive interface 2 according to the identification of the interactive interface 2 and the parameter configuration file .
  • the display interface of a mobile phone displays more than two interactive interfaces, and there is overlap between the interactive interfaces (ie, multi-interface display). As shown in Figure 1D, the current display interface of the mobile phone includes two superimposed interactive interfaces, and the interactive interface 1 is located at the bottom layer. , Interactive interface 2 is located on the upper level. The mobile phone can determine the device configuration items according to the interface priority.
  • the interface priority is set to: upper interactive interface> lower interactive interface, as shown in Figure 1D, the priority of interactive interface 2 is higher than that of interactive interface 1, and the mobile phone is based on interactive interface 2.
  • the identification and parameter configuration files determine the device configuration items corresponding to the interactive interface 2.
  • the mobile phone can also follow the default interaction interface (such as interaction interface 1 in FIG. 1C, or interaction interface 2 in FIG. 1D) and the device configuration items corresponding to the default interaction interface determined by the parameter configuration file. Any restrictions.
  • the mobile phone acquires the identifier corresponding to at least one interaction interface currently displayed on the display of the mobile phone.
  • the mobile phone can also acquire at least one interaction currently displayed on the display of the mobile phone.
  • FIG. 2A to 2D take a foldable mobile phone with a flexible screen as an example of a mobile device.
  • the current physical form of the mobile phone is in an expanded state
  • the flexible screen can be regarded as a display screen
  • the display interface of the current screen is a video playback interface.
  • the folding mobile phone is no different from the above single-screen mobile phone, except for the screen display area.
  • the flexible screen includes a first screen and a second screen.
  • the first screen displays a certain application interface, such as the WeChat chat interface
  • the second screen displays another Application program interface, such as the video playback interface of Douyin.
  • the mobile phone can determine the configuration items according to the identification and parameter configuration file of the interactive interface of the screen currently operated by the user, and then adjust the parameters and parameters of one or more devices according to the device configuration items. / Or enable scanning and interception of one or more devices according to the device configuration items.
  • the device configuration items are determined according to the video playback interface identifier and the parameter configuration file, and the device configuration items are determined according to the device configuration item.
  • the configuration item adjusts the parameters of one or more devices of the mobile phone and/or enables scanning and interception of one or more devices according to the device configuration items.
  • the current user operates the second screen video playback interface, and the corresponding device configuration items are Equalizer gear adjustment.
  • the mobile phone obtains the identifier corresponding to at least one interaction interface currently displayed on the display of the mobile phone.
  • the mobile phone may also obtain at least one interaction currently displayed on the display of the mobile phone.
  • the ID of the application corresponding to the interface.
  • folding mobile phones Similar to single-screen mobile phones, folding mobile phones also have multiple interface displays.
  • a single screen (such as the above-mentioned first screen or second screen) or a whole flexible screen of a folding mobile phone can display more than two interactive interfaces at the same time.
  • the folding mobile phone is in an unfolded state, and three interactive interfaces are simultaneously displayed on the entire flexible screen.
  • the mobile phone can determine the device configuration items corresponding to the interactive interface 2 according to the interface (interaction interface 2) currently operated by the user and the parameter configuration file.
  • the mobile phone can also determine the device configuration items according to the opening sequence of the three interactive interfaces.
  • the folding mobile phone is in an unfolded state, and two interactive interfaces are displayed on the entire flexible screen.
  • the mobile phone can also determine the device configuration items according to the interface priority (for example, upper interface priority>lower interface priority), as shown in Figure 2D
  • the interactive interface 2 is an upper-level interface
  • the mobile phone can determine the device configuration items corresponding to the interactive interface 2 according to the identification of the interactive interface 2 and the parameter configuration file.
  • the mobile phone can also determine the device configuration items corresponding to the default interactive interface according to the default interactive interface (for example, interactive interface 2 in Figure 2C, or interactive interface 2 in Figure 1D) and parameter configuration files. limit.
  • the mobile phone acquires the identifier corresponding to at least one interaction interface currently displayed on the display of the mobile phone.
  • the mobile phone can also acquire at least one interaction currently displayed on the display of the mobile phone.
  • the ID of the application corresponding to the interface.
  • the mobile phone executes the device configuration item corresponding to the video playback interface, and the device configuration item can be dynamic backlight Control, equalizer gear adjustment; if multiple interfaces are displayed on the screen of the above-mentioned single-screen mobile phone or folding mobile phone, one of the interfaces is a video playback interface, and the mobile phone determines to execute the device configuration items corresponding to the video playback interface, the video playback interface
  • the corresponding device configuration item can be equalizer gear adjustment, but does not include dynamic backlight control.
  • the flexible screen is not limited to the split screen situation of the above two screens, and the flexible screen can also be divided into two or more screens (for example, folded twice, divided into three screens) to display different interfaces according to actual needs.
  • This embodiment does not impose any restriction on this.
  • the mobile phone can determine the device configuration items with the application or interface opened on the screen currently operated by the user.
  • Figure 3 shows a schematic diagram of the hardware structure of the mobile phone.
  • the mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, Radio frequency module 150, communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 301, and user identification module (subscriber identification module, SIM) card interface 195, etc.
  • a processor 110 an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, Radio frequency module 150, communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193,
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the mobile phone 100.
  • the mobile phone 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait.
  • AP application processor
  • modem processor modem processor
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller may be the nerve center and command center of the mobile phone 100.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that the processor 110 has just used or used cyclically. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transceiver (universal asynchronous) interface.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transceiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB Universal Serial Bus
  • the I2C interface is a bidirectional synchronous serial bus, which includes a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may include multiple sets of I2C buses.
  • the processor 110 may couple the touch sensor 180K, the charger, the flash, the camera 193, etc., respectively through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to realize the touch function of the mobile phone 100.
  • the I2S interface can be used for audio communication.
  • the processor 110 may include multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170.
  • the audio module 170 may transmit audio signals to the communication module 160 through an I2S interface, so as to realize the function of answering a call through a Bluetooth headset.
  • the PCM interface can also be used for audio communication to sample, quantize and encode analog signals.
  • the audio module 170 and the communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 may also transmit audio signals to the communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both I2S interface and PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • the UART interface is generally used to connect the processor 110 and the communication module 160.
  • the processor 110 communicates with the Bluetooth module in the communication module 160 through the UART interface to realize the Bluetooth function.
  • the audio module 170 may transmit audio signals to the communication module 160 through a UART interface, so as to realize the function of playing music through a Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with the display screen 301, the camera 193 and other peripheral devices.
  • the MIPI interface includes a camera serial interface (camera serial interface, CSI), a display serial interface (display serial interface, DSI), and so on.
  • the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the mobile phone 100.
  • the processor 110 and the display screen 301 communicate through a DSI interface to realize the display function of the mobile phone 100.
  • the GPIO interface can be configured through software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface may be used to connect the processor 110 and the camera 193, the display screen 301, the communication module 160, the audio module 170, the sensor module 180, and so on.
  • the GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
  • the USB interface 130 can be used to connect a charger to charge the mobile phone 100, and can also be used to transfer data between the mobile phone 100 and peripheral devices. It can also be used to connect headphones and play audio through the headphones. This interface can also be used to connect to other electronic devices, such as AR devices.
  • the interface connection relationship between the modules illustrated in the embodiment of the present application is merely a schematic description, and does not constitute a structural limitation of the mobile phone 100.
  • the mobile phone 100 may also adopt different interface connection modes in the above-mentioned embodiments, or a combination of multiple interface connection modes.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
  • the charging management module 140 may receive the wireless charging input through the wireless charging coil of the mobile phone 100. While the charging management module 140 charges the battery 142, it can also supply power to the mobile device through the power management module 141.
  • 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 charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 301, the camera 193, and the communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the mobile phone 100 can be implemented by the antenna 1, the antenna 2, the radio frequency module 150, the communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the mobile phone 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the radio frequency module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied on the mobile phone 100.
  • the radio frequency module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like.
  • the radio frequency module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modem processor for demodulation.
  • the radio frequency module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation by the antenna 1.
  • at least part of the functional modules of the radio frequency module 150 may be provided in the processor 110.
  • at least part of the functional modules of the radio frequency module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor.
  • the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 301.
  • the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be provided in the same device as the radio frequency module 150 or other functional modules.
  • the communication module 160 can provide applications on the mobile phone 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), and global navigation satellite systems ( Global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS Global navigation satellite system
  • frequency modulation frequency modulation
  • FM near field communication technology
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the communication module 160 may be one or more devices integrating at least one communication processing module.
  • the communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the communication module 160 may also receive the signal to be sent from the processor 110, perform frequency modulation, amplify, and convert it into electromagnetic waves to radiate through the antenna 2.
  • the antenna 1 of the mobile phone 100 is coupled with the radio frequency module 150, and the antenna 2 is coupled with the communication module 160, so that the mobile phone 100 can communicate with the network and other devices through wireless communication technology.
  • Wireless communication technologies can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), and broadband code division. Multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM , And/or IR technology, etc.
  • GSM global system for mobile communications
  • GPRS general packet radio service
  • CDMA code division multiple access
  • CDMA broadband code division. Multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM , And/or IR technology, etc.
  • GNSS can include global positioning system (GPS
  • the mobile phone 100 implements a display function through a GPU, a display screen 301, and an application processor.
  • the GPU is a microprocessor for image processing, connected to the display screen 301 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, which execute program instructions to generate or change display information.
  • the display screen 301 may include a display and a touch device.
  • the display is used to output display content to the user, and the touch device is used to receive the touch event input by the user on the display screen 301.
  • the touch device can be divided into resistive, capacitive, and capacitive, depending on the sensing principle. (Surface Acoustic Wave) and Optical (Optics), etc.
  • the touch device can detect the user's touch data on the display screen.
  • the touch data includes the operation time of the touch operation, touch position, pressing force, operation duration, operation type, etc.
  • the above-mentioned software system of the mobile phone 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture.
  • the embodiment of the present application takes an Android system with a layered architecture as an example to illustrate the software structure of the mobile phone 100 by way of example.
  • FIG. 4A is a block diagram of the software structure of the mobile phone 100 according to an embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface.
  • the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
  • the application layer can include a series of application packages.
  • applications such as camera, gallery, calendar, call, map, navigation, Bluetooth, music, video, short message, etc. can be installed in the application layer.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer can include input management service (Input Manager Service), activity management service (Activity Manager Service), intelligent perception recognition module (iAware perception recognition module), audio system (Audio System), display engine (Display Engine), wireless Internet service (Wi-Fi Service), location management (Location Manager), Bluetooth management service (Bluetooth Manager Service).
  • the application framework layer may also include a window manager, a content provider, an activity manager, a view system, a phone manager, a resource manager, a notification manager, etc. The embodiment of the present application does not impose any limitation on this.
  • the input management service can be used to receive the detection data reported by the touch screen driver, and forward the detection data to the activity management service.
  • the activity management service can be used to determine whether the interactive interface of at least one application program has changed according to the detection data. If there is a change, the activity management service reports the trigger event to the intelligent perception recognition module.
  • the intelligent perception recognition module can be used to obtain the activityname corresponding to the trigger event from the activity management service, and determine the device configuration item corresponding to the activityname according to the activityname and the parameter configuration file.
  • the parameter configuration file is obtained from the cloud server matched by the mobile device.
  • the parameter configuration is determined by the cloud server.
  • a mobile phone when a mobile phone detects a trigger event that a user clicks to enter a short video application, it obtains the activityname corresponding to the trigger event.
  • the mobile phone can determine the device configuration item according to the activityname and parameter configuration file.
  • the device configuration item is LCD dynamic backlight Control, the mobile phone adjusts the LCD display parameters according to the device configuration items.
  • the system library and kernel layer below the application framework layer can be referred to as the underlying system.
  • the system library of the underlying system includes AudioFlinger (AF for short) for providing audio services, and status monitoring services.
  • AF as the audio hub in the Android system, is also a system service, which plays the role of connecting (providing an access interface for the upper layer) and starting the next (managing audio devices through HAL).
  • the status monitoring service can be used to identify the current motion status of the mobile phone.
  • the sensor service can be called to start the acceleration sensor for detection.
  • the status monitoring service can determine whether the current motion status of the mobile phone is stationary or in motion based on the motion data reported by the acceleration sensor. .
  • the status monitoring service can report the determined current motion status of the mobile phone to the activity management service.
  • the system library may also include a surface manager (SurfaceFlinger), a two-dimensional/three-dimensional graphics processing library, a media library, etc., which are not limited in the embodiment of the present application.
  • the kernel layer of the underlying system is the layer between hardware and software.
  • the kernel layer includes display driver, audio driver, positioning driver, Wi-Fi driver, modem driver, touch screen driver (TP driver), sensor driver, Bluetooth driver, etc. This application The embodiment does not impose any limitation on this.
  • Android runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of Android.
  • the application layer and the application framework layer run in a virtual machine.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • FIG. 4B shows a schematic diagram of the data flow inside the Android operating system.
  • the touch device at the hardware layer can report the detected data to the input management service through the touch screen driver, the input management service forwards the detected data to the activity management service, and the activity management service can be determined based on the data reported by the touch device Whether a trigger event has occurred, if it is determined that a trigger event has occurred, the activity management service sends the trigger event to the intelligent perception recognition module, and the intelligent perception recognition module obtains the identification corresponding to the interactive interface of at least one application that triggered the event in response to the trigger event, Determine the device configuration items for one or more devices in the hardware layer according to the identification and parameter configuration files, adjust the parameters of one or more devices according to the device configuration items, and/or enable scan interception for one or more devices according to the device configuration items .
  • One or more devices in the hardware layer are turned on, turned off, or adjusted operating parameters under the control of the corresponding driver at the kernel layer.
  • the intelligent perception recognition module obtains the identification corresponding to the interactive interface of at least one application that triggered the event, and determines the device configuration item quantity according to the identification and the parameter configuration file as: lcd dynamic backlight control, and the intelligent perception identification module displays
  • the engine sends control instructions, and the display engine sends dynamic adjustment parameters to the LCD to the display driver according to the control instructions, thereby realizing dynamic backlight control of the LCD.
  • the intelligent perception recognition module in the embodiment of the present application is in the system_server process, so that the processing process (scheduling) is faster and more timely.
  • FIG. 5 is a schematic flowchart of a processing method provided by an embodiment of the application. As shown in Figure 5, the method provided in this embodiment includes:
  • Step 101 The mobile device obtains an identifier corresponding to an interactive interface of at least one application program, and the identifier includes at least one of the following: an identifier of the interactive interface or an identifier of the application program.
  • the mobile device can detect a change in the interactive interface of at least one application through the touch device. Specifically, after the touch device of the mobile device detects the user's touch operation on the screen, it sends detection data to the touch screen driver, the touch screen driver reports the detection data to the input management service of the application framework layer, and the input management service to the activity management service The detection data is forwarded, and the activity management service determines whether the interactive interface of at least one application program has changed according to the detection data. If the interactive interface of at least one application of the mobile phone changes, the activity management service sends a trigger event that the interactive interface of the application changes to the intelligent perception recognition module.
  • the trigger event for the change of the interactive interface of the application program may include: switching between different applications; switching from the main interface to a certain application; switching from a certain application to the main interface.
  • the user clicks on an application icon on the screen to enter the application.
  • the user uses a shortcut gesture operation to call the application selection interface, and multiple background motion applications are superimposed on the interface.
  • the user clicks on the application from the current application A.
  • Switch to application B and for example, the user jumps out of the current application by clicking the exit button and returns to the main interface.
  • the mobile device can obtain the identification of the application and determine which application is currently opened.
  • the trigger event for the change of the interactive interface of the application program may also include: interface switching within the same application program, or interface switching between different applications.
  • the chat interface of a social application is switched to the video interface
  • another example is that the chat interface of a social application is switched to the navigation interface of a navigation application
  • the chat interface of a certain social application is switched to another social application.
  • the chat interface of the program The mobile device does not need to care about which application is currently opened, that is, it does not need to obtain the identity of the application, and only cares about the interface of the current interactive interface, that is, to obtain the identity of the current interactive interface.
  • the smart perception recognition module of the mobile device can obtain the interaction interface corresponding to at least one application program from the activity management service after receiving the trigger event that the interaction interface of the application program sent by the activity management service changes.
  • the identification which can be the identification of the interactive interface, or the identification of the application, or the identification of the interactive interface and the identification of the application.
  • the intelligent perception recognition module of the mobile device can also detect the current motion state of the mobile device through the acceleration sensor after receiving the trigger event that the interactive interface of the application program is changed sent by the activity management service.
  • the acceleration sensor of the mobile device sends motion data to the sensor driver, the sensor driver reports the motion data to the state monitoring service of the system library through the sensor service, and the state monitoring service determines the current motion state of the mobile device based on the motion data.
  • the current motion state of the mobile device includes: motion state and static state.
  • the motion state here means that the mobile device is in a motion state relative to a fixed object on the ground (such as a base station, a signal tower, etc.).
  • the static state means that the mobile device is in a static state relative to a fixed object on the ground (such as a base station, a signal tower, etc.).
  • the mobile device can determine the corresponding device configuration item based on the current motion state of the mobile device and the acquired identification corresponding to the interactive interface of at least one application program. For details, refer to the following steps.
  • Step 102 The mobile device determines the device configuration item corresponding to the identifier according to the identifier and the parameter configuration file.
  • the parameter configuration file is obtained from the cloud server matched by the mobile device, and the parameter configuration file is determined by the cloud server.
  • the mobile device in response to a detected trigger event that the interactive interface of the application program changes, obtains the identifier corresponding to the interactive interface of at least one application program, and determines the corresponding identification by querying the parameter configuration file pre-stored in the mobile device. Identifies the corresponding device configuration item.
  • the device configuration items include turning on, turning off, and adjusting operating parameters of different devices in the mobile device.
  • the cloud server in this application refers to a server developed by a mobile device provider.
  • the cloud server will regularly update and deliver the latest parameter configuration file. Users can choose to automatically or manually download the latest parameter configuration file to the mobile device according to their own needs.
  • the parameter configuration file obtained by the mobile device from the cloud server may include one or more of the following mapping relationships:
  • the activity management service of the mobile device can report the trigger event to the intelligent perception recognition module of the mobile device after determining that the above-mentioned trigger event exists.
  • the intelligent perception recognition module of the mobile device includes:
  • CMS full English name: Config Manager Service, Chinese translation: configuration management service
  • the event and device data collection module is used to obtain the identification of at least one application program and/or the identification of at least one interactive interface from the activity management service after receiving the above-mentioned trigger event, and combine the identification and/or identification of at least one application program from the activity management service. Or the identification of at least one interactive interface is sent to the CMS configuration reading module.
  • the CMS configuration reading module is used to query the device configuration item corresponding to the identifier of the application from the parameter configuration file, or query the device configuration item corresponding to the identifier of the interactive interface from the parameter configuration file. After determining the device configuration items, the CMS configuration reading module is also used to issue the queried device configuration items to the scheduling decision module.
  • the scheduling decision module is used to send control instructions to the corresponding device according to the received device configuration items.
  • the event and device data collection module is also used to obtain the current movement state of the mobile device from the state monitoring service after receiving the above-mentioned trigger event, and send the movement state to the CMS configuration reading module.
  • the CMS configuration reading module is also used to query the device configuration item corresponding to the motion state from the parameter configuration file, and after determining the device configuration item, send the device configuration item to the scheduling decision module.
  • the scheduling decision module is also used to send control instructions to the corresponding device according to the device configuration item corresponding to the motion state.
  • parameter configuration file includes several mapping relationships, which can realize the intelligent control of one or more devices in the mobile device in different application dimensions, or different interface dimensions, or different motion state dimensions. Limit the power consumption of mobile devices.
  • the interface of WeChat application includes chat interface, video playback interface, navigation interface, etc.
  • the device control of the interface dimension is compared with the device control of the application dimension.
  • the diversified interface of the application has been refined, so the control effect is better.
  • Step 103 The mobile device adjusts parameters of one or more devices according to the device configuration items and/or enables scanning and interception of one or more devices according to the device configuration items.
  • the device that receives the control instruction of the scheduling decision module includes at least one of the following:
  • Wi-Fi module Wi-Fi module, Bluetooth module, NFC module, infrared module, modem modem, speaker (spk for short), positioning module, or display.
  • the speaker includes a Dolby device and a smart power amplifier.
  • the positioning module includes a global positioning system module.
  • the display includes a liquid crystal display.
  • the mobile device can adjust the parameters of one or more devices according to the device configuration items.
  • One or more devices include a speaker, a positioning module, a Wi-Fi module, a Bluetooth module, a modem, or a display.
  • the mobile device when it is determined that the mobile device is stationary, can enable scanning and interception for one or more devices according to the device configuration items.
  • One or more devices include Wi-Fi modules, Bluetooth modules, and NFC modules. , Infrared module, or, modem.
  • the mobile device adjusts the parameters of one or more devices according to the device configuration items.
  • One or more devices include a speaker, a positioning module, a Wi-Fi module, a Bluetooth module, a modem, or a display; and , The mobile device enables scanning and interception of one or more devices according to the device configuration items.
  • One or more devices include Wi-Fi modules, Bluetooth modules, NFC modules, infrared modules, or modems.
  • the device is a Wi-Fi module, and the scheduling decision module of the mobile device adjusts the parameters of the Wi-Fi module through wireless Internet services according to the device configuration items; the device is a modem, and the scheduling decision module of the mobile device is configured according to the device configuration.
  • the parameters of the modem are adjusted through wireless Internet services;
  • the device is a speaker, and the dispatching decision module of the mobile device adjusts the parameters of the speaker according to the device configuration item and the audio system service;
  • the device is a positioning module, and the dispatching decision module of the mobile device is based on the device configuration item , Adjust the parameters of the positioning module through the location management service;
  • the device is a display, the scheduling decision module of the mobile device adjusts the parameters of the display through the display engine service according to the device configuration items;
  • the device is a Bluetooth module, and the scheduling decision module of the mobile device is based on the device Configuration items, adjust the parameters of the Bluetooth module through the Bluetooth management service.
  • Table 1 is a list of device configuration items corresponding to some devices in the mobile device.
  • scanning interception refers to not performing signal search under certain circumstances (that is, when the mobile device is in a stationary state).
  • Dynamic backlight control Content Adaptive Backlight Control, CABC
  • CABC Content Adaptive Backlight Control
  • Powering off the Dolby device/smartpa can be understood as turning off the Dolby device/smartpa.
  • the equalizer gear can be adjusted from 0 to 5 six gears. The higher the equalizer gear, the lower the power consumption, and the lower the equalizer gear, the greater the power consumption.
  • GPS positioning relies on satellites in space, and is characterized by slow response to the first positioning, but accurate positioning and not limited by the network. There are two forms of network positioning.
  • Wi-Fi cell positioning which is based on the location of the Wi-Fi router. This positioning accuracy is relatively high. However, because the range of a Wi-Fi cell is usually more than ten meters, the reliability is not High, the other is base station positioning. This type of positioning has high reliability, but the positioning accuracy depends on the distribution density of base stations. The positioning accuracy of urban areas in developed areas is relatively high, but the distance between base stations in remote areas is relatively large, and the error will be large.
  • the mobile device when the mobile device is in a static state, in addition to scanning and intercepting the Wi-Fi module and the modem, the mobile device can also scan and intercept the Bluetooth module, the NFC module, and the infrared module (not shown in Table 1).
  • the mobile device detects that the user starts application A, which is a navigation application, and the device configuration item corresponding to the navigation application is for the speaker Perform energy-saving control with the display.
  • the specific energy-saving control is: Dolby device power-off, LCD dynamic backlight control, and equalizer gear adjustment.
  • the mobile device After determining the device configuration items, the mobile device performs corresponding energy-saving control on the speaker and display in the mobile device.
  • the mobile device detects that the user has switched from the chat interface of application A to the video interface, that is, the interface type has changed.
  • the mobile device performs corresponding energy-saving control on the speaker in the mobile device on the basis of the original energy-saving control. For another example, the mobile device detects that it has switched from a motion state to a static state, and performs corresponding energy-saving control on the Wi-Fi module and modem in the mobile device, that is, scanning and intercepting.
  • the processing method provided by the embodiments of the present application obtains the identifier corresponding to the interactive interface of at least one application currently on the mobile device, and the identifier includes at least one of the following: the identifier of the interactive interface or the identifier of the application, based on the identifier and the parameter configuration file , Determine the device configuration item corresponding to the identifier, where the parameter configuration file is obtained from the cloud server matched by the mobile device, and the mobile device adjusts the parameters of one or more devices according to the device configuration item corresponding to the identifier, and/or, according to the mobile device
  • the device configuration item corresponding to the motion state enables scanning and interception of one or more devices, thereby realizing energy-saving control of the device, minimizing the power consumption of the mobile device, and improving the endurance and processing performance of the mobile device.
  • FIG. 6 is a schematic flowchart of a processing method provided by another embodiment of this application
  • FIG. 7 is a schematic diagram of logic judgment of a scheduling decision module in a mobile device according to an embodiment of this application.
  • the method provided in this embodiment includes:
  • Step 201 The mobile device obtains an identifier of at least one application program.
  • step 201 includes: acquiring the identifier of the application program currently on the display screen. If the display screen of the mobile device is a flexible screen, the flexible screen includes a first screen and a second screen, where the types of applications displayed on the first screen and the second screen are different, in this case step 201 includes: the mobile device obtains the first screen And the identification of the application on the second screen, that is, the identification of the two applications.
  • the display screen of the mobile device can also display more than two application programs on a split screen or multiple interfaces, and this embodiment does not impose any limitation on this.
  • Step 202 The mobile device determines a device configuration item corresponding to the identification of the at least one application program according to the identification of the at least one application program and the parameter configuration file.
  • Step 203 The mobile device adjusts the parameters of one or more devices according to the device configuration item corresponding to the identifier of the at least one application program and/or enables scanning interception for one or more devices according to the device configuration item.
  • the device configuration item corresponding to the screen or interface on which the mobile device performs the current user operation that is, the device configuration item corresponding to the identifier of the application program performing the current user operation.
  • the mobile device obtains the parameter configuration file from the cloud server in advance.
  • the parameter configuration file in this embodiment includes the identification of the application, the mapping relationship between the application type and the device configuration items.
  • Table 2 shows application types and device configuration items corresponding to different applications.
  • Application type Device configuration items Gaode Map navigation Dolby device power off, dynamic backlight control, equalizer gear adjustment Baidu map navigation Dolby device power off, dynamic backlight control, equalizer gear adjustment
  • both Gaode Maps and Baidu Maps in Table 2 are navigation applications and correspond to the same device configuration items. Different types of applications usually correspond to different device configuration items.
  • the number of controlled devices can be one or more.
  • AutoNavi Maps or Baidu Maps are navigation applications. If the user opens a navigation application on a mobile device, the mobile device obtains the device configuration items corresponding to the navigation application from the parameter configuration file and executes the navigation application Energy-saving control of the device corresponding to the program.
  • both Douyin and Kuaishou belong to video applications. If the user starts a video application on a mobile device, the mobile device obtains the device configuration items corresponding to the video application from the parameter configuration file and executes the video application Energy-saving control of corresponding devices.
  • the above application types include but are not limited to navigation, video, news, social, taxi, music, etc.
  • the event and device data collection module in the intelligent perception recognition module of the mobile device obtains the activityname from the activity management service, and the identification of the currently started application can be obtained from the activityname, and the CMS configuration in the intelligent perception recognition module is read
  • the module obtains the identification of the application, it queries the application type corresponding to the identification of the application from the parameter configuration file, and determines the device configuration item according to the application type.
  • the CMS configuration reading module issues the queried device configuration items to the scheduling decision module.
  • the scheduling decision module sends control instructions to the corresponding devices.
  • the activityname obtained by the event and device data collection module from the activity management service can be expressed as:
  • the mobile device can learn from the activityname that the identity of the current application is the identity "didi" of Didi.
  • the above parameter configuration file includes the following configuration information:
  • activityname com.sdu.didi.psnger/com.didi.app.MainActivity; type: navigation; control: 10001
  • the CMS configuration reading module determines that the application type corresponding to the application identifier is navigation (navigation) according to the application identifier "didi", thereby determining that the bit corresponding to the device configuration item corresponding to the application identifier is "10001" .
  • the scheduling decision module in the intelligent perception recognition module sends a control instruction to the corresponding device according to the bit "10001" corresponding to the received device configuration item, and the scheduling decision module can determine the device to be controlled according to Table 3.
  • Table 3 shows the device configuration items of different devices and the corresponding bits of the device configuration items.
  • FIG. 7 shows a schematic diagram of the logic judgment of the scheduling decision module in the mobile device.
  • the scheduling decision module in the mobile device can determine the value of each bit corresponding to the device configuration item according to the logic of FIG. 7 to determine the device to be controlled. Exemplarily, when the scheduling decision module determines that the bit corresponding to the device configuration item is 10001, according to Table 3, it can be determined that the devices to be controlled include spk and lcd.
  • the scheduling decision module sends control instructions to the audio drive of the control spk and the display drive of the LCD to realize the adjustment of the equalizer gear of the spk and the dynamic backlight control of the LCD.
  • the processing method provided by the embodiments of the present application obtains the identifier of at least one application program, determines the application program type corresponding to the application program identifier by querying the parameter configuration file, and determines the corresponding device configuration item according to the application program type, thereby adjusting the corresponding one. Or multiple device parameters to realize energy-saving control of the device.
  • the above method classifies applications on mobile devices, and uses the same device configuration items for the same type of applications, so that users can execute the corresponding device configuration items when opening a certain type of application, and reduce the power consumption of the mobile device. Improve battery life standby capability and processing performance.
  • FIG. 8 is a schematic flowchart of a processing method provided by still another embodiment of this application.
  • FIG. 9 is a schematic diagram of a picture classification model of a cloud server provided by an embodiment of the application.
  • the method provided in this embodiment includes:
  • Step 301 The mobile device obtains an identifier of at least one interactive interface.
  • step 301 includes: acquiring the identifier of the interactive interface on the current display screen. If the display screen of the mobile device is a flexible screen, the flexible screen includes a first screen and a second screen, where the interactive interface types displayed on the first screen and the second screen are different. In this case, step 301 includes: obtaining the first screen and the second screen. The identification of the interactive interface on the second screen includes the identification of the two interactive interfaces.
  • the display screen of the mobile device may also display more than two interactive interfaces on a split screen or multiple interfaces, and this embodiment does not impose any limitation on this.
  • Step 302 The mobile device determines a device configuration item corresponding to the identifier of the at least one interactive interface according to the identifier of the at least one interactive interface and the parameter configuration file.
  • Step 303 The mobile device adjusts parameters of one or more devices according to the device configuration item corresponding to the identifier of the at least one interactive interface, and/or enables scanning and interception of one or more devices according to the device configuration item.
  • the mobile device can execute the device configuration item corresponding to the screen or interface of the current user operation, that is, the device configuration item corresponding to the identification of the interactive interface performing the current user operation.
  • the device configuration item corresponding to the identification of the interactive interface performing the current user operation.
  • the mobile device obtains the parameter configuration file from the cloud server in advance.
  • the parameter configuration file in this embodiment includes the identification of the interactive interface, the mapping relationship between the interface type and the device configuration items.
  • Table 4 shows interface types and device configuration items corresponding to different applications.
  • the device configuration items corresponding to the video interface of Douyin in Table 4 are dynamic backlight control, equalizer gear adjustment, and the device corresponding to the reading interface of Douyin.
  • the configuration item is changed from gps positioning to network positioning.
  • different types of applications may include the same type of interface, and the same type of interface can correspond to the same device configuration items.
  • the navigation application Gaode map and the taxi-hailing application Didi in Table 4 both include navigation interfaces.
  • the above-mentioned interface types include, but are not limited to, video interface, music interface, chat interface, reading interface, navigation interface, game interface, etc.
  • the event and device data collection module in the smart perception recognition module of the mobile device obtains the activityname from the activity management service, and the identification of the interactive interface currently started can be obtained from the activityname, and the CMS configuration in the smart perception recognition module is read
  • the module obtains the identifier of the interactive interface, it queries the interface type corresponding to the identifier of the interactive interface from the parameter configuration file, and determines the device configuration item according to the interface type.
  • the CMS configuration reading module issues the queried device configuration items to the scheduling decision module.
  • the scheduling decision module sends control instructions to the corresponding devices.
  • the principle of judging and executing the control instruction by the scheduling decision module is the same as that of the embodiment in FIG.
  • this embodiment determines the interface type corresponding to the identifier of the interactive interface by querying the parameter configuration file, and performs device management and control in the interface dimension, regardless of which application is opened, and has nothing to do with the type of application. Since the same application program actually includes multiple types of interfaces, the method provided in this embodiment realizes the fine control of the multiple interfaces of the application program, which can further reduce the power consumption of the mobile device, and improve the battery life standby capability and processing performance.
  • the parameter configuration file obtained by the mobile device from the cloud server in this embodiment includes activityname, interface type, and device configuration items corresponding to the interface type.
  • a cloud server matching the mobile device can set a picture classification model, as shown in Figure 9, the picture classification model is obtained by using a convolutional neural network (CNN) structure and training a large number of image samples collected by developers.
  • the input of the picture classification model is an image
  • the output is the classification label of the image.
  • the input image can be images of different types of interfaces in different applications, such as the chat interface and video playback interface in WeChat. Navigation interface, query interface, etc.
  • the classification label of the image is used to indicate the interface type of the image, such as navigation interface, reading interface, chat interface, video playback interface, music playback interface, etc.
  • the cloud server may associate the identification of the interactive interface in the activityname with the interface type, and the device configuration items corresponding to the interface type to generate the parameter configuration file in this embodiment.
  • the technical solution provided in this embodiment starts from the perspective of application diversification.
  • the parameter configuration file is upgraded on the cloud server, and the upgraded parameter configuration file can be used for fine control of the multiple interfaces of the application by the mobile device.
  • the parameter configuration file only controls the device for the application type, and the user switches different interfaces in the same application, and the device control of the mobile device remains unchanged.
  • the technical solution provided in this embodiment if the user switches the interface in the same application, the mobile device will perform more refined control according to the interface change.
  • the technical solution provided in this embodiment can also be applied to different applications. Switching between interfaces can achieve the purpose of further reducing the power consumption of the mobile device, and improving the battery life standby capability and processing performance of the mobile device.
  • Table 5 shows a table of power consumption gains after some application programs perform corresponding device management and control under different interfaces.
  • FIG. 10 is a schematic structural diagram of a processing device provided by an embodiment of this application. As shown in FIG. 10, an embodiment of the present application provides a processing device, which includes an event and device data collection module 401, a CMS configuration reading module 402, and a scheduling decision module 403.
  • a processing device which includes an event and device data collection module 401, a CMS configuration reading module 402, and a scheduling decision module 403.
  • the event and device data collection module 401 is configured to obtain an identification corresponding to an interactive interface of at least one application program, and the identification includes at least one of the following: an identification of the interactive interface or an identification of the application;
  • the CMS configuration reading module 402 is used to determine the device configuration item corresponding to the identifier according to the identifier and the parameter configuration file, the parameter configuration file is obtained from the cloud server matched by the mobile device, and the parameter configuration file is determined by the cloud server;
  • the scheduling decision module 403 is configured to adjust the parameters of one or more devices according to the device configuration items and/or enable scanning interception for one or more devices according to the device configuration items.
  • the device includes at least one of the following: a Wi-Fi module, a Bluetooth module, an NFC module, an infrared module, a modem, a speaker, a positioning module, or a display.
  • the event and device data collection module 401 is specifically configured to obtain an identifier corresponding to an interactive interface of at least one application program through an activity management service.
  • the scheduling decision module 403 is specifically configured to trigger the activation of scanning interception for one or more devices according to the device configuration item when it is determined that the mobile device is stationary.
  • the scheduling decision module 403 is specifically used to adjust the parameters of one or more devices according to the device configuration items.
  • One or more devices include speakers, positioning modules, Wi-Fi modules, Bluetooth modules, and modems. , Or, display.
  • the scheduling decision module 403 is specifically used to enable scanning and interception of one or more devices according to the device configuration items.
  • One or more devices include Wi-Fi modules, Bluetooth modules, NFC modules, and infrared Module, or, modem.
  • the scheduling decision module 403 is specifically used to adjust the parameters of one or more devices according to the device configuration items.
  • One or more devices include speakers, positioning modules, Wi-Fi modules, Bluetooth modules, and modems. , Or, display; and
  • One or more devices include Wi-Fi module, Bluetooth module, NFC module, infrared module, or modem.
  • the device is a Wi-Fi module, and the scheduling decision module 403 is specifically used to adjust the parameters of the Wi-Fi module through wireless Internet services according to device configuration items;
  • the device is a modem, and the scheduling decision module 403 is specifically It is used to adjust the parameters of the modem through wireless Internet services according to the device configuration items;
  • the device is a speaker, and the scheduling decision module 403 is specifically used to adjust the parameters of the speaker through the audio system service according to the device configuration items;
  • the device is a positioning module, and the scheduling decision module 403, It is specifically used to adjust the parameters of the positioning module through the location management service according to the device configuration items;
  • the device is a display, and the scheduling decision module 403 is specifically used to adjust the parameters of the display through the display engine service according to the device configuration items;
  • the device is a Bluetooth module and the scheduling decision module 403, specifically configured to adjust the parameters of the Bluetooth module through the Bluetooth management service according to the device configuration items.
  • the processing device provided in the embodiment of the present application can execute the technical solution in any of the foregoing method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
  • the embodiment of the present application provides a mobile device including a processor, and a memory, an input device, and an output device connected to the processor.
  • the input device and the output device can be integrated into one device.
  • the touch device of the display screen can be used as the input device
  • the display of the display screen can be used as the output device.
  • the above-mentioned mobile device may include: a display screen 501, which includes a touch device 506 and a display 507; one or more processors 502; one or more memories 503; one or more A sensor 508; one or more application programs (not shown); and one or more programs 504.
  • the above-mentioned devices may be connected through one or more communication buses 505.
  • the one or more programs 504 are stored in the aforementioned memory 503 and configured to be executed by the one or more processors 502, and the one or more programs 504 include instructions, and the aforementioned instructions can be used to execute the aforementioned method embodiments.
  • the above-mentioned processor 502 may specifically be the processor 110 shown in FIG. 3, the above-mentioned memory 503 may specifically be the internal memory 121 and/or the external memory 120 shown in FIG. 3, and the above-mentioned display screen 501 may specifically be as shown in FIG. As shown in the display screen 301, the display screen 501 may be a flexible screen.
  • the above-mentioned sensor 508 may specifically be a gyroscope sensor 180B, an acceleration sensor 180E, and a proximity light sensor 180G in the sensor module 180 shown in FIG. 3, and may also be one or more of an infrared sensor, a Hall sensor, etc. The embodiment of the present application There are no restrictions on this.
  • the functional units in the various embodiments of 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 may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of software products, and the computer software products are stored in a storage
  • the medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

本申请提供一种处理方法及移动设备,通过获取移动设备当前的至少一个应用程序的交互界面对应的标识,该标识包括以下至少一种:交互界面的标识或应用程序的标识,根据标识和参数配置文件,确定标识对应的器件配置项,其中参数配置文件是从移动设备匹配的云服务器上获取的,移动设备根据标识对应的器件配置项调整一个或多个器件的参数,和/或,根据器件配置项开启针对一个或多个器件的扫描拦截,从而实现对器件的节能控制,最大限度降低移动设备功耗,提升移动设备的续航能力和处理性能。

Description

处理方法及移动设备
本申请要求于2019年09月26日提交中国专利局、申请号为201910919481.9、申请名称为“处理方法及移动设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端技术领域,尤其涉及一种处理方法及移动设备。
背景技术
随着移动设备的不断发展,移动设备的业务集成度和智能化程度越来越高,移动设备的高功耗问题日益凸显。如果移动设备的功耗过高,不仅影响移动设备的续航能力,而且长时间使用移动设备,移动设备的温度会急速上升,还会影响移动设备的处理性能。因此,如何有效管理移动设备的功耗成为终端类产品研发的一个重要课题。
目前现有的方案是在移动设备的生产制造过程或者使用过程中,利用待机过程中的周期休眠机制、屏幕定时关闭、设置省电模式,在省电模式下屏幕亮度降低,休眠时间更长等,从而达到降低移动设备功耗的目的。
上述方案通常在产品设计完成后,功耗特性已经定型,移动设备可基于用户对工作模式的选择进行自身功耗控制,移动设备无法实现对器件的智能控制。
发明内容
本申请提供一种处理方法及移动设备,可根据移动设备当前的应用程序的交互界面调整移动设备中的一个或多个器件的参数,实现对器件的节能控制,从而降低移动设备功耗。
第一方面,本申请提供一种处理方法,应用于移动设备,移动设备的显示器上显示至少一个应用程序的交互界面,具体的,上述处理方法包括:移动设备获取至少一个应用程序的交互界面对应的标识,该标识包括以下至少一种:交互界面的标识或应用程序的标识;移动设备根据上述标识和参数配置文件确定标识对应的器件配置项,根据器件配置项调整移动设备中的一个或多个器件的参数和/或根据器件配置项开启针对一个或多个器件的扫描拦截。上述参数配置文件是从移动设备匹配的云服务器上获取的,参数配置文件是由云服务器确定的。
也就是说,移动设备可以根据当前应用程序的交互界面对应的标识,获知用户开启的应用程序和/或交互界面,移动设备根据应用程序的类型和/或交互界面的类型确定器件配置项,根据器件配置项对一个或多个器件的器件管控,例如开启或关闭某器件、调整某器件的工作参数等。
上述方案实现对器件的节能控制,最大限度降低移动设备功耗,提升移动设备的续航能力和处理性能。
可选的,所述器件包括以下的至少一种:Wi-Fi模块,蓝牙模块,NFC模块,红外模块,调制解调器,扬声器,定位模块,或者,显示器。
在一种可能的实现方式中,移动设备获取至少一个应用程序的交互界面对应的标识,包括:通过活动管理服务获取至少一个应用程序的交互界面对应的标识。
在一种可能的实现方式中,移动设备根据器件配置项开启针对一个或多个器件的扫描拦截,包括:确定移动设备处于静止时,触发根据器件配置项开启针对一个或多个器件的扫描拦截。
可选的,上述的一个或多个器件包括Wi-Fi模块,蓝牙模块,近距离无线通讯(Near Field Communication,NFC)模块,红外模块,或,调制解调器。
上述的器件配置项与移动设备的当前运动状态相关,如果移动设备当前处于静止状态,移动设备可触发对一个或多个器件的扫描拦截,扫描拦截是指移动设备不向外发送网络搜索信号,或者,不向外发送Wi-Fi扫描信号,或者,不向外发送蓝牙扫描信号,或者,不向外发送NFC扫描信号,或者,不向外发送红外扫描信号等。例如,在移动设备处于静止状态下不进行网络信号搜索。这里的静止状态可以理解为移动设备相对于地面固定物体(例如基站、信号塔等)处于静止状态。
由此可见,该方案考虑了移动设备当前运动状态,在移动设备处于静止状态时,移动设备可自行调整Wi-Fi模块,蓝牙模块,NFC模块,红外模块,或,调制解调器等设备的工作模式,例如关闭设备、降低设备启动周期(低功耗模式)等等,从而达到进一步降低移动设备功耗,提升移动设备的续航待机能力。
在一种可能的实现方式中,移动设备根据器件配置项调整一个或多个器件的参数,包括:
根据器件配置项调整一个或多个器件的参数,一个或多个器件包括扬声器,定位模块,Wi-Fi模块,蓝牙模块,调制解调器,或,显示器。其中,扬声器包括杜比器件(dolby)、智能功率放大器(smartpa)等,定位模块包括全球定位系统(gps)模块,显示器包括液晶显示器(lcd)等。
示例性的,如果器件为扬声器,扬声器的器件配置项可以包括以下一个或多个:杜比器件下电,smartpa器件下电,均衡器(Equalizer,EQ)档位调节。如果器件为定位模块,定位模块的器件配置项可以包括gps定位变更为网络定位。如果器件为显示器,例如lcd,lcd的器件配置项可以包括动态背光控制。由此可见,本申请的器件配置项用于降低移动设备各器件的功耗。
在一种可能的实现方式中,移动设备根据器件配置项调整一个或多个器件的参数和根据器件配置项开启针对一个或多个器件的扫描拦截,包括:根据器件配置项调整一个或多个器件的参数,上述的一个或多个器件包括扬声器,定位模块,Wi-Fi模块,蓝牙模块,调制解调器,或,显示器;且
根据器件配置项开启针对一个或多个器件的扫描拦截,上述的一个或多个器件包括Wi-Fi模块,蓝牙模块,NFC模块,红外模块,或,调制解调器。
在该实现方式中,移动设备不仅考虑了当前应用程序的交互界面的情况,还考虑了移动设备的当前运动状态,对移动设备的器件管控更加精细,降低功耗的效果更好。
在一种可能的实现方式中,上述器件为Wi-Fi模块,根据器件配置项调整一个或多个器件的参数,包括:根据器件配置项通过无线上网服务调整Wi-Fi模块的参数;上述器件为调制解调器,根据器件配置项调整一个或多个器件的参数,包括:根据器件配置项通过 无线上网服务调整调制解调器的参数;
上述器件为扬声器,根据器件配置项调整一个或多个器件的参数,包括:根据器件配置项通过音频系统服务调整扬声器的参数;
上述器件为定位模块,根据器件配置项调整一个或多个器件的参数,包括:根据器件配置项通过位置管理服务调整定位模块的参数;
上述器件为显示器,根据器件配置项调整一个或多个器件的参数,包括:根据器件配置项通过显示引擎服务调整显示器的参数;
上述器件为蓝牙模块,根据器件配置项调整一个或多个器件的参数,包括:根据器件配置项通过蓝牙管理服务调整蓝牙模块的参数。
第二方面,本申请提供一种处理装置,包括:事件与器件数据采集模块、配置管理服务(Config Manager Service,CMS)配置读取模块和调度决策模块。
事件与器件数据采集模块,用于获取至少一个应用程序的交互界面对应的标识,标识包括以下至少一种:交互界面的标识或应用程序的标识;
CMS配置读取模块,用于根据标识和参数配置文件确定标识对应的器件配置项,参数配置文件是从移动设备匹配的云服务器上获取的,参数配置文件是由云服务器确定的;
调度决策模块,用于根据器件配置项调整一个或多个器件的参数和/或根据器件配置项开启针对一个或多个器件的扫描拦截。
可选的,器件包括以下的至少一种:Wi-Fi模块,蓝牙模块,NFC模块,红外模块,调制解调器,扬声器,定位模块,或者,显示器。
在一种可能的实现方式中,事件与器件数据采集模块,具体用于通过活动管理服务获取至少一个应用程序的交互界面对应的标识。
在一种可能的实现方式中,调度决策模块,具体用于在确定移动设备处于静止时,触发根据器件配置项开启针对一个或多个器件的扫描拦截。
在一种可能的实现方式中,调度决策模块,具体用于根据器件配置项调整一个或多个器件的参数,一个或多个器件包括扬声器,定位模块,Wi-Fi模块,蓝牙模块,调制解调器,或,显示器。
在一种可能的实现方式中,调度决策模块,具体用于根据器件配置项开启针对一个或多个器件的扫描拦截,一个或多个器件包括Wi-Fi模块,蓝牙模块,NFC模块,红外模块,或,调制解调器。
在一种可能的实现方式中,调度决策模块,具体用于根据器件配置项调整一个或多个器件的参数,一个或多个器件包括扬声器,定位模块,Wi-Fi模块,蓝牙模块,调制解调器,或,显示器;且
根据器件配置项开启针对一个或多个器件的扫描拦截,一个或多个器件包括Wi-Fi模块,蓝牙模块,NFC模块,红外模块,或,调制解调器。
在一种可能的实现方式中,器件为Wi-Fi模块,调度决策模块,具体用于根据器件配置项通过无线上网服务调整Wi-Fi模块的参数;器件为调制解调器,调度决策模块,具体用于根据器件配置项通过无线上网服务调整调制解调器的参数;器件为扬声器,调度决策模块,具体用于根据器件配置项通过音频系统服务调整扬声器的参数;器件为定位模块,调度决策模块,具体用于根据器件配置项通过位置管理服务调整定位模块的参数;器件为 显示器,调度决策模块,具体用于根据器件配置项通过显示引擎服务调整显示器的参数;器件为蓝牙模块,调度决策模块,具体用于根据器件配置项通过蓝牙管理服务调整蓝牙模块的参数。
第三方面,本申请提供一种移动设备,包括:显示屏幕,显示屏幕包括显示器和触控器件;一个或多个处理器;一个或多个存储器;一个或多个传感器;
存储器存储有一个或多个应用程序以及一个或多个程序,其中一个或多个程序包括指令,当指令被移动设备执行时,使得移动设备执行如本申请第一方面中任一项所述的处理方法。
第四方面,本申请提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当指令在移动设备上运行时,使得移动设备执行如本申请第一方面任一项所述的处理方法。
第五方面,本申请提供一种包含指令的计算机程序产品,当计算机程序产品在移动设备上运行时,使得移动设备执行如本申请第一方面中任一项所述的处理方法。
本申请提供一种处理方法及移动设备,通过获取移动设备当前的至少一个应用程序的交互界面对应的标识,该标识包括以下至少一种:交互界面的标识或应用程序的标识,根据标识和参数配置文件,确定标识对应的器件配置项,其中参数配置文件是从移动设备匹配的云服务器上获取的,移动设备根据标识对应的器件配置项调整一个或多个器件的参数,和/或,根据移动设备的运动状态对应的器件配置项开启针对一个或多个器件的扫描拦截,从而实现对器件的节能控制,最大限度降低移动设备功耗,提升移动设备的续航能力和处理性能。
附图说明
图1A为本申请实施例提供的单屏手机的一种使用场景示意图;
图1B为本申请实施例提供的单屏手机的一种使用场景示意图;
图1C为本申请实施例提供的单屏手机的一种使用场景示意图;
图1D为本申请实施例提供的单屏手机的一种使用场景示意图;
图2A为本申请实施例提供的折叠手机的一种使用场景示意图;
图2B为本申请实施例提供的折叠手机的一种使用场景示意图;
图2C为本申请实施例提供的折叠手机的一种使用场景示意图;
图2D为本申请实施例提供的折叠手机的一种使用场景示意图;
图3为本申请实施例提供的手机的硬件结构示意图;
图4A为本申请实施例提供的手机的软件结构示意图;
图4B为本申请实施例提供的安卓操作系统内部的数据流向示意图;
图5为本申请一实施例提供的处理方法的流程示意图;
图6为本申请另一实施例提供的处理方法的流程示意图;
图7为本申请实施例提供的移动设备中的调度决策模块的逻辑判断示意图;
图8为本申请再一实施例提供的处理方法的流程示意图;
图9为本申请实施例提供的云服务器的图片分类模型的示意图;
图10为本申请实施例提供的一种处理装置的结构示意图;
图11为本申请实施例提供的一种移动设备的结构示意图。
具体实施方式
下面结合附图对本申请实施例的实施方式进行详细描述。
本申请实施例的目的在于根据移动设备当前开启的应用程序或者交互界面或者当前运动状态,对移动设备中的器件进行节能控制,实现最大限度降低移动设备的功耗。
为了达到技术效果,本申请提供一种移动设备的处理方法,该方法可应用于手机、平板电脑、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、手持计算机、上网本、个人数字助理(personal digital assistant,PDA)、可穿戴设备、虚拟现实设备等具有显示屏幕的移动设备中,还可应用于具有柔性屏幕的折叠手机、平板电脑、笔记本电脑等移动设备中,本申请实施例对此不做任何限制。该方法的特点在于:移动设备可响应于移动设备的至少一个应用程序的交互界面的变化,例如应用程序的启动、关闭、切换,或者某应用程序内部界面的切换或者不同应用程序之间的界面的切换等,移动设备根据至少一个应用程序的交互界面对应的标识和参数配置文件,确定与标识对应的器件配置项,并根据器件配置项调整移动设备的一个或多个器件的参数和/或针对一个或多个器件进行扫描拦截,实现根据应用程序类别或者交互界面类别对移动设备中的器件进行自动控制,在满足用户需求的同时,最大限度降低移动设备功耗,提升移动设备整体的续航能力和处理性能。
下面结合附图对本申请提供的移动设备的处理方法的使用场景进行简单介绍。
图1A至图1D以单屏手机为移动设备举例。如图1A所示,手机当前的交互界面为社交类应用的聊天界面,用户通过手势控制调取后台正在运行的多个应用程序的展示界面,从该展示界面中选择进入导航类应用,用户在完成应用程序的切换后,手机可获知显示器显示的交互界面发生变化,根据显示器当前显示的交互界面对应的标识,例如导航界面的标识,查询参数配置文件,获取导航界面对应的器件配置项,从而调整手机的一个或多个器件的参数。如图1B所示,手机当前的交互界面为社交类应用的聊天界面,用户点击聊天界面上的视频链接,界面跳转至视频播放界面,此时手机可获知显示器显示的交互界面发生变化,根据新的交互界面对应的标识,例如视频播放界面的标识,查询参数配置文件,获取视屏播放界面对应的器件配置项,例如动态背光控制、均衡器档位调节,从而调整手机相应器件的参数。应理解:上述介绍图1A和图1B的实现方案中,手机获取的是手机的显示器当前显示的界面对应的标识,可替换的,手机也可以获取手机的显示器当前显示界面对应的应用程序的标识。
上述单屏手机的屏幕上还可以显示多个界面。例如在手机的显示界面上同时显示两个以上交互界面,交互界面之间没有重叠(即分屏显示),如图1C所示,手机当前的显示界面包括两个交互界面,交互界面1和交互界面2。手机可以根据当前用户操作的界面和参数配置文件确定器件配置项,如图1C所示,用户当前在交互界面1上进行点击操作,那么手机响应于当前操作,根据交互界面1的标识和参数配置文件确定交互界面1对应的器件配置项。当然,手机还可以根据交互界面的打开顺序确定器件配置项,例如用户先打开交互界面1,再打开交互界面2,手机根据交互界面2的标识和参数配置文件确定交互界面2对应的器件配置项。又例如手机的显示界面显示两个以上交互界面,交互界面之间有重叠(即多界面显示),如图1D所示,手机当前的显示界面包括两个叠加的交互界面,交互界面1位于底层,交互界面2位于上层。手机可以按照界面优先级确定器件配置项,例 如界面优先级设置为:上层交互界面>下层交互界面,如图1D所示,交互界面2的优先级高于交互界面1,手机根据交互界面2的标识和参数配置文件确定交互界面2对应的器件配置项。当然,手机还可以按照默认交互界面(例如图1C中的交互界面1,或者图1D中的交互界面2)和参数配置文件确定的默认交互界面对应的器件配置项,对此本申请实施例不作任何限制。应理解:上述介绍图1C和图1D的实现方案中,手机获取的是手机的显示器当前显示的至少一个交互界面对应的标识,可替换的,手机也可以获取手机的显示器当前显示的至少一个交互界面对应的应用程序的标识。
图2A至图2D以具有柔性屏幕的折叠手机为移动设备举例。如图2A所示,手机当前的物理形态为展开状态,柔性屏幕可看作一个显示屏幕,当前屏幕的显示界面为视频播放界面,此时折叠手机与上述单屏手机没有区别,只是屏幕显示面积变大,用户在关闭该视频播放界面后,返回至阅读界面,手机可获取新的交互界面对应的标识,例如阅读界面的标识,从而根据阅读界面对应的器件配置项,调整手机的一个或多个器件的参数。如图2B所示,手机当前的物理形态为展开状态,柔性屏幕包括第一屏和第二屏,第一屏上展示某一应用程序界面,如微信的聊天界面,第二屏上展示另一应用程序界面,如抖音的视频播放界面,此时手机可根据用户当前操作的屏幕的交互界面的标识和参数配置文件来确定配置项,进而根据器件配置项调整一个或多个器件的参数和/或根据所述器件配置项开启针对一个或多个器件的扫描拦截,例如用户当前滑动第二屏上的视频播放界面,则根据视频播放界面的标识和参数配置文件确定器件配置项,根据器件配置项调整手机的一个或多个器件的参数和/或根据所述器件配置项开启针对一个或多个器件的扫描拦截,例如当前用户操作第二屏的视屏播放界面,对应的器件配置项为均衡器档位调节。应理解:上述介绍图2A和图2B的实现方案中,手机获取的是手机的显示器当前显示的至少一个交互界面对应的标识,可替换的,手机也可以获取手机的显示器当前显示的至少一个交互界面对应的应用程序的标识。
与单屏手机类似,折叠手机也存在多界面显示的情况,折叠手机的单个屏幕(例如上述第一屏或第二屏)或一整块柔性屏幕上可以同时显示两个以上交互界面。如图2C所示,折叠手机处于展开状态,整个柔性屏幕上同时显示有三个交互界面,手机可以根据当前用户操作的界面(交互界面2)和参数配置文件确定交互界面2对应的器件配置项。手机还可以根据三个交互界面的打开顺序确定器件配置项。如图2D所示,折叠手机处于展开状态,整个柔性屏幕上显示两个交互界面,手机还可以根据界面优先级(例如上层界面优先级>下层界面优先级)确定器件配置项,例如图2D中交互界面2为上层界面,手机可以根据交互界面2的标识和参数配置文件确定交互界面2对应的器件配置项。当然,手机还可以按照默认交互界面(例如图2C中的交互界面2,或者图1D中的交互界面2)和参数配置文件确定默认交互界面对应的器件配置项,对此本申请实施例不作任何限制。应理解:上述介绍图2C和图2D的实现方案中,手机获取的是手机的显示器当前显示的至少一个交互界面对应的标识,可替换的,手机也可以获取手机的显示器当前显示的至少一个交互界面对应的应用程序的标识。
需要指出的是,如果上述的单屏手机或折叠手机的屏幕上仅显示一个界面,且该界面为视频播放界面时,手机执行视屏播放界面对应的器件配置项,该器件配置项可以是动态背光控制,均衡器档位调节;如果上述的单屏手机或折叠手机的屏幕上显示多个界面,其 中一个界面为视频播放界面,且手机确定执行视频播放界面对应的器件配置项时,视频播放界面对应的器件配置项可以是均衡器档位调节,但不包括动态背光控制。
本申请中,柔性屏幕不仅限于上述两个屏幕的分屏情况,还可以根据实际需求,将柔性屏幕划分为两个以上屏幕(例如折叠两次,划分为三个屏)进行不同界面的显示,对此本实施例不作任何限制。当手机被划分为多个屏幕显示时,手机可以以用户当前操作的屏幕开启的应用程序或者界面确定器件配置项。
无论是上述单屏手机还是具有柔性屏幕的折叠手机,都具有相同或相似的硬件结构,图3示出了手机的硬件结构示意图。
手机100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,射频模块150,通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏幕301,以及用户标识模块(subscriber identification module,SIM)卡接口195等。
可以理解的是,本申请实施例示意的结构并不构成对手机100的具体限定。在本申请另一些实施例中,手机100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
其中,控制器可以是手机100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多 组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现手机100的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。I2S接口和PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与通信模块160。例如:处理器110通过UART接口与通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏幕301,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现手机100的拍摄功能。处理器110和显示屏幕301通过DSI接口通信,实现手机100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏幕301,通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为手机100充电,也可以用于手机100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对手机100的结构限定。在本申请另一些实施例中,手机100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过手机100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为移动设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外 部存储器,显示屏幕301,摄像头193,和通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
手机100的无线通信功能可以通过天线1,天线2,射频模块150,通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。手机100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
射频模块150可以提供应用在手机100上的包括2G/3G/4G/5G等无线通信的解决方案。射频模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。射频模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。射频模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,射频模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,射频模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏幕301显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与射频模块150或其他功能模块设置在同一个器件中。
通信模块160可以提供应用在手机100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(Bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。通信模块160可以是集成至少一个通信处理模块的一个或多个器件。通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,手机100的天线1和射频模块150耦合,天线2和通信模块160耦合,使得手机100可以通过无线通信技术与网络以及其他设备通信。无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global  navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
手机100通过GPU,显示屏幕301,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏幕301和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。在本申请实施例中,显示屏幕301中可包括显示器和触控器件。显示器用于向用户输出显示内容,触控器件用于接收用户在显示屏幕301上输入的触摸事件,触控器件依感应原理的不同,可以分为电阻式(Resistive)、电容式(Capacitive)、(Surface Acoustic Wave)以及光学式(Optics)等。触控器件可以检测用户在显示屏幕上的触控数据,触控数据包括触控操作的操作时间、触控位置、按压力度、操作时长、操作类型等。
上述手机100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明手机100的软件结构。
图4A是本申请实施例的手机100的软件结构框图。
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。
应用程序层可以包括一系列应用程序包。
如图4A所示,应用程序层内可以安装相机,图库,日历,通话,地图,导航,蓝牙,音乐,视频,短信息等应用程序。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图4A所示,应用程序框架层可以包括输入管理服务(Input Manager Service)、活动管理服务(Activity Manager Service)、智能感知识别模块(iAware感知识别模块)、音频系统(Audio System)、显示引擎(Display Engine)、无线上网服务(Wi-Fi Service)、位置管理(Location Manager)、蓝牙管理服务(Bluetooth Manager Service)。当然,应用程序框架层中还可以包括窗口管理器,内容提供器,活动管理器,视图系统,电话管理器,资源管理器,通知管理器等,本申请实施例对此不作任何限制。
其中,输入管理服务可用于接收触摸屏驱动上报的检测数据,并将该检测数据转发至活动管理服务。活动管理服务可用于根据检测数据确定至少一个应用程序的交互界面是否发生变化,如果发生变化,活动管理服务向智能感知识别模块上报触发事件。智能感知识别模块可用于从活动管理服务获取触发事件对应的activityname,并根据activityname和参数配置文件确定activityname对应的器件配置项,该参数配置文件是从移动设备匹配的云服务器上获取的,参数配置文件是由云服务器确定的。例如,手机在检测到用户点击进入某短视频类应用程序的触发事件时,获取该触发事件对应的activityname,手机可以根据activityname和参数配置文件确定器件配置项,例如,器件配置项为lcd动态背光控制,手机根据该器件配置项调整lcd的显示参数。
仍如图4A所示,应用程序框架层以下的系统库和内核层等可称为底层系统。其中, 底层系统的系统库包括用于提供音频服务的AudioFlinger(简称AF)、状态监测服务。其中,AF作为Android系统中的音频中枢,它同时是一个系统服务,起到承上(为上层提供访问接口)启下(通过HAL来管理音频设备)的作用。状态监测服务可用于识别手机的当前运动状态,具体可调用传感器服务(sensor service)启动加速度传感器进行检测,状态监测服务可根据加速度传感器上报的运动数据确定手机的当前运动状态是静止状态还是运动状态。状态监测服务可将确定出的手机的当前运动状态上报给活动管理服务。当然,系统库还可以包括表面管理器(SurfaceFlinger)、二/三维图形处理库、媒体库等,本申请实施例对此不作任何限制。底层系统的内核层是硬件和软件之间的层,内核层包括显示驱动、音频驱动、定位驱动、Wi-Fi驱动、调制解调器驱动、触摸屏驱动(TP驱动)、传感器驱动、蓝牙驱动等,本申请实施例对此不作任何限制。
Android runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
与图4A类似的,图4B示出了安卓操作系统内部的数据流向示意图。示例性的,硬件层的触控器件可通过触摸屏驱动将检测到的数据上报给输入管理服务,输入管理服务向活动管理服务转发检测到的数据,活动管理服务可根据触控器件上报的数据确定是否发生触发事件,若确定发生触发事件,则活动管理服务向智能感知识别模块发送该触发事件,智能感知识别模块响应于该触发事件,获取触发事件的至少一个应用程序的交互界面对应的标识,根据标识和参数配置文件确定对硬件层中一个或多个器件的器件配置项,根据器件配置项调整一个或多个器件的参数和/或根据器件配置项开启针对一个或多个器件的扫描拦截。硬件层的一个或多个器件在内核层相应驱动的控制下开启、关闭或者调整运行参数。例如智能感知识别模块响应于触发事件,获取触发事件的至少一个应用程序的交互界面对应的标识,根据该标识和参数配置文件确定器件配置项量为:lcd动态背光控制,智能感知识别模块向显示引擎发送控制指令,显示引擎根据控制指令向显示驱动下发对lcd的动态调节参数,从而实现对lcd动态背光控制。
本申请实施例中的智能感知识别模块在system_server进程中,使得处理过程(调度)更快、更及时。
以下以手机作为移动设备举例,结合附图详细阐述本申请实施例提供的处理方法。
图5为本申请一实施例提供的处理方法的流程示意图。如图5所示,本实施例提供的方法包括:
步骤101、移动设备获取至少一个应用程序的交互界面对应的标识,标识包括以下至少一种:交互界面的标识或应用程序的标识。
移动设备可通过触控器件检测到至少一个应用程序的交互界面发生变化。具体的,移动设备的触控器件检测到用户在屏幕上的触控操作后,向触摸屏驱动发送检测数据,触摸屏驱动上报检测数据至应用程序框架层的输入管理服务,输入管理服务向活动管理服务转 发检测数据,活动管理服务根据检测数据确定至少一个应用程序的交互界面是否发生变化。若手机的至少一个应用程序的交互界面发生变化,活动管理服务向智能感知识别模块发送应用程序的交互界面发生变化的触发事件。
上述应用程序的交互界面发生变化的触发事件可以包括:不同应用程序之间的切换;由主界面切换至某一应用程序;由某一应用程序切换至主界面。例如用户点击屏幕上某应用程序图标,进入该应用程序,又例如用户通过快捷手势操作调取应用程序选择界面,该界面上叠加多个后台运动的应用程序,用户通过点击操作从当前应用程序A切换至应用程序B,再例如用户通过点击退出按钮跳出当前应用程序,返回至主界面。移动设备可以获取应用程序的标识,确定当前开启了何种应用程序。
应理解:上述应用程序的交互界面发生变化的触发事件还可以包括:同一应用程序内的界面切换,或者,不同应用程序之间的界面切换。例如社交类应用程序的聊天界面切换至视频界面,又例如社交类应用程序的聊天界面切换至导航类应用程序的导航界面,再例如某一社交类应用程序的聊天界面切换至另一社交类应用程序的聊天界面。移动设备可以不关心当前开启了何种应用程序,即无需获取应用程序的标识,只关心当前交互界面是什么界面,即获取当前交互界面的标识。
综上可知,在步骤101中,移动设备的智能感知识别模块在接收到活动管理服务发送的应用程序的交互界面发生变化的触发事件之后,可以从活动管理服务获取至少一个应用程序的交互界面对应的标识,该标识可以是交互界面的标识,或者应用程序的标识,还可以是交互界面的标识和应用程序的标识。
在一些实施例中,移动设备的智能感知识别模块在接收到活动管理服务发送的应用程序的交互界面发生变化的触发事件之后,还可以通过加速度传感器检测到移动设备的当前运动状态。
具体的,移动设备的加速度传感器向传感器驱动发送运动数据,传感器驱动通过传感器服务上报运动数据至系统库的状态监测服务,状态监测服务根据运动数据确定移动设备的当前运动状态。移动设备的当前运动状态包括:运动状态和静止状态。这里的运动状态是指移动设备相对于地面固定物体(如基站、信号塔等)处于运动状态,例如用户在一辆运行的汽车上使用手机,该手机处于运动状态。相应的,静止状态是指移动设备相对于地面固定物体(如基站、信号塔等)处于静止状态。
从而,移动设备可以基于移动设备的当前运动状态以及获取的至少一个应用程序的交互界面对应的标识,确定对应的器件配置项,具体可参见下述步骤。
步骤102、移动设备根据标识和参数配置文件确定标识对应的器件配置项。
其中,参数配置文件是从移动设备匹配的云服务器上获取的,参数配置文件是由云服务器确定的。
在本实施例中,移动设备响应于检测到的应用程序的交互界面发生变化的触发事件,获取至少一个应用程序的交互界面对应的标识,通过查询预存在移动设备中的参数配置文件,确定与标识对应的器件配置项。其中器件配置项包括对移动设备中不同器件的开启、关闭、运行参数调节等。
需要说明的是,本申请的云服务器是指移动设备提供商开发的服务器。云服务器会定期更新并下发最新的参数配置文件,用户可以根据自身需求选择自动或手动下载最新的参 数配置文件至移动设备侧。
移动设备从云服务器获取的参数配置文件中可以包括下述一种或多种映射关系:
1)应用程序的标识、应用程序类型与器件配置项的映射关系。
2)交互界面的标识、界面类型与器件配置项的映射关系。
3)运动状态与器件配置项的映射关系。
由步骤101可知,移动设备的活动管理服务在确定存在上述触发事件后,可向移动设备的智能感知识别模块上报该触发事件。如图4B所示,移动设备的智能感知识别模块包括:
事件与器件数据采集模块、CMS(英文全称:Config Manager Service,中文翻译:配置管理服务)配置读取模块以及调度决策模块。
其中,事件与器件数据采集模块,用于在接收到上述触发事件后,从活动管理服务获取至少一个应用程序的标识和/或至少一个交互界面的标识,并将至少一个应用程序的标识和/或至少一个交互界面的标识发送给CMS配置读取模块。
CMS配置读取模块,用于从参数配置文件中查询应用程序的标识对应的器件配置项,或者,从参数配置文件中查询交互界面的标识对应的器件配置项。在确定器件配置项之后,CMS配置读取模块还用于将查询到的器件配置项下发给调度决策模块。
调度决策模块,用于根据接收到的器件配置项向相应的器件发送控制指令。
可选的,事件与器件数据采集模块,还用于在接收到上述触发事件后,从状态监测服务获取当前移动设备的运动状态,并将运动状态发送给CMS配置读取模块。CMS配置读取模块,还用于从参数配置文件中查询运动状态对应的器件配置项,在确定器件配置项之后,向调度决策模块发送该器件配置项。调度决策模块还用于根据运动状态对应的器件配置项向相应的器件发送控制指令。
应理解,上述参数配置文件中包括几种映射关系,可以实现移动设备在不同应用程序维度,或者不同界面维度,或者不同运动状态维度,对移动设备中的一个或多个器件的智能控制,最大限度降低移动设备功耗。
需要说明的是,由于同一应用程序中存在多种界面类型,例如微信应用的界面包括聊天界面、视频播放界面、导航界面等,界面维度的器件管控相较于应用程序维度的器件管控,对同一应用程序的多元化界面进行了细化,因此,管控效果更佳。
步骤103、移动设备根据器件配置项调整一个或多个器件的参数和/或根据器件配置项开启对一个或多个器件的扫描拦截。
在本实施例中,接收调度决策模块的控制指令的器件包括以下的至少一种:
Wi-Fi模块,蓝牙模块,NFC模块,红外模块,调制解调器modem,扬声器(speaker,简称spk),定位模块,或,显示器。
示例性的,扬声器包括杜比器件,智能功率放大器。定位模块包括全球定位系统模块。显示器包括液晶显示器。
在一种可能的实现方式中,移动设备可以根据器件配置项调整一个或多个器件的参数,一个或多个器件包括扬声器,定位模块,Wi-Fi模块,蓝牙模块,调制解调器,或,显示器。
在一种可能的实现方式中,确定移动设备处于静止时,移动设备可以根据器件配置项 开启针对一个或多个器件的扫描拦截,一个或多个器件包括Wi-Fi模块,蓝牙模块,NFC模块,红外模块,或,调制解调器。
在一种可能的实现方式中,移动设备根据器件配置项调整一个或多个器件的参数,一个或多个器件包括扬声器,定位模块,Wi-Fi模块,蓝牙模块,调制解调器,或,显示器;且,移动设备根据器件配置项开启针对一个或多个器件的扫描拦截,一个或多个器件包括Wi-Fi模块,蓝牙模块,NFC模块,红外模块,或,调制解调器。
具体的,参见图4B,器件为Wi-Fi模块,移动设备的调度决策模块根据器件配置项,通过无线上网服务调整Wi-Fi模块的参数;器件为调制解调器,移动设备的调度决策模块根据器件配置项,通过无线上网服务调整调制解调器的参数;器件为扬声器,移动设备的调度决策模块根据器件配置项,通过音频系统服务调整扬声器的参数;器件为定位模块,移动设备的调度决策模块根据器件配置项,通过位置管理服务调整定位模块的参数;器件为显示器,移动设备的调度决策模块根据器件配置项,通过显示引擎服务调整显示器的参数;器件为蓝牙模块,移动设备的调度决策模块根据所述器件配置项,通过蓝牙管理服务调整蓝牙模块的参数。
示例性的,表1为移动设备中的部分器件对应的器件配置项列表。
表1
Figure PCTCN2020115505-appb-000001
如表1所示,扫描拦截是指在特定情况下(即移动设备处于静止状态下)不进行信号搜索。动态背光控制(Content Adaptive Backlight Control,CABC)包括背光打折(降低显示器的亮度值,人眼无法察觉到屏幕亮度的明显变化)。杜比器件/smartpa下电可以理解为关闭杜比器件/smartpa。均衡器档位调节可以设置0-5六个档位,均衡器档位越高,耗电越小,均衡器档位越低,耗电越大。gps定位依赖于太空中的卫星,特点是首次定位反应慢,但定位精确,不受网络限制。网络定位有两种形式,一种是Wi-Fi小区定位,根据Wi-Fi路由器所在位置进行定位,这种定位精度比较高,但由于一个Wi-Fi小区的范围通常是十几米,可靠性不高,另一种是基站定位,这种定位可靠性高,但定位精度依赖于基站分布密度,发达地区的城区定位精度比较高,但边远地区基站分布间距较大,误差会很大。
在一些实施例中,移动设备处于静止状态时,移动设备除了对Wi-Fi模块和调制解调器进行扫描拦截,还可以对蓝牙模块,NFC模块,红外模块进行扫描拦截(表1未示出)。
基于上述器件配置项,下面列举几个实例对步骤103进行说明:例如,移动设备检测到用户启动应用程序A,应用程序A为导航类应用程序,导航类应用程序对应的器件配置 项是对扬声器和显示器进行节能控制,具体的节能控制是:杜比器件下电、lcd动态背光控制、均衡器档位调节。移动设备在确定器件配置项后,对移动设备中的扬声器和显示器进行相应的节能控制。又例如,移动设备检测到用户由应用程序A的聊天界面切换至视频界面,即界面类型发生变化,假设聊天界面对应的器件配置项为lcd动态背光控制,视频界面对应的器件配置项为lcd动态背光控制和均衡器档位调节,则移动设备在原有节能控制的基础上,对移动设备中的扬声器进行相应的节能控制。再例如,移动设备检测到自身由运动状态切换至静止状态,则对移动设备中的Wi-Fi模块和调制解调器进行相应的节能控制,即扫描拦截。
本申请实施例提供的处理方法,通过获取移动设备当前的至少一个应用程序的交互界面对应的标识,该标识包括以下至少一种:交互界面的标识或应用程序的标识,根据标识和参数配置文件,确定标识对应的器件配置项,其中参数配置文件是从移动设备匹配的云服务器上获取的,移动设备根据标识对应的器件配置项调整一个或多个器件的参数,和/或,根据移动设备的运动状态对应的器件配置项开启针对一个或多个器件的扫描拦截,从而实现对器件的节能控制,最大限度降低移动设备功耗,提升移动设备的续航能力和处理性能。
基于上述实施例,下面以几个具体实施例对本申请提供的处理方法进行详细说明。对于相同或类似的概念或过程可能在某些实施例不再赘述。
图6为本申请另一实施例提供的处理方法的流程示意图,图7为本申请实施例提供的移动设备中的调度决策模块的逻辑判断示意图。如图6所示,本实施例提供的方法包括:
步骤201、移动设备获取至少一个应用程序的标识。
在本实施例中,如果移动设备只有一个显示屏幕,步骤201包括:获取当前显示屏幕上的应用程序的标识。如果移动设备的显示屏幕为柔性屏幕,该柔性屏幕包括第一屏和第二屏,其中第一屏和第二屏上显示的应用程序类别不同,此时步骤201包括:移动设备获取第一屏和第二屏上的应用程序的标识,即包括两个应用程序的标识。
当然,移动设备的显示屏幕还可以分屏或者多界面显示两个以上应用程序,对此本实施例不作任何限制。
步骤202、移动设备根据至少一个应用程序的标识和参数配置文件,确定至少一个应用程序的标识对应的器件配置项。
步骤203、移动设备根据至少一个应用程序的标识对应的器件配置项调整一个或多个器件的参数和/或根据器件配置项开启针对一个或多个器件的扫描拦截。
需要说明的是,在分屏或多界面显示场景,移动设备执行当前用户操作的屏幕或者界面对应的器件配置项,即执行当前用户操作的应用程序的标识对应的器件配置项。
在本实施例中,移动设备预先从云服务器获取参数配置文件,本实施例的参数配置文件包括应用程序的标识、应用程序类型与器件配置项的映射关系。
示例性的,表2示出了不同应用程序对应的应用程序类型以及器件配置项。
表2
应用程序 应用程序类型 器件配置项
高德地图 导航 杜比器件下电、动态背光控制、均衡器档位调节
百度地图 导航 杜比器件下电、动态背光控制、均衡器档位调节
抖音 视频 动态背光控制
快手 视频 动态背光控制
网易新闻 新闻 GPS定位变更为网络定位
滴滴 打车 杜比器件下电、动态背光控制、均衡器档位调节
由表2可知,同一类型的应用程序通常对应相同的器件配置项,例如表2中高德地图和百度地图均为导航类应用程序,对应相同的器件配置项。不同类型的应用程序通常对应不同的器件配置项。受控器件的数量可以是一个也可以是多个。例如,高德地图或百度地图均属于导航类应用程序,如果用户在移动设备上开启导航类应用程序,则移动设备从参数配置文件中获取导航类应用程序对应的器件配置项,执行导航类应用程序对应的器件的节能管控。又例如,抖音或快手均属于视频类应用程序,如果用户在移动设备上开启视频类应用程序,则移动设备从参数配置文件中获取视频类应用程序对应的器件配置项,执行视频类应用程序对应的器件的节能管控。
上述应用程序类型包括但不限于导航类、视频类、新闻类、社交类、打车类、音乐类等。
具体来说,移动设备的智能感知识别模块中的事件与器件数据采集模块,从活动管理服务获取activityname,从activityname即可获知当前启动的应用程序的标识,智能感知识别模块中的CMS配置读取模块在获取到应用程序的标识之后,从参数配置文件中查询应用程序的标识对应的应用程序类型,根据应用程序类型确定器件配置项。在确定器件配置项之后,CMS配置读取模块将查询到的器件配置项下发给调度决策模块。调度决策模块向相应的器件发送控制指令。
示例性的,事件与器件数据采集模块从活动管理服务获取的activityname可以表示为:
activityname:com.sdu.didi.psnger/com.didi.app.MainActivity,移动设备从activityname中可以获知当前应用程序的标识为滴滴的标识“didi”。
示例性的,上述参数配置文件中包括如下配置信息:
activityname:com.sdu.didi.psnger/com.didi.app.MainActivity;type:navigation;control:10001
CMS配置读取模块根据应用程序的标识“didi”,确定应用程序的标识对应的应用程序类型为navigation(导航类),从而确定应用程序的标识对应的器件配置项对应的比特位为“10001”。随后智能感知识别模块中的调度决策模块根据接收到的器件配置项对应的比特位“10001”,向相应的器件发送控制指令,调度决策模块可根据表3确定待管控的器件。表3示出了不同器件的器件配置项以及器件配置项对应的比特位。
表3
Figure PCTCN2020115505-appb-000002
Figure PCTCN2020115505-appb-000003
图7示出了移动设备中的调度决策模块的逻辑判断示意图,移动设备中的调度决策模块可依照图7逻辑判断器件配置项对应的各比特位的数值,确定待管控的器件。示例性的,调度决策模块在确定器件配置项对应的比特位为10001时,根据表3可确定待管控的器件包括spk和lcd。调度决策模块分别向控制spk的音频驱动以及控制lcd的显示驱动发送控制指令,实现对spk的均衡器档位调节以及lcd动态背光控制。
本申请实施例提供的处理方法,通过获取至少一个应用程序的标识,通过查询参数配置文件确定应用程序的标识对应的应用程序类型,根据应用程序类型确定对应的器件配置项,从而调整相应的一个或多个器件的参数,实现对器件的节能控制。上述方法对移动设备上的应用程序进行分类,对于同一类型的应用程序采用相同的器件配置项,实现用户在开启某一类型的应用程序时执行相应的器件配置项,降低移动设备的功耗,提升续航待机能力和处理性能。
图8为本申请再一实施例提供的处理方法的流程示意图。图9为本申请实施例提供的云服务器的图片分类模型的示意图。
如图8所示,本实施例提供的方法包括:
步骤301、移动设备获取至少一个交互界面的标识。
在本实施例中,如果移动设备只有一个显示屏幕,步骤301包括:获取当前显示屏幕上的交互界面的标识。如果移动设备的显示屏幕为柔性屏幕,该柔性屏幕包括第一屏和第二屏,其中第一屏和第二屏上显示的交互界面类别不同,此时步骤301包括:获取第一屏和第二屏上的交互界面的标识,即包括两个交互界面的标识。
当然,移动设备的显示屏幕还可以分屏或者多界面显示两个以上交互界面,对此本实施例不作任何限制。
步骤302、移动设备根据至少一个交互界面的标识和参数配置文件,确定至少一个交互界面的标识对应的器件配置项。
步骤303、移动设备根据至少一个交互界面的标识对应的器件配置项调整一个或多个器件的参数和/或根据器件配置项开启针对一个或多个器件的扫描拦截。
需要说明的是,在分屏或多界面显示场景,移动设备可以执行当前用户操作的屏幕或者界面对应的器件配置项,即执行当前用户操作的交互界面的标识对应的器件配置项,具体可参见图2B。
在本实施例中,移动设备预先从云服务器获取参数配置文件,本实施例的参数配置文件包括交互界面的标识、界面类型与器件配置项的映射关系,
示例性的,表4示出了不同应用程序对应的界面类型以及器件配置项。
表4
Figure PCTCN2020115505-appb-000004
Figure PCTCN2020115505-appb-000005
由表4可知,不同类型的界面通常对应不同的器件配置项,例如表4中抖音的视频界面对应的器件配置项为动态背光控制、均衡器档位调节,抖音的阅读界面对应的器件配置项为gps定位变更为网络定位。另外,不同类型应用程序可能包括相同类型的界面,相同类型的界面可以对应相同的器件配置项,例如表4中导航类应用程序高德地图和打车类应用程序滴滴,均包括导航界面,均可对应同一器件配置型:杜比器件下电、动态背光控制、均衡器档位调节。
上述的界面类型包括但不限于视频界面,音乐界面,聊天界面,阅读界面,导航界面,游戏界面等。
具体来说,移动设备的智能感知识别模块中的事件与器件数据采集模块,从活动管理服务获取activityname,从activityname即可获知当前启动的交互界面的标识,智能感知识别模块中的CMS配置读取模块在获取到交互界面的标识之后,从参数配置文件中查询交互界面的标识对应的界面类型,根据界面类型确定器件配置项。在确定器件配置项之后,CMS配置读取模块将查询到的器件配置项下发给调度决策模块。调度决策模块向相应的器件发送控制指令。调度决策模块判断和执行控制指令的原理同图6实施例,具体可参见上文,此处不再赘述。
与图6实施例的不同在于:本实施例通过查询参数配置文件确定交互界面的标识对应的界面类型,以界面维度进行器件管控,与打开哪一个应用程序无关,与应用程序的类型无关。由于同一应用程序中实际包括多种类型界面,通过本实施例提供的方法实现了对应用程序多元界面的精细控制,可进一步降低移动设备的功耗,提升续航待机能力和处理性 能。
需要说明的是,本实施例中移动设备从云服务器获取的参数配置文件包括activityname、界面类型以及界面类型对应的器件配置项。对此,与移动设备匹配的云服务器可设置图片分类模型,如图9所示,该图片分类模型是采用卷积神经网络(CNN)结构,对开发人员采集的大量图像样本进行训练得到的。图片分类模型的输入为图像,输出为该图像的分类标签,其中输入的图像可以是不同应用程序中的不同类型界面的图像,例如微信中的聊天界面、视频播放界面等,高德地图中的导航界面、查询界面等。图像的分类标签用于指示图像的界面类型,例如导航界面、阅读界面、聊天界面、视频播放界面、音乐播放界面等。
需要指出的是,在采集图像样本的同时,还需要获取每一张图像样本对应的activityname,其中activityname包括交互界面的标识和/或应用程序的标识。在完成上述图片分类后,云服务器可将activityname中的交互界面的标识与界面类型,以及界面类型对应的器件配置项进行关联,生成本实施例中的参数配置文件。如果有新的应用程序上线,可以通过上述过程配置新的应用程序中不同界面类型对应的器件配置项,然后将更新的参数配置文件下发至移动设备侧,这样就可以实现对终端产品功耗特性的实时更新,在涌现出新的热门应用时,可以进一步提升对终端产品的功耗管理,从而解决了现有方案功耗特性固定的问题。
本实施例提供的技术方案从应用的多元化角度出发,在云服务器对参数配置文件进行升级,升级后的参数配置文件可用于移动设备对应用程序的多元界面的精细控制。对于图6所示实施例,参数配置文件仅针对应用程序类型进行器件控制,用户在同一应用程序中切换不同的界面,移动设备的器件管控不变。然而,利用本实施例提供的技术方案,如果用户在同一应用程序中切换界面,移动设备会根据界面变化进行更加精细化的控制,当然,本实施例提供的技术方案还可应用在不同应用程序间切换界面,都可以达到进一步降低移动设备的功耗的目的,提升移动设备的续航待机能力和处理性能。
进一步的,基于本实施例的技术方案,表5示出了部分应用程序在不同界面下进行相应器件管控后的功耗收益表。
表5
Figure PCTCN2020115505-appb-000006
Figure PCTCN2020115505-appb-000007
由表5可知,视频类应用程序通过对多元界面进行器件管控,移动设备在使用时可以降低30-50mA功耗,打车类应用程序通过对多元界面进行器件管控,移动设备在使用时可以降低70-240mA功耗。
图10为本申请实施例提供的一种处理装置的结构示意图。如图10所示,本申请实施例提供一种处理装置,包括:事件与器件数据采集模块401、CMS配置读取模块402和调度决策模块403。
事件与器件数据采集模块401,用于获取至少一个应用程序的交互界面对应的标识,标识包括以下至少一种:交互界面的标识或应用程序的标识;
CMS配置读取模块402,用于根据标识和参数配置文件确定标识对应的器件配置项,参数配置文件是从移动设备匹配的云服务器上获取的,参数配置文件是由云服务器确定的;
调度决策模块403,用于根据器件配置项调整一个或多个器件的参数和/或根据器件配置项开启针对一个或多个器件的扫描拦截。
可选的,器件包括以下的至少一种:Wi-Fi模块,蓝牙模块,NFC模块,红外模块,调制解调器,扬声器,定位模块,或者,显示器。
在一种可能的实现方式中,事件与器件数据采集模块401,具体用于通过活动管理服务获取至少一个应用程序的交互界面对应的标识。
在一种可能的实现方式中,调度决策模块403,具体用于在确定移动设备处于静止时,触发根据器件配置项开启针对一个或多个器件的扫描拦截。
在一种可能的实现方式中,调度决策模块403,具体用于根据器件配置项调整一个或多个器件的参数,一个或多个器件包括扬声器,定位模块,Wi-Fi模块,蓝牙模块,调制解调器,或,显示器。
在一种可能的实现方式中,调度决策模块403,具体用于根据器件配置项开启针对一个或多个器件的扫描拦截,一个或多个器件包括Wi-Fi模块,蓝牙模块,NFC模块,红外模块,或,调制解调器。
在一种可能的实现方式中,调度决策模块403,具体用于根据器件配置项调整一个或多个器件的参数,一个或多个器件包括扬声器,定位模块,Wi-Fi模块,蓝牙模块,调制解调器,或,显示器;且
根据器件配置项开启针对一个或多个器件的扫描拦截,一个或多个器件包括Wi-Fi模块,蓝牙模块,NFC模块,红外模块,或,调制解调器。
在一种可能的实现方式中,器件为Wi-Fi模块,调度决策模块403,具体用于根据器件配置项通过无线上网服务调整Wi-Fi模块的参数;器件为调制解调器,调度决策模块403,具体用于根据器件配置项通过无线上网服务调整调制解调器的参数;器件为扬声器,调度决策模块403,具体用于根据器件配置项通过音频系统服务调整扬声器的参数;器件为定位模块,调度决策模块403,具体用于根据器件配置项通过位置管理服务调整定位模块的参数;器件为显示器,调度决策模块403,具体用于根据器件配置项通过显示引擎服务调 整显示器的参数;器件为蓝牙模块,调度决策模块403,具体用于根据器件配置项通过蓝牙管理服务调整蓝牙模块的参数。
本申请实施例提供的处理装置,可以执行上述任一方法实施例中的技术方案,其实现原理和技术效果类似,此处不再赘述。
本申请实施例提供了一种移动设备,包括处理器,以及与处理器相连的存储器、输入设备和输出设备。其中,输入设备和输出设备可集成为一个设备,例如,可将显示屏幕的触控器件作为输入设备,将显示屏幕的显示器作为输出设备。
此时,如图11所示,上述移动设备可以包括:显示屏幕501,显示屏幕501包括触控器件506和显示器507;一个或多个处理器502;一个或多个存储器503;一个或多个传感器508;一个或多个应用程序(未示出);以及一个或多个程序504,上述各器件可以通过一个或多个通信总线505连接。其中该一个或多个程序504被存储在上述存储器503中并被配置为被该一个或多个处理器502执行,该一个或多个程序504包括指令,上述指令可以用于执行上述方法实施例中的各个步骤。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应实体器件的功能描述,在此不再赘述。
示例性的,上述处理器502具体可以为图3所示的处理器110,上述存储器503具体可以为图3所示的内部存储器121和/或外部存储器120,上述显示屏幕501具体可以为图3所示的显示屏幕301,显示屏幕501可以是柔性屏幕。上述传感器508具体可以为图3所示的传感器模块180中的陀螺仪传感器180B、加速度传感器180E、接近光传感器180G,还可以是红外传感器、霍尔传感器等一项或多项,本申请实施例对此不做任何限制。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请实施例各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请实施例的具体实施方式,但本申请实施例的保护范围并不局限于此,任何在本申请实施例揭露的技术范围内的变化或替换,都应涵盖在本申请实施例的保护范围之内。因此,本申请实施例的保护范围应以所述权利要求的保护范围为准。

Claims (11)

  1. 一种处理方法,应用于移动设备,所述移动设备的显示器上显示至少一个应用程序的交互界面,其特征在于,包括:
    获取所述至少一个应用程序的交互界面对应的标识,所述标识包括以下至少一种:交互界面的标识或应用程序的标识;
    根据所述标识和参数配置文件确定所述标识对应的器件配置项,所述参数配置文件是从所述移动设备匹配的云服务器上获取的,所述参数配置文件是由所述云服务器确定的;
    根据所述器件配置项调整一个或多个器件的参数和/或根据所述器件配置项开启针对一个或多个器件的扫描拦截。
  2. 根据权利要求1所述的方法,其特征在于,所述器件包括以下的至少一种:
    Wi-Fi模块,蓝牙模块,NFC模块,红外模块,调制解调器,扬声器,定位模块,或者,显示器。
  3. 根据权利要求1或2所述的方法,其特征在于,所述获取所述至少一个应用程序的交互界面对应的标识,包括:
    通过活动管理服务获取所述至少一个应用程序的交互界面对应的标识。
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述根据所述器件配置项开启针对一个或多个器件的扫描拦截,包括:
    确定所述移动设备处于静止时,触发根据所述器件配置项开启针对一个或多个器件的扫描拦截。
  5. 根据权利要求1至3任一项所述的方法,其特征在于,所述根据所述器件配置项调整一个或多个器件的参数,包括:
    根据器件配置项调整一个或多个器件的参数,所述一个或多个器件包括所述扬声器,所述定位模块,所述Wi-Fi模块,所述蓝牙模块,所述调制解调器,或,所述显示器。
  6. 根据权利要求1至4任一项所述的方法,其特征在于,所述根据所述器件配置项开启针对一个或多个器件的扫描拦截,包括:
    根据器件配置项开启针对一个或多个器件的扫描拦截,所述一个或多个器件包括所述Wi-Fi模块,所述蓝牙模块,所述NFC模块,所述红外模块,或,所述调制解调器。
  7. 根据权利要求1至4任一项所述的方法,其特征在于,
    所述根据所述器件配置项调整一个或多个器件的参数和根据所述器件配置项开启针对一个或多个器件的扫描拦截,包括:
    根据器件配置项调整一个或多个器件的参数,所述一个或多个器件包括所述扬声器,所述定位模块,所述Wi-Fi模块,所述蓝牙模块,所述调制解调器,或,所述显示器;且
    根据器件配置项开启针对一个或多个器件的扫描拦截,所述一个或多个器件包括所述Wi-Fi模块,所述蓝牙模块,所述NFC模块,所述红外模块,或,所述调制解调器。
  8. 根据权利要求1至7任一项所述的方法,其特征在于,
    所述器件为所述Wi-Fi模块,所述根据所述器件配置项调整一个或多个器件的参数,包括:根据所述器件配置项通过无线上网服务调整所述Wi-Fi模块的参数;所述器件为调制解调器,所述根据所述器件配置项调整一个或多个器件的参数,包括:根据所述器件配置项通过无线上网服务调整所述调制解调器的参数;
    所述器件为所述扬声器,所述根据所述器件配置项调整一个或多个器件的参数,包括:根据所述器件配置项通过音频系统服务调整所述扬声器的参数;
    所述器件为所述定位模块,所述根据所述器件配置项调整一个或多个器件的参数,包括:根据所述器件配置项通过位置管理服务调整所述定位模块的参数;
    所述器件为所述显示器,所述根据所述器件配置项调整一个或多个器件的参数,包括:根据所述器件配置项通过显示引擎服务调整所述显示器的参数;
    所述器件为所述蓝牙模块,所述根据所述器件配置项调整一个或多个器件的参数,包括:根据所述器件配置项通过蓝牙管理服务调整所述蓝牙模块的参数。
  9. 一种移动设备,其特征在于,包括:
    显示屏幕,所述显示屏幕包括显示器和触控器件;一个或多个处理器;一个或多个存储器;一个或多个传感器;
    所述存储器存储有一个或多个应用程序以及一个或多个程序,其中所述一个或多个程序包括指令,当所述指令被所述移动设备执行时,使得所述移动设备执行如权利要求1-8中任一项所述的处理方法。
  10. 一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,其特征在于,当所述指令在移动设备上运行时,使得所述移动设备执行如权利要求1-8中任一项所述的处理方法。
  11. 一种程序产品,其特征在于,所述程序产品包括计算机程序,所述计算机程序存储在可读存储介质中,通信装置的至少一个处理器可以从所述可读存储介质读取所述计算机程序,所述至少一个处理器执行所述计算机程序使得通信装置实施如权利要求1-8任意一项所述的方法。
PCT/CN2020/115505 2019-09-26 2020-09-16 处理方法及移动设备 WO2021057565A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910919481.9A CN112565508B (zh) 2019-09-26 2019-09-26 处理方法及移动设备
CN201910919481.9 2019-09-26

Publications (1)

Publication Number Publication Date
WO2021057565A1 true WO2021057565A1 (zh) 2021-04-01

Family

ID=75030212

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/115505 WO2021057565A1 (zh) 2019-09-26 2020-09-16 处理方法及移动设备

Country Status (2)

Country Link
CN (1) CN112565508B (zh)
WO (1) WO2021057565A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113961064A (zh) * 2021-09-13 2022-01-21 武汉灏存科技有限公司 基于工作站的设备交互控制方法、装置、设备及存储介质
CN114760283A (zh) * 2022-03-03 2022-07-15 阿里巴巴(中国)有限公司 播放参数配置方法及装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055072A (zh) * 2016-05-31 2016-10-26 北京金山安全软件有限公司 屏幕亮度调节方法、装置和终端设备
CN106933326A (zh) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 一种动态调节终端的节能等级的方法、装置及移动终端
CN107027150A (zh) * 2017-04-11 2017-08-08 广东欧珀移动通信有限公司 WiFi控制方法、装置和终端设备
CN108664329A (zh) * 2018-05-10 2018-10-16 努比亚技术有限公司 一种资源配置方法、终端及计算机可读存储介质
US10171985B1 (en) * 2015-07-22 2019-01-01 Ginko LLC Method and apparatus for data sharing
CN109951594A (zh) * 2017-12-20 2019-06-28 广东欧珀移动通信有限公司 屏幕亮度的智能调节方法、装置、存储介质及移动终端

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9395785B2 (en) * 2012-07-19 2016-07-19 Tencent Technology (Shenzhen) Company Limited Method and device for controlling terminal and terminal thereof
CN103941871B (zh) * 2014-04-24 2018-01-02 可牛网络技术(北京)有限公司 控制智能终端的硬件运行状态的方法和设备
CN108268116B (zh) * 2017-01-03 2022-06-07 中兴通讯股份有限公司 一种解决移动终端异常耗电的方法、装置及移动终端
CN106879055B (zh) * 2017-01-19 2020-12-29 北京安云世纪科技有限公司 一种无线网络扫描控制方法及相关设备
CN106990828A (zh) * 2017-03-31 2017-07-28 努比亚技术有限公司 一种控制屏幕显示的装置和方法
CN109992472A (zh) * 2019-02-25 2019-07-09 努比亚技术有限公司 一种界面监测方法、终端及计算机可读存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10171985B1 (en) * 2015-07-22 2019-01-01 Ginko LLC Method and apparatus for data sharing
CN106055072A (zh) * 2016-05-31 2016-10-26 北京金山安全软件有限公司 屏幕亮度调节方法、装置和终端设备
CN106933326A (zh) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 一种动态调节终端的节能等级的方法、装置及移动终端
CN107027150A (zh) * 2017-04-11 2017-08-08 广东欧珀移动通信有限公司 WiFi控制方法、装置和终端设备
CN109951594A (zh) * 2017-12-20 2019-06-28 广东欧珀移动通信有限公司 屏幕亮度的智能调节方法、装置、存储介质及移动终端
CN108664329A (zh) * 2018-05-10 2018-10-16 努比亚技术有限公司 一种资源配置方法、终端及计算机可读存储介质

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113961064A (zh) * 2021-09-13 2022-01-21 武汉灏存科技有限公司 基于工作站的设备交互控制方法、装置、设备及存储介质
CN113961064B (zh) * 2021-09-13 2024-04-05 武汉灏存科技有限公司 基于工作站的设备交互控制方法、装置、设备及存储介质
CN114760283A (zh) * 2022-03-03 2022-07-15 阿里巴巴(中国)有限公司 播放参数配置方法及装置

Also Published As

Publication number Publication date
CN112565508A (zh) 2021-03-26
CN112565508B (zh) 2022-07-22

Similar Documents

Publication Publication Date Title
WO2020156269A1 (zh) 一种具有柔性屏幕的电子设备的显示方法及电子设备
WO2021052263A1 (zh) 语音助手显示方法及装置
WO2021063343A1 (zh) 语音交互方法及装置
CN111949345B (zh) 一种显示应用的方法及电子设备
WO2020238774A1 (zh) 一种通知消息的预览方法及电子设备
WO2020244492A1 (zh) 一种投屏显示方法及电子设备
WO2020192714A1 (zh) 显示设备控制页面的方法、相关装置及系统
WO2020244497A1 (zh) 一种柔性屏幕的显示方法及电子设备
WO2020108356A1 (zh) 一种应用显示方法及电子设备
WO2021213164A1 (zh) 应用界面交互方法、电子设备和计算机可读存储介质
WO2021000807A1 (zh) 一种应用程序中等待场景的处理方法和装置
WO2021027267A1 (zh) 语音交互方法、装置、终端及存储介质
WO2020151387A1 (zh) 一种基于用户运动状态的推荐方法及电子设备
WO2020000448A1 (zh) 一种柔性屏幕的显示方法及终端
WO2021104008A1 (zh) 一种折叠屏的显示方法及相关装置
WO2021036770A1 (zh) 一种分屏处理方法及终端设备
WO2021063237A1 (zh) 电子设备的控制方法及电子设备
WO2021036585A1 (zh) 一种柔性屏显示方法和电子设备
WO2021052279A1 (zh) 一种折叠屏显示方法及电子设备
WO2022100556A1 (zh) 一种通知消息的管理方法及电子设备
WO2020073288A1 (zh) 一种触发电子设备执行功能的方法及电子设备
WO2021057565A1 (zh) 处理方法及移动设备
WO2022127661A1 (zh) 应用共享方法、电子设备和存储介质
WO2021057699A1 (zh) 具有柔性屏幕的电子设备的控制方法及电子设备
WO2021121036A1 (zh) 一种折叠设备的自定义按键方法、设备及存储介质

Legal Events

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

Ref document number: 20868955

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20868955

Country of ref document: EP

Kind code of ref document: A1