CN106931590B - Air conditioner parameter transverse sliding selection method and system - Google Patents
Air conditioner parameter transverse sliding selection method and system Download PDFInfo
- Publication number
- CN106931590B CN106931590B CN201710078267.6A CN201710078267A CN106931590B CN 106931590 B CN106931590 B CN 106931590B CN 201710078267 A CN201710078267 A CN 201710078267A CN 106931590 B CN106931590 B CN 106931590B
- Authority
- CN
- China
- Prior art keywords
- conditioning parameter
- air
- parameter data
- default
- touch event
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000010187 selection method Methods 0.000 title claims abstract description 17
- 238000004378 air conditioning Methods 0.000 claims abstract description 207
- 238000000034 method Methods 0.000 claims abstract description 13
- 238000013499 data model Methods 0.000 claims description 78
- 230000001960 triggered effect Effects 0.000 claims description 13
- 241000208340 Araliaceae Species 0.000 claims description 4
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims description 4
- 235000003140 Panax quinquefolius Nutrition 0.000 claims description 4
- 235000008434 ginseng Nutrition 0.000 claims description 4
- 238000000605 extraction Methods 0.000 claims description 3
- 230000000153 supplemental effect Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 9
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 108010001267 Protein Subunits Proteins 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000005057 refrigeration Methods 0.000 description 1
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/30—Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/50—Control or safety arrangements characterised by user interfaces or communication
- F24F11/52—Indication arrangements, e.g. displays
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control 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/63—Electronic processing
- F24F11/64—Electronic processing using pre-stored data
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
The invention provides a method and a system for selecting air conditioner parameters by sliding transversely. The method comprises the following steps: receiving a touch event input by a user on a transverse sliding selection interface; acquiring initial air conditioner parameter data displayed by a plurality of preset air conditioner parameter data in the circular ring parameter model in a preset area of a transverse sliding selection interface; extracting initial information and termination information of the touch event from the touch event, and calculating a rotation angle of the circular ring parameter model according to the initial information and the termination information; and determining first preset air-conditioning parameter data selected by a user in the circular ring parameter model according to the rotation angle and the initial air-conditioning parameter data, and displaying the first preset air-conditioning parameter data in a preset area. The air conditioner parameter selection method and device can enable a user to select the air conditioner parameters meeting requirements only by sliding fingers on the transverse sliding selection interface, are simple, convenient, effective and quick, and greatly improve the operation experience when the user adjusts the air conditioner parameters.
Description
Technical field
The present invention relates to air-conditioning technical fields, and selection method and system are slid laterally more particularly to air-conditioning parameter.
Background technology
With popularizing for smart home, user can be adjusted the parameter of smart machine by intelligent terminal.Such as:
Intelligent air condition selection refrigeration, heating temperature when generally use button click add-substract key mode controlled, when user need by
Temperature is adjusted to 30 degree from 16 degree to be made, and needs to click 15 can be only achieved user demand 30 degree of add-substract key, not only number of operations
It is more and time-consuming, cause the operating experience of user very poor.
Invention content
Based on this, it is necessary to cumbersome and time-consuming for the mode of conventionally employed button add-substract key selection air-conditioning parameter
Problem provides and a kind of quickly selects the air-conditioning parameter of air-conditioning parameter to slide laterally selection method and be by sliding laterally mode
System.
To reach goal of the invention, a kind of air-conditioning parameter is provided and slides laterally selection method, the method includes:
Receive the touch event that user inputs on sliding laterally selection interface;
The multiple default air-conditioning parameter data obtained in ring-data model slide laterally the predetermined of selection interface described
The initial air-conditioning parameter data shown in region;
Believe by extracting the start information and termination message of the touch event in the touch event, and according to the starting
Breath and the termination message calculate the rotational angle of the ring-data model rotation;
Determine what user chose in ring-data model according to the rotational angle and the initial air-conditioning parameter data
First default air-conditioning parameter data, and the described first default air-conditioning parameter data are shown in the presumptive area.
The step for receiving the touch event that user inputs on sliding laterally selection interface in one of the embodiments,
After rapid, further include:
The default air-conditioning parameter data of the preset quantity in the ring-data model close to the presumptive area are obtained, and
Using the default air-conditioning parameter data of the preset quantity as appearing default air-conditioning parameter data;
Appear default air-conditioning parameter data by described and shown in selection interface in described slide laterally.
Start information and the end by extracting the touch event in the touch event in one of the embodiments,
Only information, and calculate according to the start information and the termination message rotational angle of the ring-data model rotation
Step includes:
By the start information and termination message that extract the touch event in the touch event;
Determine that the touch event slides laterally selection interface described according to the start information and the termination message
The pixel distance of upper sliding;
It is obtained according to the pixel angle correspondence between the pixel distance and the rotational angle of the ring-data model
Obtain the rotational angle of the ring-data model rotation.
It is described according to the rotational angle and the initial air-conditioning parameter data determine user in one of the embodiments,
The step of the first default air-conditioning parameter data chosen in ring-data model includes:
The corresponding annulus of the ring-data model is carried out according to the number of parameters of the default air-conditioning parameter data
Decile obtains each default corresponding unit arc angle of air-conditioning parameter data and each default air-conditioning parameter number
According to corresponding circular arc section;
The user when touch event terminates is obtained according to the rotational angle and the unit arc angle to choose
Ring-data model the first circular arc section;
The described first default air-conditioning parameter data are obtained according to first circular arc section.
It is described in one of the embodiments, that the described first default air-conditioning parameter number is obtained according to first circular arc section
According to the step of include:
The rotational angle when touch event terminates is obtained according to the rotational angle and the unit arc angle
Slip over the deviation angle of first circular arc sector;
Judge whether the deviation angle exceeds default bias angle;
If so, joining the corresponding default air-conditioning parameter data in first circular arc sector as the described first default air-conditioning
Number data;
If it is not, then the corresponding default air-conditioning parameter data in adjacent with a first circular arc sector upper circular arc sector are made
For the described first default air-conditioning parameter data.
The method further includes in one of the embodiments,:
When receiving the touch event input by user, the initial time when touch event starting is recorded
Termination time when being terminated with the touch event, and the touch thing is calculated according to the initial time and the termination time
The triggered time of part;
The user is obtained described laterally sliding according to the start information of the touch event and the termination message
The pixel distance slided in dynamic selection interface;
The gliding cable structure when touch event terminates is calculated according to the pixel distance and the triggered time;
Judge whether the gliding cable structure is more than default gliding cable structure, and is more than the default sliding in the gliding cable structure
When rate, the annulus when gliding cable structure is cut down to zero is calculated according to the gliding cable structure and default slow-action coefficient and is joined
The slow-action angle of exponential model rotation;
It is pre- that corresponding second is obtained when the ring-data model terminates according to the slow-action angle and the rotational angle
If air-conditioning parameter data, and the described second default air-conditioning parameter data are shown in the presumptive area.
The present invention also provides a kind of air-conditioning parameters to slide laterally selection system, the system comprises:
Receiving module, the touch event inputted on sliding laterally selection interface for receiving user;
Initial parameter acquisition module, for obtaining multiple default air-conditioning parameter data in ring-data model in the cross
The initial air-conditioning parameter data shown into the presumptive area of sliding selection interface;
Computing module, for the start information and termination message by extracting the touch event in the touch event, and
The rotational angle of the ring-data model rotation is calculated according to the start information and the termination message;
Display module is determined, for determining user in annulus according to the rotational angle and the initial air-conditioning parameter data
The the first default air-conditioning parameter data chosen in parameter model, and by the described first default air-conditioning parameter data in the fate
It is shown in domain.
Further include in one of the embodiments,:
Appear parameter acquisition module, for receive the touch event that is inputted on sliding laterally selection interface of user it
Afterwards, the default air-conditioning parameter data of the preset quantity in the ring-data model close to the presumptive area are obtained, and by institute
The default air-conditioning parameter data conduct for stating preset quantity appears default air-conditioning parameter data;
Display module, for appearing default air-conditioning parameter data by described and being shown in selection interface in described slide laterally
Come.
The computing module includes in one of the embodiments,:
Extraction unit, for the start information and termination message by extracting the touch event in the touch event;
Pixel distance determination unit, for determining that the touch event exists according to the start information and the termination message
It is described to slide laterally the pixel distance slided in selection interface;
Rotational angle acquiring unit, for according between the pixel distance and the rotational angle of the ring-data model
Pixel angle correspondence obtain the rotational angle of the ring-data model rotation.
The determining display module includes in one of the embodiments,:
Equal subdivisions, for being corresponded to the ring-data model according to the number of parameters of the default air-conditioning parameter data
Annulus carry out equal decile, obtain the corresponding unit arc angle of each default air-conditioning parameter data and each described pre-
If the corresponding circular arc section of air-conditioning parameter data;
Selected cell, when being terminated for obtaining the touch event according to the rotational angle and the unit arc angle
First circular arc section of the ring-data model that the user chooses;
First parameter acquiring unit, for obtaining the described first default air-conditioning parameter number according to first circular arc section
According to.
First parameter acquiring unit includes in one of the embodiments,:
Deviation angle obtains subelement, for obtaining the described first default air-conditioning parameter according to first circular arc section
When data, the rotational angle when touch event terminates is obtained according to the rotational angle and the unit arc angle and is slided
Cross the deviation angle of first circular arc sector;
Judgment sub-unit, for judging whether the deviation angle exceeds default bias angle;If so, by described first
The corresponding default air-conditioning parameter data in circular arc sector are as the described first default air-conditioning parameter data;If it is not, then will be with described
The corresponding default air-conditioning parameter data in the adjacent upper circular arc sector in one circular arc sector are as the described first default air-conditioning parameter number
According to.
In one of the embodiments, the system also includes:
Computing module is recorded, for when receiving the touch event input by user, recording the touch thing
Termination time when initial time and the touch event when part originates terminate, and according to the initial time and the termination
Time calculates the triggered time of the touch event;
Pixel distance acquisition module, for being obtained according to the start information and the termination message of the touch event
The user is in the pixel distance for sliding laterally and being slided in selection interface;
Gliding cable structure computing module, for the touch thing to be calculated according to the pixel distance and the triggered time
Gliding cable structure when part terminates;
Computing module is judged, for judging whether the gliding cable structure is more than default gliding cable structure, and in sliding speed
When rate is more than the default gliding cable structure, the gliding cable structure is calculated according to the gliding cable structure and default slow-action coefficient and is disappeared
Reduce to the slow-action angle of ring-data model rotation when zero;
Display module, when being terminated for obtaining the ring-data model according to the slow-action angle and the rotational angle
Corresponding second default air-conditioning parameter data, and the described second default air-conditioning parameter data are shown in the presumptive area
Come.
Beneficial effects of the present invention include:
Above-mentioned air-conditioning parameter slides laterally selection method and system, and user need to only slide hand on sliding laterally selection interface
The air-conditioning parameter of meet demand can be selected by referring to, and added and subtracted key operation without carrying out multiple button, be can be achieved with the fast of air-conditioning parameter
Speed selection and switching, it is simple and effective quick, substantially increase operating experience when user adjusts air-conditioning parameter.
Description of the drawings
Fig. 1 slides laterally the flow diagram of selection method for the air-conditioning parameter in one embodiment;
Fig. 2 is the ring-data model schematic of the air-conditioner temperature parameter in one embodiment;
Fig. 3 is the interface schematic diagram for sliding laterally selection interface and not touched by user in one embodiment;
Fig. 4 is the interface schematic diagram for sliding laterally selection interface and having been touched by user in one embodiment;
Fig. 5 is the interface schematic diagram for sliding laterally selection interface and having been touched by user in another embodiment;
Fig. 6 is the schematic top plan view of the ring-data model in one embodiment;
Fig. 7 slides laterally the flow diagram of selection method for the air-conditioning parameter in another embodiment;
Fig. 8 slides laterally the structural schematic diagram of selection system for the air-conditioning parameter in one embodiment;
Fig. 9 slides laterally the structural schematic diagram of selection system for the air-conditioning parameter in another embodiment.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, right with reference to the accompanying drawings and embodiments
Air-conditioning parameter of the present invention slides laterally selection method and system is further elaborated.It should be appreciated that described herein
Specific examples are only used to explain the present invention, is not intended to limit the present invention.
In one embodiment, as shown in Figure 1, providing a kind of air-conditioning parameter slides laterally selection method, this method packet
Include following steps:
S100 receives the touch event that user inputs on sliding laterally selection interface.
S200, the multiple default air-conditioning parameter data obtained in ring-data model are sliding laterally the predetermined of selection interface
The initial air-conditioning parameter data shown in region.
S300, by extracting the start information and termination message of the touch event in touch event, and according to start information
The rotational angle of ring-data model rotation is calculated with termination message.
S400, determine that user chooses in ring-data model according to rotational angle and initial air-conditioning parameter data first
Default air-conditioning parameter data, and the first default air-conditioning parameter data are shown in predetermined areas.
In the present embodiment, user, which touches, slides laterally selection interface triggering touch event, in order to make on ring-data model
Multiple default air-conditioning parameter data can follow the sliding of user's finger and slide, need first to know it is current in predetermined areas
Which default air-conditioning parameter data is shown, i.e., which default air-conditioning parameter data current face user's is, it is preferable that pre-
Determine only to show a default air-conditioning parameter data in region, after the default air-conditioning parameter data for obtaining face user, by face
The default air-conditioning parameter data of user are as initial air-conditioning parameter data;User is obtained simultaneously to touch when sliding laterally selection interface
The start information and termination message of sliding include the location information of user's finger sliding in start information and termination message,
It can learn that user drives the rotational angle of ring-data model rotation in this way, finally according to initial air-conditioning parameter data and annulus
The rotational angle of parameter model rotation determines the user chooses first default air-conditioning parameter data, by the first default air-conditioning parameter
Data are shown in predetermined areas, to complete selection of the user to air-conditioning parameter.Air-conditioning parameter is selected in above-mentioned user
During, user, which need to only slide finger, can select required air-conditioning parameter, add and subtract key operation without carrying out multiple button, just
It can realize the quick selection and switching of air-conditioning parameter, it is simple and effective quick, substantially increase behaviour when user selects air-conditioning parameter
It experiences.
It should be noted that multiple default air-conditioning parameter data on ring-data model can be actually used according to air-conditioning
Parameter needed for process is arranged according to scheduled position in a model.Such as:The adjustable range of air-conditioner temperature at 16 degree extremely
30 degree, if with 1 degree for unit interval, the annulus of ring-data model can be divided into 15 equal portions, and will be each at equal intervals
Temperature is arranged in a manner of 16,17,18 ... 29,30 on the annulus of ring-data model successively, as shown in Fig. 2, such user
The temperature of meet demand can be selected by way of rotating annulus, and be easy to inquire required temperature.Wherein, air-conditioning is joined
Number includes air-conditioner temperature, humidity, wind speed, pattern etc..
It is worth noting that in the actual use process, the plane where the annulus of ring-data model is slided with lateral
Plane where dynamic selection interface is vertical relationship, i.e. ring-data model and to slide laterally selection interface be in three dimensions
Middle realization corresponding function.
In one embodiment, after step sloo, further include:
S100a obtains the default air-conditioning parameter data of the preset quantity in ring-data model close to presumptive area, and will
The default air-conditioning parameter data of preset quantity, which are used as, appears default air-conditioning parameter data.
S100b will appear default air-conditioning parameter data and be shown on sliding laterally selection interface.
The present embodiment be user touch slide laterally selection interface when, slide laterally can be shown in selection interface it is predetermined
Multiple default air-conditioning parameter data of areas adjacent check that as shown in Figure 3 and Figure 4, Fig. 3 is that user's touch slides laterally for user
The display schematic diagram of selection interface is slid laterally before selection interface, Fig. 4 is slid laterally for user's touch after selection interface
The display schematic diagram of selection interface is slid laterally, such user can select according to the default air-conditioning parameter data having shown that
It slides or slides to the right to the left.
Wherein, preset quantity can be decided according to the actual requirements, such as:The present count of parameter in relation to air conditioner wind speed in Fig. 4
Amount is 6.For another example:The preset quantity of the parameter in relation to air-conditioner temperature is 2 in Fig. 5.Air-conditioner temperature parameter slides laterally choosing
Same interface can be shared with the selection interface that slides laterally of air conditioner wind speed parameter by selecting interface.Preferably, appear default air-conditioning ginseng
The preset quantity of number data is less than the number of parameters (total quantity) of default air-conditioning parameter data, and certainly, preset quantity can also be equal to
Number of parameters.As a preferred embodiment, the default air-conditioning parameter data that appear of preset quantity are shown about in presumptive area
The initial air-conditioning parameter data shown are symmetrical.
In one embodiment, step S300 includes:
S310, by the start information and termination message that extract the touch event in touch event.
S320 determines the pixel that touch event slides on sliding laterally selection interface according to start information and termination message
Distance.
S330 is obtained according to the pixel angle correspondence between pixel distance and the rotational angle of the ring-data model
Obtain the rotational angle of ring-data model rotation.
In the present embodiment, the start information of touch event when sliding laterally selection interface is first touched according to user and terminates letter
Breath, the i.e. displacement distance according to the initial position and final position user's finger when touching on sliding laterally selection interface,
In the display interface of intelligent terminal, mobile shift length is usually limited with pixel distance, then according to pixel distance with turn
Pixel angle correspondence between dynamic angle obtains the rotational angle of first ring-data model.In general, user is sliding laterally
The pixel distance slided in selection interface is bigger, and the rotational angle of ring-data model rotation is also bigger, and such user can lead to
The pixel distance size slided on sliding laterally selection interface is crossed to control the rotational angle of ring-data model, to realize
The purpose of required air-conditioning parameter is quickly selected by sliding interface.
In order to illustrate more clearly of the present embodiment, illustrated below with a specific embodiment:
As shown in fig. 6, Fig. 6 is the schematic top plan view of the ring-data model in one embodiment, in the ring-data mould
In type, including 9 default air-conditioning parameter data, that is, there are 9 default air-conditioning parameter data (can be according to air-conditioning reality for user's selection
Air-conditioning parameter self-defining), it is each fan-shaped in such annulus to which the annulus of ring-data model is divided into 9 equal portions
Angle is 360 °/9=40 °, the corresponding sides of each fan-shaped 40 ° of apex angles of definition here, i.e., the size on the sides A shown in figure is
210px (pixel), according to triangle correlation theorem, the size that can calculate r is 288px, i.e., each fan-shaped apex angle corresponding sides institute
Face need to flex outward 288px in the 3 d space, this certain value is calculated according to the fixed length of side and number of elements
, if changing the length of side or quantity, the value that r is recalculated according to triangle theorem is needed, in structure ring-data mould
During type, it is only necessary to know that the size and number of elements of length of side A can calculate the value of r using dynamic algorithm, based on
Mathematical algorithm is the Transforms 3D technologies of html5+css3.When user's finger is slided on sliding laterally selection interface
When 126px, relative to the 126/210=60% that have passed through a side, the rotation of ring-data model can be calculated in this way
Angle is 40 ° of * 60%=24 °, i.e., all default air-conditioning parameter data on ring-data model should rotate 12 °, to
It realizes and presets the effect that air-conditioning parameter data follow user's finger sliding and rotation.
In one embodiment, step S400 includes:
The corresponding annulus of ring-data model is carried out equalization by S410 according to the number of parameters of default air-conditioning parameter data
Point, obtain the corresponding unit arc angle of each default air-conditioning parameter data and each corresponding circle of default air-conditioning parameter data
Arc section.
S420 obtains the ring-data mould that user chooses when touch event terminates according to rotational angle and unit arc angle
First circular arc section of type.
S430 obtains the first default air-conditioning parameter data according to the first circular arc section.
In the present embodiment, after the rotational angle for obtaining ring-data model rotation, according to rotational angle and unit circular arc
Angle obtains the circular arc section that ring-data model turns over, the first circular arc area of face user when to learn that touch event terminates
Between, the default air-conditioning parameter data of then choosing the corresponding first default air-conditioning parameter data in the first circular arc section as user
It shows.
Further, step S430 further includes:
S431 obtains rotational angle when touch event terminates according to rotational angle and unit arc angle and slips over the first circular arc
The deviation angle in region.
S432, judges whether the deviation angle exceeds default bias angle;If so, thening follow the steps S4320;If it is not,
Then follow the steps S4321.
S4320, using the corresponding default air-conditioning parameter data in the first circular arc sector as the first default air-conditioning parameter data.
S4321, default air-conditioning parameter data that a upper circular arc sector adjacent with the first circular arc sector is corresponding are as
One default air-conditioning parameter data.
When user's finger, which is left, slides laterally selection interface, touch event terminates, and ring-data model may be just at this time
It is rotated away from a circular arc sector, i.e. the default air-conditioning parameter data of face user just deviate presumptive area, in order to preferably
The default air-conditioning parameter data that user finally selects are obtained, user is it is desirable that current air-conditioning parameter data, and ring-data
Model is but rotated to next default air-conditioning parameter data, influences user and is experienced to the selection of air-conditioning parameter.
It is further explained below in conjunction with embodiment shown in earlier figures 6:
When user slides 336px on sliding laterally selection interface, the rotational angle for obtaining ring-data model is
64 °, the circular arc sector of face user is the areas B at this time, selects the corresponding default air-conditioning parameter data in the areas B for the first default air-conditioning ginseng
Number data.Further, if setting default bias angle as 4 °, and it is 43 ° according to the rotational angle that pixel distance obtains,
Then illustrate that the default air-conditioning parameter data of face user just deviate presumptive area, the default air-conditioning parameter that will just deviate at this time
The corresponding default air-conditioning parameter data of data, the i.e. areas A are as the first default air-conditioning parameter data, certainly, if obtained annulus
The rotational angle of parameter model is more than 44 degree, then using the corresponding default air-conditioning parameter data in the areas B as the first default air-conditioning parameter
Data, to achieve the effect that preferably to incude the selected air-conditioning parameter of user.
In one embodiment, referring to Fig. 7, this method further includes:
S101, when receiving the touch event input by user, record touch event starting when initial time and
Termination time when touch event terminates, and according to the triggered time of initial time and termination time calculating touch event.
S102 obtains user on sliding laterally selection interface according to the start information of touch event and termination message and slides
Pixel distance.
Gliding cable structure when touch event terminates is calculated according to pixel distance and triggered time in S103.
S104, judges whether gliding cable structure is more than default gliding cable structure, and when gliding cable structure is more than default gliding cable structure,
Gliding cable structure is calculated according to gliding cable structure and default slow-action coefficient to cut down to the slow-action angle of ring-data model rotation when zero
Degree.
S105 obtains corresponding second default air-conditioning when ring-data model terminates according to slow-action angle and rotational angle and joins
Number data, and the second default air-conditioning parameter data are shown in predetermined areas.
Further, step S104 is specifically included:
S1040, judges whether gliding cable structure is more than default gliding cable structure, if so, according to gliding cable structure and default slow-action
Abatement time disTime=v*d/2 when gliding cable structure is cut down to zero is calculated in coefficient, wherein v is gliding cable structure, and d is slow
Dynamic coefficient, in one embodiment, d=0.0006.If it is not, thening follow the steps S300.
S1041 is calculated according to the width (sizes of i.e. fan-shaped apex angle corresponding sides) of abatement time and unit arc angle
To the slow-action angle of ring-data model rotation.That is the width * unit circular arcs of slow-action angle=disTime/ unit arc angles
Angle.In the embodiment shown in fig. 6, slow-action angle=disTime/210px*40 °.
Above-described embodiment can further increase user and be relaxed using the experience for sliding laterally selection interface selection air-conditioning parameter
Adaptive avoids the occurrence of the lofty sense that user interface in quick sliding instantaneously stops.
It is worth noting that in the above-described embodiments, if the triggered time, which is calculated, exceeds the regular hour, such as 300
Millisecond, then initial time when record touch event originates again.When exceeding certain time between upon activation, illustrate that user slides
When rate be not very big, be not necessarily to execute above-mentioned steps at this time.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium
In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
In one embodiment, as shown in figure 8, additionally providing a kind of air-conditioning parameter slides laterally selection system, the system
Including:Receiving module 100, the touch event inputted on sliding laterally selection interface for receiving user.Initial parameter obtains
Module 200 is sliding laterally the predetermined of selection interface for obtaining multiple default air-conditioning parameter data in ring-data model
The initial air-conditioning parameter data shown in region.Computing module 300 is believed for the starting by extracting touch event in touch event
Breath and termination message, and calculate according to start information and termination message the rotational angle of ring-data model rotation.It determines aobvious
Show module 400, for determining that user chooses in ring-data model according to rotational angle and initial air-conditioning parameter data
One default air-conditioning parameter data, and the first default air-conditioning parameter data are shown in predetermined areas.
Air-conditioning parameter in the present embodiment slides laterally selection system, and user need to only slide on sliding laterally selection interface
Finger can select the air-conditioning parameter of meet demand, add and subtract key operation without carrying out multiple button, can be achieved with air-conditioning parameter
Quickly selection and switching, it is simple and effective quick, substantially increase operating experience when user adjusts air-conditioning parameter.
In one embodiment, further include:Appear parameter acquisition module 500, for sliding laterally choosing in reception user
After selecting the touch event inputted on interface, the default air-conditioning of the preset quantity in ring-data model close to presumptive area is obtained
Supplemental characteristic, and using the default air-conditioning parameter data of preset quantity as appearing default air-conditioning parameter data.Display module 600,
It is shown on sliding laterally selection interface for default air-conditioning parameter data will to be appeared.
In one embodiment, computing module 300 includes:Extraction unit 310, for touching thing by being extracted in touch event
The start information and termination message of part.Pixel distance determination unit 320 is touched for being determined according to start information and termination message
Event is in the pixel distance for sliding laterally and being slided in selection interface.Rotational angle acquiring unit 330, for according to pixel away from
From the angle of rotation that the pixel angle correspondence between the rotational angle of ring-data model obtains ring-data model rotation
Degree.
In one embodiment, determine that display module 400 includes:Equal subdivisions 410, for according to default air-conditioning parameter number
According to number of parameters the corresponding annulus of ring-data model is subjected to equal decile, it is corresponding to obtain each default air-conditioning parameter data
Unit arc angle and each corresponding circular arc section of default air-conditioning parameter data.Selected cell 420, for according to angle of rotation
Degree and unit arc angle obtain the first circular arc section of the ring-data model that user chooses when touch event terminates.First ginseng
Number acquiring unit 430, for obtaining the first default air-conditioning parameter data according to the first circular arc section.
In one embodiment, the first parameter acquiring unit 430 includes:Deviation angle obtains subelement 431, in root
When obtaining the first default air-conditioning parameter data according to the first circular arc section, is obtained according to rotational angle and unit arc angle and touch thing
Rotational angle slips over the deviation angle of the first circular arc sector when part terminates.Judgment sub-unit 432, for whether judging deviation angle
Beyond default bias angle;If so, using the corresponding default air-conditioning parameter data in the first circular arc sector as the first default air-conditioning
Supplemental characteristic;If it is not, then default air-conditioning parameter data that a upper circular arc sector adjacent with the first circular arc sector is corresponding as
First default air-conditioning parameter data.
In one embodiment, as shown in figure 9, system further includes:Computing module 101 is recorded, for described in receiving
When the touch event input by user, when recording termination when initial time and the touch event termination when touch event starting
Between, and according to the initial time and described terminate the time and calculate triggered time of the touch event.Pixel distance obtains mould
Block 102 is sliding on sliding laterally selection interface for obtaining the user according to the start information and termination message of touch event
Dynamic pixel distance.Gliding cable structure computing module 103, for touch event end to be calculated according to pixel distance and triggered time
Gliding cable structure when only.Judge computing module 104, gliding cable structure is preset for judging whether the gliding cable structure is more than, and
When gliding cable structure is more than default gliding cable structure, gliding cable structure is calculated according to gliding cable structure and default slow-action coefficient and is cut down to zero
When ring-data model rotation slow-action angle.Display module 105, for obtaining the circle according to slow-action angle and rotational angle
Ring parameter model corresponding second default air-conditioning parameter data when terminating, and by the second default air-conditioning parameter data in presumptive area
In show.
It is similar that the principle solved the problems, such as due to this system and a kind of aforementioned air-conditioning parameter slide laterally selection method, should
The implementation of system may refer to the implementation of preceding method, and overlaps will not be repeated.
Each technical characteristic of embodiment described above can be combined arbitrarily, to keep description succinct, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, it is all considered to be the range of this specification record.
Several embodiments of the invention above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
Range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (10)
1. a kind of air-conditioning parameter slides laterally selection method, which is characterized in that the method includes:
Receive the touch event that user inputs on sliding laterally selection interface;
Multiple default air-conditioning parameter data in ring-data model are obtained in the presumptive area for sliding laterally selection interface
The initial air-conditioning parameter data of middle display;
By extracting the start information and termination message of the touch event in the touch event, and according to the start information and
The termination message calculates the rotational angle of the ring-data model rotation, including:
By the start information and termination message that extract the touch event in the touch event;
Determine that the touch event is slided in described slide laterally in selection interface according to the start information and the termination message
Dynamic pixel distance;
Institute is obtained according to the pixel angle correspondence between the pixel distance and the rotational angle of the ring-data model
State the rotational angle of ring-data model rotation;
Determine that user chooses in ring-data model according to the rotational angle and the initial air-conditioning parameter data first
Default air-conditioning parameter data, and the described first default air-conditioning parameter data are shown in the presumptive area.
2. air-conditioning parameter according to claim 1 slides laterally selection method, which is characterized in that the reception user is in cross
After the step of touch event inputted in sliding selection interface, further include:
The default air-conditioning parameter data of the preset quantity in the ring-data model close to the presumptive area are obtained, and by institute
The default air-conditioning parameter data conduct for stating preset quantity appears default air-conditioning parameter data;
Appear default air-conditioning parameter data by described and shown in selection interface in described slide laterally.
3. air-conditioning parameter according to claim 1 slides laterally selection method, which is characterized in that described according to the rotation
Angle and the initial air-conditioning parameter data determine the user chooses in ring-data model first default air-conditioning parameter data
The step of include:
The corresponding annulus of the ring-data model is subjected to equal decile according to the number of parameters of the default air-conditioning parameter data,
Obtain each default corresponding unit arc angle of air-conditioning parameter data and each default air-conditioning parameter data pair
The circular arc section answered;
The circle that the user chooses when the touch event terminates is obtained according to the rotational angle and the unit arc angle
First circular arc section of ring parameter model;
The described first default air-conditioning parameter data are obtained according to first circular arc section.
4. air-conditioning parameter according to claim 3 slides laterally selection method, which is characterized in that described according to described first
Circular arc section obtains the step of the described first default air-conditioning parameter data and includes:
The rotational angle when touch event terminates is obtained according to the rotational angle and the unit arc angle to slip over
The deviation angle in first circular arc section;
Judge whether the deviation angle exceeds default bias angle;
If so, using the corresponding default air-conditioning parameter data in first circular arc section as the described first default air-conditioning parameter number
According to;
If it is not, then default air-conditioning parameter data that the upper circular arc section adjacent with first circular arc section is corresponding are as institute
State the first default air-conditioning parameter data.
5. air-conditioning parameter according to any one of claims 1 to 4 slides laterally selection method, which is characterized in that the side
Method further includes:
When receiving the touch event input by user, the initial time when touch event starting and institute are recorded
Termination time when touch event terminates is stated, and the touch event is calculated according to the initial time and the termination time
Triggered time;
The user, which is obtained, according to the start information of the touch event and the termination message slides laterally choosing described
Select the pixel distance slided on interface;
The gliding cable structure when touch event terminates is calculated according to the pixel distance and the triggered time;
Judge whether the gliding cable structure is more than default gliding cable structure, and is more than the default gliding cable structure in the gliding cable structure
When, the ring-data mould when gliding cable structure is cut down to zero is calculated according to the gliding cable structure and default slow-action coefficient
The slow-action angle of type rotation;
Corresponding second default sky when the ring-data model terminates is obtained according to the slow-action angle and the rotational angle
Supplemental characteristic is adjusted, and the described second default air-conditioning parameter data are shown in the presumptive area.
6. a kind of air-conditioning parameter slides laterally selection system, which is characterized in that the system comprises:
Receiving module (100), the touch event inputted on sliding laterally selection interface for receiving user;
Initial parameter acquisition module (200), for obtaining multiple default air-conditioning parameter data in ring-data model described
Slide laterally the initial air-conditioning parameter data shown in the presumptive area of selection interface;
Computing module (300), for the start information and termination message by extracting the touch event in the touch event, and
The rotational angle of the ring-data model rotation is calculated according to the start information and the termination message, including:
Extraction unit (310), for the start information and termination message by extracting the touch event in the touch event;
Pixel distance determination unit (320), for determining the touch event according to the start information and the termination message
In the pixel distance for sliding laterally and being slided in selection interface;
Rotational angle acquiring unit (330), for according to the rotational angle of the pixel distance and the ring-data model it
Between pixel angle correspondence obtain the rotational angle of the ring-data model rotation;
Display module (400) is determined, for determining user in circle according to the rotational angle and the initial air-conditioning parameter data
The the first default air-conditioning parameter data chosen in ring parameter model, and by the described first default air-conditioning parameter data described predetermined
It is shown in region.
7. air-conditioning parameter according to claim 6 slides laterally selection system, which is characterized in that further include:
Appear parameter acquisition module (500), for receive the touch event that is inputted on sliding laterally selection interface of user it
Afterwards, the default air-conditioning parameter data of the preset quantity in the ring-data model close to the presumptive area are obtained, and by institute
The default air-conditioning parameter data conduct for stating preset quantity appears default air-conditioning parameter data;
Display module (600), for appearing default air-conditioning parameter data by described and showing in selection interface in described slide laterally
Out.
8. air-conditioning parameter according to claim 6 slides laterally selection system, which is characterized in that the determining display module
(400) include:
Equal subdivisions (410), for according to the number of parameters of the default air-conditioning parameter data by the ring-data model pair
The annulus answered carries out equal decile, obtains the corresponding unit arc angle of each default air-conditioning parameter data and each described
Preset the corresponding circular arc section of air-conditioning parameter data;
Selected cell (420) is terminated for obtaining the touch event according to the rotational angle and the unit arc angle
First circular arc section of the ring-data model that Shi Suoshu user chooses;
First parameter acquiring unit (430), for obtaining the described first default air-conditioning parameter number according to first circular arc section
According to.
9. air-conditioning parameter according to claim 8 slides laterally selection system, which is characterized in that first parameter acquiring
Unit (430) includes:
Deviation angle obtains subelement (431), for obtaining the described first default air-conditioning ginseng according to first circular arc section
When number data, the rotational angle when touch event terminates is obtained according to the rotational angle and the unit arc angle
Slip over the deviation angle in first circular arc section;
Judgment sub-unit (432), for judging whether the deviation angle exceeds default bias angle;If so, by described
The corresponding default air-conditioning parameter data in one circular arc section are as the described first default air-conditioning parameter data;If it is not, then will with it is described
The corresponding default air-conditioning parameter data in the adjacent upper circular arc section in first circular arc section are as the described first default air-conditioning parameter
Data.
10. air-conditioning parameter according to any one of claims 7 to 9 slides laterally selection system, which is characterized in that the system
System further includes:
Computing module (101) is recorded, for when receiving the touch event input by user, recording the touch thing
Termination time when initial time and the touch event when part originates terminate, and according to the initial time and the termination
Time calculates the triggered time of the touch event;
Pixel distance acquisition module (102), for being obtained according to the start information and the termination message of the touch event
To the user in the pixel distance for sliding laterally and being slided in selection interface;
Gliding cable structure computing module (103), for the touch to be calculated according to the pixel distance and the triggered time
Gliding cable structure when event terminations;
Computing module (104) is judged, for judging whether the gliding cable structure is more than default gliding cable structure, and in sliding speed
When rate is more than the default gliding cable structure, the gliding cable structure is calculated according to the gliding cable structure and default slow-action coefficient and is disappeared
Reduce to the slow-action angle of ring-data model rotation when zero;
Display module (105) is terminated for obtaining the ring-data model according to the slow-action angle and the rotational angle
When corresponding second default air-conditioning parameter data, and the described second default air-conditioning parameter data are shown in the presumptive area
Out.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710078267.6A CN106931590B (en) | 2017-02-14 | 2017-02-14 | Air conditioner parameter transverse sliding selection method and system |
PCT/CN2017/107694 WO2018149169A1 (en) | 2017-02-14 | 2017-10-25 | Air-conditioning parameter lateral sliding selection method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710078267.6A CN106931590B (en) | 2017-02-14 | 2017-02-14 | Air conditioner parameter transverse sliding selection method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106931590A CN106931590A (en) | 2017-07-07 |
CN106931590B true CN106931590B (en) | 2018-10-16 |
Family
ID=59423087
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710078267.6A Active CN106931590B (en) | 2017-02-14 | 2017-02-14 | Air conditioner parameter transverse sliding selection method and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106931590B (en) |
WO (1) | WO2018149169A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108572765B (en) * | 2018-04-20 | 2021-03-12 | 北京硬壳科技有限公司 | Touch control identification method and device |
CN110554825A (en) * | 2018-06-04 | 2019-12-10 | 北京京东尚科信息技术有限公司 | Time interval selection method and device |
CN109000340B (en) * | 2018-08-14 | 2020-03-06 | 珠海格力电器股份有限公司 | Controller of electric appliance and control method thereof |
CN110057034B (en) * | 2019-03-27 | 2021-03-16 | 青岛海尔空调器有限总公司 | Air conditioner control method and device and computer storage medium |
CN112925460A (en) * | 2019-12-05 | 2021-06-08 | 佛山市云米电器科技有限公司 | Household appliance control method, mobile terminal and computer readable storage medium |
Family Cites Families (14)
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 |
CN102203715B (en) * | 2011-05-23 | 2013-03-20 | 华为终端有限公司 | An input method, an input device and a terminal device |
US9222693B2 (en) * | 2013-04-26 | 2015-12-29 | Google Inc. | Touchscreen device user interface for remote control of a thermostat |
JP6070029B2 (en) * | 2012-10-02 | 2017-02-01 | 株式会社デンソー | Input device |
KR101994479B1 (en) * | 2012-10-09 | 2019-06-28 | 엘지전자 주식회사 | A display device of an air conditioner and a control method the same |
CN103870171B (en) * | 2012-12-07 | 2017-07-25 | 联想(北京)有限公司 | Data processing method and device |
CN103455245B (en) * | 2013-08-20 | 2017-02-01 | 华为技术有限公司 | Method and device for regulating area of widget |
US20160328108A1 (en) * | 2014-05-10 | 2016-11-10 | Chian Chiu Li | Systems And Methods for Displaying Information |
CN104020944A (en) * | 2014-05-27 | 2014-09-03 | 广州视源电子科技股份有限公司 | Data input method based on sliding block |
MX357098B (en) * | 2014-06-16 | 2018-06-26 | Braeburn Systems Llc | Graphical highlight for programming a control. |
CN104199612A (en) * | 2014-08-29 | 2014-12-10 | 乐视网信息技术(北京)股份有限公司 | Playing progress adjustment method and device |
CN105224204B (en) * | 2015-10-27 | 2019-01-22 | 网易(杭州)网络有限公司 | parameter input method and device |
CN105955625B (en) * | 2016-04-14 | 2019-06-14 | Oppo广东移动通信有限公司 | A kind of display methods of scroll bar, device and intelligent terminal |
-
2017
- 2017-02-14 CN CN201710078267.6A patent/CN106931590B/en active Active
- 2017-10-25 WO PCT/CN2017/107694 patent/WO2018149169A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
CN106931590A (en) | 2017-07-07 |
WO2018149169A1 (en) | 2018-08-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106931590B (en) | Air conditioner parameter transverse sliding selection method and system | |
EP2851790B1 (en) | Method for displaying icon ranking and terminal device | |
CN103809735B (en) | A kind of method and device of gesture identification | |
US10521072B2 (en) | Systems and methods for determining user preferences using a graphical user interface | |
US10025493B2 (en) | Information processing device, information processing method, and program for displaying list items and changing hierarchical level of display | |
KR101413735B1 (en) | System, method and graphical user interface for controlling a game | |
CN103927107B (en) | A kind of information processing method and electronic equipment | |
CN107526526B (en) | Method and device for determining pressure-sensitive handwriting area | |
CN103530052B (en) | The display methods and user equipment of a kind of interface content | |
CN104903961B (en) | Progress bar precision adjusting device, method and play system and terminal | |
CN104683857B (en) | Method and device for visual presentation of data preloading | |
CN105183329B (en) | The control method and mobile terminal of a kind of playback of media files | |
CN107168614A (en) | Application for checking image | |
CN103019522A (en) | Display method of icon in user interface and mobile terminal | |
CN107329653A (en) | Adjust the method and device of icon sizes | |
US11755184B2 (en) | Presentation of a media sequence | |
CN105224181A (en) | A kind of sidebar display packing and device | |
CN111078069A (en) | Interface icon moving method, storage medium and terminal | |
CN109240778A (en) | Application display method and device, terminal and readable storage medium | |
CN108196944A (en) | Mobile terminal background application inspection method and device | |
CN107479872A (en) | Android animation collections player method, storage medium, electronic equipment and system | |
CN106484117A (en) | A kind of sub-controlling unit of VR equipment, control method and VR equipment | |
CN110727385B (en) | Desktop icon sorting method and device, electronic equipment and storage medium | |
CN105353962A (en) | List sliding control method and system | |
CN109189301A (en) | Screen capture method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20190528 Address after: 519015 Room 601, Lianshan Lane, Jida Jingshan Road, Zhuhai City, Guangdong Province Co-patentee after: GREE ELECTRIC APPLIANCES,Inc.OF ZHUHAI Patentee after: Zhuhai Lianyun Technology Co.,Ltd. Address before: 519070, Jinji Hill Road, front hill, Zhuhai, Guangdong Patentee before: GREE ELECTRIC APPLIANCES,Inc.OF ZHUHAI |
|
TR01 | Transfer of patent right |