CN112925425A - Device control method, mobile terminal, and computer-readable storage medium - Google Patents

Device control method, mobile terminal, and computer-readable storage medium Download PDF

Info

Publication number
CN112925425A
CN112925425A CN201911237320.8A CN201911237320A CN112925425A CN 112925425 A CN112925425 A CN 112925425A CN 201911237320 A CN201911237320 A CN 201911237320A CN 112925425 A CN112925425 A CN 112925425A
Authority
CN
China
Prior art keywords
mobile terminal
user
acquiring
equipment
speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911237320.8A
Other languages
Chinese (zh)
Inventor
陈小平
陈伟健
唐清生
林勇进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Foshan Viomi Electrical Technology Co Ltd
Original Assignee
Foshan Viomi Electrical Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Foshan Viomi Electrical Technology Co Ltd filed Critical Foshan Viomi Electrical Technology Co Ltd
Priority to CN201911237320.8A priority Critical patent/CN112925425A/en
Publication of CN112925425A publication Critical patent/CN112925425A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses an equipment control method, a mobile terminal and a computer readable storage medium, wherein the method can be used for acquiring the moving speed of the mobile terminal and determining the speed interval of the moving speed; acquiring a user identifier of a user currently using the mobile terminal; acquiring a mapping relation between a speed interval corresponding to the user identification and an operation parameter; determining target operation parameters of the equipment according to the mapping relation; and controlling the equipment to operate according to the target operation parameters. According to the scheme, the target operation parameters corresponding to the moving speed can be determined based on the mapping relation corresponding to the user identification, the control equipment operates according to the target operation parameters, different parameters of the equipment can be adjusted quickly and accurately, and convenience and accuracy in equipment control are improved.

Description

Device control method, mobile terminal, and computer-readable storage medium
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a device control method, a mobile terminal, and a computer-readable storage medium.
Background
With the rapid development of science and technology and the improvement of living standard of people, equipment is more and more popular, such as a refrigerator, a fan or an air conditioner. In the prior art, when parameters such as air volume, wind direction, temperature or temperature of different devices such as a refrigerator, a fan or an air conditioner are adjusted, a remote controller needs to enter an adjusting mode of one parameter, a user manually adjusts the parameter, and after the parameter adjustment is completed, the user enters an adjusting mode of another parameter to adjust the parameter.
Disclosure of Invention
The embodiment of the application provides an equipment control method, a mobile terminal and a computer readable storage medium, which can improve the convenience and accuracy of equipment control.
In a first aspect, an embodiment of the present application provides an apparatus control method, including:
acquiring the moving speed of a mobile terminal, and determining a speed interval where the moving speed is located;
acquiring a user identifier of a user currently using the mobile terminal;
acquiring a mapping relation between a speed interval corresponding to the user identification and an operation parameter;
determining target operation parameters of the equipment according to the mapping relation;
and controlling the equipment to operate according to the target operation parameters.
In a second aspect, an embodiment of the present application further provides a mobile terminal, including a memory and a processor, where the memory stores a computer program, and the processor executes any one of the device control methods provided in the embodiment of the present application when calling the computer program in the memory.
In a third aspect, an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, and the computer program is loaded by a processor to execute any one of the apparatus control methods provided in the embodiment of the present application.
The method and the device for obtaining the mobile terminal speed can obtain the mobile speed of the mobile terminal, determine the speed interval where the mobile speed is located, then obtain the user identification of the user using the mobile terminal at present, and obtain the mapping relation between the speed interval corresponding to the user identification and the operation parameters; at this time, the target operation parameters of the equipment can be determined according to the mapping relation, and the equipment is controlled to operate according to the target operation parameters. According to the scheme, the target operation parameters corresponding to the moving speed can be determined based on the mapping relation corresponding to the user identification, the control equipment operates according to the target operation parameters, different parameters of the equipment can be adjusted quickly and accurately, and convenience and accuracy in equipment control are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of an apparatus control method provided in an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating a moving speed generated when a sliding operation occurs in a mobile terminal according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a mobile terminal generating a moving speed when there is movement according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating an apparatus controlling mode selection to be turned on or off according to an embodiment of the present disclosure;
FIG. 5 is a diagram illustrating a list of identifiers for display devices provided by an embodiment of the present application;
fig. 6 is a schematic structural diagram of a mobile terminal 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, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The embodiment of the application provides a device control method, a mobile terminal and a computer readable storage medium. The device control method can be applied to a mobile terminal, and the mobile terminal can comprise a mobile terminal such as a smart phone, a tablet computer, a palm computer or a notebook computer and is used for controlling the device. The mobile terminal can also comprise a movable sweeper, a refrigerator or an air conditioner and other equipment with a display screen, wherein the equipment can acquire the moving speed of the equipment, determine a speed interval where the moving speed is located, acquire a user identifier of a user using the equipment at present and acquire a mapping relation between the speed interval corresponding to the user identifier and the operation parameter; and then determining target operation parameters of the equipment according to the mapping relation, and controlling the equipment to operate according to the target operation parameters.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating an apparatus control method according to an embodiment of the present disclosure. The device control method may include steps S101 to S105, and the like, and specifically may be as follows:
s101, obtaining the moving speed of the mobile terminal, and determining a speed interval where the moving speed is located.
The moving speed of the mobile terminal may include a moving speed generated when the mobile terminal itself moves, or a moving speed (i.e., a sliding speed) generated when a sliding operation exists in a display screen of the mobile terminal. The mobile terminal may acquire a moving speed of the mobile terminal through a speed sensor, or calculate the moving speed of the mobile terminal based on a moving distance and a moving time, and the like.
In order to facilitate the determination of the operation parameters, the mobile terminal may preset a plurality of speed intervals in which no overlapping exists, and after obtaining the moving speed of the mobile terminal, the moving speed may be compared with each speed interval to determine the speed interval in which the moving speed is located, so as to determine the corresponding operation parameters based on the speed intervals subsequently.
In some embodiments, obtaining the moving speed of the mobile terminal may include: receiving a sliding operation input in a display screen of the mobile terminal; and acquiring the moving speed corresponding to the sliding operation.
When the moving speed of the mobile terminal is a moving speed generated when a sliding operation exists in the display screen, for example, as shown in fig. 2, the mobile terminal may detect whether the sliding operation exists on the display screen in a screen-on or screen-off state, and when the sliding operation does not exist on the display screen, the subsequent operation may not be performed; when the display screen has the sliding operation, the sliding operation input in the display screen can be received, the sliding distance, the sliding time and the like corresponding to the sliding operation are obtained, the moving speed corresponding to the sliding operation can be calculated according to the sliding distance and the sliding time, and the convenience of obtaining the moving speed is improved.
In some embodiments, obtaining the moving speed of the mobile terminal may include: acquiring acceleration information of the mobile terminal; and when the acceleration information is greater than a preset threshold value, acquiring the average speed of the mobile terminal in the current moving process to obtain the moving speed.
When the moving speed of the mobile terminal is a moving speed generated when the mobile terminal itself has movement, in order to improve convenience and flexibility of obtaining the moving speed, the mobile terminal may detect whether the mobile terminal generates an acceleration through an acceleration sensor, for example, as shown in fig. 3, the mobile terminal may detect the acceleration when performing a moving operation such as shaking, and if the acceleration is generated, obtain acceleration information of the mobile terminal, where the acceleration information may be current acceleration information of the mobile terminal. Then, whether the acceleration information of the mobile terminal is greater than a preset threshold is judged, the preset threshold can be flexibly set according to actual needs, when the acceleration information of the mobile terminal is greater than the preset threshold, it is indicated that the mobile terminal is executing a preset operation (for example, shaking or moving), at this time, the average speed of the mobile terminal in the current moving process can be obtained, for example, the average speed can be calculated according to the acceleration information and the acceleration time, and the moving speed is obtained. When the acceleration information of the mobile terminal is smaller than or equal to the preset threshold, the mobile terminal does not execute the preset operation, and the moving speed can be partially acquired at the moment, so that the effective screening of the acquisition of the moving speed is realized.
In some embodiments, obtaining the moving speed of the mobile terminal may include: detecting whether a preset equipment control mode of the mobile terminal is started or not; and if the equipment control mode is started, acquiring the moving speed of the mobile terminal.
In order to improve the reliability of the mobile terminal to control the device, the mobile terminal may be preset with a device control mode in which an operation parameter of the device may be determined based on a moving speed of the mobile terminal. For example, as shown in fig. 4, the device control mode may be turned on or off by a switch corresponding to the device control mode during the use process of the mobile terminal. When the device control mode is on, the mobile terminal may obtain a moving speed of the mobile terminal to determine a target operating parameter of the device. When the device control mode is off, the mobile terminal cannot determine the target operating parameters of the device based on the movement speed.
In the using process of the mobile terminal, whether a preset equipment control mode of the mobile terminal is started or not can be detected; if the equipment control mode is started, acquiring the moving speed of the mobile terminal; if the device control mode is not started, the operation of acquiring the moving speed of the mobile terminal is not required to be executed.
S102, obtaining the user identification of the user using the mobile terminal currently.
In some embodiments, obtaining the user identification of the user currently using the mobile terminal may include: receiving fingerprint information input by a user when the mobile terminal is unlocked, and determining the user identification of the user currently using the mobile terminal based on the fingerprint information; or acquiring a face image in a preset range in front of the mobile terminal, performing face recognition on the face image, and determining the user identification of the user currently using the mobile terminal based on the recognition result.
Due to the fact that different users may have differences in using habits or requirements of the mobile terminal, convenience is brought to use of the users, convenience in use of the mobile terminal is improved, convenience in control of the mobile terminal over equipment is improved, and the mapping relation between the speed interval and the operation parameters can be determined according to differences of users using the mobile terminal at present.
For example, in the process of using the mobile terminal, when the mobile terminal needs to be unlocked, the biometric features such as fingerprint information, voiceprint information, face information, or iris information input by the user when the mobile terminal is unlocked may be received, the user currently using the mobile terminal may be determined based on the biometric features such as fingerprint information, voiceprint information, face information, or iris information, and the user identifier of the user currently using the mobile terminal may be obtained at this time. Or, the mobile terminal may acquire a face image in a preset range (e.g., a visible range of the camera) in front of the mobile terminal through the camera, and then perform face recognition on the face image through the face recognition model to obtain a recognition result, where the recognition result may include feature information or identification information of the user, such as face information or iris information of the user, and a hairstyle, a face shape, or whether to wear glasses, and the like, and the user currently using the mobile terminal may be determined based on the recognition result, and at this time, the user identifier of the user currently using the mobile terminal may be obtained.
S103, obtaining a mapping relation between the speed interval corresponding to the user identification and the operation parameter.
In some embodiments, before obtaining the mapping relationship between the speed interval corresponding to the user identifier and the operating parameter, the device control method may further include: acquiring user identifications of a plurality of users and acquiring habit data of each user when the user uses the mobile terminal; generating a corresponding relation between the speed interval and the user identification according to the habit data; and establishing a mapping relation among the user identification, the speed interval and the operation parameters.
In order to improve convenience and reliability of obtaining the operation parameters, the mobile terminal may pre-establish a mapping relationship between a user identifier, a speed interval and the operation parameters, specifically, the mobile terminal may obtain user identifiers of a plurality of users, where the user identifiers may be user names or numbers, and obtain habit data of each user when using the mobile terminal, where the habit data may be habit data of the user when using the mobile terminal, the habit data may include an average speed of a sliding operation or an operation gesture, and the average speed may be an average speed generated when the user performs the sliding operation in a process of using the mobile terminal, and the operation gesture may include a one-hand operation or a two-hand operation. By setting the average sliding speed or the operation gesture and the like as the habit data of the user when using the mobile terminal, the accuracy and the convenience of acquiring the habit data can be improved.
For example, the mobile terminal may obtain an average speed corresponding to a historical input sliding operation when the user uses the mobile terminal within a preset time period, the history may be an operation performed on the mobile terminal before the current time, the history may include a plurality of times, and the mobile terminal may obtain an average speed corresponding to the sliding operation input by the user history, for example, the start time and end time and the sliding distance of each input sliding operation can be recorded, then the speed of the sliding operation (e.g. (end time-start time) ÷ sliding distance ═ speed) is calculated from the start time, the end time, and the sliding distance, and so on, after the speeds corresponding to the plurality of sliding operations are obtained, the speeds of the plurality of sliding operations may be averaged to obtain an average speed, where the average speed is an average speed corresponding to the historical input sliding operation.
For another example, the mobile terminal may detect a distribution state of the user's finger pressing the mobile terminal through the sensor, and when it is detected that there is one pressing point in the touch display screen, it may be determined that an operation gesture of the user when using the mobile terminal is a one-handed operation; when a plurality of pressing points are detected to exist in the touch display screen, the operation gesture of the user when using the mobile terminal can be determined to be two-hand operation; and so on.
After obtaining the habit data of the user when using the mobile terminal, the corresponding relationship between the speed interval and the user identifier may be generated according to the habit data, for example, the speed interval corresponding to the one-handed operation of the user a is a to B, the speed interval corresponding to the two-handed operation of the user a is c to d, the speed interval corresponding to the average speed of the sliding operation of the user a is R is e to f, the speed interval corresponding to the average speed of the sliding operation of the user B is g to h, and the speed interval corresponding to the one-handed operation of the user B is i to j; and so on. The values of a to j can be flexibly set according to actual needs, so that different speed intervals can be set differently according to different users and habit data thereof.
Then, a mapping relation among the user identifier, the speed interval and the operation parameter can be established, for example, the operation parameter corresponding to the speed interval a to B of the user a is the air conditioner temperature 26 ℃, the operation parameter corresponding to the speed interval c to d of the user a is the fan left and right shaking head, the operation parameter corresponding to the speed interval e to f of the user a is the television off, the operation parameter corresponding to the speed interval g to h of the user B is the fan 3-gear wind speed, and the operation parameter corresponding to the speed interval i to j of the user B is the air conditioner sleep mode; and so on.
And S104, determining target operation parameters of the equipment according to the mapping relation.
After obtaining the user identifier of the user currently using the mobile terminal, the mapping relationship between the speed interval corresponding to the user identifier and the operation parameter can be obtained, and the target operation parameter of the device can be determined according to the mapping relationship, wherein the device can comprise an air conditioner, a fan, a humidifier, a sweeper, a refrigerator, a television, a water heater, an electric cooker, a range hood, an oven or a microwave oven and the like. The target operating parameters may include timing duration, operating mode, on, off, temperature, humidity or wind speed, etc.
And S105, controlling the equipment to operate according to the target operation parameters.
After determining the target operation parameters of the device, the mobile terminal may send a control instruction carrying the target operation parameters to the device, and control the device to operate according to the target operation parameters based on the control instruction.
In some embodiments, before the control device operates according to the target operating parameter, the device control method may further include: searching the identification of the equipment, and generating an equipment identification list; screening out equipment located in a preset distance range of the mobile terminal from the equipment identification list; and sending the target operation parameters to the equipment so as to control the equipment to operate according to the target operation parameters.
In order to improve the accuracy of the mobile terminal in controlling the device and to determine the device within the controllable range so as to ensure that the device to be controlled is effectively controlled, the mobile terminal may search for an identifier of the device (i.e., a device identifier), generate a device identifier list, where the identifier of the device includes a device name or number, and the identifier of the device may be composed of numbers, letters, symbols, or characters.
Then, the devices located within the preset distance range of the mobile terminal may be screened from the device identifier list, for example, the mobile terminal may obtain first location information of the mobile terminal and second location information of the devices, calculate a distance between the mobile terminal and the devices according to the first location information and the second location information, and screen the devices located within the preset distance range of the mobile terminal according to the distance. The screened equipment can comprise one or more equipment, and the preset distance range can be flexibly set according to actual needs.
Or, for example, as shown in fig. 5, the mobile terminal may display the generated device identifier list for the user to select, receive a selection instruction input by the user based on the displayed device identifier list, where the selection instruction may be used to select a device identifier in the device identifier list, or to select and delete a device identifier that is not needed in the device identifier list, and may also set a screening or display condition according to actual needs, so that a device located within a preset distance range of the mobile terminal may be screened from the device identifier list according to the selection instruction, and convenience in device selection is improved.
At this time, the mobile terminal may send the target operation parameter to the screened device, so as to control the device to operate according to the target operation parameter.
In some embodiments, the control device operating at the target operating parameter may include: acquiring a current environment index; correcting the target operation parameters according to the environmental indexes to obtain corrected target operation parameters; the control device operates based on the corrected target operating parameter.
Because some users may not accurately set the operation parameters suitable for the comfort of the human body, or may not accurately set the appropriate operation parameters of the device, in order to improve the reliability, safety and stability of the operation parameter setting, avoid repeatedly adjusting the operation parameters of the device, and avoid the influence of the improper operation parameters on the operation performance of the device, etc., the mobile terminal may modify the operation parameters of the device, for example, the mobile terminal may obtain the current environment index, which may include an indoor environment index, an outdoor environment index, etc., and the environment index may include temperature or humidity, etc. Then, the target operation parameter can be corrected according to the environmental index to obtain a corrected target operation parameter, and at this time, the mobile terminal can control the device to operate based on the corrected target operation parameter.
The method and the device for obtaining the mobile terminal speed can obtain the mobile speed of the mobile terminal, determine the speed interval where the mobile speed is located, then obtain the user identification of the user using the mobile terminal at present, and obtain the mapping relation between the speed interval corresponding to the user identification and the operation parameters; at this time, the target operation parameters of the equipment can be determined according to the mapping relation, and the equipment is controlled to operate according to the target operation parameters. According to the scheme, the target operation parameters corresponding to the moving speed can be determined based on the mapping relation corresponding to the user identification, the control equipment operates according to the target operation parameters, different parameters of the equipment can be adjusted quickly and accurately, and convenience and accuracy in equipment control are improved.
Referring to fig. 6, fig. 6 is a schematic block diagram of a structure of a mobile terminal according to an embodiment of the present application.
As shown in fig. 6, the mobile terminal 300 may include a processor 302, a memory 303, and a communication interface 304 connected by a system bus 301, wherein the memory 303 may include a non-volatile computer-readable storage medium and an internal memory.
The non-transitory computer readable storage medium may store a computer program. The computer program includes program instructions that, when executed, cause a processor to perform any of the apparatus control methods.
The processor 302 is configured to provide computing and control capabilities that support the operation of the overall mobile terminal.
The memory 303 provides an environment for execution of a computer program in a non-transitory computer-readable storage medium, which, when executed by the processor 302, causes the processor 302 to perform any of the device control methods.
The communication interface 304 is used for communication. Those skilled in the art will appreciate that the configuration shown in fig. 6 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation of the mobile terminal 300 to which the present application is applied, and that a particular mobile terminal 300 may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
It should be understood that the bus 301 is, for example, an I2C (Inter-Integrated Circuit) bus, the Memory 303 may be a Flash chip, a Read-Only Memory (ROM), a magnetic disk, an optical disk, a usb disk, or a removable hard disk, the Processor 302 may be a Central Processing Unit (CPU), the Processor 302 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein, in some embodiments, the processor 302 is configured to run a computer program stored in the memory 303 to perform the steps of:
acquiring the moving speed of the mobile terminal, and determining a speed interval where the moving speed is located; acquiring a user identifier of a user currently using the mobile terminal; acquiring a mapping relation between a speed interval corresponding to the user identifier and the operation parameter; determining target operation parameters of the equipment according to the mapping relation; the control device operates according to the target operating parameters.
In some embodiments, in obtaining the moving speed of the mobile terminal, the processor 302 is further configured to: receiving a sliding operation input in a display screen of the mobile terminal; and acquiring the moving speed corresponding to the sliding operation.
In some embodiments, in obtaining the moving speed of the mobile terminal, the processor 302 is further configured to: acquiring acceleration information of the mobile terminal; and when the acceleration information is greater than a preset threshold value, acquiring the average speed of the mobile terminal in the current moving process to obtain the moving speed.
In some embodiments, the processor 302 is further configured to, when obtaining the user identification of the user currently using the mobile terminal, perform: receiving fingerprint information input by a user when the mobile terminal is unlocked, and determining the user identification of the user currently using the mobile terminal based on the fingerprint information; or acquiring a face image in a preset range in front of the mobile terminal, performing face recognition on the face image, and determining the user identification of the user currently using the mobile terminal based on the recognition result.
In some embodiments, in obtaining the moving speed of the mobile terminal, the processor 302 is further configured to: detecting whether a preset equipment control mode of the mobile terminal is started or not; and if the equipment control mode is started, acquiring the moving speed of the mobile terminal.
In some embodiments, before the control device operates according to the target operating parameter, the processor 302 is further configured to: searching the identification of the equipment, and generating an equipment identification list; screening out equipment located in a preset distance range of the mobile terminal from the equipment identification list; and sending the target operation parameters to the equipment so as to control the equipment to operate according to the target operation parameters.
In some embodiments, when the control device is operating according to the target operating parameters, the processor 302 is further configured to: acquiring a current environment index; correcting the target operation parameters according to the environmental indexes to obtain corrected target operation parameters; the control device operates based on the corrected target operating parameter.
In some embodiments, before obtaining the mapping relationship between the speed interval corresponding to the user identifier and the operation parameter, the processor 302 is further configured to: acquiring user identifications of a plurality of users and acquiring habit data of each user when the user uses the mobile terminal; generating a corresponding relation between the speed interval and the user identification according to the habit data; and establishing a mapping relation among the user identification, the speed interval and the operation parameters.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the device control method, and are not described herein again.
The method and the device for obtaining the mobile terminal speed can obtain the mobile speed of the mobile terminal, determine the speed interval where the mobile speed is located, then obtain the user identification of the user using the mobile terminal at present, and obtain the mapping relation between the speed interval corresponding to the user identification and the operation parameters; at this time, the target operation parameters of the equipment can be determined according to the mapping relation, and the equipment is controlled to operate according to the target operation parameters. According to the scheme, the target operation parameters corresponding to the moving speed can be determined based on the mapping relation corresponding to the user identification, the control equipment operates according to the target operation parameters, different parameters of the equipment can be adjusted quickly and accurately, and convenience and accuracy in equipment control are improved.
The embodiment of the application also provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, the computer program comprises program instructions, and a processor executes the program instructions to realize the control method of any device provided by the embodiment of the application. For example, the computer program is loaded by a processor and may perform the following steps:
acquiring the moving speed of the mobile terminal, and determining a speed interval where the moving speed is located; acquiring a user identifier of a user currently using the mobile terminal; acquiring a mapping relation between a speed interval corresponding to the user identifier and the operation parameter; determining target operation parameters of the equipment according to the mapping relation; the control device operates according to the target operating parameters.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
The computer-readable storage medium may be an internal storage unit of the mobile terminal of the foregoing embodiment, for example, a hard disk or a memory of the mobile terminal. The computer readable storage medium may also be an external storage device of the mobile terminal, such as a plug-in hard disk provided on the mobile terminal, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like.
Since the computer program stored in the computer-readable storage medium can execute any device control method provided in the embodiments of the present application, beneficial effects that can be achieved by any device control method provided in the embodiments of the present application can be achieved, and detailed descriptions are omitted here for the foregoing embodiments.
It is to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items. 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 system 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 system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system 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. While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and various equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. An apparatus control method characterized by comprising:
acquiring the moving speed of a mobile terminal, and determining a speed interval where the moving speed is located;
acquiring a user identifier of a user currently using the mobile terminal;
acquiring a mapping relation between a speed interval corresponding to the user identification and an operation parameter;
determining target operation parameters of the equipment according to the mapping relation;
and controlling the equipment to operate according to the target operation parameters.
2. The device control method according to claim 1, wherein the acquiring of the moving speed of the mobile terminal comprises:
receiving a sliding operation input in a display screen of the mobile terminal;
and acquiring the moving speed corresponding to the sliding operation.
3. The device control method according to claim 1, wherein the acquiring of the moving speed of the mobile terminal comprises:
acquiring acceleration information of the mobile terminal;
and when the acceleration information is greater than a preset threshold value, acquiring the average speed of the mobile terminal in the current moving process to obtain the moving speed.
4. The device control method according to claim 1, wherein the obtaining of the user identifier of the user currently using the mobile terminal comprises:
receiving fingerprint information input by a user when the mobile terminal is unlocked, and determining a user identifier of the user currently using the mobile terminal based on the fingerprint information; alternatively, the first and second electrodes may be,
the method comprises the steps of collecting a face image in a preset range in front of the mobile terminal, carrying out face recognition on the face image, and determining the user identification of a user using the mobile terminal at present based on a recognition result.
5. The device control method according to claim 1, wherein the acquiring of the moving speed of the mobile terminal comprises:
detecting whether a preset equipment control mode of the mobile terminal is started or not;
and if the equipment control mode is started, acquiring the moving speed of the mobile terminal.
6. The plant control method of claim 1, wherein prior to controlling the plant to operate in accordance with the target operating parameter, the method further comprises:
searching the identification of the equipment, and generating an equipment identification list;
screening out the equipment located in the preset distance range of the mobile terminal from the equipment identification list;
and sending the target operation parameters to the equipment so as to control the equipment to operate according to the target operation parameters.
7. The plant control method according to any one of claims 1 to 6, wherein the controlling the plant to operate in accordance with the target operating parameter includes:
acquiring a current environment index;
correcting the target operation parameter according to the environmental index to obtain a corrected target operation parameter;
controlling the device to operate based on the modified target operating parameter.
8. The device control method according to any one of claims 1 to 6, wherein before the obtaining of the mapping relationship between the speed interval corresponding to the user identifier and the operation parameter, the method further comprises:
acquiring user identifications of a plurality of users and acquiring habit data of each user when the user uses the mobile terminal;
generating a corresponding relation between a speed interval and a user identifier according to the habit data;
and establishing a mapping relation among the user identification, the speed interval and the operation parameters.
9. A mobile terminal characterized by comprising a processor and a memory, the memory having stored therein a computer program, the processor executing the device control method according to any one of claims 1 to 8 when calling the computer program in the memory.
10. A computer-readable storage medium for storing a computer program which is loaded by a processor to execute the apparatus control method according to any one of claims 1 to 8.
CN201911237320.8A 2019-12-05 2019-12-05 Device control method, mobile terminal, and computer-readable storage medium Pending CN112925425A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911237320.8A CN112925425A (en) 2019-12-05 2019-12-05 Device control method, mobile terminal, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911237320.8A CN112925425A (en) 2019-12-05 2019-12-05 Device control method, mobile terminal, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN112925425A true CN112925425A (en) 2021-06-08

