WO2018149169A1 - 空调参数横向滑动选择方法及系统 - Google Patents

空调参数横向滑动选择方法及系统 Download PDF

Info

Publication number
WO2018149169A1
WO2018149169A1 PCT/CN2017/107694 CN2017107694W WO2018149169A1 WO 2018149169 A1 WO2018149169 A1 WO 2018149169A1 CN 2017107694 W CN2017107694 W CN 2017107694W WO 2018149169 A1 WO2018149169 A1 WO 2018149169A1
Authority
WO
WIPO (PCT)
Prior art keywords
air conditioning
parameter data
preset
conditioning parameter
touch event
Prior art date
Application number
PCT/CN2017/107694
Other languages
English (en)
French (fr)
Inventor
何贤俊
曾春亮
程智戈
刘巧丽
Original Assignee
珠海格力电器股份有限公司
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 珠海格力电器股份有限公司 filed Critical 珠海格力电器股份有限公司
Publication of WO2018149169A1 publication Critical patent/WO2018149169A1/zh

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • 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
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/52Indication arrangements, e.g. displays
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data

Definitions

  • the invention relates to the technical field of air conditioners, in particular to a method and a system for selecting a lateral sliding of an air conditioning parameter.
  • the intelligent air conditioner selects cooling and heating temperature, it is usually controlled by button click and subtract key.
  • button click and subtract key When the user needs to adjust the temperature from 16 degrees to 30 degrees, it is necessary to click the plus or minus button 15 times to reach the user's demand. Degrees, not only the number of operations, but also time-consuming, resulting in poor user experience.
  • a method for lateral sliding selection of an air conditioning parameter comprising:
  • the method further includes:
  • the starting information and the termination message of the touch event are extracted by the touch event
  • step of calculating the rotation angle of the rotation of the ring parameter model according to the start information and the termination information includes:
  • the step of determining, according to the rotation angle and the initial air conditioning parameter data, the first preset air conditioning parameter data selected by the user in the ring parameter model comprises:
  • the step of obtaining the first preset air conditioning parameter data according to the first circular arc interval comprises:
  • the preset air conditioning parameter data corresponding to the first arc area is used as the first preset air conditioning parameter data
  • the preset air conditioning parameter data corresponding to the previous arc area adjacent to the first arc area is used as the first preset air conditioning parameter data.
  • the method further includes:
  • the invention also provides a horizontal sliding selection system for air conditioning parameters, the system comprising:
  • a receiving module configured to receive a touch event input by the user on the horizontal sliding selection interface
  • An initial parameter obtaining module configured to acquire initial air conditioning parameter data displayed in a predetermined area of the horizontal sliding selection interface by a plurality of preset air conditioning parameter data in the ring parameter model;
  • a calculation module configured to extract start information and termination information of the touch event from the touch event, and calculate a rotation angle of the rotation of the ring parameter model according to the start information and the termination information;
  • Determining a display module configured to determine, according to the rotation angle and the initial air conditioning parameter data, first preset air conditioning parameter data selected by a user in a ring parameter model, and the first preset air conditioning parameter data is in the Displayed in the predetermined area.
  • the method further includes:
  • a parameter obtaining module configured to acquire, after receiving a touch event input by the user on the horizontal sliding selection interface, a preset number of preset air conditioning parameter data in the ring parameter model that is adjacent to the predetermined area, and a preset number of preset air conditioning parameter data as the preset preset air conditioning parameter data;
  • a presentation module configured to display the exposed preset air conditioning parameter data on the horizontal sliding selection interface.
  • the computing module includes:
  • An extracting unit configured to extract start information and termination information of the touch event from the touch event
  • a pixel distance determining unit configured to determine, according to the start information and the termination information, a pixel distance that the touch event slides on the horizontal sliding selection interface
  • the rotation angle acquiring unit is configured to obtain a rotation angle of the rotation of the ring parameter model according to a pixel angle correspondence relationship between the pixel distance and a rotation angle of the ring parameter model.
  • the determining the display module comprises:
  • An equal division unit configured to equally divide the ring corresponding to the ring parameter model according to the number of parameters of the preset air conditioning parameter data, to obtain a unit arc angle corresponding to each of the preset air conditioning parameter data, and each The arc interval corresponding to the preset air conditioning parameter data;
  • a selected unit configured to obtain, according to the rotation angle and the unit arc angle, a first arc interval of the ring parameter model selected by the user when the touch event is terminated;
  • the first parameter obtaining unit is configured to obtain the first preset air conditioning parameter data according to the first circular arc interval.
  • the first parameter obtaining unit includes:
  • An offset angle obtaining subunit configured to obtain, when the first preset air conditioning parameter data is obtained according to the first circular arc section, the touch event is terminated according to the rotation angle and the unit arc angle The angle of rotation of the rotation angle across the first arc area;
  • a determining subunit configured to determine whether the offset angle exceeds a preset offset angle; if yes, the first arc The preset air conditioning parameter data corresponding to the area is used as the first preset air conditioning parameter data; if not, the preset air conditioning parameter data corresponding to the previous arc area adjacent to the first arc area is used as the The first preset air conditioning parameter data.
  • system further comprises:
  • a recording calculation module configured to record a start time when the touch event starts and an end time when the touch event is terminated, when the touch event input by the user is received, and according to the start time Calculating a trigger time of the touch event with the termination time;
  • a pixel distance obtaining module configured to obtain, according to the start information and the termination information of the touch event, a pixel distance that the user slides on the horizontal sliding selection interface
  • a slip rate calculation module configured to calculate, according to the pixel distance and the trigger time, a slip rate when the touch event is terminated
  • a determining calculation module configured to determine whether the sliding rate is greater than a preset sliding rate, and when the sliding rate is greater than the preset sliding rate, calculating the sliding rate according to the sliding rate and the preset slowing coefficient The easing angle of the rotation of the ring parameter model when the time is reduced to zero;
  • a display module configured to obtain, according to the easing angle and the rotation angle, second preset air conditioning parameter data corresponding to the termination of the ring parameter model, and the second preset air conditioning parameter data is in the predetermined Displayed in the area.
  • the above-mentioned air conditioning parameter lateral sliding selection method and system the user only needs to slide the finger on the horizontal sliding selection interface to select the air conditioning parameter that meets the demand, and the quick selection and switching of the air conditioning parameter can be realized without multiple button addition and subtraction key operations. Simple, effective and fast, greatly improving the user's operating experience when adjusting air conditioning parameters.
  • FIG. 1 is a schematic flow chart of a method for selecting a lateral sliding of an air conditioning parameter in an embodiment
  • FIG. 2 is a schematic diagram of a ring parameter model of an air conditioning temperature parameter in an embodiment
  • FIG. 3 is a schematic diagram of an interface in which the horizontal sliding selection interface is not touched by a user in one embodiment
  • FIG. 4 is a schematic diagram of an interface in which a horizontal sliding selection interface has been touched by a user in one embodiment
  • FIG. 5 is a schematic diagram of an interface in which a lateral sliding selection interface has been touched by a user in another embodiment
  • FIG. 6 is a top plan view of a ring parameter model in one embodiment
  • FIG. 7 is a schematic flow chart of a method for selecting a lateral sliding of an air conditioning parameter in another embodiment
  • FIG. 8 is a schematic structural view of a horizontal sliding selection system of an air conditioning parameter in an embodiment
  • FIG. 9 is a schematic structural view of a lateral sliding selection system of an air conditioning parameter in another embodiment.
  • a method for laterally sliding selection of an air conditioning parameter comprising the steps of:
  • S400 Determine, according to the rotation angle and the initial air conditioning parameter data, the first preset air conditioning parameter data selected by the user in the ring parameter model, and display the first preset air conditioning parameter data in the predetermined area.
  • the user touches the horizontal sliding selection interface to trigger the touch event.
  • the current display in the predetermined area is Which preset air conditioning parameter data, that is, which preset air conditioning parameter data is currently being used by the user, preferably, only one preset air conditioning parameter data is displayed in the predetermined area, and after obtaining the preset air conditioning parameter data facing the user,
  • the preset air conditioning parameter data of the user is used as the initial air conditioning parameter data; at the same time, the start information and the termination information of the sliding when the user touches the horizontal sliding selection interface are acquired, and the start information and the termination information both include the position information of the user's finger sliding.
  • the rotation angle of the rotation of the ring parameter model is obtained, and finally the first preset air conditioning parameter data selected by the user is determined according to the initial air conditioning parameter data and the rotation angle of the ring parameter model rotation, and the first preset air conditioner is selected.
  • the parameter data is displayed in the predetermined area, thereby completing the user's air conditioning parameters. Select.
  • the user can select the required air conditioning parameter by simply sliding the finger, and the quick selection and switching of the air conditioning parameter can be realized without multiple button addition and subtraction operations, which is simple, effective, and quick. Improves the user experience when selecting air conditioning parameters.
  • the plurality of preset air conditioning parameter data on the ring parameter model may be arranged according to a predetermined position in the model according to parameters required during actual use of the air conditioner.
  • the adjustment range of the air conditioning temperature is between 16 degrees and 30 degrees. If the interval is 1 degree, the ring of the ring parameter model can be equally divided into 15 equal parts, and each temperature is 16, 17 The 18...29, 30 modes are arranged in the ring of the ring parameter model in turn, as shown in Figure 2, so that the user can select the temperature that meets the demand by rotating the ring, and it is easy to find the desired temperature.
  • air conditioning parameters include air conditioning temperature, humidity, wind speed, mode, and so on.
  • the plane where the ring of the ring parameter model lies is perpendicular to the plane where the horizontal sliding selection interface is located, that is, the ring parameter model and the horizontal sliding selection interface are in three-dimensional space.
  • step S100 the method further includes:
  • S100a Obtain a preset number of preset air conditioning parameter data in the ring parameter model that is close to the predetermined area, and use a preset number of preset air conditioning parameter data as the preset preset air conditioning parameter data.
  • the exposed preset air conditioning parameter data is displayed on the horizontal sliding selection interface.
  • FIG. 3 is a user touch.
  • the horizontal sliding selection interface is displayed in front of the horizontal sliding selection interface.
  • FIG. 4 is a schematic diagram of the horizontal sliding selection interface after the user touches the horizontal sliding selection interface, so that the user can select the leftward according to the preset preset air conditioning parameter data. Swipe or swipe right.
  • the preset number may be determined according to actual needs.
  • the preset number of parameters related to the air-conditioning wind speed in FIG. 4 is six.
  • the preset number of parameters related to air conditioning temperature in Figure 5 is two.
  • the horizontal sliding selection interface of the air conditioning temperature parameter can share the same interface with the horizontal sliding selection interface of the air conditioning wind speed parameter.
  • the preset number of preset preset air conditioning parameter data is less than the number of parameters (total number) of the preset air conditioning parameter data, and of course, the preset number may also be equal to the number of parameters.
  • the preset number of exposed preset air conditioning parameter data is symmetric about the initial air conditioning parameter data displayed in the predetermined area.
  • step S300 includes:
  • S320 Determine, according to the start information and the termination information, a pixel distance that the touch event slides on the horizontal sliding selection interface.
  • the start information and the termination information of the touch event when the user selects the interface by sliding the horizontally according to the touch that is, the moving distance of the user's finger on the horizontal sliding selection interface according to the start position and the end position of the touch, in the smart terminal.
  • the displacement distance of the movement is usually defined by the pixel distance
  • the rotation angle of the elemental ring parameter model is obtained according to the pixel angle correspondence between the pixel distance and the rotation angle.
  • the larger the pixel distance that the user slides on the horizontal sliding selection interface the larger the rotation angle of the ring parameter model rotation, so that the user can control the ring parameter model by the pixel distance sliding on the horizontal sliding selection interface.
  • the angle of rotation enables the purpose of quickly selecting the desired air conditioning parameters through the sliding interface.
  • FIG. 6 is a schematic top view of a ring parameter model in an embodiment.
  • the corresponding side of the fan-shaped 40° apex angle, that is, the size of the A side shown in the figure is 210px (pixel).
  • the size of r can be calculated as 288px, that is, the corresponding edge of each sector apex angle is located.
  • the surface needs to extend 288px outward in the 3D space.
  • this value is calculated according to the fixed side length and the number of elements. If the side length or quantity is changed, the value of r needs to be recalculated according to the triangle theorem.
  • you only need to know the size of the side length A and the number of elements you can use the dynamic algorithm to calculate the value of r, based on the mathematical algorithm is Html5+css3's Transforms 3D technology.
  • step S400 includes:
  • S410 Equally divide the ring corresponding to the ring parameter model according to the parameter quantity of the preset air conditioning parameter data, and obtain a unit arc angle corresponding to each preset air conditioning parameter data and an arc corresponding to each preset air conditioning parameter data. Interval.
  • S420 Obtain a first arc interval of the ring parameter model selected by the user when the touch event is terminated according to the rotation angle and the unit arc angle.
  • step S430 further includes:
  • the preset air conditioning parameter data corresponding to the first arc area is used as the first preset air conditioning parameter data.
  • S4321 The preset air conditioning parameter data corresponding to the previous arc area adjacent to the first arc area is used as the first preset air conditioning parameter data.
  • the touch event is terminated.
  • the ring parameter model may just rotate away from the previous arc area, that is, the preset air conditioning parameter data of the user just deviates from the predetermined area, in order to obtain better
  • the user selects the preset air conditioning parameter data, the user needs the current air conditioning parameter data, and the ring parameter model rotates to the next preset air conditioning parameter data, which affects the user's selection experience of the air conditioning parameters.
  • the rotation angle of the ring parameter model is 64°
  • the arc area of the user is the B area
  • the preset air conditioning parameter data corresponding to the B area is the first.
  • Preset air conditioning parameter data if the preset offset angle is set to 4° and the rotation angle obtained according to the pixel distance is 43°, it indicates that the preset air conditioning parameter data facing the user has just deviated from the predetermined area, and will just deviate.
  • the preset air conditioning parameter data that is, the preset air conditioning parameter data corresponding to the A area is used as the first preset air conditioning parameter data.
  • the preset air conditioner corresponding to the B area is selected.
  • the parameter data is used as the first preset air conditioning parameter data, thereby achieving the effect of better sensing the air conditioning parameters selected by the user.
  • the method further includes:
  • S104 Determine whether the sliding rate is greater than a preset sliding rate, and when the sliding rate is greater than the preset sliding rate, calculate an easing angle of the rotation of the ring parameter model when the sliding rate is reduced to zero according to the sliding rate and the preset easing coefficient.
  • step S104 specifically includes:
  • the above embodiment can further improve the user's experience comfort in selecting the air conditioning parameter using the horizontal sliding selection interface, and avoid the sudden feeling of the user instantaneously stopping the interface during rapid sliding.
  • the start time at the start of the touch event is re-recorded.
  • the trigger time exceeds a certain time, it means that the speed when the user slides is not very large, and it is not necessary to perform the above steps.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • a horizontal sliding selection system for air conditioning parameters is further provided.
  • the system includes: a receiving module 100, configured to receive a touch event input by a user on a horizontal sliding selection interface.
  • the initial parameter obtaining module 200 is configured to acquire initial air conditioning parameter data displayed in a predetermined area of the horizontal sliding selection interface of the plurality of preset air conditioning parameter data in the ring parameter model.
  • the calculation module 300 is configured to extract start information and termination information of the touch event from the touch event, and calculate a rotation angle of the rotation of the ring parameter model according to the start information and the termination information.
  • Determining the display module 400 configured to determine, according to the rotation angle and the initial air conditioning parameter data, the number of the first preset air conditioning parameters selected by the user in the ring parameter model According to the data, the first preset air conditioning parameter data is displayed in a predetermined area.
  • the air conditioning parameter lateral sliding selection system allows the user to select the air conditioning parameter that meets the requirement by sliding the finger on the horizontal sliding selection interface, and the quick selection of the air conditioning parameter can be realized without multiple button addition and subtraction operations. And switching, simple, effective and fast, greatly improving the user's operating experience when adjusting air conditioning parameters.
  • the method further includes: a revealing parameter obtaining module 500, configured to acquire, after receiving a touch event input by the user on the horizontal sliding selection interface, a preset number of preset air conditioning parameters in the ring parameter model that are close to the predetermined area. Data, and a preset number of preset air conditioning parameter data is used as the preset preset air conditioning parameter data.
  • the presentation module 600 is configured to display the exposed preset air conditioning parameter data on the horizontal sliding selection interface.
  • the calculation module 300 includes an extraction unit 310 for extracting start information and termination information of the touch event from the touch event.
  • the pixel distance determining unit 320 is configured to determine, according to the start information and the termination information, a pixel distance that the touch event slides on the horizontal sliding selection interface.
  • the rotation angle obtaining unit 330 is configured to obtain a rotation angle of the rotation of the ring parameter model according to a pixel angle correspondence relationship between the pixel distance and the rotation angle of the ring parameter model.
  • the determining display module 400 includes: an aliquoting unit 410, configured to equally divide the ring corresponding to the ring parameter model according to the parameter quantity of the preset air conditioning parameter data, and obtain corresponding data of each preset air conditioning parameter data.
  • the selecting unit 420 is configured to obtain, according to the rotation angle and the unit arc angle, a first arc interval of the ring parameter model selected by the user when the touch event is terminated.
  • the first parameter obtaining unit 430 is configured to obtain first preset air conditioning parameter data according to the first circular arc interval.
  • the first parameter obtaining unit 430 includes: an offset angle acquiring subunit 431, configured to obtain, according to the rotation angle and the unit arc angle, the first preset air conditioning parameter data according to the first arc interval The angle at which the rotation angle slides past the first arc area when the touch event is terminated.
  • the determining subunit 432 is configured to determine whether the offset angle exceeds the preset offset angle; if yes, the preset air conditioning parameter data corresponding to the first arc area is used as the first preset air conditioning parameter data; if not, the The preset air conditioning parameter data corresponding to the previous arc area adjacent to the first arc area is used as the first preset air conditioning parameter data.
  • the system further includes: a record calculation module 101, configured to record a start time and a touch event at the start of the touch event upon receiving the touch event input by the user
  • the termination time at the time of termination, and the trigger time of the touch event is calculated according to the start time and the termination time.
  • the pixel distance obtaining module 102 is configured to obtain a pixel distance that the user slides on the horizontal sliding selection interface according to the start information and the termination information of the touch event.
  • the slip rate calculation module 103 is configured to calculate a slip rate when the touch event is terminated according to the pixel distance and the trigger time.
  • the determining calculation module 104 is configured to determine whether the sliding rate is greater than a preset sliding rate, and when the sliding rate is greater than the preset sliding rate, calculate a sliding rate reduction to zero ring parameter according to the sliding rate and the preset slowing coefficient.
  • the angle of the model's rotation is slow.
  • the display module 105 is configured to obtain second preset air conditioning parameter data corresponding to the termination of the ring parameter model according to the slowing angle and the rotation angle, and display the second preset air conditioning parameter data in a predetermined area.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Physics & Mathematics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

