CN115633121A - Adjusting method and device - Google Patents
Adjusting method and device Download PDFInfo
- Publication number
- CN115633121A CN115633121A CN202211175634.1A CN202211175634A CN115633121A CN 115633121 A CN115633121 A CN 115633121A CN 202211175634 A CN202211175634 A CN 202211175634A CN 115633121 A CN115633121 A CN 115633121A
- Authority
- CN
- China
- Prior art keywords
- parameter
- state
- module
- adjusted
- determining
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Telephone Function (AREA)
Abstract
The application discloses an adjusting method and device, wherein the method comprises the following steps: acquiring a first state; wherein the first state comprises a state of a user of the electronic device; determining a first parameter corresponding to the first state; wherein the first parameter comprises at least a state parameter of at least one module of the electronic device; adjusting an operating state of the at least one module based on the first parameter.
Description
Technical Field
The present application relates to the field of data processing technologies, and in particular, to an adjusting method and apparatus.
Background
In practical applications, the brightness of a device in an electronic device, such as a display screen of a mobile phone, is adjusted automatically according to the ambient brightness or manually by a user. However, such an adjustment method cannot meet the actual use requirements of the user.
Disclosure of Invention
Based on the above problems, embodiments of the present application provide an adjusting method and apparatus.
The technical scheme provided by the embodiment of the application is as follows:
the embodiment of the application provides an adjusting method, which comprises the following steps:
acquiring a first state; wherein the first state comprises a state of a user of the electronic device;
determining a first parameter corresponding to the first state; wherein the first parameter comprises at least a state parameter of at least one module of the electronic device;
adjusting an operating state of the at least one module based on the first parameter.
In some embodiments, said adjusting the operational state of said at least one module based on said first parameter comprises:
determining a parameter to be adjusted based on the first parameter and the operating state of the at least one module;
determining an adjustment strategy based on the first parameter and the parameter to be adjusted;
and adjusting the parameter to be adjusted based on the adjusting strategy so as to adjust the running state of the at least one module.
In some embodiments, the number of the parameters to be adjusted is at least two, and the adjustment strategy comprises whether the parameters in the parameters to be adjusted are adjusted in a linkage manner; the determining an adjustment strategy based on the first parameter and the parameter to be adjusted includes:
determining environmental information of an environment in which the electronic equipment is positioned; the environment information at least comprises time period information corresponding to a time zone where the environment is located and/or scene information corresponding to the environment;
determining a parameter difference between the first parameter and the parameter to be adjusted;
and determining whether to adjust parameters in the parameters to be adjusted in a linkage manner based on the environmental information and the parameter difference.
In some embodiments, the determining environmental information of the environment in which the electronic device is located includes:
acquiring network connection information of the electronic equipment;
determining the environmental information based on the network connection information.
In some embodiments, the determining environmental information of the environment in which the electronic device is located includes:
collecting behavior information of the user;
determining schedule information of the user based on the behavior information;
and determining the environment information based on the schedule information.
In some embodiments, the determining whether to adjust a parameter of the parameters to be adjusted in a linkage manner based on the environmental information and the parameter difference includes:
determining the adjustment step length of each parameter in the parameters to be adjusted and the adjustment sequence of each parameter in the parameters to be adjusted based on the environment information;
and determining whether to adjust parameters in the parameters to be adjusted based on the adjusting sequence and the adjusting step length in a linkage manner based on the parameter difference.
In some embodiments, the determining an adjustment strategy based on the first parameter and the parameter to be adjusted includes:
acquiring historical adjustment information of the user;
determining a parameter difference between the first parameter and the parameter to be adjusted;
determining the adjustment strategy based on the historical adjustment information and the parameter differences.
In some embodiments, said adjusting the operational state of said at least one module based on said first parameter comprises:
determining a user distance based on the first state; wherein the user distance comprises a distance between the user and the electronic device;
if the user distance is smaller than or equal to a first threshold value and the duration of the user distance which is smaller than or equal to the first threshold value is larger than or equal to a second threshold value, adjusting the running state of the at least one module based on the first parameter until the input-output parameter of the at least one module is a second parameter; wherein a difference between the first parameter and the second parameter is less than a preset threshold.
In some embodiments, after said adjusting the operational state of said at least one module based on said first parameter, said method further comprises:
adjusting the state parameter of the at least one module to a second state; wherein the second state comprises a state of an input-output parameter of the at least one module prior to adjusting the operational state of the at least one module.
An embodiment of the present application further provides an adjusting device, the device includes:
the acquisition module is used for acquiring a first state; wherein the first state comprises a state of a user of the electronic device;
a determining module for determining a first parameter corresponding to the first state; wherein the first parameter comprises at least a state parameter of at least one module of the electronic device;
and the adjusting module is used for adjusting the running state of the at least one module based on the first parameter.
An embodiment of the present application further provides an electronic device, which includes a processor and a memory; the memory has stored therein a computer program which, when executed by the processor, is capable of implementing the adjustment method as set forth in any of the preceding claims.
An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor of an electronic device, the computer program can implement the adjusting method as described in any one of the foregoing.
In the adjusting method provided by the embodiment of the application, the first state includes the state of the user of the electronic device, so that the first parameter corresponding to the first state can include at least one parameter which has a positive or negative influence on the state of the user; and, since the first parameter comprises at least a status parameter of at least one module of the electronic device, enabling to determine, by means of the first parameter, at least one module that has a positive or negative impact on the status of the user; meanwhile, the running state of at least one module is adjusted based on the first parameter, so that not only can the running state of at least one module associated with the state of the user be accurately adjusted, but also the running state of at least one module associated with the state of the user can be adaptively adjusted, therefore, humanized and intelligent adjustment of at least one module is realized, the intelligent level of the electronic equipment is improved, and the electronic equipment can meet diversified actual use requirements.
Drawings
Fig. 1 is a schematic flow chart of a conditioning method provided in an embodiment of the present application;
FIG. 2 is a schematic flow chart illustrating adjusting an operating state of at least one module according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart for determining an adjustment policy according to an embodiment of the present application;
fig. 4 is a schematic flowchart of an adjusting method applied to a sleep scene according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an adjustment device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
In practical applications, parameter adjustment for electronic devices such as mobile phones is usually achieved by manual adjustment by users or automatic adjustment based on environmental conditions such as ambient light brightness, and such adjustment cannot meet practical adjustment requirements.
Based on the above problems, the embodiments of the present application provide an adjusting method and apparatus. According to the adjusting method provided by the embodiment of the application, after the state of the user of the electronic equipment, namely the first state, is obtained, the first parameter corresponding to the first state can be determined, and the running state of at least one module of the electronic equipment is adjusted based on the first parameter; wherein the first parameter comprises a state parameter of at least one module of the electronic device. Therefore, the adjusting method provided by the embodiment of the application realizes the indirect adjustment of the running state of at least one module of the electronic equipment according to the state of the user of the electronic equipment, so that the actual adjusting requirement can be met for the adjusting direction and the adjusting result of the running state of at least one module of the electronic equipment, and the pertinence and the accuracy of the regulation of the running state of at least one module are further improved.
The adjusting method provided by the embodiment of the application can be realized through a processor of the electronic equipment; the Processor may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor.
Fig. 1 is a schematic flow chart of an adjusting method provided in an embodiment of the present application, and as shown in fig. 1, the flow chart may include the following steps:
Wherein the first state comprises a state of a user of the electronic device.
In one embodiment, the electronic device may include any device having a data processing function, for example, the electronic device may include a household appliance device, such as a smart door access device, a television device, an air purification device, and the like; for example, the electronic devices may include office equipment, such as computer equipment and printer equipment; for example, the electronic device may include a mobile terminal device, such as a smart phone or a smart wearable device.
In one embodiment, the first state may include an emotional state of the user of the electronic device, such as emotional states of excitement, and sadness; for example, the first state may include a physical state of the user, such as a fatigue state; for example, the first state may include a motion state of the user, such as a state in which the user is stationary or in continuous motion; for example, the first state may include a state associated with a user's biological clock, such as a sleep state or an awake state; illustratively, the first state may include a physiological indicative state of the user, such as a state of the user's blood pressure, heart beat, and brain waves.
In one embodiment, the first state may be obtained by the electronic device from other devices, for example, the smartphone may obtain state data of blood pressure, heartbeat, and the like of the user through the smart watch; for example, the electronic device may acquire user data through a data acquisition device included therein, perform feature recognition on the user data to obtain a recognition result, and then integrate the recognition result to obtain a first state; for example, the data acquisition device may include an audio acquisition device, an image acquisition device, a sensor device, and the like, which is not limited in this embodiment of the present application.
For example, the electronic device may acquire the first state under the condition of permission of the user.
Wherein the first parameter comprises at least a state parameter of at least one module of the electronic device.
In one embodiment, the operating state of at least one module of the electronic device may have a positive or negative impact on the first state, and accordingly, the first parameter may include a parameter that has a positive or negative impact on the first state; for example, in a case where the first state indicates that the user is in an excited state, the at least one module may include an audio output module and a video output module of the electronic device, and for example, the first parameter of the audio output module may include audio data output by the audio output module, a frequency, a loudness, a tone, and a rhythm of the audio data, and the first parameter of the video output module may include brightness, a color temperature, and content data of image data or video data.
For example, the first state and the operating state of at least one module of the electronic device may be analyzed to determine a degree of influence of a parameter associated with the operating state of the at least one module on the first state, and a parameter of the parameters, which has a degree of influence on the first state greater than or equal to a third threshold value, may be determined as the first parameter.
In one embodiment, the first state and the first parameter may have a corresponding relationship; for example, the first parameter corresponding to different first states may be different, such as the first parameter corresponding to a user's calm state or sleep state, the first parameter corresponding to a user's activation state or working state may be different; for example, after the first state is obtained, the first parameter corresponding to the current first state may be obtained from the corresponding relationship based on a matching relationship between the first state and the first state in the corresponding relationship.
In one embodiment, the operating state of at least one module may be adjusted from a first operating state to a second operating state based on a first parameter; for example, the first operating state may include a current operating state of the at least one module; for example, the degree of negative or positive impact of the second operating state on the first state may be less than or equal to the third threshold.
In one embodiment, in a case where the number of modules is plural among the number of at least one module, the operation state of at least some of the plurality of modules may be adjusted based on the first parameter.
As can be seen from the above, after the first state is obtained, the adjusting method provided in the embodiment of the present application can determine the first parameter corresponding to the first state, and can adjust the operating state of the at least one module based on the first parameter, where the first state includes a state of a user of the electronic device, and the first parameter includes at least a state parameter of the at least one module of the electronic device.
Therefore, in the adjusting method provided by the embodiment of the application, since the first state includes the state of the user of the electronic device, the first parameter corresponding to the first state can include at least one parameter that has a positive or negative influence on the state of the user; and, since the first parameter comprises at least a status parameter of at least one module of the electronic device, enabling to determine, by means of the first parameter, at least one module that has a positive or negative impact on the status of the user; meanwhile, the running state of at least one module is adjusted based on the first parameter, so that not only can the running state of at least one module related to the state of the user be accurately adjusted, but also the running state of at least one module related to the state of the user can be adaptively adjusted, therefore, humanized and intelligent adjustment of at least one module is realized, the intelligent level of the electronic equipment is improved, and diversified actual use requirements can be met.
Based on the foregoing embodiment, in the adjusting method provided in the embodiment of the present application, adjusting the operating state of at least one module based on the first parameter may be implemented by a process shown in fig. 2, where fig. 2 is a schematic flowchart of adjusting the operating state of at least one module provided in the embodiment of the present application, and as shown in fig. 2, the process may include the following steps:
In one embodiment, the number of parameters to be adjusted may be at least one; for example, the parameter to be adjusted may include an input-output parameter of a single module of the at least one module; for example, in the case that the number of the at least one module is plural, the parameter to be adjusted may include input and output parameters of at least two modules of the plural modules; for example, the input and output parameters may include format, content, and style of data processed by the module, and may also include form parameters of data output by the module, such as volume, brightness, and the like.
In one embodiment, the operation state of at least one module may include the operation state of at least one module at the current time, or the operation state of at least one module in a period from the first time to the current time; illustratively, the first time may be earlier than the current time.
For example, the parameter to be adjusted may be determined based on the type of the first parameter and the operating state of the at least one module; for example, if the type of the first parameter may include an audio parameter, then the parameter to be adjusted may be determined to include an audio output parameter and a video output parameter of the audio/video output module based on the operating state of the audio/video output module in at least one module, and may also include a parameter of an audio and/or video file currently being decoded by the audio/video module, such as an author, a style, a rhythm, and the like of the audio and/or video file; for example, if the type of the first parameter includes a brightness parameter, then the parameter to be adjusted may be determined to include the display brightness of the display module of the electronic device based on the operating status of the video output module and the setting module in at least one module.
In one embodiment, the adjustment strategy may include how to adjust the parameter to be adjusted, conditions and timing for starting adjustment of the parameter to be adjusted, and the like; for example, the adjustment strategy may further include whether to automatically and adaptively adjust the parameter to be adjusted; for example, the adjustment strategy may further include whether to adjust the parameter to be adjusted based on a step preset by the user or based on an input instruction of the user.
In one embodiment, the adjustment policy may be determined based on the first parameter and the type of the parameter to be adjusted, for example, if the first parameter and the parameter to be adjusted include an audio output parameter, the adjustment policy may be determined as follows: on the basis of adjusting the audio output parameters of the current audio and video output module, the working states of other modules with audio output functions are synchronously limited.
In one embodiment, the adjustment policy may be determined based on the first parameter and the number of parameters included in the parameter to be adjusted, for example, if the number of parameters included in the first parameter and the parameter to be adjusted is greater than or equal to the fourth threshold, the adjustment policy may be determined as follows: the adjustment of the parameter to be adjusted is achieved within a specified time period.
In an embodiment, the adjustment policy may be determined based on the energy consumption state corresponding to the first parameter and the parameter to be adjusted, for example, if the energy consumption of the parameter included in the first parameter and the parameter to be adjusted is greater than or equal to a fifth threshold, the adjustment policy may be determined as follows: and adjusting the parameter to be adjusted to a specified state, so that the energy consumption of at least one module corresponding to the parameter to be adjusted is less than a fifth threshold value.
And step 203, adjusting the parameters to be adjusted based on the adjustment strategy so as to adjust the running state of at least one module.
In one embodiment, when the adjustment condition included in the adjustment strategy is satisfied, the adjustment parameter is adjusted based on the adjustment step in the adjustment strategy, so as to adjust the operation state of at least one module; for example, the adjustment condition may include at least one of a remaining power of the electronic device being a specified power, a number of processes in an operating state of the electronic device being a specified number, a heat generating state of the electronic device being a first specified state, a duration of time of the electronic device being a specified duration, and the first state being a second specified state; illustratively, the second designated state may include a sub-health state, an office state, a sleep state, or the like.
In one embodiment, the parameter to be adjusted may be adjusted based on the adjustment strategy to adjust the operating state of the at least one module until the operating state of the at least one module switches to the target state.
As can be seen from the above, in the adjusting method provided in the embodiment of the present application, after the parameter to be adjusted is determined based on the first parameter and the operating state of the at least one module, the adjusting strategy can be determined based on the first parameter and the parameter to be adjusted, and then the parameter to be adjusted is adjusted based on the adjusting strategy, so as to adjust the operating state of the at least one module.
Therefore, according to the adjusting method provided by the embodiment of the application, the to-be-adjusted parameter is determined based on the first parameter and the operation state of the at least one module, so that the to-be-adjusted parameter is related to the first parameter and the actual operation state of the at least one module, and the pertinence and the accuracy of the to-be-adjusted parameter are improved; moreover, the adjustment strategy is determined based on the first parameter and the parameter to be adjusted, so that the process of the adjustment strategy on the parameter to be adjusted, and the relevance and the correspondence between the adjustment result and the first parameter can be improved; meanwhile, the parameters to be adjusted are adjusted based on the adjustment strategy, so that the running state of at least one module after adjustment can be matched with the first parameters and actual adjustment requirements, the adjustment efficiency can be improved, and the adjustment effect can be improved.
Based on the foregoing embodiment, in the adjusting method provided in the embodiment of the present application, the number of the parameters to be adjusted is at least two; the adjusting strategy comprises whether parameters in the parameters to be adjusted are adjusted in a linkage mode.
In one embodiment, the linkage adjusting of the parameters to be adjusted may include adjusting the parameters of the parameters to be adjusted simultaneously; illustratively, the linkage adjustment of the parameters to be adjusted may include sequentially adjusting at least two of the parameters to be adjusted according to a preset sequence or a sequence set in an adjustment strategy; for example, the linkage adjustment of the parameters in the parameters to be adjusted may include performing intermittent sequential or recursive adjustment on at least two parameters in the parameters to be adjusted according to a preset sequence or a sequence defined in an adjustment strategy, such as adjusting a first parameter to be adjusted in a first period of time, adjusting a second parameter to be adjusted in a second period of time, adjusting the first parameter to be adjusted in a third period of time, and adjusting the second parameter to be adjusted in a fourth period of time; the first time interval, the second time interval, the third time interval and the fourth time interval may be time intervals with time continuity.
Correspondingly, determining an adjustment strategy based on the first parameter and the parameter to be adjusted can be realized by the process shown in fig. 3, and fig. 3 is a schematic view of the process for determining the adjustment strategy provided by the embodiment of the present application; as shown in fig. 3, the process may include the following steps:
The environment information at least comprises time period information corresponding to a time zone where the environment is located and/or scene information corresponding to the environment.
In one embodiment, the time zone in which the environment is located may be determined according to the location of the environment after the location of the environment is determined; for example, the time period information corresponding to the time zone in which the environment is located may include time period information of the time information of the electronic device in the time zone in which the environment is located, for example, the eighty-th time zone in which the time information of the electronic device is located in the environment is a midnight rest period.
In one embodiment, the scene information may include a home scene, a work scene, a business trip scene, an outdoor fitness scene, and the like; for example, the context information corresponding to the environment may include context information of a location where the environment is located.
For example, the social environment information of the environment location may be combined to perform correlation analysis on the environment location, so as to determine the context information of the environment location, for example, according to the information of the city, the street, the building function, the holiday period, and whether there is a living organization, etc., of the environment location, the longitude and latitude corresponding to the environment location is subjected to correlation analysis, so as to determine the context information of the environment location.
For example, social environment information related to the environment of the location where the electronic device is located may be obtained by way of network search; the data acquisition device in the electronic device may also be used to acquire environmental parameters of the location where the electronic device is located, and perform feature recognition and association analysis on the acquired environmental parameters to determine social environmental information of the environment where the electronic device is located.
In one embodiment, there may be a one-to-one association relationship between the environment information and the first parameter, for example, the first parameter corresponding to the meeting scenario may be different from the first parameter corresponding to the sleeping scenario.
In one embodiment, the first parameter may include information of at least two dimensions, wherein the first dimension may include a type or name of the first parameter, and the second dimension may include a parameter value of the first parameter; correspondingly, the parameter to be adjusted may also include information of at least two dimensions, such as the type of the parameter to be adjusted and the current parameter value of the parameter to be adjusted.
In one embodiment, the first parameter and the type of the parameter in the parameter to be adjusted may be compared, and in this case, the parameter difference may include a parameter type difference between the first parameter and the parameter to be adjusted.
In one embodiment, the parameter values of the target parameter and the parameter values of the corresponding type of parameters in the parameters to be adjusted may be compared to determine the parameter difference, where the parameter difference may include the parameter value difference between the first parameter and the corresponding type of parameters in the parameters to be adjusted.
And step 303, determining whether to adjust parameters in the parameters to be adjusted in a linkage manner based on the environmental information and the parameter difference.
In an embodiment, a parameter adjustment rate may be determined based on a time difference between period information in the environment information and a target period preset by a user, and then, based on the parameter adjustment rate, a parameter difference, and a target parameter, it may be determined whether to adjust a parameter to be adjusted in a linkage manner, for example, based on the parameter adjustment rate and the parameter difference, it may be determined that an adjustment result of each parameter of the parameter to be adjusted is not matched with a parameter value of a first parameter in a period corresponding to the time difference, and at this time, it may be determined that the parameter to be adjusted needs to be adjusted in a linkage manner; for example, if it is determined that the adjustment result of each parameter in the parameters to be adjusted matches the parameter value of the first parameter in the time period corresponding to the time difference based on the adjustment rate and the parameter difference, it may be determined that the parameters to be adjusted are not adjusted in a linkage manner.
In one embodiment, a first parameter and an adjustment rate may be determined, and then whether to adjust a parameter to be adjusted in a linkage manner is determined based on a relationship between a parameter difference, the adjustment rate and the first parameter; for example, in a conference scene related to core data, it may be determined that a first parameter corresponding to the conference scene in the environment information includes a flight mode and a mute mode, at this time, an adjustment rate may be determined according to a conference start time, then, based on a parameter difference including a current network connection parameter, an audio/video playing parameter, a data acquisition parameter, and an audio/video data acquisition state of the electronic device, a parameter value of a to-be-adjusted parameter corresponding to the parameter difference may be adjusted to the first parameter before the conference start time, if not, it is determined that the to-be-adjusted parameter needs to be adjusted in a linkage manner, and correspondingly, if so, it may be determined that the to-be-adjusted parameter does not need to be adjusted in a linkage manner.
As can be seen from the above, in the adjusting method provided in the embodiment of the present application, the number of the parameters to be adjusted is at least two, the adjusting policy includes whether to adjust the parameters in the parameters to be adjusted in a linkage manner, and after determining the environmental information of the environment where the electronic device is located and determining the parameter difference between the first parameter and the parameters to be adjusted, whether to adjust the parameters in the parameters to be adjusted in a linkage manner can be determined based on the environmental information and the parameter difference; the environment information at least comprises time period information corresponding to a time zone where the environment is located and/or scene information corresponding to the environment.
Therefore, the adjusting method provided by the embodiment of the application can improve the environment pertinence of the adjustment of the parameters to be adjusted by determining the environment information of the environment where the electronic equipment is located; moreover, the adjusting direction of the parameter to be adjusted can be predetermined by determining the parameter difference between the first parameter and the parameter to be adjusted; meanwhile, whether the parameters in the parameters to be adjusted are adjusted in a linkage mode is determined based on the environmental information and the parameter difference, so that the adjustment mode of the parameters to be adjusted can be accurately controlled, and the time cost and the power consumption cost for adjusting the parameters to be adjusted can be reduced.
Based on the foregoing embodiment, in the adjustment method provided in the embodiment of the present application, determining the environment information of the environment where the electronic device is located may be implemented in the following manner:
acquiring network connection information of the electronic equipment; based on the network connection information, environmental information is determined.
In one embodiment, the network connection information may include wired or wireless network connection information of the electronic device, such as information of Wi-Fi, bluetooth, and mobile communication networks to which the electronic device is connected; for example, the network connection information may include an identification of the electronic device accessing the network, a location of the accessed network device, or a geographical area covered by the network device.
For example, through a mobile communication network accessed by the electronic device, base station identifiers of base stations accessed by the electronic device may be determined, and since each base station has a determined setting position and a signal coverage, the setting position and the signal coverage of the base station corresponding to the base station identifier and the base station identifier may be used to determine the position information of the electronic device, and then the environment information may be determined based on the position information of the electronic device.
As can be seen from the above, the adjusting method provided in the embodiment of the present application can determine the environment information based on the network connection information after the network connection information of the electronic device is acquired.
The network connection state of the electronic equipment can be acquired in real time and can be updated in real time, so that the accuracy of the network connection information is higher; in addition, extra data acquisition and data processing operations are not needed for acquiring the network connection information of the electronic equipment, so that the time cost and the calculation cost for determining the environment information can be greatly reduced by determining the environment information based on the network connection information, and the efficiency for determining the environment information can be improved.
Based on the foregoing embodiment, in the adjustment method provided in the embodiment of the present application, determining the environment information of the environment where the electronic device is located may be implemented in the following manner:
collecting behavior information of a user; determining schedule information of the user based on the behavior information; based on the schedule information, the environment information is determined.
For example, the electronic device may perform an operation of collecting behavior information of the user under permission of the user.
In one embodiment, the behavior information of the user may include a series of discrete behaviors performed by the user in daily life or work, but associated with time and location, such as the user getting up at home six am, starting the vehicle eight am, driving between eight and nine am on a first road segment, driving between eight and nine pm on a second road segment, etc.; illustratively, the behavior information can be collected by a data collection device of the electronic equipment; illustratively, the data acquisition device may include an audio acquisition device, a video acquisition device, a sensor device, a time acquisition device, a Global Positioning System (GPS) device, and the like.
In one embodiment, the electronic device may perform time and place correlation on a series of discrete behavior information to determine schedule information of the user; for example, the information in the schedule information may be the result of classifying, aggregating, and feature identifying the behavior information; for example, the schedule information may include a result of classifying and aggregating the behavior information by date and place; for example, the schedule information may further include environment information corresponding to a date and/or a place.
In one embodiment, the environment information may be determined by filtering the schedule information based on location and/or time period information of the environment in which the electronic device is currently located.
Therefore, the adjusting method provided by the embodiment of the application can determine the environment information based on the schedule information after acquiring the behavior information of the user and determining the schedule information of the user based on the behavior information.
Therefore, the adjusting method provided by the embodiment of the application can acquire the inertial execution action of the user in daily life and work and the environment information associated with the inertial execution action by acquiring the behavior information of the user; in addition, discrete time, discrete places and discrete environmental information in the behavior information can be integrated based on the schedule information determined by the behavior information, so that the efficiency of determining the environmental information based on the schedule information can be improved, and the efficiency of parameter adjustment is improved; meanwhile, the environmental information determined based on the schedule information can be consistent with the daily inertial operation of the user, so that the accuracy of the environmental information is improved.
Based on the foregoing embodiment, in the adjustment method provided in the embodiment of the present application, whether to adjust the parameter in the parameter to be adjusted in a linkage manner is determined based on the environmental information and the parameter difference, which may be implemented in the following manner:
determining the adjustment step length of each parameter in the parameters to be adjusted and the adjustment sequence of each parameter in the parameters to be adjusted based on the environment information; and determining whether to adjust the parameters in the parameters to be adjusted based on the adjustment sequence and the adjustment step length in a linkage manner or not based on the parameter difference.
In one embodiment, the adjustment step size may comprise a positive or negative number; for example, the adjusting direction of the parameter to be adjusted may be determined based on the parameter difference, so as to determine the value of the adjusting step.
In one embodiment, the adjustment sequence may include a sequence of adjacent adjustments of each of the parameters to be adjusted, such as adjusting a second parameter to be adjusted after the adjustment of a first parameter to be adjusted is finished; for example, the adjustment sequence may also include a sequence of intermittently and recursively adjusting each parameter of the parameters to be adjusted, for example, after the adjustment of a first parameter to be adjusted is finished, a first timer is started, after the first timer is timed out, a second parameter to be adjusted is adjusted, after the adjustment of the second parameter to be adjusted is finished, a second timer is started, and after the second timer is timed out, the adjustment of the first parameter to be adjusted is continued.
In one embodiment, the data acquisition device may be started to acquire the environment data when detecting that at least one of the position, the time period and the scene is changed based on the environment information, determine the adjustment rate, and then determine the adjustment step size and the adjustment sequence according to the adjustment rate.
In one embodiment, it may be determined whether to adjust the parameter of the parameter to be adjusted based on the adjustment sequence and the adjustment step length in a linkage manner based on the parameter difference and the difference threshold, for example, if the parameter difference is greater than the difference threshold, it is determined to adjust the parameter of the parameter to be adjusted based on the adjustment sequence and the adjustment step length in a linkage manner; if the parameter difference is smaller than the difference threshold value, determining that the parameters in the parameters to be adjusted are not adjusted in a linkage manner; for example, the difference threshold may include a difference of parameter values between each parameter in the parameter difference, and may further include the number and/or the type of the parameters included in the parameter difference.
As can be seen from the above, after determining the adjustment step length of each parameter in the parameters to be adjusted and the adjustment sequence of each parameter in the parameters to be adjusted based on the environment information, the adjustment method provided in the embodiment of the present application can determine whether to adjust the parameter in the parameters to be adjusted based on the adjustment sequence and the adjustment step length in a linkage manner based on the parameter difference.
Therefore, in the adjusting method provided by the embodiment of the application, the adjusting step length and the adjusting sequence of each parameter in the parameters to be adjusted are determined based on the environment information, and the matching degree of the adjusting step length and the adjusting sequence with the environment information can be improved; and whether the parameters in the parameters to be adjusted are adjusted based on the adjustment sequence and the adjustment step length in a linkage manner is determined based on the parameter difference, so that the efficiency of adjusting the parameters to be adjusted can be improved.
Based on the foregoing embodiment, in the adjustment method provided in the embodiment of the present application, the determining of the adjustment policy based on the first parameter and the parameter to be adjusted may be implemented in the following manner:
acquiring historical adjustment information of a user; determining a parameter difference between the first parameter and the parameter to be adjusted; and determining an adjusting strategy based on the historical adjusting information and the parameter difference.
Illustratively, the historical adjustment information of the user may be acquired under the condition of obtaining the permission of the user.
In one embodiment, the historical adjustment information may include information that a user has historically adjusted the parameter to be adjusted; illustratively, the historical adjustment information may include an adjustment step size and/or an adjustment tempo; for example, the historical adjustment information may also be related to a scene and/or a time period, for example, in a first scene, the user adjusts the parameter to be adjusted in a first adjustment manner, and in a second scene, the user adjusts the parameter to be adjusted in a second adjustment manner, for example, in the first time period, the user adjusts the parameter to be adjusted in a third adjustment manner, and in the second time period, the user adjusts the parameter to be adjusted in a fourth adjustment manner.
For example, the history adjustment information may also relate to parameter differences, such as in a case where the parameter difference is a first difference, the user history adjusts the parameter to be adjusted according to a fifth adjustment manner, and in a case where the parameter difference is a second difference, the user history adjusts the parameter to be adjusted according to a sixth adjustment manner.
For example, an adjustment mode of the parameter to be adjusted corresponding to the current parameter difference may be determined from the historical adjustment information based on a matching degree between the current parameter difference and the parameter difference in the historical adjustment information, and the adjustment mode may be determined as the adjustment strategy.
For example, the adjustment mode of the parameter to be adjusted may be determined based on at least one of the current time period information and the scene information, and the current parameter difference, and the corresponding information in the time period and the scene in the historical adjustment information, and the parameter difference, and the adjustment mode may be determined as the adjustment policy.
As can be seen from the above, in the adjustment method provided in the embodiment of the present application, after obtaining the historical adjustment information of the user and determining the parameter difference between the first parameter and the parameter to be adjusted, the adjustment policy can be determined based on the historical adjustment information and the parameter difference.
Therefore, in the adjusting method provided by the embodiment of the application, the historical adjusting information can include the historical adjusting habit of the user, and then the adjusting strategy determined based on the historical adjusting information and the parameter difference can improve the humanization level of the parameter adjustment of the electronic equipment; in addition, the adjustment strategy is also related to the actual parameter difference, so that the pertinence of parameter adjustment can be improved, the balance of two factors, namely the historical adjustment habit of a user and the actual parameter difference, in the parameter adjustment process can be realized through the operation, the pertinence of parameter adjustment can be improved, and the intelligent level and the humanized level of the parameter adjustment process of the electronic equipment can be improved.
Based on the foregoing embodiment, in the adjusting method provided in the embodiment of the present application, adjusting the operating state of at least one module based on the first parameter may be implemented in the following manner:
determining a user distance based on the first state; and if the user distance is smaller than or equal to the first threshold value and the duration of the user distance smaller than or equal to the first threshold value is larger than or equal to the second threshold value, adjusting the running state of at least one module based on the first parameter until the input and output parameters of at least one module are the second parameters.
The user distance comprises the distance between the user and the electronic equipment; the difference between the first parameter and the second parameter is less than a preset threshold.
For example, if the user distance is greater than a first threshold value or the duration of the user distance being less than or equal to the first threshold value is less than a second threshold value, the operation of adjusting the operating state of at least one module based on the first parameter may not be performed.
In one embodiment, the user distance may be determined based on a distance parameter in the first state.
In an implementation manner, the first threshold, the second threshold, and the preset threshold may be determined or adjusted according to at least one of a personal usage habit of a user, a time zone corresponding to an environment where the electronic device is located, a scene corresponding to the environment where the electronic device is located, and the first state, which is not limited in this application.
In one embodiment, the second parameter may be determined according to at least one of a personal usage habit of a user, a time zone corresponding to an environment in which the electronic device is located, a scene corresponding to the environment in which the electronic device is located, the first state, and a motion state of at least one module; for example, the first parameter and the second parameter cannot be completely equal due to quantization errors of the digital circuit, and therefore, when the input/output parameter of the at least one module is the second parameter, the adjustment process of the operation state of the at least one module may be ended.
As can be seen from the above, in the adjusting method provided in the embodiment of the present application, after the user distance is determined based on the first state, if the user distance is less than or equal to the first threshold and the duration of the user distance that is less than or equal to the first threshold is greater than or equal to the second threshold, the operating state of the at least one module is adjusted based on the first parameter until the input/output parameter of the at least one module is the second parameter; the user distance comprises a distance between the user and the electronic equipment, and the difference between the first parameter and the second parameter is smaller than a preset threshold value.
Therefore, the influence degree of the running state of at least one module on the user of the electronic equipment can be further determined in a fine-grained manner by determining the user distance; when the user distance is less than or equal to the first threshold and the duration time that the user distance is less than or equal to the first threshold is greater than or equal to the second threshold, the operation state of at least one module is adjusted based on the first parameter, so that strict control over the adjustment of the operation state of at least one module is realized; moreover, the input and output parameters of at least one module are second parameters, and the parameter difference between the first parameters and the second parameters is smaller than a preset threshold value, so that the adjustment process can meet the data processing state of a digital circuit of the electronic equipment, the adjustment process can be simplified, and redundant adjustment operation approaching the first parameters infinitely is reduced.
Based on the foregoing embodiment, in the adjusting method provided in the embodiment of the present application, after the operating state of at least one module is adjusted based on the first parameter, the method may further include the following steps:
and adjusting the state parameter of at least one module to a second state.
Wherein the second state comprises a state of the input-output parameter of the at least one module prior to adjusting the operational state of the at least one module.
For example, the second state may be first obtained and saved before the operating state of at least one module is adjusted.
In one embodiment, the second state may include a state of input data of at least one module, such as a first track played by the audio playing module when the adjustment process is initiated; for example, in the process of adjusting the running state of the audio playing module, the first track may be changed into the second track, and after the adjustment process is finished, the played track of the audio playing module may be changed into the first track.
In one embodiment, the second state may include a state of the output data of at least one module, for example, before the adjustment process is started, the brightness of the video playing module playing the video is a first brightness, while the video playing brightness of the video playing module is adjusted to a second brightness during the adjustment process, and after the adjustment process is ended, the video playing brightness may be adjusted to the first brightness.
For example, after the adjustment of the running state of the at least one module is finished, the at least one module may be switched to a background running state, a suspended running state or a stopped running state; illustratively, the state parameter of the at least one module is adjusted to the second state, so that the at least one module performs the data processing operation based on the second state after switching to the running state next time.
As can be seen from the above, the adjusting method provided in the embodiment of the present application may further adjust the state parameter of the at least one module to the second state after adjusting the operating state of the at least one module based on the first parameter; wherein the second state comprises a state of the input-output parameter of the at least one module prior to adjusting the operational state of the at least one module.
Therefore, the adjusting method provided by the embodiment of the application can adjust the state parameter of the at least one module to the second state after the adjustment of the operation state of the at least one module is finished, so that the negative influence on the next normal operation of the at least one module, caused by unnecessary adjustment of the state parameter of the at least one module, can be weakened.
The adjusting method provided in the embodiment of the present application can be applied to various scenarios, and fig. 4 is a schematic flowchart of the adjusting method applied to a sleep scenario provided in the embodiment of the present application, and as shown in fig. 4, the flowchart may include the following steps:
For example, the adjustment method provided in the embodiment of the present application may be started after the automatic adjustment option is started.
For example, the adjustment time period may include a time period preset by a user to start the adjustment method provided in the embodiment of the present application; for example, if the user does not set the adjustment period, step 403 is executed; if the user has set an adjustment period, step 404 is performed.
For example, the default time period may be set according to the historical work and rest habits of the user or the physical health condition of the user, or may be set according to the sleep time period of the public; illustratively, the default sleep period may include 24.
Illustratively, step 404 may be performed after setting the adjustment period.
For example, before detecting the user operation, the user state, i.e. the first state in the foregoing embodiment, may be detected first; for example, whether the user is in a lying state can be judged through the user state; for example, the user distance may also be determined according to the user state, and the user operation is detected on the condition that the user distance is less than or equal to the first threshold and the duration of the user distance being less than or equal to the first threshold is greater than or equal to the second threshold; illustratively, the user distance may be detected by an infrared detection device in the electronic device.
For example, the user operation may include an operation of the electronic device by the user, such as a touch operation.
For example, the preset time period may be preset according to the work and rest habits of the user; for example, the preset time period may be determined or adjusted according to at least one of a physical state, an emotional state, and a scene where the electronic device is located.
For example, if the user operation is detected within the preset time period, the step 404 is continuously executed; if the user operation is not detected within the preset time, step 406 is executed.
For example, if the screen of the electronic device is in an inactive state, but an audio playing application is running in the background of the electronic device, it may be determined that the user operation is not detected within a preset time period.
For example, taking an audio playing application in a foreground running state as an example, at least one module corresponding to the audio playing application includes a display module, such as a display screen, and an audio output module of the electronic device, at this time, the display brightness of the display module or the output volume of the audio output module may be adjusted, that is, it may be determined that the parameter to be adjusted includes the display brightness of the display module or the output volume of the audio output module.
For example, an adjustment strategy may be determined according to a display brightness of the display module or an output volume of the audio output module, and a first parameter corresponding to a sleep state of the user, and the display brightness and the output volume may be adjusted based on an adjustment step size and an adjustment sequence based on the adjustment strategy.
For example, if the audio output module outputs audio while the display module displays the audio output interface, the adjustment strategy may include adjusting the above parameters simultaneously or sequentially with respective step sizes, such as adjusting the display brightness and the output volume simultaneously with a step size of-10%; for example, if the display module is in the inactive state but the audio output module is in the audio output state, the parameter to be adjusted may be an output volume, so that only the output volume may be adjusted; for example, if the audio output module is in the audio output pause state, but the display module is in the display active state, the parameter to be adjusted may include display brightness, and at this time, only the display brightness may be adjusted.
And step 407, judging whether the adjustment canceling operation is detected.
Illustratively, if a user input cancellation adjustment operation is detected, step 408 is executed; if the user input cancellation adjustment operation is not detected, step 409 is executed.
Illustratively, after restoring the volume or brightness, the step 404 may be continued and the next adjustment process may be initiated.
And step 409, judging whether the volume or the brightness is a target value.
Illustratively, the target value may be a parameter value of the first parameter in the foregoing embodiment.
For example, if the volume or brightness is not the target value, step 410 is executed; if the volume or brightness is the target value, go to step 411.
Illustratively, the specified time interval may be determined as the user personally adjusts habits, and illustratively, the specified time interval may be 5 minutes or 10 minutes; illustratively, the volume or brightness may be adjusted in a similar manner as in step 406.
For example, when the output volume or the display brightness is 0, the audio playing application may be switched to a running stop state, such as turning off the audio playing application; for example, the initial volume of the audio playing application and the initial brightness of the display module during the audio playing process can be restored, and the screen saver state of the display module can be maintained.
In practical applications, most users play mobile phones before sleeping, such as playing video or audio, and if the users switch to a sleep state, the mobile phones will continue to play the video or audio, which will cause power consumption of the mobile phones and negatively affect the sleep of the users.
By the adjusting method provided by the embodiment of the application, the self-adaptive adjustment of the running state of at least one module in the mobile phone and the application associated with the at least one module can be realized according to the sleep mode of the user, and the technical problems can be solved.
Based on the foregoing embodiments, an adjusting device is further provided in the embodiments of the present application, fig. 5 is a schematic structural diagram of the adjusting device provided in the embodiments of the present application, and as shown in fig. 5, the adjusting device may include
An obtaining module 501, configured to obtain a first state; wherein the first state comprises a state of a user of the electronic device;
a determining module 502, configured to determine a first parameter corresponding to a first state; wherein the first parameter at least comprises a state parameter of at least one module of the electronic device;
an adjusting module 503 is configured to adjust an operation status of at least one module based on the first parameter.
In some embodiments, the determining module 502 is configured to determine a parameter to be adjusted based on the first parameter and an operating state of at least one module; determining an adjusting strategy based on the first parameter and the parameter to be adjusted;
an adjusting module 503, configured to adjust the parameter to be adjusted based on the adjustment strategy, so as to adjust an operating state of at least one module.
In some embodiments, the number of the parameters to be adjusted is at least two, and the adjustment strategy comprises whether the parameters in the parameters to be adjusted are adjusted in a linkage manner or not;
a determining module 502, configured to determine environment information of an environment in which the electronic device is located; the environment information at least comprises time period information corresponding to a time zone where the environment is located and/or scene information corresponding to the environment;
a determining module 502, further configured to determine a parameter difference between the first parameter and the parameter to be adjusted; and determining whether to adjust parameters in the parameters to be adjusted in a linkage manner based on the environment information and the parameter difference.
In some embodiments, the obtaining module 501 is configured to obtain network connection information of an electronic device;
a determining module 502 for determining the environment information based on the network connection information.
In some embodiments, the obtaining module 501 is configured to collect behavior information of a user;
a determining module 502, configured to determine schedule information of a user based on the behavior information; based on the schedule information, the environment information is determined.
In some embodiments, the determining module 502 is configured to determine, based on the environment information, an adjustment step size of each of the parameters to be adjusted and an adjustment sequence of each of the parameters to be adjusted; and determining whether to adjust the parameters in the parameters to be adjusted based on the adjustment sequence and the adjustment step length in a linkage manner based on the parameter difference.
In some embodiments, the obtaining module 501 is configured to obtain historical adjustment information of a user;
a determining module 502 for determining a parameter difference between the first parameter and the parameter to be adjusted; and determining an adjusting strategy based on the historical adjusting information and the parameter difference.
In some embodiments, the determining module 502 is configured to determine a user distance based on the first state; the user distance comprises the distance between the user and the electronic equipment;
an adjusting module 503, configured to adjust an operating state of at least one module based on a first parameter if the user distance is less than or equal to a first threshold and the duration of the user distance being less than or equal to the first threshold is greater than or equal to a second threshold until the input/output parameter of the at least one module is a second parameter; wherein the difference between the first parameter and the second parameter is smaller than a preset threshold value.
In some embodiments, an adjusting module 503 is configured to adjust the state parameter of at least one module to a second state; wherein the second state comprises a state of the input-output parameter of the at least one module prior to adjusting the operational state of the at least one module.
Since the first state includes a state of a user of the electronic device, the first parameter corresponding to the first state can include at least one parameter that has a positive or negative impact on the state of the user; and, since the first parameter comprises at least a status parameter of at least one module of the electronic device, enabling to determine, by means of the first parameter, at least one module that has a positive or negative impact on the status of the user; meanwhile, the running state of at least one module is adjusted based on the first parameter, so that not only can the running state of at least one module associated with the state of the user be accurately adjusted, but also the running state of at least one module associated with the state of the user can be adaptively adjusted, therefore, humanized and intelligent adjustment of at least one module is realized, the intelligent level of the electronic equipment is improved, and the electronic equipment can meet diversified actual use requirements.
Based on the foregoing embodiments, an electronic device is further provided in this application embodiment, where the electronic device includes a processor and a memory, where the memory stores a computer program, and when the computer program is executed by the processor, the electronic device is capable of implementing the adjusting method provided in any one of the foregoing embodiments.
The processor may be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor.
The Memory may be a volatile Memory (volatile Memory), such as a Random Access Memory (RAM); or a non-volatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory, a Hard Disk Drive (HDD) or a Solid State Disk (SSD); or a combination of the above types of memories and provides instructions and data to the processor.
The obtaining module, the determining module and the adjusting module can be realized by the processor.
Based on the foregoing embodiments, the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor of an electronic device, the computer program can implement the adjusting method provided in any of the foregoing embodiments.
The foregoing description of the various embodiments is intended to highlight different aspects of the various embodiments that are the same or similar, which can be referenced with one another and therefore are not repeated herein for brevity.
The methods disclosed in the method embodiments provided by the present application can be combined arbitrarily without conflict to obtain new method embodiments.
Features disclosed in various product embodiments provided by the application can be combined arbitrarily to obtain new product embodiments without conflict.
The features disclosed in the various method or apparatus embodiments provided herein may be combined in any combination to arrive at new method or apparatus embodiments without conflict.
The computer-readable storage medium may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM), and the like; and may be various electronic devices such as mobile phones, computers, tablet devices, personal digital assistants, etc., including one or any combination of the above-mentioned memories.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus necessary general hardware nodes, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present application.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.
Claims (10)
1. A method of conditioning, wherein the method comprises:
acquiring a first state; wherein the first state comprises a state of a user of the electronic device;
determining a first parameter corresponding to the first state; wherein the first parameter comprises at least a state parameter of at least one module of the electronic device;
adjusting an operating state of the at least one module based on the first parameter.
2. The method of claim 1, wherein said adjusting the operational state of the at least one module based on the first parameter comprises:
determining a parameter to be adjusted based on the first parameter and the operating state of the at least one module;
determining an adjustment strategy based on the first parameter and the parameter to be adjusted;
and adjusting the parameter to be adjusted based on the adjusting strategy so as to adjust the running state of the at least one module.
3. The method according to claim 2, wherein the number of the parameters to be adjusted is at least two, and the adjustment strategy comprises whether to adjust the parameters in the parameters to be adjusted in a linkage manner; the determining an adjustment strategy based on the first parameter and the parameter to be adjusted includes:
determining environment information of an environment in which the electronic equipment is located; the environment information at least comprises time period information corresponding to a time zone in which the environment is located and/or scene information corresponding to the environment;
determining a parameter difference between the first parameter and the parameter to be adjusted;
and determining whether to adjust parameters in the parameters to be adjusted in a linkage manner based on the environmental information and the parameter difference.
4. The method of claim 3, wherein the determining environmental information of the environment in which the electronic device is located comprises:
acquiring network connection information of the electronic equipment;
determining the environmental information based on the network connection information.
5. The method of claim 3, wherein the determining environmental information of the environment in which the electronic device is located comprises:
collecting the behavior information of the user;
determining schedule information of the user based on the behavior information;
and determining the environment information based on the schedule information.
6. The method of claim 3, wherein the determining whether to adjust the parameters of the parameters to be adjusted in a linkage manner based on the environmental information and the parameter difference comprises:
determining the adjusting step length of each parameter in the parameters to be adjusted and the adjusting sequence of each parameter in the parameters to be adjusted based on the environment information;
and determining whether to adjust parameters in the parameters to be adjusted based on the adjusting sequence and the adjusting step length in a linkage manner based on the parameter difference.
7. The method of claim 2, wherein the determining an adjustment strategy based on the first parameter and the parameter to be adjusted comprises:
acquiring historical adjustment information of the user;
determining a parameter difference between the first parameter and the parameter to be adjusted;
determining the adjustment strategy based on the historical adjustment information and the parameter difference.
8. The method of claim 1, wherein said adjusting the operational state of the at least one module based on the first parameter comprises:
determining a user distance based on the first state; wherein the user distance comprises a distance between the user and the electronic device;
if the user distance is smaller than or equal to a first threshold value and the duration of the user distance being smaller than or equal to the first threshold value is larger than or equal to a second threshold value, adjusting the running state of the at least one module based on the first parameter until the input and output parameters of the at least one module are second parameters; wherein a difference between the first parameter and the second parameter is less than a preset threshold.
9. The method of claim 1, wherein after said adjusting the operational state of the at least one module based on the first parameter, the method further comprises:
adjusting the state parameter of the at least one module to a second state; wherein the second state comprises a state of an input-output parameter of the at least one module prior to adjusting the operational state of the at least one module.
10. An adjustment device, wherein the device comprises:
the acquisition module is used for acquiring a first state; wherein the first state comprises a state of a user of the electronic device;
a determining module for determining a first parameter corresponding to the first state; wherein the first parameter comprises at least a state parameter of at least one module of the electronic device;
and the adjusting module is used for adjusting the running state of the at least one module based on the first parameter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211175634.1A CN115633121A (en) | 2022-09-26 | 2022-09-26 | Adjusting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211175634.1A CN115633121A (en) | 2022-09-26 | 2022-09-26 | Adjusting method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115633121A true CN115633121A (en) | 2023-01-20 |
Family
ID=84902316
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211175634.1A Pending CN115633121A (en) | 2022-09-26 | 2022-09-26 | Adjusting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115633121A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111182415A (en) * | 2019-11-14 | 2020-05-19 | 广东小天才科技有限公司 | Sound box control method, intelligent sound box and storage medium |
CN111397153A (en) * | 2020-03-30 | 2020-07-10 | 广东美的制冷设备有限公司 | Air conditioning equipment, control method and device thereof and electronic equipment |
CN111650842A (en) * | 2020-05-09 | 2020-09-11 | 珠海格力电器股份有限公司 | Household appliance control method and device |
CN111880490A (en) * | 2020-07-08 | 2020-11-03 | 珠海格力电器股份有限公司 | Environment adjusting method and device, electronic equipment and storage medium |
CN112214112A (en) * | 2020-10-21 | 2021-01-12 | 维沃移动通信有限公司 | Parameter adjusting method and device |
CN112488650A (en) * | 2020-11-26 | 2021-03-12 | 万翼科技有限公司 | Conference atmosphere adjusting method, electronic equipment and related products |
CN112783465A (en) * | 2020-05-31 | 2021-05-11 | 深圳市睿耳电子有限公司 | Method and device for adjusting background music applied to intelligent earphone |
WO2021143248A1 (en) * | 2020-01-14 | 2021-07-22 | 华为技术有限公司 | Backlight adjustment method and electronic device |
-
2022
- 2022-09-26 CN CN202211175634.1A patent/CN115633121A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111182415A (en) * | 2019-11-14 | 2020-05-19 | 广东小天才科技有限公司 | Sound box control method, intelligent sound box and storage medium |
WO2021143248A1 (en) * | 2020-01-14 | 2021-07-22 | 华为技术有限公司 | Backlight adjustment method and electronic device |
CN111397153A (en) * | 2020-03-30 | 2020-07-10 | 广东美的制冷设备有限公司 | Air conditioning equipment, control method and device thereof and electronic equipment |
CN111650842A (en) * | 2020-05-09 | 2020-09-11 | 珠海格力电器股份有限公司 | Household appliance control method and device |
CN112783465A (en) * | 2020-05-31 | 2021-05-11 | 深圳市睿耳电子有限公司 | Method and device for adjusting background music applied to intelligent earphone |
CN111880490A (en) * | 2020-07-08 | 2020-11-03 | 珠海格力电器股份有限公司 | Environment adjusting method and device, electronic equipment and storage medium |
CN112214112A (en) * | 2020-10-21 | 2021-01-12 | 维沃移动通信有限公司 | Parameter adjusting method and device |
CN112488650A (en) * | 2020-11-26 | 2021-03-12 | 万翼科技有限公司 | Conference atmosphere adjusting method, electronic equipment and related products |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108052010B (en) | Intelligent electric appliance self-adjusting method and device, computer equipment and storage medium | |
CN107567083A (en) | The method and apparatus for carrying out power saving optimization processing | |
CN113296420A (en) | Scene automatic adjusting method, system, device and storage medium | |
US20170052514A1 (en) | Method and computer software program for a smart home system | |
CN110262264B (en) | Household equipment control method and device for simplifying user operation and household equipment | |
CN112997134A (en) | Application icon display method and device, storage medium and electronic equipment | |
CN105844106A (en) | Health prompting method and device | |
CN104808764A (en) | Control method and control device of working modes, electronic apparatus | |
CN109448710B (en) | Voice processing method and device, household appliance and storage medium electronic device | |
CN112558524A (en) | Electric appliance system control method and device, electronic equipment and storage medium | |
CN109741108A (en) | Streaming application recommended method, device and electronic equipment based on context aware | |
CN112229032B (en) | Environment temperature adjusting method, device and computer readable storage medium | |
CN113206774A (en) | Control method and device of intelligent household equipment based on indoor positioning information | |
CN113932389A (en) | Method and device for controlling air conditioner, air conditioner and storage medium | |
WO2022012060A1 (en) | Method for collecting operation mode, and terminal device, massage device and storage medium | |
CN108121720A (en) | A kind of resource recommendation method and device | |
CN114493028A (en) | Method and device for establishing prediction model, storage medium and electronic device | |
CN115633121A (en) | Adjusting method and device | |
CN113055984B (en) | Terminal control method and device, mobile terminal and storage medium | |
CN108616824B (en) | Switching method and device of motion group and computer readable storage medium | |
CN112815610A (en) | Control method and device for ion generator in household appliance and household appliance | |
CN109343821A (en) | Sound playing method, device, storage medium and electronic device | |
CN114484752A (en) | Control method, device, storage medium and computer program product of air conditioner | |
CN115183436A (en) | Air conditioner control method and system | |
CN114527673A (en) | Intelligent device control method and device, electronic device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |