WO2022141419A1 - Terminal control method and apparatus, and electronic device - Google Patents

Terminal control method and apparatus, and electronic device Download PDF

Info

Publication number
WO2022141419A1
WO2022141419A1 PCT/CN2020/142204 CN2020142204W WO2022141419A1 WO 2022141419 A1 WO2022141419 A1 WO 2022141419A1 CN 2020142204 W CN2020142204 W CN 2020142204W WO 2022141419 A1 WO2022141419 A1 WO 2022141419A1
Authority
WO
WIPO (PCT)
Prior art keywords
parameter
image
state
terminal
target
Prior art date
Application number
PCT/CN2020/142204
Other languages
French (fr)
Chinese (zh)
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 华为技术有限公司
Priority to CN202080103255.4A priority Critical patent/CN115917472A/en
Priority to PCT/CN2020/142204 priority patent/WO2022141419A1/en
Publication of WO2022141419A1 publication Critical patent/WO2022141419A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken

Definitions

  • the present application relates to the technical field of artificial intelligence, and in particular, to a terminal control method, device and electronic device.
  • terminals such as mobile phones and computers have become necessities in people's lives.
  • various application programs Application, APP
  • Application, APP can be installed on the terminal, for example, application programs such as video, game, social networking, and news.
  • the terminal often presents the content that the application program can provide to the user in the display window of the application program according to the display effect set by the user in the application program or the default display effect of the system, such as: Image content such as pictures, videos, etc., which makes the display effect of the content displayed in the display window of the application program remain unchanged when the user uses the application program on the terminal.
  • the embodiments of the present application provide a terminal control method, device, and electronic device, which can prevent the terminal from continuously running with high performance or low performance, and help solve problems such as increased power consumption of the terminal or the inability of the display effect to meet user needs, etc. Improved user experience.
  • an embodiment of the present application provides a terminal control method.
  • the method includes: determining that a target state is switched from a first state to a second state, where the target state includes a display state of a display window of a first application on a terminal or a terminal currently in use. At least one of the user states of the user, wherein the first image is displayed on the display window of the first application; the target parameter in the terminal is adjusted, and the target parameter is related to the display effect of the first image. Therefore, in this solution, after it is determined that the state related to the image displayed in the display window of the application on the terminal has changed, the parameters related to the display effect of the first image in the terminal are adjusted to improve the display effect of the first image. Adjustments are made to prevent the terminal from continuously running with high performance or low performance, which helps to solve problems such as increased power consumption of the terminal or that the display effect cannot meet user needs, and improves user experience.
  • the target state includes a display state, and the display state includes the size of the display window; determining that the target state is switched from the first state to the second state includes: determining that the size of the display window is switched from the first size to the second state Two size. From this, it is determined whether or not the target state has changed.
  • the size of the display window is 100mmx80mm when displayed in full screen on the terminal and 50mmx80mm when displayed in half screen, then when the user switches the display window from full screen display to half screen display, the size of the display window is By switching from 100mmx80mm to 50mmx80mm, it can be determined that the size of the display window has changed, that is to say, the target state has changed at this time.
  • the target state includes a display state, and the display state includes the target content expressed by the first image; determining that the target state is switched from the first state to the second state includes: determining that the target content is switched from the first content is the second content, wherein the type of the first content is different from the type of the second content. From this, it is determined whether or not the target state has changed.
  • the user can play the game on the display window of the application or watch others play the game; when the user is playing the game, the content expressed by the first image is the game content, and the content The type of the game is the game category; when the user watches others play games, the content expressed by the first image is video content, and the type of the content is video content; at this time, if the content expressed by the first image is switched by the game content If it is video content, it can be determined that the content expressed by the first image has changed, that is, the target state has changed at this time.
  • the target state includes the user state
  • the user state includes the user's target attention to the first area on the display window
  • the first area is used to display part or all of the first image
  • determining the target state is determined by the first area on the display window.
  • Switching from a state to a second state includes: determining that the target attention degree is switched from the first attention degree to the second attention degree. From this, it is determined whether or not the target state has changed.
  • the first area is the area where the display window is located
  • the second area is the area other than the display window
  • the method further includes: determining the gaze duration of the user's eyeballs gazing at the first region; and determining the target attention degree according to the duration interval to which the gaze duration belongs.
  • the camera on the terminal can be used to track the movement state of the user's eyeballs, and when it is determined that the user's eyeballs are fixed on the first area, the timing is started until the user's eyeballs are no longer fixed on the first area, so as to count the number of times the user's eyeballs are fixed on the first area.
  • the fixation duration of an area then, compare the fixation duration with the preset duration interval to determine the duration interval to which the current fixation duration belongs; finally, obtain the degree of attention corresponding to the duration interval to which the current fixation duration belongs.
  • the target state includes a user state, and the user state includes a target operating frequency of the user operating the terminal; determining that the target state is switched from the first state to the second state includes: determining that the target operating frequency is determined by the first operating frequency Switch to the second operating frequency. From this, it is determined whether or not the target state has changed.
  • the terminal is a mobile phone, when the operating frequency of the user operating the mobile phone is high, the user is often in the game state; and when the operating frequency of the user operating the mobile phone is low, the user is often in the state of watching videos, so when it is determined that the operating frequency of the user operating the mobile phone changes, it can be determined that the target state has changed.
  • adjusting the target parameter in the terminal includes: reducing at least one of the operating frequency of the processor in the terminal or the operating voltage of the power supply domain to which the processor belongs, and the processor is used to process the first image; or , increasing at least one of the operating frequency of the processor in the terminal or the operating voltage of the power supply domain to which the processor belongs.
  • the processor in the terminal can be run at a lower working frequency, or the power supply domain to which the processor belongs can be powered at a lower working voltage, so as to reduce the display effect of the first image and prevent the terminal from continuing to use High-performance operation can reduce the power consumption of the terminal; or, the processor in the terminal can run at a higher working frequency, or the power supply domain to which the processor belongs can be powered at a higher working voltage, so as to improve the performance of the first image. display effect, so as to prevent the terminal from running with low performance continuously and improve the display effect of the terminal.
  • reducing the operating frequency of the processor in the terminal includes: reducing the video post-processing performance of the decoder in the terminal; reducing the operating voltage of the power supply domain to which the processor belongs, including: reducing the matching of the decoder in the terminal voltage; improving the operating frequency of the processor in the terminal, including: improving the video post-processing performance of the decoder in the terminal; improving the operating voltage of the power supply domain to which the processor belongs, including: improving the matching voltage of the decoder in the terminal.
  • adjusting the target parameters in the terminal includes: increasing the number of first image processing algorithms, where the first image processing algorithm is used to process the first image; or, reducing the number of the first image processing algorithms quantity. Therefore, by increasing the number of the first image processing algorithms, the terminal can process the first image with a smaller number of image processing algorithms, so as to reduce the display effect of the first image, thereby preventing the terminal from continuously running with high performance and reducing the power consumption; or by reducing the number of first image processing algorithms, the terminal can process the first image with a larger number of image processing algorithms, so as to improve the display effect of the first image, thereby preventing the terminal from running with low performance continuously and improving the terminal performance. display effect.
  • the first image processing algorithm includes: a contour removal (De Contour, DC) algorithm, a mosquito noise removal (De Mosquito, DM) algorithm, and a halo noise removal (De Ring, DR) algorithm, At least one of Motion Estimate and Motion Compensation (MEMC) algorithm, Noise Reduction (NR) algorithm, and Image Super Resolution (SR) algorithm.
  • a contour removal De Contour, DC
  • a mosquito noise removal De Mosquito, DM
  • a halo noise removal De Ring, DR
  • MEMC Motion Estimate and Motion Compensation
  • NR Noise Reduction
  • SR Image Super Resolution
  • the method further includes: in the case of increasing the number of the first image processing algorithms, the method further includes: reducing the number of the second image processing algorithms, and the second image processing algorithm is used to process the division on the terminal. The image in at least part of the display area outside the area occupied by the window is displayed; in the case of reducing the number of the first image processing algorithms, the method further includes: increasing the number of the second image processing algorithms.
  • the number of image display algorithms on the terminal that processes images in areas outside the display window can be reduced, so as to reduce the display effect of images in areas outside the display window and reduce the power consumption of the terminal; or , when the display effect of the first image is reduced, the number of image display algorithms on the terminal for processing images outside the display window can be increased, so as to improve the display effect of images outside the display window.
  • the second image processing algorithm includes: a de-contour (De Contour, DC) algorithm, a de-mosquito-noise (De Mosquito, DM) algorithm, and a de-ring noise (De Ring, DR) algorithm, At least one of Motion Estimate and Motion Compensation (MEMC) algorithm, Noise Reduction (NR) algorithm, and Image Super Resolution (SR) algorithm.
  • a de-contour (De Contour, DC) algorithm
  • De Mosquito, DM de-mosquito-noise
  • De Ring, DR de-ring noise
  • MEMC Motion Estimate and Motion Compensation
  • NR Noise Reduction
  • SR Image Super Resolution
  • the target parameter includes a frame rate
  • adjusting the target parameter related to the first image in the terminal includes: dropping frames on the video stream corresponding to the first image, or performing frame dropping on the video stream corresponding to the first image Make up frames. Therefore, when the target parameter is the frame rate, the target parameter is adjusted by dropping or complementing the video stream corresponding to the first image.
  • the target parameter includes resolution
  • adjusting the target parameter related to the first image in the terminal includes: when the terminal sends the first request to the server, adjusting the The resolution of the original image data related to the image, and the first request is used to request to obtain the original image data. Therefore, when the target parameter is the resolution, the target parameter is adjusted by adjusting the resolution carried in the request sent by the terminal to the server.
  • the second parameter of , the second parameter is of the same type as the first parameter; the first parameter is adjusted according to the first parameter and the second parameter. Therefore, based on the parameters corresponding to the first image before and after the target state changes, the parameters before the target state change are adjusted to improve the accuracy of the adjustment.
  • adjusting the first parameter according to the first parameter and the second parameter includes: when there is a deviation between the first parameter and the second parameter, adjusting the first parameter to the second parameter; When the deviation value between the first parameter and the second parameter is greater than the preset difference value, the first parameter is adjusted based on the deviation value so that the deviation value is smaller than or equal to the preset difference value. An adjustment of the first parameter is thereby achieved.
  • the resolution before the target state change is 1080p
  • the resolution after the target state change is 360p
  • 1080p can be directly adjusted to 360p; or, between 1080p and 360p
  • the difference is greater than 500
  • an embodiment of the present application provides a terminal control device, the device includes: a determination module configured to determine that a target state is switched from a first state to a second state, where the target state includes the display of a display window of a first application on the terminal At least one of the state or the user state of the user currently using the terminal, the first image is displayed on the display window of the first application; the determining module is further configured to determine the first image required by the terminal to output the first image in the second state.
  • a parameter, the first parameter includes at least one of image quality, frame rate or resolution; a processing module for adjusting a target parameter in the terminal, where the target parameter is related to the display effect of the first image.
  • the target state includes a display state
  • the display state includes a size of the display window
  • the determining module is specifically configured to: determine that the size of the display window is switched from the first size to the second size.
  • the target state includes a display state, and the display state includes the target content expressed by the first image; the determining module is specifically configured to: determine that the target content is switched from the first content to the second content, and the first content is different from the type of the second content.
  • the target state includes the user state
  • the user state includes the user's target attention to the first area on the display window
  • the first area is used to display part or all of the first image
  • the determining module is specifically configured to: determine the gaze duration of the user's eyeballs gazing at the first region, and determine the target attention degree according to the duration interval to which the gaze duration belongs.
  • the target state includes a user state
  • the user state includes a target operating frequency of the user operating the terminal
  • the determining module is specifically configured to: determine that the target operating frequency is switched from the first operating frequency to the second operating frequency.
  • the processing module is specifically configured to: reduce at least one of the operating frequency of the processor in the terminal or the operating voltage of the power supply domain to which the processor belongs, and the processor is used to process the first image; or, increase At least one of the operating frequency of the processor in the terminal or the operating voltage of the power domain to which the processor belongs.
  • the processing module is specifically configured to: increase the number of the first image processing algorithms, where the first image processing algorithm is used to process the first image; or reduce the number of the first image processing algorithms.
  • the processing module when the number of the first image processing algorithm is increased, is further configured to: reduce the number of the second image processing algorithm, and the second image processing algorithm is used to process the terminal except the display window At least part of the area outside the occupied area displays the image in the area; the processing module is further configured to: increase the number of the second image processing algorithm when the number of the first image processing algorithm is reduced.
  • the target parameter includes a frame rate
  • the processing module is specifically configured to: drop frames on the video stream corresponding to the first image, or perform frame supplementation on the video stream corresponding to the first image.
  • the target parameter includes resolution
  • the processing module is specifically configured to: when the terminal sends the first request to the server, adjust the resolution of the original image data related to the first image carried in the first request rate, the first request is used to request the acquisition of raw image data.
  • the target parameter includes a first parameter corresponding to the first image in the first state; the processing module is further configured to: determine a second parameter corresponding to the first image in the second state, and the second parameter corresponds to the first image in the second state.
  • the parameter is of the same type as the first parameter; the first parameter is adjusted according to the first parameter and the second parameter.
  • the processing module is further configured to: when there is a deviation between the first parameter and the second parameter, adjust the first parameter to the second parameter; or, between the first parameter and the second parameter When the deviation value is greater than the preset difference value, the first parameter is adjusted based on the deviation value, so that the deviation value is less than or equal to the preset difference value.
  • an embodiment of the present application provides an electronic device, including: at least one memory for storing a program; and at least one processor for calling a program stored in the memory to execute the method provided in the first aspect.
  • an embodiment of the present application provides an electronic device, including the apparatus provided in the second aspect.
  • an embodiment of the present application provides a computer storage medium, where an instruction is stored in the computer storage medium, and when the instruction is executed on a computer, the computer executes the method provided in the first aspect.
  • an embodiment of the present application provides a computer program product containing instructions, when the instructions are run on a computer, the computer is made to execute the method provided in the first aspect.
  • an embodiment of the present application provides a terminal control device, including at least one processor and an interface; at least one processor obtains program instructions or data through the interface; at least one processor is configured to execute program line instructions to implement the first method on the one hand.
  • FIG. 1a is a schematic diagram of an exemplary application scenario provided by an embodiment of the present application.
  • FIG. 1b is a schematic diagram of an exemplary application scenario provided by an embodiment of the present application.
  • FIG. 2a is a schematic diagram of an exemplary application scenario provided by an embodiment of the present application.
  • FIG. 2b is a schematic diagram of an exemplary application scenario provided by an embodiment of the present application.
  • 3a is a schematic diagram of an exemplary application scenario provided by an embodiment of the present application.
  • FIG. 3b is a schematic diagram of an exemplary application scenario provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a hardware structure of a terminal provided by an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a terminal control method provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a step of determining and adjusting a second parameter provided by an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of another terminal control method provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a terminal control apparatus provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of another terminal control apparatus provided by an embodiment of the present application.
  • words such as “exemplary”, “such as” or “for example” are used to mean serving as an example, illustration or illustration. Any embodiments or designs described in the embodiments of the present application as “exemplary,” “such as,” or “by way of example” should not be construed as preferred or advantageous over other embodiments or designs. Rather, use of words such as “exemplary,” “such as,” or “by way of example” is intended to present the related concepts in a specific manner.
  • the term "and/or" is only an association relationship for describing associated objects, indicating that there may be three relationships, for example, A and/or B, which may indicate: A alone exists, A alone exists There is B, and there are three cases of A and B at the same time.
  • the term "plurality" means two or more. For example, multiple systems refer to two or more systems, and multiple terminals refer to two or more terminals.
  • first and second are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implying the indicated technical features. Thus, a feature defined as “first” or “second” may expressly or implicitly include one or more of that feature.
  • the terms “including”, “including”, “having” and their variants mean “including but not limited to” unless specifically emphasized otherwise.
  • FIG. 1a an application a is installed on the terminal 11, and the type of the a application may be a video type.
  • the user opens the a application on the terminal 11 and watches the video, and the video content will be displayed on the display window 12 of the a application at this time.
  • FIG. 1b when viewing the video content displayed on the display window 12, the user can zoom the display window 12, that is, adjust the size of the display window 12, and open the b application.
  • the type of the b application can be social.
  • the chat content can be input on the display window 13 of the b application.
  • the size of the window 12 changes, and the maximum resolution that the display window 12 can display at this time also changes.
  • the terminal 11 continues to output the video at the original resolution, but this does not bring any value to the user.
  • the code stream size, video decoding performance, and image post-processing performance required by the terminal 11 are all different, which in turn leads to different power consumption of the terminal. Therefore, when the size of the display window 12 changes, the parameters of the content displayed in the display window 12 can be adjusted to adjust the power consumption of the terminal. It can be understood that when the state of the display window 12 is switched from FIG. 1 b to FIG. 1 a , the parameters of the content displayed in the display window 12 can be adjusted to improve the display effect of the terminal 11 .
  • the display window 12 can display a maximum resolution of 1600x1200
  • the display window in Fig. 1b, can display a maximum resolution of 640x480.
  • the user is viewing the video with a resolution of 640x480 in Fig. 1b.
  • the subjective experience is the same as that of a user watching a video with a resolution of 1600x1200 in Figure 1a.
  • the terminal 11 continues to output the video at a resolution of 1600 ⁇ 1200, but this does not bring any value to the user.
  • the terminal 11 continues to output video at a resolution of 1600 ⁇ 1200, which will also cause the terminal 11 to continue to run with high power consumption. Therefore, at this time, the resolution of the video displayed in the display window 12 can be reduced, that is, from 1600 ⁇ 1200 to 640 ⁇ 480, which can reduce the power consumption of the terminal 11 without reducing the user experience.
  • FIG. 2a and 2b together constitute another schematic diagram of an application scenario provided by the embodiment of the present application.
  • the terminal 11 is installed with a c application, and the type of the c application may be a game.
  • the user opens the c application on the terminal 11 and plays the game, and the game content will be displayed on the display window 14 of the c application at this time.
  • FIG. 2b after playing the game for a period of time, the user can end the game and watch other users play the game on the display window 14 of the c application.
  • the performance requirements of the terminal 11 are different when the user is playing games and when the user is watching other people play games.
  • the processing performance of the terminal 11 can be adjusted to prevent the terminal 11 from continuously running with high performance, so as to reduce the power consumption of the terminal 11 . It can be understood that when the state of the display window 14 is switched from FIG. 2b to FIG. 2a, the processing performance of the terminal 11 can be adjusted to prevent the terminal 11 from running with low performance continuously and improve the display effect of the terminal 11.
  • FIG. 3a and 3b together form another schematic diagram of an application scenario provided by the embodiment of the present application.
  • the terminal 11 of the user M has two application display windows opened, namely display windows 15 and 16 .
  • the attention of the user M is on the display window 15 ; in the scenario shown in FIG. 3 b , the attention of the user M is transferred from the display window 15 to the display window 16 .
  • the output parameters such as the image quality, frame rate, resolution, etc.
  • the terminal 11 will continue to use the original Output parameters such as image quality, frame rate, and resolution output the corresponding content, that is, the terminal 11 will continue to process the content displayed in the display window 15 with the original performance; This display will cause a waste of part of the energy consumption on the terminal 11. Therefore, at this time, the processing parameters related to the displayed content in the processing display window 15 on the terminal 11 (such as the operating frequency of the processor, the power supply domain to which the processor belongs) can be working voltage, etc.) to reduce the power consumption of the terminal 11 . In addition, in FIG. 3 b , the processing parameters related to the displayed content in the processing display window 16 on the terminal 11 may also be adjusted, so as to improve the display effect in the display window 16 .
  • the state related to the display window of the application on the terminal may include the display state of the display window and/or the user state of the user currently using the terminal; wherein, the display state may include the size of the display window, display content, etc., the user The state may include the user's attention to part or all of the area on the display window, the operation frequency of the user's operation of the terminal, and the like.
  • the terminal may be a mobile phone, a tablet computer, a digital camera, a personal digital assistant (PDA), a wearable device, a smart TV, a Huawei smart screen, and the like.
  • PDA personal digital assistant
  • Exemplary embodiments of the terminal include, but are not limited to, electronic devices equipped with iOS, android, Windows, Harmony OS or other operating systems.
  • the aforementioned terminals may also be other electronic devices, such as laptops, etc., with touch-sensitive surfaces (eg, touch panels). This solution does not specifically limit the type of the terminal.
  • FIG. 4 is a schematic diagram of a hardware structure of a terminal provided by an embodiment of the present application.
  • the terminal 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, Antenna 1, Antenna 2, Mobile Communication Module 150, Wireless Communication Module 160, Audio Module 170, Speaker 170A, Receiver 170B, Microphone 170C, Headphone Interface 170D, Sensor Module 180, Key 190, Motor 191, Indicator 192, Camera 193, A display screen 194, and a subscriber identification module (SIM) card interface 195 and the like.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
  • the terminal 100 may include more or less components than shown, or some components may be combined, or some components may be separated, or different component arrangements.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processors, for example, the processor 110 may include an application processor (application processor, AP), a modem (modem), a graphics processor (graphics processing unit, GPU), an image signal processor ( image signal processor (ISP), controller, video codec, digital signal processor (DSP), baseband processor, and/or neural-network processing unit (NPU), etc. one or more. Wherein, different processors may be independent devices, or may be integrated in one or more processors. Exemplarily, the processor 110 may process the content to be displayed on the display window of the application program on the terminal 100.
  • application processor application processor
  • modem modem
  • graphics processor graphics processor
  • ISP image signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • different processors may be independent devices, or may be integrated in one or more processors.
  • the processor 110 may process the content to be displayed on the display window of the application program on the terminal 100.
  • the controller can generate the operation control signal according to the instruction operation code and the timing signal, so as to complete the control of the instruction and execute the instruction.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be directly called from the memory to avoid repeated access, reduce the waiting time of the processor 110, and improve the efficiency of the system.
  • processor 110 may include one or more interfaces.
  • the interface may include integrated circuit (inter-integrated circuit, I2C) interface, integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, pulse code modulation (Pulse Code Modulation, PCM) interface, Universal Asynchronous Receiver/Transmitter (Universal Asynchronous Receiver/ Transmitter, UART) interface, mobile industry processor interface (MobileIndustryProcessorInterface, MIPI), general input and output (General PurposeI/0Ports, GPIO), subscriber identity module (subscriber identity module, SIM) interface, and/or Universal Serial Bus (UniversalSerialBus) , USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM Pulse Code Modulation
  • UART Universal Asynchronous Receiver/Transmitter
  • MIPI mobile industry processor interface
  • General PurposeI/0Ports General PurposeI/0Ports, GPIO
  • the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the terminal 100 .
  • the terminal 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through the wireless charging coil of the terminal 100 . While the charging management module 140 charges the battery 142 , it can also supply power to other terminals through the power management module 141 .
  • the power management module 141 is used for connecting 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 194, the camera 193, the wireless communication module 160, and the like.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, 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 terminal 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in terminal 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other examples, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G, etc. applied on the terminal 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves by at least two antennas including the antenna 1, filter, amplify, etc. the received electromagnetic waves, and transmit them to the modem for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem, and then convert it into electromagnetic waves for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
  • a modem 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.
  • the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
  • the application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 .
  • the modem may be a stand-alone device.
  • the modem may be independent of the processor 110 and provided in the same device as the mobile communication module 150 or other functional modules.
  • the mobile communication module 150 may be a module in a modem.
  • the wireless communication module 160 can provide applications on the terminal 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (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 wireless fidelity
  • GNSS global navigation satellite system
  • frequency modulation frequency modulation, FM
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for
  • the antenna 1 of the terminal 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the terminal 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), fifth generation, new air interface ( new radio, NR), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc.
  • GSM global system for mobile communications
  • GPRS general packet radio service
  • CDMA code division multiple access
  • WCDMA wideband code division multiple access
  • WCDMA wideband code division multiple access
  • time division code division multiple access time-division code division multiple access
  • LTE long term evolution
  • fifth generation new air interface (new radio, NR),
  • the GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
  • global positioning system global positioning system, GPS
  • global navigation satellite system global navigation satellite system, GLONASS
  • Beidou navigation satellite system beidou navigation satellite system, BDS
  • quasi-zenith satellite system quadsi -zenith satellite system, QZSS
  • SBAS satellite based augmentation systems
  • the terminal 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • Display screen 194 is used to display images, videos, and the like.
  • Display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light).
  • emitting diode, AMOLED organic light-emitting diode
  • flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • terminal 100 may include one or more display screens 194 .
  • the display screen 194 may be used to display an interface of an application, display a display window of an application, and the like.
  • the terminal 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.
  • the ISP is used to process the data fed back by the camera 193 .
  • the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin tone. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193 .
  • the camera 193 is used to capture still images or videos, for example, to capture facial feature information, posture feature information and the like of a person.
  • the object is projected through the lens to generate an optical image onto the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal oxide semiconductor (Complementary Metal Oxide Semiconductor, CMOS) phototransistor.
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • terminal 100 may include one or more cameras 193 .
  • the camera 193 may collect the user's facial features, and transmit the facial features to the processor 110, so that the processor 110 determines the user's attention to part or all of the area on the display screen 4 according to the facial features.
  • a digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the terminal 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point, and so on.
  • Video codecs are used to compress or decompress digital video.
  • Terminal 100 may support one or more video codecs.
  • the terminal 100 can play or record videos in various encoding formats, for example, moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
  • MPEG moving picture experts group
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the processor 110 executes various functional applications and data processing of the terminal 100 by executing the instructions stored in the internal memory 121 .
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like.
  • the storage data area may store data (such as audio data, phone book, etc.) created during the use of the terminal 100 and the like.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the terminal 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
  • the audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some examples, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
  • Speaker 170A also referred to as a "speaker" is used to convert audio electrical signals into sound signals.
  • the terminal 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also referred to as "earpiece" is used to convert audio electrical signals into sound signals.
  • the voice can be answered by placing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C.
  • the terminal 100 may be provided with at least one microphone 170C.
  • the terminal 100 may be provided with two microphones 170C, which may implement a noise reduction function in addition to collecting sound signals.
  • the terminal 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
  • the earphone jack 170D is used to connect wired earphones.
  • the earphone interface 170D may be the USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and an ambient light sensor 180L, bone conduction sensor 180M, etc.
  • the pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals.
  • pressure sensor 180A may be provided on display screen 194 .
  • the capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes.
  • the terminal 100 determines the intensity of the pressure according to the change in capacitance.
  • the terminal 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the terminal 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation whose intensity is less than the first pressure threshold acts on the short message application icon, the instruction for viewing the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the motion attitude of the terminal 100 .
  • the angular velocity of terminal 100 about three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the gyro sensor 180B detects the angle at which the terminal 100 shakes, calculates the distance that the lens module needs to compensate for according to the angle, and allows the lens to offset the movement of the terminal 100 through reverse motion. Shake, achieve anti-shake.
  • the air pressure sensor 180C is used to measure air pressure.
  • the terminal 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the terminal 100 in various directions (generally three axes). When the terminal 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the terminal, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the terminal 100 can measure the distance through infrared or laser. In some examples, when using the terminal to collect user characteristic information of the user in the environment, the terminal 100 may use the distance sensor 180F to measure the distance to achieve fast focusing.
  • the ambient light sensor 180L is used to sense ambient light brightness.
  • the terminal 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the terminal 100 can use the collected fingerprint characteristics to unlock the fingerprint, access the application lock, take a picture with the fingerprint, answer the incoming call with the fingerprint, and the like.
  • the temperature sensor 180J is used to detect the temperature.
  • the terminal 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the terminal 100 reduces the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the terminal 100 when the temperature is lower than another threshold, the terminal 100 heats the battery 142 to avoid abnormal shutdown of the terminal 100 due to low temperature.
  • the terminal 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch device”.
  • the touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to touch operations may be provided through display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the terminal 100 , which is different from the position where the display screen 194 is located.
  • the keys 190 include a power-on key, a volume key, an input keyboard, and the like. Keys 190 may be mechanical keys. It can also be a touch key.
  • the terminal 100 may receive key input and generate key signal input related to user settings and function control of the terminal 100 .
  • Motor 191 can generate vibrating cues.
  • the motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback.
  • touch operations acting on different applications may correspond to different vibration feedback effects.
  • the motor 191 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be contacted and separated from the terminal 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 .
  • the terminal 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the terminal 100 interacts with the network through the SIM card to realize functions such as calls and data communication.
  • the terminal 100 employs an eSIM, ie an embedded SIM card.
  • the eSIM card can be embedded in the terminal 100 and cannot be separated from the terminal 100 .
  • the display window of the application will be displayed on the display screen of the mobile phone, such as the display window 12 in FIG. 1a.
  • an image will be displayed, such as the content displayed in the display window 12 in FIG. 1a; wherein, in this solution, the image can be understood as a video, a picture, and the like.
  • the application may also be referred to as an application program, software, or the like.
  • the state related to the image displayed in the display window of the application on the mobile phone may be at least one of the display state of the display window of the application on the mobile phone or the user state of the user currently using the mobile phone.
  • the following descriptions are given by taking the states related to the images displayed in the display window of the application on the mobile phone as the display state and the user state.
  • the state related to the image displayed in the display window of the application on the mobile phone is the display state
  • the display state may include the size of the display window of the application, the content expressed by the image displayed in the display window of the application, and the like.
  • the mobile phone can determine whether the state related to the image displayed in the display window of the application on the mobile phone has changed by determining whether the size of the display window has changed.
  • the size of the display window 12 when the size of the display window 12 is switched from the size in FIG. 1a to the size in FIG. 1b, it can be determined that the size of the display window has changed, in other words, the display state occurs at this time. changed.
  • the size of the display window 12 when the size of the display window 12 is switched from the size in FIG. 1b to the size in FIG. 1a, it can also be determined that the size of the display window has changed, in other words, the display state has changed at this time.
  • the mobile phone can identify the image in the display window based on neural-network processing units (NPU), etc., or based on the slave server
  • NPU neural-network processing units
  • the acquired data determines the content expressed by the image, and then determines whether the content expressed by the image has changed.
  • the type of the content before the change and the type of the content after the change may be different, for example, the content before the change is video content, and the content after the change The content is game content and so on.
  • the mobile phone can determine that the content displayed on the current display window 14 is the game content based on the data obtained from the server.
  • the mobile phone can determine that the content displayed on the current display window 14 is video content based on the data obtained from the server.
  • the display content in the display window 14 is switched from FIG. 2a to FIG. 2b, it can be determined that the content expressed by the image in the display window 14 has changed, that is, the expressed content is switched from game content to video content.
  • the display content in the display window 14 is switched from FIG. 2b to FIG. 2a, it can be determined that the content expressed by the image in the display window 14 has changed, that is, the expressed content is switched from video content to game content.
  • the judgment can also be made in combination with the running speed of a graphics processor (Graphics Processing Unit, GPU) in the mobile phone. For example, when the user is playing a game, the GPU runs faster, and when the user watches a video, the GPU runs slowly, so the image displayed in the application's display window can be determined by the GPU's running speed. Whether the content expressed has changed.
  • a graphics processor Graphics Processing Unit, GPU
  • the state related to the image displayed in the display window of the application on the mobile phone is the user state
  • the user state may include the user's attention to a certain area on the display window, the operation frequency of the user's operation of the mobile phone, and the like.
  • the mobile phone can use the eye tracking technology to collect the user's eye movement state through the image acquisition device such as the camera on the mobile phone, and estimate the position of the user's eye gaze point. After the mobile phone estimates the position of the user's eye gaze point, if the position of the user's eye gaze point is in the area where the display window is located, it can be determined that the user is paying attention to the image displayed on the display window; otherwise, it can be determined that the user is not paying attention. Displays the image displayed on the window.
  • the user's gaze duration can be counted, and then the corresponding degree of attention can be determined according to the time interval to which the user's gaze duration belongs.
  • the gaze duration of the user's gaze at the display window may be the gaze duration of the user's gaze at part or all of the area on the display window; in addition, the user's gaze is the user's eye gaze.
  • the mobile phone can determine that the user M is looking at the displayed content in the display window 15 at this time. Then, the mobile phone can count the gazing duration of the user M's gazing at the display window 15, for example, 10 seconds. If the relationship between the pre-configured duration interval and the degree of attention is: if the fixation duration is 0 to 8s, the degree of attention is level 1; if the fixation duration is 8s to 16s, the degree of attention is level 2; if the fixation duration is greater than 16s, the degree of attention is 3 level; then when the fixation time is 10s, the determined attention degree is level 2.
  • the mobile phone can determine that the user M is looking at the displayed content in the display window 16, that is, it can be determined that the user M no longer pays attention to the display window 15, and the user is paying attention to the display window 15 at this time. Can be 0.
  • the eyeball of the user M is switched from gazing at the display window 15 to gazing at the display window 16 , it can be determined that the user's attention to a certain area on the display window 15 has changed.
  • the eyeball of the user M is switched from gazing at the display window 16 to gazing at the display window 15 , it can be determined that the user's attention to a certain area on the display window 16 has changed.
  • the mobile phone can count the frequency of the operating instructions issued by the user to determine the operating frequency of the user operating the mobile phone, and then determine whether the operating frequency has changed.
  • the operating frequency of the user operating the mobile phone is high, the user is often in a game state; and when the operating frequency of the user operating the mobile phone is low, the user is often in the state of watching videos.
  • FIG. 2a the user is in a game state, and the user's finger will frequently touch the display screen of the mobile phone 11 .
  • FIG. 2b the user is in the state of watching the game video, and the frequency of the user's finger touching the display screen of the mobile phone 11 is very low.
  • the operating frequency of the user operating the mobile phone is switched from the operating frequency in FIG. 2a to the operating frequency in FIG. 2b, it can be determined that the operating frequency of the user operating the mobile phone has changed.
  • the operating frequency of the user operating the mobile phone is switched from the operating frequency in FIG. 2b to the operating frequency in FIG. 2a, it can also be determined that the operating frequency of the user operating the mobile phone has changed.
  • the state related to the image displayed in the display window before the change is called the first state
  • the state related to the image displayed in the display window after the change is called the second state. state.
  • the mobile phone can determine the parameters required for outputting the image in the display window in the second state, wherein the required parameters for outputting the image may include image quality , at least one of frame rate or resolution.
  • the mobile phone may, according to the size of the display window after the change, and the mapping relationship between the size of the display window and the resolution that can be displayed, Determine the resolution that the changed display window can display.
  • the mobile phone can determine the output image in the second state according to the mapping relationship between the pre-calibrated content and the parameters required to output the image required parameters. For example, when the content expressed by the image in the display window is game content, the image quality, frame rate and resolution can all be level 1; when the content expressed by the image in the display window is video content, the image quality, frame rate and resolution The resolutions can all be level 2; among them, the display effect of level 1 is stronger than that of level 2.
  • the mobile phone can determine the output image in the second state according to the mapping relationship between the pre-calibrated attention and the parameters required for outputting the image required parameters. For example, when the degree of attention is level 1, the image quality, frame rate, and resolution may all be level 1; when the degree of attention is level 2, the image quality, frame rate, and resolution may all be level 2.
  • the mobile phone can determine the parameters required for outputting the image in the second state according to the mapping relationship between the pre-calibrated operating frequency and the parameters required for outputting the image. For example, when the operating frequency is level 1, the image quality, frame rate and resolution can all be level 1; when the operating frequency is level 2, the image quality, frame rate and resolution can all be level 2.
  • the parameters of the mobile phone outputting the image displayed in the display window in the first state are referred to as the second parameter
  • the parameters of the mobile phone outputting the image displayed in the display window in the second state are referred to as the second parameter.
  • the first parameter is the first parameter.
  • the first parameter and the second parameter are of the same type.
  • the deviation value between the two can be determined.
  • the deviation value can be a difference value, a ratio value and so on.
  • the difference value can be a difference value, a ratio value and so on.
  • the parameter values of the first parameter and the second parameter may be calibrated to different values, and then the deviation value is calculated.
  • the first parameter and the second parameter are both resolutions
  • 1080p can be calibrated as number 10
  • 720p can be calibrated as number 7.
  • both the first parameter and the second parameter may be represented by numerical values instead.
  • the first parameter may be 100
  • the second parameter may be 80, and so on.
  • the magnitude relationship between the deviation value and the preset difference value can be determined.
  • the deviation value is less than or equal to the preset difference value, it indicates that the deviation between the first parameter and the second parameter is small, and at this time, the performance of the terminal when outputting an image with the first parameter and outputting an image with the second parameter is almost the same , so the terminal can continue to output the image with the second parameter at this time.
  • the terminal can adjust the second parameter to the first parameter, and then output the image with the first parameter.
  • the second parameter may be adjusted to the first parameter.
  • the first parameter is the parameter of the image displayed in the display window output by the mobile phone in the second state
  • the second parameter is the parameter of the image displayed in the display window of the mobile phone in the first state
  • the first state is the same as before the change.
  • a state related to the image displayed in the display window, and the second state is a changed state related to the image displayed in the display window.
  • the following describes how to adjust the second parameter to the first parameter, respectively, for the second parameter greater than the first parameter and the second parameter less than the first parameter.
  • the first and second parameters are greater than the first parameter
  • the second parameter is greater than the first parameter, it indicates that the display effect of the image displayed in the display window is reduced after the state change related to the image displayed in the display window. At this time, the second parameter can be adjusted to the first parameter in the following manner.
  • a. Reduce at least one of the operating frequency of the processor in the mobile phone that processes the image displayed in the display window or the operating voltage of the power domain to which the processor belongs. For example, the video post-processing performance of the decoder in the mobile phone can be reduced (for example, the working clock of the logic is reduced, etc.), the matching voltage of the decoder in the mobile phone can be reduced, and the like.
  • the image processing algorithms can include contour removal (De Contour, DC), mosquito noise removal (De Mosquito, DM), halo noise removal (De Ring, DR), motion estimation and compensation (Motion Estimate and Motion Compensation, MEMC), noise reduction (Noise Reduction, NR), image super-resolution (Super Resolution, SR), and other algorithms.
  • contour removal De Contour, DC
  • mosquito noise removal De Mosquito, DM
  • halo noise removal De Ring, DR
  • motion estimation and compensation Motion Estimate and Motion Compensation
  • MEMC Motion Estimate and Motion Compensation
  • MEMC Motion Estimate and Motion Compensation
  • NR image super-resolution
  • 2 image processing algorithms such as NR, SR.
  • the frame dropping method may be a video pre-processing (Video Process Sub-System, VPSS) frame dropping method.
  • the resolution of the data source requested by the application in the mobile phone to be obtained from the server can be switched from the second parameter to the first parameter, in other words, in the display window of the application in the mobile phone.
  • the data source of the image is switched from the data source of the resolution of the second parameter to the data source of the resolution of the first parameter. For example, continuing to refer to FIG. 1a and FIG. 1b, if the resolution of the display window 12 in FIG. 1a is 1080p, and the resolution of the display window 12 in FIG. 1b is 720p, then in FIG. 720p original image data, that is, the film source of the application to which the switch display window 12 belongs.
  • the second parameter is smaller than the first parameter
  • the second parameter is smaller than the first parameter, it indicates that the display effect of the image displayed in the display window is improved after a state change related to the image displayed in the display window.
  • the second parameter can be adjusted to the first parameter in the following manner.
  • a. Increase at least one of the operating frequency of the image processor displayed in the processing display window in the mobile phone or the operating voltage of the power supply domain to which the processor belongs.
  • the video post-processing performance of the decoder in the mobile phone can be improved (for example, the working clock of the logic can be improved, etc.), and the matching voltage of the decoder in the mobile phone can be improved.
  • the image processing algorithms can include contour removal (De Contour, DC), mosquito noise removal (De Mosquito, DM), halo noise removal (De Ring, DR), motion estimation and compensation (Motion Estimate and Motion Compensation, MEMC), noise reduction (Noise Reduction, NR), image super-resolution (Super Resolution, SR), and other algorithms.
  • contour removal De Contour, DC
  • mosquito noise removal De Mosquito, DM
  • halo noise removal De Ring, DR
  • MEMC Motion Estimate and Motion Compensation
  • MEMC Motion Estimate and Motion Compensation
  • MEMC Motion Estimate and Motion Compensation
  • noise reduction Noise Reduction, NR
  • image super-resolution Super Resolution, SR
  • the display state in the display window 14 is switched from the video playback state in Fig. 2b to Fig.
  • the number of image processing algorithms for the images in the display window 14 can be increased in FIG. 2a, such as adding MEMC and DC algorithms, so that the processing algorithms for the images in the display window 14 in FIG. 2a are MEMC, DC, NR. , SR.
  • the frame supplementation method may be a motion estimation compensation (Motion Estimate and Motion Compensation, MEMC) frame supplementation method.
  • MEMC Motion Estimate and Motion Compensation
  • the resolution of the data source requested by the application in the mobile phone to be obtained from the server can be switched from the second parameter to the first parameter, in other words, in the display window of the application in the mobile phone.
  • the data source of the image is switched from the data source of the resolution of the second parameter to the data source of the resolution of the first parameter. For example, continue referring to FIG. 1a and FIG. 1b, if the resolution of the display window 12 in FIG. 1b is 720p, and the resolution of the display window 12 in FIG. 1a is 1080p, then in FIG.
  • the 1080p original image data that is, the film source of the application to which the switching display window 12 belongs.
  • the second parameter when the second parameter is greater than the first parameter, it can indicate that the user's attention to the image displayed in the display window of the application is reduced. At this time, the user may be paying attention to other areas on the display screen of the mobile phone. Therefore, at this time, the number of image processing algorithms for images in other areas on the display screen of the mobile phone can be increased, so as to present the images in other areas to the user with a better display effect and improve user experience.
  • an image processing algorithm for processing the images in the display window 16 can be added; for example, in FIG. 3a, the processing display window 16
  • There are two processing algorithms for the images in FIG. 3 such as NR and SR.
  • FIG. 3 b there are four processing algorithms for processing the images in the display window 16 , such as MEMC, DC, NR, and SR.
  • the second parameter is smaller than the first parameter, it can indicate that the user's attention to the image displayed in the display window of the application is improved. Therefore, at this time, the number of image processing algorithms for images in other areas on the display screen of the mobile phone can be reduced, so as to reduce the power consumption of the mobile phone.
  • the image processing algorithm for processing the images in the display window 15 can be reduced; for example, in FIG. 3a, the processing display window 15
  • There are four processing algorithms for the images in FIG. 3 such as MEMC, DC, NR, and SR.
  • FIG. 3 b there are two processing algorithms for processing the images in the display window 15 , such as NR and SR.
  • the adjustment value of each parameter that needs to be adjusted in the mobile phone can be determined based on the deviation value between the two.
  • the adjustment value may be determined.
  • Table 1 shows the mapping relationship between the deviation value and the adjustment value.
  • the adjustment value can be determined according to the deviation value between the second parameter and the first parameter, thereby determining Output the operating voltage of the power domain to which the processor belongs after adjustment. After that, you can adjust the working voltage of the power domain to which the processor belongs.
  • FIG. 5 is a schematic flowchart of a terminal control method provided by an embodiment of the present application. It can be understood that the method can be performed by any apparatus, device, platform, or device cluster with computing and processing capabilities. As shown in Figure 5, the terminal control method includes:
  • Step S101 it is determined that the target state is switched from the first state to the second state.
  • the target state may include at least one of the display state of the display window of the first application on the terminal or the user state of the user currently using the terminal, wherein the display window of the first application displays the first image.
  • the terminal When the target state is the display state, the terminal, a component on the terminal, or other equipment may monitor the display state of the display window of the first application on the terminal to determine whether the display state changes. 1a and 1b, when the state of the display window 12 is switched from the state in FIG. 1a to the state in FIG. 1b, it can be determined that the display state of the display window 12 has changed.
  • the terminal When the target state is the user state, the terminal, a component on the terminal, or other equipment may also monitor the user state to determine whether the user state changes. Exemplarily, referring to FIG. 3a and FIG. 3b, when the user state is switched from the state in FIG. 3a to the state in FIG. 3b, it can be determined that the user state has changed.
  • the display state may include at least one of the size of the display window and the target content expressed by the first image; the user state may include the user's target attention to the first area on the display window, and the first area is used for Part or all of the first image is displayed, and at least one of a target operation frequency for the user to operate the terminal.
  • the display state is the size of the display window, after it is determined that the size of the display window is switched from the first size to the second size, it can be determined that the target state is switched from the first state to the second state.
  • the first size is different from the second size.
  • the display state is the target content expressed by the first image
  • the target content expressed by the first image is switched from the first content to the second content
  • the types of the first content and the second content are different.
  • the user state is the user's target attention to the first area on the display window, after it is determined that the target attention is switched from the first attention to the second attention, it can be determined that the target state is switched from the first state to the second state.
  • the first degree of attention is different from the second degree of attention.
  • the user state is the target operating frequency of the user operating the terminal, after determining that the target operating frequency is switched from the first operating frequency to the second operating frequency, it can be determined that the target state is switched from the first state to the second state.
  • the first operating frequency is different from the second operating frequency.
  • Step S102 Determine the first parameter required by the terminal to output the first image in the second state.
  • the first parameter required by the terminal to output the first image in the second state can be determined.
  • the first parameter may include at least one of image quality, frame rate or resolution.
  • the first parameter can be determined according to the second state.
  • the first parameter may also be determined by perception of the terminal system, and reference may also be made to the above related description.
  • Step S103 Adjust the second parameter to the first parameter, the second parameter is a parameter corresponding to when the terminal outputs the first image in the first state, and the first parameter and the second parameter are of the same type.
  • the corresponding parameter ie, the second parameter
  • the corresponding parameter when the terminal outputs the first image in the first state can be adjusted to the first parameter, so that the terminal outputs the first image with the first parameter , so that the running state of the terminal matches at least one of the display state of the display window or the user state, preventing the terminal from running with high performance or low performance continuously, and helping to solve the problem that the power consumption of the terminal increases or the display effect fails. Meet user needs and other issues to improve user experience.
  • the types of the first parameter and the second parameter may be the same, that is, when the first parameter is image quality, the second parameter is also image quality; when the first parameter is frame rate, the second parameter is also Frame rate; when the first parameter is resolution, the second parameter is also resolution.
  • the acquisition method of the second parameter please refer to the acquisition method of the first parameter.
  • the second parameter can be adjusted to the first parameter in the following manner.
  • the second parameter is greater than the first parameter, at least one of the operating frequency of the processor in the terminal or the operating voltage of the power supply domain to which the processor belongs can be reduced, and the processor is used to process the first image; if the second parameter is less than the first parameter A parameter can increase at least one of the operating frequency of the processor in the terminal or the operating voltage of the power supply domain to which the processor belongs.
  • the first image can be processed with the first number of first image processing algorithms, wherein when the first image is output with the second parameter, the number of the first image processing algorithms is the second number, the first number is less than the second number; if the second parameter is less than the first parameter, the first image can be processed with a third number of the first image processing algorithm, and the third number is greater than the second number.
  • the image in the second area can be processed by a fourth number of second image algorithms, and the second area is at least part of the display area on the terminal except the area occupied by the display window, wherein , when the first image is output with the second parameter, the number of the second image processing algorithm is the fifth number, and the fourth number is greater than the fifth number; if the second parameter is less than the first parameter, the sixth number of the second image can be used
  • the algorithm processes the images in the second region, the sixth quantity being smaller than the fifth quantity.
  • the first parameter may include a frame rate; wherein, if the second parameter is greater than the first parameter, the frame rate at which the terminal outputs the first image in the first state may be dropped; if the second parameter is smaller than the first parameter, Then the frame rate at which the terminal outputs the first image in the first state can be supplemented.
  • the first parameter may include resolution; then when the terminal sends the first request to the server, the resolution of the original image data carried in the first request may be switched from the first resolution to the second resolution, and the first resolution
  • the rate is the resolution at which the terminal outputs the first image in the first state
  • the second resolution is the resolution required for the terminal to output the first image in the second state
  • the first request is used to request the acquisition of data related to the first image. raw image data.
  • the above-mentioned manner of adjusting the second parameter to the first parameter may be implemented independently, or may be implemented jointly, which is not limited herein.
  • the parameters required by the terminal to output the image displayed in the display window in the changed state are determined, and Based on this parameter, the parameters of the image displayed in the output display window of the terminal are adjusted to prevent the terminal from running with high performance or low performance continuously. user experience.
  • a deviation value between the two can also be determined, and then based on the deviation value, it is determined whether to adjust the second parameter to the first parameter to avoid unnecessary to improve the accuracy of parameter adjustment. Specifically, as shown in Figure 6, the following steps are included:
  • Step S201 Determine the deviation value between the first parameter and the second parameter.
  • the first parameter and the second parameter are mathematically calculated to determine the deviation value between the two.
  • the deviation value may be a difference value, a ratio value, or the like.
  • Step S202 judging whether the deviation value is less than or equal to the preset difference value.
  • step S203 is executed; otherwise, step S204 is executed.
  • Step S203 do not adjust the second parameter.
  • the deviation value is less than or equal to the preset difference value, it indicates that the deviation between the first parameter and the second parameter is relatively small, and at this time, the performance of the terminal when outputting an image with the first parameter and outputting an image with the second parameter is different There are few, so the terminal can continue to output the image with the second parameter at this time, that is, the second parameter is not adjusted at this time.
  • Step S204 adjusting the second parameter to the first parameter.
  • the deviation value is greater than the preset difference value, it indicates that the deviation between the first parameter and the second parameter is relatively large.
  • the terminal continues to output the image with the second parameter, the terminal is likely to continue to output images with high performance or low performance. Therefore, at this time, the second parameter can be adjusted to the first parameter, so that the terminal outputs the image with the first parameter.
  • FIG. 7 is a schematic flowchart of a terminal control method provided by an embodiment of the present application. It can be understood that the method can be performed by any apparatus, device, platform, or device cluster with computing and processing capabilities. As shown in Figure 7, the terminal control method includes:
  • Step S301 determining that the target state is switched from the first state to the second state, and the target state includes at least one of the display state of the display window of the first application on the terminal or the user state of the user currently using the terminal, wherein the first application The first image is displayed on the display window of .
  • the target state includes at least one of the display state of the display window of the first application on the terminal or the user state of the user currently using the terminal, wherein the first application The first image is displayed on the display window of .
  • Step S302 Adjust target parameters in the terminal, where the target parameters are related to the display effect of the first image.
  • adjusting the target parameters in the terminal may include one or more of the following methods:
  • frame dropping may be performed on the video stream corresponding to the first image, or frame supplementation may be performed on the video stream corresponding to the first image.
  • the resolution of the original image data related to the first image carried in the first request can be adjusted when the terminal sends the first request to the server, and the first request is used to request the acquisition of the original image data.
  • the second parameter corresponding to the first image in the second state may be determined first, and the second parameter is of the same type as the first parameter; Then, the first parameter is adjusted according to the first parameter and the second parameter.
  • adjusting the first parameter according to the first parameter and the second parameter may include: when there is a deviation between the first parameter and the second parameter, adjusting the first parameter to the second parameter; or when the first parameter is different from the second parameter When the deviation value between the second parameters is greater than the preset difference value, the first parameter is adjusted based on the deviation value so that the deviation value is smaller than or equal to the preset difference value.
  • FIG. 8 is a schematic structural diagram of a terminal control apparatus provided by an embodiment of the present application.
  • the terminal control apparatus 800 includes: a determination module 81 and a processing module 82; wherein, the determination module 81 is used to determine that the target state is switched from the first state to the second state, and the target state includes the first application on the terminal. At least one of the display state of the display window or the user state of the user currently using the terminal, and the first image is displayed on the display window of the first application; the processing module 82 is used to adjust the target parameter in the terminal, and the target parameter is the same as the first image. It is related to the display effect of an image.
  • the target state includes the display state
  • the display state includes the size of the display window
  • the determining module 81 is specifically configured to: determine that the size of the display window is switched from the first size to the second size.
  • the target state includes a display state, and the display state includes the target content expressed by the first image;
  • the determining module 81 is specifically configured to: determine that the target content is switched from the first content to the second content, and the type of the first content is the same as that of the first content. The type of the second content is different.
  • the target state includes a user state
  • the user state includes the user's target attention to the first area on the display window, and the first area is used to display part or all of the first image
  • the determining module 81 is specifically configured to: determine The target attention degree is switched from the first attention degree to the second attention degree.
  • the determining module 81 is specifically configured to: determine the gaze duration during which the user's eyeballs gaze at the first region, and determine the target attention degree according to the duration interval to which the gaze duration belongs.
  • the target state includes a user state
  • the user state includes a target operating frequency of the user operating the terminal
  • the determining module 81 is specifically configured to: determine that the target operating frequency is switched from the first operating frequency to the second operating frequency.
  • the processing module 82 is specifically configured to: reduce at least one of the operating frequency of the processor in the terminal or the operating voltage of the power supply domain to which the processor belongs, and the processor is used to process the first image; or increase the processor in the terminal at least one of the operating frequency of the processor or the operating voltage of the power domain to which the processor belongs.
  • the processing module 82 is specifically configured to: increase the number of the first image processing algorithms, where the first image processing algorithm is used to process the first image; or reduce the number of the first image processing algorithms.
  • the processing module 82 when the number of the first image processing algorithms is increased, the processing module 82 is further configured to: reduce the number of the second image processing algorithms, and the second image processing algorithm is used to process the area on the terminal except the area occupied by the display window At least part of the image outside the display area; or, in the case of reducing the number of the first image processing algorithms, the processing module 82 is further configured to: increase the number of the second image processing algorithms.
  • the target parameter includes frame rate
  • the processing module 82 is specifically configured to: drop frames on the video stream corresponding to the first image, or perform frame supplementation on the video stream corresponding to the first image.
  • the target parameter includes resolution
  • the processing module 82 is specifically configured to: when the terminal sends the first request to the server, adjust the resolution of the original image data related to the first image carried in the first request, and the first request is used for requesting to obtain the original image data.
  • the target parameter includes a first parameter corresponding to the first image in the first state; the processing module 82 is further configured to: determine a second parameter corresponding to the first image in the second state, and the second parameter is the same as the first parameter.
  • One parameter is of the same type; the first parameter is adjusted according to the first parameter and the second parameter.
  • the processing module 82 is further configured to: when there is a deviation between the first parameter and the second parameter, adjust the first parameter to the second parameter; or when the deviation value between the first parameter and the second parameter is greater than When the difference value is preset, based on the deviation value, the first parameter is adjusted so that the deviation value is less than or equal to the preset difference value.
  • FIG. 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device provided by the embodiment of the present application can be used to implement the method described in the foregoing method embodiment.
  • the electronic device includes at least one processor 901, and the at least one processor 901 can support the electronic device to implement the methods provided in the embodiments of this application.
  • the processor 901 may be a general-purpose processor or a special-purpose processor.
  • the processor 901 may include a central processing unit (CPU) and/or a baseband processor.
  • the baseband processor may be used for processing communication data (for example, determining a target screen terminal), and the CPU may be used for implementing corresponding control and processing functions, executing software programs, and processing data of software programs.
  • the electronic device may further include a transceiver unit 905 to implement signal input (reception) and output (send).
  • the transceiver unit 905 may include a transceiver or a radio frequency chip.
  • Transceiver unit 905 may also include a communication interface.
  • the electronic device may further include an antenna 906, which may be used to support the transceiver unit 905 to implement the transceiver function of the electronic device.
  • the electronic device may include one or more memories 902 on which programs (or instructions or codes) 904 are stored, and the program 904 may be executed by the processor 901, so that the processor 901 executes the above method embodiments. method described.
  • data may also be stored in the memory 902 .
  • the processor 901 can also read the data stored in the memory 902 (for example, the pre-stored first feature information), the data can be stored in the same storage address as the program 904, and the data can also be stored with the program 904 at different storage addresses.
  • the processor 901 and the memory 902 can be provided separately, or can be integrated together, for example, integrated on a single board or a system on chip (system on chip, SOC).
  • SOC system on chip
  • the embodiments of the present application further provide another electronic device, where the electronic equipment includes the terminal control apparatus 800 provided in the foregoing embodiments.
  • an embodiment of the present application further provides a terminal control apparatus.
  • FIG. 10 is a schematic structural diagram of another terminal control apparatus provided by an embodiment of the present application.
  • the terminal control apparatus 1000 includes one or more processors 1001 and an interface circuit 1002 .
  • the terminal control apparatus 1000 may further include a bus 1003 . in:
  • the processor 1001 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned method can be completed by an integrated logic circuit of hardware in the processor 1001 or an instruction in the form of software.
  • the above-mentioned processor 1001 may be a general purpose processor, a digital communicator (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components .
  • DSP digital communicator
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the interface circuit 1002 can be used for sending or receiving data, instructions or information.
  • the processor 1001 can use the data, instructions or other information received by the interface circuit 1002 to process, and can send the processing completion information through the interface circuit 1002.
  • the terminal control apparatus 1000 further includes a memory, which may include a read-only memory and a random access memory, and provides operation instructions and data to the processor.
  • a portion of the memory may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • the memory stores executable software modules or data structures
  • the processor may execute corresponding operations by calling operation instructions stored in the memory (the operation instructions may be stored in the operating system).
  • the interface circuit 1002 may be used to output the execution result of the processor 1001 .
  • processor 1001 and the interface circuit 1002 can be implemented by hardware design, software design, or a combination of software and hardware, which is not limited here.
  • each step of the above method embodiments may be implemented by a logic circuit in the form of hardware or an instruction in the form of software in a processor.
  • the processor in the embodiments of the present application may be a central processing unit (central processing unit, CPU), and may also be other general-purpose processors, digital signal processors (digital signal processors, DSP), application-specific integrated circuits (application specific integrated circuit, ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof.
  • a general-purpose processor may be a microprocessor or any conventional processor.
  • the method steps in the embodiments of the present application may be implemented in a hardware manner, or may be implemented in a manner in which a processor executes software instructions.
  • Software instructions can be composed of corresponding software modules, and software modules can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (programmable rom) , PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM), registers, hard disks, removable hard disks, CD-ROMs or known in the art in any other form of storage medium.
  • An exemplary storage medium is coupled to the processor, such that the processor can read information from, and write information to, the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the processor and storage medium may reside in an ASIC.
  • the above-mentioned embodiments it may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • software it can be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted over a computer-readable storage medium.
  • the computer instructions can be sent from one website site, computer, server, or data center to another website site by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) , computer, server or data center.
  • the computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, or the like that includes an integration of one or more available media.
  • the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state disks (SSDs)), and the like.