一种空调参数横向滑动选择方法,包括:接收用户在横向滑动选择界面上输入的触摸事件;获取圆环参数模型中的多个预设空调参数数据在横向滑动选择界面的预定区域中显示的初始空调参数数据;由触摸事件中提取触摸事件的起始信息和终止信息,并根据起始信息和终止信息计算出圆环参数模型转动的转动角度;根据转动角度和初始空调参数数据确定用户在圆环参数模型中选中的第一预设空调参数数据,并将第一预设空调参数数据在预定区域中显示出来。还涉及一种空调参数横向滑动选择系统。

Description

空调参数横向滑动选择方法及系统
相关申请
本申请要求2017年02月14日申请的,申请号为201710078267.6,名称为“空调参数横向滑动选择方法及系统”的中国专利申请的优先权,在此将其全文引入作为参考。
技术领域
本发明涉及空调技术领域,特别是涉及空调参数横向滑动选择方法及系统。
背景技术
随着智能家居的普及,用户能够通过智能终端对智能设备的参数进行调节。例如:智能空调选择制冷、制热温度时通常采用按钮点击加减键的方式进行控制,当用户需要将温度从16度调节为30度使,需要点击加减键15次才能达到用户需求的30度,不仅操作次数多而且耗时,导致用户的操作体验性很差。
发明内容
基于此,有必要针对传统采用按钮加减键选择空调参数的方式操作繁琐且耗时的问题,提供一种通过横向滑动方式快速选择空调参数的空调参数横向滑动选择方法及系统。
为达到发明目的,提供一种空调参数横向滑动选择方法,所述方法包括:
接收用户在横向滑动选择界面上输入的触摸事件;
获取圆环参数模型中的多个预设空调参数数据在所述横向滑动选择界面的预定区域中显示的初始空调参数数据;
由所述触摸事件中提取所述触摸事件的起始信息和终止信息,并根据所述起始信息和所述终止信息计算出所述圆环参数模型转动的转动角度;
根据所述转动角度和所述初始空调参数数据确定用户在圆环参数模型中选中的第一预设空调参数数据,并将所述第一预设空调参数数据在所述预定区域中显示出来。
在其中一个实施例中,所述接收用户在横向滑动选择界面上输入的触摸事件的步骤之后,还包括:
获取所述圆环参数模型中靠近所述预定区域的预设数量的预设空调参数数据,并将所述预设数量的预设空调参数数据作为显露预设空调参数数据;
将所述显露预设空调参数数据在所述横向滑动选择界面上展现出来。
在其中一个实施例中,所述由所述触摸事件中提取所述触摸事件的起始信息和终止信
并根据所述起始信息和所述终止信息计算出所述圆环参数模型转动的转动角度的步包括:
由所述触摸事件中提取所述触摸事件的起始信息和终止信息;
根据所述起始信息和所述终止信息确定所述触摸事件在所述横向滑动选择界面上滑动的像素距离;
根据所述像素距离和所述圆环参数模型的转动角度之间的像素角度对应关系获得所述圆环参数模型转动的转动角度。
在其中一个实施例中,所述根据所述转动角度和所述初始空调参数数据确定用户在圆环参数模型中选中的第一预设空调参数数据的步骤包括:
根据所述预设空调参数数据的参数数量将所述圆环参数模型对应的圆环进行均等分,得到每个所述预设空调参数数据对应的单位圆弧角度以及每个所述预设空调参数数据对应的圆弧区间;
根据所述转动角度和所述单位圆弧角度得到所述触摸事件终止时所述用户选中的圆环参数模型的第一圆弧区间;
根据所述第一圆弧区间得到所述第一预设空调参数数据。
在其中一个实施例中,所述根据所述第一圆弧区间得到所述第一预设空调参数数据的步骤包括:
根据所述转动角度和所述单位圆弧角度获得所述触摸事件终止时所述转动角度滑过所述第一圆弧区域的偏移角度;
判断所述偏移角度是否超出预设偏移角度;
若是,则将所述第一圆弧区域对应的预设空调参数数据作为所述第一预设空调参数数据;
若否,则将与所述第一圆弧区域相邻的上一圆弧区域对应的预设空调参数数据作为所述第一预设空调参数数据。
在其中一个实施例中,所述方法还包括:
在接收到所述用户输入的所述触摸事件时,记录所述触摸事件起始时的起始时间和所述触摸事件终止时的终止时间,并根据所述起始时间和所述终止时间计算所述触摸事件的触发时间;
根据所述触摸事件的所述起始信息和所述终止信息得到所述用户在所述横向滑动选择界面上滑动的像素距离;
根据所述像素距离和所述触发时间计算得到所述触摸事件终止时的滑动速率;
判断所述滑动速率是否大于预设滑动速率,并在所述滑动速率大于所述预设滑动速率时,根据所述滑动速率和预设缓动系数计算得到所述滑动速率消减至零时所述圆环参数模型转动的缓动角度;
根据所述缓动角度和所述转动角度得到所述圆环参数模型终止时对应的第二预设空调参数数据,并将所述第二预设空调参数数据在所述预定区域中显示出来。
本发明还提供一种空调参数横向滑动选择系统,所述系统包括:
接收模块,用于接收用户在横向滑动选择界面上输入的触摸事件;
初始参数获取模块,用于获取圆环参数模型中的多个预设空调参数数据在所述横向滑动选择界面的预定区域中显示的初始空调参数数据;
计算模块,用于由所述触摸事件中提取所述触摸事件的起始信息和终止信息,并根据所述起始信息和所述终止信息计算出所述圆环参数模型转动的转动角度;
确定显示模块,用于根据所述转动角度和所述初始空调参数数据确定用户在圆环参数模型中选中的第一预设空调参数数据,并将所述第一预设空调参数数据在所述预定区域中显示出来。
在其中一个实施例中,还包括:
显露参数获取模块,用于在接收用户在横向滑动选择界面上输入的触摸事件之后,获取所述圆环参数模型中靠近所述预定区域的预设数量的预设空调参数数据,并将所述预设数量的预设空调参数数据作为显露预设空调参数数据;
展现模块,用于将所述显露预设空调参数数据在所述横向滑动选择界面上展现出来。
在其中一个实施例中,所述计算模块包括:
提取单元,用于由所述触摸事件中提取所述触摸事件的起始信息和终止信息;
像素距离确定单元,用于根据所述起始信息和所述终止信息确定所述触摸事件在所述横向滑动选择界面上滑动的像素距离;
转动角度获取单元,用于根据所述像素距离和所述圆环参数模型的转动角度之间的像素角度对应关系获得所述圆环参数模型转动的转动角度。
在其中一个实施例中,所述确定显示模块包括:
等分单元,用于根据所述预设空调参数数据的参数数量将所述圆环参数模型对应的圆环进行均等分,得到每个所述预设空调参数数据对应的单位圆弧角度以及每个所述预设空调参数数据对应的圆弧区间;
选中单元,用于根据所述转动角度和所述单位圆弧角度得到所述触摸事件终止时所述用户选中的圆环参数模型的第一圆弧区间;
第一参数获取单元,用于根据所述第一圆弧区间得到所述第一预设空调参数数据。
在其中一个实施例中,所述第一参数获取单元包括:
偏移角度获取子单元,用于在根据所述第一圆弧区间得到所述第一预设空调参数数据时,根据所述转动角度和所述单位圆弧角度获得所述触摸事件终止时所述转动角度滑过所述第一圆弧区域的偏移角度;
判断子单元,用于判断所述偏移角度是否超出预设偏移角度;若是,则将所述第一圆弧 区域对应的预设空调参数数据作为所述第一预设空调参数数据;若否,则将与所述第一圆弧区域相邻的上一圆弧区域对应的预设空调参数数据作为所述第一预设空调参数数据。
在其中一个实施例中,所述系统还包括:
记录计算模块,用于在接收到所述用户输入的所述触摸事件时,记录所述触摸事件起始时的起始时间和所述触摸事件终止时的终止时间,并根据所述起始时间和所述终止时间计算所述触摸事件的触发时间;
像素距离获取模块,用于根据所述触摸事件的所述起始信息和所述终止信息得到所述用户在所述横向滑动选择界面上滑动的像素距离;
滑动速率计算模块,用于根据所述像素距离和所述触发时间计算得到所述触摸事件终止时的滑动速率;
判断计算模块,用于判断所述滑动速率是否大于预设滑动速率,并在所述滑动速率大于所述预设滑动速率时,根据所述滑动速率和预设缓动系数计算得到所述滑动速率消减至零时所述圆环参数模型转动的缓动角度;
显示模块,用于根据所述缓动角度和所述转动角度得到所述圆环参数模型终止时对应的第二预设空调参数数据,并将所述第二预设空调参数数据在所述预定区域中显示出来。
本发明的有益效果包括:
上述空调参数横向滑动选择方法及系统,用户只需在横向滑动选择界面上滑动手指便可选择满足需求的空调参数,无需进行多次按钮加减键操作,就能实现空调参数的快速选择及切换,简便有效快捷,大大提高了用户调节空调参数时的操作体验。
附图说明
图1为一个实施例中的空调参数横向滑动选择方法的流程示意图;
图2为一个实施例中的空调温度参数的圆环参数模型示意图;
图3为一个实施例中的横向滑动选择界面未被用户触摸的界面示意图;
图4为一个实施例中的横向滑动选择界面已被用户触摸的界面示意图;
图5为另一个实施例中的横向滑动选择界面已被用户触摸的界面示意图;
图6为一个实施例中的圆环参数模型的俯视示意图;
图7为另一个实施例中的空调参数横向滑动选择方法的流程示意图;
图8为一个实施例中的空调参数横向滑动选择系统的结构示意图;
图9为另一个实施例中的空调参数横向滑动选择系统的结构示意图。
具体实施方式
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例对本发明空调参数横向滑动选择方法及系统进行进一步详细说明。应当理解,此处所描述的具体实施 例仅用以解释本发明,并不用于限定本发明。
在一个实施例中,如图1所示,提供了一种空调参数横向滑动选择方法,该方法包括以下步骤:
S100,接收用户在横向滑动选择界面上输入的触摸事件。
S200,获取圆环参数模型中的多个预设空调参数数据在横向滑动选择界面的预定区域中显示的初始空调参数数据。
S300,由触摸事件中提取所述触摸事件的起始信息和终止信息,并根据起始信息和终止信息计算出圆环参数模型转动的转动角度。
S400,根据转动角度和初始空调参数数据确定用户在圆环参数模型中选中的第一预设空调参数数据,并将第一预设空调参数数据在预定区域中显示出来。
本实施例中,用户触摸横向滑动选择界面触发触摸事件,为了使圆环参数模型上的多个预设空调参数数据能够跟随用户手指的滑动而滑动,需要先知道当前在预定区域中显示的是哪个预设空调参数数据,即当前正对用户的是哪个预设空调参数数据,优选地,预定区域中只显示一个预设空调参数数据,在获得正对用户的预设空调参数数据后,将正对用户的预设空调参数数据作为初始空调参数数据;同时获取用户触摸横向滑动选择界面时滑动的起始信息和终止信息,起始信息和终止信息中均包含有用户手指滑动的位置信息,这样便可得知用户带动圆环参数模型转动的转动角度,最后根据初始空调参数数据和圆环参数模型转动的转动角度确定用户选中的第一预设空调参数数据,将该第一预设空调参数数据在预定区域中显示出来,从而完成用户对空调参数的选择。在上述用户选择空调参数的过程中,用户只需滑动手指便可选择所需的空调参数,无需进行多次按钮加减键操作,就能实现空调参数的快速选择及切换,简便有效快捷,大大提高了用户选择空调参数时的操作体验。
需要说明的是,圆环参数模型上的多个预设空调参数数据可以根据空调实际使用过程中所需的参数在模型中按照预定的位置进行排布。如:空调温度的调节范围在16度至30度,若以1度为单元间隔,则可以将圆环参数模型的圆环等间隔划分为15等份,且将每个温度以16、17、18…29、30的方式依次排布在圆环参数模型的圆环上,如图2所示,这样用户可以通过转动圆环的方式来选择满足需求的温度,且易于查询到所需的温度。其中,空调参数包括空调温度、湿度、风速、模式等。
值得说明的是,在实际的使用过程中,圆环参数模型的圆环所在的平面与横向滑动选择界面所在的平面为垂直的关系,即圆环参数模型和横向滑动选择界面是在三维空间中实现相应功能的。
在一个实施例中,在步骤S100之后,还包括:
S100a,获取圆环参数模型中靠近预定区域的预设数量的预设空调参数数据,并将预设数量的预设空调参数数据作为显露预设空调参数数据。
S100b,将显露预设空调参数数据在横向滑动选择界面上展现出来。
本实施例是在用户触摸横向滑动选择界面时,横向滑动选择界面上会显示出预定区域附近的多个预设空调参数数据供用户查看,如图3和图4所示,图3为用户触摸横向滑动选择界面之前横向滑动选择界面的显示示意图,图4为用户触摸横向滑动选择界面之后的横向滑动选择界面的显示示意图,这样用户便可根据已显示出的预设空调参数数据来选择向左滑动或是向右滑动。
其中,预设数量可根据实际需要而定,例如:图4中有关空调风速的参数的预设数量为6个。又如:图5中有关空调温度的参数的预设数量为2个。空调温度参数的横向滑动选择界面可以与空调风速参数的横向滑动选择界面共用同一界面。优选地,显露预设空调参数数据的预设数量小于预设空调参数数据的参数数量(总数量),当然,预设数量也可等于参数数量。作为一个优选的实施例,预设数量的显露预设空调参数数据关于预定区域中显示的初始空调参数数据对称。
在一个实施例中,步骤S300包括:
S310,由触摸事件中提取所述触摸事件的起始信息和终止信息。
S320,根据起始信息和终止信息确定触摸事件在横向滑动选择界面上滑动的像素距离。
S330,根据像素距离和所述圆环参数模型的转动角度之间的像素角度对应关系获得圆环参数模型转动的转动角度。
本实施例中,先根据用户触摸横向滑动选择界面时触摸事件的起始信息和终止信息,即根据触摸时的起始位置和终止位置用户手指在横向滑动选择界面上的移动距离,在智能终端的显示界面中,通常以像素距离来限定移动的位移距离,然后根据像素距离与转动角度之间的像素角度对应关系得到元圆环参数模型的转动角度。通常,用户在横向滑动选择界面上滑动的像素距离越大,圆环参数模型转动的转动角度也越大,这样用户可以通过在横向滑动选择界面上滑动的像素距离大小来控制圆环参数模型的转动角度,从而实现通过滑动界面来快速选择所需的空调参数的目的。
为了更清楚地说明本实施例,以下以一具体实施例来进行说明:
如图6所示,图6为一个实施例中的圆环参数模型的俯视示意图,在该圆环参数模型中,包括9个预设空调参数数据,即有9个预设空调参数数据供用户选择(可根据空调实际的空调参数自行定义),从而将圆环参数模型的圆环等分为9等份,这样圆环中每个扇形的角度为360°/9=40°,这里定义每个扇形40°顶角的对应边,即图中所示的A边的大小为210px(像素),根据三角形相关定理,可计算出r的大小为288px,即每个扇形顶角对应边所在的面需要在3D空间中向外伸展288px,当然这个值是根据固定边长和元素数量计算出来的,如果改变了边长或者数量,则需要根据三角形定理重新计算r的值,在构建圆环参数模型的过程中,只需知道边长A的大小及元素数量,便可使用动态算法来计算r的值,其基于的数学算法是 html5+css3的Transforms 3D技术。当用户手指在横向滑动选择界面上滑动126px时,相对于经过了一个边的126/210=60%,这样便可计算得到圆环参数模型的转动角度为40°*60%=24°,即圆环参数模型上的所有预设空调参数数据均应该转动12°,从而实现预设空调参数数据跟随用户手指滑动而转动的效果。
在一个实施例中,步骤S400包括:
S410,根据预设空调参数数据的参数数量将圆环参数模型对应的圆环进行均等分,得到每个预设空调参数数据对应的单位圆弧角度以及每个预设空调参数数据对应的圆弧区间。
S420,根据转动角度和单位圆弧角度得到触摸事件终止时用户选中的圆环参数模型的第一圆弧区间。
S430,根据第一圆弧区间得到第一预设空调参数数据。
本实施例中,在获得圆环参数模型转动的转动角度后,根据转动角度和单位圆弧角度得到圆环参数模型转过的圆弧区间,从而得知触摸事件终止时正对用户的第一圆弧区间,然后将第一圆弧区间对应的第一预设空调参数数据作为用户选中的预设空调参数数据显示出来。更进一步地,步骤S430还包括:
S431,根据转动角度和单位圆弧角度获得触摸事件终止时转动角度滑过第一圆弧区域的偏移角度。
S432,判断所述偏移角度是否超出预设偏移角度;若是,则执行步骤S4320;若否,则执行步骤S4321。
S4320,将第一圆弧区域对应的预设空调参数数据作为第一预设空调参数数据。
S4321,将与第一圆弧区域相邻的上一圆弧区域对应的预设空调参数数据作为第一预设空调参数数据。
当用户手指离开横向滑动选择界面时,触摸事件终止,此时圆环参数模型可能刚转动离开上一圆弧区域,即正对用户的预设空调参数数据刚刚偏离预定区域,为了更好地得到用户最后选择的预设空调参数数据,用户需要的是当前的空调参数数据,而圆环参数模型却转动到了下一预设空调参数数据,影响用户对空调参数的选择体验。
以下结合前述图6中所示的实施例作进一步的解释说明:
当用户在横向滑动选择界面上滑动336px时,得到圆环参数模型的转动角度为64°,此时正对用户的圆弧区域为B区,选择B区对应的预设空调参数数据为第一预设空调参数数据。更进一步地,如果设定预设偏移角度为4°,而根据像素距离得到的转动角度为43°,则说明正对用户的预设空调参数数据刚刚偏离预定区域,此时将刚刚偏离的预设空调参数数据,即A区对应的预设空调参数数据作为第一预设空调参数数据,当然,如果得到的圆环参数模型的转动角度大于44度,则将B区对应的预设空调参数数据作为第一预设空调参数数据,从而达到更好地感应用户所选择的空调参数的效果。
在一个实施例中,参见图7,该方法还包括:
S101,在接收到用户输入的所述触摸事件时,记录触摸事件起始时的起始时间和触摸事件终止时的终止时间,并根据起始时间和终止时间计算触摸事件的触发时间。
S102,根据触摸事件的起始信息和终止信息得到用户在横向滑动选择界面上滑动的像素距离。
S103,根据像素距离和触发时间计算得到触摸事件终止时的滑动速率。
S104,判断滑动速率是否大于预设滑动速率,并在滑动速率大于预设滑动速率时,根据滑动速率和预设缓动系数计算得到滑动速率消减至零时圆环参数模型转动的缓动角度。
S105,根据缓动角度和转动角度得到圆环参数模型终止时对应的第二预设空调参数数据,并将第二预设空调参数数据在预定区域中显示出来。
更进一步地,步骤S104具体包括:
S1040,判断滑动速率是否大于预设滑动速率,若是,则根据滑动速率和预设缓动系数计算得到滑动速率消减至零时的消减时间disTime=v*d/2,其中,v为滑动速率,d为缓动系数,在一个实施例中,d=0.0006。若否,则执行步骤S300。
S1041,根据消减时间和单位圆弧角度的宽度(即扇形顶角对应边的大小)计算得到圆环参数模型转动的缓动角度。即缓动角度=disTime/单位圆弧角度的宽度*单位圆弧角度。在图6所示的实施例中,缓动角度=disTime/210px*40°。
上述实施例能够进一步提高用户使用横向滑动选择界面选择空调参数的体验舒适性,避免出现用户在快速滑动时界面瞬时停止的突兀感。
值得说明的是,在上述实施例中,如果计算得到触发时间超出一定的时间,如300毫秒,则重新记录触摸事件起始时的起始时间。当触发时间超出一定时间时,说明用户滑动时的速率不是很大,此时无需执行上述步骤。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
在一个实施例中,如图8所示,还提供了一种空调参数横向滑动选择系统,该系统包括:接收模块100,用于接收用户在横向滑动选择界面上输入的触摸事件。初始参数获取模块200,用于获取圆环参数模型中的多个预设空调参数数据在横向滑动选择界面的预定区域中显示的初始空调参数数据。计算模块300,用于由触摸事件中提取触摸事件的起始信息和终止信息,并根据起始信息和终止信息计算出圆环参数模型转动的转动角度。确定显示模块400,用于根据转动角度和初始空调参数数据确定用户在圆环参数模型中选中的第一预设空调参数数 据,并将第一预设空调参数数据在预定区域中显示出来。
本实施例中的空调参数横向滑动选择系统,用户只需在横向滑动选择界面上滑动手指便可选择满足需求的空调参数,无需进行多次按钮加减键操作,就能实现空调参数的快速选择及切换,简便有效快捷,大大提高了用户调节空调参数时的操作体验。
在一个实施例中,还包括:显露参数获取模块500,用于在接收用户在横向滑动选择界面上输入的触摸事件之后,获取圆环参数模型中靠近预定区域的预设数量的预设空调参数数据,并将预设数量的预设空调参数数据作为显露预设空调参数数据。展现模块600,用于将显露预设空调参数数据在横向滑动选择界面上展现出来。
在一个实施例中,计算模块300包括:提取单元310,用于由触摸事件中提取触摸事件的起始信息和终止信息。像素距离确定单元320,用于根据起始信息和终止信息确定触摸事件在所述横向滑动选择界面上滑动的像素距离。转动角度获取单元330,用于根据像素距离和圆环参数模型的转动角度之间的像素角度对应关系获得圆环参数模型转动的转动角度。
在一个实施例中,确定显示模块400包括:等分单元410,用于根据预设空调参数数据的参数数量将圆环参数模型对应的圆环进行均等分,得到每个预设空调参数数据对应的单位圆弧角度以及每个预设空调参数数据对应的圆弧区间。选中单元420,用于根据转动角度和单位圆弧角度得到触摸事件终止时用户选中的圆环参数模型的第一圆弧区间。第一参数获取单元430,用于根据第一圆弧区间得到第一预设空调参数数据。
在一个实施例中,第一参数获取单元430包括:偏移角度获取子单元431,用于在根据第一圆弧区间得到第一预设空调参数数据时,根据转动角度和单位圆弧角度获得触摸事件终止时转动角度滑过第一圆弧区域的偏移角度。判断子单元432,用于判断偏移角度是否超出预设偏移角度;若是,则将第一圆弧区域对应的预设空调参数数据作为第一预设空调参数数据;若否,则将与第一圆弧区域相邻的上一圆弧区域对应的预设空调参数数据作为第一预设空调参数数据。
在一个实施例中,如图9所示,系统还包括:记录计算模块101,用于在接收到所述用户输入的所述触摸事件时,记录触摸事件起始时的起始时间和触摸事件终止时的终止时间,并根据所述起始时间和所述终止时间计算所述触摸事件的触发时间。像素距离获取模块102,用于根据触摸事件的起始信息和终止信息得到所述用户在横向滑动选择界面上滑动的像素距离。滑动速率计算模块103,用于根据像素距离和触发时间计算得到触摸事件终止时的滑动速率。判断计算模块104,用于判断所述滑动速率是否大于预设滑动速率,并在滑动速率大于预设滑动速率时,根据滑动速率和预设缓动系数计算得到滑动速率消减至零时圆环参数模型转动的缓动角度。显示模块105,用于根据缓动角度和转动角度得到所述圆环参数模型终止时对应的第二预设空调参数数据,并将第二预设空调参数数据在预定区域中显示出来。
由于此系统解决问题的原理与前述一种空调参数横向滑动选择方法相似,因此该系统的实施 可以参见前述方法的实施,重复之处不再赘述。
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。

Claims (12)

  1. 一种空调参数横向滑动选择方法,其特征在于,所述方法包括:
    接收用户在横向滑动选择界面上输入的触摸事件;
    获取圆环参数模型中的多个预设空调参数数据在所述横向滑动选择界面的预定区域中显示的初始空调参数数据;
    由所述触摸事件中提取所述触摸事件的起始信息和终止信息,并根据所述起始信息和所述终止信息计算出所述圆环参数模型转动的转动角度;
    根据所述转动角度和所述初始空调参数数据确定用户在圆环参数模型中选中的第一预设空调参数数据,并将所述第一预设空调参数数据在所述预定区域中显示出来。
  2. 根据权利要求1所述的空调参数横向滑动选择方法,其特征在于,所述接收用户在横向滑动选择界面上输入的触摸事件的步骤之后,还包括:
    获取所述圆环参数模型中靠近所述预定区域的预设数量的预设空调参数数据,并将所述预设数量的预设空调参数数据作为显露预设空调参数数据;
    将所述显露预设空调参数数据在所述横向滑动选择界面上展现出来。
  3. 根据权利要求1所述的空调参数横向滑动选择方法,其特征在于,所述由所述触摸事件中提取所述触摸事件的起始信息和终止信息,并根据所述起始信息和所述终止信息计算出所述圆环参数模型转动的转动角度的步骤包括:
    由所述触摸事件中提取所述触摸事件的起始信息和终止信息;
    根据所述起始信息和所述终止信息确定所述触摸事件在所述横向滑动选择界面上滑动的像素距离;
    根据所述像素距离和所述圆环参数模型的转动角度之间的像素角度对应关系获得所述圆环参数模型转动的转动角度。
  4. 根据权利要求1所述的空调参数横向滑动选择方法,其特征在于,所述根据所述转动角度和所述初始空调参数数据确定用户在圆环参数模型中选中的第一预设空调参数数据的步骤包括:
    根据所述预设空调参数数据的参数数量将所述圆环参数模型对应的圆环进行均等分,得到每个所述预设空调参数数据对应的单位圆弧角度以及每个所述预设空调参数数据对应的圆弧区间;
    根据所述转动角度和所述单位圆弧角度得到所述触摸事件终止时所述用户选中的圆环参数模型的第一圆弧区间;
    根据所述第一圆弧区间得到所述第一预设空调参数数据。
  5. 根据权利要求4所述的空调参数横向滑动选择方法,其特征在于,所述根据所述第一圆弧区间得到所述第一预设空调参数数据的步骤包括:
    根据所述转动角度和所述单位圆弧角度获得所述触摸事件终止时所述转动角度滑过所述第一圆弧区域的偏移角度;
    判断所述偏移角度是否超出预设偏移角度;
    若是,则将所述第一圆弧区域对应的预设空调参数数据作为所述第一预设空调参数数据;
    若否,则将与所述第一圆弧区域相邻的上一圆弧区域对应的预设空调参数数据作为所述第一预设空调参数数据。
  6. 根据权利要求1至5任一项所述的空调参数横向滑动选择方法,其特征在于,所述方法还包括:
    在接收到所述用户输入的所述触摸事件时,记录所述触摸事件起始时的起始时间和所述触摸事件终止时的终止时间,并根据所述起始时间和所述终止时间计算所述触摸事件的触发时间;
    根据所述触摸事件的所述起始信息和所述终止信息得到所述用户在所述横向滑动选择界面上滑动的像素距离;
    根据所述像素距离和所述触发时间计算得到所述触摸事件终止时的滑动速率;
    判断所述滑动速率是否大于预设滑动速率,并在所述滑动速率大于所述预设滑动速率时,根据所述滑动速率和预设缓动系数计算得到所述滑动速率消减至零时所述圆环参数模型转动的缓动角度;
    根据所述缓动角度和所述转动角度得到所述圆环参数模型终止时对应的第二预设空调参数数据,并将所述第二预设空调参数数据在所述预定区域中显示出来。
  7. 一种空调参数横向滑动选择系统,其特征在于,所述系统包括:
    接收模块(100),用于接收用户在横向滑动选择界面上输入的触摸事件;
    初始参数获取模块(200),用于获取圆环参数模型中的多个预设空调参数数据在所述横向滑动选择界面的预定区域中显示的初始空调参数数据;
    计算模块(300),用于由所述触摸事件中提取所述触摸事件的起始信息和终止信息,并根据所述起始信息和所述终止信息计算出所述圆环参数模型转动的转动角度;
    确定显示模块(400),用于根据所述转动角度和所述初始空调参数数据确定用户在圆环参数模型中选中的第一预设空调参数数据,并将所述第一预设空调参数数据在所述预定区域中显示出来。
  8. 根据权利要求7所述的空调参数横向滑动选择系统,其特征在于,还包括:
    显露参数获取模块(500),用于在接收用户在横向滑动选择界面上输入的触摸事件之后,获取所述圆环参数模型中靠近所述预定区域的预设数量的预设空调参数数据,并将所述预设 数量的预设空调参数数据作为显露预设空调参数数据;
    展现模块(600),用于将所述显露预设空调参数数据在所述横向滑动选择界面上展现出来。
  9. 根据权利要求7所述的空调参数横向滑动选择系统,其特征在于,所述计算模块(300)包括:
    提取单元(310),用于由所述触摸事件中提取所述触摸事件的起始信息和终止信息;
    像素距离确定单元(320),用于根据所述起始信息和所述终止信息确定所述触摸事件在所述横向滑动选择界面上滑动的像素距离;
    转动角度获取单元(330),用于根据所述像素距离和所述圆环参数模型的转动角度之间的像素角度对应关系获得所述圆环参数模型转动的转动角度。
  10. 根据权利要求7所述的空调参数横向滑动选择系统,其特征在于,所述确定显示模块(400)包括:
    等分单元(410),用于根据所述预设空调参数数据的参数数量将所述圆环参数模型对应的圆环进行均等分,得到每个所述预设空调参数数据对应的单位圆弧角度以及每个所述预设空调参数数据对应的圆弧区间;
    选中单元(420),用于根据所述转动角度和所述单位圆弧角度得到所述触摸事件终止时所述用户选中的圆环参数模型的第一圆弧区间;
    第一参数获取单元(430),用于根据所述第一圆弧区间得到所述第一预设空调参数数据。
  11. 根据权利要求10所述的空调参数横向滑动选择系统,其特征在于,所述第一参数获取单元(430)包括:
    偏移角度获取子单元(431),用于在根据所述第一圆弧区间得到所述第一预设空调参数数据时,根据所述转动角度和所述单位圆弧角度获得所述触摸事件终止时所述转动角度滑过所述第一圆弧区域的偏移角度;
    判断子单元(432),用于判断所述偏移角度是否超出预设偏移角度;若是,则将所述第一圆弧区域对应的预设空调参数数据作为所述第一预设空调参数数据;若否,则将与所述第一圆弧区域相邻的上一圆弧区域对应的预设空调参数数据作为所述第一预设空调参数数据。
  12. 根据权利要求7至11任一项所述的空调参数横向滑动选择系统,其特征在于,所述系统还包括:
    记录计算模块(101),用于在接收到所述用户输入的所述触摸事件时,记录所述触摸事件起始时的起始时间和所述触摸事件终止时的终止时间,并根据所述起始时间和所述终止时间计算所述触摸事件的触发时间;
    像素距离获取模块(102),用于根据所述触摸事件的所述起始信息和所述终止信息得到所述用户在所述横向滑动选择界面上滑动的像素距离;
    滑动速率计算模块(103),用于根据所述像素距离和所述触发时间计算得到所述触摸事件终止时的滑动速率;
    判断计算模块(104),用于判断所述滑动速率是否大于预设滑动速率,并在所述滑动速率大于所述预设滑动速率时,根据所述滑动速率和预设缓动系数计算得到所述滑动速率消减至零时所述圆环参数模型转动的缓动角度;
    显示模块(105),用于根据所述缓动角度和所述转动角度得到所述圆环参数模型终止时对应的第二预设空调参数数据,并将所述第二预设空调参数数据在所述预定区域中显示出来。
