CN117031990A - Household appliance control method, device, equipment and storage medium based on knob screen - Google Patents
Household appliance control method, device, equipment and storage medium based on knob screen Download PDFInfo
- Publication number
- CN117031990A CN117031990A CN202310965135.0A CN202310965135A CN117031990A CN 117031990 A CN117031990 A CN 117031990A CN 202310965135 A CN202310965135 A CN 202310965135A CN 117031990 A CN117031990 A CN 117031990A
- Authority
- CN
- China
- Prior art keywords
- knob
- rotation
- time
- trigger
- home appliance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请属于家电控制领域,涉及一种基于旋钮屏的家电控制方法,包括获取待控制家电及待控制家电上的旋钮屏、旋钮屏的多个界面功能及旋钮编码器;获取用户在选择每个界面功能所需的历史数据,根据历史数据计算用户选择每个界面功能的历史旋转时间;根据历史旋转时间设定用户下一次触发每个界面功能的触发时间;识别旋钮编码器的触发状态;根据触发状态及触发时间触发待控制家电,以实现对待控制家电的控制。本申请还提供一种基于旋钮屏的家电控制装置、计算机设备及存储介质。本申请可以提高家电控制的效率及用户体验效果。
This application belongs to the field of home appliance control, and relates to a home appliance control method based on a knob screen, which includes obtaining the home appliance to be controlled and the knob screen on the home appliance to be controlled, multiple interface functions of the knob screen, and the knob encoder; obtaining the user's selection of each home appliance. Historical data required for interface functions, calculate the historical rotation time for the user to select each interface function based on historical data; set the trigger time for the user to trigger each interface function next time based on the historical rotation time; identify the trigger status of the knob encoder; based on the historical rotation time The trigger state and trigger time trigger the home appliance to be controlled to achieve control of the home appliance to be controlled. This application also provides a home appliance control device, computer equipment and storage medium based on a knob screen. This application can improve the efficiency of home appliance control and user experience.
Description
技术领域Technical field
本申请涉及家电控制领域,尤其涉及一种基于旋钮屏的家电控制方法、装置、设备及存储介质。The present application relates to the field of home appliance control, and in particular, to a home appliance control method, device, equipment and storage medium based on a knob screen.
背景技术Background technique
随着互联网技术的发展,日用家电也日渐趋于智能化,传统的家电控制方法是通过用户触发家电上搭载的旋钮实现控制。With the development of Internet technology, daily home appliances are becoming increasingly intelligent. The traditional method of controlling home appliances is to achieve control by users triggering the knobs mounted on the home appliances.
但是,这种方法一方面随着使用时间的增加,旋钮内部可能出现接触不良的情况,使得家电无法准确识别用户操作旋钮的真正意图,从而误判用户的操作指令,导致用户使用家电的体验感较差;另一方面,这种方法在旋转旋钮时,需要实时读取编码器端口的电平,需要耗费较多的时间,导致家电控制的效率较差。However, with this method, on the one hand, as the use time increases, poor contact may occur inside the knob, making the home appliance unable to accurately identify the user's true intention of operating the knob, thereby misjudging the user's operating instructions, resulting in a poor user experience when using the home appliance. Poor; on the other hand, this method needs to read the level of the encoder port in real time when rotating the knob, which takes a lot of time, resulting in poor efficiency in controlling home appliances.
发明内容Contents of the invention
本申请提供一种基于旋钮屏的家电控制方法、装置、设备及存储介质,其主要目的是提高家电控制的效率及用户体验效果。This application provides a home appliance control method, device, equipment and storage medium based on a knob screen. Its main purpose is to improve the efficiency of home appliance control and user experience.
为了解决上述技术问题,本申请实施例提供一种基于旋钮屏的家电控制方法,采用了如下所述的技术方案:In order to solve the above technical problems, embodiments of the present application provide a home appliance control method based on a knob screen, which adopts the following technical solution:
获取待控制家电及所述待控制家电上的旋钮屏、所述旋钮屏的多个界面功能及旋钮编码器;Obtain the home appliance to be controlled and the knob screen on the home appliance to be controlled, multiple interface functions of the knob screen and the knob encoder;
获取用户在选择每个所述界面功能所需的历史数据,根据所述历史数据计算用户选择每个所述界面功能的历史旋转时间;Obtain the historical data required by the user when selecting each of the interface functions, and calculate the historical rotation time of the user selecting each of the interface functions based on the historical data;
根据所述历史旋转时间设定用户下一次触发每个所述界面功能的触发时间;Set the trigger time for the user to trigger each of the interface functions next according to the historical rotation time;
识别所述旋钮编码器的触发状态;Identify the triggering state of the knob encoder;
根据所述触发状态及所述触发时间触发待控制家电,以实现对所述待控制家电的控制。The home appliance to be controlled is triggered according to the trigger state and the trigger time to realize control of the home appliance to be controlled.
进一步的,所述根据所述历史数据计算用户选择每个所述界面功能的历史旋转时间,包括:Further, calculating the historical rotation time of each interface function selected by the user based on the historical data includes:
从所述历史数据中多次读取用户触发每个所述界面功能所需的界面旋转时间及旋转次数;Read multiple times from the historical data the interface rotation time and number of rotations required by the user to trigger each of the interface functions;
对所述界面旋转时间与所述旋转次数进行计算,得到多个旋转时间;Calculate the interface rotation time and the number of rotations to obtain multiple rotation times;
对所述多个旋转时间进行平均化,得到每个所述界面功能的历史旋转时间。The multiple rotation times are averaged to obtain the historical rotation time of each interface function.
进一步的,所述识别所述旋钮编码器的触发状态,包括:Further, identifying the triggering state of the knob encoder includes:
获取所述旋钮编码器的A端口及B端口,并读取所述A端口的A电平及所述B端口的B电平;Obtain the A port and B port of the knob encoder, and read the A level of the A port and the B level of the B port;
判断所述A电平及所述B电平是否发生变化;Determine whether the A level and the B level have changed;
当所述B电平先于所述A电平发生变化,则确定所述旋钮编码器为顺时针旋转的触发状态;When the B level changes before the A level, it is determined that the knob encoder is in the triggering state of clockwise rotation;
当所述A电平先于所述B电平发生变化,则确定所述旋钮编码器为逆时针旋转的触发状态。When the A level changes before the B level, it is determined that the knob encoder is in the triggering state of counterclockwise rotation.
进一步的,所述识别所述旋钮编码器的触发状态,还包括:Further, identifying the triggering state of the knob encoder also includes:
读取所述旋钮编码器的第一旋转角度及第二旋转角度;Read the first rotation angle and the second rotation angle of the knob encoder;
计算所述第一旋转角度与所述第二旋转角度的差值;Calculate the difference between the first rotation angle and the second rotation angle;
获取预设的第一旋转阈值与第二旋转阈值之间的旋转阈值范围,并判断所述差值是否在所述旋转阈值范围之内;Obtain the rotation threshold range between the preset first rotation threshold and the second rotation threshold, and determine whether the difference is within the rotation threshold range;
当所述差值在所述旋转阈值范围之内,且所述第二旋转角度大于所述第一旋转角度,则确定所述旋钮编码器为顺时针旋转的触发状态;When the difference is within the rotation threshold range and the second rotation angle is greater than the first rotation angle, it is determined that the knob encoder is in the triggering state of clockwise rotation;
当所述差值在所述旋转阈值范围之内,且所述第二旋转角度小于所述第一旋转角度,则确定所述旋钮编码器为逆时针旋转的触发状态;When the difference is within the rotation threshold range and the second rotation angle is less than the first rotation angle, it is determined that the knob encoder is in the triggering state of counterclockwise rotation;
当所述差值不在所述旋转阈值范围之内,则确定所述旋钮编码器的触发状态为无效。When the difference value is not within the rotation threshold range, it is determined that the triggering state of the knob encoder is invalid.
进一步的,所述通过所述触发状态及所述触发时间触发待控制家电,以实现对待控制家电的控制,包括:Further, triggering the home appliance to be controlled through the trigger state and the trigger time to achieve control of the home appliance to be controlled includes:
接收用户在所述待控制家电中的旋钮屏上触发的操作指令;Receive operation instructions triggered by the user on the knob screen in the home appliance to be controlled;
通过所述旋钮编码器响应所述操作指令,根据所述触发状态及所述触发时间确定用户触发所述待控制家电的目标界面功能,以实现对待控制家电的控制。The knob encoder responds to the operation instruction and determines the target interface function for the user to trigger the home appliance to be controlled according to the trigger state and the trigger time, so as to realize control of the home appliance to be controlled.
进一步的,所述根据所述历史旋转时间设定用户下一次触发每个所述界面功能的触发时间,包括:Further, setting the trigger time for the user to trigger each interface function next time based on the historical rotation time includes:
对每个所述界面功能中相邻界面功能对应的历史旋转时间进行计算,得到多个相邻旋转时间间隔;Calculate the historical rotation time corresponding to adjacent interface functions in each of the interface functions to obtain multiple adjacent rotation time intervals;
将所述多个相邻旋转时间间隔作为对应相邻界面功能的相邻触发时间,并整合所有相邻界面功能的相邻触发时间,得到每个所述界面功能的触发时间。The multiple adjacent rotation time intervals are used as adjacent triggering times corresponding to adjacent interface functions, and the adjacent triggering times of all adjacent interface functions are integrated to obtain the triggering time of each of the interface functions.
为了解决上述技术问题,本申请实施例还提供一种基于旋钮屏的家电控制装置,采用了如下所述的技术方案:In order to solve the above technical problems, embodiments of the present application also provide a home appliance control device based on a knob screen, which adopts the following technical solution:
获取模块,用于获取待控制家电及所述待控制家电上的旋钮屏、所述旋钮屏的多个界面功能及旋钮编码器;An acquisition module, used to acquire the home appliance to be controlled and the knob screen on the home appliance to be controlled, multiple interface functions of the knob screen and the knob encoder;
历史时间计算模块,用于获取用户在选择每个所述界面功能所需的历史数据,根据所述历史数据计算用户选择每个所述界面功能的历史旋转时间;A historical time calculation module, used to obtain the historical data required for the user to select each of the interface functions, and calculate the historical rotation time for the user to select each of the interface functions based on the historical data;
触发时间计算模块,用于根据所述历史旋转时间设定用户下一次触发每个所述界面功能的触发时间;A trigger time calculation module, configured to set the trigger time for the next time the user triggers each of the interface functions based on the historical rotation time;
识别模块,用于识别所述旋钮编码器的触发状态;及An identification module for identifying the triggering state of the knob encoder; and
控制模块,用于根据所述触发状态及所述触发时间触发待控制家电,以实现对待控制家电的控制。A control module is used to trigger the home appliance to be controlled according to the trigger state and the trigger time, so as to control the home appliance to be controlled.
为了解决上述技术问题,本申请实施例还提供一种计算机设备,采用了如下所述的技术方案:In order to solve the above technical problems, embodiments of the present application also provide a computer device, which adopts the following technical solution:
存储器,存储至少一个计算机程序;及memory storing at least one computer program; and
处理器,执行所述存储器中存储的计算机程序以实现上述所述的基于旋钮屏的家电控制。The processor executes the computer program stored in the memory to implement the above-mentioned knob screen-based home appliance control.
为了解决上述技术问题,本申请实施例还提供一种计算机可读存储介质,采用了如下所述的技术方案:In order to solve the above technical problems, embodiments of the present application also provide a computer-readable storage medium, which adopts the following technical solution:
所述计算机可读存储介质中存储有至少一个计算机程序,所述至少一个计算机程序被电子设备中的处理器执行以实现上述所述的基于旋钮屏的家电控制。At least one computer program is stored in the computer-readable storage medium, and the at least one computer program is executed by a processor in the electronic device to implement the above-mentioned knob screen-based home appliance control.
与现有技术相比,本申请主要有以下有益效果:Compared with the existing technology, this application mainly has the following beneficial effects:
本申请实施例中,首先获取待控制家电、旋钮屏、多个界面功能及旋钮编码器;其次,通过获取用户在选择每个界面功能所需的历史数据,根据历史数据计算用户在选择每个界面功能的历史旋转时间,能够了解每个用户利用旋钮屏选择不同界面功能的时间,便于后续提高用户使用家电的体验感,增加用户粘性;最后,通过设定每个界面功能的触发时间及识别的旋钮编码器触发状态,能够实现仅需读取一次电平就能识别的用户真正意图,无需实时读取电平,在保证家电控制准确率的同时提高家电控制的效率,并根据所述触发状态及所述触发时间触发待控制家电,以实现对待控制家电的控制,提高了家电控制的效率及用户体验效果。因此本申请提出的基于旋钮屏的家电控制方法、装置、设备及存储介质可以提高家电控制的效率及用户体验效果。In the embodiment of this application, firstly, the home appliances to be controlled, knob screens, multiple interface functions and knob encoders are obtained; secondly, by obtaining the historical data required by the user to select each interface function, the user's selection of each interface function is calculated based on the historical data. The historical rotation time of interface functions can be used to understand the time each user uses the knob screen to select different interface functions, so as to subsequently improve the user experience of using home appliances and increase user stickiness; finally, by setting the trigger time and identification of each interface function The trigger state of the knob encoder can realize the user's true intention that can be identified by reading the level only once, without the need to read the level in real time. It improves the efficiency of home appliance control while ensuring the accuracy of home appliance control, and triggers according to the The state and the triggering time trigger the home appliance to be controlled to realize the control of the home appliance to be controlled, thereby improving the efficiency of home appliance control and the user experience effect. Therefore, the home appliance control method, device, equipment and storage medium based on the knob screen proposed in this application can improve the efficiency of home appliance control and user experience.
附图说明Description of the drawings
为了更清楚地说明本申请中的方案,下面将对本申请实施例描述中所需要使用的附图作一个简单介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the solutions in this application, a brief introduction will be made below to the drawings needed to be used in describing the embodiments of this application. Obviously, the drawings in the following description are some embodiments of this application and are very useful for this field. Ordinary technicians can also obtain other drawings based on these drawings without exerting creative work.
图1是本申请可以应用于其中的示例性系统架构图;Figure 1 is an exemplary system architecture diagram to which the present application can be applied;
图2是根据本申请的基于旋钮屏的家电控制方法的一个实施方式的流程图;Figure 2 is a flow chart of an embodiment of a home appliance control method based on a knob screen according to the present application;
图3是本根据本申请的基于旋钮屏的家电控制系统中所述布控端的一个实施例的结构图;Figure 3 is a structural diagram of an embodiment of the control terminal in the home appliance control system based on the knob screen according to the present application;
图4是根据本申请的计算机设备的一个实施例的结构示意图。Figure 4 is a schematic structural diagram of an embodiment of a computer device according to the present application.
具体实施方式Detailed ways
本申请实施例提供的数据格式的确定方法应用于数据处理系统除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同;本文中在申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请;本申请的说明书和权利要求书及上述附图说明中的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含。本申请的说明书和权利要求书或上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。The method for determining the data format provided by the embodiments of this application is applied to the data processing system. Unless otherwise defined, all technical and scientific terms used in this article have the same meaning as commonly understood by those skilled in the technical field of this application; in this article, The terms used in the description of the application are only for the purpose of describing specific embodiments and are not intended to limit the application; the terms "including" and "having" in the description and claims of the application and the description of the drawings above and their Any variation of is intended to cover non-exclusive inclusion. The terms "first", "second", etc. in the description and claims of this application or the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific sequence.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those skilled in the art understand, both explicitly and implicitly, that the embodiments described herein may be combined with other embodiments.
为了使本技术领域的人员更好地理解本申请方案,下面将结合附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to enable those skilled in the art to better understand the solution of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.
如图1所示,系统架构100可以包括终端设备101、102、103,网络104和服务器105。网络104用以在终端设备101、102、103和服务器105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in Figure 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is a medium used to provide communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
用户可以使用终端设备101、102、103通过网络104与服务器105交互,以接收或发送消息等。终端设备101、102、103上可以安装有各种通讯客户端应用,例如网页浏览器应用、购物类应用、搜索类应用、即时通信工具、邮箱客户端、社交线上平台软件等。Users can use terminal devices 101, 102, 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 101, 102, and 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social online platform software, etc.
终端设备101、102、103可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、MP3播放器(Moving Picture ExpertsGroup Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving PictureExperts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、膝上型便携计算机和台式计算机等等。Terminal devices 101, 102, and 103 may be various electronic devices with display screens and supporting web browsing, including but not limited to smartphones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, moving image Experts Compression Standard Audio Layer 3), MP4 (Moving PictureExperts Group Audio Layer IV, Motion Picture Experts Group Audio Layer IV) players, laptops and desktop computers, etc.
服务器105可以是提供各种服务的服务器,例如对终端设备101、102、103上显示的页面提供支持的后台服务器。The server 105 may be a server that provides various services, such as a backend server that provides support for pages displayed on the terminal devices 101, 102, and 103.
需要说明的是,本申请实施例所提供的基于旋钮屏的家电控制方法一般由服务器/终端设备执行,相应地,基于旋钮屏的家电控制系统一般设置于服务器/终端设备中。It should be noted that the knob screen-based home appliance control method provided in the embodiments of the present application is generally executed by a server/terminal device. Correspondingly, the knob screen-based home appliance control system is generally provided in the server/terminal device.
应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the number of terminal devices, networks and servers in Figure 1 is only illustrative. Depending on implementation needs, there can be any number of end devices, networks, and servers.
继续参考图2,示出了根据本申请提出的基于旋钮屏的家电控制方法的一个实施例的流程图。其中,所述基于旋钮屏的家电控制方法,包括以下步骤:Continuing to refer to FIG. 2 , a flow chart of one embodiment of the home appliance control method based on the knob screen proposed according to the present application is shown. Wherein, the home appliance control method based on the knob screen includes the following steps:
S210、获取待控制家电及所述待控制家电上的旋钮屏、所述旋钮屏的多个界面功能及旋钮编码器。S210. Obtain the home appliance to be controlled, the knob screen on the home appliance to be controlled, multiple interface functions of the knob screen, and the knob encoder.
本申请实施例中,所述待控制家电包括煤气灶炉、电煮锅及洗衣机等智能家电,且所述待控制家电都为带旋钮屏的家电类型。所述旋钮屏的多个界面功能是指家电的多个界面功能,例如,待控制家电为智能电煮锅时,界面功能可以包括煮粥、煲汤、保温、煮饭、大火及时间选择功能等。所述旋钮编码器是一种位置传感器,可将旋转的机械位移量转换为电气信号,对该信号进行处理后检测位置速度等信号的传感器,其中,所述旋钮编码器包括A端口和B端口,编码器的工作原理为通过机械触碰后判断端口是否通电,以实现家电的控制。In the embodiment of the present application, the home appliances to be controlled include smart home appliances such as gas stoves, electric cooking pots, and washing machines, and the home appliances to be controlled are all types of home appliances with knob screens. The multiple interface functions of the knob screen refer to the multiple interface functions of the home appliance. For example, when the home appliance to be controlled is a smart electric cooker, the interface functions may include porridge, soup, heat preservation, rice cooking, high fire and time selection functions, etc. . The knob encoder is a position sensor that can convert the mechanical displacement of rotation into an electrical signal. After processing the signal, it can detect position, speed and other signals. The knob encoder includes an A port and a B port. , the working principle of the encoder is to determine whether the port is energized through mechanical contact to achieve control of home appliances.
S220、获取用户在选择每个所述界面功能所需的历史数据,根据所述历史数据计算用户选择每个所述界面功能的历史旋转时间。S220: Obtain the historical data required by the user for selecting each of the interface functions, and calculate the historical rotation time for the user to select each of the interface functions based on the historical data.
本申请实施例中,所述历史数据包括用户在历史时间段内选择每个界面功能所花费的时间及选择界面功能的旋钮旋转次数等;所述历史旋转时间是指用户在历史时间段内选择每个界面功能所花费的时间。In the embodiment of the present application, the historical data includes the time it takes for the user to select each interface function within the historical time period and the number of knob rotations for selecting the interface function, etc.; the historical rotation time refers to the time the user selects during the historical time period. Time spent on each interface function.
作为本申请的一个实施例,所述根据所述历史数据计算用户选择每个所述界面功能的历史旋转时间,包括:As an embodiment of the present application, calculating the historical rotation time for the user to select each of the interface functions based on the historical data includes:
从所述历史数据中多次读取用户触发每个所述界面功能所需的界面旋转时间及旋转次数;Read multiple times from the historical data the interface rotation time and number of rotations required by the user to trigger each of the interface functions;
对所述界面旋转时间与所述旋转次数进行计算,得到多个旋转时间;Calculate the interface rotation time and the number of rotations to obtain multiple rotation times;
对所述多个旋转时间进行平均化,得到每个所述界面功能的历史旋转时间。The multiple rotation times are averaged to obtain the historical rotation time of each interface function.
其中,所述界面旋转时间是指用户从旋钮屏的初始界面开始旋转旋钮至用户选定界面所需的旋转时间,所述旋转次数是指用户从旋钮屏的初始界面开始旋转旋钮至用户选定界面所需的旋转次数。Wherein, the interface rotation time refers to the rotation time required for the user to start rotating the knob from the initial interface of the knob screen to the user-selected interface, and the number of rotations refers to the user starting to rotate the knob from the initial interface of the knob screen to the user-selected interface. The number of rotations required for the interface.
本申请一实施例中,通过将界面旋转时间除以旋转次数,能够得到每个界面功能对应的旋转时间,并将在历史时间段内的记录的该界面功能的多个旋转时间进行平均值计算,以得到每个界面功能的历史旋转时间。In one embodiment of the present application, by dividing the interface rotation time by the number of rotations, the rotation time corresponding to each interface function can be obtained, and the multiple rotation times of the interface function recorded in the historical time period are averaged. , to get the historical rotation time of each interface function.
例如,有一电煮锅的旋钮屏界面C为温度调节界面,界面C包括了3个功能:60℃、80℃及100℃等,用户选定的目标界面为温度80℃的界面,则从初始界面至温度80℃界面旋转次数为M次,用时为N,则旋转至温度80℃界面的旋转时间为W=N/M,记录历史时间段内旋转至温度80℃界面的多个旋转时间为W1~Wn,n表示历史时间段内记录的将旋钮屏旋转至温度80℃界面的次数,对多个旋转时间进行求和,得到求和值W’,则W’/n为温度80℃界面的历史旋转时间。For example, the knob screen interface C of an electric cooking pot is the temperature adjustment interface. Interface C includes three functions: 60°C, 80°C and 100°C, etc. The target interface selected by the user is the interface with a temperature of 80°C. The number of rotations from the interface to the interface with a temperature of 80°C is M times, and the time taken is N. The rotation time to the interface with a temperature of 80°C is W = N/M. The multiple rotation times to the interface with a temperature of 80°C in the historical time period are recorded as W1~Wn, n represents the number of times the knob screen was rotated to the interface with a temperature of 80°C recorded in the historical time period. The multiple rotation times are summed to obtain the summation value W', then W'/n is the interface with a temperature of 80°C. historical rotation time.
S230、根据所述历史旋转时间设定用户下一次触发每个所述界面功能的触发时间。S230: Set the trigger time for the user to trigger each interface function next time according to the historical rotation time.
本申请实施例中,所述触发时间是指触发相邻界面功能所需的时间,例如,将旋钮屏从界面功能D旋转至相邻界面功能E所需的时间为触发时间。In the embodiment of the present application, the trigger time refers to the time required to trigger the adjacent interface function. For example, the time required to rotate the knob screen from interface function D to adjacent interface function E is the trigger time.
作为本申请的一个实施例,所述根据所述历史旋转时间设定用户下一次触发每个所述界面功能的触发时间,包括:As an embodiment of the present application, setting the trigger time for the next time the user triggers each of the interface functions based on the historical rotation time includes:
对每个所述界面功能中相邻界面功能对应的历史旋转时间进行计算,得到多个相邻旋转时间间隔;Calculate the historical rotation time corresponding to adjacent interface functions in each of the interface functions to obtain multiple adjacent rotation time intervals;
将所述多个相邻旋转时间间隔作为对应相邻界面功能的相邻触发时间,并整合所有相邻界面功能的相邻触发时间,得到每个所述界面功能的触发时间。The multiple adjacent rotation time intervals are used as adjacent triggering times corresponding to adjacent interface functions, and the adjacent triggering times of all adjacent interface functions are integrated to obtain the triggering time of each of the interface functions.
例如,有一界面功能D的历史旋转时间为10s,相邻界面功能E的历史旋转时间为15s,则界面功能D与界面功能E之间的相邻旋转时间间隔为5s,并将相邻旋转时间间隔5s作为从界面功能D旋转至界面功能E的触发时间。For example, if there is an interface function D with a historical rotation time of 10s, and an adjacent interface function E with a historical rotation time of 15s, then the adjacent rotation time interval between interface function D and interface function E is 5s, and the adjacent rotation time is The interval of 5s is used as the trigger time for rotating from interface function D to interface function E.
本申请实施例中,通过将所述多个相邻旋转时间间隔作为对应相邻界面功能的相邻触发时间,并整合所有相邻界面功能的相邻触发时间,得到每个所述界面功能的触发时间,能够实现根据用户对每一界面功能的历史旋转时间来确定下一次对应界面的触发时间,避免将两个相邻界面功能的旋转时间混合,便于后续在旋钮编码器变化时,只需要读取一次电平变化信息,根据触发时间自动读取下一次电平变化,提高了后续家电控制的效率。In the embodiment of the present application, by using the multiple adjacent rotation time intervals as adjacent triggering times corresponding to adjacent interface functions, and integrating the adjacent triggering times of all adjacent interface functions, the value of each interface function is obtained. The trigger time can determine the next trigger time of the corresponding interface based on the user's historical rotation time of each interface function, avoiding mixing the rotation times of two adjacent interface functions, so that when the knob encoder changes later, only Read the level change information once and automatically read the next level change according to the trigger time, which improves the efficiency of subsequent home appliance control.
S240、识别所述旋钮编码器的触发状态。S240. Identify the triggering state of the knob encoder.
本申请实施例中,所述触发状态是指旋钮编码器的端口识别到有电流通过的状态,例如,旋钮编码器的A端口或B端口有的通信信号发生变化,则表示旋钮编码器被触发。In the embodiment of the present application, the triggering state refers to a state in which the port of the rotary encoder recognizes that there is current flowing through it. For example, if the communication signal of the A port or B port of the rotary encoder changes, it means that the rotary encoder is triggered. .
作为本申请的一个实施例,所述识别所述旋钮编码器的触发状态,包括:As an embodiment of the present application, identifying the triggering state of the knob encoder includes:
获取所述旋钮编码器的A端口及B端口,并读取所述A端口的A电平及所述B端口的B电平;Obtain the A port and B port of the knob encoder, and read the A level of the A port and the B level of the B port;
判断所述A电平及所述B电平是否发生变化;Determine whether the A level and the B level have changed;
当所述B电平先于所述A电平发生变化,则确定所述旋钮编码器为顺时针旋转的触发状态;When the B level changes before the A level, it is determined that the knob encoder is in the triggering state of clockwise rotation;
当所述A电平先于所述B电平发生变化,则确定所述旋钮编码器为逆时针旋转的触发状态。When the A level changes before the B level, it is determined that the knob encoder is in the triggering state of counterclockwise rotation.
其中,当旋钮编码器的A端口及B端口没有电平差,都处于高电平或都处于低电平时,表示旋钮编码器处于静止状态。Among them, when there is no level difference between the A port and the B port of the rotary encoder, and both are at high level or both at low level, it means that the rotary encoder is in a static state.
本申请一实施例中,当A端口或者B端口检测到电流通过,即A电平或B电平由高电平变为低电平,或由低电平变为高电平,则表示旋钮编码器发生旋转。In an embodiment of the present application, when the A port or the B port detects the passage of current, that is, the A level or the B level changes from high level to low level, or from low level to high level, it means that the knob The encoder is rotating.
具体的,当A端口与B端口的初始电平都为高电平,先检测到B端口的B电平开始下降,确定旋钮编码器为顺时针旋转的触发状态,先检测到A端口的A电平开始下降时,则确定旋钮编码器为逆时针旋转的触发状态;当A端口与B端口的初始电平都为低电平,先检测到B端口的B电平开始上升,确定旋钮编码器为顺时针旋转的触发状态,先检测到A端口的A电平开始上升,确定旋钮编码器为逆时针旋转的触发状态。Specifically, when the initial levels of the A port and the B port are both high, it is first detected that the B level of the B port begins to decrease, and it is determined that the knob encoder is in the triggering state of clockwise rotation, and it is first detected that the A level of the A port When the level begins to decrease, it is determined that the knob encoder is in the triggering state of counterclockwise rotation; when the initial levels of port A and port B are both low level, it is first detected that the level B of port B begins to rise, and the knob encoder is determined The encoder is in the triggering state of clockwise rotation. First, it is detected that the A level of the A port begins to rise, and it is determined that the knob encoder is in the triggering state of counterclockwise rotation.
本申请实施例中,通过判断所述A电平及所述B电平是否发生变化,可以在用户旋转一次,但是旋钮编码器旋转多次的情况下,也仅记录一次编码器的电平,提高识别旋钮编码器的触发状态的准确性,并在旋转旋钮时,仅需记录一次旋钮编码器的电平变化,无需实时读取编码器端口的电平,便于提高后续家电控制的效率。In the embodiment of the present application, by determining whether the A level and the B level have changed, when the user rotates the knob encoder once but rotates it multiple times, the level of the encoder can only be recorded once. Improve the accuracy of identifying the triggering state of the knob encoder, and when the knob is rotated, the level change of the knob encoder only needs to be recorded once, without the need to read the level of the encoder port in real time, which facilitates improvement of the efficiency of subsequent home appliance control.
本申请一可选实施例中,所述识别所述旋钮编码器的触发状态,还包括:In an optional embodiment of the present application, identifying the triggering state of the knob encoder further includes:
读取所述旋钮编码器的第一旋转角度及第二旋转角度;Read the first rotation angle and the second rotation angle of the knob encoder;
计算所述第一旋转角度与所述第二旋转角度的差值;Calculate the difference between the first rotation angle and the second rotation angle;
获取预设的第一旋转阈值与第二旋转阈值之间的旋转阈值范围,并判断所述差值是否在所述旋转阈值范围之内;Obtain the rotation threshold range between the preset first rotation threshold and the second rotation threshold, and determine whether the difference is within the rotation threshold range;
当所述差值在所述旋转阈值范围之内,且所述第二旋转角度大于所述第一旋转角度,则确定所述旋钮编码器为顺时针旋转的触发状态;When the difference is within the rotation threshold range and the second rotation angle is greater than the first rotation angle, it is determined that the knob encoder is in the triggering state of clockwise rotation;
当所述差值在所述旋转阈值范围之内,且所述第二旋转角度小于所述第一旋转角度,则确定所述旋钮编码器为逆时针旋转的触发状态;When the difference is within the rotation threshold range and the second rotation angle is less than the first rotation angle, it is determined that the knob encoder is in the triggering state of counterclockwise rotation;
当所述差值不在所述旋转阈值范围之内,则确定所述旋钮编码器的触发状态为无效。When the difference value is not within the rotation threshold range, it is determined that the triggering state of the knob encoder is invalid.
其中,通过检测旋钮编码器的旋转角度,也能够识别旋钮编码器的触发状态,且触发状态包括触发有效及触发无效两种结果。Among them, by detecting the rotation angle of the knob encoder, the trigger state of the knob encoder can also be identified, and the trigger state includes two results: trigger valid and trigger invalid.
本申请一实施例中,所述第一旋转角度为旋钮编码器A端口的初始角度,所述第二旋转角度是指旋钮编码器被触发后的旋转角度,其中,每个界面功能之间的旋转角度间隔都是固定的,具体基于实际业务场景确定,例如,洗衣机的每个界面功能之间的旋转角度间隔可以为15度。In one embodiment of the present application, the first rotation angle is the initial angle of the A port of the knob encoder, and the second rotation angle refers to the rotation angle of the knob encoder after it is triggered, where the difference between each interface function The rotation angle intervals are fixed and are determined based on actual business scenarios. For example, the rotation angle interval between each interface function of a washing machine can be 15 degrees.
本申请一实施例中,所述第一旋转阈值可以为15°,所述第二旋转阈值可以为90°,则所述旋转阈值范围为75°,通过旋转阈值范围的确定,能够识别旋钮编码器的旋转是否有效,即识别旋钮编码器的触发状态是否有效。In an embodiment of the present application, the first rotation threshold may be 15°, the second rotation threshold may be 90°, and the rotation threshold range is 75°. By determining the rotation threshold range, the knob code can be identified Whether the rotation of the encoder is valid, that is, whether the triggering state of the knob encoder is valid.
例如,有一旋钮编码器的每个界面功能的旋转角度间隔都是固定的,如15度,若第一旋转角度为15°,第二旋转角度为40°,则旋转角度的差值为30°,属于旋转阈值75°范围之内,且第二旋转角度40°大于第一旋转角度15°,则表示旋钮编码器的旋转方向为顺时针旋转;若第一旋转角度为40°,第二旋转角度为15°,则旋转角度的差值为30°,属于旋转阈值75°范围之内,且所述第二旋转角度15°小于所述第一旋转角度40°,表示旋钮编码器的旋转方向为逆时针旋转;若第一旋转角度与第二旋转角度的差值大于75°,则表示旋钮编码器旋转了很大的角度,说明此次旋转不是正常操作需求,可能由于用户转动一次但旋钮编码器转动多次,则该次触发状态为无效状态。For example, the rotation angle interval of each interface function of a knob encoder is fixed, such as 15 degrees. If the first rotation angle is 15° and the second rotation angle is 40°, the difference in rotation angles is 30°. , within the rotation threshold range of 75°, and the second rotation angle of 40° is greater than the first rotation angle of 15°, it means that the rotation direction of the knob encoder is clockwise; if the first rotation angle is 40°, the second rotation angle The angle is 15°, then the difference in rotation angle is 30°, which is within the rotation threshold range of 75°, and the second rotation angle of 15° is smaller than the first rotation angle of 40°, indicating the rotation direction of the knob encoder It is counterclockwise rotation; if the difference between the first rotation angle and the second rotation angle is greater than 75°, it means that the knob encoder has rotated a large angle, indicating that this rotation is not a normal operation requirement. It may be because the user turns the knob once but the If the encoder rotates multiple times, the trigger status will be invalid.
本申请实施例中,通过判断所述差值是否在所述旋转阈值范围之内,能够确定旋钮编码器的的旋转角度是否有效,若是差值在旋转阈值范围内,表示旋钮编码器的旋转是有效的,若是差值不在旋转阈值范围内,表示旋钮编码器一次旋转了较大的角度,该旋转则无效,可以准确识别用户操作旋钮的真正意图,提高了后续家电控制的准确率。In the embodiment of the present application, by judging whether the difference is within the rotation threshold range, it can be determined whether the rotation angle of the knob encoder is valid. If the difference is within the rotation threshold range, it means that the rotation of the knob encoder is Effective, if the difference is not within the rotation threshold range, it means that the knob encoder has rotated a large angle at one time, and the rotation is invalid. The user's true intention of operating the knob can be accurately identified, improving the accuracy of subsequent home appliance control.
S250、根据所述触发状态及所述触发时间触发待控制家电,以实现对所述待控制家电的控制。S250. Trigger the home appliance to be controlled according to the trigger state and the trigger time to control the home appliance to be controlled.
本申请实施例中,通过触发状态判断旋钮屏的是否旋转,并在旋钮屏旋转后通过触发时间自动记录旋钮屏旋转至目标界面功能,以实现对待控制家电的控制。In the embodiment of the present application, the trigger state is used to determine whether the knob screen is rotated, and the trigger time is used to automatically record the rotation of the knob screen to the target interface function after the knob screen is rotated, so as to realize the control of the home appliance to be controlled.
作为本申请的一个实施例,所述通过所述触发状态及所述触发时间触发待控制家电,以实现对待控制家电的控制,包括:As an embodiment of the present application, triggering the home appliance to be controlled through the trigger state and the trigger time to achieve control of the home appliance to be controlled includes:
接收用户在所述待控制家电中的旋钮屏上触发的操作指令;Receive operation instructions triggered by the user on the knob screen in the home appliance to be controlled;
通过所述旋钮编码器响应所述操作指令,根据所述触发状态及所述触发时间确定用户触发所述待控制家电的目标界面功能,以实现对待控制家电的控制。The knob encoder responds to the operation instruction and determines the target interface function for the user to trigger the home appliance to be controlled according to the trigger state and the trigger time, so as to realize control of the home appliance to be controlled.
其中,所述操作指令是指用户旋转旋钮屏的指令,当接收到旋钮屏旋转至目标界面功能的指令,确定待控制家电被触发,并且获取从初始界面功能至目标界面功能的触发时间,根据触发时间触发待控制家电的目标界面功能,以实现对所述待控制家电的控制。Wherein, the operation instruction refers to the user's instruction to rotate the knob screen. When receiving the instruction to rotate the knob screen to the target interface function, it is determined that the home appliance to be controlled is triggered, and the triggering time from the initial interface function to the target interface function is obtained. According to The triggering time triggers the target interface function of the home appliance to be controlled, so as to control the home appliance to be controlled.
例如,有一待控制家电为电煮锅,包括1-6界面功能,当接收到将旋转旋钮屏从2界面功能至3界面功能的旋转指令,则确定旋钮屏开始顺时针旋转,并获取2界面功能与3界面功能的触发时间为10s,则开始旋转旋钮屏10s后,旋钮屏旋转至3界面功能处,以实现对电煮锅的控制。For example, a home appliance to be controlled is an electric cooker, including 1-6 interface functions. When receiving a rotation instruction to change the rotating knob screen from the 2 interface function to the 3 interface function, it is determined that the knob screen starts to rotate clockwise and obtains the 2 interface function. The triggering time of the function and the 3-interface function is 10 seconds. After starting to rotate the knob screen for 10 seconds, the knob screen rotates to the 3-interface function to control the electric cooker.
与现有技术相比,本申请实施例主要有以下有益效果:Compared with the prior art, the embodiments of the present application mainly have the following beneficial effects:
本申请实施例中,首先获取待控制家电、旋钮屏、多个界面功能及旋钮编码器;其次,通过获取用户在选择每个界面功能所需的历史数据,根据历史数据计算用户在选择每个界面功能的历史旋转时间,能够了解每个用户利用旋钮屏选择不同界面功能的时间,便于后续提高用户使用家电的体验感,增加用户粘性;最后,通过设定每个界面功能的触发时间及识别的旋钮编码器触发状态,能够实现仅需读取一次电平就能识别的用户真正意图,无需实时读取电平,在保证家电控制准确率的同时提高家电控制的效率,并根据所述触发状态及所述触发时间触发待控制家电,以实现对待控制家电的控制,提高了家电控制的效率及用户体验效果。因此本申请实施例提出的基于旋钮屏的家电控制方法可以提高家电控制的效率及用户体验效果。In the embodiment of this application, firstly, the home appliances to be controlled, knob screens, multiple interface functions and knob encoders are obtained; secondly, by obtaining the historical data required by the user to select each interface function, the user's selection of each interface function is calculated based on the historical data. The historical rotation time of interface functions can be used to understand the time each user uses the knob screen to select different interface functions, so as to subsequently improve the user experience of using home appliances and increase user stickiness; finally, by setting the trigger time and identification of each interface function The trigger state of the knob encoder can realize the user's true intention that can be identified by reading the level only once, without the need to read the level in real time. It improves the efficiency of home appliance control while ensuring the accuracy of home appliance control, and triggers according to the The state and the triggering time trigger the home appliance to be controlled to realize the control of the home appliance to be controlled, thereby improving the efficiency of home appliance control and the user experience effect. Therefore, the home appliance control method based on the knob screen proposed in the embodiment of the present application can improve the efficiency of home appliance control and the user experience effect.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,该计算机程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,前述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. The program can be stored in a computer-readable storage medium. When executed, the process may include the processes of the above method embodiments. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM).
应该理解的是,虽然附图的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,附图的流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although various steps in the flowchart of the accompanying drawings are shown in sequence as indicated by arrows, these steps are not necessarily performed in the order indicated by arrows. Unless explicitly stated in this article, the execution of these steps is not strictly limited in order, and they can be executed in other orders. Moreover, at least some of the steps in the flow chart of the accompanying drawings may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, and their execution order is also It does not necessarily need to be performed sequentially, but may be performed in turn or alternately with other steps or sub-steps of other steps or at least part of the stages.
进一步参考图3,作为对上述图2所示方法的实现,本申请提供了一种基于旋钮屏的家电控制装置310的一个实施例,该装置实施例与图2所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。With further reference to Figure 3, as an implementation of the method shown in Figure 2 above, this application provides an embodiment of a home appliance control device 310 based on a knob screen. This device embodiment corresponds to the method embodiment shown in Figure 2 , the device can be applied in various electronic devices.
本申请实施例提供的一种基于旋钮屏的家电控制系统,所述基于旋钮屏的家电控制系统包括;An embodiment of the present application provides a home appliance control system based on a knob screen. The home appliance control system based on a knob screen includes;
获取模块311,用于获取待控制家电及所述待控制家电上的旋钮屏、所述旋钮屏的多个界面功能及旋钮编码器;The acquisition module 311 is used to acquire the home appliance to be controlled, the knob screen on the home appliance to be controlled, multiple interface functions of the knob screen, and the knob encoder;
历史时间计算模块312,用于获取用户在选择每个所述界面功能所需的历史数据,根据所述历史数据计算用户选择每个所述界面功能的历史旋转时间;The historical time calculation module 312 is used to obtain the historical data required for the user to select each of the interface functions, and calculate the historical rotation time for the user to select each of the interface functions based on the historical data;
触发时间计算模块313,用于根据所述历史旋转时间设定用户下一次触发每个所述界面功能的触发时间;The trigger time calculation module 313 is used to set the trigger time for the next time the user triggers each of the interface functions based on the historical rotation time;
识别模块314,用于识别所述旋钮编码器的触发状态;及Identification module 314, used to identify the triggering state of the knob encoder; and
控制模块315,用于根据所述触发状态及所述触发时间触发待控制家电,以实现对待控制家电的控制。The control module 315 is used to trigger the home appliance to be controlled according to the trigger state and the trigger time, so as to control the home appliance to be controlled.
在本实施例中,关于各模块/单元的功能如下:In this embodiment, the functions of each module/unit are as follows:
获取子模块,用于获取所述旋钮编码器的A端口及B端口,并读取所述A端口的A电平及所述B端口的B电平;Obtain submodule, used to obtain the A port and B port of the knob encoder, and read the A level of the A port and the B level of the B port;
判断子模块,用于判断所述A电平及所述B电平是否发生变化;A judgment sub-module is used to judge whether the A level and the B level have changed;
识别子模块,用于当所述B电平先于所述A电平发生变化,则确定所述旋钮编码器为顺时针旋转的触发状态;当所述A电平先于所述B电平发生变化,则确定所述旋钮编码器为逆时针旋转的触发状态。Identification submodule, used to determine that the knob encoder is in the triggering state of clockwise rotation when the B level changes before the A level; when the A level changes before the B level If a change occurs, it is determined that the knob encoder is in the triggering state of counterclockwise rotation.
与现有技术相比,本申请实施例主要有以下有益效果:Compared with the prior art, the embodiments of the present application mainly have the following beneficial effects:
本申请实施例中,首先获取待控制家电、旋钮屏、多个界面功能及旋钮编码器;其次,通过获取用户在选择每个界面功能所需的历史数据,根据历史数据计算用户在选择每个界面功能的历史旋转时间,能够了解每个用户利用旋钮屏选择不同界面功能的时间,便于后续提高用户使用家电的体验感,增加用户粘性;最后,通过设定每个界面功能的触发时间及识别的旋钮编码器触发状态,能够实现仅需读取一次电平就能识别的用户真正意图,无需实时读取电平,在保证家电控制准确率的同时提高家电控制的效率,并根据所述触发状态及所述触发时间触发待控制家电,以实现对待控制家电的控制,提高了家电控制的效率及用户体验效果。因此本申请实施例提出的基于旋钮屏的家电控制方装置可以提高家电控制的效率及用户体验效果。In the embodiment of this application, firstly, the home appliances to be controlled, knob screens, multiple interface functions and knob encoders are obtained; secondly, by obtaining the historical data required by the user to select each interface function, the user's selection of each interface function is calculated based on the historical data. The historical rotation time of interface functions can be used to understand the time each user uses the knob screen to select different interface functions, so as to subsequently improve the user experience of using home appliances and increase user stickiness; finally, by setting the trigger time and identification of each interface function The trigger state of the knob encoder can realize the user's true intention that can be identified by reading the level only once, without the need to read the level in real time. It improves the efficiency of home appliance control while ensuring the accuracy of home appliance control, and triggers according to the The state and the triggering time trigger the home appliance to be controlled to realize the control of the home appliance to be controlled, thereby improving the efficiency of home appliance control and the user experience effect. Therefore, the home appliance control device based on the knob screen proposed in the embodiment of the present application can improve the efficiency of home appliance control and the user experience effect.
为解决上述技术问题,本申请实施例还提供计算机设备。具体请参阅图4,图4为本实施例计算机设备基本结构框图。In order to solve the above technical problems, embodiments of the present application also provide computer equipment. Please refer to Figure 4 for details. Figure 4 is a basic structural block diagram of the computer equipment in this embodiment.
所述计算机设备4包括通过系统总线相互通信连接存储器41、处理器42、网络接口43。需要指出的是,图中仅示出了具有组件41-43的计算机设备4,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。其中,本技术领域技术人员可以理解,这里的计算机设备是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的设备,其硬件包括但不限于微处理器、专用集成电路(ApplicationSpecific Integrated Circuit,ASIC)、可编程门阵列(Field-Programmable GateArray,FPGA)、数字处理器(Digital Signal Processor,DSP)、嵌入式设备等。The computer device 4 includes a memory 41, a processor 42, and a network interface 43 that are connected to each other for communication through a system bus. It should be noted that only the computer device 4 having components 41 - 43 is shown in the figure, but it should be understood that implementation of all the components shown is not required, and more or less components may be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and/or information processing according to preset or stored instructions. Its hardware includes but is not limited to microprocessors, special-purpose Integrated circuits (ApplicationSpecific Integrated Circuit, ASIC), programmable gate array (Field-Programmable GateArray, FPGA), digital processor (Digital Signal Processor, DSP), embedded devices, etc.
所述计算机设备可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述计算机设备可以与用户通过键盘、鼠标、遥控器、触摸板或声控设备等方式进行人机交互。The computer device may be a desktop computer, a notebook, a PDA, a cloud server and other computing devices. The computer device can perform human-computer interaction with the user through keyboard, mouse, remote control, touch panel or voice control device.
所述存储器41至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,所述存储器41可以是所述计算机设备4的内部存储单元,例如该计算机设备4的硬盘或内存。在另一些实施例中,所述存储器41也可以是所述计算机设备4的外部存储设备,例如该计算机设备4上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(FlashCard)等。当然,所述存储器41还可以既包括所述计算机设备4的内部存储单元也包括其外部存储设备。本实施例中,所述存储器41通常用于存储安装于所述计算机设备4的操作系统和各类应用软件,例如基于旋钮屏的家电控制方法的程序代码等。此外,所述存储器41还可以用于暂时地存储已经输出或者将要输出的各类数据。The memory 41 includes at least one type of readable storage medium, which includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static memory, etc. Random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disks, optical disks, etc. In some embodiments, the memory 41 may be an internal storage unit of the computer device 4 , such as a hard disk or memory of the computer device 4 . In other embodiments, the memory 41 may also be an external storage device of the computer device 4, such as a plug-in hard disk, a smart media card (SMC), a secure digital device equipped on the computer device 4. (Secure Digital, SD) card, flash card (FlashCard), etc. Of course, the memory 41 may also include both the internal storage unit of the computer device 4 and its external storage device. In this embodiment, the memory 41 is usually used to store the operating system and various application software installed on the computer device 4 , such as the program code of the home appliance control method based on the knob screen. In addition, the memory 41 can also be used to temporarily store various types of data that have been output or will be output.
所述处理器42在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器42通常用于控制所述计算机设备4的总体操作。本实施例中,所述处理器42用于运行所述存储器41中存储的程序代码或者处理数据,例如运行所述基于旋钮屏的家电控制方法的程序代码。In some embodiments, the processor 42 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. The processor 42 is generally used to control the overall operation of the computer device 4 . In this embodiment, the processor 42 is configured to run the program code or process data stored in the memory 41 , for example, run the program code of the knob screen-based home appliance control method.
所述网络接口43可包括无线网络接口或有线网络接口,该网络接口43通常用于在所述计算机设备4与其他电子设备之间建立通信连接。The network interface 43 may include a wireless network interface or a wired network interface. The network interface 43 is generally used to establish a communication connection between the computer device 4 and other electronic devices.
本申请还提供了另一种实施方式,即提供一种计算机可读存储介质,所述计算机可读存储介质存储有所述基于旋钮屏的家电控制方法程序,所述基于旋钮屏的家电控制方法程序可被至少一个处理器执行,以使所述至少一个处理器执行如上述的基于旋钮屏的家电控制方法的步骤。The present application also provides another implementation mode, that is, a computer-readable storage medium is provided. The computer-readable storage medium stores the program of the home appliance control method based on the knob screen. The home appliance control method based on the knob screen is stored in the computer-readable storage medium. The program may be executed by at least one processor, so that the at least one processor executes the steps of the above-mentioned knob screen-based home appliance control method.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件线上平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware online platform. Of course, it can also be implemented by hardware, but in many cases the former is Better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or that contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk, CD), including several instructions to cause a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in various embodiments of the present application.
本申请可用于众多通用或专用的计算机系统环境或配置中。例如:个人计算机、服务器计算机、手持设备或便携式设备、平板型设备、多处理器系统、基于微处理器的系统、置顶盒、可编程的消费电子设备、网络PC、小型计算机、大型计算机、包括以上任何系统或设备的分布式计算环境等等。本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。The application may be used in a variety of general or special purpose computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics devices, network PCs, minicomputers, mainframe computers, including Distributed computing environment for any of the above systems or devices, etc. The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including storage devices.
显然,以上所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例,附图中给出了本申请的较佳实施例,但并不限制本申请的专利范围。本申请可以以许多不同的形式来实现,相反地,提供这些实施例的目的是使对本申请的公开内容的理解更加透彻全面。尽管参照前述实施例对本申请进行了详细的说明,对于本领域的技术人员来而言,其依然可以对前述各具体实施方式所记载的技术方案进行修改,或者对其中部分技术特征进行等效替换。凡是利用本申请说明书及附图内容所做的等效结构,直接或间接运用在其他相关的技术领域,均同理在本申请专利保护范围之内。Obviously, the above-described embodiments are only some of the embodiments of the present application, rather than all the embodiments. The preferred embodiments of the present application are given in the drawings, but do not limit the patent scope of the present application. The present application may be embodied in many different forms; rather, these embodiments are provided in order to provide a thorough and comprehensive understanding of the disclosure of the present application. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or make equivalent substitutions for some of the technical features. . Any equivalent structure made using the contents of the specification and drawings of this application and directly or indirectly used in other related technical fields shall likewise fall within the scope of patent protection of this application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310965135.0A CN117031990A (en) | 2023-08-02 | 2023-08-02 | Household appliance control method, device, equipment and storage medium based on knob screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310965135.0A CN117031990A (en) | 2023-08-02 | 2023-08-02 | Household appliance control method, device, equipment and storage medium based on knob screen |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117031990A true CN117031990A (en) | 2023-11-10 |
Family
ID=88629155
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310965135.0A Pending CN117031990A (en) | 2023-08-02 | 2023-08-02 | Household appliance control method, device, equipment and storage medium based on knob screen |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117031990A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118567284A (en) * | 2024-07-31 | 2024-08-30 | 深圳市江元科技(集团)有限公司 | A signal adjustment method, system and medium based on rotary encoder |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007206966A (en) * | 2006-02-01 | 2007-08-16 | Pioneer Electronic Corp | Equipment controller, equipment control method and equipment control program |
CN201917101U (en) * | 2011-01-05 | 2011-08-03 | 北京四季沐歌太阳能技术集团有限公司 | A one-button solar water heater controller |
CN104183420A (en) * | 2014-08-25 | 2014-12-03 | 李卫泽 | Mechanical rotary digital display electronic timer |
CN104898763A (en) * | 2015-04-15 | 2015-09-09 | 广东好帮手电子科技股份有限公司 | Turn button control-adjustment method and system of vehicle-mounted encoder |
CN105233895A (en) * | 2015-10-09 | 2016-01-13 | 大龙兴创实验仪器(北京)有限公司 | Combined knob and electric pipettor comprising same |
CN107065650A (en) * | 2017-02-28 | 2017-08-18 | 珠海格力电器股份有限公司 | Method and device for controlling knob and knob |
CN207541587U (en) * | 2017-11-21 | 2018-06-26 | 广东格兰仕集团有限公司 | A kind of control structure of household electrical appliance |
CN111644217A (en) * | 2020-06-18 | 2020-09-11 | 苏州赛尼特格尔实验室科技有限公司 | Adjusting operation method of liquid transfer device |
CN115103486A (en) * | 2022-07-07 | 2022-09-23 | 广州市雅江光电设备有限公司 | Dynamic dimming method for knob encoder |
-
2023
- 2023-08-02 CN CN202310965135.0A patent/CN117031990A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007206966A (en) * | 2006-02-01 | 2007-08-16 | Pioneer Electronic Corp | Equipment controller, equipment control method and equipment control program |
CN201917101U (en) * | 2011-01-05 | 2011-08-03 | 北京四季沐歌太阳能技术集团有限公司 | A one-button solar water heater controller |
CN104183420A (en) * | 2014-08-25 | 2014-12-03 | 李卫泽 | Mechanical rotary digital display electronic timer |
CN104898763A (en) * | 2015-04-15 | 2015-09-09 | 广东好帮手电子科技股份有限公司 | Turn button control-adjustment method and system of vehicle-mounted encoder |
CN105233895A (en) * | 2015-10-09 | 2016-01-13 | 大龙兴创实验仪器(北京)有限公司 | Combined knob and electric pipettor comprising same |
CN107065650A (en) * | 2017-02-28 | 2017-08-18 | 珠海格力电器股份有限公司 | Method and device for controlling knob and knob |
CN207541587U (en) * | 2017-11-21 | 2018-06-26 | 广东格兰仕集团有限公司 | A kind of control structure of household electrical appliance |
CN111644217A (en) * | 2020-06-18 | 2020-09-11 | 苏州赛尼特格尔实验室科技有限公司 | Adjusting operation method of liquid transfer device |
CN115103486A (en) * | 2022-07-07 | 2022-09-23 | 广州市雅江光电设备有限公司 | Dynamic dimming method for knob encoder |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118567284A (en) * | 2024-07-31 | 2024-08-30 | 深圳市江元科技(集团)有限公司 | A signal adjustment method, system and medium based on rotary encoder |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110515576B (en) | Display control method and device | |
US10175852B2 (en) | Information processing methods and electronic devices for classifying applications | |
CN104808983B (en) | A kind of method for pushing and server of application program | |
CN107566624B (en) | Display method for power consumption and temperature of terminal, terminal and computer readable storage medium | |
CN106604362B (en) | Wireless fidelity Wi-Fi scanning method and mobile terminal | |
WO2017063443A1 (en) | Message display method and apparatus | |
CN108919839A (en) | Holder rotating direction control method, device, electronic equipment and storage medium | |
CN117031990A (en) | Household appliance control method, device, equipment and storage medium based on knob screen | |
WO2015131630A1 (en) | Replacement method and device for desktop icon | |
CN109032190A (en) | Holder rotating direction control method, device, electronic equipment and storage medium | |
WO2023216724A1 (en) | Terminal control method and apparatus, electronic device, and storage medium | |
CN111651749A (en) | Method, device, computer equipment and storage medium for retrieving account based on password | |
WO2020034521A1 (en) | Display method and apparatus, terminal and readable storage medium | |
CN108803669A (en) | Holder rotating direction control method, device, electronic equipment and storage medium | |
CN109977711A (en) | A kind of method and household electrical appliance of the household electrical appliance interaction based on two dimensional code | |
CN114675928A (en) | Method and device for constructing container image, storage medium and electronic device | |
TWI517108B (en) | System and method for controlling electronic device | |
CN110248023B (en) | Intelligent terminal control method, device, equipment and medium | |
WO2019061250A1 (en) | Interface switching method and device, terminal, and computer readable medium | |
CN108490824B (en) | Intelligent electric appliance control method and device and mobile terminal | |
CN110827024B (en) | Immobilized birth and combined sale system and operation method thereof | |
CN115134348A (en) | Sharing method of cloud application instance, system, equipment and storage medium thereof | |
CN111782381A (en) | Task management method, device, mobile terminal and storage medium | |
US10560871B2 (en) | Operation processing method and device | |
CN110134478A (en) | The scene conversion method, apparatus and terminal device of panoramic scene |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20231110 |
|
RJ01 | Rejection of invention patent application after publication |