Family

ID=76161080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911237320.8A Pending CN112925425A (en) 2019-12-05 2019-12-05 Device control method, mobile terminal, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN112925425A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114676389A (en) * 2022-04-02 2022-06-28 深圳市大族机器人有限公司 Motor control method, motor control device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104110769A (en) * 2013-06-20 2014-10-22 广东美的制冷设备有限公司 Air conditioner running temperature control method and air conditioner
CN105509248A (en) * 2015-12-31 2016-04-20 美的集团股份有限公司 Method and device for controlling air conditioner and air conditioner
CN107255339A (en) * 2017-06-02 2017-10-17 广东美的制冷设备有限公司 Air conditioning control method, terminal device and storage medium based on terminal device
CN107678330A (en) * 2017-09-18 2018-02-09 广东美的制冷设备有限公司 Terminal control method, device and computer-readable recording medium
CN108679797A (en) * 2018-07-19 2018-10-19 珠海格力电器股份有限公司 A kind of air conditioning control method and system
CN109883013A (en) * 2019-03-06 2019-06-14 珠海格力电器股份有限公司 Control method, device and the air-conditioning system of air-conditioning

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104110769A (en) * 2013-06-20 2014-10-22 广东美的制冷设备有限公司 Air conditioner running temperature control method and air conditioner
CN105509248A (en) * 2015-12-31 2016-04-20 美的集团股份有限公司 Method and device for controlling air conditioner and air conditioner
CN107255339A (en) * 2017-06-02 2017-10-17 广东美的制冷设备有限公司 Air conditioning control method, terminal device and storage medium based on terminal device
CN107678330A (en) * 2017-09-18 2018-02-09 广东美的制冷设备有限公司 Terminal control method, device and computer-readable recording medium
CN108679797A (en) * 2018-07-19 2018-10-19 珠海格力电器股份有限公司 A kind of air conditioning control method and system
CN109883013A (en) * 2019-03-06 2019-06-14 珠海格力电器股份有限公司 Control method, device and the air-conditioning system of air-conditioning

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114676389A (en) * 2022-04-02 2022-06-28 深圳市大族机器人有限公司 Motor control method, motor control device, computer equipment and storage medium
CN114676389B (en) * 2022-04-02 2023-06-27 深圳市大族机器人有限公司 Motor control method, apparatus, computer device, and storage medium

Similar Documents

Publication Publication Date Title
CN107422859B (en) Gesture-based regulation and control method and device, computer-readable storage medium and air conditioner
US9971925B2 (en) Method and fingerprint sensing system for acquiring a fingerprint image
CN109951595A (en) Intelligence adjusts method, apparatus, storage medium and the mobile terminal of screen intensity
CN104754219B (en) A kind of terminal
CN108108117B (en) Screen capturing method and device and terminal
CN105843681B (en) Mobile terminal and operating system switching method thereof
CN108734939B (en) Electronic equipment control method and device, electronic equipment and readable storage medium
CN110186167B (en) Control method and device of air conditioner, air conditioner and storage medium
CN109268936B (en) Control method and device of air conditioner, air conditioner and storage medium
CN111083537B (en) Cooking video generation method and device
CN109752965B (en) Method and device for controlling household appliance and household appliance
CN108920202A (en) Using preloading management method, device, storage medium and intelligent terminal
CN112035042A (en) Application program control method and device, electronic equipment and readable storage medium
CN107592458B (en) Shooting method and mobile terminal
CN112925425A (en) Device control method, mobile terminal, and computer-readable storage medium
CN112243065B (en) Video recording method and device
CN111984337B (en) Operation mode collection method, terminal device, massage device and storage medium
CN106791362A (en) One kind is taken pictures method to set up and system
CN113126870A (en) Parameter setting method, intelligent refrigerator and computer readable storage medium
CN107580182B (en) Snapshot method, mobile terminal and computer readable storage medium
CN113065113A (en) Device control method, mobile terminal, and computer-readable storage medium
CN112925213B (en) Household appliance control method, mobile terminal and computer readable storage medium
CN111201774A (en) Zooming control method and device and shooting terminal
CN112861571A (en) Household appliance control method, control device and computer readable storage medium
CN112989870A (en) Fan control method, fan and computer readable 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