Control method and device of knob switch, equipment, storage medium and program product
By combining the rotating parts and pressing parts of the knob switch, one-click switching and multi-function adjustment of the functions of smart home equipment is achieved, which solves the problem of poor operation convenience in traditional methods and improves the convenience and efficiency of users' operation.
Patent Information
- Application Number
- CN202411007411.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-12-13
AI Technical Summary
In the control method of traditional smart home devices, users need to frequently move and switch between the display screen and the physical key, resulting in poor operational convenience.
Provide a control method of knob switch, through the combination of rotating components and pressing components, one-button switching and multi-function adjustment of functions are realized. Users only need to perform alternate pressing and rotating operations on the knob to achieve multiple functions. Switch and control.
It improves operational convenience, and users do not need to move and switch between the display screen and the physical keys, and realizes flexible switching and control of various functions, widening the application range of knob switches.
Smart Images

Figure CN119126611A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of switch technology, and in particular to a control method, device, equipment, storage medium and program product for a knob switch. Background Art
[0002] With the development of smart homes, the functions of smart home devices are becoming more and more abundant. A single physical key is difficult to meet the control needs of diverse functions, and a combination switch of display screen and physical key comes into being.
[0003] In traditional technology, the knobs in the physical keys are usually only used to increase or decrease the operating parameters of smart home devices, such as the temperature of the air conditioner, the brightness of the lights, etc. The buttons in the physical keys are usually only used to switch smart home devices, and the display screen is usually used to select non-numerical parameters, such as the strong mode, sleep mode, etc. of the air conditioner, the stewing mode, cooking mode, etc. of the rice cooker.
[0004] However, in the traditional method, the display screen and the physical keys are used independently. During the control process of the smart home device, the user needs to constantly move and switch between the display screen and the physical keys, which makes the operation less convenient. Summary of the invention
[0005] Based on this, it is necessary to provide a control method, device, equipment, storage medium and program product for a knob switch that can improve the convenience of operation in order to solve the above technical problems.
[0006] In a first aspect, the present application provides a control method for a rotary switch, the rotary switch comprising a rotating component and a pressing component, the method comprising:
[0007] In the case where the adjustment object of the rotating component is the first function, in response to the pressing operation triggered by the pressing component, the adjustment object of the rotating component is switched to the second function; the second function is a target switching function configured for the first function;
[0008] In response to the rotation operation triggered on the rotating component, an adjustment result on the second function is displayed.
[0009] In one embodiment, the knob switch includes a knob and a display screen, and the rotating component and the pressing component are arranged on the knob;
[0010] In response to a pressing operation triggered by the pressing component, switching the adjustment object of the rotating component to a second function specifically includes:
[0011] In response to a pressing operation triggered by the pressing component, detecting a display interface type of the display screen;
[0012] The adjustment object of the rotating component is switched to a second function, where the second function is a target switching function configured for the first function and the display interface type.
[0013] In one embodiment, the display interface type includes a reading interface, and in response to the rotation operation triggered by the rotating component, the adjustment result of the second function is displayed, which specifically includes one of the following items:
[0014] In the case where the second function is a zoom adjustment function, in response to a rotation operation triggered on the rotating component, displaying reading content with a zoom ratio that changes with a rotation angle;
[0015] In the case where the second function is a movement adjustment function, in response to a rotation operation triggered on the rotating component, a reading content is displayed in which the current display content changes with the change of the rotation angle.
[0016] In one embodiment, the display interface type includes a device control interface; the first function and the second function correspond to different function levels of the same target menu; and switching the adjustment object of the rotating component to the second function specifically includes one of the following:
[0017] Switch the adjustment object of the rotating component from the upper level function of the target menu to the lower level function of the target menu;
[0018] Switches the adjustment target of the rotary part from the function in the next level of the target menu to the function in the previous level of the target menu.
[0019] In one embodiment, after the adjustment object of the rotating component is switched to the second function, the method further includes:
[0020] When the first page is displayed on the display screen, in response to an interface switching operation on the display screen, the display content of the display screen is switched from the first page to the second page, and the adjustment object of the rotating component is switched from the second function to the third function corresponding to the second page;
[0021] The first page and the second page are display pages with different functions or different interface types.
[0022] In one embodiment, the second function includes an adjustment function for a target operating state parameter of the household electrical appliance;
[0023] In response to the rotation operation triggered on the rotating component, displaying the adjustment result for the second function, specifically including:
[0024] In response to the rotation operation triggered on the rotating component, the target operating state parameters of the household electrical appliance are adjusted, and the adjustment results of the target operating state parameters are dynamically adjusted and displayed on the display screen.
[0025] In a second aspect, the present application further provides a control device for a knob switch, the knob switch comprising a rotating component and a pressing component; the device comprises:
[0026] A switching module, for, when the adjustment object of the rotating component is the first function, switching the adjustment object of the rotating component to a second function in response to a pressing operation triggered by the pressing component; the second function is a target switching function configured for the first function;
[0027] The display module is used to display the adjustment result of the second function in response to the rotation operation triggered on the rotating component.
[0028] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0029] In the case where the adjustment object of the rotating component is the first function, in response to the pressing operation triggered by the pressing component, the adjustment object of the rotating component is switched to the second function; the second function is a target switching function configured for the first function;
[0030] In response to the rotation operation triggered on the rotating component, an adjustment result on the second function is displayed.
[0031] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:
[0032] In the case where the adjustment object of the rotating component is the first function, in response to the pressing operation triggered by the pressing component, the adjustment object of the rotating component is switched to the second function; the second function is a target switching function configured for the first function;
[0033] In response to the rotation operation triggered on the rotating component, an adjustment result on the second function is displayed.
[0034] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0035] In the case where the adjustment object of the rotating component is the first function, in response to the pressing operation triggered by the pressing component, the adjustment object of the rotating component is switched to the second function; the second function is a target switching function configured for the first function;
[0036] In response to the rotation operation triggered on the rotating component, an adjustment result on the second function is displayed.
[0037] The control method, device, equipment, storage medium and program product of the above-mentioned knob switch, firstly, by switching the adjustment object of the rotating part to the second function in response to the pressing operation triggered by the pressing part when the adjustment object of the rotating part is the first function, the second function is the target switching function configured for the first function, thereby realizing one-key switching of the adjustment object of the rotating part; further, by displaying the adjustment result for the second function in response to the rotation operation triggered by the rotating part, the flexible switching and control of multiple functions are realized. Compared with the method of combining operations on physical keys and display screens, the control method of the knob switch of the present application can realize the adjustment of multiple functions through only one physical key, which broadens the application scope of the knob switch. For the user, during the entire control process, the user's hand only needs to be placed on the knob switch, and by alternately performing pressing operations and rotating operations, the switching and regulation of multiple functions can be realized without moving and switching between the display screen and the physical keys, so the operation is more convenient. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0039] Figure 1 A schematic diagram of a control method of a knob switch in one embodiment;
[0040] Figure 2 is a flow chart of a method for controlling a knob switch in another embodiment;
[0041] Figure 3 is a schematic structural diagram of a knob switch with a display screen in one embodiment;
[0042] Figure 4 A schematic diagram of the structure of a device control interface in a display screen in one embodiment;
[0043] Figure 5 It is a structural schematic diagram of a device control interface in a display screen in another embodiment;
[0044] Figure 6 is a structural block diagram of a control device for a knob switch in one embodiment;
[0045] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0047] In an exemplary embodiment, Figure 1 As shown, a control method for a knob switch is provided. This embodiment takes the method applied to a knob switch as an example for illustration. The knob switch is electrically connected / communicatively connected to a terminal device to control the working state of the terminal device. The terminal device may be, but is not limited to, various IoT devices, smart switches, etc. The IoT devices may be smart lights, smart curtains, smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, projection devices, etc. It is understandable that the method may also be applied to a server, and may also be applied to a system including a knob switch and a server, and is implemented through the interaction between the knob switch and the server. In this embodiment, the method includes the following steps S10-S20. Among them:
[0048] Step S10, when the adjustment object of the rotating component is the first function, in response to the pressing operation triggered by the pressing component, the adjustment object of the rotating component is switched to the second function; the second function is a target switching function configured for the first function.
[0049] Among them, the knob switch refers to a switch that can adjust the working state parameters of the function of the device by rotating operation, wherein the device can refer to the associated devices of the knob switch such as smart home devices and household appliances, or it can refer to the knob switch itself. The knob switch includes at least a knob, and can also include one or more of a display screen, a button, etc., and the rotating part and the pressing part are arranged on the knob. It can be understood that when the knob switch only includes a knob, the knob switch can refer to the knob. When the knob switch includes multiple knobs, at least one knob is provided with a rotating part and a pressing part at the same time.
[0050] The rotating component refers to a component that can rotate around an axis or a center point. By detecting the rotational motion information of the rotating component, the working state parameter of at least one function of the device can be adjusted. The rotational motion information may include at least one of the rotational motion direction information, the rotational motion distance change information, the rotational motion angle change information, etc. The pressing component refers to a component that can detect a pressing operation or a pressure change, such as a combination of one or more of a pressure sensor, a resistance sensor, etc. The pressing component can be set at least one of the bottom, top surface and side surface of the knob, wherein the pressing component set at the bottom of the knob can detect the user's pushing operation of the knob from the top of the knob to the bottom of the knob, such as grasping the side of the knob with a finger and pushing the knob toward the bottom of the knob; the pressing component set on the top surface of the knob can detect the user's pressing operation applied to the top area of the knob, such as slapping or pressing the top area of the knob with a palm; the pressing component set on the side of the knob can detect the user's pressing operation applied to the side area of the knob, such as pressing from the side of the knob toward the center of the knob with a finger or pinching the side of the knob with a finger. In other embodiments, the rotating component may also be displaced in the direction of the entire axis under the action of an external force, thereby triggering a pressing operation.
[0051] The adjustment object of the rotating component may be the function of the associated device, or the function of the knob switch itself, wherein the function of the associated device may include the operation state adjustment function of the associated device, etc.; the function of the knob switch itself may include the controlled device switching function, and in the case where the knob switch has a display screen, the function of the knob switch itself may also include at least one of the page display specification adjustment function, the page display area adjustment function, etc. The operation state adjustment function refers to the function of adjusting the operation state parameters of the associated device, such as the temperature adjustment function of the air conditioner, the brightness adjustment function of the lamp, etc.
[0052] The controlled device switching function refers to the function of switching the currently designated smart home device when the knob switch is associated with multiple associated devices. For example, if the smart light and the smart speaker are both associated with the knob switch, the knob switch currently specifies the smart light, and the adjustment object of the rotating component is the operation state adjustment function. In this case, the operation state parameters of the smart light can be adjusted by controlling the rotating component. If you want to adjust the operation state parameters of the smart speaker at this time, you can switch the adjustment object of the rotating component to the controlled device switching function by pressing the pressing component, and then control the rotating component to switch the device designated by the knob switch from the smart light to the smart speaker. Then, you can switch the adjustment object of the rotating component to the operation state adjustment function by pressing the pressing component or when other function switching conditions are met. At this time, control the rotating component to adjust the operation state parameters of the smart speaker. Among them, other function switching conditions can be that the non-operation time reaches a preset time threshold, the click operation of the function switching button on the display screen, etc., which are not limited in this embodiment.
[0053] The page display specification adjustment function refers to the function of adjusting the page display specifications of the display screen, for example, enlarging or reducing the page displayed on the display screen, enlarging or reducing the font displayed on the display screen, etc. The page display area adjustment function refers to the function of changing the page display area of the display screen, for example, sliding up and down, turning pages, etc. of the page displayed on the display screen.
[0054] The first function refers to the adjustment object currently specified by the rotating component, which can be a default value or an adjustment object specified by the user in advance; the second function is a target switching function configured for the first function. That is, the corresponding target switching function can be configured for each function in advance, so that in actual operation, the user can save the selection operation of selecting the target switching function, thereby simplifying the operation steps for regulating multiple functions. If the corresponding target switching function is not configured for each function in advance, when switching functions, the user needs to perform the switching function operation, select the second function operation, and confirm the switch to the second function operation to switch the adjustment object of the rotating component from the first function to the second function.
[0055] Exemplarily, during the operation of the knob switch, the operation information for the pressing component can be continuously monitored. If a pressing operation triggered by the pressing component is detected, the adjustment object information of the rotating component can be queried first, the first function can be located from the adjustment object information, and then the target switching function pre-configured for the first function is queried, and the target switching function is determined as the second function, and then the adjustment object of the rotating component is switched from the first function to the second function. For example, if the associated device is a lamp, the first function is the brightness adjustment function, the target switching function configured for the brightness adjustment function is the color temperature adjustment function, and the target switching function configured for the color temperature adjustment function is the color adjustment function. After the pressing operation triggered by the pressing component is detected, the adjustment object of the rotating component can be switched from the brightness adjustment function to the color temperature adjustment function; it can be understood that if the pressing operation triggered by the pressing component is detected again, the first function at this time is the color temperature adjustment function, and the target switching function configured for the color temperature adjustment function is the color adjustment function, so in response to the pressing operation triggered by the pressing component, the adjustment object of the rotating component can be switched from the color temperature adjustment function to the color adjustment function.
[0056] As an example, when the knob switch includes an information output module or is communicatively connected to a user device having an information output module, after the adjustment object of the rotating component is switched to the second function, the function switching result can be displayed through the information output module. The information output module may include at least one of a display module, a speaker module, a vibration module, etc. The method of displaying the function switching result may include at least one of the following: switching the display page from the display page of the first function to the display page of the second function; canceling the highlighting of the function identification information of the first function in the display page, and highlighting the function identification information of the second function in the display page; outputting the audio prompt information corresponding to the function switching result; outputting the vibration prompt information corresponding to the function switching result, etc.
[0057] As an example, after the adjustment object of the rotating component is switched to the second function, the function switching result may not be displayed. In response to the rotation operation triggered on the rotating component, the function switching result and the adjustment result for the second function are displayed.
[0058] Step S20 , in response to the rotation operation triggered on the rotating component, displaying the adjustment result for the second function.
[0059] Exemplarily, after the adjustment object of the rotating component is switched to the second function, if a rotation operation triggered on the rotating component is detected, the working state parameters of the second function can be adjusted based on the rotation operation, and the adjustment result for the second function can be displayed.
[0060] As an example, the method of displaying the adjustment result for the second function may include: displaying the adjustment result for the second function through a rotary switch. For example, the adjusted working state parameter value of the second function may be displayed through a display screen of the rotary switch, or the audio of the adjusted working state parameter value of the second function may be output through a speaker of the rotary switch.
[0061] As an example, the method of displaying the adjustment result for the second function may also include: displaying the adjustment result for the second function through an associated device. In the case where the second function is an operation state adjustment function of the associated device, even if the knob switch does not have a display screen, or the user cannot see the display screen, the adjustment result after the operation state adjustment can be displayed through the associated device. For example, if the associated device is a lamp and the second function is a brightness adjustment function, the adjustment result can be displayed through the change of the brightness of the lamp with the rotation operation; if the associated device is an air conditioner and the second function is a temperature adjustment function, the adjustment result can be displayed through the change of the adjustment effect of the air conditioner on the ambient temperature with the rotation operation.
[0062] In the control method of the above-mentioned knob switch, firstly, when the adjustment object of the rotating part is the first function, in response to the pressing operation triggered by the pressing part, the adjustment object of the rotating part is switched to the second function, and the second function is the target switching function configured for the first function, thereby realizing one-key switching of the adjustment object of the rotating part; and then, by displaying the adjustment result for the second function in response to the rotation operation triggered by the rotating part, the flexible switching and control of multiple functions are realized. Compared with the method of combining operations on physical keys and display screens, the control method of the knob switch of the present application can realize the adjustment of multiple functions through only one physical key, which broadens the application scope of the knob switch. For the user, during the entire control process, the user's hand only needs to be placed on the knob switch, and the switching and regulation of multiple functions can be realized by alternately performing pressing operations and rotating operations, without moving and switching between the display screen and the physical keys, so the operation is more convenient.
[0063] In an exemplary embodiment, Figure 2 As shown, the knob switch includes a knob and a display screen, a rotating component and a pressing component are arranged on the knob, and in response to a pressing operation triggered by the pressing component, the adjustment object of the rotating component is switched to the second function, including steps S11 to S12. Among them:
[0064] Step S11 , in response to a pressing operation triggered by a pressing component, detecting a display interface type of the display screen.
[0065] It should be noted that with the increase in user demand, the functions of smart home devices are becoming more and more abundant. Although multiple functions can be switched and controlled by pressing and rotating the knob, it is easy for users to make mistakes when performing continuous multi-step operations.
[0066] Wherein, when the knob switch includes a knob and a display screen, the rotating component and the pressing component are both arranged on the knob. When the knob switch includes multiple knobs, at least one knob is provided with both the rotating component and the pressing component.
[0067] The display screen can be set on the upper surface of the knob, or on other shell areas of the knob switch except the knob. The display interface type refers to the type of the current display interface of the display screen, which can include at least one of the device control interface, the reading interface, the setting interface, etc. Among them, the device control interface refers to the interface for adjusting the operating status parameters of the associated device. The device control interface can display the identification information of the associated device, the operating status parameter information of the associated device, etc. The identification information includes icons, models, names, etc., and the operating status parameter information includes the type information and numerical information of the operating status parameters. The setting interface refers to the interface for setting the properties of the knob switch. The reading interface refers to the interface that displays text information or image information for users to read. For example, during the use of the knob switch, the reading interface of the display screen can display the instructions for use, protocols, etc.
[0068] As an example, see Figure 3 , the display screen 102 can be set on the upper surface of the knob 10. In the case where the display interface type of the display screen 102 is a device control interface, the display screen 102 displays the device control interface, and the device control interface can display identification information 1022 of the associated device, type information 1024 of the operating status parameter of the associated device, and numerical information of the operating status parameter of the associated device, etc. The numerical information of the operating status parameter can be displayed in the form of a progress bar 1026. Figure 3 In the case shown in FIG. 1 , based on the device control interface displayed on the display screen 102, the user can intuitively know that the associated device currently associated with the knob switch is a light, and that the brightness of the light can be adjusted by rotating the knob. If a rotation operation on the rotating component is detected at this time, the display content in the device control interface can also be dynamically adjusted. The device control interface after dynamic adjustment is as follows: Figure 4 As shown, the numerical information of the operating status parameter can be displayed in the device control interface in the form of a numerical value 1028, and a progress bar dynamic logo 1030 can also be displayed to remind the user that the operating status parameter of the associated device can be adjusted by rotating the knob.
[0069] For example, during the operation of the knob switch, the operation information of the pressing component can be continuously monitored. If a pressing operation triggered by the pressing component is detected, the display interface type of the display screen can be detected first.
[0070] As an example, a method for detecting the display interface type of a display screen may be to obtain interface attribute information of the current display interface of the display screen and locate the interface display type from the interface attribute information; or, the interface display type may be extracted from the interface display content of the current display interface, which is not limited in this embodiment.
[0071] Step S12: Switch the adjustment object of the rotating component to a second function, where the second function is a target switching function configured for the first function and the display interface type.
[0072] It should be noted that users usually operate the knob switch only when they have a need to control the smart home device or need to know the information displayed on the display screen of the knob switch. Therefore, if the second function of the knob can be switched according to user needs, the convenience of operating the knob can be greatly improved. The current display interface is strongly correlated with user needs. User needs may be different depending on the type of current interface. For example, the user needs of the device control interface are usually to adjust the operating status parameters of the smart home device, the user needs of the setting interface are usually to set the properties of the knob switch, and the user needs of the reading interface are usually to know the interface content more conveniently and accurately. Therefore, when pre-configuring the corresponding target switching function for the first function, it can be configured in combination with the display interface type.
[0073] The correspondence between the display interface type and the second function can be one-to-one or one-to-many. For example, if the display interface type is a reading interface, and the function corresponding to the reading interface is only the page turning function, then no matter what the first function is, the target switching function configured for the first function and the display interface type will only be the page turning function. For another example, if the display interface type is a reading interface, and the functions corresponding to the reading interface include no control function, zoom function and page turning function, then the second function needs to be determined in combination with the first function and the display interface type. If the first function is a no control function, and the target switching function configured for the reading interface and the no control function is a zoom function, then the second function can be determined to be a zoom function.
[0074] As an example, the adjustment object information of the rotating component can be queried, the first function can be located from the adjustment object information, and then the target switching function pre-configured for the first function and display interface type can be queried, the target switching function can be determined as the second function, and then the adjustment object of the rotating component can be switched from the first function to the second function.
[0075] As an example, after the adjustment object of the rotating component is switched to the second function, the display content in the display screen can be switched from the third page corresponding to the first function to the first page corresponding to the second function; or, the page switching can be performed after the rotation operation triggered by the rotating component is detected without switching the page. Figure 3 , Figure 4 and Figure 5 As shown, if the third page is Figure 3 or Figure 4 As shown, the target switching function configured for the brightness adjustment function is the color temperature adjustment function. After the adjustment object of the rotating component is switched from the brightness adjustment function to the color temperature adjustment function, the display content in the display screen 102 can be changed from Figure 3 or Figure 4 The third page shown is switched to Figure 5 The first page is shown.
[0076] In this embodiment, by linking the display content of the display screen with the operation of the knob, the display content of the display screen can assist the user in operation and decision-making, and the switching of the second function can also better meet the user's needs, thereby reducing misoperation and improving the accuracy of operation. On the other hand, it can also reduce correction operations and simplify the control operation as a whole.
[0077] In an exemplary embodiment, the display interface type includes a reading interface; in response to the rotation operation triggered on the rotating component, the adjustment result for the second function is displayed, specifically including one of steps S21 to S22. Wherein:
[0078] Step S21 , when the second function is a zoom adjustment function, in response to a rotation operation triggered on the rotating component, displaying reading content with a zoom ratio that changes with a rotation angle.
[0079] It should be noted that there may be a need for information notification during the use of the associated device and the knob switch, such as the need to notify the instructions for use, the need to notify the protocol for associating the device with the knob switch, etc. The display screen of the knob switch can realize the information reading function, further expanding the function of the knob switch.
[0080] However, the display screen of the knob switch usually has a certain size limitation. If the size of the displayed content is too small, the user may not be able to see clearly. If the size of the displayed content is too large, the content that can be displayed on the same page may be limited, requiring the user to frequently turn pages or slide. At present, the display specifications of the displayed content can be adjusted by touching the display screen, but due to the size of the display screen, the user's operating range when performing touch operations on the display screen is limited, and it is inevitable to block the display content of the display screen, and the operation convenience is poor.
[0081] The zoom adjustment function refers to a function of reducing or enlarging the specifications of the reading content on the display screen.
[0082] Exemplarily, when the display screen is in the reading interface, the user can perform a pressing operation on the pressing component, and the terminal can switch the adjustment object of the rotating component to the zoom adjustment function in response to the pressing operation triggered by the pressing component; further, if a rotation operation triggered by the rotating component is detected, the zoom ratio of the reading content in the reading interface can be adjusted based on the rotation angle of the rotation operation, and the reading content after the zoom adjustment can be displayed on the display screen, and the zooming process of the reading content can also be displayed on the display screen.
[0083] Step S22, when the second function is a movement adjustment function, in response to a rotation operation triggered on the rotating component, displaying reading content whose current display content changes with the change of the rotation angle.
[0084] Among them, the mobile adjustment function refers to the function of changing the current display content of the display screen, including the sliding adjustment function and the page turning adjustment function. The sliding adjustment function refers to the function of sliding the display interface up and down to cause the current display content to change; the page turning adjustment function refers to the function of updating all the current display content in the current page to the display content of the next page.
[0085] Exemplarily, when the display screen is in a reading interface, the user can perform a pressing operation on the pressing component, and the terminal can switch the adjustment object of the rotating component to the mobile adjustment function in response to the pressing operation triggered on the pressing component; further, if a rotation operation triggered on the rotating component is detected, the current display content in the reading interface can be changed based on the rotation angle of the rotation operation, and the reading content after the current display content changes can be displayed on the display screen, and the change process of the current display content can also be displayed on the display screen.
[0086] In this embodiment, the user can press and rotate the knob to adjust the display content on the display screen, which can avoid the user's operation blocking the display content on the display screen. The operation is simple and there is no need to worry about accidental touches, thereby improving operational convenience.
[0087] In an exemplary embodiment, the display interface type includes a device control interface; the first function and the second function correspond to different functional levels of the same target menu; switching the adjustment object of the rotating component to the second function includes one of steps S121 to S122. Wherein:
[0088] Step S121 : Switching the adjustment object of the rotating component from the upper level function of the target menu to the lower level function of the target menu.
[0089] The target menu refers to the menu control in the device control interface. The target menu may include at least two function levels, and the first function and the second function correspond to different function levels of the same target menu. For associated devices with relatively few operating status parameters, there are fewer functions that can be adjusted in the device control interface. Therefore, different function levels can be set in advance based on the frequency of use of each function in actual situations. Functions with higher frequency of use are set at the upper level of the target menu, and functions with lower frequency of use are set at the lower level of the target menu, thereby reducing function switching operations.
[0090] Exemplarily, when the display interface type is a device control interface, if the first function is the previous level function of the target menu, the second function can be the next level function corresponding to the previous level function in the target menu. That is, when the adjustment object of the rotating component is the previous level function, if a rotation operation triggered by the rotating component is detected, the adjustment object of the rotating component can be drilled down from the previous level function of the target menu to the next level function of the target menu.
[0091] Step S122: Switch the adjustment object of the rotating component from the lower level function of the target menu to the upper level function of the target menu.
[0092] Exemplarily, when the display interface type is a device control interface, if the first function is a next-level function of the target menu, the second function can be an upper-level function corresponding to the next-level function in the target menu. That is, when the adjustment object of the rotating component is the next-level function, if a rotation operation triggered by the rotating component is detected, the adjustment object of the rotating component can be raised from the next-level function of the target menu to the upper-level function of the target menu.
[0093] As an example, the pressing operation may include a first pressing operation and a second pressing operation, the first pressing operation and the second pressing operation are different, for example, the first pressing operation may be a long pressing operation, and the second pressing operation may be a short pressing operation. In the case where the target menu includes more than or equal to three function levels, switching the adjustment object of the rotating component to the second function may include: if the pressing operation is the first pressing operation, switching the adjustment object of the rotating component from the upper level function of the target menu to the lower level function of the target menu; if the pressing operation is the second pressing operation, switching the adjustment object of the rotating component from the lower level function of the target menu to the upper level function of the target menu.
[0094] In this embodiment, for associated devices with relatively few operating status parameters, by setting a functional hierarchy, multiple operating status parameters can be more conveniently switched and controlled, thereby reducing function switching operations and improving operational convenience.
[0095] In an exemplary embodiment, after the adjustment object of the rotating component is switched to the second function, the method further includes:
[0096] When the first page is displayed on the display screen, in response to an interface switching operation on the display screen, the display content of the display screen is switched from the first page to the second page, and the adjustment object of the rotating component is switched from the second function to the third function corresponding to the second page; wherein the first page and the second page are display pages with different functions or different interface types.
[0097] It should be noted that the control method of the knob switch and the associated equipment is not limited to operating the knob. For example, the switching of the adjustment object of the rotating component can be achieved by pressing the pressing component or by touching the display screen. In this way, it is easy for the user to be unable to determine the adjustment object, resulting in control confusion.
[0098] Among them, the interface switching operation refers to the operation of switching the current display interface of the display screen. It can be triggered by a touch operation on the display screen, or it can be automatically triggered when the interface switching conditions are met. The interface switching conditions can be set according to actual conditions. For example, the interface residence time reaches a preset time threshold, the associated device changes, the associated device enters a closed state, etc.
[0099] The first page is a currently displayed page of the display screen, and the second page is a displayed page with a different function or interface type from the first page.
[0100] For example, when the first page is displayed on the display screen, if an interface switching operation for the display screen is detected, the second page corresponding to the interface switching operation is determined according to the interface switching operation, the display content of the display screen is switched from the first page to the second page, and the adjustment object of the rotating component is switched from the second function to the third function corresponding to the second page. In this way, it is ensured that the adjustment object of the knob component is only valid for the current page, and once the page changes, the adjustment object of the knob component will also be adjusted to the default adjustment object corresponding to the changed page, and the switching of the adjustment object of the knob component is timely.
[0101] As an example, after the adjustment object of the rotating component is switched to the second function, the interface switching operation on the display screen may occur before or after the rotation operation triggered on the rotating component, and this embodiment does not limit this.
[0102] In this embodiment, the display screen can provide information to the user intuitively. By adjusting the adjustment object of the rotating component to change with the display content of the display screen, the display content of the display screen can be associated with the control of the knob, so that the user's operation can be synchronized with the information obtained from the display screen, thereby improving the convenience and accuracy of the knob operation.
[0103] In an exemplary embodiment, the second function includes an adjustment function for a target operating state parameter of the household electrical appliance; in response to a rotation operation triggered on a rotating component, displaying an adjustment result for the second function includes:
[0104] In response to the rotation operation triggered on the rotating component, the target operating state parameters of the household electrical appliance are adjusted, and the adjustment results of the target operating state parameters are dynamically adjusted and displayed on the display screen.
[0105] Exemplarily, after the adjustment object of the rotating component is switched to an adjustment function for the target operating state parameters of the household appliance device, if a rotation operation triggered by the rotating component is detected, the target operating state parameters of the household appliance device can be adjusted based on the rotation operation, and the adjustment results of the target operating state parameters can be dynamically adjusted and displayed on the display screen.
[0106] As an example, a method for dynamically adjusting and displaying the adjustment results of the target operating status parameters in a display screen may include: switching the display page in the display screen from the display page corresponding to the first function to the parameter adjustment page of the target operating status parameters, and dynamically adjusting and displaying the adjustment results of the target operating status parameters in the parameter adjustment page of the target operating status parameters.
[0107] As an example, if the first function and the second function are adjustment functions for different operating status parameters of the same household appliance, and the display page includes parameter identification information and parameter value information of the operating status parameters, then the method of dynamically adjusting and displaying the adjustment results of the target operating status parameters on the display screen may include: switching the parameter identification information in the display page from the identification information of the operating status parameters corresponding to the first function to the identification information of the target operating status parameters corresponding to the second function, and dynamically adjusting the parameter value information in the display page based on the rotation operation triggered by the rotating part.
[0108] In this embodiment, the display screen can synchronously display the operation result after the user operates, so that the user's cognitive layer and operation layer are always synchronized, thereby improving the accuracy of the operation.
[0109] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0110] Based on the same inventive concept, the embodiment of the present application also provides a control device for a knob switch for implementing the control method of the knob switch involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of the control device for one or more knob switches provided below can refer to the limitations of the control method for the knob switch above, and will not be repeated here.
[0111] In an exemplary embodiment, Figure 6 As shown, a control device for a rotary switch is provided, the rotary switch includes a rotating component and a pressing component, and the device includes: a switching module 202 and a display module 204, wherein:
[0112] The switching module 202 is used to switch the adjustment object of the rotating component to a second function in response to a pressing operation triggered by the pressing component when the adjustment object of the rotating component is the first function; the second function is a target switching function configured for the first function;
[0113] The display module 204 is used to display the adjustment result of the second function in response to the rotation operation triggered on the rotating component.
[0114] In an exemplary embodiment, the knob switch includes a knob and a display screen, and a rotating component and a pressing component are arranged on the knob; the switching module 202 is also used for:
[0115] In response to a pressing operation triggered by the pressing component, detecting a display interface type of the display screen;
[0116] The adjustment object of the rotating component is switched to a second function, where the second function is a target switching function configured for the first function and the display interface type.
[0117] In an exemplary embodiment, the display interface type includes a reading interface; the display module 204 is further used to:
[0118] In the case where the second function is a zoom adjustment function, in response to a rotation operation triggered on the rotating component, displaying reading content with a zoom ratio that changes with a rotation angle;
[0119] In the case where the second function is a movement adjustment function, in response to a rotation operation triggered on the rotating component, a reading content is displayed in which the current display content changes with the change of the rotation angle.
[0120] In an exemplary embodiment, the switching module 202 is further configured to:
[0121] Switch the adjustment object of the rotating component from the upper level function of the target menu to the lower level function of the target menu;
[0122] Switches the adjustment target of the rotary part from the function in the next level of the target menu to the function in the previous level of the target menu.
[0123] In an exemplary embodiment, the switching module 202 is further configured to:
[0124] When the first page is displayed on the display screen, in response to an interface switching operation on the display screen, the display content of the display screen is switched from the first page to the second page, and the adjustment object of the rotating component is switched from the second function to the third function corresponding to the second page;
[0125] The first page and the second page are display pages with different functions or different interface types.
[0126] In an exemplary embodiment, the second function includes an adjustment function for target operating state parameters of the household electrical appliance; the display module 204 is further used for:
[0127] In response to the rotation operation triggered on the rotating component, the target operating state parameters of the household electrical appliance are adjusted, and the adjustment results of the target operating state parameters are dynamically adjusted and displayed on the display screen.
[0128] Each module in the control device of the knob switch can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0129] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 7As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a control method of a knob switch is realized. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0130] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0131] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0132] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0133] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0134] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0135] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0136] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0137] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for controlling a knob switch, characterized in that: The knob switch comprises a rotating component and a pressing component, and the method comprises: In the case where the adjustment object of the rotating component is the first function, in response to the pressing operation triggered by the pressing component, the adjustment object of the rotating component is switched to a second function; the second function is a target switching function configured for the first function; In response to a rotation operation triggered on the rotating component, an adjustment result on the second function is displayed.
2. The method according to claim 1, characterized in that The knob switch comprises a knob and a display screen, and the rotating component and the pressing component are arranged on the knob; The step of switching the adjustment object of the rotating component to the second function in response to the pressing operation triggered by the pressing component specifically includes: In response to a pressing operation triggered by the pressing component, detecting a display interface type of the display screen; The adjustment object of the rotating component is switched to a second function, where the second function is a target switching function configured for the first function and the display interface type.
3. The method according to claim 2, characterized in that The display interface type includes a reading interface, and the display of the adjustment result of the second function in response to the rotation operation triggered by the rotating component specifically includes one of the following items: In the case where the second function is a zoom adjustment function, in response to a rotation operation triggered on the rotating component, displaying reading content whose zoom ratio changes with the change of the rotation angle; In the case where the second function is a movement adjustment function, in response to a rotation operation triggered on the rotating component, a reading content is displayed in which the current display content changes with the change of the rotation angle.
4. The method according to claim 2, characterized in that: The display interface type includes a device control interface; the first function and the second function correspond to different function levels of the same target menu; the switching of the adjustment object of the rotating component to the second function specifically includes one of the following: Switching the adjustment object of the rotating component from the upper level function of the target menu to the lower level function of the target menu; The adjustment object of the rotating component is switched from a lower-level function of the target menu to an upper-level function of the target menu.
5. The method according to claim 2, characterized in that: After the adjustment object of the rotating component is switched to the second function, the method further includes: When the first page is displayed on the display screen, in response to an interface switching operation on the display screen, the display content of the display screen is switched from the first page to the second page, and the adjustment object of the rotating component is switched from the second function to the third function corresponding to the second page; The first page and the second page are display pages with different functions or different interface types.
6. The method according to claim 2, characterized in that The second function includes a function of adjusting target operating state parameters of household electrical appliances; The displaying of the adjustment result for the second function in response to the rotation operation triggered on the rotating component specifically includes: In response to the rotation operation triggered by the rotating component, the target operating state parameter of the household electrical appliance is adjusted, and the adjustment result of the target operating state parameter is dynamically adjusted and displayed on the display screen.
7. A control device for a knob switch, characterized in that: The knob switch includes a rotating component and a pressing component, and the device includes: a switching module, configured to switch the adjustment object of the rotating component to a second function in response to a pressing operation triggered by the pressing component when the adjustment object of the rotating component is the first function; the second function is a target switching function configured for the first function; A display module is used to display the adjustment result of the second function in response to the rotation operation triggered on the rotating component.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
A knob that integrates rotation, pressing, and display functions.
CN209169026U
Rotary knob photoelectric coding controller of foot bath device
CN214540439U
Baking equipment speed control device
CN219166196U