Abstract

The present application relates to the technical field of artificial intelligence, in particular relates to the technical field of terminal control, and provides a terminal control method and apparatus, and an electronic device. In the present solution, after it is determined that the state related to an image displayed in a display window of an application on a terminal has changed, target parameters related to a display effect of a first image in the terminal may be adjusted so as to prevent the terminal from continuing to operate at high performance or low performance, which helps to solve problems such as the increased power consumption of the terminal or the inability of the display effect to meet user needs, and improves the user experience.

Description

终端控制方法、装置及电子设备Terminal control method, device and electronic device 技术领域technical field
本申请涉及人工智能技术领域,尤其涉及一种终端控制方法、装置及电子设备。The present application relates to the technical field of artificial intelligence, and in particular, to a terminal control method, device and electronic device.
背景技术Background technique
目前,手机、计算机等终端已经成为人们生活中的必需品。用户使用终端时,可以在终端上安装各类应用程序(Application,APP),例如:视频类、游戏类、社交类、新闻类等应用程序。但当用户在终端上使用应用程序时,终端往往会依据用户在应用程序中设置的或系统默认的显示效果,在应用程序的显示窗口中向用户呈现该应用程序所能提供的内容,例如:图片、视频等图像内容,这就使得用户在终端上使用应用程序的过程中,应用程序的显示窗口所显示内容的显示效果是一成不变的。而当终端上应用程序的显示窗口所显示内容的显示效果是一成不变时,终端往往会持续处于高性能状态或者持续处于低性能状态,进而出现终端的功耗增大或者显示效果无法满足用户需求等问题。因此,如何避免终端持续处于高性能状态或者持续处于低性能状态是目前亟需解决的技术问题。At present, terminals such as mobile phones and computers have become necessities in people's lives. When a user uses the terminal, various application programs (Application, APP) can be installed on the terminal, for example, application programs such as video, game, social networking, and news. However, when a user uses an application program on the terminal, the terminal often presents the content that the application program can provide to the user in the display window of the application program according to the display effect set by the user in the application program or the default display effect of the system, such as: Image content such as pictures, videos, etc., which makes the display effect of the content displayed in the display window of the application program remain unchanged when the user uses the application program on the terminal. However, when the display effect of the content displayed in the display window of the application program on the terminal remains unchanged, the terminal often remains in a high-performance state or in a low-performance state, and then the power consumption of the terminal increases or the display effect cannot meet user needs, etc. question. Therefore, how to prevent the terminal from continuously being in a high-performance state or continuously being in a low-performance state is a technical problem that needs to be solved urgently at present.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种终端控制方法、装置及电子设备,能够避免终端持续以高性能或低性能运行,有助于解决出现终端的功耗增大或者显示效果无法满足用户需求等问题,提升了用户体验。The embodiments of the present application provide a terminal control method, device, and electronic device, which can prevent the terminal from continuously running with high performance or low performance, and help solve problems such as increased power consumption of the terminal or the inability of the display effect to meet user needs, etc. Improved user experience.
第一方面,本申请实施例提供了一种终端控制方法,方法包括:确定目标状态由第一状态切换为第二状态,目标状态包括终端上第一应用的显示窗口的显示状态或当前使用终端的用户的用户状态中的至少一项,其中,第一应用的显示窗口上显示有第一图像;调整终端中的目标参数,目标参数与第一图像的显示效果有关。由此,本方案中,在确定出与终端上应用的显示窗口中显示的图像相关的状态发生变化后,调整终端中与第一图像的显示效果有关的参数,以对第一图像的显示效果进行调整,从而避免终端持续以高性能或低性能运行,有助于解决出现终端的功耗增大或者显示效果无法满足用户需求等问题,提升了用户体验。In a first aspect, an embodiment of the present application provides a terminal control method. The method includes: determining that a target state is switched from a first state to a second state, where the target state includes a display state of a display window of a first application on a terminal or a terminal currently in use. At least one of the user states of the user, wherein the first image is displayed on the display window of the first application; the target parameter in the terminal is adjusted, and the target parameter is related to the display effect of the first image. Therefore, in this solution, after it is determined that the state related to the image displayed in the display window of the application on the terminal has changed, the parameters related to the display effect of the first image in the terminal are adjusted to improve the display effect of the first image. Adjustments are made to prevent the terminal from continuously running with high performance or low performance, which helps to solve problems such as increased power consumption of the terminal or that the display effect cannot meet user needs, and improves user experience.
在一种可能的实现方式中,目标状态包括显示状态,显示状态包括显示窗口的尺寸;确定目标状态由第一状态切换为第二状态,包括:确定显示窗口的尺寸由第一尺寸切换为第二尺寸。由此,确定出目标状态是否发生变化。示例性的,若显示窗口在终端上以全屏显示时的尺寸为100mmx80mm,以半屏显示时的尺寸为50mmx80mm,则当用户将显示窗口由全屏显示切换为半屏显示时,显示窗口的尺寸则由100mmx80mm切换为50mmx80mm,此时即可以确定出显示窗口的尺寸发生了变化,也即是说,此时目标状态发生了变化。In a possible implementation manner, the target state includes a display state, and the display state includes the size of the display window; determining that the target state is switched from the first state to the second state includes: determining that the size of the display window is switched from the first size to the second state Two size. From this, it is determined whether or not the target state has changed. Exemplarily, if the size of the display window is 100mmx80mm when displayed in full screen on the terminal and 50mmx80mm when displayed in half screen, then when the user switches the display window from full screen display to half screen display, the size of the display window is By switching from 100mmx80mm to 50mmx80mm, it can be determined that the size of the display window has changed, that is to say, the target state has changed at this time.
在一种可能的实现方式中,目标状态包括显示状态,显示状态包括第一图像所表达的目标内容;确定目标状态由第一状态切换为第二状态,包括:确定目标内容由第一 内容切换为第二内容,其中,第一内容的类型与第二内容的类型不同。由此,确定出目标状态是否发生变化。示例性的,当第一应用为游戏应用时,用户可以在该应用的显示窗口上玩游戏或者观看他人玩游戏;当用户玩游戏时,第一图像所表达的内容则为游戏内容,该内容的类型即为游戏类;当用户观看他人玩游戏时,第一图像所表达的内容则为视频内容,该内容的类型则为视频类;此时,若第一图像表达的内容由游戏内容切换为视频内容,则可以确定出第一图像所表达的内容发生了变化,也即是说,此时目标状态发生了变化。In a possible implementation manner, the target state includes a display state, and the display state includes the target content expressed by the first image; determining that the target state is switched from the first state to the second state includes: determining that the target content is switched from the first content is the second content, wherein the type of the first content is different from the type of the second content. From this, it is determined whether or not the target state has changed. Exemplarily, when the first application is a game application, the user can play the game on the display window of the application or watch others play the game; when the user is playing the game, the content expressed by the first image is the game content, and the content The type of the game is the game category; when the user watches others play games, the content expressed by the first image is video content, and the type of the content is video content; at this time, if the content expressed by the first image is switched by the game content If it is video content, it can be determined that the content expressed by the first image has changed, that is, the target state has changed at this time.
在一种可能的实现方式中,目标状态包括用户状态,用户状态包括用户对显示窗口上第一区域的目标关注度,第一区域用于显示部分或全部的第一图像;确定目标状态由第一状态切换为第二状态,包括:确定目标关注度由第一关注度切换为第二关注度。由此,确定出目标状态是否发生变化。示例性的,若将终端的显示屏幕划分为两个区域,第一个区域为显示窗口所在的区域,第二个区域为除显示窗口外的区域,则当用户的视线由第一个区域切换至第二个区域后,则可以确定出用户已不再关注第一个区域,换言之,此时用户由关注显示窗口中的图像变更为不再关注显示窗口中的图像,即用户对显示窗口上图像的关注度发生了变化,也即是说,此时目标状态发生了变化。In a possible implementation manner, the target state includes the user state, the user state includes the user's target attention to the first area on the display window, and the first area is used to display part or all of the first image; determining the target state is determined by the first area on the display window. Switching from a state to a second state includes: determining that the target attention degree is switched from the first attention degree to the second attention degree. From this, it is determined whether or not the target state has changed. Exemplarily, if the display screen of the terminal is divided into two areas, the first area is the area where the display window is located, and the second area is the area other than the display window, then when the user's line of sight is switched from the first area After reaching the second area, it can be determined that the user no longer pays attention to the first area. The attention of the image has changed, that is, the target state has changed at this time.
在一种可能的实现方式中,方法还包括:确定用户的眼球注视第一区域的注视时长;根据注视时长所属的时长区间,确定目标关注度。由此,可以利用终端上的摄像头追踪用户的眼球的运动状态,当确定用户的眼球注视第一区域时,开始计时,直至用户的眼球不再注视第一区域,从而统计出用户的眼球注视第一区域的注视时长;之后,将注视时长与预先设定的时长区间进行比对,确定出当前的注视时长所属的时长区间;最后,由当前的注视时长所属的时长区间对应的关注度,得到用户对显示窗口上第一区域的目标关注度。示例性的,若预先配置的时长区间与关注度之间的关系为:注视时长为0~8s,关注度为1级;注视时长为8s~16s,关注度为2级;注视时长大于16s,关注度为3级;则当统计出的注视时长为10s时,即可以确定出的关注度为2级。In a possible implementation manner, the method further includes: determining the gaze duration of the user's eyeballs gazing at the first region; and determining the target attention degree according to the duration interval to which the gaze duration belongs. In this way, the camera on the terminal can be used to track the movement state of the user's eyeballs, and when it is determined that the user's eyeballs are fixed on the first area, the timing is started until the user's eyeballs are no longer fixed on the first area, so as to count the number of times the user's eyeballs are fixed on the first area. The fixation duration of an area; then, compare the fixation duration with the preset duration interval to determine the duration interval to which the current fixation duration belongs; finally, obtain the degree of attention corresponding to the duration interval to which the current fixation duration belongs. The user's target attention to the first area on the display window. Exemplarily, if the relationship between the preconfigured duration interval and the degree of attention is: the gaze duration is 0-8s, and the degree of attention is level 1; the gaze duration is 8s-16s, and the degree of attention is level 2; The degree of attention is level 3; then when the statistical fixation duration is 10s, the degree of attention can be determined to be level 2.
在一种可能的实现方式中,目标状态包括用户状态,用户状态包括用户操作终端的目标操作频率;确定目标状态由第一状态切换为第二状态,包括:确定目标操作频率由第一操作频率切换为第二操作频率。由此,确定出目标状态是否发生变化。示例性的,若终端为手机,则当用户操作手机的操作频率较高时,用户往往是处于游戏状态;而用户操作手机的操作频率较低时,用户往往是处于观看视频的状态,因此当确定出用户操作手机的操作频率发生变化时,即可以确定出目标状态发生了变化。In a possible implementation manner, the target state includes a user state, and the user state includes a target operating frequency of the user operating the terminal; determining that the target state is switched from the first state to the second state includes: determining that the target operating frequency is determined by the first operating frequency Switch to the second operating frequency. From this, it is determined whether or not the target state has changed. Exemplarily, if the terminal is a mobile phone, when the operating frequency of the user operating the mobile phone is high, the user is often in the game state; and when the operating frequency of the user operating the mobile phone is low, the user is often in the state of watching videos, so when When it is determined that the operating frequency of the user operating the mobile phone changes, it can be determined that the target state has changed.
在一种可能的实现方式中,调整终端中的目标参数,包括:降低终端中处理器的工作频率或处理器所属电源域的工作电压中的至少一项,处理器用于处理第一图像;或者,提高终端中处理器的工作频率或处理器所属电源域的工作电压中的至少一项。由此,可以使得终端中的处理器可以以较低的工作频率运行,或者该处理器所属的电源域可以以较低的工作电压供电,以降低第一图像的显示效果,从而避免终端持续以高性能运行,降低终端的功耗;或者,使得终端中的处理器可以以较高的工作频率运行,或者该处理器所属的电源域可以以较高的工作电压供电,以提升第一图像的显示效果,从而避免终端持续以低性能运行,提升终端的显示效果。In a possible implementation manner, adjusting the target parameter in the terminal includes: reducing at least one of the operating frequency of the processor in the terminal or the operating voltage of the power supply domain to which the processor belongs, and the processor is used to process the first image; or , increasing at least one of the operating frequency of the processor in the terminal or the operating voltage of the power supply domain to which the processor belongs. Therefore, the processor in the terminal can be run at a lower working frequency, or the power supply domain to which the processor belongs can be powered at a lower working voltage, so as to reduce the display effect of the first image and prevent the terminal from continuing to use High-performance operation can reduce the power consumption of the terminal; or, the processor in the terminal can run at a higher working frequency, or the power supply domain to which the processor belongs can be powered at a higher working voltage, so as to improve the performance of the first image. display effect, so as to prevent the terminal from running with low performance continuously and improve the display effect of the terminal.
在一种可能的实现方式中,降低终端中处理器的工作频率,包括:降低终端中解码 器的视频后处理性能;降低处理器所属电源域的工作电压,包括:降低终端中解码器的匹配电压;提高终端中处理器的工作频率,包括:提高终端中解码器的视频后处理性能;提高处理器所属电源域的工作电压,包括:提高终端中解码器的匹配电压。In a possible implementation manner, reducing the operating frequency of the processor in the terminal includes: reducing the video post-processing performance of the decoder in the terminal; reducing the operating voltage of the power supply domain to which the processor belongs, including: reducing the matching of the decoder in the terminal voltage; improving the operating frequency of the processor in the terminal, including: improving the video post-processing performance of the decoder in the terminal; improving the operating voltage of the power supply domain to which the processor belongs, including: improving the matching voltage of the decoder in the terminal.
在一种可能的实现方式中,调整终端中的目标参数,包括:增加第一图像处理算法的数量,其中,第一图像处理算法用于处理第一图像;或者,减少第一图像处理算法的数量。由此,通过增加第一图像处理算法的数量,使得终端可以以较少数量的图像处理算法处理第一图像,以降低第一图像的显示效果,从而避免终端持续以高性能运行,降低终端的功耗;或者通过减少第一图像处理算法的数量,使得终端可以以较多数量的图像处理算法处理第一图像,以提升第一图像的显示效果,从而避免终端持续以低性能运行,提升终端的显示效果。In a possible implementation manner, adjusting the target parameters in the terminal includes: increasing the number of first image processing algorithms, where the first image processing algorithm is used to process the first image; or, reducing the number of the first image processing algorithms quantity. Therefore, by increasing the number of the first image processing algorithms, the terminal can process the first image with a smaller number of image processing algorithms, so as to reduce the display effect of the first image, thereby preventing the terminal from continuously running with high performance and reducing the power consumption; or by reducing the number of first image processing algorithms, the terminal can process the first image with a larger number of image processing algorithms, so as to improve the display effect of the first image, thereby preventing the terminal from running with low performance continuously and improving the terminal performance. display effect.
在一种可能的实现方式中,第一图像处理算法包括:去等高线(De Contour,DC)算法,去蚊虫噪声(De Mosquito,DM)算法,去光环噪声(De Ring,DR)算法,运动估计补偿(Motion Estimate and Motion Compensation,MEMC)算法,降噪(Noise Reduction,NR)算法,图像超分(Super Resolution,SR)算法中的至少一项。In a possible implementation manner, the first image processing algorithm includes: a contour removal (De Contour, DC) algorithm, a mosquito noise removal (De Mosquito, DM) algorithm, and a halo noise removal (De Ring, DR) algorithm, At least one of Motion Estimate and Motion Compensation (MEMC) algorithm, Noise Reduction (NR) algorithm, and Image Super Resolution (SR) algorithm.
在一种可能的实现方式中,方法还包括:在增加第一图像处理算法的数量的情况下,方法还包括:减少第二图像处理算法的数量,第二图像处理算法用于处理终端上除显示窗口所占区域外的至少部分显示区域中的图像;在减少第一图像处理算法的数量的情况下,方法还包括:增加第二图像处理算法的数量。由此,在提升第一图像的显示效果时,可以减少终端上处理显示窗口以外区域的图像的图像显示算法的数量,以降低显示窗口以外区域的图像的显示效果,降低终端的功耗;或者,在降低第一图像的显示效果时,可以增加终端上处理显示窗口以外区域的图像的图像显示算法的数量,以提升显示窗口以外区域的图像的显示效果。In a possible implementation manner, the method further includes: in the case of increasing the number of the first image processing algorithms, the method further includes: reducing the number of the second image processing algorithms, and the second image processing algorithm is used to process the division on the terminal. The image in at least part of the display area outside the area occupied by the window is displayed; in the case of reducing the number of the first image processing algorithms, the method further includes: increasing the number of the second image processing algorithms. Thus, when the display effect of the first image is improved, the number of image display algorithms on the terminal that processes images in areas outside the display window can be reduced, so as to reduce the display effect of images in areas outside the display window and reduce the power consumption of the terminal; or , when the display effect of the first image is reduced, the number of image display algorithms on the terminal for processing images outside the display window can be increased, so as to improve the display effect of images outside the display window.
在一种可能的实现方式中,第二图像处理算法包括:去等高线(De Contour,DC)算法,去蚊虫噪声(De Mosquito,DM)算法,去光环噪声(De Ring,DR)算法,运动估计补偿(Motion Estimate and Motion Compensation,MEMC)算法,降噪(Noise Reduction,NR)算法,图像超分(Super Resolution,SR)算法中的至少一项。In a possible implementation manner, the second image processing algorithm includes: a de-contour (De Contour, DC) algorithm, a de-mosquito-noise (De Mosquito, DM) algorithm, and a de-ring noise (De Ring, DR) algorithm, At least one of Motion Estimate and Motion Compensation (MEMC) algorithm, Noise Reduction (NR) algorithm, and Image Super Resolution (SR) algorithm.
在一种可能的实现方式中,目标参数包括帧率;调整终端中与第一图像相关的目标参数,包括:对第一图像对应的视频流进行丢帧,或者对第一图像对应的视频流进行补帧。由此,在目标参数为帧率时,通过对第一图像对应的视频流进行丢帧或补帧,以对目标参数进行调整。In a possible implementation manner, the target parameter includes a frame rate; adjusting the target parameter related to the first image in the terminal includes: dropping frames on the video stream corresponding to the first image, or performing frame dropping on the video stream corresponding to the first image Make up frames. Therefore, when the target parameter is the frame rate, the target parameter is adjusted by dropping or complementing the video stream corresponding to the first image.
在一种可能的实现方式中,述目标参数包括分辨率;调整终端中与第一图像相关的目标参数,包括:在终端向服务器发送第一请求时,调整第一请求中携带的与第一图像相关的原始图像数据的分辨率,第一请求用于请求获取原始图像数据。由此,在目标参数为分辨率时,通过调整终端向服务器发送的请求中所携带的分辨率,以对目标参数进行调整。In a possible implementation manner, the target parameter includes resolution; adjusting the target parameter related to the first image in the terminal includes: when the terminal sends the first request to the server, adjusting the The resolution of the original image data related to the image, and the first request is used to request to obtain the original image data. Therefore, when the target parameter is the resolution, the target parameter is adjusted by adjusting the resolution carried in the request sent by the terminal to the server.
在一种可能的实现方式中,目标参数包括在第一状态下第一图像对应的第一参数;调整终端中与第一图像相关的目标参数,包括:确定在第二状态下第一图像对应的第二参数,第二参数与第一参数的类型相同;根据第一参数和第二参数,调整第一参数。由此,基于目标状态变化前后第一图像对应的参数,对目标状态变化前的参数进行调 整,提升调整的准确度。In a possible implementation manner, the target parameter includes a first parameter corresponding to the first image in the first state; adjusting the target parameter related to the first image in the terminal includes: determining that the first image corresponds to the first image in the second state The second parameter of , the second parameter is of the same type as the first parameter; the first parameter is adjusted according to the first parameter and the second parameter. Therefore, based on the parameters corresponding to the first image before and after the target state changes, the parameters before the target state change are adjusted to improve the accuracy of the adjustment.
在一种可能的实现方式中,根据第一参数和第二参数,调整第一参数,包括:在第一参数与第二参数存在偏差时,将第一参数调整至第二参数;或者,在第一参数与第二参数之间的偏差值大于预设差值时,基于偏差值,调整第一参数,以使偏差值小于或等于预设差值。由此实现对第一参数的调整。示例性的,若目标状态变化前的分辨率为1080p,目标状态变化后的分辨率为360p,则可以确定1080p与360p存在偏差,因此可以直接将1080p调整为360p;或者,1080p与360p之间的偏差值,如差值,大于500,则可以基于两者之间的偏差值调整1080p,以将两者的偏差值控制在500以里,例如,将1080p调整为720p。In a possible implementation manner, adjusting the first parameter according to the first parameter and the second parameter includes: when there is a deviation between the first parameter and the second parameter, adjusting the first parameter to the second parameter; When the deviation value between the first parameter and the second parameter is greater than the preset difference value, the first parameter is adjusted based on the deviation value so that the deviation value is smaller than or equal to the preset difference value. An adjustment of the first parameter is thereby achieved. Exemplarily, if the resolution before the target state change is 1080p, and the resolution after the target state change is 360p, it can be determined that there is a deviation between 1080p and 360p, so 1080p can be directly adjusted to 360p; or, between 1080p and 360p For example, if the difference is greater than 500, you can adjust 1080p based on the difference between the two to control the difference between the two within 500. For example, adjust 1080p to 720p.
第二方面,本申请实施例提供了一种终端控制装置,装置包括:确定模块,用于确定目标状态由第一状态切换为第二状态,目标状态包括终端上第一应用的显示窗口的显示状态或当前使用终端的用户的用户状态中的至少一项,第一应用的显示窗口上显示有第一图像;确定模块,还用于确定终端在第二状态下输出第一图像所需的第一参数,第一参数包括图像质量、帧率或分辨率中的至少一项;处理模块,用于调整终端中的目标参数,目标参数与第一图像的显示效果有关。In a second aspect, an embodiment of the present application provides a terminal control device, the device includes: a determination module configured to determine that a target state is switched from a first state to a second state, where the target state includes the display of a display window of a first application on the terminal At least one of the state or the user state of the user currently using the terminal, the first image is displayed on the display window of the first application; the determining module is further configured to determine the first image required by the terminal to output the first image in the second state. A parameter, the first parameter includes at least one of image quality, frame rate or resolution; a processing module for adjusting a target parameter in the terminal, where the target parameter is related to the display effect of the first image.
在一种可能的实现方式中,目标状态包括显示状态,显示状态包括显示窗口的尺寸;确定模块,具体用于:确定显示窗口的尺寸由第一尺寸切换为第二尺寸。In a possible implementation manner, the target state includes a display state, and the display state includes a size of the display window; the determining module is specifically configured to: determine that the size of the display window is switched from the first size to the second size.
在一种可能的实现方式中,目标状态包括显示状态,显示状态包括第一图像所表达的目标内容;确定模块,具体用于:确定目标内容由第一内容切换为第二内容,第一内容的类型与第二内容的类型不同。In a possible implementation manner, the target state includes a display state, and the display state includes the target content expressed by the first image; the determining module is specifically configured to: determine that the target content is switched from the first content to the second content, and the first content is different from the type of the second content.
在一种可能的实现方式中,目标状态包括用户状态,用户状态包括用户对显示窗口上第一区域的目标关注度,第一区域用于显示部分或全部的第一图像;确定模块,具体用于:确定目标关注度由第一关注度切换为第二关注度。In a possible implementation manner, the target state includes the user state, the user state includes the user's target attention to the first area on the display window, and the first area is used to display part or all of the first image; To: determine that the target attention degree is switched from the first attention degree to the second attention degree.
在一种可能的实现方式中,确定模块,具体用于:确定用户的眼球注视第一区域的注视时长,以及根据注视时长所属的时长区间,确定目标关注度。In a possible implementation manner, the determining module is specifically configured to: determine the gaze duration of the user's eyeballs gazing at the first region, and determine the target attention degree according to the duration interval to which the gaze duration belongs.
在一种可能的实现方式中,目标状态包括用户状态,用户状态包括用户操作终端的目标操作频率;确定模块,具体用于:确定目标操作频率由第一操作频率切换为第二操作频率。In a possible implementation manner, the target state includes a user state, and the user state includes a target operating frequency of the user operating the terminal; the determining module is specifically configured to: determine that the target operating frequency is switched from the first operating frequency to the second operating frequency.
在一种可能的实现方式中,处理模块,具体用于:降低终端中处理器的工作频率或处理器所属电源域的工作电压中的至少一项,处理器用于处理第一图像;或者,提高终端中处理器的工作频率或处理器所属电源域的工作电压中的至少一项。In a possible implementation manner, the processing module is specifically configured to: reduce at least one of the operating frequency of the processor in the terminal or the operating voltage of the power supply domain to which the processor belongs, and the processor is used to process the first image; or, increase At least one of the operating frequency of the processor in the terminal or the operating voltage of the power domain to which the processor belongs.
在一种可能的实现方式中,处理模块,具体用于:增加第一图像处理算法的数量,其中,第一图像处理算法用于处理第一图像;或者,减少第一图像处理算法的数量。In a possible implementation manner, the processing module is specifically configured to: increase the number of the first image processing algorithms, where the first image processing algorithm is used to process the first image; or reduce the number of the first image processing algorithms.
在一种可能的实现方式中,处理模块在增加第一图像处理算法的数量的情况下,还用于:减少第二图像处理算法的数量,第二图像处理算法用于处理终端上除显示窗口所占区域外的至少部分显示区域中的图像;处理模块在减少第一图像处理算法的数量的情况下,还用于:增加第二图像处理算法的数量。In a possible implementation manner, when the number of the first image processing algorithm is increased, the processing module is further configured to: reduce the number of the second image processing algorithm, and the second image processing algorithm is used to process the terminal except the display window At least part of the area outside the occupied area displays the image in the area; the processing module is further configured to: increase the number of the second image processing algorithm when the number of the first image processing algorithm is reduced.
在一种可能的实现方式中,目标参数包括帧率;处理模块,具体用于:对第一图像 对应的视频流进行丢帧,或者对第一图像对应的视频流进行补帧。In a possible implementation manner, the target parameter includes a frame rate; the processing module is specifically configured to: drop frames on the video stream corresponding to the first image, or perform frame supplementation on the video stream corresponding to the first image.
在一种可能的实现方式中,目标参数包括分辨率;处理模块,具体用于:在终端向服务器发送第一请求时,调整第一请求中携带的与第一图像相关的原始图像数据的分辨率,第一请求用于请求获取原始图像数据。In a possible implementation manner, the target parameter includes resolution; the processing module is specifically configured to: when the terminal sends the first request to the server, adjust the resolution of the original image data related to the first image carried in the first request rate, the first request is used to request the acquisition of raw image data.
在一种可能的实现方式中,目标参数包括在第一状态下第一图像对应的第一参数;处理模块,还用于:确定在第二状态下第一图像对应的第二参数,第二参数与第一参数的类型相同;根据第一参数和第二参数,调整第一参数。In a possible implementation manner, the target parameter includes a first parameter corresponding to the first image in the first state; the processing module is further configured to: determine a second parameter corresponding to the first image in the second state, and the second parameter corresponds to the first image in the second state. The parameter is of the same type as the first parameter; the first parameter is adjusted according to the first parameter and the second parameter.
在一种可能的实现方式中,处理模块,还用于:在第一参数与第二参数存在偏差时,将第一参数调整至第二参数;或者,在第一参数与第二参数之间的偏差值大于预设差值时,基于偏差值,调整第一参数,以使偏差值小于或等于预设差值。In a possible implementation manner, the processing module is further configured to: when there is a deviation between the first parameter and the second parameter, adjust the first parameter to the second parameter; or, between the first parameter and the second parameter When the deviation value is greater than the preset difference value, the first parameter is adjusted based on the deviation value, so that the deviation value is less than or equal to the preset difference value.
第三方面,本申请实施例提供了一种电子设备,包括:至少一个存储器,用于存储程序;至少一个处理器,用于调用存储器存储的程序,以执行第一方面中提供的方法。In a third aspect, an embodiment of the present application provides an electronic device, including: at least one memory for storing a program; and at least one processor for calling a program stored in the memory to execute the method provided in the first aspect.
第四方面,本申请实施例提供了一种电子设备,包含第二方面提供的装置。In a fourth aspect, an embodiment of the present application provides an electronic device, including the apparatus provided in the second aspect.
第五方面,本申请实施例提供了一种计算机存储介质,计算机存储介质中存储有指令,当指令在计算机上运行时,使得计算机执行第一方面提供的方法。In a fifth aspect, an embodiment of the present application provides a computer storage medium, where an instruction is stored in the computer storage medium, and when the instruction is executed on a computer, the computer executes the method provided in the first aspect.
第六方面,本申请实施例提供了一种包含指令的计算机程序产品,当指令在计算机上运行时,使得计算机执行第一方面提供的方法。In a sixth aspect, an embodiment of the present application provides a computer program product containing instructions, when the instructions are run on a computer, the computer is made to execute the method provided in the first aspect.
第七方面,本申请实施例提供了一种终端控制装置,包括至少一个处理器和接口;至少一个处理器通过接口,获取程序指令或者数据;至少一个处理器用于执行程序行指令,以实现第一方面提供的方法。In a seventh aspect, an embodiment of the present application provides a terminal control device, including at least one processor and an interface; at least one processor obtains program instructions or data through the interface; at least one processor is configured to execute program line instructions to implement the first method on the one hand.
附图说明Description of drawings
下面对实施例或现有技术描述中所需使用的附图作简单地介绍。The following briefly introduces the accompanying drawings required in the description of the embodiments or the prior art.
图1a是本申请实施例提供的一种示例性的应用场景示意图;FIG. 1a is a schematic diagram of an exemplary application scenario provided by an embodiment of the present application;
图1b是本申请实施例提供的一种示例性的应用场景示意图;FIG. 1b is a schematic diagram of an exemplary application scenario provided by an embodiment of the present application;
图2a是本申请实施例提供的一种示例性的应用场景示意图;2a is a schematic diagram of an exemplary application scenario provided by an embodiment of the present application;
图2b是本申请实施例提供的一种示例性的应用场景示意图;FIG. 2b is a schematic diagram of an exemplary application scenario provided by an embodiment of the present application;
图3a是本申请实施例提供的一种示例性应用场景示意图;3a is a schematic diagram of an exemplary application scenario provided by an embodiment of the present application;
图3b是本申请实施例提供的一种示例性的应用场景示意图;FIG. 3b is a schematic diagram of an exemplary application scenario provided by an embodiment of the present application;
图4是本申请实施例提供的一种终端的硬件结构示意图;4 is a schematic diagram of a hardware structure of a terminal provided by an embodiment of the present application;
图5是本申请实施例提供的一种终端控制方法的流程示意图;5 is a schematic flowchart of a terminal control method provided by an embodiment of the present application;
图6是本申请实施例提供的一种确定调整第二参数的步骤示意图;6 is a schematic diagram of a step of determining and adjusting a second parameter provided by an embodiment of the present application;
图7是本申请实施例提供的另一种终端控制方法的流程示意图;7 is a schematic flowchart of another terminal control method provided by an embodiment of the present application;
图8是本申请实施例提供的一种终端控制装置的结构示意图;FIG. 8 is a schematic structural diagram of a terminal control apparatus provided by an embodiment of the present application;
图9是本申请实施例提供的一种电子设备的结构示意图;9 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图10是本申请实施例提供的另一种终端控制装置的结构示意图。FIG. 10 is a schematic structural diagram of another terminal control apparatus provided by an embodiment of the present application.
具体实施方式Detailed ways
为了使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图,对本申请实施例中的技术方案进行描述。In order to make the objectives, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
在本申请实施例的描述中,“示例性的”、“例如”或者“举例来说”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”、“例如”或者“举例来说”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”、“例如”或者“举例来说”等词旨在以具体方式呈现相关概念。In the description of the embodiments of the present application, words such as "exemplary", "such as" or "for example" are used to mean serving as an example, illustration or illustration. Any embodiments or designs described in the embodiments of the present application as "exemplary," "such as," or "by way of example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, use of words such as "exemplary," "such as," or "by way of example" is intended to present the related concepts in a specific manner.
在本申请实施例的描述中,术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,单独存在B,同时存在A和B这三种情况。另外,除非另有说明,术语“多个”的含义是指两个或两个以上。例如,多个系统是指两个或两个以上的系统,多个终端是指两个或两个以上的终端。In the description of the embodiments of the present application, the term "and/or" is only an association relationship for describing associated objects, indicating that there may be three relationships, for example, A and/or B, which may indicate: A alone exists, A alone exists There is B, and there are three cases of A and B at the same time. Also, unless stated otherwise, the term "plurality" means two or more. For example, multiple systems refer to two or more systems, and multiple terminals refer to two or more terminals.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implying the indicated technical features. Thus, a feature defined as "first" or "second" may expressly or implicitly include one or more of that feature. The terms "including", "including", "having" and their variants mean "including but not limited to" unless specifically emphasized otherwise.
图1a和1b共同组成了本申请实施例提供的一种应用场景示意图。如图1a所示,终端11上安装有a应用,a应用的类型可以为视频类。用户在终端11上开启a应用,并观看视频,此时a应用的显示窗口12上将显示视频内容。如图1b所示,用户在观看显示窗口12上所显示的视频内容时,可以将显示窗口12缩放,即调整显示窗口12的尺寸,以及打开b应用,b应用的类型可以为社交类。用户打开b应用后,即可以在b应用的显示窗口13上输入聊天内容。显示窗口12由图1a中的状态变换为图1b中的状态时,其窗口尺寸发生变化,此时显示窗口12所能显示的最大分辨率也将发生变化。在显示窗口12的尺寸变化后,如果不对显示窗口12中视频的分辨率进行调整,终端11则继续以原有分辨率输出视频,但这并不会为用户带来任何价值。而在输出不同分辨率的视频时,终端11所需的码流大小、视频解码性能、图像后处理性能等均不相同,进而导致终端的功耗也不同。因此,当显示窗口12的尺寸出现变化后,可以对显示窗口12中所显示内容的参数进行调整,以调整终端的功耗。可以理解的是,当显示窗口12的状态由图1b切换为图1a时,则可以对显示窗口12中所显示内容的参数进行调整,以提升终端11的显示效果。Figures 1a and 1b together form a schematic diagram of an application scenario provided by an embodiment of the present application. As shown in FIG. 1a, an application a is installed on the terminal 11, and the type of the a application may be a video type. The user opens the a application on the terminal 11 and watches the video, and the video content will be displayed on the display window 12 of the a application at this time. As shown in FIG. 1b, when viewing the video content displayed on the display window 12, the user can zoom the display window 12, that is, adjust the size of the display window 12, and open the b application. The type of the b application can be social. After the user opens the b application, the chat content can be input on the display window 13 of the b application. When the display window 12 changes from the state in FIG. 1a to the state in FIG. 1b, the size of the window changes, and the maximum resolution that the display window 12 can display at this time also changes. After the size of the display window 12 is changed, if the resolution of the video in the display window 12 is not adjusted, the terminal 11 continues to output the video at the original resolution, but this does not bring any value to the user. When outputting videos of different resolutions, the code stream size, video decoding performance, and image post-processing performance required by the terminal 11 are all different, which in turn leads to different power consumption of the terminal. Therefore, when the size of the display window 12 changes, the parameters of the content displayed in the display window 12 can be adjusted to adjust the power consumption of the terminal. It can be understood that when the state of the display window 12 is switched from FIG. 1 b to FIG. 1 a , the parameters of the content displayed in the display window 12 can be adjusted to improve the display effect of the terminal 11 .
举例来说,在图1a中显示窗口12可以显示的最大分辨率为1600x1200,在图1b中显示窗口可以显示的最大分辨率为640x480,此时用户在图1b中观看分辨率为640x480的视频的主观感受与用户在图1a中观看分辨率为1600x1200的视频的主观感受是一样的。此时如果不对显示窗口12中视频的分辨率进行调整的话,终端11则继续以1600x1200的分辨率输出视频,但这并没有为用户带来任何价值。此外,终端11继续以1600x1200的分辨率输出视频,也将会导致终端11继续以高功耗运行。因此,此时可以降低显示窗口12中所显示视频的分辨率,即由1600x1200降低至640x480,这样既可以在不降低用户体验的前提下,降低终端11的功耗。For example, in Fig. 1a, the display window 12 can display a maximum resolution of 1600x1200, and in Fig. 1b, the display window can display a maximum resolution of 640x480. At this time, the user is viewing the video with a resolution of 640x480 in Fig. 1b. The subjective experience is the same as that of a user watching a video with a resolution of 1600x1200 in Figure 1a. At this time, if the resolution of the video in the display window 12 is not adjusted, the terminal 11 continues to output the video at a resolution of 1600×1200, but this does not bring any value to the user. In addition, the terminal 11 continues to output video at a resolution of 1600×1200, which will also cause the terminal 11 to continue to run with high power consumption. Therefore, at this time, the resolution of the video displayed in the display window 12 can be reduced, that is, from 1600×1200 to 640×480, which can reduce the power consumption of the terminal 11 without reducing the user experience.
图2a和2b共同组成了本申请实施例提供的另一种应用场景示意图。如图2a所示, 终端11上安装有c应用,c应用的类型可以为游戏类。用户在终端11上开启c应用,并玩游戏,此时c应用的显示窗口14上将显示游戏内容。如图2b所示,用户在玩游戏一段时间后,可以结束游戏,并在c应用的显示窗口14上观看其他用户玩游戏。显然用户在玩游戏时与用户在观看其他人玩游戏时,对终端11的性能要求是不一样的,如果在用户观看其他人玩游戏时,终端11继续以用户玩游戏时的性能运行,则必然会使终端11持续以高功耗运行,但这并不会为用户带来任何价值,相反会增大终端11的功耗。因此,此时,可以对终端11的处理性能进行调整,避免终端11持续以高性能运行,以降低终端11的功耗。可以理解的是,当显示窗口14的状态由图2b切换为图2a时,则可以对终端11的处理性能进行调整,避免终端11持续以低性能运行,提升终端11的显示效果。2a and 2b together constitute another schematic diagram of an application scenario provided by the embodiment of the present application. As shown in FIG. 2a, the terminal 11 is installed with a c application, and the type of the c application may be a game. The user opens the c application on the terminal 11 and plays the game, and the game content will be displayed on the display window 14 of the c application at this time. As shown in FIG. 2b, after playing the game for a period of time, the user can end the game and watch other users play the game on the display window 14 of the c application. Obviously, the performance requirements of the terminal 11 are different when the user is playing games and when the user is watching other people play games. If the terminal 11 continues to run with the performance when the user is playing games It is inevitable that the terminal 11 will continue to run with high power consumption, but this will not bring any value to the user, on the contrary, it will increase the power consumption of the terminal 11 . Therefore, at this time, the processing performance of the terminal 11 can be adjusted to prevent the terminal 11 from continuously running with high performance, so as to reduce the power consumption of the terminal 11 . It can be understood that when the state of the display window 14 is switched from FIG. 2b to FIG. 2a, the processing performance of the terminal 11 can be adjusted to prevent the terminal 11 from running with low performance continuously and improve the display effect of the terminal 11.
图3a和3b共同组成了本申请实施例提供的又一种应用场景示意图。如图3a所示,用户M的终端11上开启有两个应用的显示窗口,即显示窗口15和16。在图3a所示的情形下,用户M的注意力在显示窗口15上;在图3b所示的场景下,用户M的注意力由显示窗口15转移至显示窗口16上。当用户M的注意力由显示窗口15转移至显示窗口16后,若不对显示窗口15所显示的内容的图像质量、帧率、分辨率等输出参数进行调整,则终端11将继续以原有的图像质量、帧率、分辨率等输出参数输出相应的内容,即终端11将继续以原有的性能处理显示窗口15所显示的内容;但此时,用户M已不再关注显示窗口15中的内容,这显示就会造成终端11上部分能耗的浪费,因此,此时可以对终端11上处理显示窗口15中显示内容相关的处理参数(如处理器的工作频率、处理器所属电源域的工作电压等)进行调整,以降低终端11的功耗。此外,在图3b中也可以对终端11上处理显示窗口16中显示内容相关的处理参数进行调整,以提升显示窗口16中的显示效果。3a and 3b together form another schematic diagram of an application scenario provided by the embodiment of the present application. As shown in FIG. 3 a , the terminal 11 of the user M has two application display windows opened, namely display windows 15 and 16 . In the situation shown in FIG. 3 a , the attention of the user M is on the display window 15 ; in the scenario shown in FIG. 3 b , the attention of the user M is transferred from the display window 15 to the display window 16 . When the user M's attention is transferred from the display window 15 to the display window 16, if the output parameters such as the image quality, frame rate, resolution, etc. of the content displayed in the display window 15 are not adjusted, the terminal 11 will continue to use the original Output parameters such as image quality, frame rate, and resolution output the corresponding content, that is, the terminal 11 will continue to process the content displayed in the display window 15 with the original performance; This display will cause a waste of part of the energy consumption on the terminal 11. Therefore, at this time, the processing parameters related to the displayed content in the processing display window 15 on the terminal 11 (such as the operating frequency of the processor, the power supply domain to which the processor belongs) can be working voltage, etc.) to reduce the power consumption of the terminal 11 . In addition, in FIG. 3 b , the processing parameters related to the displayed content in the processing display window 16 on the terminal 11 may also be adjusted, so as to improve the display effect in the display window 16 .
需说明的是,本方案中是在与终端上应用的显示窗口相关的状态发生变化后,对终端上与显示窗口中所显示的内容相关的处理参数或输出参数等进行调整,以避免终端持续高性能或低性能运行。示例性的,与终端上应用的显示窗口相关的状态可以包括显示窗口的显示状态和/或当前使用终端的用户的用户状态;其中,显示状态可以包括显示窗口的尺寸、显示内容等等,用户状态可以包括用户对显示窗口上部分区域或全部区域的关注度、用户操作终端的操作频率等等。It should be noted that, in this solution, after the state related to the display window of the application on the terminal changes, the processing parameters or output parameters related to the content displayed in the display window on the terminal are adjusted, so as to prevent the terminal from persisting. High or low performance operation. Exemplarily, the state related to the display window of the application on the terminal may include the display state of the display window and/or the user state of the user currently using the terminal; wherein, the display state may include the size of the display window, display content, etc., the user The state may include the user's attention to part or all of the area on the display window, the operation frequency of the user's operation of the terminal, and the like.
可以理解的是,本方案中,终端可以为手机、平板电脑、数码相机、个人数字助理(personal digitalassistant,PDA)、可穿戴设备、智能电视、华为智慧屏等。终端的示例性实施例包括但不限于搭载iOS、android、Windows、鸿蒙系统(Harmony OS)或者其他操作系统的电子设备。上述终端也可以是其他电子设备,诸如具有触敏表面(例如触控面板)的膝上型计算机(laptop)等。本方案对终端的类型不做具体限定。It can be understood that, in this solution, the terminal may be a mobile phone, a tablet computer, a digital camera, a personal digital assistant (PDA), a wearable device, a smart TV, a Huawei smart screen, and the like. Exemplary embodiments of the terminal include, but are not limited to, electronic devices equipped with iOS, android, Windows, Harmony OS or other operating systems. The aforementioned terminals may also be other electronic devices, such as laptops, etc., with touch-sensitive surfaces (eg, touch panels). This solution does not specifically limit the type of the terminal.
图4是本申请实施例提供的一种终端的硬件结构示意图。如图4所示,终端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,显示屏194,以及用户标识模块(subscriber identification  module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。FIG. 4 is a schematic diagram of a hardware structure of a terminal provided by an embodiment of the present application. As shown in FIG. 4 , the terminal 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, Antenna 1, Antenna 2, Mobile Communication Module 150, Wireless Communication Module 160, Audio Module 170, Speaker 170A, Receiver 170B, Microphone 170C, Headphone Interface 170D, Sensor Module 180, Key 190, Motor 191, Indicator 192, Camera 193, A display screen 194, and a subscriber identification module (SIM) card interface 195 and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
可以理解的是,本申请实施例示意的结构并不构成对终端100的具体限定。在本申请另一些实施例中,终端100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the terminal 100 . In other embodiments of the present application, the terminal 100 may include more or less components than shown, or some components may be combined, or some components may be separated, or different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理器,例如,处理器110可以包括应用处理器(application processor,AP)、调制解调器(modem)、图形处理器(graphics processing unit,GPU)、图像信号处理器(image signal processor,ISP)、控制器、视频编解码器、数字信号处理器(digital signal processor,DSP)、基带处理器、和/或神经网络处理器(neural-network processing unit,NPU)等中的一项或多项。其中,不同的处理器可以是独立的器件,也可以集成在一个或多个处理器中。示例性的,处理器110可以对终端100上应用程序的显示窗口上所需显示的内容进行处理。The processor 110 may include one or more processors, for example, the processor 110 may include an application processor (application processor, AP), a modem (modem), a graphics processor (graphics processing unit, GPU), an image signal processor ( image signal processor (ISP), controller, video codec, digital signal processor (DSP), baseband processor, and/or neural-network processing unit (NPU), etc. one or more. Wherein, different processors may be independent devices, or may be integrated in one or more processors. Exemplarily, the processor 110 may process the content to be displayed on the display window of the application program on the terminal 100.
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成指令和执行指令的控制。The controller can generate the operation control signal according to the instruction operation code and the timing signal, so as to complete the control of the instruction and execute the instruction.
处理器110中还可以设置存储器,用于存储指令和数据。在一些示例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用,以避免重复存取,减少处理器110的等待时间,提高系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some examples, the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be directly called from the memory to avoid repeated access, reduce the waiting time of the processor 110, and improve the efficiency of the system.
在一些示例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(PulseCodeModulation,PCM)接口,通用异步收发传输器(Universal Asynchronous Receiver/Transmitter,UART)接口,移动产业处理器接口(MobileIndustryProcessorInterface,MIPI),通用输入输出(General PurposeI/0Ports,GPIO),用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(UniversalSerialBus,USB)接口等。In some examples, processor 110 may include one or more interfaces. The interface may include integrated circuit (inter-integrated circuit, I2C) interface, integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, pulse code modulation (Pulse Code Modulation, PCM) interface, Universal Asynchronous Receiver/Transmitter (Universal Asynchronous Receiver/ Transmitter, UART) interface, mobile industry processor interface (MobileIndustryProcessorInterface, MIPI), general input and output (General PurposeI/0Ports, GPIO), subscriber identity module (subscriber identity module, SIM) interface, and/or Universal Serial Bus (UniversalSerialBus) , USB) interface, etc.
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对终端100的结构限定。在本申请另一些实施例中,终端100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the terminal 100 . In other embodiments of the present application, the terminal 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的示例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的示例中,充电管理模块140可以通过终端100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为其他终端供电。The charging management module 140 is used to receive charging input from the charger. The charger may be a wireless charger or a wired charger. In some wired charging examples, the charging management module 140 may receive charging input from the wired charger through the USB interface 130 . In some wireless charging examples, the charging management module 140 may receive wireless charging input through the wireless charging coil of the terminal 100 . While the charging management module 140 charges the battery 142 , it can also supply power to other terminals through the power management module 141 .
电源管理模块141用于连接电池142、充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110、内部存储器121、外部存储器、显示屏194、摄像头193和无线通信模块160等供电。电源管理模块141 还可以用于监测电池容量、电池循环次数、电池健康状态(漏电,阻抗)等参数。在其他一些示例中,电源管理模块141也可以设置于处理器110中。在另一些示例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used for connecting 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 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance). In some other examples, the power management module 141 may also be provided in the processor 110 . In other examples, the power management module 141 and the charging management module 140 may also be provided in the same device.
终端100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调器以及基带处理器等实现。The wireless communication function of the terminal 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem, the baseband processor, and the like.
天线1和天线2用于发射和接收电磁波信号。终端100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些示例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other examples, the antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用在终端100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由包括天线1的至少两根天线接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调器进行解调。移动通信模块150还可以对经调制解调器调制后的信号放大,经天线1转为电磁波辐射出去。在一些示例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些示例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G, etc. applied on the terminal 100 . The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like. The mobile communication module 150 can receive electromagnetic waves by at least two antennas including the antenna 1, filter, amplify, etc. the received electromagnetic waves, and transmit them to the modem for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem, and then convert it into electromagnetic waves for radiation through the antenna 1 . In some examples, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 . In some examples, at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
调制解调器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些示例中,调制解调器可以是独立的器件。在另一些示例中,调制解调器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。在另一些示例中,移动通信模块150可以是调制解调器中的模块。A modem may include a modulator and a demodulator. Wherein, 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. The low frequency baseband signal is processed by the baseband processor and passed to the application processor. The application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 . In some examples, the modem may be a stand-alone device. In other examples, the modem may be independent of the processor 110 and provided in the same device as the mobile communication module 150 or other functional modules. In other examples, the mobile communication module 150 may be a module in a modem.
无线通信模块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转为电磁波辐射出去。The wireless communication module 160 can provide applications on the terminal 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), bluetooth (BT), global navigation satellite system (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. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 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),第五代,新空口(new radio,NR),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)。In some examples, the antenna 1 of the terminal 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the terminal 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), fifth generation, new air interface ( new radio, NR), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
终端100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可以包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The terminal 100 implements a display function through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些示例中,终端100可以包括一个或多个显示屏194。在一个例子中,显示屏194可以用于显示应用程序的界面,显示应用程序的显示窗口等。Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light). emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on. In some examples, terminal 100 may include one or more display screens 194 . In one example, the display screen 194 may be used to display an interface of an application, display a display window of an application, and the like.
终端100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The terminal 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.
ISP用于处理摄像头193反馈的数据。例如,拍摄时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些示例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back by the camera 193 . For example, when shooting, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin tone. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some examples, the ISP may be provided in the camera 193 .
摄像头193用于捕获静态图像或视频,例如,捕获人物的面部特征信息、姿态特征信息等。物体通镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(ComplementaryMetalOxideSemiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些示例中,终端100可以包括一个或多个摄像头193。示例性的,摄像头193可以采集用户的面部特征,并将面部特征传输至处理器110,以使处理器110根据面部特征,确定用户对显示屏4上部分区域或全部区域的关注度。The camera 193 is used to capture still images or videos, for example, to capture facial feature information, posture feature information and the like of a person. The object is projected through the lens to generate an optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal oxide semiconductor (Complementary Metal Oxide Semiconductor, CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some examples, terminal 100 may include one or more cameras 193 . Exemplarily, the camera 193 may collect the user's facial features, and transmit the facial features to the processor 110, so that the processor 110 determines the user's attention to part or all of the area on the display screen 4 according to the facial features.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当终端100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。A digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the terminal 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point, and so on.
视频编解码器用于对数字视频压缩或解压缩。终端100可以支持一种或多种视频编 解码器。这样,终端100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. Terminal 100 may support one or more video codecs. In this way, the terminal 100 can play or record videos in various encoding formats, for example, moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展终端100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal 100. The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行终端100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储终端100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。Internal memory 121 may be used to store computer executable program code, which includes instructions. The processor 110 executes various functional applications and data processing of the terminal 100 by executing the instructions stored in the internal memory 121 . The internal memory 121 may include a storage program area and a storage data area. The storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like. The storage data area may store data (such as audio data, phone book, etc.) created during the use of the terminal 100 and the like. In addition, the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
终端100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The terminal 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些示例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some examples, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。终端100可以通过扬声器170A收听音乐,或收听免提通话。 Speaker 170A, also referred to as a "speaker", is used to convert audio electrical signals into sound signals. The terminal 100 can listen to music through the speaker 170A, or listen to a hands-free call.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当终端100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。The receiver 170B, also referred to as "earpiece", is used to convert audio electrical signals into sound signals. When the terminal 100 answers a call or a voice message, the voice can be answered by placing the receiver 170B close to the human ear.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。终端100可以设置至少一个麦克风170C。在另一些示例中,终端100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,终端100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C. The terminal 100 may be provided with at least one microphone 170C. In other examples, the terminal 100 may be provided with two microphones 170C, which may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the terminal 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动终端平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone jack 170D is used to connect wired earphones. The earphone interface 170D may be the USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and an ambient light sensor 180L, bone conduction sensor 180M, etc.
其中,压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些示例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多, 如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。终端100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,终端100根据压力传感器180A检测所述触摸操作强度。终端100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些示例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。The pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals. In some examples, pressure sensor 180A may be provided on display screen 194 . There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, and the like. The capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The terminal 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the terminal 100 detects the intensity of the touch operation according to the pressure sensor 180A. The terminal 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A. In some examples, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation whose intensity is less than the first pressure threshold acts on the short message application icon, the instruction for viewing the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.
陀螺仪传感器180B可以用于确定终端100的运动姿态。在一些示例中,可以通过陀螺仪传感器180B确定终端100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当使用终端100采集环境中的用户特征信息时,陀螺仪传感器180B检测终端100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消终端100的抖动,实现防抖。The gyro sensor 180B may be used to determine the motion attitude of the terminal 100 . In some examples, the angular velocity of terminal 100 about three axes (ie, x, y, and z axes) may be determined by gyro sensor 180B. The gyro sensor 180B can be used for image stabilization. Exemplarily, when the terminal 100 is used to collect user feature information in the environment, the gyro sensor 180B detects the angle at which the terminal 100 shakes, calculates the distance that the lens module needs to compensate for according to the angle, and allows the lens to offset the movement of the terminal 100 through reverse motion. Shake, achieve anti-shake.
气压传感器180C用于测量气压。在一些示例中,终端100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。The air pressure sensor 180C is used to measure air pressure. In some examples, the terminal 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.
加速度传感器180E可检测终端100在各个方向上(一般为三轴)加速度的大小。当终端100静止时可检测出重力的大小及方向。还可以用于识别终端的姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 180E can detect the magnitude of the acceleration of the terminal 100 in various directions (generally three axes). When the terminal 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the terminal, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
距离传感器180F,用于测量距离。终端100可以通过红外或激光测量距离。在一些示例中,当利用终端采集环境中用户的用户特征信息时,终端100可以利用距离传感器180F测距以实现快速对焦。Distance sensor 180F for measuring distance. The terminal 100 can measure the distance through infrared or laser. In some examples, when using the terminal to collect user characteristic information of the user in the environment, the terminal 100 may use the distance sensor 180F to measure the distance to achieve fast focusing.
环境光传感器180L用于感知环境光亮度。终端100可以根据感知的环境光亮度自适应调节显示屏194亮度。The ambient light sensor 180L is used to sense ambient light brightness. The terminal 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
指纹传感器180H用于采集指纹。终端100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180H is used to collect fingerprints. The terminal 100 can use the collected fingerprint characteristics to unlock the fingerprint, access the application lock, take a picture with the fingerprint, answer the incoming call with the fingerprint, and the like.
温度传感器180J用于检测温度。在一些示例中,终端100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,终端100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,终端100对电池142加热,以避免低温导致终端100异常关机。在其他一些实施例中,当温度低于又一阈值时,终端100对电池142的输出电压执行升压,以避免低温导致的异常关机。The temperature sensor 180J is used to detect the temperature. In some examples, the terminal 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the terminal 100 reduces the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the terminal 100 heats the battery 142 to avoid abnormal shutdown of the terminal 100 due to low temperature. In some other embodiments, when the temperature is lower than another threshold, the terminal 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于终端100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also called "touch device". The touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”. The touch sensor 180K is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to touch operations may be provided through display screen 194 . In other embodiments, the touch sensor 180K may also be disposed on the surface of the terminal 100 , which is different from the position where the display screen 194 is located.
按键190包括开机键,音量键,输入键盘等。按键190可以是机械按键。也可以是 触摸式按键。终端100可以接收按键输入,产生与终端100的用户设置以及功能控制有关的键信号输入。The keys 190 include a power-on key, a volume key, an input keyboard, and the like. Keys 190 may be mechanical keys. It can also be a touch key. The terminal 100 may receive key input and generate key signal input related to user settings and function control of the terminal 100 .
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如视频播放,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。Motor 191 can generate vibrating cues. The motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as video playback, audio playback, etc.) may correspond to different vibration feedback effects. The motor 191 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 194 . Different application scenarios (for example: time reminder, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和终端100的接触和分离。终端100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。终端100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,终端100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在终端100中,不能和终端100分离。The SIM card interface 195 is used to connect a SIM card. The SIM card can be contacted and separated from the terminal 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 . The terminal 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The terminal 100 interacts with the network through the SIM card to realize functions such as calls and data communication. In some embodiments, the terminal 100 employs an eSIM, ie an embedded SIM card. The eSIM card can be embedded in the terminal 100 and cannot be separated from the terminal 100 .
下面以终端100是手机为例,结合附图对本申请提供的技术方案进行详细说明。Taking the terminal 100 as a mobile phone as an example below, the technical solutions provided by the present application will be described in detail with reference to the accompanying drawings.
(1)确定与手机上应用的显示窗口中显示的图像相关的状态发生变化(1) Determine that the state related to the image displayed in the display window of the application on the mobile phone has changed
可以理解的是,手机上可以安装各种类型的应用,如游戏类、视频类、社交类、新闻类等等。用户启动手机上的应用后,在手机的显示屏幕上将显示出应用的显示窗口,如图1a中的显示窗口12。在应用的显示窗口上,将显示出图像,如图1a中显示窗口12中所显示的内容;其中,在本方案中,图像可以理解为视频、图片等等。本方案中,应用又可以称为应用程序、软件等名称。It is understandable that various types of applications can be installed on the mobile phone, such as games, videos, social media, news and so on. After the user starts the application on the mobile phone, the display window of the application will be displayed on the display screen of the mobile phone, such as the display window 12 in FIG. 1a. On the display window of the application, an image will be displayed, such as the content displayed in the display window 12 in FIG. 1a; wherein, in this solution, the image can be understood as a video, a picture, and the like. In this solution, the application may also be referred to as an application program, software, or the like.
需说明的是,本方案中,与手机上应用的显示窗口中显示的图像相关的状态可以为手机上应用的显示窗口的显示状态或当前使用手机的用户的用户状态中的至少一项。下面以与手机上应用的显示窗口中显示的图像相关的状态为显示状态和用户状态分别进行说明。It should be noted that, in this solution, the state related to the image displayed in the display window of the application on the mobile phone may be at least one of the display state of the display window of the application on the mobile phone or the user state of the user currently using the mobile phone. The following descriptions are given by taking the states related to the images displayed in the display window of the application on the mobile phone as the display state and the user state.
a、与手机上应用的显示窗口中显示的图像相关的状态为显示状态a. The state related to the image displayed in the display window of the application on the mobile phone is the display state
本方案中,显示状态可以包括应用的显示窗口的尺寸,应用的显示窗口中显示的图像所表达的内容等。In this solution, the display state may include the size of the display window of the application, the content expressed by the image displayed in the display window of the application, and the like.
若显示状态为应用的显示窗口的尺寸,手机则可以通过确定显示窗口的尺寸大小是否发生变化,以确定与手机上应用的显示窗口中显示的图像相关的状态是否发生变化。If the display state is the size of the display window of the application, the mobile phone can determine whether the state related to the image displayed in the display window of the application on the mobile phone has changed by determining whether the size of the display window has changed.
举例来说,继续参阅图1a和1b,当显示窗口12的尺寸由图1a中的尺寸切换为图1b中的尺寸,即可以确定出显示窗口的尺寸发生了变化,换言之,此时显示状态发生了变化。同理,当显示窗口12的尺寸由图1b中的尺寸切换为图1a中的尺寸,也可以确定出显示窗口的尺寸发生了变化,换言之,此时显示状态发生了变化。For example, continuing to refer to FIGS. 1a and 1b, when the size of the display window 12 is switched from the size in FIG. 1a to the size in FIG. 1b, it can be determined that the size of the display window has changed, in other words, the display state occurs at this time. changed. Similarly, when the size of the display window 12 is switched from the size in FIG. 1b to the size in FIG. 1a, it can also be determined that the size of the display window has changed, in other words, the display state has changed at this time.
若显示状态为应用的显示窗口中显示的图像所表达的内容,手机则可以基于神经网 络处理器(neural-network processing units,NPU)等,对显示窗口中的图像画面进行识别,或者基于从服务器获取到的数据,确定出图像所表达的内容,进而确定出图像所表达的内容是否发生变化。可以理解的是,本方案中,在图像所表达的内容发生变化时,变化前的内容的类型与变化后的内容的类型可以是不同的,例如变化前的内容为视频类内容,变化后的内容为游戏类内容等等。If the display state is the content expressed by the image displayed in the display window of the application, the mobile phone can identify the image in the display window based on neural-network processing units (NPU), etc., or based on the slave server The acquired data determines the content expressed by the image, and then determines whether the content expressed by the image has changed. It can be understood that, in this solution, when the content expressed by the image changes, the type of the content before the change and the type of the content after the change may be different, for example, the content before the change is video content, and the content after the change The content is game content and so on.
举例来说,继续参阅图2a,手机可以基于其从服务器获取到的数据,确定出当前的显示窗口14上所显示的内容为游戏内容。继续参阅图2b,手机可以基于其从服务器获取到的数据,确定出当前的显示窗口14上所显示的内容为视频内容。在显示窗口14中的显示内容由图2a切换为图2b后,即可以确定出显示窗口14中图像所表达的内容发生了变化,即表达的内容由游戏内容切换为了视频内容。同理,在显示窗口14中的显示内容由图2b切换为图2a后,即可以确定出显示窗口14中图像所表达的内容发生了变化,即表达的内容由视频内容切换为了游戏内容。For example, continuing to refer to FIG. 2a, the mobile phone can determine that the content displayed on the current display window 14 is the game content based on the data obtained from the server. Continuing to refer to FIG. 2b, the mobile phone can determine that the content displayed on the current display window 14 is video content based on the data obtained from the server. After the display content in the display window 14 is switched from FIG. 2a to FIG. 2b, it can be determined that the content expressed by the image in the display window 14 has changed, that is, the expressed content is switched from game content to video content. Similarly, after the display content in the display window 14 is switched from FIG. 2b to FIG. 2a, it can be determined that the content expressed by the image in the display window 14 has changed, that is, the expressed content is switched from video content to game content.
此外,在确定应用的显示窗口中显示的图像所表达的内容是否发生变化时,也可以结合手机中图形处理器(Graphics Processing Unit,GPU)的运行速度进行判断。例如,当用户玩游戏时,GPU的运行速度往往比较快,而当用户观看视频时,GPU的运行速度往往比较慢,由此通过GPU的运行速度即可以确定出应用的显示窗口中显示的图像所表达的内容是否发生变化。In addition, when determining whether the content expressed by the image displayed in the display window of the application has changed, the judgment can also be made in combination with the running speed of a graphics processor (Graphics Processing Unit, GPU) in the mobile phone. For example, when the user is playing a game, the GPU runs faster, and when the user watches a video, the GPU runs slowly, so the image displayed in the application's display window can be determined by the GPU's running speed. Whether the content expressed has changed.
b、与手机上应用的显示窗口中显示的图像相关的状态为用户状态b. The state related to the image displayed in the display window of the application on the mobile phone is the user state
本方案中,用户状态可以包括用户对显示窗口上某一区域的关注度,用户操作手机的操作频率等。In this solution, the user state may include the user's attention to a certain area on the display window, the operation frequency of the user's operation of the mobile phone, and the like.
若用户状态为用户对显示窗口上某一区域的关注度,手机则可以通过其上的摄像头等图像采集装置,利用眼球追踪技术,采集用户的眼球运动状态,估计用户的眼睛注视点的位置。手机在估计出用户的眼睛注视点的位置后,若用户的眼睛注视点的位置处于显示窗口所在的区域,则可以确定用户正在关注显示窗口上所显示的图像;否则,则可以确定用户未关注显示窗口上所显示的图像。当确定出用户正在关注显示窗口上所显示的内容时,可以统计用户的注视时长,进而根据用户的注视时长所属的时长区间,确定出相应的关注度。本方案中,用户注视显示窗口的注视时长,可以为用户注视显示窗口上部分或全部区域的注视时长;此外,用户注视即为用户的眼球注视。If the user state is the user's attention to a certain area on the display window, the mobile phone can use the eye tracking technology to collect the user's eye movement state through the image acquisition device such as the camera on the mobile phone, and estimate the position of the user's eye gaze point. After the mobile phone estimates the position of the user's eye gaze point, if the position of the user's eye gaze point is in the area where the display window is located, it can be determined that the user is paying attention to the image displayed on the display window; otherwise, it can be determined that the user is not paying attention. Displays the image displayed on the window. When it is determined that the user is paying attention to the content displayed on the display window, the user's gaze duration can be counted, and then the corresponding degree of attention can be determined according to the time interval to which the user's gaze duration belongs. In this solution, the gaze duration of the user's gaze at the display window may be the gaze duration of the user's gaze at part or all of the area on the display window; in addition, the user's gaze is the user's eye gaze.
举例来说,继续参阅图3a,此时手机可以确定出用户M正在注视显示窗口15中的所显示的内容。然后,手机可以统计用户M注视显示窗口15的注视时长,例如为10秒。若预先配置的时长区间与关注度之间的关系为:注视时长为0~8s,关注度为1级;注视时长为8s~16s,关注度为2级;注视时长大于16s,关注度为3级;则当注视时长为10s时,确定出的关注度为2级。继续参阅图3b,此时,手机可以确定出用户M正在注视显示窗口16中的所显示的内容,即可以确定出用户M已不再关注显示窗口15,此时用户对显示窗口15的关注度可以为0。在用户M的眼球由注视显示窗口15切换为注视显示窗口16时,即可以确定出用户对显示窗口15上某一区域的关注度发生了变化。同理,在用户M的眼球由注视显示窗口16切换为注视显示窗口15时,即可以确定出用户对显示窗口16上某一区域的关注度发生了变化。For example, continuing to refer to FIG. 3a, the mobile phone can determine that the user M is looking at the displayed content in the display window 15 at this time. Then, the mobile phone can count the gazing duration of the user M's gazing at the display window 15, for example, 10 seconds. If the relationship between the pre-configured duration interval and the degree of attention is: if the fixation duration is 0 to 8s, the degree of attention is level 1; if the fixation duration is 8s to 16s, the degree of attention is level 2; if the fixation duration is greater than 16s, the degree of attention is 3 level; then when the fixation time is 10s, the determined attention degree is level 2. Continue to refer to Fig. 3b, at this time, the mobile phone can determine that the user M is looking at the displayed content in the display window 16, that is, it can be determined that the user M no longer pays attention to the display window 15, and the user is paying attention to the display window 15 at this time. Can be 0. When the eyeball of the user M is switched from gazing at the display window 15 to gazing at the display window 16 , it can be determined that the user's attention to a certain area on the display window 15 has changed. Similarly, when the eyeball of the user M is switched from gazing at the display window 16 to gazing at the display window 15 , it can be determined that the user's attention to a certain area on the display window 16 has changed.
若用户状态为用户操作手机的操作频率,手机则可以统计用户下发的操作指令的频 次,以确定出用户操作手机的操作频率,进而确定出操作频率是否发生变化。示例性的,当用户操作手机的操作频率较高时,用户往往是处于游戏状态;而用户操作手机的操作频率较低时,用户往往是处于观看视频的状态。If the user status is the operating frequency of the user operating the mobile phone, the mobile phone can count the frequency of the operating instructions issued by the user to determine the operating frequency of the user operating the mobile phone, and then determine whether the operating frequency has changed. Exemplarily, when the operating frequency of the user operating the mobile phone is high, the user is often in a game state; and when the operating frequency of the user operating the mobile phone is low, the user is often in the state of watching videos.
举例来说,继续参阅图2a和2b,在图2a中用户正在处于游戏状态,用户的手指将会频繁的触碰手机11的显示屏幕。而在图2b中用户处于观看游戏视频的状态,用户的手指触碰手机11的显示屏幕的频率非常低。在用户操作手机的操作频率由图2a中的操作频率切换为图2b中的操作频率时,即可以确定用户操作手机的操作频率发生了变化。同理,在用户操作手机的操作频率由图2b中的操作频率切换为图2a中的操作频率时,也可以确定用户操作手机的操作频率发生了变化。For example, continue to refer to FIGS. 2a and 2b , in FIG. 2a the user is in a game state, and the user's finger will frequently touch the display screen of the mobile phone 11 . In FIG. 2b, however, the user is in the state of watching the game video, and the frequency of the user's finger touching the display screen of the mobile phone 11 is very low. When the operating frequency of the user operating the mobile phone is switched from the operating frequency in FIG. 2a to the operating frequency in FIG. 2b, it can be determined that the operating frequency of the user operating the mobile phone has changed. Similarly, when the operating frequency of the user operating the mobile phone is switched from the operating frequency in FIG. 2b to the operating frequency in FIG. 2a, it can also be determined that the operating frequency of the user operating the mobile phone has changed.
需说明的是,为叙述方便,下面将变化前的与显示窗口中显示的图像相关的状态称之为第一状态,将变化后的与显示窗口中显示的图像相关的状态称之为第二状态。It should be noted that, for the convenience of description, the state related to the image displayed in the display window before the change is called the first state, and the state related to the image displayed in the display window after the change is called the second state. state.
(2)确定手机在第二状态输出图像所需的参数(2) Determine the parameters required for the mobile phone to output an image in the second state
在与手机上应用的显示窗口中显示的图像相关的状态发生变化后,手机可以确定出其在第二状态下输出显示窗口中图像所需的参数,其中,输出图像所需参数可以包括图像质量、帧率或分辨率中的至少一项。After the state related to the image displayed in the display window of the application on the mobile phone changes, the mobile phone can determine the parameters required for outputting the image in the display window in the second state, wherein the required parameters for outputting the image may include image quality , at least one of frame rate or resolution.
示例性的,若第二状态为应用的显示窗口的尺寸变化后的状态,手机则可以根据变化后的显示窗口的尺寸,以及显示窗口的尺寸与其所能显示的分辨率之间的映射关系,确定出变化后的显示窗口所能显示的分辨率。Exemplarily, if the second state is a state after the size of the display window of the application is changed, the mobile phone may, according to the size of the display window after the change, and the mapping relationship between the size of the display window and the resolution that can be displayed, Determine the resolution that the changed display window can display.
若第二状态为应用的显示窗口中显示的图像所表达的内容变化后的状态,手机则可以根据预先标定的内容与输出图像所需参数之间的映射关系,确定出第二状态下输出图像所需的参数。例如,当显示窗口中图像所表达的内容为游戏内容时,图像质量、帧率和分辨率均可以为1级;当显示窗口中图像所表达的内容为视频内容时,图像质量、帧率和分辨率均可以为2级;其中,1级的显示效果强于2级的显示效果。If the second state is the state after the content expressed by the image displayed in the display window of the application is changed, the mobile phone can determine the output image in the second state according to the mapping relationship between the pre-calibrated content and the parameters required to output the image required parameters. For example, when the content expressed by the image in the display window is game content, the image quality, frame rate and resolution can all be level 1; when the content expressed by the image in the display window is video content, the image quality, frame rate and resolution The resolutions can all be level 2; among them, the display effect of level 1 is stronger than that of level 2.
若第二状态为用户对显示窗口上某个区域的关注度变化后的状态,手机则可以根据预先标定的关注度与输出图像所需参数之间的映射关系,确定出第二状态下输出图像所需的参数。例如,当关注度为1级时,图像质量、帧率和分辨率均可以为1级;当关注度为2级时,图像质量、帧率和分辨率均可以为2级。If the second state is the state after the user's attention to an area on the display window has changed, the mobile phone can determine the output image in the second state according to the mapping relationship between the pre-calibrated attention and the parameters required for outputting the image required parameters. For example, when the degree of attention is level 1, the image quality, frame rate, and resolution may all be level 1; when the degree of attention is level 2, the image quality, frame rate, and resolution may all be level 2.
若第二状态为用户操作手机的操作频率变化后的状态,手机则可以根据预先标定的操作频率与输出图像所需参数之间的映射关系,确定出第二状态下输出图像所需的参数。例如,当操作频率为1级时,图像质量、帧率和分辨率均可以为1级;当操作频率为2级时,图像质量、帧率和分辨率均可以为2级。If the second state is a state after the operating frequency of the user operating the mobile phone is changed, the mobile phone can determine the parameters required for outputting the image in the second state according to the mapping relationship between the pre-calibrated operating frequency and the parameters required for outputting the image. For example, when the operating frequency is level 1, the image quality, frame rate and resolution can all be level 1; when the operating frequency is level 2, the image quality, frame rate and resolution can all be level 2.
对于第二参数的获取方式,可参见第一参数的获取方式,在此就不再一一赘述。For the acquisition method of the second parameter, reference may be made to the acquisition method of the first parameter, which will not be repeated here.
需说明的是,为叙述方便,下面将手机在第一状态下输出显示窗口所显示的图像的参数称之为第二参数,将手机在第二状态下输出显示窗口所显示的图像的参数称之为第一参数。其中,第一参数和第二参数的类型相同。It should be noted that, for the convenience of description, the parameters of the mobile phone outputting the image displayed in the display window in the first state are referred to as the second parameter, and the parameters of the mobile phone outputting the image displayed in the display window in the second state are referred to as the second parameter. is the first parameter. The first parameter and the second parameter are of the same type.
(3)确定第一参数与第二参数之间的偏差值是否大于预设差值(3) Determine whether the deviation between the first parameter and the second parameter is greater than a preset difference
将第一参数与第二参数进行数学计算,即可以确定出两者之间的偏差值。其中,偏 差值可以为差值、比值等等。示例性的,当第一参数和第二参数均为分辨率时,若第一参数为1080p,第二参数为720p,则两者的差值为1080-720=360;当第一参数和第二参数均为帧率时,若第一参数为60Hz,第二参数为30Hz,则两者的差值为60-30=30。By mathematically calculating the first parameter and the second parameter, the deviation value between the two can be determined. Among them, the deviation value can be a difference value, a ratio value and so on. Exemplarily, when the first parameter and the second parameter are both resolutions, if the first parameter is 1080p and the second parameter is 720p, the difference between the two is 1080-720=360; When the two parameters are both frame rates, if the first parameter is 60 Hz and the second parameter is 30 Hz, the difference between the two is 60-30=30.
可以理解的是,为了便于计算偏差值,可以将第一参数和第二参数的参数值均标定为不同的数值,之后,再计算偏差值。例如,当第一参数和第二参数均为分辨率时,若第一参数为1080p,第二参数为720p,则可以将1080p标定为数字10,将720p标定为数字7,此时两者的差值为10-7=3;当第一参数和第二参数均为帧率时,若第一参数为60Hz,第二参数为30Hz,则可以将1080p标定为数字10,将720p标定为数字7,此时两者的差值为10-7=3。It can be understood that, in order to facilitate the calculation of the deviation value, the parameter values of the first parameter and the second parameter may be calibrated to different values, and then the deviation value is calculated. For example, when the first parameter and the second parameter are both resolutions, if the first parameter is 1080p and the second parameter is 720p, then 1080p can be calibrated as number 10, and 720p can be calibrated as number 7. The difference is 10-7=3; when the first parameter and the second parameter are both frame rates, if the first parameter is 60Hz and the second parameter is 30Hz, 1080p can be calibrated as a number 10, and 720p can be calibrated as a number 7. At this time, the difference between the two is 10-7=3.
此外,当第一参数和第二参数均为图像质量时,则可以将第一参数和第二参数均用数值替代表示。例如,第一参数可以为100,第二参数可以为80,等等。In addition, when both the first parameter and the second parameter are image quality, both the first parameter and the second parameter may be represented by numerical values instead. For example, the first parameter may be 100, the second parameter may be 80, and so on.
进一步地,在确定出第一参数与第二参数之间的偏差值后,将偏差值与预设差值进行比对,即可以确定出偏差值与预设差值之间的大小关系。Further, after determining the deviation value between the first parameter and the second parameter, comparing the deviation value with the preset difference value, the magnitude relationship between the deviation value and the preset difference value can be determined.
其中,若偏差值小于或等于预设差值,则表明第一参数与第二参数之间的偏差较小,此时,终端以第一参数输出图像和第二参数输出图像时的性能相差无几,因此这时终端可以继续以第二参数输出图像。Wherein, if the deviation value is less than or equal to the preset difference value, it indicates that the deviation between the first parameter and the second parameter is small, and at this time, the performance of the terminal when outputting an image with the first parameter and outputting an image with the second parameter is almost the same , so the terminal can continue to output the image with the second parameter at this time.
若偏差值大于预设差值,则表明第一参数与第二参数之间的偏差较大,此时,终端若继续以第二参数输出图像,终端则容易出现持续以高性能或低性能运行的情况,因此这时终端可以将第二参数调整至第一参数,然后以第一参数输出图像。If the deviation value is greater than the preset difference value, it indicates that the deviation between the first parameter and the second parameter is relatively large. At this time, if the terminal continues to output images with the second parameter, the terminal is likely to continue to run with high performance or low performance. Therefore, at this time, the terminal can adjust the second parameter to the first parameter, and then output the image with the first parameter.
(4)调整第二参数至第一参数(4) Adjust the second parameter to the first parameter
在确定出第一参数与第二参数之间的偏差值较大后,则可以将第二参数调整至第一参数。其中,第一参数为手机在第二状态下输出显示窗口所显示的图像的参数,第二参数为手机在第一状态下输出显示窗口所显示的图像的参数;第一状态为变化前的与显示窗口中显示的图像相关的状态,第二状态为变化后的与显示窗口中显示的图像相关的状态。After it is determined that the deviation value between the first parameter and the second parameter is relatively large, the second parameter may be adjusted to the first parameter. Among them, the first parameter is the parameter of the image displayed in the display window output by the mobile phone in the second state, and the second parameter is the parameter of the image displayed in the display window of the mobile phone in the first state; the first state is the same as before the change. A state related to the image displayed in the display window, and the second state is a changed state related to the image displayed in the display window.
下面对第二参数大于第一参数,和第二参数小于第一参数分别说明如何将第二参数调整至第一参数。The following describes how to adjust the second parameter to the first parameter, respectively, for the second parameter greater than the first parameter and the second parameter less than the first parameter.
第一、第二参数大于第一参数The first and second parameters are greater than the first parameter
若第二参数大于第一参数,则表明在与显示窗口中显示的图像相关的状态变化后,显示窗口中所显示的图像的显示效果有所降低。此时,可以通过以下方式将第二参数调整至第一参数。If the second parameter is greater than the first parameter, it indicates that the display effect of the image displayed in the display window is reduced after the state change related to the image displayed in the display window. At this time, the second parameter can be adjusted to the first parameter in the following manner.
a、降低手机中处理显示窗口中所显示的图像的处理器的工作频率或该处理器所属电源域的工作电压中的至少一项。例如,可以降低手机中解码器的视频后处理性能(如降低逻辑的工作时钟等),降低手机中解码器的匹配电压等。a. Reduce at least one of the operating frequency of the processor in the mobile phone that processes the image displayed in the display window or the operating voltage of the power domain to which the processor belongs. For example, the video post-processing performance of the decoder in the mobile phone can be reduced (for example, the working clock of the logic is reduced, etc.), the matching voltage of the decoder in the mobile phone can be reduced, and the like.
b、减少处理显示窗口所显示的图像的图像处理算法的数量。本方案中,图像处理算法可以包括去等高线(De Contour,DC),去蚊虫噪声(De Mosquito,DM),去光环噪声(De Ring,DR),运动估计补偿(Motion Estimate and Motion Compensation,MEMC),降噪(Noise Reduction,NR),图像超分(Super Resolution,SR),等算 法。例如,若在以第二参数输出显示窗口中的图像时使用了4个图像处理算法,分别为MEMC、DC、NR、SR,则在以第一参数输出显示窗口中的图像时,可以使用2个图像处理算法,如NR、SR。b. Reduce the number of image processing algorithms that process the image displayed in the display window. In this solution, the image processing algorithms can include contour removal (De Contour, DC), mosquito noise removal (De Mosquito, DM), halo noise removal (De Ring, DR), motion estimation and compensation (Motion Estimate and Motion Compensation, MEMC), noise reduction (Noise Reduction, NR), image super-resolution (Super Resolution, SR), and other algorithms. For example, if four image processing algorithms are used when outputting the image in the display window with the second parameter, namely MEMC, DC, NR, SR, then when outputting the image in the display window with the first parameter, you can use 2 image processing algorithms, such as NR, SR.
c、若第一参数和第二参数为帧率,则可以对显示窗口中图像对应的视频流进行丢帧,以将第二参数调整至第一参数。其中,丢帧的方式可以为视频前处理(Video Process Sub-System,VPSS)丢帧方式。c. If the first parameter and the second parameter are frame rates, the video stream corresponding to the image in the display window can be dropped to adjust the second parameter to the first parameter. The frame dropping method may be a video pre-processing (Video Process Sub-System, VPSS) frame dropping method.
d、若第一参数和第二参数为分辨率,则可以将手机中应用请求从服务器获取的数据源的分辨率由第二参数切换为第一参数,换言之,将手机中应用的显示窗口中图像的数据源由第二参数的分辨率的数据源切换为第一参数的分辨率的数据源。例如,继续参阅图1a和图1b,若图1a中显示窗口12的分辨率为1080p,图1b中显示窗口12的分辨率为720p,则在图1b中手机11可以向服务器发送获取分辨率为720p的原始图像数据,即切换显示窗口12所属应用的片源。d. If the first parameter and the second parameter are resolutions, the resolution of the data source requested by the application in the mobile phone to be obtained from the server can be switched from the second parameter to the first parameter, in other words, in the display window of the application in the mobile phone. The data source of the image is switched from the data source of the resolution of the second parameter to the data source of the resolution of the first parameter. For example, continuing to refer to FIG. 1a and FIG. 1b, if the resolution of the display window 12 in FIG. 1a is 1080p, and the resolution of the display window 12 in FIG. 1b is 720p, then in FIG. 720p original image data, that is, the film source of the application to which the switch display window 12 belongs.
第二、第二参数小于第一参数Second, the second parameter is smaller than the first parameter
若第二参数小于第一参数,则表明在与显示窗口中显示的图像相关的状态变化后,显示窗口中所显示的图像的显示效果有所提升。此时,可以通过以下方式将第二参数调整至第一参数。If the second parameter is smaller than the first parameter, it indicates that the display effect of the image displayed in the display window is improved after a state change related to the image displayed in the display window. At this time, the second parameter can be adjusted to the first parameter in the following manner.
a、提高手机中处理显示窗口中所显示的图像处理器的工作频率或该处理器所属电源域的工作电压中的至少一项。例如,可以提高手机中解码器的视频后处理性能(如提高逻辑的工作时钟等),提高手机中解码器的匹配电压等。a. Increase at least one of the operating frequency of the image processor displayed in the processing display window in the mobile phone or the operating voltage of the power supply domain to which the processor belongs. For example, the video post-processing performance of the decoder in the mobile phone can be improved (for example, the working clock of the logic can be improved, etc.), and the matching voltage of the decoder in the mobile phone can be improved.
b、增加处理显示窗口所显示的图像的图像处理算法的数量。本方案中,图像处理算法可以包括去等高线(De Contour,DC),去蚊虫噪声(De Mosquito,DM),去光环噪声(De Ring,DR),运动估计补偿(Motion Estimate and Motion Compensation,MEMC),降噪(Noise Reduction,NR),图像超分(Super Resolution,SR),等算法。例如,若在以第二参数输出显示窗口中的图像时使用了2个图像处理算法,分别为NR、SR,则在以第一参数输出显示窗口中的图像时,可以使用4个图像处理算法,如MEMC、DC、NR、SR。示例性的,继续参阅图2a和图2b,若图2b中处理显示窗口14中图像的图像处理算法为NR、SR,则在显示窗口14的显示状态由图2b中的视频播放状态切换为图2a中的游戏状态时,可以在图2a中增加显示窗口14中图像的图像处理算法的数量,如增加MEMC和DC算法,这样图2a中显示窗口14中图像的处理算法为MEMC、DC、NR、SR。b. Increase the number of image processing algorithms that process the image displayed in the display window. In this solution, the image processing algorithms can include contour removal (De Contour, DC), mosquito noise removal (De Mosquito, DM), halo noise removal (De Ring, DR), motion estimation and compensation (Motion Estimate and Motion Compensation, MEMC), noise reduction (Noise Reduction, NR), image super-resolution (Super Resolution, SR), and other algorithms. For example, if two image processing algorithms, NR and SR, are used when outputting the image in the display window with the second parameter, then four image processing algorithms can be used when outputting the image in the display window with the first parameter , such as MEMC, DC, NR, SR. Exemplarily, continue to refer to Fig. 2a and Fig. 2b, if the image processing algorithm for processing the image in the display window 14 in Fig. 2b is NR, SR, then the display state in the display window 14 is switched from the video playback state in Fig. 2b to Fig. In the game state in 2a, the number of image processing algorithms for the images in the display window 14 can be increased in FIG. 2a, such as adding MEMC and DC algorithms, so that the processing algorithms for the images in the display window 14 in FIG. 2a are MEMC, DC, NR. , SR.
c、若第一参数和第二参数为帧率,则可以对显示窗口中图像对应的视频流进行补帧,以将第二参数调整至第一参数。其中,补帧的方式可以为运动估计补偿(Motion Estimate and Motion Compensation,MEMC)补帧方式。c. If the first parameter and the second parameter are frame rates, frame supplementation may be performed on the video stream corresponding to the image in the display window to adjust the second parameter to the first parameter. Among them, the frame supplementation method may be a motion estimation compensation (Motion Estimate and Motion Compensation, MEMC) frame supplementation method.
d、若第一参数和第二参数为分辨率,则可以将手机中应用请求从服务器获取的数据源的分辨率由第二参数切换为第一参数,换言之,将手机中应用的显示窗口中图像的数据源由第二参数的分辨率的数据源切换为第一参数的分辨率的数据源。例如,继续参阅图1a和图1b,若图1b中显示窗口12的分辨率为720p,图1a中显示窗口12的分辨率为1080p,则在图1a中手机11可以向服务器发送获取分辨率为1080p的原始图像数据,即切换显示窗口12所属应用的片源。d. If the first parameter and the second parameter are resolutions, the resolution of the data source requested by the application in the mobile phone to be obtained from the server can be switched from the second parameter to the first parameter, in other words, in the display window of the application in the mobile phone. The data source of the image is switched from the data source of the resolution of the second parameter to the data source of the resolution of the first parameter. For example, continue referring to FIG. 1a and FIG. 1b, if the resolution of the display window 12 in FIG. 1b is 720p, and the resolution of the display window 12 in FIG. 1a is 1080p, then in FIG. The 1080p original image data, that is, the film source of the application to which the switching display window 12 belongs.
可以理解的是,当第二参数大于第一参数时,可以表明用户对应用的显示窗口中显示的图像的关注度有所降低,此时,用户可能正在关注手机的显示屏幕上的其他区域。因此,这时可以增加手机的显示屏幕上其他区域中图像的图像处理算法的数量,以将其他区域中的图像以较好的显示效果呈现给用户,提升用户体验。示例性的,继续参阅图3a和图3b,在用户的视线由图3a切换到图3b后,则可以增加处理显示窗口16中图像的图像处理算法;例如,在图3a中,处理显示窗口16中图像的处理算法为2个,如NR、SR,则在图3b中,处理显示窗口16中图像的处理算法可以为4个,如MEMC、DC、NR、SR。It can be understood that when the second parameter is greater than the first parameter, it can indicate that the user's attention to the image displayed in the display window of the application is reduced. At this time, the user may be paying attention to other areas on the display screen of the mobile phone. Therefore, at this time, the number of image processing algorithms for images in other areas on the display screen of the mobile phone can be increased, so as to present the images in other areas to the user with a better display effect and improve user experience. 3a and 3b, after the user's line of sight is switched from FIG. 3a to FIG. 3b, an image processing algorithm for processing the images in the display window 16 can be added; for example, in FIG. 3a, the processing display window 16 There are two processing algorithms for the images in FIG. 3 , such as NR and SR. In FIG. 3 b , there are four processing algorithms for processing the images in the display window 16 , such as MEMC, DC, NR, and SR.
同理,当第二参数小于第一参数时,可以表明用户对应用的显示窗口中显示的图像的关注度有所提高。因此,这时可以减少手机的显示屏幕上其他区域中图像的图像处理算法的数量,以降低手机的功耗。示例性的,继续参阅图3a和图3b,在用户的视线由图3a切换到图3b后,则可以减少处理显示窗口15中图像的图像处理算法;例如,在图3a中,处理显示窗口15中图像的处理算法为4个,如MEMC、DC、NR、SR,则在图3b中,处理显示窗口15中图像的处理算法可以为2个,如NR、SR。Similarly, when the second parameter is smaller than the first parameter, it can indicate that the user's attention to the image displayed in the display window of the application is improved. Therefore, at this time, the number of image processing algorithms for images in other areas on the display screen of the mobile phone can be reduced, so as to reduce the power consumption of the mobile phone. 3a and 3b, after the user's line of sight is switched from FIG. 3a to FIG. 3b, the image processing algorithm for processing the images in the display window 15 can be reduced; for example, in FIG. 3a, the processing display window 15 There are four processing algorithms for the images in FIG. 3 , such as MEMC, DC, NR, and SR. In FIG. 3 b , there are two processing algorithms for processing the images in the display window 15 , such as NR and SR.
可以理解的是,在将第二参数调整至第一参数时,对于手机中需要调整的各个参数的调整值,可以基于两者之间的偏差值确定。示例性的,偏差值和调整值之间可以具有映射关系,当确定出偏差值后,即可以确定出调整值。例如,表一示出了偏差值和调整值之间的映射关系,当确定出偏差值为A1时,即可以确定出调整值为B1。It can be understood that, when adjusting the second parameter to the first parameter, the adjustment value of each parameter that needs to be adjusted in the mobile phone can be determined based on the deviation value between the two. Exemplarily, there may be a mapping relationship between the deviation value and the adjustment value, and after the deviation value is determined, the adjustment value may be determined. For example, Table 1 shows the mapping relationship between the deviation value and the adjustment value. When the deviation value is determined to be A1, the adjustment value can be determined to be B1.
表一Table I
偏差值Deviation 调整值Adjustment value
A1A1 B1B1
A2A2 B2B2
A3A3 B3B3
举例来说,在需要调节手机中处理显示窗口中所显示的图像的处理器所属电源域的工作电压时,可以根据第二参数和第一参数之间的偏差值,确定出调整值,从而确定出调整之后处理器所属电源域的工作电压。之后,调整处理器所属电源域的工作电压即可。For example, when it is necessary to adjust the operating voltage of the power supply domain of the processor that processes the image displayed in the display window in the mobile phone, the adjustment value can be determined according to the deviation value between the second parameter and the first parameter, thereby determining Output the operating voltage of the power domain to which the processor belongs after adjustment. After that, you can adjust the working voltage of the power domain to which the processor belongs.
接下来,介绍本申请实施例提供的一种终端控制方法的流程步骤。Next, the flow steps of a terminal control method provided by an embodiment of the present application are introduced.
请参阅图5,图5是本申请实施例提供的一种终端控制方法的流程示意图。可以理解,该方法可以通过任何具有计算、处理能力的装置、设备、平台、设备集群来执行。如图5所示,该终端控制方法包括:Please refer to FIG. 5, which is a schematic flowchart of a terminal control method provided by an embodiment of the present application. It can be understood that the method can be performed by any apparatus, device, platform, or device cluster with computing and processing capabilities. As shown in Figure 5, the terminal control method includes:
步骤S101、确定目标状态由第一状态切换为第二状态。Step S101, it is determined that the target state is switched from the first state to the second state.
本方案中,目标状态可以包括终端上第一应用的显示窗口的显示状态或当前使用终端的用户的用户状态中的至少一项,其中,第一应用的显示窗口上显示有第一图像。In this solution, the target state may include at least one of the display state of the display window of the first application on the terminal or the user state of the user currently using the terminal, wherein the display window of the first application displays the first image.
当目标状态为显示状态时,终端、终端上某一部件或者其他设备可以对终端上第一应用的显示窗口的显示状态进行监控,以确定显示状态是否发生变化。示例性的,继续参阅图1a和图1b,当显示窗口12的状态由图1a中的状态切换为图1b中的状态,即可以确定显示窗口12的显示状态发生了变化。When the target state is the display state, the terminal, a component on the terminal, or other equipment may monitor the display state of the display window of the first application on the terminal to determine whether the display state changes. 1a and 1b, when the state of the display window 12 is switched from the state in FIG. 1a to the state in FIG. 1b, it can be determined that the display state of the display window 12 has changed.
当目标状态为用户状态时,终端、终端上某一部件或者其他设备也可以对用户状态进行监控,以确定用户状态是否发生变化。示例性的,继续参阅图3a和图3b,当用户状态由图3a中的状态切换为图3b中的状态,即可以确定用户状态发生了变化。When the target state is the user state, the terminal, a component on the terminal, or other equipment may also monitor the user state to determine whether the user state changes. Exemplarily, referring to FIG. 3a and FIG. 3b, when the user state is switched from the state in FIG. 3a to the state in FIG. 3b, it can be determined that the user state has changed.
在一个例子中,显示状态可以包括显示窗口的尺寸和第一图像所表达的目标内容中的至少一项;用户状态可以包括用户对显示窗口上第一区域的目标关注度,第一区域用于显示部分或全部的第一图像,和用户操作终端的目标操作频率中的至少一项。In one example, the display state may include at least one of the size of the display window and the target content expressed by the first image; the user state may include the user's target attention to the first area on the display window, and the first area is used for Part or all of the first image is displayed, and at least one of a target operation frequency for the user to operate the terminal.
其中,若显示状态为显示窗口的尺寸,则在确定出显示窗口的尺寸由第一尺寸切换为第二尺寸,即可以确定出目标状态由第一状态切换为了第二状态。其中,第一尺寸与第二尺寸不同。Wherein, if the display state is the size of the display window, after it is determined that the size of the display window is switched from the first size to the second size, it can be determined that the target state is switched from the first state to the second state. Wherein, the first size is different from the second size.
若显示状态为第一图像所表达的目标内容,则在确定出第一图像所表达的目标内容由第一内容切换为第二内容,即可以确定出目标状态由第一状态切换为了第二状态。其中,第一内容与第二内容的类型不同。If the display state is the target content expressed by the first image, after it is determined that the target content expressed by the first image is switched from the first content to the second content, it can be determined that the target state is switched from the first state to the second state . Wherein, the types of the first content and the second content are different.
若用户状态为用户对显示窗口上第一区域的目标关注度,则在确定出目标关注度由第一关注度切换为第二关注度,即可以确定出目标状态由第一状态切换为了第二状态。其中,第一关注度与第二关注度不同。对于确定关注度的方式可参见上文描述。If the user state is the user's target attention to the first area on the display window, after it is determined that the target attention is switched from the first attention to the second attention, it can be determined that the target state is switched from the first state to the second state. The first degree of attention is different from the second degree of attention. For the manner of determining the degree of attention, please refer to the above description.
若用户状态为用户操作终端的目标操作频率,则在确定出目标操作频率由第一操作频率切换为第二操作频率,即可以确定出目标状态由第一状态切换为了第二状态。其中,第一操作频率与第二操作频率不同。If the user state is the target operating frequency of the user operating the terminal, after determining that the target operating frequency is switched from the first operating frequency to the second operating frequency, it can be determined that the target state is switched from the first state to the second state. Wherein, the first operating frequency is different from the second operating frequency.
步骤S102、确定终端在第二状态下输出第一图像所需的第一参数。Step S102: Determine the first parameter required by the terminal to output the first image in the second state.
具体地,在目标状态发生变化后,即可以确定终端在第二状态下输出第一图像所需的第一参数。其中,第一参数可以包括图像质量、帧率或分辨率中的至少一项。示例性的,第二状态与第一参数之间具有映射关系,在确定出目标状态切换为第二状态后,即可以根据第二状态确定出第一参数。此外,第一参数也可以由终端系统感知确定,另也可以参见上文有关描述。Specifically, after the target state changes, the first parameter required by the terminal to output the first image in the second state can be determined. Wherein, the first parameter may include at least one of image quality, frame rate or resolution. Exemplarily, there is a mapping relationship between the second state and the first parameter, and after it is determined that the target state is switched to the second state, the first parameter can be determined according to the second state. In addition, the first parameter may also be determined by perception of the terminal system, and reference may also be made to the above related description.
步骤S103、将第二参数调整至第一参数,第二参数为终端在第一状态下输出第一图像时对应的参数,第一参数与第二参数的类型相同。Step S103: Adjust the second parameter to the first parameter, the second parameter is a parameter corresponding to when the terminal outputs the first image in the first state, and the first parameter and the second parameter are of the same type.
具体地,在确定出第一参数后,可以将终端在第一状态下输出第一图像时对应的参数(即第二参数)调整至第一参数,以使终端以第一参数输出第一图像,从而使得终端的运行状态与显示窗口的显示状态或用户状态中的至少一项相匹配,避免终端持续以高性能或低性能运行,有助于解决出现终端的功耗增大或者显示效果无法满足用户需求等问题,提升用户体验。其中,本方案中,第一参数与第二参数的类型可以相同,即当第一参数为图像质量时,第二参数也为图像质量;当第一参数为帧率时,第二参数也为帧率;当第一参数为分辨率时,第二参数也为分辨率。对于第二参数的获取方式,可参见第一参数的获取方式。Specifically, after the first parameter is determined, the corresponding parameter (ie, the second parameter) when the terminal outputs the first image in the first state can be adjusted to the first parameter, so that the terminal outputs the first image with the first parameter , so that the running state of the terminal matches at least one of the display state of the display window or the user state, preventing the terminal from running with high performance or low performance continuously, and helping to solve the problem that the power consumption of the terminal increases or the display effect fails. Meet user needs and other issues to improve user experience. Wherein, in this solution, the types of the first parameter and the second parameter may be the same, that is, when the first parameter is image quality, the second parameter is also image quality; when the first parameter is frame rate, the second parameter is also Frame rate; when the first parameter is resolution, the second parameter is also resolution. For the acquisition method of the second parameter, please refer to the acquisition method of the first parameter.
作为一种可能的实现方式,可以通过以下方式将第二参数调整至第一参数。As a possible implementation manner, the second parameter can be adjusted to the first parameter in the following manner.
a、若第二参数大于第一参数,则可以降低终端中处理器的工作频率或处理器所属电源域的工作电压中的至少一项,处理器用于处理第一图像;若第二参数小于第一参数,则可以提高终端中处理器的工作频率或处理器所属电源域的工作电压中的至少一项。a. If the second parameter is greater than the first parameter, at least one of the operating frequency of the processor in the terminal or the operating voltage of the power supply domain to which the processor belongs can be reduced, and the processor is used to process the first image; if the second parameter is less than the first parameter A parameter can increase at least one of the operating frequency of the processor in the terminal or the operating voltage of the power supply domain to which the processor belongs.
b、若第二参数大于第一参数,则可以以第一数量的第一图像处理算法处理第一图像,其中,在以第二参数输出第一图像时第一图像处理算法的数量为第二数量,第一数量小于第二数量;若第二参数小于第一参数,则可以以第三数量的第一图像处理算法处理第一图像,第三数量大于第二数量。b. If the second parameter is greater than the first parameter, the first image can be processed with the first number of first image processing algorithms, wherein when the first image is output with the second parameter, the number of the first image processing algorithms is the second number, the first number is less than the second number; if the second parameter is less than the first parameter, the first image can be processed with a third number of the first image processing algorithm, and the third number is greater than the second number.
c、若第二参数大于第一参数,则可以以第四数量的第二图像算法处理第二区域中的图像,第二区域为终端上除显示窗口所占区域外的至少部分显示区域,其中,在以第二参数输出第一图像时第二图像处理算法的数量为第五数量,第四数量大于第五数量;若第二参数小于第一参数,则可以以第六数量的第二图像算法处理第二区域中的图像,第六数量小于第五数量。c. If the second parameter is greater than the first parameter, the image in the second area can be processed by a fourth number of second image algorithms, and the second area is at least part of the display area on the terminal except the area occupied by the display window, wherein , when the first image is output with the second parameter, the number of the second image processing algorithm is the fifth number, and the fourth number is greater than the fifth number; if the second parameter is less than the first parameter, the sixth number of the second image can be used The algorithm processes the images in the second region, the sixth quantity being smaller than the fifth quantity.
d、第一参数可以包括帧率;其中,若第二参数大于第一参数,则可以对终端在第一状态下输出第一图像的帧率进行丢帧;若第二参数小于第一参数,则可以对终端在第一状态下输出第一图像的帧率进行补帧。d. The first parameter may include a frame rate; wherein, if the second parameter is greater than the first parameter, the frame rate at which the terminal outputs the first image in the first state may be dropped; if the second parameter is smaller than the first parameter, Then the frame rate at which the terminal outputs the first image in the first state can be supplemented.
e、第一参数可以包括分辨率;则在终端向服务器发送第一请求时,可以将第一请求中携带的原始图像数据的分辨率由第一分辨率切换为第二分辨率,第一分辨率为终端在第一状态下输出第一图像的分辨率,第二分辨率为终端在第二状态下输出第一图像所需的分辨率,第一请求用于请求获取与第一图像相关的原始图像数据。e. The first parameter may include resolution; then when the terminal sends the first request to the server, the resolution of the original image data carried in the first request may be switched from the first resolution to the second resolution, and the first resolution The rate is the resolution at which the terminal outputs the first image in the first state, the second resolution is the resolution required for the terminal to output the first image in the second state, and the first request is used to request the acquisition of data related to the first image. raw image data.
需说明的是,上述将第二参数调整至第一参数的方式可以单独实施,也可以共同实施,在此不做限定。It should be noted that, the above-mentioned manner of adjusting the second parameter to the first parameter may be implemented independently, or may be implemented jointly, which is not limited herein.
可以理解的是,本方案提供的方法中的部分或全部描述,可以参考上文有关描述,在此就不再一一赘述。It can be understood that, for some or all of the descriptions in the method provided in this solution, reference may be made to the above related descriptions, which will not be repeated here.
由此,本方案中,在确定出与终端上应用的显示窗口中显示的图像相关的状态发生变化后,确定出终端在变化后的状态下输出显示窗口中显示的图像所需的参数,并基于该参数对终端输出显示窗口中显示的图像的参数进行调整,避免终端持续以高性能或低性能运行,有助于解决出现终端的功耗增大或者显示效果无法满足用户需求等问题,提升了用户体验。Therefore, in this solution, after it is determined that the state related to the image displayed in the display window of the application on the terminal changes, the parameters required by the terminal to output the image displayed in the display window in the changed state are determined, and Based on this parameter, the parameters of the image displayed in the output display window of the terminal are adjusted to prevent the terminal from running with high performance or low performance continuously. user experience.
在一个例子中,在将第二参数调整至第一参数之前,还可以确定两者之间的偏差值,然后基于该偏差值,确定是否将第二参数调整至第一参数,以避免不必要的调整,提升参数调整的准确度。具体地,如图6所示,包括以下步骤:In one example, before adjusting the second parameter to the first parameter, a deviation value between the two can also be determined, and then based on the deviation value, it is determined whether to adjust the second parameter to the first parameter to avoid unnecessary to improve the accuracy of parameter adjustment. Specifically, as shown in Figure 6, the following steps are included:
步骤S201、确定第一参数和第二参数之间的偏差值。Step S201: Determine the deviation value between the first parameter and the second parameter.
其中,将第一参数和第二参数进行数学计算,即可以确定出两者之间的偏差值。本方案中,偏差值可以为差值、比值等。Wherein, the first parameter and the second parameter are mathematically calculated to determine the deviation value between the two. In this solution, the deviation value may be a difference value, a ratio value, or the like.
步骤S202、判断偏差值是否小于或等于预设差值。Step S202, judging whether the deviation value is less than or equal to the preset difference value.
其中,将偏差值与预设差值进行比对,即可以确定出偏差值是否大于预设差值。本方案中,若偏差值小于或等于预设差值,则执行步骤S203;否则,则执行步骤S204。Wherein, by comparing the deviation value with the preset difference value, it can be determined whether the deviation value is greater than the preset difference value. In this solution, if the deviation value is less than or equal to the preset difference value, step S203 is executed; otherwise, step S204 is executed.
步骤S203、不调整第二参数。Step S203, do not adjust the second parameter.
具体地,若偏差值小于或等于预设差值,则表明第一参数与第二参数之间的偏差较小,此时,终端以第一参数输出图像和第二参数输出图像时的性能相差无几,因此这时终端可以继续以第二参数输出图像,即此时不调整第二参数。Specifically, if the deviation value is less than or equal to the preset difference value, it indicates that the deviation between the first parameter and the second parameter is relatively small, and at this time, the performance of the terminal when outputting an image with the first parameter and outputting an image with the second parameter is different There are few, so the terminal can continue to output the image with the second parameter at this time, that is, the second parameter is not adjusted at this time.
步骤S204、将第二参数调整至第一参数。Step S204, adjusting the second parameter to the first parameter.
具体地,若偏差值大于预设差值,则表明第一参数与第二参数之间的偏差较大,此时终端若继续以第二参数输出图像,终端则容易出现持续以高性能或低性能运行的情况,因此,这时可以将第二参数调整至第一参数,以使终端以第一参数输出图像。Specifically, if the deviation value is greater than the preset difference value, it indicates that the deviation between the first parameter and the second parameter is relatively large. At this time, if the terminal continues to output the image with the second parameter, the terminal is likely to continue to output images with high performance or low performance. Therefore, at this time, the second parameter can be adjusted to the first parameter, so that the terminal outputs the image with the first parameter.
接下来,介绍本申请实施例提供的另一种终端控制方法的流程步骤。Next, the flow steps of another terminal control method provided by the embodiment of the present application are introduced.
请参阅图7,图7是本申请实施例提供的一种终端控制方法的流程示意图。可以理解,该方法可以通过任何具有计算、处理能力的装置、设备、平台、设备集群来执行。如图7所示,该终端控制方法包括:Please refer to FIG. 7 , which is a schematic flowchart of a terminal control method provided by an embodiment of the present application. It can be understood that the method can be performed by any apparatus, device, platform, or device cluster with computing and processing capabilities. As shown in Figure 7, the terminal control method includes:
步骤S301、确定目标状态由第一状态切换为第二状态,目标状态包括终端上第一应用的显示窗口的显示状态或当前使用终端的用户的用户状态中的至少一项,其中,第一应用的显示窗口上显示有第一图像。对于该步骤的描述,可参见上文步骤S101中的描述,在此就不再一一赘述。Step S301, determining that the target state is switched from the first state to the second state, and the target state includes at least one of the display state of the display window of the first application on the terminal or the user state of the user currently using the terminal, wherein the first application The first image is displayed on the display window of . For the description of this step, reference may be made to the description in step S101 above, which will not be repeated here.
步骤S302、调整终端中的目标参数,目标参数与第一图像的显示效果有关。Step S302: Adjust target parameters in the terminal, where the target parameters are related to the display effect of the first image.
本方案中,在目标状态发生变化后,可以对终端中的目标参数进行调整,以调节第一图像的显示效果,进而避免终端持续以高性能或低性能运行。其中,调整终端中的目标参数,可以包括以下方式中的一种或多种:In this solution, after the target state changes, the target parameters in the terminal can be adjusted to adjust the display effect of the first image, thereby preventing the terminal from continuously running with high performance or low performance. Wherein, adjusting the target parameters in the terminal may include one or more of the following methods:
a、降低终端中处理器的工作频率或处理器所属电源域的工作电压中的至少一项,处理器用于处理第一图像;或者,提高终端中处理器的工作频率或处理器所属电源域的工作电压中的至少一项。a. Reduce at least one of the operating frequency of the processor in the terminal or the operating voltage of the power domain to which the processor belongs, and the processor is used to process the first image; or, increase the operating frequency of the processor in the terminal or the operating voltage of the power domain to which the processor belongs. At least one of the working voltages.
b、增加第一图像处理算法的数量,其中,第一图像处理算法用于处理第一图像;或者,减少第一图像处理算法的数量。b. Increase the number of first image processing algorithms, where the first image processing algorithm is used to process the first image; or, reduce the number of first image processing algorithms.
c、在增加第一图像处理算法的数量的情况下,减少第二图像处理算法的数量,第二图像处理算法用于处理终端上除显示窗口所占区域外的至少部分显示区域中的图像;在减少第一图像处理算法的数量的情况下,增加第二图像处理算法的数量。c. In the case of increasing the number of the first image processing algorithm, reduce the number of the second image processing algorithm, and the second image processing algorithm is used to process the image in at least part of the display area except the area occupied by the display window on the terminal; Where the number of first image processing algorithms is reduced, the number of second image processing algorithms is increased.
d、当目标参数包括帧率时,可以对第一图像对应的视频流进行丢帧,或者对第一图像对应的视频流进行补帧。d. When the target parameter includes the frame rate, frame dropping may be performed on the video stream corresponding to the first image, or frame supplementation may be performed on the video stream corresponding to the first image.
e、当目标参数包括分辨率时,可以在终端向服务器发送第一请求时,调整第一请求中携带的与第一图像相关的原始图像数据的分辨率,第一请求用于请求获取原始图像数据。e. When the target parameter includes the resolution, the resolution of the original image data related to the first image carried in the first request can be adjusted when the terminal sends the first request to the server, and the first request is used to request the acquisition of the original image data.
f、当目标参数包括在第一状态下第一图像对应的第一参数时,则可以先确定在第二状态下第一图像对应的第二参数,第二参数与第一参数的类型相同;然后,再根据第一参数和第二参数,调整第一参数。f. When the target parameter includes the first parameter corresponding to the first image in the first state, the second parameter corresponding to the first image in the second state may be determined first, and the second parameter is of the same type as the first parameter; Then, the first parameter is adjusted according to the first parameter and the second parameter.
在一个例子中,根据第一参数和第二参数,调整第一参数,可以包括:在第一参数与第二参数存在偏差时,将第一参数调整至第二参数;或者在第一参数与第二参数之间的偏差值大于预设差值时,基于偏差值,调整第一参数,以使偏差值小于或等于预设差值。In one example, adjusting the first parameter according to the first parameter and the second parameter may include: when there is a deviation between the first parameter and the second parameter, adjusting the first parameter to the second parameter; or when the first parameter is different from the second parameter When the deviation value between the second parameters is greater than the preset difference value, the first parameter is adjusted based on the deviation value so that the deviation value is smaller than or equal to the preset difference value.
可以理解的是,本方案提供的方法中的部分或全部描述,可以参考上文有关描述,在此就不再一一赘述。It can be understood that, for some or all of the descriptions in the method provided in this solution, reference may be made to the above related descriptions, which will not be repeated here.
基于上述实施例中的方法,本申请实施例提供了一种终端控制装置。请参阅图8,图8是本申请实施例提供的一种终端控制装置的结构示意图。如图8所示,该终端控制装置800包括:确定模块81和处理模块82;其中,确定模块81用于确定目标状态由第一状态切换为第二状态,目标状态包括终端上第一应用的显示窗口的显示状态或当前使用终端的用户的用户状态中的至少一项,第一应用的显示窗口上显示有第一图像;处理模块82,用于调整终端中的目标参数,目标参数与第一图像的显示效果有关。Based on the methods in the foregoing embodiments, the embodiments of the present application provide a terminal control apparatus. Please refer to FIG. 8. FIG. 8 is a schematic structural diagram of a terminal control apparatus provided by an embodiment of the present application. As shown in FIG. 8 , the terminal control apparatus 800 includes: a determination module 81 and a processing module 82; wherein, the determination module 81 is used to determine that the target state is switched from the first state to the second state, and the target state includes the first application on the terminal. At least one of the display state of the display window or the user state of the user currently using the terminal, and the first image is displayed on the display window of the first application; the processing module 82 is used to adjust the target parameter in the terminal, and the target parameter is the same as the first image. It is related to the display effect of an image.
在一个例子中,目标状态包括显示状态,显示状态包括显示窗口的尺寸;确定模块81,具体用于:确定显示窗口的尺寸由第一尺寸切换为第二尺寸。In an example, the target state includes the display state, and the display state includes the size of the display window; the determining module 81 is specifically configured to: determine that the size of the display window is switched from the first size to the second size.
在一个例子中,目标状态包括显示状态,显示状态包括第一图像所表达的目标内容;确定模块81,具体用于:确定目标内容由第一内容切换为第二内容,第一内容的类型与第二内容的类型不同。In one example, the target state includes a display state, and the display state includes the target content expressed by the first image; the determining module 81 is specifically configured to: determine that the target content is switched from the first content to the second content, and the type of the first content is the same as that of the first content. The type of the second content is different.
在一个例子中,目标状态包括用户状态,用户状态包括用户对显示窗口上第一区域的目标关注度,第一区域用于显示部分或全部的第一图像;确定模块81,具体用于:确定目标关注度由第一关注度切换为第二关注度。In one example, the target state includes a user state, and the user state includes the user's target attention to the first area on the display window, and the first area is used to display part or all of the first image; the determining module 81 is specifically configured to: determine The target attention degree is switched from the first attention degree to the second attention degree.
在一个例子中,确定模块81,具体用于:确定用户的眼球注视第一区域的注视时长,以及根据注视时长所属的时长区间,确定目标关注度。In one example, the determining module 81 is specifically configured to: determine the gaze duration during which the user's eyeballs gaze at the first region, and determine the target attention degree according to the duration interval to which the gaze duration belongs.
在一个例子中,目标状态包括用户状态,用户状态包括用户操作终端的目标操作频率;确定模块81,具体用于:确定目标操作频率由第一操作频率切换为第二操作频率。In one example, the target state includes a user state, and the user state includes a target operating frequency of the user operating the terminal; the determining module 81 is specifically configured to: determine that the target operating frequency is switched from the first operating frequency to the second operating frequency.
在一个例子中,处理模块82,具体用于:降低终端中处理器的工作频率或处理器所属电源域的工作电压中的至少一项,处理器用于处理第一图像;或者提高终端中处理器的工作频率或处理器所属电源域的工作电压中的至少一项。In an example, the processing module 82 is specifically configured to: reduce at least one of the operating frequency of the processor in the terminal or the operating voltage of the power supply domain to which the processor belongs, and the processor is used to process the first image; or increase the processor in the terminal at least one of the operating frequency of the processor or the operating voltage of the power domain to which the processor belongs.
在一个例子中,处理模块82,具体用于:增加第一图像处理算法的数量,其中,第一图像处理算法用于处理第一图像;或者,减少第一图像处理算法的数量。In one example, the processing module 82 is specifically configured to: increase the number of the first image processing algorithms, where the first image processing algorithm is used to process the first image; or reduce the number of the first image processing algorithms.
在一个例子中,处理模块82在增加第一图像处理算法的数量的情况下,还用于:减少第二图像处理算法的数量,第二图像处理算法用于处理终端上除显示窗口所占区域外的至少部分显示区域中的图像;或者,处理模块82在减少第一图像处理算法的数量的情况下,还用于:增加第二图像处理算法的数量。In an example, when the number of the first image processing algorithms is increased, the processing module 82 is further configured to: reduce the number of the second image processing algorithms, and the second image processing algorithm is used to process the area on the terminal except the area occupied by the display window At least part of the image outside the display area; or, in the case of reducing the number of the first image processing algorithms, the processing module 82 is further configured to: increase the number of the second image processing algorithms.
在一个例子中,目标参数包括帧率;In one example, the target parameter includes frame rate;
处理模块82,具体用于:对第一图像对应的视频流进行丢帧,或者对第一图像对应的视频流进行补帧。The processing module 82 is specifically configured to: drop frames on the video stream corresponding to the first image, or perform frame supplementation on the video stream corresponding to the first image.
在一个例子中,目标参数包括分辨率;In one example, the target parameter includes resolution;
处理模块82,具体用于:在终端向服务器发送第一请求时,调整第一请求中携带的与第一图像相关的原始图像数据的分辨率,第一请求用于请求获取原始图像数据。The processing module 82 is specifically configured to: when the terminal sends the first request to the server, adjust the resolution of the original image data related to the first image carried in the first request, and the first request is used for requesting to obtain the original image data.
在一个例子中,目标参数包括在第一状态下第一图像对应的第一参数;处理模块82,还用于:确定在第二状态下第一图像对应的第二参数,第二参数与第一参数的类型相同;根据第一参数和第二参数,调整第一参数。In one example, the target parameter includes a first parameter corresponding to the first image in the first state; the processing module 82 is further configured to: determine a second parameter corresponding to the first image in the second state, and the second parameter is the same as the first parameter. One parameter is of the same type; the first parameter is adjusted according to the first parameter and the second parameter.
在一个例子中,处理模块82,还用于:在第一参数与第二参数存在偏差时,将第一参数调整至第二参数;或者在第一参数与第二参数之间的偏差值大于预设差值时,基于偏差值,调整第一参数,以使偏差值小于或等于预设差值。In one example, the processing module 82 is further configured to: when there is a deviation between the first parameter and the second parameter, adjust the first parameter to the second parameter; or when the deviation value between the first parameter and the second parameter is greater than When the difference value is preset, based on the deviation value, the first parameter is adjusted so that the deviation value is less than or equal to the preset difference value.
应当理解的是,上述装置用于执行上述实施例中的方法,装置中相应的程序模块,其实现原理和技术效果与上述方法中的描述类似,该装置的工作过程可参考上述方法中的对应过程,此处不再赘述。It should be understood that the above-mentioned apparatus is used to execute the method in the above-mentioned embodiment, and the implementation principle and technical effect of the corresponding program modules in the apparatus are similar to those described in the above-mentioned method, and the working process of the apparatus may refer to the corresponding program module in the above-mentioned method The process will not be repeated here.
基于上述实施例中的方法,本申请实施例提供了一种电子设备。请参阅图9,图9是本申请实施例提供的一种电子设备的结构示意图。如图9所示,本申请实施例提供的电子设备,该电子设备可用于实现上述方法实施例中描述的方法。Based on the methods in the foregoing embodiments, the embodiments of the present application provide an electronic device. Please refer to FIG. 9 , which is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As shown in FIG. 9 , the electronic device provided by the embodiment of the present application can be used to implement the method described in the foregoing method embodiment.
该电子设备包括至少一个处理器901,该至少一个处理器901可支持电子设备实现本申请实施例中所提供的方法。The electronic device includes at least one processor 901, and the at least one processor 901 can support the electronic device to implement the methods provided in the embodiments of this application.
该处理器901可以是通用处理器或者专用处理器。例如,处理器901可以包括中央处理器(central processing unit,CPU)和/或基带处理器。其中,基带处理器可以用于处理通信数据(例如,确定目标屏幕终端),CPU可以用于实现相应的控制和处理功能,执行软件程序,处理软件程序的数据。The processor 901 may be a general-purpose processor or a special-purpose processor. For example, the processor 901 may include a central processing unit (CPU) and/or a baseband processor. The baseband processor may be used for processing communication data (for example, determining a target screen terminal), and the CPU may be used for implementing corresponding control and processing functions, executing software programs, and processing data of software programs.
进一步的,电子设备还可以包括收发单元905,用以实现信号的输入(接收)和输出(发送)。例如,收发单元905可以包括收发器或射频芯片。收发单元905还可以包括通信接口。Further, the electronic device may further include a transceiver unit 905 to implement signal input (reception) and output (send). For example, the transceiver unit 905 may include a transceiver or a radio frequency chip. Transceiver unit 905 may also include a communication interface.
可选地,电子设备还可以包括天线906,可以用于支持收发单元905实现电子设备的收发功能。Optionally, the electronic device may further include an antenna 906, which may be used to support the transceiver unit 905 to implement the transceiver function of the electronic device.
可选地,电子设备中可以包括一个或多个存储器902,其上存有程序(也可以是指令或者代码)904,程序904可被处理器901运行,使得处理器901执行上述方法实施例中描述的方法。可选地,存储器902中还可以存储有数据。可选地,处理器901还可以读取存储器902中存储的数据(例如,预存储的第一特征信息),该数据可以与程序904存储在相同的存储地址,该数据也可以与程序904存储在不同的存储地址。Optionally, the electronic device may include one or more memories 902 on which programs (or instructions or codes) 904 are stored, and the program 904 may be executed by the processor 901, so that the processor 901 executes the above method embodiments. method described. Optionally, data may also be stored in the memory 902 . Optionally, the processor 901 can also read the data stored in the memory 902 (for example, the pre-stored first feature information), the data can be stored in the same storage address as the program 904, and the data can also be stored with the program 904 at different storage addresses.
处理器901和存储器902可以单独设置,也可以集成在一起,例如,集成在单板或者系统级芯片(system on chip,SOC)上。The processor 901 and the memory 902 can be provided separately, or can be integrated together, for example, integrated on a single board or a system on chip (system on chip, SOC).
关于电子设备在上述各种可能的设计中执行的操作的详细描述可以参照本申请实施例提供的方法的实施例中的描述,在此就不再一一赘述。For a detailed description of the operations performed by the electronic device in the above-mentioned various possible designs, reference may be made to the descriptions in the embodiments of the methods provided in the embodiments of the present application, and details are not repeated here.
基于上述实施例中的装置,本申请实施例还提供了另一种电子设备,该电子设备包含上述实施例中所提供的终端控制装置800。Based on the apparatuses in the foregoing embodiments, the embodiments of the present application further provide another electronic device, where the electronic equipment includes the terminal control apparatus 800 provided in the foregoing embodiments.
基于上述实施例中的方法,本申请实施例还提供了一种终端控制装置。请参阅图10,图10为本申请实施例提供的另一种终端控制装置的结构示意图。如图10所示,终端控制装置1000包括一个或多个处理器1001以及接口电路1002。可选的,终端控制装置1000还可以包含总线1003。其中:Based on the methods in the foregoing embodiments, an embodiment of the present application further provides a terminal control apparatus. Please refer to FIG. 10 , which is a schematic structural diagram of another terminal control apparatus provided by an embodiment of the present application. As shown in FIG. 10 , the terminal control apparatus 1000 includes one or more processors 1001 and an interface circuit 1002 . Optionally, the terminal control apparatus 1000 may further include a bus 1003 . in:
处理器1001可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1001中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1001可以是通用处理器、数字通信器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、 分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 1001 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned method can be completed by an integrated logic circuit of hardware in the processor 1001 or an instruction in the form of software. The above-mentioned processor 1001 may be a general purpose processor, a digital communicator (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components . Various methods and steps disclosed in the embodiments of this application can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
接口电路1002可以用于数据、指令或者信息的发送或者接收,处理器1001可以利用接口电路1002接收的数据、指令或者其它信息,进行加工,可以将加工完成信息通过接口电路1002发送出去。The interface circuit 1002 can be used for sending or receiving data, instructions or information. The processor 1001 can use the data, instructions or other information received by the interface circuit 1002 to process, and can send the processing completion information through the interface circuit 1002.
可选的,终端控制装置1000还包括存储器,存储器可以包括只读存储器和随机存取存储器,并向处理器提供操作指令和数据。存储器的一部分还可以包括非易失性随机存取存储器(NVRAM)。Optionally, the terminal control apparatus 1000 further includes a memory, which may include a read-only memory and a random access memory, and provides operation instructions and data to the processor. A portion of the memory may also include non-volatile random access memory (NVRAM).
可选的,存储器存储了可执行软件模块或者数据结构,处理器可以通过调用存储器存储的操作指令(该操作指令可存储在操作系统中),执行相应的操作。Optionally, the memory stores executable software modules or data structures, and the processor may execute corresponding operations by calling operation instructions stored in the memory (the operation instructions may be stored in the operating system).
可选的,接口电路1002可用于输出处理器1001的执行结果。Optionally, the interface circuit 1002 may be used to output the execution result of the processor 1001 .
需要说明的,处理器1001、接口电路1002各自对应的功能既可以通过硬件设计实现,也可以通过软件设计来实现,还可以通过软硬件结合的方式来实现,这里不作限制。It should be noted that the corresponding functions of the processor 1001 and the interface circuit 1002 can be implemented by hardware design, software design, or a combination of software and hardware, which is not limited here.
应理解,上述方法实施例的各步骤可以通过处理器中的硬件形式的逻辑电路或者软件形式的指令完成。It should be understood that, each step of the above method embodiments may be implemented by a logic circuit in the form of hardware or an instruction in the form of software in a processor.
可以理解的是,本申请的实施例中的处理器可以是中央处理器(central processing unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。通用处理器可以是微处理器,也可以是任何常规的处理器。It can be understood that, the processor in the embodiments of the present application may be a central processing unit (central processing unit, CPU), and may also be other general-purpose processors, digital signal processors (digital signal processors, DSP), application-specific integrated circuits (application specific integrated circuit, ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. A general-purpose processor may be a microprocessor or any conventional processor.
本申请的实施例中的方法步骤可以通过硬件的方式来实现,也可以由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(random access memory,RAM)、闪存、只读存储器(read-only memory,ROM)、可编程只读存储器(programmable rom,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。The method steps in the embodiments of the present application may be implemented in a hardware manner, or may be implemented in a manner in which a processor executes software instructions. Software instructions can be composed of corresponding software modules, and software modules can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (programmable rom) , PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM), registers, hard disks, removable hard disks, CD-ROMs or known in the art in any other form of storage medium. An exemplary storage medium is coupled to the processor, such that the processor can read information from, and write information to, the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and storage medium may reside in an ASIC.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者通过所述计算机可读存储介质进行传输。所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、 数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted over a computer-readable storage medium. The computer instructions can be sent from one website site, computer, server, or data center to another website site by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) , computer, server or data center. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, or the like that includes an integration of one or more available media. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state disks (SSDs)), and the like.
可以理解的是,在本申请的实施例中涉及的各种数字编号仅为描述方便进行的区分,并不用来限制本申请的实施例的范围。It can be understood that, the various numbers and numbers involved in the embodiments of the present application are only for the convenience of description, and are not used to limit the scope of the embodiments of the present application.

Claims (30)

  1. 一种终端控制方法,其特征在于,所述方法包括:A terminal control method, characterized in that the method comprises:
    确定目标状态由第一状态切换为第二状态,所述目标状态包括终端上第一应用的显示窗口的显示状态或当前使用所述终端的用户的用户状态中的至少一项,其中,所述第一应用的显示窗口上显示有第一图像;It is determined that the target state is switched from the first state to the second state, and the target state includes at least one of the display state of the display window of the first application on the terminal or the user state of the user currently using the terminal, wherein the A first image is displayed on the display window of the first application;
    调整所述终端中的目标参数,所述目标参数与所述第一图像的显示效果有关。A target parameter in the terminal is adjusted, where the target parameter is related to the display effect of the first image.
  2. 根据权利要求1所述的方法,其特征在于,所述目标状态包括所述显示状态,所述显示状态包括所述显示窗口的尺寸;The method according to claim 1, wherein the target state comprises the display state, and the display state comprises the size of the display window;
    所述确定目标状态由第一状态切换为第二状态,包括:The determining that the target state is switched from the first state to the second state includes:
    确定所述显示窗口的尺寸由第一尺寸切换为第二尺寸。It is determined that the size of the display window is switched from the first size to the second size.
  3. 根据权利要求1或2所述的方法,其特征在于,所述目标状态包括所述显示状态,所述显示状态包括所述第一图像所表达的目标内容;The method according to claim 1 or 2, wherein the target state includes the display state, and the display state includes the target content expressed by the first image;
    所述确定目标状态由第一状态切换为第二状态,包括:The determining that the target state is switched from the first state to the second state includes:
    确定所述目标内容由第一内容切换为第二内容,所述第一内容的类型与所述第二内容的类型不同。It is determined that the target content is switched from first content to second content, and the type of the first content is different from the type of the second content.
  4. 根据权利要求1-3任一所述的方法,其特征在于,所述目标状态包括所述用户状态,所述用户状态包括用户对所述显示窗口上第一区域的目标关注度,所述第一区域用于显示部分或全部的所述第一图像;The method according to any one of claims 1-3, wherein the target state includes the user state, the user state includes the user's target attention to the first area on the display window, and the first an area for displaying part or all of the first image;
    所述确定目标状态由第一状态切换为第二状态,包括:The determining that the target state is switched from the first state to the second state includes:
    确定所述目标关注度由第一关注度切换为第二关注度。It is determined that the target attention degree is switched from the first attention degree to the second attention degree.
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, wherein the method further comprises:
    确定所述用户的眼球注视所述第一区域的注视时长;determining the gazing duration of the user's eyeball gazing at the first region;
    根据所述注视时长所属的时长区间,确定所述目标关注度。The target attention degree is determined according to the time interval to which the gaze time length belongs.
  6. 根据权利要求1-5任一所述的方法,其特征在于,所述目标状态包括所述用户状态,所述用户状态包括所述用户操作所述终端的目标操作频率;The method according to any one of claims 1-5, wherein the target state includes the user state, and the user state includes a target operation frequency of the user operating the terminal;
    所述确定目标状态由第一状态切换为第二状态,包括:The determining that the target state is switched from the first state to the second state includes:
    确定所述目标操作频率由第一操作频率切换为第二操作频率。It is determined that the target operating frequency is switched from the first operating frequency to the second operating frequency.
  7. 根据权利要求1-6任一所述的方法,其特征在于,所述调整所述终端中的目标参数,包括:The method according to any one of claims 1-6, wherein the adjusting the target parameter in the terminal comprises:
    降低所述终端中处理器的工作频率或所述处理器所属电源域的工作电压中的至少一项,所述处理器用于处理所述第一图像;reducing at least one of an operating frequency of a processor in the terminal or an operating voltage of a power domain to which the processor belongs, where the processor is configured to process the first image;
    或者or
    提高所述终端中所述处理器的工作频率或所述处理器所属电源域的工作电压中的至少一项。At least one of the operating frequency of the processor in the terminal or the operating voltage of the power supply domain to which the processor belongs is increased.
  8. 根据权利要求1-7任一所述的方法,其特征在于,所述调整所述终端中的目标参数,包括:The method according to any one of claims 1-7, wherein the adjusting the target parameter in the terminal comprises:
    增加第一图像处理算法的数量,其中,所述第一图像处理算法用于处理所述第一图像;increasing the number of first image processing algorithms, wherein the first image processing algorithms are used to process the first image;
    或者or
    减少所述第一图像处理算法的数量。Reduce the number of the first image processing algorithms.
  9. 根据权利要求8所述的方法,其特征在于,在增加所述第一图像处理算法的数量的情况下,所述方法还包括:The method according to claim 8, wherein in the case of increasing the number of the first image processing algorithms, the method further comprises:
    减少第二图像处理算法的数量,所述第二图像处理算法用于处理所述终端上除所述显示窗口所占区域外的至少部分显示区域中的图像;reducing the number of second image processing algorithms, the second image processing algorithms being used to process images in at least part of the display area on the terminal except the area occupied by the display window;
    在减少所述第一图像处理算法的数量的情况下,所述方法还包括:In the case of reducing the number of the first image processing algorithms, the method further includes:
    增加所述第二图像处理算法的数量。Increase the number of said second image processing algorithms.
  10. 根据权利要求1-9任一所述的方法,其特征在于,所述目标参数包括帧率;The method according to any one of claims 1-9, wherein the target parameter comprises a frame rate;
    所述调整所述终端中与所述第一图像相关的目标参数,包括:The adjusting the target parameter related to the first image in the terminal includes:
    对所述第一图像对应的视频流进行丢帧,或者对所述第一图像对应的视频流进行补帧。Frame dropping is performed on the video stream corresponding to the first image, or frame complementing is performed on the video stream corresponding to the first image.
  11. 根据权利要求1-10任一所述的方法,其特征在于,所述目标参数包括所述分辨率;The method according to any one of claims 1-10, wherein the target parameter includes the resolution;
    所述调整所述终端中与所述第一图像相关的目标参数,包括:The adjusting the target parameter related to the first image in the terminal includes:
    在所述终端向服务器发送第一请求时,调整所述第一请求中携带的与所述第一图像相关的原始图像数据的分辨率,所述第一请求用于请求获取所述原始图像数据。When the terminal sends a first request to the server, adjust the resolution of the original image data related to the first image carried in the first request, where the first request is used to request to obtain the original image data .
  12. 根据权利要求1-11任一所述的方法,其特征在于,所述目标参数包括在所述第一状态下所述第一图像对应的第一参数;The method according to any one of claims 1-11, wherein the target parameter comprises a first parameter corresponding to the first image in the first state;
    所述调整所述终端中与所述第一图像相关的目标参数,包括:The adjusting the target parameter related to the first image in the terminal includes:
    确定在所述第二状态下所述第一图像对应的第二参数,所述第二参数与所述第一参数的类型相同;determining a second parameter corresponding to the first image in the second state, where the second parameter is of the same type as the first parameter;
    根据所述第一参数和第二参数,调整所述第一参数。The first parameter is adjusted according to the first parameter and the second parameter.
  13. 根据权利要求12所述的方法,其特征在于,所述根据所述第一参数和第二参数,调整所述第一参数,包括:The method according to claim 12, wherein the adjusting the first parameter according to the first parameter and the second parameter comprises:
    在所述第一参数与所述第二参数存在偏差时,将所述第一参数调整至所述第二参数;When there is a deviation between the first parameter and the second parameter, adjusting the first parameter to the second parameter;
    或者or
    在所述第一参数与所述第二参数之间的偏差值大于预设差值时,基于所述偏差值,调整所述第一参数,以使所述偏差值小于或等于所述预设差值。When the deviation value between the first parameter and the second parameter is greater than a preset difference value, the first parameter is adjusted based on the deviation value, so that the deviation value is less than or equal to the preset value difference.
  14. 一种终端控制装置,其特征在于,所述装置包括:A terminal control device, characterized in that the device comprises:
    确定模块,用于确定目标状态由第一状态切换为第二状态,所述目标状态包括终端上第一应用的显示窗口的显示状态或当前使用所述终端的用户的用户状态中的至少一项,其中,所述第一应用的显示窗口上显示有第一图像;A determination module, configured to determine that a target state is switched from the first state to the second state, where the target state includes at least one of the display state of the display window of the first application on the terminal or the user state of the user currently using the terminal , wherein a first image is displayed on the display window of the first application;
    处理模块,用于调整所述终端中的目标参数,所述目标参数与所述第一图像的显示效果有关。A processing module, configured to adjust target parameters in the terminal, where the target parameters are related to the display effect of the first image.
  15. 根据权利要求14所述的装置,其特征在于,所述目标状态包括所述显示状态,所述显示状态包括所述显示窗口的尺寸;The apparatus of claim 14, wherein the target state includes the display state, and the display state includes a size of the display window;
    所述确定模块,还用于:The determining module is also used for:
    确定所述显示窗口的尺寸由第一尺寸切换为第二尺寸。It is determined that the size of the display window is switched from the first size to the second size.
  16. 根据权利要求14或15所述的装置,其特征在于,所述目标状态包括所述显示状态,所述显示状态包括所述第一图像所表达的目标内容;The device according to claim 14 or 15, wherein the target state includes the display state, and the display state includes the target content expressed by the first image;
    所述确定模块,还用于:The determining module is also used for:
    确定所述目标内容由第一内容切换为第二内容,所述第一内容的类型与所述第二内容的类型不同。It is determined that the target content is switched from first content to second content, and the type of the first content is different from the type of the second content.
  17. 根据权利要求14-16任一所述的装置,其特征在于,所述目标状态包括所述用户状态,所述用户状态包括用户对所述显示窗口上第一区域的目标关注度,所述第一区域用于显示部分或全部的所述第一图像;The device according to any one of claims 14-16, wherein the target state includes the user state, the user state includes a user's target attention to the first area on the display window, and the first an area for displaying part or all of the first image;
    所述确定模块,还用于:The determining module is also used for:
    确定所述目标关注度由第一关注度切换为第二关注度。It is determined that the target attention degree is switched from the first attention degree to the second attention degree.
  18. 根据权利要求17所述的装置,其特征在于,所述确定模块,还用于:The apparatus according to claim 17, wherein the determining module is further configured to:
    确定所述用户的眼球注视所述第一区域的注视时长;determining the gazing duration of the user's eyeball gazing at the first region;
    根据所述注视时长所属的时长区间,确定所述目标关注度。The target attention degree is determined according to the time interval to which the gaze time length belongs.
  19. 根据权利要求14-18任一所述的装置,其特征在于,所述目标状态包括所述用户状态,所述用户状态包括所述用户操作所述终端的目标操作频率;The apparatus according to any one of claims 14-18, wherein the target state includes the user state, and the user state includes a target operation frequency of the user operating the terminal;
    所述确定模块,还用于:The determining module is also used for:
    确定所述目标操作频率由第一操作频率切换为第二操作频率。It is determined that the target operating frequency is switched from the first operating frequency to the second operating frequency.
  20. 根据权利要求14-19任一所述的装置,其特征在于,所述处理模块,还用于:The device according to any one of claims 14-19, wherein the processing module is further configured to:
    降低所述终端中处理器的工作频率或所述处理器所属电源域的工作电压中的至少一项,所述处理器用于处理所述第一图像;reducing at least one of an operating frequency of a processor in the terminal or an operating voltage of a power domain to which the processor belongs, where the processor is configured to process the first image;
    或者or
    提高所述终端中所述处理器的工作频率或所述处理器所属电源域的工作电压中的至少一项。At least one of the operating frequency of the processor in the terminal or the operating voltage of the power supply domain to which the processor belongs is increased.
  21. 根据权利要求14-20任一所述的装置,其特征在于,所述处理模块,还用于:The device according to any one of claims 14-20, wherein the processing module is further configured to:
    增加第一图像处理算法的数量,其中,所述第一图像处理算法用于处理所述第一图像;increasing the number of first image processing algorithms, wherein the first image processing algorithms are used to process the first image;
    或者or
    减少所述第一图像处理算法的数量。Reduce the number of the first image processing algorithms.
  22. 根据权利要求21所述的装置,其特征在于,所述处理模块在增加所述第一图像处理算法的数量的情况下,还用于:The apparatus according to claim 21, wherein, when the number of the first image processing algorithms is increased, the processing module is further configured to:
    减少第二图像处理算法的数量,所述第二图像处理算法用于处理所述终端上除所述显示窗口所占区域外的至少部分显示区域中的图像;reducing the number of second image processing algorithms, the second image processing algorithms being used to process images in at least part of the display area on the terminal except the area occupied by the display window;
    所述处理模块在减少所述第一图像处理算法的数量的情况下,还用于:In the case of reducing the number of the first image processing algorithms, the processing module is further configured to:
    增加所述第二图像处理算法的数量。Increase the number of said second image processing algorithms.
  23. 根据权利要求14-22任一所述的装置,其特征在于,所述目标参数包括帧率;The apparatus according to any one of claims 14-22, wherein the target parameter includes a frame rate;
    所述处理模块,还用于:The processing module is also used for:
    对所述第一图像对应的视频流进行丢帧,或者对所述第一图像对应的视频流进行补帧。Frame dropping is performed on the video stream corresponding to the first image, or frame complementing is performed on the video stream corresponding to the first image.
  24. 根据权利要求14-23任一所述的装置,其特征在于,所述目标参数包括所述分辨率;The apparatus according to any one of claims 14-23, wherein the target parameter comprises the resolution;
    所述处理模块,还用于:The processing module is also used for:
    在所述终端向服务器发送第一请求时,调整所述第一请求中携带的与所述第一图像相关的原始图像数据的分辨率,所述第一请求用于请求获取所述原始图像数据。When the terminal sends a first request to the server, adjust the resolution of the original image data related to the first image carried in the first request, where the first request is used to request to obtain the original image data .
  25. 根据权利要求14-24任一所述的装置,其特征在于,所述目标参数包括在所述第一状态下所述第一图像对应的第一参数;The apparatus according to any one of claims 14-24, wherein the target parameter includes a first parameter corresponding to the first image in the first state;
    所述处理模块,还用于:The processing module is also used for:
    确定在所述第二状态下所述第一图像对应的第二参数,所述第二参数与所述第一参数的类型相同;determining a second parameter corresponding to the first image in the second state, where the second parameter is of the same type as the first parameter;
    根据所述第一参数和第二参数,调整所述第一参数。The first parameter is adjusted according to the first parameter and the second parameter.
  26. 根据权利要求25所述的装置,其特征在于,所述处理模块,还用于:The device according to claim 25, wherein the processing module is further configured to:
    在所述第一参数与所述第二参数存在偏差时,将所述第一参数调整至所述第二参数;When there is a deviation between the first parameter and the second parameter, adjusting the first parameter to the second parameter;
    或者or
    在所述第一参数与所述第二参数之间的偏差值大于预设差值时,基于所述偏差值,调整所述第一参数,以使所述偏差值小于或等于所述预设差值。When the deviation value between the first parameter and the second parameter is greater than a preset difference value, the first parameter is adjusted based on the deviation value, so that the deviation value is less than or equal to the preset value difference.
  27. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    至少一个存储器,用于存储程序;at least one memory for storing programs;
    至少一个处理器,用于调用所述存储器存储的程序,以执行如权利要求1-13任一所述的方法。At least one processor for invoking a program stored in the memory to execute the method according to any one of claims 1-13.
  28. 一种计算机存储介质,所述计算机存储介质中存储有指令,当所述指令在计算机上运行时,使得计算机执行如权利要求1-13任一所述的方法。A computer storage medium, in which instructions are stored, when the instructions are executed on a computer, the instructions cause the computer to execute the method according to any one of claims 1-13.
  29. 一种包含指令的计算机程序产品,当所述指令在计算机上运行时,使得所述计算机执行如权利要求1-13任一所述的方法。A computer program product comprising instructions which, when executed on a computer, cause the computer to perform the method of any of claims 1-13.
  30. 一种终端控制装置,其特征在于,包括至少一个处理器和接口;A terminal control device, characterized in that it includes at least one processor and an interface;
    所述至少一个处理器通过所述接口获取程序指令或者数据;The at least one processor obtains program instructions or data through the interface;
    所述至少一个处理器用于执行所述程序行指令,以实现如权利要求1-13中任一所述的方法。The at least one processor is adapted to execute the program line instructions to implement the method of any of claims 1-13.
PCT/CN2020/142204 2020-12-31 2020-12-31 Terminal control method and apparatus, and electronic device WO2022141419A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080103255.4A CN115917472A (en) 2020-12-31 2020-12-31 Terminal control method and device and electronic equipment
PCT/CN2020/142204 WO2022141419A1 (en) 2020-12-31 2020-12-31 Terminal control method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/142204 WO2022141419A1 (en) 2020-12-31 2020-12-31 Terminal control method and apparatus, and electronic device

Publications (1)

Publication Number Publication Date
WO2022141419A1 true WO2022141419A1 (en) 2022-07-07

Family

ID=82260121

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/142204 WO2022141419A1 (en) 2020-12-31 2020-12-31 Terminal control method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN115917472A (en)
WO (1) WO2022141419A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278811A (en) * 2015-10-23 2016-01-27 三星电子(中国)研发中心 Screen display device and method of intelligent terminal
WO2016051055A1 (en) * 2014-09-30 2016-04-07 Orange Method and device for adapting the display of a video stream by a client
CN106919402A (en) * 2017-03-10 2017-07-04 广东欧珀移动通信有限公司 A kind of control method of mobile terminal, device and mobile terminal
CN111432261A (en) * 2019-12-31 2020-07-17 杭州海康威视数字技术股份有限公司 Video window picture display method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016051055A1 (en) * 2014-09-30 2016-04-07 Orange Method and device for adapting the display of a video stream by a client
CN105278811A (en) * 2015-10-23 2016-01-27 三星电子(中国)研发中心 Screen display device and method of intelligent terminal
CN106919402A (en) * 2017-03-10 2017-07-04 广东欧珀移动通信有限公司 A kind of control method of mobile terminal, device and mobile terminal
CN111432261A (en) * 2019-12-31 2020-07-17 杭州海康威视数字技术股份有限公司 Video window picture display method and device

Also Published As

Publication number Publication date
CN115917472A (en) 2023-04-04

Similar Documents

Publication Publication Date Title
CN113362783B (en) Refresh rate switching method and electronic equipment
EP4024168A1 (en) Hand gesture interaction method and apparatus, and terminal device
CN110347269B (en) Empty mouse mode realization method and related equipment
JP7235871B2 (en) Data transmission method and electronic device
JP7468830B2 (en) Energy efficient display processing method and device - Patents.com
CN113890936B (en) Volume adjustment method, device and storage medium
CN111132234A (en) Data transmission method and corresponding terminal
WO2021052110A1 (en) Method and device for improving sound quality of speaker
WO2021190314A1 (en) Sliding response control method and apparatus of touch screen, and electronic device
WO2021052407A1 (en) Electronic device control method and electronic device
US20230298498A1 (en) Full-Screen Display Method and Apparatus, and Electronic Device
WO2021052170A1 (en) Motor vibration control method and electronic device
EP4156158A1 (en) Drive control method and related device
WO2020077508A1 (en) Dynamic frequency adjustment method for internal memory, and electronic apparatus
CN109285563B (en) Voice data processing method and device in online translation process
WO2022037725A1 (en) System service recovery method and apparatus, and electronic device
WO2022141419A1 (en) Terminal control method and apparatus, and electronic device
CN113467747B (en) Volume adjusting method, electronic device and storage medium
WO2022022401A1 (en) Method for detecting water ingress in usb interface, and electronic device
CN114221402A (en) Charging method and device of terminal equipment and terminal equipment
CN114116610A (en) Method, device, electronic equipment and medium for acquiring storage information
CN114089902A (en) Gesture interaction method and device and terminal equipment
CN113610943B (en) Icon rounded angle processing method and device
CN116708317B (en) Data packet MTU adjustment method and device and terminal equipment
EP4310664A1 (en) Audio output method, media file recording method, and electronic device

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: 20967758

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: 20967758

Country of ref document: EP

Kind code of ref document: A1