CN113064538B - Equipment parameter setting method, intelligent refrigerator and computer readable storage medium - Google Patents
Equipment parameter setting method, intelligent refrigerator and computer readable storage medium Download PDFInfo
- Publication number
- CN113064538B CN113064538B CN202010002192.5A CN202010002192A CN113064538B CN 113064538 B CN113064538 B CN 113064538B CN 202010002192 A CN202010002192 A CN 202010002192A CN 113064538 B CN113064538 B CN 113064538B
- Authority
- CN
- China
- Prior art keywords
- areas
- parameters
- area
- equipment
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Human Computer Interaction (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Cold Air Circulating Systems And Constructional Details In Refrigerators (AREA)
- Devices That Are Associated With Refrigeration Equipment (AREA)
Abstract
The embodiment of the application discloses a device parameter setting method, an intelligent refrigerator and a computer readable storage medium, wherein a plurality of areas can be displayed in a touch display screen according to a preset display strategy; receiving touch operation input by a user in the touch display screen; determining the number of the areas of the touch operation passing area; determining equipment to be controlled according to the number of the areas; acquiring parameters corresponding to the touch operation passing through the first area and the last area; and generating the operation parameters of the equipment according to the parameters. According to the scheme, the equipment to be controlled can be determined based on the number of the areas where the touch operation passes through the areas, and the operation parameters of the equipment are generated based on the parameters corresponding to the first area and the last area where the touch operation passes through, so that the fact that the equipment to be controlled is different based on the fact that the number of the areas where the touch operation passes through is determined, the equipment parameters can be set rapidly, and convenience and flexibility of equipment parameter setting are improved.
Description
Technical Field
The application relates to the technical field of electronic equipment, in particular to an equipment parameter setting method, an intelligent refrigerator and a computer readable storage medium.
Background
With rapid development of technology and improvement of living standard of people, intelligent devices are becoming more popular, such as refrigerators, floor cleaners, water heaters, televisions, range hoods, humidifiers, fans or air conditioners. In the prior art, when parameters such as air quantity, wind direction, humidity or temperature of different equipment are set, parameters are required to be set by entering a parameter setting mode through a remote controller, and when parameters are set for different equipment, the parameters are required to be set by entering a corresponding mode by using the remote controllers corresponding to the different equipment respectively, so that the setting of the parameters of the equipment and the control of the parameters are very complicated.
Disclosure of Invention
The embodiment of the application provides a device parameter setting method, an intelligent refrigerator and a computer readable storage medium, which can improve the convenience and flexibility of device parameter setting.
In a first aspect, an embodiment of the present application provides a device parameter setting method, including:
displaying a plurality of areas in the touch display screen according to a preset display strategy;
receiving touch operation input by a user in the touch display screen;
determining the number of the areas of the touch operation passing area;
determining equipment to be controlled according to the number of the areas;
acquiring parameters corresponding to the touch operation passing through the first area and the last area;
and generating the operation parameters of the equipment according to the parameters.
In a second aspect, an embodiment of the present application further provides an intelligent refrigerator, including a memory and a processor, where the memory stores a computer program, and when the processor invokes the computer program in the memory, any one of the device parameter setting methods provided in the embodiments of the present application is executed.
In a third aspect, embodiments of the present application further provide a computer readable storage medium for storing a computer program, where the computer program is loaded by a processor to perform any of the device parameter setting methods provided in the embodiments of the present application.
According to the method and the device, a plurality of areas can be displayed in the touch display screen according to a preset display strategy, touch operation input by a user in the touch display screen is received, the number of areas where the touch operation passes through the areas is determined, and equipment to be controlled is determined according to the number of the areas; and then acquiring parameters corresponding to the touch operation passing through the first area and the last area, and generating operation parameters of the equipment according to the parameters. According to the scheme, the equipment to be controlled can be determined based on the number of the areas where the touch operation passes through the areas, and the operation parameters of the equipment are generated based on the parameters corresponding to the first area and the last area where the touch operation passes through, so that the fact that the equipment to be controlled is different based on the fact that the number of the areas where the touch operation passes through is determined, the equipment parameters can be set rapidly, and convenience and flexibility of equipment parameter setting are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a device parameter setting method provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of displaying multiple regions within a touch display screen provided by an embodiment of the present application;
FIG. 3 is another schematic diagram of displaying multiple regions within a touch display screen provided by an embodiment of the present application;
FIG. 4 is another schematic diagram of displaying multiple regions within a touch display screen provided by an embodiment of the present application;
fig. 5 is a schematic diagram of a smart refrigerator according to an embodiment of the present application establishing communication connection with a plurality of devices;
FIG. 6 is a schematic diagram of a device identification list display provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of a device operating parameter setting provided by an embodiment of the present application;
FIG. 8 is another schematic diagram of a device operating parameter setting provided by an embodiment of the present application;
fig. 9 is a schematic structural diagram of an intelligent refrigerator according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and not necessarily all of the elements and operations/steps are included or performed in the order described. For example, some operations/steps may be further divided, combined, or partially combined, so that the order of actual execution may be changed according to actual situations.
The embodiment of the application provides a device parameter setting method, an intelligent refrigerator and a computer readable storage medium. The method for setting the equipment parameters can be applied to an intelligent refrigerator, the method for setting the equipment parameters can also be applied to a mobile terminal or a server, the mobile terminal can comprise a smart phone, a tablet computer, a palm computer, a notebook computer or the like and is used for setting the equipment parameters, for example, the server can control the mobile terminal to display a plurality of areas in a touch display screen according to a preset display strategy, receive touch operations input by a user in the touch display screen, determine the number of areas where the touch operations pass through the areas, determine equipment to be controlled according to the number of the areas, acquire parameters corresponding to the touch operations passing through a first area and a last area, generate operation parameters of the equipment according to the parameters, send control instructions carrying the operation parameters to the equipment, control the equipment to operate according to the operation parameters based on the control instructions, and the like. The following will be described by taking an example in which the device parameter setting method is applied to a smart refrigerator.
Referring to fig. 1, fig. 1 is a flowchart of a device parameter setting method according to an embodiment of the present application. The device parameter setting method may include steps S101 to S106, etc., and specifically may be as follows:
s101, displaying a plurality of areas in the touch display screen according to a preset display strategy.
The display strategy can be flexibly set according to actual needs, for example, a plurality of areas displaying an n×m array or a plurality of areas displaying n×m+a in a touch display screen of the intelligent refrigerator according to preset intervals, and n, m and a can be flexibly set according to actual needs; or, a setting instruction input by a user can be received, and a plurality of areas such as preset number, size, display position, shape, color and the like are displayed in the touch display screen according to the setting instruction; etc.
The areas may be non-overlapping areas, and the number, size, display position, shape, color, etc. of the areas may be flexibly set according to actual needs, and specific content is not limited herein. For example, as shown in fig. 2, the shape of the region may be circular, and for example, as shown in fig. 3 and 4, the shape of the region may be quadrilateral.
It should be noted that, the intelligent refrigerator may set parameters for each region in advance, and establish a correspondence between the regions and the parameters, for example, the intelligent refrigerator may receive a parameter setting instruction in a parameter setting interface, and input the parameters at a position corresponding to each region based on the parameter setting instruction, and the correspondence between the regions and the parameters may be stored in a local or server of the intelligent refrigerator in advance. In the process of using the intelligent refrigerator, a user can modify parameters of the area according to own requirements or preferences, for example, the intelligent refrigerator can receive a parameter modification instruction in a parameter setting interface, delete original parameters at positions corresponding to the areas needing to be modified based on the parameter modification instruction, and input new parameters. The parameters may consist of numbers, letters and/or words etc., each zone setting parameter may be different, or there may be some portion of the same etc. When the region is displayed, the parameters corresponding to the region can be displayed in the region or can be hidden in the region.
For example, as shown in fig. 2, each region may be correspondingly provided with a digital parameter of one digit. As another example, as shown in fig. 3, each region may be provided with parameters that are a combination of an alphanumeric character. As another example, as shown in fig. 4, each region may be correspondingly provided with a multi-digit number of digital parameters.
In some embodiments, displaying the plurality of regions within the touch display screen according to the preset display policy may include: habit data of a user when setting parameters are obtained; acquiring a display template corresponding to a user; determining display strategies of a plurality of areas according to habit data and a display template; a plurality of regions are displayed within the touch display screen based on the display policy.
The habit data and the display template can be flexibly set according to actual needs, and as different users possibly have differences in habit, demand and the like when setting parameters, the convenience of equipment control is improved without setting the parameters for convenience, and a plurality of areas can be displayed in a touch display screen of the intelligent refrigerator according to the current users using the intelligent refrigerator, the differences and individuation.
Specifically, first the intelligent refrigerator may determine the user currently setting the device parameters through the intelligent refrigerator, and in some embodiments, determining the user currently using the intelligent refrigerator may include: receiving fingerprint information input by a user, and determining the current user based on the fingerprint information; or acquiring a face image in a preset range, carrying out face recognition on the face image, and determining the current user based on the recognition result.
For example, in the use process of the intelligent refrigerator, when the intelligent refrigerator needs to be unlocked, the intelligent refrigerator can receive the biological characteristics such as fingerprint information, voiceprint information, face information or iris information input by a user when the intelligent refrigerator is unlocked, and the user currently using the intelligent refrigerator can be determined based on the biological characteristics such as fingerprint information, voiceprint information, face information or iris information. Or, the intelligent refrigerator may collect a face image in a preset range in front of the intelligent refrigerator (for example, a visual range of the camera) through the camera, and then face recognition is performed on the face image through a face recognition model to obtain a recognition result, where the recognition result may include feature information or identification information of a user, for example, face information or iris information of the user, and a user hair style, face shape, or whether to wear glasses, and the user currently using the intelligent refrigerator may be determined based on the recognition result.
Then, the intelligent refrigerator may acquire habit data of the user using the intelligent refrigerator (i.e., habit data of the user setting parameters), which may include an average speed, which may be an average speed generated by sliding when the user inputs a touch operation during use of the intelligent refrigerator, or an operation gesture, which may include a one-hand operation, a two-hand operation, or the like. By setting the average speed of sliding or the operation gesture and the like as habit data when a user uses the intelligent refrigerator, accuracy and convenience in acquiring habit data can be improved. In some embodiments, acquiring habit data when the user sets parameters may include: and when the user sets parameters, the average speed corresponding to the touch operation is input in a history mode, so that habit data is obtained.
For example, the intelligent refrigerator may obtain an average speed corresponding to a history input touch operation of the user during a preset period of time, where the history may be an operation performed on the intelligent refrigerator before the previous time, the history may include a plurality of times, the intelligent refrigerator may obtain an average speed corresponding to a touch operation input by the user through history, for example, a start time, an end time, and a track length of each input touch operation may be recorded, then a speed of the touch (for example, (end time-start time)/(length=speed) is calculated according to the start time, the end time, and the track length, and then, after obtaining the speeds corresponding to the plurality of touch operations, an average speed may be obtained by averaging the speeds corresponding to the history input touch operation.
And the intelligent refrigerator can pre-establish a mapping relation between the user identification of the user and the display template, and can acquire the display template corresponding to the user identification of the current user according to the mapping relation between the user identification and the display template at the moment, wherein the display template can be flexibly set according to actual needs, and for example, the display template can comprise dynamic display, static display, icon display, text display or list display and the like. Then, a display policy for the plurality of regions may be determined based on the habit data and the display template, and the plurality of regions may be displayed within the touch display screen based on the display policy.
In some embodiments, determining a display policy for the plurality of regions based on the habit data and the display template, displaying the plurality of regions within the touch display screen based on the display policy may include: determining display positions of a plurality of areas according to habit data; displaying a plurality of areas in the touch display screen according to the display positions; and loading the display template into the touch display screen, and fusing and displaying the display template with a plurality of areas.
In order to accurately display a plurality of areas based on habit data and a display template, the intelligent refrigerator can determine display positions of the plurality of areas according to the habit data, and the plurality of areas are displayed in a touch display screen of the intelligent refrigerator based on the display positions. For example, after the average speed (i.e. habit data) is obtained, the intelligent refrigerator can judge whether the average speed is greater than a preset threshold value, the preset threshold value can be flexibly set according to actual needs, when the average speed is greater than the preset threshold value, the display interval of the plurality of areas is determined to be a first display interval, and the display positions of the plurality of areas are determined in the touch display screen of the intelligent refrigerator according to the first display interval; and when the average speed is smaller than or equal to a preset threshold value, determining the display interval of the plurality of areas as a second display interval, and displaying the display positions of the plurality of areas in the touch display screen of the intelligent refrigerator according to the second display interval, wherein the first display interval is larger than the second display interval. Or, the intelligent refrigerator can set a plurality of speed intervals, each speed interval corresponds to different display intervals, namely, a mapping relation between the speed interval and the display interval is established, wherein the larger the speed is, the larger the interval between the areas is, and conversely, the smaller the speed is, the smaller the interval between the areas is. After the average speed is obtained, the intelligent refrigerator can determine a speed interval in which the average speed is located, and then display positions of a plurality of areas in a touch display screen of the intelligent refrigerator are displayed according to the display interval corresponding to the speed interval.
At this time, the intelligent refrigerator can display a plurality of areas in the touch display screen according to the display positions, load the display template into the touch display screen and perform fusion display with the displayed plurality of areas.
S102, receiving touch operation input by a user in the touch display screen.
After the plurality of areas are displayed, the intelligent refrigerator can receive touch operation performed by a user in the touch display screen so as to set operation parameters of the device according to the touch operation passing through the areas.
S103, determining the number of areas of the touch operation passing area.
The intelligent refrigerator may determine the number of areas through which the touch operation passes.
In some embodiments, determining the number of areas through which the touch operation passes may include: determining the stay time of the area passed by the touch operation, screening out the area with the stay time greater than the preset time threshold value, and obtaining a target area; or determining the contact area of the area through which the touch operation passes, and screening out the area with the contact area larger than a preset area threshold value to obtain a target area; the number of the target areas is obtained.
In order to improve accuracy of area determination and avoid misoperation, the intelligent refrigerator may determine an effective area through which a touch operation passes and set the effective area as the touch operation passing area.
For example, the intelligent refrigerator may determine a stay time of each region through which the touch operation passes, which may be a time interval between a start time when the touch operation starts to enter the region and an end time when the touch operation exits the region, or which may be a time when a pressure value of a position where the touch operation presses the region is greater than a preset pressure threshold; etc. At this time, the intelligent refrigerator can screen out the region with the stay time longer than the preset time threshold value, obtain the target region through which the touch operation passes, and obtain the number of the regions of the target region, and the preset time threshold value can be flexibly set according to actual needs.
For another example, the intelligent refrigerator can determine the contact area of each area through which the touch operation passes, screen out the area with the contact area larger than the preset area threshold value, obtain the target area through which the touch operation passes, and obtain the number of the areas of the target area, and the preset area threshold value can be flexibly set according to actual needs.
For another example, the intelligent refrigerator may determine a contact area and a residence time of each area through which the touch operation passes, screen out an area with a contact area greater than a preset area threshold and a residence time greater than a preset time threshold, obtain a target area through which the touch operation passes, and obtain the number of areas of the target area.
S104, determining the equipment to be controlled according to the number of the areas.
The equipment can comprise an air conditioner, a fan, a washing machine, a refrigerator, a television, a humidifier, a sweeper, a water heater and the like. For example, as shown in fig. 5, the intelligent refrigerator may establish communication connection with a plurality of devices such as an air conditioner, a fan, a washing machine, a television, a humidifier, a sweeper, and a water heater.
In some embodiments, determining the device to be controlled according to the number of areas may include: obtaining the mapping relation between the number of each area and each device; and determining the equipment corresponding to the number of the areas according to the mapping relation to obtain the equipment to be controlled.
The intelligent refrigerator can preset mapping relations between different area numbers and different devices, for example, when the area numbers are 2, the corresponding devices to be controlled are fans; when the number of the areas is 3, the corresponding equipment to be controlled is an air conditioner; when the number of the areas is 4, the corresponding equipment to be controlled is a television; when the number of the areas is 5, the corresponding equipment to be controlled is intelligent and the like; when the number of the areas is 6, the corresponding equipment to be controlled is a microwave oven; etc. In the process of determining the equipment to be controlled, the intelligent refrigerator can acquire the mapping relation between the number of areas and the equipment, and determine the equipment corresponding to the number of areas of the area where the current touch operation passes according to the mapping relation, so as to obtain the equipment to be controlled.
In order to improve the accuracy of the intelligent refrigerator in controlling the equipment and in order to determine the equipment in a controllable range so as to ensure that the equipment to be controlled is effectively controlled, the intelligent refrigerator can search equipment identifiers of the equipment to generate an equipment identifier list, wherein the identifiers of the equipment comprise equipment names or numbers and the like, and the identifiers of the equipment can be composed of numbers, letters, symbols, characters and the like.
Then, the device located in the preset distance range of the intelligent refrigerator can be screened out from the device identification list, for example, the intelligent refrigerator can acquire first position information of the intelligent refrigerator and second position information of the device, the distance between the intelligent refrigerator and the device is calculated according to the first position information and the second position information, the device located in the preset distance range of the intelligent refrigerator is screened out according to the distance, candidate devices are obtained, and then the device to be controlled is determined from the candidate devices according to the number of areas. The screened equipment can comprise one or more pieces of equipment, and the preset distance range can be flexibly set according to actual needs.
For example, as shown in fig. 6, the intelligent refrigerator 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 be used to select and delete an unnecessary device identifier in the device identifier list, and may also set a filtering or display condition according to an actual requirement, so that a device located in a preset distance range of the intelligent refrigerator may be screened from the device identifier list according to the selection instruction, to obtain a candidate device, and then determine a device to be controlled from the candidate device according to the number of areas, thereby improving convenience of device selection.
S105, acquiring parameters corresponding to the touch operation passing through the first area and the last area.
For example, the intelligent refrigerator may determine, according to information such as a coordinate point of the trigger operation, a first area and a last area through which the trigger operation passes, where the first area may be an area where a start point coordinate of the trigger operation is located, and the last area may be an area where an end point coordinate of the trigger operation is located. Because each area is preset with corresponding parameters, after the first area and the last area through which the touch operation passes are determined, the intelligent refrigerator can acquire the corresponding relation between the areas and the parameters, and can acquire the parameters corresponding to the first area and the last area through which the touch operation passes according to the corresponding relation between the areas and the parameters.
S106, generating operation parameters of the equipment according to the parameters.
The intelligent refrigerator can generate the operation parameters of the equipment according to the parameters corresponding to the touch operation passing through the first area and the last area, the operation parameters can be flexibly set according to actual needs, specific contents are not limited herein, and for example, the operation parameters can comprise timing duration, a wind swinging angle, wind speed, temperature and the like.
In some embodiments, when the parameters include a plurality, generating the operating parameters of the device according to the parameters may include: setting a plurality of parameters as operating parameters of the device; or combining the multiple parameters to obtain a combined parameter; the combination parameter is set as an operating parameter of the device.
In order to improve the flexibility of parameter setting, when the parameters through which the triggering operation passes include a plurality of parameters, the intelligent refrigerator may set the plurality of parameters as operation parameters of the device to be controlled, for example, as shown in fig. 7, the intelligent refrigerator may determine that the device to be controlled is an air conditioner according to the number of areas being 3, and the parameters corresponding to the touch operation passing through the first area and the last area are timed to be 1 hour and the temperature being 23 ℃, at this time, the operation parameters of the air conditioner may be set to be timed to be 1 hour and the temperature being 23 ℃, so that the air conditioner may be adjusted to be 23 ℃ after being turned on, and be automatically turned off after being operated for 1 hour.
For another example, the intelligent refrigerator may partially or completely combine the multiple parameters passed by the triggering operation to obtain one or more combined parameters, set the combined parameters as the operation parameters of the device to be controlled, for example, as shown in fig. 8, the intelligent refrigerator may determine that the device to be controlled is an air conditioner according to the number of areas being 3, and the parameters corresponding to the touch operation passed by the first area and the last area being 2 and 6, at this time, the parameters may be combined to obtain 26 and 62, etc., and then set the operation parameters of the air conditioner to be timed for 62 minutes, and adjust the temperature to be 26 ℃.
In some embodiments, after generating the operation parameters of the device according to the parameters, the device parameter setting method may further include: transmitting a control instruction carrying an operation parameter to equipment; the control device operates in accordance with the operating parameters based on the control instructions.
After the operation parameters of the equipment are determined, the intelligent refrigerator can send control instructions carrying the operation parameters to the corresponding equipment, and the control equipment operates based on the operation parameters, so that after the intelligent refrigerator is in communication connection with the equipment, the intelligent refrigerator can conveniently control the equipment.
In order to improve the reliability and stability of the operation parameter setting and avoid repeatedly adjusting the operation parameter of the device, the intelligent refrigerator may correct the operation parameter of the device, for example, the intelligent refrigerator may obtain a current environment index, where the environment index may include an indoor environment index, an outdoor environment index, and the like, and the environment index may include temperature or humidity, and the like. Then, the operation parameters of the equipment can be corrected according to the environmental indexes to obtain corrected operation parameters, and the intelligent refrigerator can control the equipment to operate based on the corrected operation parameters.
According to the method and the device, a plurality of areas can be displayed in the touch display screen according to a preset display strategy, touch operation input by a user in the touch display screen is received, the number of areas where the touch operation passes through the areas is determined, and equipment to be controlled is determined according to the number of the areas; and then acquiring parameters corresponding to the touch operation passing through the first area and the last area, and generating operation parameters of the equipment according to the parameters. According to the scheme, the equipment to be controlled can be determined based on the number of the areas where the touch operation passes through the areas, and the operation parameters of the equipment are generated based on the parameters corresponding to the first area and the last area where the touch operation passes through, so that the fact that the equipment to be controlled is different based on the fact that the number of the areas where the touch operation passes through is determined, the equipment parameters can be set rapidly, and convenience and flexibility of equipment parameter setting are improved.
Referring to fig. 9, fig. 9 is a schematic block diagram of a structure of an intelligent refrigerator according to an embodiment of the present application.
As shown in fig. 9, the smart refrigerator 300 may include a processor 302, a memory 303, and a communication interface 304 connected through 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 comprises program instructions which, when executed, cause a processor to perform any of a number of device parameter setting methods.
The processor 302 is used to provide computing and control capabilities to support the operation of the entire intelligent refrigerator.
The memory 303 provides an environment for the execution of a computer program in a non-volatile computer-readable storage medium, which when executed by the processor 302, causes the processor 302 to perform any of the device parameter setting methods.
The communication interface 304 is used for communication. It will be appreciated by those skilled in the art that the structure shown in fig. 9 is merely a block diagram of a portion of the structure associated with the present application and does not constitute a limitation of the intelligent refrigerator 300 to which the present application is applied, and that a particular intelligent refrigerator 300 may include more or less components than those shown, or may combine certain components, or may have a different arrangement of components.
It should be appreciated that the bus 301 may be, for example, an I2C (Inter-integrated Circuit) bus, the Memory 303 may be a Flash chip, a Read-Only Memory (ROM) disk, an optical disk, a U-disk or a removable hard disk, etc., the processor 302 may be a central processing unit (Central Processing Unit, CPU), the processor 302 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-Programmable gate arrays (FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In some embodiments, the processor 302 is configured to execute a computer program stored in the memory 303 to perform the following steps:
displaying a plurality of areas in the touch display screen according to a preset display strategy, receiving touch operation input by a user in the touch display screen, determining the number of areas where the touch operation passes through the areas, determining equipment to be controlled according to the number of the areas, acquiring parameters corresponding to the first area and the last area where the touch operation passes through, and generating operation parameters of the equipment according to the parameters.
In some implementations, after generating the operating parameters of the device from the parameters, the processor 302 also performs: transmitting a control instruction carrying an operation parameter to equipment; the control device operates in accordance with the operating parameters based on the control instructions.
In some embodiments, in determining the device to be controlled based on the number of zones, the processor 302 also performs: obtaining the mapping relation between the number of each area and each device; and determining the equipment corresponding to the number of the areas according to the mapping relation to obtain the equipment to be controlled.
In some implementations, the processor 302 further performs, when displaying the plurality of regions within the touch display screen according to a preset display policy: habit data of a user when setting parameters are obtained; acquiring a display template corresponding to a user; determining display strategies of a plurality of areas according to habit data and a display template; a plurality of regions are displayed within the touch display screen based on the display policy.
In some implementations, in determining a display policy for the plurality of regions based on the habit data and the display template, the processor 302 further performs: determining display positions of a plurality of areas according to habit data; displaying a plurality of areas in the touch display screen according to the display positions; and loading the display template into the touch display screen, and fusing and displaying the display template with a plurality of areas.
In some implementations, in acquiring habit data when the user sets parameters, the processor 302 also performs: receiving fingerprint information input by a user, and determining the current user based on the fingerprint information; or collecting a face image in a preset range, carrying out face recognition on the face image, and determining a current user based on a recognition result; and acquiring average speed corresponding to the historical input touch operation when the user sets the parameters, and obtaining habit data.
In some implementations, in determining the number of regions of the touch operation passing region, the processor 302 further performs: determining the stay time of the area passed by the touch operation, screening out the area with the stay time greater than the preset time threshold value, and obtaining a target area; or determining the contact area of the area through which the touch operation passes, and screening out the area with the contact area larger than a preset area threshold value to obtain a target area; the number of the target areas is obtained.
In some implementations, in generating the operating parameters of the device from the parameters, the processor 302 also performs: setting a plurality of parameters as operating parameters of the device; or combining the multiple parameters to obtain a combined parameter; the combination parameter is set as an operating parameter of the device.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and in portions of an embodiment that are not described in detail, reference may be made to the foregoing detailed description of the device parameter setting method, which is not repeated herein.
The intelligent refrigerator can display a plurality of areas in the touch display screen according to a preset display strategy, receive touch operations input by a user in the touch display screen, determine the number of areas where the touch operations pass through the areas, and determine equipment to be controlled according to the number of the areas; and then acquiring parameters corresponding to the touch operation passing through the first area and the last area, and generating operation parameters of the equipment according to the parameters. According to the scheme, the equipment to be controlled can be determined based on the number of the areas where the touch operation passes through the areas, and the operation parameters of the equipment are generated based on the parameters corresponding to the first area and the last area where the touch operation passes through, so that the fact that the equipment to be controlled is different based on the fact that the number of the areas where the touch operation passes through is determined, the equipment parameters can be set rapidly, and convenience and flexibility of equipment parameter setting are improved.
The embodiment of the application also provides a computer readable storage medium, and the computer readable storage medium stores a computer program, wherein the computer program comprises program instructions, and a processor executes the program instructions to realize any one of the device parameter setting methods provided by the embodiment of the application. For example, the computer program is loaded by a processor, the following steps may be performed:
displaying a plurality of areas in the touch display screen according to a preset display strategy, receiving touch operation input by a user in the touch display screen, determining the number of areas where the touch operation passes through the areas, determining equipment to be controlled according to the number of the areas, acquiring parameters corresponding to the first area and the last area where the touch operation passes through, and generating operation parameters of the equipment according to the parameters.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
The computer readable storage medium may be an internal storage unit of the intelligent refrigerator of the foregoing embodiment, for example, a hard disk or a memory of the intelligent refrigerator. The computer readable storage medium may also be an external storage device of the Smart refrigerator, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the Smart refrigerator.
Because the computer program stored in the computer readable storage medium may execute any one of the device parameter setting methods provided in the embodiments of the present application, the beneficial effects that any one of the device parameter setting methods provided in the embodiments of the present application can be achieved may be achieved, which is detailed in the previous embodiments and will not be described herein.
It is to be understood that the terminology used in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification 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 any and all possible combinations of one or more of the associated listed items, and includes such combinations. 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 one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments. While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (8)
1. A device parameter setting method, comprising:
displaying a plurality of areas in the touch display screen according to a preset display strategy;
wherein, displaying a plurality of areas in the touch display screen according to a preset display strategy includes:
habit data of a user when setting parameters are obtained;
acquiring a display template corresponding to the user;
determining display strategies of a plurality of areas according to the habit data and the display templates;
displaying a plurality of areas in the touch display screen based on the display strategy;
receiving touch operation input by a user in the touch display screen;
determining the number of the areas of the touch operation passing area; the touch operation passing area is an effective area;
determining equipment to be controlled according to the number of the areas;
acquiring parameters corresponding to the touch operation passing through the first area and the last area;
generating operating parameters of the equipment according to the parameters;
the acquiring habit data when the user sets parameters comprises the following steps:
receiving fingerprint information input by a user, and determining the current user based on the fingerprint information; or collecting a face image in a preset range, carrying out face recognition on the face image, and determining a current user based on a recognition result;
and acquiring average speed corresponding to the historical input touch operation when the user sets the parameters, and obtaining habit data.
2. The apparatus parameter setting method according to claim 1, wherein after the generating of the operation parameter of the apparatus according to the parameter, the method further comprises:
sending a control instruction carrying the operation parameters to the equipment;
and controlling the equipment to operate according to the operation parameters based on the control instruction.
3. The apparatus parameter setting method according to claim 1, wherein the determining the apparatus to be controlled according to the number of areas includes:
obtaining the mapping relation between the number of each area and each device;
and determining the equipment corresponding to the number of the areas according to the mapping relation to obtain equipment to be controlled.
4. The apparatus parameter setting method according to claim 1, wherein the determining a display policy of a plurality of areas according to the habit data and a display template, displaying the plurality of areas in the touch display screen based on the display policy includes:
determining display positions of a plurality of areas according to the habit data;
displaying a plurality of areas in the touch display screen according to the display positions;
and loading the display template into the touch display screen, and fusing and displaying the display template and the plurality of areas.
5. The apparatus parameter setting method according to any one of claims 1 to 4, wherein the determining the number of areas through which the touch operation passes includes:
determining the residence time of the area passed by the touch operation, screening out the area with the residence time greater than a preset time threshold value, and obtaining a target area; or determining the contact area of the area through which the touch operation passes, and screening out the area with the contact area larger than a preset area threshold value to obtain a target area;
and acquiring the number of the areas of the target area.
6. The apparatus parameter setting method according to any one of claims 1 to 4, wherein when the parameters include a plurality of, the generating the operation parameters of the apparatus according to the parameters includes:
setting the plurality of parameters as operating parameters of the device; or,
combining the parameters to obtain a combined parameter;
the combination parameter is set as an operating parameter of the device.
7. A smart refrigerator comprising a processor and a memory, wherein the memory stores a computer program, and wherein the processor executes the device parameter setting method according to any one of claims 1 to 4 when calling the computer program in the memory.
8. A computer-readable storage medium storing a computer program loaded by a processor to perform the device parameter setting method of any one of claims 1 to 4.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010002192.5A CN113064538B (en) | 2020-01-02 | 2020-01-02 | Equipment parameter setting method, intelligent refrigerator and computer readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010002192.5A CN113064538B (en) | 2020-01-02 | 2020-01-02 | Equipment parameter setting method, intelligent refrigerator and computer readable storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113064538A CN113064538A (en) | 2021-07-02 |
| CN113064538B true CN113064538B (en) | 2024-03-05 |
Family
ID=76558160
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010002192.5A Active CN113064538B (en) | 2020-01-02 | 2020-01-02 | Equipment parameter setting method, intelligent refrigerator and computer readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113064538B (en) |
Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20100006643A (en) * | 2008-07-10 | 2010-01-21 | 주식회사 케이티테크 | Method for recognizing touch input and apparatus for performing the same |
| CN102037437A (en) * | 2009-03-23 | 2011-04-27 | 松下电器产业株式会社 | Information processing device, information processing method, recording medium, and integrated circuit |
| CN103543901A (en) * | 2013-11-14 | 2014-01-29 | 华为技术有限公司 | Method and device for generating menus |
| CN103577088A (en) * | 2012-08-06 | 2014-02-12 | 联想(北京)有限公司 | Information processing method and electronic equipment |
| CN105282426A (en) * | 2014-06-30 | 2016-01-27 | 卡西欧计算机株式会社 | Photographing apparatus and photographing control method |
| CN107862653A (en) * | 2017-11-30 | 2018-03-30 | 广东欧珀移动通信有限公司 | Method for displaying image, device, storage medium and electronic equipment |
| CN108958627A (en) * | 2018-07-04 | 2018-12-07 | Oppo广东移动通信有限公司 | Touch operation method and device, storage medium and electronic equipment |
| CN109885243A (en) * | 2019-02-01 | 2019-06-14 | 网易(杭州)网络有限公司 | Information processing method and device, storage medium, electronic equipment in electronic system |
| CN109901733A (en) * | 2019-01-03 | 2019-06-18 | 合肥龙图腾信息技术有限公司 | A kind of touch control method, touch control device and computer readable storage medium |
| CN109947347A (en) * | 2019-03-19 | 2019-06-28 | 深圳市火王燃器具有限公司 | The expanding method and device of virtual key based on intelligent kitchen appliance touch screen |
| WO2019201049A1 (en) * | 2018-04-17 | 2019-10-24 | 腾讯科技(深圳)有限公司 | Method for displaying object in virtual scene, device, and storage medium |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10146415B2 (en) * | 2011-03-02 | 2018-12-04 | Lenovo (Beijing) Limited | Method and terminal device for controlling a terminal device in a locked and unlocked state |
| KR102210045B1 (en) * | 2013-12-12 | 2021-02-01 | 삼성전자 주식회사 | Apparatus and method for contrlling an input of electronic device having a touch device |
| US20160011720A1 (en) * | 2014-07-10 | 2016-01-14 | Thomas Christian Walther | Multi-Touch Interface for Blind Real-Time Interaction |
-
2020
- 2020-01-02 CN CN202010002192.5A patent/CN113064538B/en active Active
Patent Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20100006643A (en) * | 2008-07-10 | 2010-01-21 | 주식회사 케이티테크 | Method for recognizing touch input and apparatus for performing the same |
| CN102037437A (en) * | 2009-03-23 | 2011-04-27 | 松下电器产业株式会社 | Information processing device, information processing method, recording medium, and integrated circuit |
| CN103577088A (en) * | 2012-08-06 | 2014-02-12 | 联想(北京)有限公司 | Information processing method and electronic equipment |
| CN103543901A (en) * | 2013-11-14 | 2014-01-29 | 华为技术有限公司 | Method and device for generating menus |
| CN105282426A (en) * | 2014-06-30 | 2016-01-27 | 卡西欧计算机株式会社 | Photographing apparatus and photographing control method |
| CN107862653A (en) * | 2017-11-30 | 2018-03-30 | 广东欧珀移动通信有限公司 | Method for displaying image, device, storage medium and electronic equipment |
| WO2019201049A1 (en) * | 2018-04-17 | 2019-10-24 | 腾讯科技(深圳)有限公司 | Method for displaying object in virtual scene, device, and storage medium |
| CN108958627A (en) * | 2018-07-04 | 2018-12-07 | Oppo广东移动通信有限公司 | Touch operation method and device, storage medium and electronic equipment |
| CN109901733A (en) * | 2019-01-03 | 2019-06-18 | 合肥龙图腾信息技术有限公司 | A kind of touch control method, touch control device and computer readable storage medium |
| CN109885243A (en) * | 2019-02-01 | 2019-06-14 | 网易(杭州)网络有限公司 | Information processing method and device, storage medium, electronic equipment in electronic system |
| CN109947347A (en) * | 2019-03-19 | 2019-06-28 | 深圳市火王燃器具有限公司 | The expanding method and device of virtual key based on intelligent kitchen appliance touch screen |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113064538A (en) | 2021-07-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107422859B (en) | Gesture-based regulation and control method and device, computer-readable storage medium and air conditioner | |
| CN112306364B (en) | IoT (Internet of things) equipment control method and device, terminal and storage medium | |
| CN107421075B (en) | Air-conditioning control method and system, and air-conditioning controller | |
| WO2022022121A1 (en) | Interactive method for establishing device linkage scene, and storage medium and electronic device | |
| CN109269041B (en) | Air conditioner, air conditioner control method, and computer-readable storage medium | |
| CN113065113A (en) | Device control method, mobile terminal, and computer-readable storage medium | |
| WO2016184253A1 (en) | Smart device linkage setting method and terminal | |
| CN113375297A (en) | Method and device for controlling air conditioner and air conditioner | |
| CN108734939B (en) | Electronic equipment control method and device, electronic equipment and readable storage medium | |
| CN112254283A (en) | Control method and device of intelligent air conditioner, storage medium and system | |
| CN109268936B (en) | Control method and device of air conditioner, air conditioner and storage medium | |
| CN105278336A (en) | Application display method and apparatus, and terminal | |
| CN110620948A (en) | Display method, display terminal and readable storage medium | |
| CN112305928A (en) | Household appliance control method, household appliance control device and storage medium | |
| CN114141242A (en) | Control method, system, device, storage medium and electronic device of household appliance | |
| CN111256325A (en) | Temperature control method, air conditioning apparatus, control apparatus, and storage medium | |
| CN109297150A (en) | Air conditioner control method, device and system, air conditioner, terminal and readable storage medium | |
| CN112925213B (en) | Household appliance control method, mobile terminal and computer readable storage medium | |
| CN109945458B (en) | Control method, control device, air conditioner system and storage medium | |
| CN109974233B (en) | Control method, control device, air conditioner system and storage medium | |
| CN113064538B (en) | Equipment parameter setting method, intelligent refrigerator and computer readable storage medium | |
| CN113126870A (en) | Parameter setting method, intelligent refrigerator and computer readable storage medium | |
| CN109960454A (en) | Customer parameter input method, device and the electrical equipment using this method of electrical equipment | |
| CN114995166A (en) | Method, device and electronic device for room scene switching | |
| CN108269166A (en) | Upgrade method, device, server and the storage medium of customed product |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |