CN113608666A - Hierarchical control method, device, medium and equipment based on sliding operation - Google Patents

Hierarchical control method, device, medium and equipment based on sliding operation Download PDF

Info

Publication number
CN113608666A
CN113608666A CN202110921598.8A CN202110921598A CN113608666A CN 113608666 A CN113608666 A CN 113608666A CN 202110921598 A CN202110921598 A CN 202110921598A CN 113608666 A CN113608666 A CN 113608666A
Authority
CN
China
Prior art keywords
control
sliding
sliding operation
adjusting
touch screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110921598.8A
Other languages
Chinese (zh)
Inventor
李增旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An International Smart City Technology Co Ltd
Original Assignee
Ping An International Smart City Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An International Smart City Technology Co Ltd filed Critical Ping An International Smart City Technology Co Ltd
Priority to CN202110921598.8A priority Critical patent/CN113608666A/en
Publication of CN113608666A publication Critical patent/CN113608666A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Abstract

The invention provides a hierarchical control method, a hierarchical control device, a hierarchical control medium and hierarchical control equipment based on sliding operation, wherein the method comprises the following steps: receiving a first control instruction generated when a first sliding operation is triggered aiming at a first adjusting control in a touch screen; dividing a hierarchical control area in a target sliding range corresponding to the first adjusting control based on a progress hierarchical rule or a temperature hierarchical rule corresponding to an application scene matched with the touch screen, and generating a second adjusting control for adjusting and controlling the hierarchical control area; receiving a second control instruction generated when a second sliding operation is triggered aiming at a second adjusting control; and determining a target sliding position corresponding to the second adjusting control according to the second control instruction, and calling a target state of the application scene according to the target sliding position. According to the invention, the hierarchical control of the touch screen adjusting control is realized, the rapid and accurate sliding positioning of the target position is realized, the operation is simple and easy, and the user experience is greatly improved.

Description

Hierarchical control method, device, medium and equipment based on sliding operation
Technical Field
The invention relates to the field of display, in particular to a hierarchical control method, a hierarchical control device, a hierarchical control medium and hierarchical control equipment based on sliding operation.
Background
As touch operations are generally applied to more use scenarios, application scenarios involving size control need to be controlled to a certain precise point more quickly, for example, a touch screen of a home appliance such as a new energy automobile and a refrigerator, a progress control of volume and player progress, and when a user performs a progress bar control or other sliding operations on the touch screen, it is often difficult to quickly locate a precise position. How to quickly locate the user to a precise position by controlling the sliding operation of the touch screen is a very important issue at present.
Disclosure of Invention
In view of the above problems, the present invention provides a hierarchical control method, apparatus, medium, and device based on a sliding operation. Through the hierarchical control to the touch-sensitive screen adjustment controlling part, realized quick, accurate slide positioning to the target position, the operation is simple and easy, promotes user experience greatly and feels.
According to a first aspect of the present invention, there is provided a hierarchical control method based on a sliding operation, comprising:
receiving a first control instruction generated when a first sliding operation is triggered aiming at a first adjusting control in a touch screen;
dividing a hierarchical control area in a target sliding range corresponding to the first adjusting control based on a progress hierarchical rule or a temperature hierarchical rule corresponding to the application scene matched with the touch screen, and generating a second adjusting control for adjusting and controlling the hierarchical control area;
receiving a second control instruction generated when a second sliding operation is triggered aiming at the second adjusting control;
and determining a target sliding position corresponding to the second adjusting control according to the second control instruction, and calling a target state of the application scene according to the target sliding position.
Optionally, the receiving a first control instruction generated when a first sliding operation is triggered for a first adjustment control in the touch screen includes:
detecting a first sliding operation triggered by a first adjusting control in a touch screen, and responding to the first sliding operation to synchronously display first sliding data on the touch screen; the first sliding data is application scene state data corresponding to the position of the first sliding operation;
receiving a first control instruction generated when a first sliding operation is completed on a first adjusting control in a touch screen; wherein the first control instruction is used for indicating a target sliding range to which the first sliding operation stop position belongs.
Optionally, the receiving a second control instruction generated when a second sliding operation is triggered for the second adjustment control includes:
detecting a second sliding operation triggered by a second adjusting control in the touch screen, and responding to the second sliding operation to synchronously display second sliding data on the touch screen; the second sliding data is application scene state data corresponding to the position of the second sliding operation;
receiving a second control instruction generated when a second sliding operation is finished on a second adjusting control in the touch screen; and the second control instruction is used for indicating a target sliding position corresponding to the second sliding operation stop position.
Optionally, before receiving a first control instruction generated when a first sliding operation is triggered for a first adjustment control in the touch screen, the method further includes:
determining an application scene matched with the touch screen, determining an assembly control area based on the application scene, and generating a first adjusting control for adjusting and controlling the assembly control area;
receiving a first adjusting control awakening instruction generated when touch operation is triggered on a touch screen, and responding to the first adjusting control awakening instruction to display the first adjusting control in a transverse or longitudinal mode.
Optionally, the generating the first adjustment control for adjusting the assembly control region includes:
dividing the assembly control area into a plurality of unit control areas based on a first grading rule corresponding to the application scene; the first grading rule is a grading rule preset according to scene features of an application scene;
and generating the first adjusting control for regulating and controlling the assembly control area and dividing the scales of the plurality of unit control areas.
Optionally, before the receiving a second control instruction generated when a second sliding operation is triggered for the second adjustment control, the method further includes:
detecting a vertical sliding operation triggered by a touch screen; wherein the sliding vector of the vertical sliding operation is perpendicular to the vector direction of the display plane coordinate system of the sliding vector of the first sliding operation on the touch screen;
if the first adjusting control is displayed transversely, the user directly slides upwards or downwards after finishing the first sliding operation; if the first adjusting control is displayed longitudinally, the user directly slides leftwards or rightwards after finishing the first sliding operation;
and receiving a second adjusting control awakening instruction generated when the vertical sliding operation is completed on the touch screen, and responding to the second adjusting control awakening instruction to display the second adjusting control in a transverse or longitudinal mode.
Optionally, the method further comprises:
if the touch operation aiming at the touch screen is not detected within the preset time, the second adjusting control automatically disappears and/or the first adjusting control is converted into a hidden state.
According to a second aspect of the present invention, there is provided a gradation control apparatus based on a slide operation, comprising:
the first control instruction receiving module is used for receiving a first control instruction generated when a first sliding operation is triggered aiming at a first adjusting control in the touch screen;
the second adjusting control generating module is used for dividing a hierarchical control area in a target sliding range corresponding to the first adjusting control based on a progress hierarchical rule or a temperature hierarchical rule corresponding to the application scene matched with the touch screen and generating a second adjusting control for regulating and controlling the hierarchical control area;
the second control instruction receiving module is used for receiving a second control instruction generated when a second sliding operation is triggered aiming at the second adjusting control;
and the target state calling module is used for determining a target sliding position corresponding to the second adjusting control according to the second control instruction and calling the target state of the application scene according to the target sliding position.
According to a third aspect of the present invention, a computer-readable storage medium is proposed, on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the hierarchical control method based on sliding operation according to any one of the first aspect of the present invention.
According to a fourth aspect of the present invention, a computer device is proposed, which comprises a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the hierarchical control method based on sliding operation according to any one of the first aspect of the present invention.
According to the hierarchical control method, the hierarchical control system, the hierarchical control medium and the hierarchical control equipment based on the sliding operation, a first adjusting control is generated and displayed according to an assembly control range of an application scene matched with a touch screen, a user triggers the first sliding operation through the first adjusting control to generate a first control instruction, a hierarchical control area of a second adjusting control is determined and displayed according to a target sliding range corresponding to the first control instruction, the user triggers the second sliding operation through the second adjusting control to generate a second control instruction, and a target state call is conducted on the application scene according to a target sliding position corresponding to the second control instruction. According to the invention, the touch screen adjusting control in various application scenes is subjected to hierarchical control of different preset rules, so that a user can realize quick and accurate sliding positioning of a target position through simple sliding operation of the touch screen, and the adjusting efficiency and the product use experience of the user are greatly improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart illustrating a hierarchical control method based on a sliding operation according to an embodiment of the present invention;
FIG. 2 illustrates a schematic diagram of a first adjustment control and a first sliding operation provided by an embodiment of the invention;
FIG. 3 illustrates a schematic diagram of a second adjustment control and a second sliding operation provided by an embodiment of the invention;
fig. 4 is a schematic structural diagram of a hierarchical control device based on a sliding operation according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a hierarchical control device based on sliding operation according to another embodiment of the present invention;
fig. 6 shows a physical structure diagram of a computer device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
An embodiment of the present invention provides a hierarchical control method based on a sliding operation, as shown in fig. 1, the method may include at least the following steps S101 to S104:
step S101, receiving a first control instruction generated when a first sliding operation is triggered aiming at a first adjusting control in a touch screen.
The touch screen in the embodiment of the invention can be applied to a plurality of scenes of schedule adjustment or temperature adjustment, for example, an automobile adjusts the temperature, the sound intensity, the alarm clock countdown, the cruising speed and the like through the adjusting control in the touch screen; the intelligent home controls the brightness of an electric lamp, the indoor temperature, the refrigerator temperature and the like through an adjusting control in the touch screen; the adjusting control which can be frequently used in the smart phone controls the sound size, the video progress and the like.
In practical application, the application scene can be preset according to actual needs, which is not limited by the invention.
Fig. 2 is a schematic diagram of a first adjustment control in a touch screen. When the user needs to call the state of the preset application, the first adjusting control can be slid through the touch screen, the sliding operation of the user on the first adjusting control in the touch screen is used as the first sliding operation, after the first sliding operation is completed, a first control instruction is generated, and the first control instruction is used for indicating a target sliding range to which the stop position of the first sliding operation belongs.
Further, before receiving a first control instruction generated when a first sliding operation is triggered for a first adjustment control in the touch screen, the first adjustment control needs to be generated according to an application scene of the touch screen, specifically, an assembly control area can be determined based on the application scene by determining the application scene matched with the touch screen, and the first adjustment control for regulating and controlling the assembly control area is generated; and receiving a first adjusting control awakening instruction generated when touch operation is triggered on the touch screen, and responding to the first adjusting control awakening instruction to display the first adjusting control in a transverse or longitudinal mode.
For a certain application scenario, the adjustment range of the first adjustment control is certain, that is, the size of the assembly control area is certain. For example, for video playing on a smart phone, the video duration is the size of the assembly control area; for air conditioning temperatures in smart homes, the assembly control range is typically-5 ℃ to 43 ℃. The control range of the first adjusting control is the range of the assembly control area.
In different application scenes, the display modes of the first adjusting control can be different, the first adjusting control in some application scenes is directly displayed on the touch screen, and a user can directly perform sliding operation without waking up; in some application scenarios, a user often needs to manually wake up the adjustment control, for example, the adjustment control often used by the smartphone controls the sound size, the video progress, and the like. Therefore, before the user adjusts the first adjustment control, the user needs to wake up the first adjustment control. When the first adjusting control is not automatically displayed on the touch screen, the user can wake up the first adjusting control in a mode of touching the screen and display the first adjusting control on the touch screen for subsequent operation.
Further, the first adjusting control is displayed horizontally or vertically, and specifically, the first adjusting control can be controlled to be displayed horizontally or vertically by adapting to the size of the touch screen and/or an application scene matched with the touch screen.
For different application scenarios, the first adjustment control may be divided into a landscape or a portrait presentation. For a specific application scene, the display mode of the first adjusting control can be selectively displayed through a customary display mode adapted to the specific application scene, a user's use habit or the size of the touch screen. For example, when a user watches a video on a smart phone, a first horizontal adjusting control can be set for adjusting the progress of the video; for the video volume, a longitudinal first adjusting control can be set for adjusting, and the display mode of the first adjusting control can also be regularly preset.
In practical application, the display rule of the first adjustment control can be preset according to practical requirements, which is not limited by the invention.
Further, a first adjusting control for adjusting and controlling the assembly control area is generated, and the assembly control area can be divided into a plurality of unit control areas according to a first grading rule corresponding to an application scene; and generating a first adjusting control for adjusting and controlling the assembly control area and dividing the scales of the unit control areas.
The first grading rule is a grading rule preset according to the scene characteristics of the application scene. For different application scenes, the assembly control area corresponding to the first adjusting control is different. For example, the length of a video watched by a user on a smart phone is 10 minutes, that is, the total control area in the scene is 0min to 10min, and for the application scene, the rule may be preset to divide a plurality of unit control areas according to minutes, that is, the unit control areas are 0min to 1min, 1min to 2min, and 2min to 3min. And generating a first adjusting control according to the unit control area and the assembly control area, wherein the total length is 0min-10min, and each unit is 1min, as shown in fig. 2, the display of the first adjusting control can be divided into scales according to each unit control area, and the scales are marked with corresponding scale data and units. For another example, the general adjustment range of the temperature of the air conditioner in the smart home is-5 ℃ to 43 ℃, for the application scenario, the rule can be preset to divide the unit control area according to every 10 ℃, that is, the unit control area is-5 ℃ to 0 ℃, 0 ℃ to 10 ℃, 10 ℃ to 20 ℃, 40 ℃ to 43 ℃, the total length of the generated first adjustment control is-5 ℃ to 43 ℃, and 6 unit control areas are total.
By dividing and displaying the unit control area of the assembly control area, the real-time data of the sliding position can be judged by a user when the user performs the first sliding operation, and the adjustment operation of the user is facilitated.
In practical applications, the first classification rule may be preset according to actual requirements, which is not limited in the present invention.
Further, a first control instruction generated when a first sliding operation is triggered aiming at a first adjusting control in the touch screen is received, and specifically, first sliding data can be synchronously displayed on the touch screen in response to the first sliding operation by detecting the first sliding operation triggered aiming at the first adjusting control in the touch screen; receiving a first control instruction generated when a first sliding operation is completed on a first adjusting control in a touch screen; the first control instruction is used for indicating a target sliding range to which the first sliding operation stop position belongs.
The first sliding data is application scene state data corresponding to the position of the first sliding operation. When the user slides the position of the first adjusting control, the touch screen can perform real-time detection on the sliding position according to the sliding operation of the user, and display the sliding data of the touch screen of the user in real time. As shown in fig. 2, an arrow may indicate a first sliding operation performed by the user on the first adjustment control, and the sliding data may be displayed in real time according to the sliding operation of the user, that is, when the finger of the user slides to a position in the first adjustment control corresponding to 35min, a sliding data prompt of 35min may be automatically displayed below the first adjustment control. The user may refer to the slide data prompt to approach the target slide range desired to be adjusted. When the user slides to the target sliding range, the user can release his hand or slide his fingers to other areas far away from the first adjusting control, at this time, a first control instruction is generated according to the operation of the user sliding to the area close to the target sliding range, and the position where the sliding operation of the user finally appears on the first adjusting control can be obtained through the first control instruction, namely the target sliding range close to the user and desired to be adjusted.
And S102, dividing a hierarchical control area in a target sliding range corresponding to the first adjusting control based on a progress hierarchical rule or a temperature hierarchical rule corresponding to the application scene matched with the touch screen, and generating a second adjusting control for adjusting and controlling the hierarchical control area.
And the hierarchical control area is a part of the control area where the target sliding range corresponding to the first adjusting control is located. That is, when the user slides the first adjustment control to the position close to the target sliding position, a first control instruction is generated, and the target sliding range which the user wants to adjust is determined according to the first control instruction. And determining a grading control area according to a preset progress grading rule or a preset temperature grading rule. Namely, a part of control area in a first adjusting control to which a target sliding range selected by a user belongs is judged according to a first control instruction, namely the control area is a hierarchical control area, a second adjusting control for hierarchical control is generated by utilizing the hierarchical control area, the control area of the second adjusting control is a hierarchical control area, and the second adjusting control refines an adjusting unit of the hierarchical control area.
In the embodiment of the invention, the application scene matched with the touch screen can be divided into the progress regulation and the temperature regulation, so that the progress grading rule and the temperature grading rule can be preset, the size of the grading control area can be divided, and when the target sliding range corresponding to the first control instruction falls between certain unit control areas, the unit control areas can be used as the grading control areas; for example, the length of a video watched by a user on a smart phone is 10 minutes, and a target sliding range corresponding to a first control instruction issued by the user is 7-8 min, namely a hierarchical control area is 7-8 min; when the target sliding range corresponding to the first control instruction issued by the user is just the unit control area boundary, the front and rear unit control areas of the unit control area boundary are used as the hierarchical control area; for example, if the target sliding range corresponding to the first control instruction issued by the user is just 7min, 6min to 8min is taken as the hierarchical control area. The generated total length of the first adjusting control is the length of the grading control area.
And step S103, receiving a second control instruction generated when the second sliding operation is triggered aiming at the second adjusting control.
When the touch screen displays the second adjusting control, the user can further adjust through the second adjusting control, and when the touch screen receives a second control instruction sent by the user, the accurate target sliding position corresponding to the second control instruction is determined.
Further, before receiving a second control instruction generated when a user triggers a second sliding operation for a second adjustment control, the second adjustment control needs to be awakened first, and specifically, the vertical sliding operation triggered for the touch screen can be detected; if the first adjusting control is displayed transversely, the user directly slides upwards or downwards after finishing the first sliding operation; if the first adjusting control is displayed longitudinally, the user directly slides leftwards or rightwards after finishing the first sliding operation; and receiving a second adjusting control awakening instruction generated when the vertical sliding operation is completed on the touch screen, and responding to the second adjusting control awakening instruction to display the second adjusting control.
Wherein the sliding vector of the vertical sliding operation is perpendicular to the vector direction of the display plane coordinate system of the sliding vector of the first sliding operation on the touch screen.
When the final position of the first sliding operation of the user appears on the first adjusting control, namely the sliding operation of the first adjusting control is completed, the second adjusting control can be automatically awakened, and the user can also manually send an instruction to generate the second adjusting control so as to perform fine adjustment. As shown in fig. 3, the manner of manually waking up the second adjusting control may be that, when the user completes the sliding operation of the first adjusting control, the user does not need to loosen his hand, and directly slides along the vertical direction of the first adjusting control to generate a second adjusting control wake-up instruction, and the system causes the second adjusting control to be displayed on the touch screen for subsequent adjustment by recognizing the second adjusting control wake-up instruction. Specifically, when the user performs the vertical sliding operation, the sliding direction may be preset according to the habit of the user. When the second adjustment control is displayed, the second adjustment control may be displayed in a horizontal or vertical manner by referring to the display manner of the first adjustment control, or may be displayed in a manner of setting a curve, and the like, which is not limited in the present invention.
Further, a second control instruction generated when a second sliding operation is triggered for a second adjusting control is received, and specifically, second sliding data can be synchronously displayed on the touch screen in response to the second sliding operation by detecting the second sliding operation triggered for the second adjusting control in the touch screen; the second sliding data is application scene state data corresponding to the position of the second sliding operation; receiving a second control instruction generated when a second sliding operation is finished on a second adjusting control in the touch screen; and the second control instruction is used for indicating a target sliding position corresponding to the second sliding operation stop position.
The second control command is received in the same manner as the first control command. Fig. 3 is a schematic diagram of a second adjustment control and a second sliding operation, where when the second adjustment control is displayed on the touch screen, a user may slide the second adjustment control, and the touch screen may perform real-time detection of a sliding position according to the sliding operation of the user and display sliding data of a touch screen of the user in real time. The user can refer to the slide data to approach the target slide position desired to be adjusted. When the user slides to the target sliding position, the user can perform the operation of releasing the hand, at this time, a second control instruction is generated according to the operation of the user sliding to the target sliding position, and the position where the sliding operation of the user finally appears on the second adjusting control can be obtained through the second control instruction, namely the target sliding position which the user wants to adjust.
And step S104, determining a target sliding position corresponding to the second adjusting control according to the second control instruction, and calling a target state of the application scene according to the target sliding position.
That is to say, when the second control instruction is received, the corresponding target sliding position is determined by identifying the second control instruction, and the target state call is performed on the preset application according to the target sliding position, wherein the target data corresponding to the target sliding position on the second adjusting control is the target adjusting data of the preset application. For example, when the user watches the video through the smartphone, the target sliding position corresponding to the issued second control instruction is 8 minutes and 30 seconds, and the video progress is adjusted to start playing from 8 minutes and 30 seconds according to the target adjustment data. For another example, the temperature of the refrigerating chamber of the refrigerator in the smart home may be set according to a second control instruction of 5.5 ℃ issued by the user through sliding the second adjusting control, and so on. For another example, if the user wants to adjust the temperature of the air conditioner in the smart home to 25 ℃, the first adjusting control may be first slid to approximately 20 ℃ to 30 ℃ by sliding the touch screen, at this time, the second adjusting control pops up, the second adjusting control may refine 11 integers of different temperatures between 20 ℃ and 30 ℃, the user may slide the second adjusting control to 25 ℃ by sliding the touch screen, and the target sliding position of the second control instruction issued by the user, which is detected by the touch screen, is 25 ℃, so as to control the target temperature of the air conditioner to be adjusted to 25 ℃.
Further, after the user issues a second control instruction through the sliding operation of the second adjusting control, if the touch operation on the touch screen is not detected within the preset time, the second adjusting control automatically disappears, and the first adjusting control is converted into a hidden state; when the user awakens the first adjusting control through touch screen operation or does not detect touch operation on the touch screen within preset time after the first control instruction is issued through first sliding operation, the first adjusting control is converted into a hidden state.
That is to say, the user can be after accomplishing application state adjustment, and the touch-sensitive screen automated inspection does not have the touch state, and at this moment, the second is adjusted the controlling piece and is disappeared automatically, and the first is adjusted the controlling piece and is hidden automatically. If the user needs to adjust the application state again, the first adjustment control can be awakened again through the touch screen so as to carry out subsequent operation.
According to the hierarchical control method based on the sliding operation, the first adjusting control is generated and displayed according to the assembly control range of the application scene matched with the touch screen, the user triggers the first sliding operation through the first adjusting control to generate the first control instruction, the hierarchical control area of the second adjusting control is determined and displayed based on the target sliding range corresponding to the first control instruction, the user triggers the second sliding operation through the second adjusting control to generate the second control instruction, and the target state calling is carried out on the application scene according to the target sliding position corresponding to the second control instruction. The realization is to the controlling part that relates to size regulation in the multiple application scene carry out rapidly, accurate manual control, and to the regulation easy operation of applied state, touch awaken up gently, the product use experience who has promoted regulation efficiency and user greatly feels, can also rationally predetermine regulation controlling part control range and hierarchical regional size according to the applied characteristics of difference, operation flexibility and convenient degree have been improved, set up regulation controlling part display mode through the diversification, make it not only adapt to user's custom, the screen size, can also increase aesthetic design in a flexible way.
Further, as a specific implementation of fig. 1, an embodiment of the present invention provides a hierarchical control apparatus based on a sliding operation, as shown in fig. 4, the apparatus may include: a first control instruction receiving module 410, a second adjustment control generating module 420, a second control instruction receiving module 430 and a target state calling module 440.
The first control instruction receiving module 410 may be configured to receive a first control instruction generated when a first sliding operation is triggered for a first adjustment control in the touch screen.
The second adjusting control generating module 420 may be configured to divide a hierarchical control area within a target sliding range corresponding to the first adjusting control based on a progress hierarchical rule or a temperature hierarchical rule corresponding to an application scenario matched by the touch screen, and generate a second adjusting control for adjusting and controlling the hierarchical control area.
The second control instruction receiving module 430 may be configured to receive a second control instruction generated when a second sliding operation is triggered for a second adjustment control.
The target state invoking module 440 may be configured to determine a target sliding position corresponding to the second adjusting control according to the second control instruction, and invoke the target state of the application scene according to the target sliding position.
Optionally, the first control instruction receiving module 410 may be further configured to detect a first sliding operation triggered for a first adjustment control in the touch screen, and synchronously display first sliding data on the touch screen in response to the first sliding operation; the first sliding data is application scene state data corresponding to the position of the first sliding operation;
receiving a first control instruction generated when a first sliding operation is completed on a first adjusting control in a touch screen; the first control instruction is used for indicating a target sliding range to which the first sliding operation stop position belongs.
Optionally, the second control instruction receiving module 430 may be further configured to detect a second sliding operation triggered for a second adjustment control in the touch screen, and respond to the second sliding operation to synchronously display second sliding data on the touch screen; the second sliding data is application scene state data corresponding to the position of the second sliding operation;
receiving a second control instruction generated when a second sliding operation is finished on a second adjusting control in the touch screen; the second control instruction is used for indicating a target sliding position to which the second sliding operation stop position belongs.
Optionally, as shown in fig. 5, the hierarchical control device based on the sliding operation according to the embodiment of the present invention may further include: a first adjustment control generation module 450, a second adjustment control wake-up module 460, and an adjustment control hiding module 470.
The first adjusting control generating module 450 may be configured to determine an application scene matched with the touch screen, determine an assembly control area based on the application scene, and generate a first adjusting control for adjusting the assembly control area;
receiving a first adjusting control awakening instruction generated when touch operation is triggered on the touch screen, and responding to the first adjusting control awakening instruction to display the first adjusting control in a transverse or longitudinal mode;
dividing the assembly control area into a plurality of unit control areas based on a first grading rule corresponding to an application scene; the first grading rule is a grading rule preset according to the scene characteristics of the application scene;
and generating a first adjusting control for adjusting and controlling the assembly control area and dividing the scales of the unit control areas.
A second adjustment control wake-up module 460, which may be configured to detect a vertical sliding operation triggered for the touch screen; the sliding vector of the vertical sliding operation is vertical to the vector direction of a display plane coordinate system of the sliding vector of the first sliding operation on the touch screen;
if the first adjusting control is displayed transversely, the user directly slides upwards or downwards after finishing the first sliding operation; if the first adjusting control is displayed longitudinally, the user directly slides leftwards or rightwards after finishing the first sliding operation;
and receiving a second adjusting control awakening instruction generated when the vertical sliding operation is completed on the touch screen, and responding to the second adjusting control awakening instruction to display the second adjusting control in a transverse or longitudinal mode.
The adjustment control hiding module 470 may be configured to automatically disappear and/or the first adjustment control is converted into a hidden state when the touch operation on the touch screen is not detected within the preset time.
It should be noted that other corresponding descriptions of the functional modules related to the hierarchical control device based on sliding operation provided in the embodiment of the present invention may refer to the corresponding description of the method shown in fig. 1, and are not described herein again.
Based on the method shown in fig. 1, correspondingly, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the hierarchical control method based on sliding operation according to any of the embodiments.
Based on the above embodiments of the method shown in fig. 1 and the system shown in fig. 4, an embodiment of the present invention further provides an entity structure diagram of a computer device, as shown in fig. 6, the computer device may include a communication bus, a processor, a memory, and a communication interface, and may further include an input/output interface and a display device, where the functional units may complete communication with each other through the bus. The memory stores computer programs, and the processor is used for executing the programs stored in the memory and executing the steps of the hierarchical control method based on the sliding operation in the embodiment.
It is clear to those skilled in the art that the specific working processes of the above-described systems, devices, modules and units may refer to the corresponding processes in the foregoing method embodiments, and for the sake of brevity, further description is omitted here.
In addition, the functional units in the embodiments of the present invention may be physically independent of each other, two or more functional units may be integrated together, or all the functional units may be integrated in one processing unit. The integrated functional units may be implemented in the form of hardware, or in the form of software or firmware.
Those of ordinary skill in the art will understand that: the integrated functional units, if implemented in software and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computing device (e.g., a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention when the instructions are executed. And the aforementioned storage medium includes: u disk, removable hard disk, Read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disk, and other various media capable of storing program code.
Alternatively, all or part of the steps of implementing the foregoing method embodiments may be implemented by hardware (such as a computing device, e.g., a personal computer, a server, or a network device) associated with program instructions, which may be stored in a computer-readable storage medium, and when the program instructions are executed by a processor of the computing device, the computing device executes all or part of the steps of the method according to the embodiments of the present invention.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments can be modified or some or all of the technical features can be equivalently replaced within the spirit and principle of the present invention; such modifications or substitutions do not depart from the scope of the present invention.

Claims (10)

1. A hierarchical control method based on a sliding operation is characterized by comprising the following steps:
receiving a first control instruction generated when a first sliding operation is triggered aiming at a first adjusting control in a touch screen;
dividing a hierarchical control area in a target sliding range corresponding to the first adjusting control based on a progress hierarchical rule or a temperature hierarchical rule corresponding to the application scene matched with the touch screen, and generating a second adjusting control for adjusting and controlling the hierarchical control area;
receiving a second control instruction generated when a second sliding operation is triggered aiming at the second adjusting control;
and determining a target sliding position corresponding to the second adjusting control according to the second control instruction, and calling a target state of the application scene according to the target sliding position.
2. The method of claim 1, wherein receiving a first control instruction generated when a first sliding operation is triggered for a first adjustment control in the touch screen comprises:
detecting a first sliding operation triggered by a first adjusting control in a touch screen, and responding to the first sliding operation to synchronously display first sliding data on the touch screen; the first sliding data is application scene state data corresponding to the position of the first sliding operation;
receiving a first control instruction generated when a first sliding operation is completed on a first adjusting control in a touch screen; wherein the first control instruction is used for indicating a target sliding range to which the first sliding operation stop position belongs.
3. The method of claim 1, wherein receiving a second control instruction generated when a second sliding operation is triggered for the second adjustment control comprises:
detecting a second sliding operation triggered by a second adjusting control in the touch screen, and responding to the second sliding operation to synchronously display second sliding data on the touch screen; the second sliding data is application scene state data corresponding to the position of the second sliding operation;
receiving a second control instruction generated when a second sliding operation is finished on a second adjusting control in the touch screen; and the second control instruction is used for indicating a target sliding position corresponding to the second sliding operation stop position.
4. The method of claim 1, wherein prior to receiving the first control instruction generated when the first sliding operation is triggered for the first adjustment control in the touch screen, the method further comprises:
determining an application scene matched with the touch screen, determining an assembly control area based on the application scene, and generating a first adjusting control for adjusting and controlling the assembly control area;
receiving a first adjusting control awakening instruction generated when touch operation is triggered on a touch screen, and responding to the first adjusting control awakening instruction to display the first adjusting control in a transverse or longitudinal mode.
5. The method of claim 4, wherein the generating the first adjustment control for regulating the assembly control area comprises:
dividing the assembly control area into a plurality of unit control areas based on a first grading rule corresponding to the application scene; the first grading rule is a grading rule preset according to scene features of an application scene;
and generating the first adjusting control for regulating and controlling the assembly control area and dividing the scales of the plurality of unit control areas.
6. The method of claim 4, wherein prior to receiving a second control instruction generated when a second sliding operation is triggered for the second adjustment control, the method further comprises:
detecting a vertical sliding operation triggered by a touch screen; wherein the sliding vector of the vertical sliding operation is perpendicular to the vector direction of the display plane coordinate system of the sliding vector of the first sliding operation on the touch screen;
if the first adjusting control is displayed transversely, the user directly slides upwards or downwards after finishing the first sliding operation; if the first adjusting control is displayed longitudinally, the user directly slides leftwards or rightwards after finishing the first sliding operation;
and receiving a second adjusting control awakening instruction generated when the vertical sliding operation is completed on the touch screen, and responding to the second adjusting control awakening instruction to display the second adjusting control in a transverse or longitudinal mode.
7. The method according to any one of claims 1-6, further comprising:
if the touch operation aiming at the touch screen is not detected within the preset time, the second adjusting control automatically disappears and/or the first adjusting control is converted into a hidden state.
8. A gradation control apparatus based on a slide operation, characterized by comprising:
the first control instruction receiving module is used for receiving a first control instruction generated when a first sliding operation is triggered aiming at a first adjusting control in the touch screen;
the second adjusting control generating module is used for dividing a hierarchical control area in a target sliding range corresponding to the first adjusting control based on a progress hierarchical rule or a temperature hierarchical rule corresponding to the application scene matched with the touch screen and generating a second adjusting control for regulating and controlling the hierarchical control area;
the second control instruction receiving module is used for receiving a second control instruction generated when a second sliding operation is triggered aiming at the second adjusting control;
and the target state calling module is used for determining a target sliding position corresponding to the second adjusting control according to the second control instruction and calling the target state of the application scene according to the target sliding position.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the hierarchical control method based on sliding operations according to any one of claims 1 to 7.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the hierarchical control method based on sliding operation according to any one of claims 1 to 7 when executing the computer program.
CN202110921598.8A 2021-08-11 2021-08-11 Hierarchical control method, device, medium and equipment based on sliding operation Pending CN113608666A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110921598.8A CN113608666A (en) 2021-08-11 2021-08-11 Hierarchical control method, device, medium and equipment based on sliding operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110921598.8A CN113608666A (en) 2021-08-11 2021-08-11 Hierarchical control method, device, medium and equipment based on sliding operation

Publications (1)

Publication Number Publication Date
CN113608666A true CN113608666A (en) 2021-11-05

Family

ID=78308310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110921598.8A Pending CN113608666A (en) 2021-08-11 2021-08-11 Hierarchical control method, device, medium and equipment based on sliding operation

Country Status (1)

Country Link
CN (1) CN113608666A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488417A (en) * 2008-12-18 2014-01-01 日本电气株式会社 Slide bar display control device and slide bar display control method
CN104090705A (en) * 2014-07-28 2014-10-08 联想(北京)有限公司 Progress adjusting method and electronic device
CN107132972A (en) * 2017-04-07 2017-09-05 广东欧珀移动通信有限公司 Adjusting method, device and the mobile terminal of progress value
CN108062196A (en) * 2017-12-14 2018-05-22 维沃移动通信有限公司 The adjusting method and mobile terminal of a kind of playing progress rate
US20190155491A1 (en) * 2016-06-28 2019-05-23 Alibaba Group Holding Limited Controlling method and device for slider control, and slider selector

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488417A (en) * 2008-12-18 2014-01-01 日本电气株式会社 Slide bar display control device and slide bar display control method
CN104090705A (en) * 2014-07-28 2014-10-08 联想(北京)有限公司 Progress adjusting method and electronic device
US20190155491A1 (en) * 2016-06-28 2019-05-23 Alibaba Group Holding Limited Controlling method and device for slider control, and slider selector
CN107132972A (en) * 2017-04-07 2017-09-05 广东欧珀移动通信有限公司 Adjusting method, device and the mobile terminal of progress value
CN108062196A (en) * 2017-12-14 2018-05-22 维沃移动通信有限公司 The adjusting method and mobile terminal of a kind of playing progress rate

Similar Documents

Publication Publication Date Title
JP6715301B2 (en) Information processing method and device, program, storage medium, electronic device
CN109087239B (en) Face image processing method and device and storage medium
US9092053B2 (en) Systems and methods for adjusting a display based on the user's position
CN106816134B (en) Display frame rate adjusting method and device and terminal equipment
RU2636130C2 (en) Method and device for displaying operating mode of device
CN106765971B (en) Air conditioner control method and device
JP2022534305A (en) Air conditioner control method, device, air conditioner and storage medium
EP3553400B1 (en) Air conditioner adjusting method and device, and storage medium
US20240054808A1 (en) Intelligent mirror and intelligent mirror awakening method
US11258958B2 (en) Image capture
CN108230979B (en) Display parameter adjusting method of display screen, electronic equipment and storage medium
WO2021237425A1 (en) Screen brightness adjustment method, terminal and storage medium
US10671036B2 (en) Control method, electronic device, and electronic apparatus
CN110460900B (en) Volume adjusting method of display device, display device and storage medium
CN113608666A (en) Hierarchical control method, device, medium and equipment based on sliding operation
JP2014215888A (en) User interface device of computer, method for controlling parameter thereof, and computer program
CN110827789A (en) Music generation method, electronic device and computer-readable storage medium
CN111722693B (en) Power consumption adjusting method and device, storage medium, server and terminal
KR102536267B1 (en) Electronic device and method for displaying slider track and slider
CN109084436B (en) Air conditioner control method, air conditioner and computer readable storage medium
CN111161745A (en) Awakening method, device, equipment and medium for intelligent equipment
WO2018098992A1 (en) Method and device for screen control and computer storage medium
CN113375311A (en) Method, device, medium and electronic equipment for controlling FCU tail end
CN110057059B (en) Method and device for controlling air conditioner fan and computer storage medium
JP5676959B2 (en) Information processing apparatus and control method thereof

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