PCT/CN2017/107694 2017-02-14 2017-10-25 空调参数横向滑动选择方法及系统 WO2018149169A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710078267.6A CN106931590B (zh) 2017-02-14 2017-02-14 空调参数横向滑动选择方法及系统
CN201710078267.6 2017-02-14

Publications (1)

Publication Number Publication Date
WO2018149169A1 true WO2018149169A1 (zh) 2018-08-23

Family

ID=59423087

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/107694 WO2018149169A1 (zh) 2017-02-14 2017-10-25 空调参数横向滑动选择方法及系统

Country Status (2)

Country Link
CN (1) CN106931590B (zh)
WO (1) WO2018149169A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108572765B (zh) * 2018-04-20 2021-03-12 北京硬壳科技有限公司 触控识别方法及装置
CN110554825A (zh) * 2018-06-04 2019-12-10 北京京东尚科信息技术有限公司 选取时段的方法和装置
CN109000340B (zh) * 2018-08-14 2020-03-06 珠海格力电器股份有限公司 电器的控制器及其控制方法
CN110057034B (zh) * 2019-03-27 2021-03-16 青岛海尔空调器有限总公司 空调控制的方法、装置及计算机存储介质
CN112925460A (zh) * 2019-12-05 2021-06-08 佛山市云米电器科技有限公司 家电设备控制方法、移动终端及计算机可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455245A (zh) * 2013-08-20 2013-12-18 华为技术有限公司 微件面积调节的方法及装置
CN103712318A (zh) * 2012-10-09 2014-04-09 Lg电子株式会社 空气调节器的显示装置及其控制方法
JP2014074506A (ja) * 2012-10-02 2014-04-24 Denso Corp 入力装置
CN103870171A (zh) * 2012-12-07 2014-06-18 联想(北京)有限公司 数据处理方法和装置
CN104199612A (zh) * 2014-08-29 2014-12-10 乐视网信息技术(北京)股份有限公司 播放进度调整方法和装置

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7877707B2 (en) * 2007-01-06 2011-01-25 Apple Inc. Detecting and interpreting real-world and security gestures on touch and hover sensitive devices
GB201015720D0 (en) * 2010-09-20 2010-10-27 Gammons Richard Findability of data elements
ES2735273T3 (es) * 2011-05-23 2019-12-17 Huawei Device Co Ltd Método de entrada, dispositivo de entrada y dispositivo terminal
US9222693B2 (en) * 2013-04-26 2015-12-29 Google Inc. Touchscreen device user interface for remote control of a thermostat
US20160328108A1 (en) * 2014-05-10 2016-11-10 Chian Chiu Li Systems And Methods for Displaying Information
CN104020944A (zh) * 2014-05-27 2014-09-03 广州视源电子科技股份有限公司 基于滑块的数据输入方法
MX357098B (es) * 2014-06-16 2018-06-26 Braeburn Systems Llc Realce luminoso para programar un control.
CN105224204B (zh) * 2015-10-27 2019-01-22 网易(杭州)网络有限公司 参数输入方法与装置
CN105955625B (zh) * 2016-04-14 2019-06-14 Oppo广东移动通信有限公司 一种滚动条的显示方法、装置及智能终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014074506A (ja) * 2012-10-02 2014-04-24 Denso Corp 入力装置
CN103712318A (zh) * 2012-10-09 2014-04-09 Lg电子株式会社 空气调节器的显示装置及其控制方法
CN103870171A (zh) * 2012-12-07 2014-06-18 联想(北京)有限公司 数据处理方法和装置
CN103455245A (zh) * 2013-08-20 2013-12-18 华为技术有限公司 微件面积调节的方法及装置
CN104199612A (zh) * 2014-08-29 2014-12-10 乐视网信息技术(北京)股份有限公司 播放进度调整方法和装置

Also Published As

Publication number Publication date
CN106931590B (zh) 2018-10-16
CN106931590A (zh) 2017-07-07

Similar Documents

Publication Publication Date Title
WO2018149169A1 (zh) 空调参数横向滑动选择方法及系统
EP2736016B1 (en) Contour segmentation apparatus and method based on user interaction
US10969949B2 (en) Information display device, information display method and information display program
US20120304114A1 (en) Managing an immersive interface in a multi-application immersive environment
US9582930B2 (en) Target aquisition in a three dimensional building display
US20160110077A1 (en) Snapping of object features via dragging
CN109731329B (zh) 一种针对游戏中虚拟组件的放置位置的确定方法和装置
WO2015117341A1 (zh) 移动终端及其实现单手操作的方法、计算机存储介质
JP2017518553A (ja) 携帯型デバイス上のユーザ操作モードを識別する方法及び携帯型デバイス
KR20160122753A (ko) 어플리케이션 요소의 대체 그래픽 표시의 사전 발생을 통한 입력에 대한 저레이턴시 시각적 응답 및 그래픽 처리 장치 상의 입력 처리
WO2018166156A1 (zh) 一种浏览图像的方法及装置
WO2018019256A1 (zh) 一种虚拟现实系统及其视角调节方法和装置
CN106156369A (zh) 多层级从属数据展示方法和装置
CN110032296B (zh) 终端中虚拟对象的确定方法、装置、终端及存储介质
US20180314488A1 (en) Target position setting apparatus and sound image localization apparatus
CN107632749A (zh) 三维图像视角调整方法、装置、计算机装置及存储介质
WO2017166734A1 (zh) 一种内容选择的方法、装置及终端设备
US9836200B2 (en) Interacting with electronic devices using a single-point gesture
EP2779116B1 (en) Smooth manipulation of three-dimensional objects
KR101593209B1 (ko) 리듬 게임 서비스를 제공하는 게임 시스템 및 게임 방법
CN107335218B (zh) 游戏场景移动方法及装置、存储介质、处理器和终端
CN105955625B (zh) 一种滚动条的显示方法、装置及智能终端
CN111059719B (zh) 一种空调的控制方法、系统、装置、设备及介质
US20160180584A1 (en) Virtual model user interface pad
JPWO2017187629A1 (ja) 情報処理装置、情報処理方法及び情報処理プログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17896696

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17896696

Country of ref document: EP

Kind code of ref document: A1