WO2017024736A1 - 展现设备工作状态的方法和装置 - Google Patents

展现设备工作状态的方法和装置 Download PDF

Info

Publication number
WO2017024736A1
WO2017024736A1 PCT/CN2015/099295 CN2015099295W WO2017024736A1 WO 2017024736 A1 WO2017024736 A1 WO 2017024736A1 CN 2015099295 W CN2015099295 W CN 2015099295W WO 2017024736 A1 WO2017024736 A1 WO 2017024736A1
Authority
WO
WIPO (PCT)
Prior art keywords
particle
display screen
frame
animation
motion trajectory
Prior art date
Application number
PCT/CN2015/099295
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 小米科技有限责任公司
Priority to RU2016107978A priority Critical patent/RU2636130C2/ru
Priority to JP2017533685A priority patent/JP6279819B2/ja
Priority to MX2016003022A priority patent/MX363858B/es
Priority to KR1020167005548A priority patent/KR101761381B1/ko
Publication of WO2017024736A1 publication Critical patent/WO2017024736A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • 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]
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/802D [Two Dimensional] animation, e.g. using sprites
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09FDISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
    • G09F23/00Advertising on or in specific articles, e.g. ashtrays, letter-boxes
    • G09F23/0058Advertising on or in specific articles, e.g. ashtrays, letter-boxes on electrical household appliances, e.g. on a dishwasher, a washing machine or a refrigerator
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F25REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
    • F25DREFRIGERATORS; COLD ROOMS; ICE-BOXES; COOLING OR FREEZING APPARATUS NOT OTHERWISE PROVIDED FOR
    • F25D2400/00General features of, or devices for refrigerators, cold rooms, ice-boxes, or for cooling or freezing apparatus not covered by any other subclass
    • F25D2400/36Visual displays
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0267Fault communication, e.g. human machine interface [HMI]
    • G05B23/0272Presentation of monitored results, e.g. selection of status reports to be displayed; Filtering information to the user

Definitions

  • the present disclosure relates to the field of display technologies, and in particular, to a method and apparatus for presenting an operating state of a device.
  • common household equipment includes air conditioners, refrigerators, washing machines, water heaters, air purifiers, water purifiers, and the like.
  • Home equipment usually has different working conditions. Take air conditioning as an example, including different working conditions such as cooling, heating, dehumidification, and ventilation.
  • the working status of the device is often displayed in the form of text or icons on the display panel of the device itself or on the display screen of the remote control.
  • Embodiments of the present disclosure provide a method and apparatus for presenting an operating state of a device.
  • the technical solution is as follows:
  • a method of presenting an operating state of a device comprising:
  • the particle animation model includes motion track information corresponding to each particle
  • Determining, according to the particle animation model, a change state of the at least one particle in the n frame display screen, and playing the particle animation according to the change state of the at least one particle in the n frame display screen including:
  • the n-frame display screen is played to form the particle animation.
  • the method further includes:
  • i-th particle detecting whether the position p(i, j+1) of the i-th particle in the display frame of the j+1th frame is outside the predetermined display area, and i and j are positive integers;
  • the p(i, j+1) of the i-th particle in the j+1th frame display screen is outside the predetermined display area, the p(i, j+1) is set to The initial position of the i-th particle.
  • determining, according to the motion trajectory information corresponding to the particle, a position of the particle in each frame display screen of the n frame display screen including:
  • determining the i-th particle according to the position p(i,j) of the i-th particle in the j-th frame display screen and the motion trajectory function f i corresponding to the i-th particle The position p(i, j+1) in the j+1 frame display screen, i, j are positive integers;
  • the position p(i, 1) of the i-th particle on the first frame display screen is the initial position of the i-th particle.
  • the motion trajectory corresponding to the motion trajectory function f i includes any one or a combination of two or more of a linear motion trajectory, a curved motion trajectory, a circular motion trajectory, and a bouncing motion trajectory.
  • the particle animation model further includes display style information corresponding to each particle;
  • the display pattern includes any one or a combination of two or more of color, size, shape, and presentation time.
  • the method further includes:
  • a line connecting m particles included in the display screen is sequentially formed, and m is an integer greater than or equal to 2.
  • an apparatus for presenting an operating state of a device comprising:
  • a state acquisition module configured to acquire an operating state of the device
  • a model acquisition module configured to acquire a particle animation model corresponding to the working state
  • An animation playing module configured to determine, according to the particle animation model, a change state of at least one particle in an n frame display screen, and play a particle animation according to a change state of the at least one particle in an n frame display image, where n ⁇ 2 and n is an integer.
  • the particle animation model includes motion track information corresponding to each particle
  • the animation playing module includes: a position determining sub-module and an animation playing sub-module;
  • the position determining submodule is configured to determine, for each particle, a position of the particle in each frame display screen of the n frame display screen according to motion track information corresponding to the particle;
  • the animation playing sub-module is configured to play the n-frame display screen to form the particle animation.
  • the animation playing module further includes: a detecting submodule and a setting submodule;
  • the detecting submodule is configured to detect, for the i-th particle, whether the position p(i, j+1) of the i-th particle in the display frame of the j+1th frame is outside a predetermined display area, i And j are positive integers;
  • the setting submodule is configured to, when the position p(i, j+1) of the i-th particle in the j+1th frame display screen is outside the predetermined display area, The p(i, j+1) is set as the initial position of the i-th particle.
  • the location determining submodule is configured to, for the i-th particle, correspond to a position p(i, j) of the i-th particle in a display frame of the j-th frame, and the i-th particle a motion trajectory function f i , determining a position p(i, j+1) of the i-th particle in the display frame of the j+1th frame, i, j are positive integers;
  • the position p(i, 1) of the i-th particle on the first frame display screen is the initial position of the i-th particle.
  • the motion trajectory corresponding to the motion trajectory function f i includes any one or a combination of two or more of a linear motion trajectory, a curved motion trajectory, a circular motion trajectory, and a bouncing motion trajectory.
  • the particle animation model further includes display style information corresponding to each particle;
  • the animation playing module further includes: a style determining submodule
  • the pattern determining sub-module is configured to determine, for each particle, a display style of the particle in each frame display screen of the n-frame display screen according to display style information corresponding to the particle;
  • the display style includes any one or two of color, size, shape, and presentation time More than one combination.
  • the animation playing module further includes: a line forming submodule;
  • the line forming sub-module is configured to display a picture for each frame to form a line sequentially connecting m particles included in the display screen, where m is an integer greater than or equal to 2.
  • an apparatus for presenting an operating state of a device comprising:
  • a memory for storing executable instructions of the processor
  • processor is configured to:
  • FIG. 1 is a schematic diagram of an implementation environment, according to an exemplary embodiment
  • FIG. 2 is a flowchart illustrating a method of displaying an operating state of a device according to an exemplary embodiment
  • FIG. 3A is a flowchart illustrating a method of presenting an operating state of a device, according to another exemplary embodiment
  • 3B to 3H are schematic diagrams of particle motion trajectories according to another exemplary embodiment
  • FIG. 3I is a schematic diagram of a display screen with lines as elements according to another exemplary embodiment
  • FIG. 4 is a block diagram showing an apparatus for presenting an operating state of a device, according to an exemplary embodiment
  • FIG. 5 is a block diagram showing an apparatus for presenting an operating state of a device, according to another exemplary embodiment
  • FIG. 6 is a block diagram of an apparatus, according to an exemplary embodiment.
  • FIG. 1 is a schematic diagram of an implementation environment, according to an exemplary embodiment.
  • the implementation environment includes: a home device 120.
  • the home device 120 can be a traditional home device or a smart home device. Take smart home devices as an example, including but not limited to smart air conditioners, smart refrigerators, smart washing machines, smart water heaters, smart rice cookers, smart air purifiers, and smart water purifiers.
  • the implementation environment further includes: a control device 140.
  • the control device 140 may be a remote controller or a mobile terminal such as a mobile phone or a tablet.
  • the control device 140 is connected to the home device 120 by wire or wirelessly.
  • the control device 140 is used to control the start and stop of the home device 120 and the working state of the home device 120.
  • the wired mode includes but is not limited to a wired network, a USB (Universal Serial Bus), and the like;
  • the wireless mode includes but is not limited to a wireless network, infrared, or the like.
  • control device 140 and the home device 120 may have a one-to-one relationship or a one-to-many relationship. That is, one control device 140 can be used to independently control one home device 120, or one control device 140 can also be used to control multiple identical or different home devices 120.
  • a display panel is provided in the home device 120 and/or the control device 140 for displaying a particle animation for presenting the working state of the device according to an embodiment of the present disclosure.
  • the method for presenting the working state of the device may be applied to the home device 120, and may also be applied to the control device 140 connected to the home device 120.
  • the execution subject of each step is exemplified as a control device unless otherwise specified, but the present invention is not limited thereto.
  • FIG. 2 is a flowchart illustrating a method for displaying an operating state of a device, which may include the following steps, according to an exemplary embodiment:
  • step 202 the operating state of the device is obtained.
  • step 204 a particle animation model corresponding to the working state is acquired.
  • a change state of at least one particle in the n-frame display screen is determined according to the particle animation model, and a particle animation is played according to a change state of the at least one particle in the n-frame display image, where n ⁇ 2 and n is an integer .
  • the method for displaying the working state of the device is to display the working state of the device in the form of particle animation; the related technology is used to represent the working state of the device in the form of text or icon, resulting in a single display form.
  • FIG. 3A is a flowchart illustrating a method of presenting an operating state of a device, according to another exemplary embodiment.
  • the method is applied to a control device connected to a home device for illustration.
  • the method can include the following steps:
  • step 301 the working state of the device is obtained.
  • the control device acquires the working status of the home device.
  • household equipment includes, but is not limited to, air conditioners, refrigerators, washing machines, water heaters, rice cookers, air purifiers, water purifiers, and the like.
  • the home equipment can be either a traditional home device or a smart home device.
  • Home equipment usually has different working conditions.
  • air conditioners include different working states such as cooling, heating, dehumidification, and ventilation.
  • the rice cooker includes different working conditions such as cooking rice, porridge, soup, and heat preservation.
  • step 302 a particle animation model corresponding to the working state is acquired.
  • the control device acquires a particle animation model corresponding to the working state.
  • the control device stores a correspondence between at least one set of working states and a particle animation model, and after the control device acquires the working state of the home device, the corresponding particle animation is obtained by querying from the corresponding relationship. model.
  • its different working states correspond to Different particle animation models.
  • the particle animation model is used to determine the state of change of individual particles in a particle animation.
  • the particle animation model includes motion trajectory information corresponding to each particle.
  • the particle animation model is used to determine the position change state of each particle in the particle animation.
  • the motion trajectory information corresponding to a particle is used to determine the position change state of the particle.
  • the motion trajectory information may be a motion trajectory function, or may be a position of a preset particle in each frame display screen, or a random algorithm for randomly determining the position of the particle in each frame display screen.
  • the particle animation model further includes display style information corresponding to each particle.
  • the particle animation model is also used to determine the state of change of the display style of each particle in the particle animation.
  • the display style information corresponding to a particle is used to determine the change state of the display style of the particle.
  • the display style includes, but is not limited to, any one of a color, a size, a shape, and a presentation time, or a combination of two or more. Different particles can correspond to the same display style or different display styles. For a particle, its display style can be constant or variable in the time domain.
  • step 303 for each particle, the position of the particle in each frame display screen of the n-frame display screen is determined according to the motion trajectory information corresponding to the particle, n ⁇ 2 and n is an integer.
  • the particle animation includes a state of change of at least one particle in a continuous display of n frames.
  • the control device determines the position of the particle in each frame of the n-frame continuous display screen based on the motion trajectory information corresponding to the particle.
  • the motion trajectory information as a motion trajectory function as an example, in a possible implementation manner, for the ith particle, according to the position p(i, j) of the i-th particle in the j-th frame display screen, and the first
  • the motion trajectory function f i corresponding to the i particles determines the position p(i, j+1) of the i-th particle in the display frame of the j+1th frame, and i and j are positive integers.
  • the position p(i, 1) of the i-th particle on the first frame display screen is the initial position of the i-th particle.
  • Particle animation can be a 2D planar animation or a 3D spatial animation.
  • the position p(i,j) of the i-th particle in the j-th frame display is represented by position coordinates (x(i,j), y(i,j)).
  • the position p(i,j) of the i-th particle in the j-th frame display is represented by position coordinates (x(i,j), y(i,j), z(i,j)) .
  • the initial position may be a predetermined fixed value, for example, the position coordinate corresponding to the initial position of the first particle is a fixed value (0, 100). Alternatively, for any one of the particles, the initial position may also be selected within the predetermined position area.
  • the variable value for example, the position coordinate corresponding to the initial position of the first particle is a predetermined position of the rectangle formed by the position coordinates (0, 98), (0, 102), (4, 98), and (4, 102).
  • the selection method may be a random selection method or an order selection method.
  • the motion trajectory corresponding to the motion trajectory function f i includes, but is not limited to, any one of a linear motion trajectory, a curved motion trajectory, a circular motion trajectory, and a bouncing motion trajectory, or a combination of two or more.
  • FIG. 3B shows a schematic diagram of a linear motion trajectory 31 of a single particle
  • FIG. 3C shows a schematic diagram of a curved motion trajectory 32 of a single particle
  • FIG. 3D shows a circular motion trajectory 33 of a single particle.
  • Schematic diagram of Figure 3E shows a bouncing motion trajectory 34 for a single particle.
  • Figures 3B to 3E above show the motion of a single particle.
  • the particle animation model may include motion trajectory information corresponding to a plurality of particles, thereby forming a large-scale particle motion.
  • Fig. 3F shows a schematic diagram of the linear motion trajectory 35 of a plurality of particles, and the linear motion of the plurality of particles can be used to indicate the working state of the rice cooker to complete the cooking, thereby visually and visually displaying the water vapor effect.
  • FIG. 3G shows a schematic diagram of a curved motion trajectory 36 of a plurality of particles, and the curved motion of the plurality of particles can be used to indicate that the water purifier is in a working state of clean water, thereby visually and visually exhibiting the bubble effect.
  • Fig. 3H shows a schematic view of the circular motion trajectory 37 of a plurality of particles, the circular motion of which can be used to indicate the working state of the air purifier or the vacuum cleaner, thereby visually and visually demonstrating the effect of the device inhaling air.
  • FIG. 3F to FIG. 3H only the different types of motion trajectories of the same type are taken as an example.
  • different particles may correspond to different types of motion trajectories, thereby forming a more diverse and diverse particle animation.
  • the linear motion trajectory is implemented using a linear function.
  • x(i, 1) is the preset value.
  • a is a constant, it represents a uniform linear motion trajectory along the x-axis direction; when a is a variable, it represents a linear motion trajectory along the x-axis direction.
  • the linear motion trajectory along the y-axis direction and the linear motion trajectory along the z-axis direction can be referred to the above-described linear motion trajectory along the x-axis direction.
  • a linear motion trajectory in an oblique direction in a two-dimensional plane can be formed.
  • a linear motion trajectory in a three-dimensional space can be formed.
  • the curve motion trajectory can be implemented by a trigonometric function such as sin, cos, tan or a power function.
  • a trigonometric function such as sin, cos, tan or a power function.
  • angle(i,j) represents the offset angle of the i-th particle relative to the center of the circle in the j-th frame display
  • a represents the amount of change in the offset angle in the adjacent two frames
  • radius represents the radius
  • angle(i, 1) is the default value.
  • the motion trajectory information may also be a preset position of a particle in each frame display screen; or, the motion trajectory information may also be It is a random algorithm for randomly determining the position of a particle in each frame display.
  • a uniform motion is formed; and when the amount of change in the position between adjacent two frames is a change value, Variable speed movement.
  • a uniform linear motion can be formed; and if the parameter a is set as a variable, the shift linear motion can be formed.
  • a uniform circular motion can be formed; and if the parameter a is set as a variable and the parameter b is set to Constant, you can form a shifting circular motion.
  • step 304 an n-frame display screen is played to form a particle animation.
  • the control device plays an n-frame display screen, and displays the working state of the device through particle animation.
  • the step 304 further includes: for each particle, determining, according to the display style information corresponding to the particle, the particle is displayed on the n frame.
  • Each frame displays a display style in the screen; wherein the display style includes any one or a combination of two or more of color, size, shape, and presentation time.
  • the particle animation includes, in addition to the motion form of each particle, a variation of the display pattern of each particle.
  • the color of a particle can change over time; for example, the size of a particle can change over time; for example, the timing of occurrence of different particles is divided, and so on.
  • the particle animation determined by the particle animation model contains multiple particles for For each single particle, one side moves according to the motion trajectory determined by the motion trajectory information, and transforms its display style according to the display style information, such as color conversion, size scaling, time-lapse time, etc., thereby being more vivid and realistic.
  • the ground shows the working state of the device, so that the user can quickly and clearly understand the working state of the device according to the particle animation, which helps to improve the efficiency of human-computer interaction.
  • this embodiment also provides a particle recovery mechanism.
  • a particle recovery mechanism For the i-th particle, after determining the position p(i, j+1) of the i-th particle in the j+1th frame display screen, detecting the i-th particle in the j+1th frame display screen Whether the position p(i, j+1) is outside the predetermined display area; if it is outside the predetermined display area, p(i, j+1) is set as the initial position of the i-th particle. That is, when the particle moves beyond its corresponding predetermined display area, the position of the particle is set to its initial position, and particle recovery is achieved.
  • a particle animation in which a large number of particles move infinitely from below the predetermined display area gives the user a visual impression that an infinite number of particles continuously appear from below the predetermined display area and then disappear above the predetermined display area, but only need to be maintained.
  • a limited number for example, 200
  • the particle is reclaimed and placed in an initial position below the predetermined display area, and the particle is moved from bottom to top again. This cycle.
  • the initial position may be a predetermined fixed value or a variable value selected in the predetermined position area. Therefore, the first particle is still taken as an example. If the position coordinate corresponding to the initial position of the first particle is a fixed value (0, 100), the positional coordinates of the first particle are renewed each time the first particle moves outside the predetermined display area. Set to a fixed value (0,100).
  • the variable value is used to reset the position coordinates of the first particle to one position coordinate selected in the rectangular predetermined position area when the first particle moves out of the predetermined display area. For example, taking the random selection method as an example, when the first movement is outside the predetermined display area, the position coordinates of the first particle are reset to (2, 99); the second time is moved to the predetermined display area. When it is outside, the position coordinates of the first particle are reset to (4, 101); when the third time moves outside the predetermined display area, the position coordinates of the first particle are reset to ( 1,100), and so on.
  • the selection mode is the sequential selection mode, the position coordinates re-set after each movement to the outside of the predetermined display area are determined according to the preset selection order.
  • the method may further include the following steps: displaying a picture for each frame, forming a line connecting the m particles included in the display screen in sequence, m is an integer greater than or equal to 2.
  • Animations with lines as elements can be achieved by joining multiple particles together.
  • FIG. 3I a schematic diagram of a frame display screen 38 with lines as elements is shown.
  • a wave-like curve can be formed by connecting a plurality of particles which reciprocate up and down in a straight line in the vertical direction, thereby visually and visually exhibiting effects such as water flow or air flow.
  • the single particle may be a single pixel, or may be a circle, a triangle, a polygon, a star, or other specific pattern formed by a plurality of pixels, which is not limited in this embodiment.
  • the method for displaying the working state of the device is to display the working state of the device in the form of particle animation; the related technology is used to represent the working state of the device in the form of text or icon, resulting in a single display form.
  • the motion trajectory of the particle is also determined by the motion trajectory function. Due to the large number of adjustable parameters of the motion trajectory function, a variety of particle animations can be realized, which is suitable for more devices and more working states.
  • p(i, j+1) is set to The initial position of the i-th particle realizes the recovery of the particles, so that only a limited number of particles need to be maintained to form an animation effect of an infinite number of particles, which can effectively save memory resources and avoid repeated particles.
  • particle animation such as
  • the working state of the household equipment such as the air conditioner, the rice cooker, and the water purifier
  • the working state of other electronic devices can also be displayed by particle animation, which is not limited in the present disclosure.
  • FIG. 4 is a block diagram of an apparatus for presenting an operating state of a device, according to an exemplary embodiment.
  • the device can be applied to the home device 120 in the implementation environment shown in FIG. 1, or can be applied to the control device 140 connected to the home device 120.
  • the apparatus may include a state acquisition module 410, a model acquisition module 420, and an animation playback module 430.
  • the state obtaining module 410 is configured to acquire an operating state of the device.
  • the model obtaining module 420 is configured to acquire a particle animation model corresponding to the working state acquired by the state acquiring module 410.
  • the animation playing module 430 is configured to determine, according to the particle animation model acquired by the model obtaining module 420, a change state of the at least one particle in the n frame display screen, according to the change of the at least one particle in the n frame display screen.
  • the state plays a particle animation where n ⁇ 2 and n is an integer.
  • the device for displaying the working state of the device provides the device in the form of particle animation to represent the working state of the device.
  • the related technology indicates the working state of the device in the form of text or an icon, resulting in a single display form.
  • FIG. 5 is a block diagram of an apparatus for presenting an operating state of a device, according to another exemplary embodiment.
  • the device can be applied to the home device 120 in the implementation environment shown in FIG. 1, or can be applied to the control device 140 connected to the home device 120.
  • the apparatus may include a state acquisition module 410, a model acquisition module 420, and an animation playback module 430.
  • the state obtaining module 410 is configured to acquire an operating state of the device.
  • the model obtaining module 420 is configured to acquire a particle animation model corresponding to the working state acquired by the state acquiring module 410.
  • the animation playing module 430 is configured to determine, according to the particle animation model acquired by the model obtaining module 420, a change state of the at least one particle in the n frame display screen, according to the change of the at least one particle in the n frame display screen.
  • the state plays a particle animation where n ⁇ 2 and n is an integer.
  • the particle animation model includes motion trajectory information corresponding to each particle.
  • the animation playing module 430 includes: a position determining sub-module 430a and an animation playing sub-module 430b.
  • the position determining sub-module 430a is configured to determine, for each particle, a position of the particle in each frame display screen of the n-frame display screen according to motion trajectory information corresponding to the particle.
  • the animation playing sub-module 430b is configured to play the n-frame display screen to form the particle animation.
  • the animation playing module further includes: a detecting submodule 430c and a setting submodule 430d.
  • the detecting sub-module 430c is configured to detect, for the i-th particle, whether the position p(i, j+1) of the i-th particle in the j+1th frame display screen is outside a predetermined display area, Both i and j are positive integers.
  • the setting sub-module 430d is configured to, when the position p(i, j+1) of the i-th particle in the j+1th frame display screen is outside the predetermined display area, The p(i, j+1) is set to an initial position of the i-th particle.
  • the location determining submodule 430a is configured to, according to the i-th particle, a position p(i, j) in the display frame of the jth frame according to the i-th particle, and the ith particle Corresponding motion trajectory function f i determines the position p(i, j+1) of the i-th particle in the j+1th frame display screen, and i and j are positive integers.
  • the position p(i, 1) of the i-th particle on the first frame display screen is the initial position of the i-th particle.
  • the motion trajectory corresponding to the motion trajectory function f i includes any one or a combination of two or more of a linear motion trajectory, a curved motion trajectory, a circular motion trajectory, and a bouncing motion trajectory.
  • the particle animation model further includes display style information corresponding to each particle.
  • the animation playing module 430 further includes: a style determining sub-module 430e.
  • the pattern determining sub-module 430e is configured to determine, for each particle, a display style of the particle in each frame display screen of the n-frame display screen according to display style information corresponding to the particle.
  • the display pattern includes any one or a combination of two or more of color, size, shape, and presentation time.
  • the animation playing module 430 further includes: a line forming sub-module (not shown).
  • the line forming sub-module is configured to display a picture for each frame to form a line sequentially connecting m particles included in the display screen, where m is an integer greater than or equal to 2.
  • the device for displaying the working state of the device provides the device in the form of particle animation to represent the working state of the device.
  • the related technology indicates the working state of the device in the form of text or an icon, resulting in a single display form.
  • the motion trajectory of the particle is also determined by the motion trajectory function. Due to the large number of adjustable parameters of the motion trajectory function, a variety of particle animations can be realized, which is suitable for more devices and more working states.
  • p(i, j+1) is set to The initial position of the i-th particle realizes the recovery of the particles, so that only a limited number of particles need to be maintained to form an animation effect of an infinite number of particles, which can effectively save memory resources and avoid repeated particles.
  • An exemplary embodiment of the present disclosure further provides an apparatus for presenting an operating state of a device, which is capable of implementing the method for presenting the working state of the device provided by the present disclosure.
  • the apparatus includes a processor and a memory for storing executable instructions of the processor. Wherein the processor is configured to:
  • the particle animation model includes motion track information corresponding to each particle
  • the processor is configured to:
  • the n-frame display screen is played to form the particle animation.
  • the processor is further configured to:
  • i-th particle detecting whether the position p(i, j+1) of the i-th particle in the display frame of the j+1th frame is outside the predetermined display area, and i and j are positive integers;
  • the p(i, j+1) of the i-th particle in the j+1th frame display screen is outside the predetermined display area.
  • the processor is configured to:
  • determining the i-th particle according to the position p(i,j) of the i-th particle in the j-th frame display screen and the motion trajectory function f i corresponding to the i-th particle The position p(i, j+1) in the j+1 frame display screen, i, j are positive integers;
  • the position p(i, 1) of the i-th particle on the first frame display screen is the initial position of the i-th particle.
  • the motion trajectory corresponding to the motion trajectory function f i includes any one or a combination of two or more of a linear motion trajectory, a curved motion trajectory, a circular motion trajectory, and a bouncing motion trajectory.
  • the particle animation model further includes display style information corresponding to each particle;
  • the processor is further configured to:
  • the display pattern includes any one or a combination of two or more of color, size, shape, and presentation time.
  • the processor is further configured to:
  • a line connecting m particles included in the display screen is sequentially formed, and m is an integer greater than or equal to 2.
  • FIG. 6 is a block diagram of an apparatus 600, according to an exemplary embodiment.
  • the device 600 may be a home device such as an air conditioner, a refrigerator, a washing machine, a water heater, a rice cooker, an air purifier, and a water purifier.
  • the device 600 may also be a control device for controlling the start and stop of the home device and the working state of the home device, such as a mobile terminal such as a remote controller, a mobile phone, or a tablet computer.
  • device 600 can include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614, and communication component 616.
  • Processing component 602 typically controls the overall operation of device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 602 can include one or more processors 620 to execute instructions to perform all or part of the steps of the above described methods.
  • processing component 602 can include one or more modules to facilitate interaction between component 602 and other components.
  • processing component 602 can include a multimedia module to facilitate interaction between multimedia component 608 and processing component 602.
  • Memory 604 is configured to store various types of data to support operation at device 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Disk or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 606 provides power to various components of device 600.
  • Power component 606 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 600.
  • the multimedia component 608 includes a screen between the device 600 and the user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 608 includes a front camera and/or a rear camera. When the device 600 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 610 is configured to output and/or input an audio signal.
  • audio component 610 includes a microphone (MIC) that is configured to receive an external audio signal when device 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal can be entered
  • One step is stored in memory 604 or sent via communication component 616.
  • audio component 610 also includes a speaker for outputting an audio signal.
  • the I/O interface 612 provides an interface between the processing component 602 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 614 includes one or more sensors for providing device 600 with a status assessment of various aspects.
  • sensor assembly 614 can detect an open/closed state of device 600, a relative positioning of components, such as the display and keypad of device 600, and sensor component 614 can also detect a change in position of one component of device 600 or device 600. The presence or absence of contact by the user with the device 600, the orientation or acceleration/deceleration of the device 600 and the temperature change of the device 600.
  • Sensor assembly 614 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 614 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 616 is configured to facilitate wired or wireless communication between device 600 and other devices.
  • the device 600 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • communication component 616 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 616 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • device 600 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 604 comprising instructions executable by processor 620 of apparatus 600 to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a non-transitory computer readable storage medium when instructions in the storage medium are provided by device 600 The processor, when executed, enables device 600 to perform the method as provided by the embodiment illustrated in Figure 2 or Figure 3A above.

Abstract

一种展现设备工作状态的方法和装置,属于显示技术领域。所述方法包括:获取设备的工作状态(202);获取与工作状态对应的粒子动画模型(204);根据粒子动画模型确定至少一个粒子在n帧显示画面中的变化状态,根据该至少一个粒子在n帧显示画面中的变化状态播放粒子动画,其中,n≥2且n为整数(206)。该方法通过以粒子动画的形式展现设备的工作状态;解决了相关技术以文字或图标的形式表示设备的工作状态,导致展现形式过于单一的问题;达到了更为直观、形象地展现设备的工作状态的技术效果,且有助于增强用户与设备间的交互性。

Description

展现设备工作状态的方法和装置
本申请基于申请号为201510496957.4、申请日为2015年8月13日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及显示技术领域,特别涉及一种展现设备工作状态的方法和装置。
背景技术
在人们的日常生活和工作中,离不开各式各样的家居设备。例如,常见的家居设备包括空调、冰箱、洗衣机、热水器、空气净化器以及净水器等等。
家居设备通常都有不同的工作状态。以空调为例,包括制冷、制热、抽湿、通风等不同的工作状态。设备的工作状态常以文字或图标的形式显示于设备本身的显示面板或者遥控器的显示屏幕上。
发明内容
本公开实施例提供了一种展现设备工作状态的方法和装置。所述技术方案如下:
根据本公开实施例的第一方面,提供了一种展现设备工作状态的方法,所述方法包括:
获取设备的工作状态;
获取与所述工作状态对应的粒子动画模型;
根据所述粒子动画模型确定至少一个粒子在n帧显示画面中的变化状态,根据所述至少一个粒子在n帧显示画面中的变化状态播放粒子动画,其中,n≥2且n为整数。
可选地,所述粒子动画模型包括各个粒子分别对应的运动轨迹信息;
所述根据所述粒子动画模型确定至少一个粒子在n帧显示画面中的变化状态,根据所述至少一个粒子在n帧显示画面中的变化状态播放粒子动画,包括:
对于每一个粒子,根据所述粒子对应的运动轨迹信息,确定所述粒子在所述n帧显示画面的每一帧显示画面中的位置;
播放所述n帧显示画面,形成所述粒子动画。
可选地,所述方法还包括:
对于第i个粒子,检测所述第i个粒子在第j+1帧显示画面中的位置p(i,j+1)是否位于预定显示区域之外,i、j均为正整数;
若所述第i个粒子在第j+1帧显示画面中的位置p(i,j+1)位于所述预定显示区域之外,则将所述p(i,j+1)设定为所述第i个粒子的初始位置。
可选地,所述对于每一个粒子,根据所述粒子对应的运动轨迹信息,确定所述粒子在所述n帧显示画面的每一帧显示画面中的位置,包括:
对于第i个粒子,根据所述第i个粒子在第j帧显示画面中的位置p(i,j)以及所述第i个粒子对应的运动轨迹函数fi,确定所述第i个粒子在第j+1帧显示画面中的位置p(i,j+1),i、j均为正整数;
其中,所述第i个粒子在第1帧显示画面中的位置p(i,1)为所述第i个粒子的初始位置。
可选地,所述运动轨迹函数fi所对应的运动轨迹包括直线运动轨迹、曲线运动轨迹、圆周运动轨迹、弹跳运动轨迹中的任意一种或两种以上的组合。
可选地,所述粒子动画模型还包括各个粒子分别对应的显示样式信息;
所述根据所述粒子动画模型确定至少一个粒子在n帧显示画面中的变化状态,根据所述至少一个粒子在n帧显示画面中的变化状态播放粒子动画,还包括:
对于每一个粒子,根据所述粒子对应的显示样式信息,确定所述粒子在所述n帧显示画面的每一帧显示画面中的显示样式;
其中,所述显示样式包括颜色、大小、形状、显现时间中的任意一种或两种以上的组合。
可选地,所述方法还包括:
对于每一帧显示画面,形成依次连接所述显示画面中包含的m个粒子的线条,m为大于或等于2的整数。
根据本公开实施例的第二方面,提供了一种展现设备工作状态的装置,所述装置包括:
状态获取模块,被配置为获取设备的工作状态;
模型获取模块,被配置为获取与所述工作状态对应的粒子动画模型;
动画播放模块,被配置为根据所述粒子动画模型确定至少一个粒子在n帧显示画面中的变化状态,根据所述至少一个粒子在n帧显示画面中的变化状态播放粒子动画,其中,n≥2且n为整数。
可选地,所述粒子动画模型包括各个粒子分别对应的运动轨迹信息;
所述动画播放模块,包括:位置确定子模块和动画播放子模块;
所述位置确定子模块,被配置为对于每一个粒子,根据所述粒子对应的运动轨迹信息,确定所述粒子在所述n帧显示画面的每一帧显示画面中的位置;
所述动画播放子模块,被配置为播放所述n帧显示画面,形成所述粒子动画。
可选地,所述动画播放模块,还包括:检测子模块和设定子模块;
所述检测子模块,被配置为对于第i个粒子,检测所述第i个粒子在第j+1帧显示画面中的位置p(i,j+1)是否位于预定显示区域之外,i、j均为正整数;
所述设定子模块,被配置为在所述第i个粒子在第j+1帧显示画面中的位置p(i,j+1)位于所述预定显示区域之外的情况下,将所述p(i,j+1)设定为所述第i个粒子的初始位置。
可选地,所述位置确定子模块,被配置为对于第i个粒子,根据所述第i个粒子在第j帧显示画面中的位置p(i,j)以及所述第i个粒子对应的运动轨迹函数fi,确定所述第i个粒子在第j+1帧显示画面中的位置p(i,j+1),i、j均为正整数;
其中,所述第i个粒子在第1帧显示画面中的位置p(i,1)为所述第i个粒子的初始位置。
可选地,所述运动轨迹函数fi所对应的运动轨迹包括直线运动轨迹、曲线运动轨迹、圆周运动轨迹、弹跳运动轨迹中的任意一种或两种以上的组合。
可选地,所述粒子动画模型还包括各个粒子分别对应的显示样式信息;
所述动画播放模块,还包括:样式确定子模块;
所述样式确定子模块,被配置为对于每一个粒子,根据所述粒子对应的显示样式信息,确定所述粒子在所述n帧显示画面的每一帧显示画面中的显示样式;
其中,所述显示样式包括颜色、大小、形状、显现时间中的任意一种或两 种以上的组合。
可选地,所述动画播放模块,还包括:线条形成子模块;
所述线条形成子模块,被配置为对于每一帧显示画面,形成依次连接所述显示画面中包含的m个粒子的线条,m为大于或等于2的整数。
根据本公开实施例的第三方面,提供了一种展现设备工作状态的装置,所述装置包括:
处理器;
用于存储所述处理器的可执行指令的存储器;
其中,所述处理器被配置为:
获取设备的工作状态;
获取与所述工作状态对应的粒子动画模型;
根据所述粒子动画模型确定至少一个粒子在n帧显示画面中的变化状态,根据所述至少一个粒子在n帧显示画面中的变化状态播放粒子动画,其中,n≥2且n为整数。
本公开实施例提供的技术方案可以包括以下有益效果:
通过以粒子动画的形式展现设备的工作状态;解决了相关技术以文字或图标的形式表示设备的工作状态,导致展现形式过于单一的问题;达到了更为直观、形象地展现设备的工作状态的技术效果,且有助于增强用户与设备间的交互性。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
图1是根据一示例性实施例示出的一种实施环境的示意图;
图2是根据一示例性实施例示出的一种展现设备工作状态的方法的流程图;
图3A是根据另一示例性实施例示出的一种展现设备工作状态的方法的流程图;
图3B至图3H是另一示例性实施例所涉及的粒子运动轨迹的示意图;
图3I是另一示例性实施例所涉及的以线条作为元素的显示画面的示意图;
图4是根据一示例性实施例示出的一种展现设备工作状态的装置的框图;
图5是根据另一示例性实施例示出的一种展现设备工作状态的装置的框图;
图6是根据一示例性实施例示出的一种装置的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
图1是根据一示例性实施例示出的一种实施环境的示意图。该实施环境包括:家居设备120。
家居设备120可以是传统家居设备,也可以是智能家居设备。以智能家居设备为例,包括但不限于智能空调、智能冰箱、智能洗衣机、智能热水器、智能电饭煲、智能空气净化器以及智能净水器等等。
可选地,如图1所示,该实施环境还包括:控制设备140。
控制设备140可以是遥控器,也可以是诸如手机、平板电脑之类的移动终端。控制设备140通过有线方式或者无线方式与家居设备120相连。控制设备140用于控制家居设备120的启停以及家居设备120的工作状态。其中,有线方式包括但不限于有线网络、USB(Universal Serial Bus,通用串行总线)等;无线方式包括但不限无线网络、红外线等。
另外,控制设备140与家居设备120之间可以是一对一的关系,也可以是一对多的关系。也即,一台控制设备140可用于独立控制一台家居设备120,或者一台控制设备140也可用于控制多台相同或不同的家居设备120。
家居设备120和/或控制设备140中设置有显示面板,该显示面板用于显示本公开实施例所涉及的用于展现设备的工作状态的粒子动画。
因此,本公开实施例提供的展现设备工作状态的方法可以应用于家居设备120中,也可以应用于与家居设备120相连的控制设备140中。为了简化描述, 在下列各个方法实施例中,除特别说明以外,以各步骤的执行主体为控制设备进行举例说明,但对此不构成限定。
图2是根据一示例性实施例示出的一种展现设备工作状态的方法的流程图,该方法可以包括如下几个步骤:
在步骤202中,获取设备的工作状态。
在步骤204中,获取与工作状态对应的粒子动画模型。
在步骤206中,根据粒子动画模型确定至少一个粒子在n帧显示画面中的变化状态,根据该至少一个粒子在n帧显示画面中的变化状态播放粒子动画,其中,n≥2且n为整数。
综上所述,本实施例提供的展现设备工作状态的方法,通过以粒子动画的形式展现设备的工作状态;解决了相关技术以文字或图标的形式表示设备的工作状态,导致展现形式过于单一的问题;达到了更为直观、形象地展现设备的工作状态的技术效果,且有助于增强用户与设备间的交互性。
图3A是根据另一示例性实施例示出的一种展现设备工作状态的方法的流程图。在本实施例中,以该方法应用于与家居设备相连的控制设备中进行举例说明。该方法可以包括如下几个步骤:
在步骤301中,获取设备的工作状态。
控制设备获取家居设备的工作状态。其中,家居设备包括但不限于空调、冰箱、洗衣机、热水器、电饭煲、空气净化器以及净水器等等。家居设备可以是传统家居设备,也可以是智能家居设备。
家居设备通常具有不同的工作状态。比如,空调包括制冷、制热、抽湿、通风等不同的工作状态。再比如,电饭煲包括煮饭、煮粥、煲汤、保温等不同的工作状态。
在步骤302中,获取与工作状态对应的粒子动画模型。
控制设备获取与工作状态对应的粒子动画模型。在一种可能的实施方式中,控制设备存储有至少一组工作状态与粒子动画模型之间的对应关系,控制设备获取家居设备的工作状态之后,从上述对应关系中查询获取相对应的粒子动画模型。另外,在通常情况下,对于一种家居设备来说,其不同的工作状态对应 不同的粒子动画模型。
粒子动画模型用于确定粒子动画中各个粒子的变化状态。粒子动画模型包括各个粒子分别对应的运动轨迹信息。粒子动画模型用于确定粒子动画中各个粒子的位置变化状态。一个粒子对应的运动轨迹信息用于确定该粒子的位置变化状态。其中,运动轨迹信息可以是运动轨迹函数,也可以是预先设定的粒子在各帧显示画面中的位置,或者是用于随机确定粒子在各帧显示画面中的位置的随机算法。
可选地,粒子动画模型还包括各个粒子分别对应的显示样式信息。粒子动画模型还用于确定粒子动画中各个粒子的显示样式的变化状态。一个粒子对应的显示样式信息用于确定该粒子的显示样式的变化状态。其中,显示样式包括但不限于颜色、大小、形状、显现时间中的任意一种或两种以上的组合。不同的粒子可对应相同的显示样式,也可对应不同的显示样式。对于一个粒子来说,其显示样式在时域上可以是不变的,也可以是变化的。
在步骤303中,对于每一个粒子,根据该粒子对应的运动轨迹信息,确定该粒子在n帧显示画面的每一帧显示画面中的位置,n≥2且n为整数。
粒子动画包括至少一个粒子在n帧连续的显示画面中的变化状态。对于每一个粒子,控制设备根据该粒子对应的运动轨迹信息,确定该粒子在n帧连续的显示画面的每一帧显示画面中的位置。
以运动轨迹信息为运动轨迹函数为例,在一种可能的实施方式中,对于第i个粒子,根据该第i个粒子在第j帧显示画面中的位置p(i,j)以及该第i个粒子对应的运动轨迹函数fi,确定第i个粒子在第j+1帧显示画面中的位置p(i,j+1),i、j均为正整数。其中,该第i个粒子在第1帧显示画面中的位置p(i,1)为该第i个粒子的初始位置。
粒子动画可以是二维平面动画,也可以是三维空间动画。对于二维平面动画,第i个粒子在第j帧显示画面中的位置p(i,j)以位置坐标(x(i,j),y(i,j))表示。对于三维空间动画,第i个粒子在第j帧显示画面中的位置p(i,j)以位置坐标(x(i,j),y(i,j),z(i,j))表示。
需要说明的一点是,对于任意一个粒子来说,其初始位置可以是预先设定的固定值,例如第1个粒子的初始位置所对应的位置坐标为固定值(0,100)。或者,对于任意一个粒子来说,其初始位置也可以是在预定位置区域内选取的可 变值,例如第1个粒子的初始位置所对应的位置坐标是在以位置坐标(0,98)、(0,102)、(4,98)和(4,102)所形成的矩形预定位置区域内选取的可变值。该选取方式可以是随机选取方式,也可以是按序选取方式。
可选地,运动轨迹函数fi所对应的运动轨迹包括但不限于:直线运动轨迹、曲线运动轨迹、圆周运动轨迹、弹跳运动轨迹中的任意一种或两种以上的组合。结合参考图3B至图3E,图3B示出了单个粒子的直线运动轨迹31的示意图,图3C示出了单个粒子的曲线运动轨迹32的示意图,图3D示出了单个粒子的圆周运动轨迹33的示意图,图3E示出了单个粒子的弹跳运动轨迹34的示意图。
上述图3B至图3E示出的是单个粒子的运动。粒子动画模型中可包括多个粒子分别对应的运动轨迹信息,从而形成大规模的粒子运动。结合参考图3F至图3H。图3F示出了多个粒子的直线运动轨迹35的示意图,多个粒子的直线运动可用于表示电饭煲完成煮饭的工作状态,以此直观、形象地展现水蒸气效果。图3G示出了多个粒子的曲线运动轨迹36的示意图,多个粒子的曲线运动可用于表示净水器正在净水的工作状态,以此直观、形象地展现气泡效果。图3H示出了多个粒子的圆周运动轨迹37的示意图,多个粒子的圆周运动可用于表示空气净化器或吸尘器的工作状态,以此直观、形象地展现设备吸入空气的效果。当然,上述图3F至图3H中,仅以不同粒子对应同一类型的运动轨迹为例,在其它可能的实施方式中,不同粒子可对应不同类型的运动轨迹,从而形成更加丰富多样的粒子动画。
在一种可能的实施方式中,直线运动轨迹采用线性函数实现。以单个粒子沿x轴方向的直线运动轨迹为例,相应的运动轨迹函数fi为:x(i,j+1)=x(i,j)+a。其中,x(i,1)为预设值。当a为常量时,表示沿x轴方向的匀速直线运动轨迹;当a为变量时,表示沿x轴方向的变速直线运动轨迹。沿y轴方向的直线运动轨迹以及沿z轴方向的直线运动轨迹,可参考上述沿x轴方向的直线运动轨迹。另外,当同时改变x轴和y轴的位置坐标时,即可形成二维平面内沿斜方向的直线运动轨迹。当同时改变x轴、y轴和z轴的位置坐标时,即可形成三维空间内的直线运动轨迹。
在一种可能的实施方式中,曲线运动轨迹可采用诸如sin、cos、tan之类的三角函数或者幂函数实现。以单个粒子在x轴和y轴所形成的平面中的曲线运动轨迹为例,相应的运动轨迹函数fi为:x(i,j+1)=x(i,j)+a; y(i,j+1)=sin(x(i,j+1))。其中,x(i,1)为预设值,a为常量或变量。
在一种可能的实施方式中,以单个粒子在x轴和y轴所形成的平面中的圆周运动轨迹为例,相应的运动轨迹函数fi为:angle(i,j+1)=angle(i,j)+a;radius=b;x(i,j+1)=cos(angle(i,j+1))×radius;y(i,j+1)=sin(angle(i,j+1))×radius。其中,angle(i,j)表示第i个粒子在第j帧显示画面中相对于圆心的偏移角度,a表示相邻两帧中偏移角度的变化量,radius表示半径,angle(i,1)为预设值。当a、b均为常量时,即可形成匀速圆周运动轨迹;当a为变量且b为常量时,即可形成变速圆周运动轨迹。当b为变量时,即可形成螺旋状运动轨迹。
当然,上述例举的几种运动轨迹函数仅是示例性和解释性的,并不用于限定本公开。另外,上述仅以运动轨迹信息为运动轨迹函数为例,在其它可能的实施方式中,运动轨迹信息也可以是预先设定的粒子在各帧显示画面中的位置;或者,运动轨迹信息还可以是用于随机确定粒子在各帧显示画面中的位置的随机算法。
另外,对于单个粒子而言,当其在相邻两帧间的位置的变化量为恒定值时,形成匀速运动;而当其在相邻两帧间的位置的变化量为变化值时,形成变速运动。例如,通过将上述直线运动轨迹所对应的运动轨迹函数中的参数a设定为常量,即可形成匀速直线运动;而若将该参数a设定为变量,即可形成变速直线运动。再例如,通过将上述圆周运动轨迹所对应的运动轨迹函数中的参数a和b均设定为常量,即可形成匀速圆周运动;而若将参数a设定为变量并将参数b设定为常量,即可形成变速圆周运动。
在步骤304中,播放n帧显示画面,形成粒子动画。
控制设备播放n帧显示画面,通过粒子动画展现设备的工作状态。
可选地,当粒子动画模型还包括各个粒子分别对应的显示样式信息时,上述步骤304之前还包括:对于每一个粒子,根据该粒子对应的显示样式信息,确定该粒子在n帧显示画面的每一帧显示画面中的显示样式;其中,显示样式包括颜色、大小、形状、显现时间中的任意一种或两种以上的组合。这样,粒子动画除了包括各个粒子的运动形态之外,还包括各个粒子的显示样式的变化形态。例如,粒子的颜色可随时间不断变化;再例如,粒子的大小可随时间不断变化;再例如,不同粒子的出现时机有所分割,等等。
在一个例子中,粒子动画模型所确定的粒子动画中包含多个粒子,对于其 中每一个单个粒子来说,其一边按照运动轨迹信息所确定的运动轨迹运动,一边按照显示样式信息变换其显示样式,例如颜色变换、大小缩放、时隐时现等,从而更为形象、逼真地展现设备的工作状态,使得用户根据粒子动画便可快速而又明确地了解到设备的工作状态,有助于提高人机交互效率。
需要补充说明的一点是,为了更为合理有效地利用内存资源,本实施例还提供了一种粒子回收机制。对于第i个粒子,在确定该第i个粒子在第j+1帧显示画面中的位置p(i,j+1)之后,检测该第i个粒子在第j+1帧显示画面中的位置p(i,j+1)是否位于预定显示区域之外;若位于预定显示区域之外,则将p(i,j+1)设定为该第i个粒子的初始位置。也即,当粒子运动至其所对应的预定显示区域之外时,将该粒子的位置设定为其初始位置,实现粒子的回收。比如,一段大量粒子无限从预定显示区域下方向上运动的粒子动画,给用户呈现的视觉感受是无限多个粒子不断地从预定显示区域下方出现,然后消失在预定显示区域上方,然而实际仅需维护有限数量(如200个)的粒子即可,当任一粒子运动至预定显示区域上方顶部之后,将该粒子回收放置到预定显示区域下方的初始位置即可,该粒子重新由下往上运动,如此循环往复。
另外,在上文已经介绍,对于任意一个粒子来说,其初始位置可以是预先设定的固定值,也可以是在预定位置区域内选取的可变值。因此,仍然以第1个粒子为例。若第1个粒子的初始位置所对应的位置坐标为固定值(0,100),则在该第1个粒子每一次移动至预定显示区域之外时,将该第1个粒子的位置坐标重新设定为固定值(0,100)。若第1个粒子的初始位置所对应的位置坐标是在以位置坐标(0,98)、(0,102)、(4,98)和(4,102)所形成的矩形预定位置区域内选取的可变值,则在该第1个粒子每一次移动至预定显示区域之外时,将该第1个粒子的位置坐标重新设定为在上述矩形预定位置区域内选取的一个位置坐标。比如,以随机选取方式为例,在第一次移动至预定显示区域之外时,将该第1个粒子的位置坐标重新设定为(2,99);在第二次移动至预定显示区域之外时,将该第1个粒子的位置坐标重新设定为(4,101);在第三次移动至预定显示区域之外时,将该第1个粒子的位置坐标重新设定为(1,100),以此类推。另外,当选取方式为按序选取方式时,则根据预先设定的选取顺序确定出每一次移动至预定显示区域之外后重新设定的位置坐标。
相较于当粒子运动至其所对应的预定显示区域之外时,释放该粒子并重新 创建一个粒子,采用上述粒子回收机制,仅需维护有限数量的粒子便可形成无限多个粒子不断显现的动画效果,既可以有效节省内存资源的占用,且能够避免因粒子反复地释放和创建所导致系统处理开销过大的问题。另外,相较于将粒子的初始位置设定为固定值,通过将粒子的初始位置设定为在预定位置区域内的可变值,可以在保持粒子动画所呈现的整体动态效果的前提下,实现对细节的动态改变,有助于提高粒子动画的生动性和丰富性,更好地展现设备的工作状态。
还需要补充说明的一点是,在一种可能的实施方式中,上述步骤303之后,还可包括如下步骤:对于每一帧显示画面,形成依次连接该显示画面中包含的m个粒子的线条,m为大于或等于2的整数。通过将多个粒子连接起来,即可实现以线条作为元素的动画。例如,结合参考图3I,其示出了一种以线条作为元素的一帧显示画面38的示意图。如图3I所示,通过连接多个在竖直方向上沿直线上下往复运动的粒子便可形成波浪状曲线,以此可以直观、形象地展现水流或空气流动等效果。
还需要补充说明的一点是,单个粒子可以是单个像素点,也可以是由若干个像素点形成的圆形、三角形、多边形、星形或者其它特定图案,本实施例对此不作限定。
综上所述,本实施例提供的展现设备工作状态的方法,通过以粒子动画的形式展现设备的工作状态;解决了相关技术以文字或图标的形式表示设备的工作状态,导致展现形式过于单一的问题;达到了更为直观、形象地展现设备的工作状态的技术效果,且有助于增强用户与设备间的交互性。
另外,还通过运动轨迹函数确定粒子的运动轨迹,由于运动轨迹函数的可调整参数众多,可以实现多样化的粒子动画,适用于更多设备、更多工作状态的展现。
另外,还通过在检测出第i个粒子在第j+1帧显示画面中的位置p(i,j+1)位于预定显示区域之外时,将p(i,j+1)设定为该第i个粒子的初始位置,实现粒子的回收,从而仅需维护有限数量的粒子便可形成无限多个粒子不断显现的动画效果,既可以有效节省内存资源的占用,且能够避免因粒子反复地释放和创建所导致系统处理开销过大的问题。
还需要补充说明的一点是,在上述实施例中,仅以通过粒子动画展现诸如 空调、电饭煲、净水器之类的家居设备的工作状态为例,在实际应用中,也可通过粒子动画展现其它电子设备的工作状态,本公开对此不作限定。
下述为本公开装置实施例,可以用于执行本公开方法实施例。对于本公开装置实施例中未披露的细节,请参照本公开方法实施例。
图4是根据一示例性实施例示出的一种展现设备工作状态的装置的框图。该装置可以应用于图1所示实施环境中的家居设备120中,也可以应用于与家居设备120相连的控制设备140中。该装置可以包括:状态获取模块410、模型获取模块420和动画播放模块430。
状态获取模块410,被配置为获取设备的工作状态。
模型获取模块420,被配置为获取与所述状态获取模块410获取的所述工作状态对应的粒子动画模型。
动画播放模块430,被配置为根据所述模型获取模块420获取的所述粒子动画模型确定至少一个粒子在n帧显示画面中的变化状态,根据所述至少一个粒子在n帧显示画面中的变化状态播放粒子动画,其中,n≥2且n为整数。
综上所述,本实施例提供的展现设备工作状态的装置,通过以粒子动画的形式展现设备的工作状态;解决了相关技术以文字或图标的形式表示设备的工作状态,导致展现形式过于单一的问题;达到了更为直观、形象地展现设备的工作状态的技术效果,且有助于增强用户与设备间的交互性。
图5是根据另一示例性实施例示出的一种展现设备工作状态的装置的框图。该装置可以应用于图1所示实施环境中的家居设备120中,也可以应用于与家居设备120相连的控制设备140中。该装置可以包括:状态获取模块410、模型获取模块420和动画播放模块430。
状态获取模块410,被配置为获取设备的工作状态。
模型获取模块420,被配置为获取与所述状态获取模块410获取的所述工作状态对应的粒子动画模型。
动画播放模块430,被配置为根据所述模型获取模块420获取的所述粒子动画模型确定至少一个粒子在n帧显示画面中的变化状态,根据所述至少一个粒子在n帧显示画面中的变化状态播放粒子动画,其中,n≥2且n为整数。
可选地,所述粒子动画模型包括各个粒子分别对应的运动轨迹信息。
相应地,所述动画播放模块430,包括:位置确定子模块430a和动画播放子模块430b。
所述位置确定子模块430a,被配置为对于每一个粒子,根据所述粒子对应的运动轨迹信息,确定所述粒子在所述n帧显示画面的每一帧显示画面中的位置。
所述动画播放子模块430b,被配置为播放所述n帧显示画面,形成所述粒子动画。
可选地,所述动画播放模块,还包括:检测子模块430c和设定子模块430d。
所述检测子模块430c,被配置为对于第i个粒子,检测所述第i个粒子在第j+1帧显示画面中的位置p(i,j+1)是否位于预定显示区域之外,i、j均为正整数。
所述设定子模块430d,被配置为在所述第i个粒子在第j+1帧显示画面中的位置p(i,j+1)位于所述预定显示区域之外的情况下,将所述p(i,j+1)设定为所述第i个粒子的初始位置。
可选地,所述位置确定子模块430a,被配置为对于第i个粒子,根据所述第i个粒子在第j帧显示画面中的位置p(i,j)以及所述第i个粒子对应的运动轨迹函数fi,确定所述第i个粒子在第j+1帧显示画面中的位置p(i,j+1),i、j均为正整数。
其中,所述第i个粒子在第1帧显示画面中的位置p(i,1)为所述第i个粒子的初始位置。
可选地,所述运动轨迹函数fi所对应的运动轨迹包括直线运动轨迹、曲线运动轨迹、圆周运动轨迹、弹跳运动轨迹中的任意一种或两种以上的组合。
可选地,所述粒子动画模型还包括各个粒子分别对应的显示样式信息。
相应地,所述动画播放模块430,还包括:样式确定子模块430e。
所述样式确定子模块430e,被配置为对于每一个粒子,根据所述粒子对应的显示样式信息,确定所述粒子在所述n帧显示画面的每一帧显示画面中的显示样式。
其中,所述显示样式包括颜色、大小、形状、显现时间中的任意一种或两种以上的组合。
可选地,所述动画播放模块430,还包括:线条形成子模块(图中未示出)。
所述线条形成子模块,被配置为对于每一帧显示画面,形成依次连接所述显示画面中包含的m个粒子的线条,m为大于或等于2的整数。
综上所述,本实施例提供的展现设备工作状态的装置,通过以粒子动画的形式展现设备的工作状态;解决了相关技术以文字或图标的形式表示设备的工作状态,导致展现形式过于单一的问题;达到了更为直观、形象地展现设备的工作状态的技术效果,且有助于增强用户与设备间的交互性。
另外,还通过运动轨迹函数确定粒子的运动轨迹,由于运动轨迹函数的可调整参数众多,可以实现多样化的粒子动画,适用于更多设备、更多工作状态的展现。
另外,还通过在检测出第i个粒子在第j+1帧显示画面中的位置p(i,j+1)位于预定显示区域之外时,将p(i,j+1)设定为该第i个粒子的初始位置,实现粒子的回收,从而仅需维护有限数量的粒子便可形成无限多个粒子不断显现的动画效果,既可以有效节省内存资源的占用,且能够避免因粒子反复地释放和创建所导致系统处理开销过大的问题。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
本公开一示例性实施例还提供了一种展现设备工作状态的装置,能够实现本公开提供的展现设备工作状态的方法。该装置包括:处理器,以及用于存储处理器的可执行指令的存储器。其中,处理器被配置为:
获取设备的工作状态;
获取与所述工作状态对应的粒子动画模型;
根据所述粒子动画模型确定至少一个粒子在n帧显示画面中的变化状态,根据所述至少一个粒子在n帧显示画面中的变化状态播放粒子动画,其中,n≥2且n为整数。
可选地,所述粒子动画模型包括各个粒子分别对应的运动轨迹信息;
相应地,所述处理器,被配置为:
对于每一个粒子,根据所述粒子对应的运动轨迹信息,确定所述粒子在所述n帧显示画面的每一帧显示画面中的位置;
播放所述n帧显示画面,形成所述粒子动画。
可选地,所述处理器,还被配置为:
对于第i个粒子,检测所述第i个粒子在第j+1帧显示画面中的位置p(i,j+1)是否位于预定显示区域之外,i、j均为正整数;
在所述第i个粒子在第j+1帧显示画面中的位置p(i,j+1)位于所述预定显示区域之外的情况下,将所述p(i,j+1)设定为所述第i个粒子的初始位置。
可选地,所述处理器,被配置为:
对于第i个粒子,根据所述第i个粒子在第j帧显示画面中的位置p(i,j)以及所述第i个粒子对应的运动轨迹函数fi,确定所述第i个粒子在第j+1帧显示画面中的位置p(i,j+1),i、j均为正整数;
其中,所述第i个粒子在第1帧显示画面中的位置p(i,1)为所述第i个粒子的初始位置。
可选地,所述运动轨迹函数fi所对应的运动轨迹包括直线运动轨迹、曲线运动轨迹、圆周运动轨迹、弹跳运动轨迹中的任意一种或两种以上的组合。
可选地,所述粒子动画模型还包括各个粒子分别对应的显示样式信息;
相应地,所述处理器,还被配置为:
对于每一个粒子,根据所述粒子对应的显示样式信息,确定所述粒子在所述n帧显示画面的每一帧显示画面中的显示样式;
其中,所述显示样式包括颜色、大小、形状、显现时间中的任意一种或两种以上的组合。
可选地,所述处理器,还被配置为:
对于每一帧显示画面,形成依次连接所述显示画面中包含的m个粒子的线条,m为大于或等于2的整数。
图6是根据一示例性实施例示出的一种装置600的框图。例如,装置600可以是诸如空调、冰箱、洗衣机、热水器、电饭煲、空气净化器以及净水器之类的家居设备。或者,装置600也可以是用于控制家居设备的启停以及家居设备的工作状态的控制设备,如遥控器、手机、平板电脑等移动终端。
参照图6,装置600可以包括以下一个或多个组件:处理组件602,存储器604,电源组件606,多媒体组件608,音频组件610,输入/输出(I/O)的接口 612,传感器组件614,以及通信组件616。
处理组件602通常控制装置600的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件602可以包括一个或多个处理器620来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件602可以包括一个或多个模块,便于处理组件602和其他组件之间的交互。例如,处理组件602可以包括多媒体模块,以方便多媒体组件608和处理组件602之间的交互。
存储器604被配置为存储各种类型的数据以支持在装置600的操作。这些数据的示例包括用于在装置600上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器604可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件606为装置600的各种组件提供电力。电源组件606可以包括电源管理系统,一个或多个电源,及其他与为装置600生成、管理和分配电力相关联的组件。
多媒体组件608包括在所述装置600和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件608包括一个前置摄像头和/或后置摄像头。当装置600处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件610被配置为输出和/或输入音频信号。例如,音频组件610包括一个麦克风(MIC),当装置600处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进 一步存储在存储器604或经由通信组件616发送。在一些实施例中,音频组件610还包括一个扬声器,用于输出音频信号。
I/O接口612为处理组件602和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件614包括一个或多个传感器,用于为装置600提供各个方面的状态评估。例如,传感器组件614可以检测到装置600的打开/关闭状态,组件的相对定位,例如所述组件为装置600的显示器和小键盘,传感器组件614还可以检测装置600或装置600一个组件的位置改变,用户与装置600接触的存在或不存在,装置600方位或加速/减速和装置600的温度变化。传感器组件614可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件614还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件614还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件616被配置为便于装置600和其他设备之间有线或无线方式的通信。装置600可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件616经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件616还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置600可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器604,上述指令可由装置600的处理器620执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
一种非临时性计算机可读存储介质,当所述存储介质中的指令由装置600 的处理器执行时,使得装置600能够执行如上述图2或图3A所示实施例提供的方法。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (15)

  1. 一种展现设备工作状态的方法,其特征在于,所述方法包括:
    获取设备的工作状态;
    获取与所述工作状态对应的粒子动画模型;
    根据所述粒子动画模型确定至少一个粒子在n帧显示画面中的变化状态,根据所述至少一个粒子在n帧显示画面中的变化状态播放粒子动画,其中,n≥2且n为整数。
  2. 根据权利要求1所述的方法,其特征在于,所述粒子动画模型包括各个粒子分别对应的运动轨迹信息;
    所述根据所述粒子动画模型确定至少一个粒子在n帧显示画面中的变化状态,根据所述至少一个粒子在n帧显示画面中的变化状态播放粒子动画,包括:
    对于每一个粒子,根据所述粒子对应的运动轨迹信息,确定所述粒子在所述n帧显示画面的每一帧显示画面中的位置;
    播放所述n帧显示画面,形成所述粒子动画。
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    对于第i个粒子,检测所述第i个粒子在第j+1帧显示画面中的位置p(i,j+1)是否位于预定显示区域之外,i、j均为正整数;
    若所述第i个粒子在第j+1帧显示画面中的位置p(i,j+1)位于所述预定显示区域之外,则将所述p(i,j+1)设定为所述第i个粒子的初始位置。
  4. 根据权利要求2所述的方法,其特征在于,所述对于每一个粒子,根据所述粒子对应的运动轨迹信息,确定所述粒子在所述n帧显示画面的每一帧显示画面中的位置,包括:
    对于第i个粒子,根据所述第i个粒子在第j帧显示画面中的位置p(i,j)以及所述第i个粒子对应的运动轨迹函数fi,确定所述第i个粒子在第j+1帧显示画面中的位置p(i,j+1),i、j均为正整数;
    其中,所述第i个粒子在第1帧显示画面中的位置p(i,1)为所述第i个粒子 的初始位置。
  5. 根据权利要求4所述的方法,其特征在于,所述运动轨迹函数fi所对应的运动轨迹包括直线运动轨迹、曲线运动轨迹、圆周运动轨迹、弹跳运动轨迹中的任意一种或两种以上的组合。
  6. 根据权利要求2所述的方法,其特征在于,所述粒子动画模型还包括各个粒子分别对应的显示样式信息;
    所述根据所述粒子动画模型确定至少一个粒子在n帧显示画面中的变化状态,根据所述至少一个粒子在n帧显示画面中的变化状态播放粒子动画,还包括:
    对于每一个粒子,根据所述粒子对应的显示样式信息,确定所述粒子在所述n帧显示画面的每一帧显示画面中的显示样式;
    其中,所述显示样式包括颜色、大小、形状、显现时间中的任意一种或两种以上的组合。
  7. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    对于每一帧显示画面,形成依次连接所述显示画面中包含的m个粒子的线条,m为大于或等于2的整数。
  8. 一种展现设备工作状态的装置,其特征在于,所述装置包括:
    状态获取模块,被配置为获取设备的工作状态;
    模型获取模块,被配置为获取与所述工作状态对应的粒子动画模型;
    动画播放模块,被配置为根据所述粒子动画模型确定至少一个粒子在n帧显示画面中的变化状态,根据所述至少一个粒子在n帧显示画面中的变化状态播放粒子动画,其中,n≥2且n为整数。
  9. 根据权利要求8所述的装置,其特征在于,所述粒子动画模型包括各个粒子分别对应的运动轨迹信息;
    所述动画播放模块,包括:位置确定子模块和动画播放子模块;
    所述位置确定子模块,被配置为对于每一个粒子,根据所述粒子对应的运动轨迹信息,确定所述粒子在所述n帧显示画面的每一帧显示画面中的位置;
    所述动画播放子模块,被配置为播放所述n帧显示画面,形成所述粒子动画。
  10. 根据权利要求9所述的装置,其特征在于,所述动画播放模块,还包括:检测子模块和设定子模块;
    所述检测子模块,被配置为对于第i个粒子,检测所述第i个粒子在第j+1帧显示画面中的位置p(i,j+1)是否位于预定显示区域之外,i、j均为正整数;
    所述设定子模块,被配置为在所述第i个粒子在第j+1帧显示画面中的位置p(i,j+1)位于所述预定显示区域之外的情况下,将所述p(i,j+1)设定为所述第i个粒子的初始位置。
  11. 根据权利要求9所述的装置,其特征在于,
    所述位置确定子模块,被配置为对于第i个粒子,根据所述第i个粒子在第j帧显示画面中的位置p(i,j)以及所述第i个粒子对应的运动轨迹函数fi,确定所述第i个粒子在第j+1帧显示画面中的位置p(i,j+1),i、j均为正整数;
    其中,所述第i个粒子在第1帧显示画面中的位置p(i,1)为所述第i个粒子的初始位置。
  12. 根据权利要求11所述的装置,其特征在于,所述运动轨迹函数fi所对应的运动轨迹包括直线运动轨迹、曲线运动轨迹、圆周运动轨迹、弹跳运动轨迹中的任意一种或两种以上的组合。
  13. 根据权利要求9所述的装置,其特征在于,所述粒子动画模型还包括各个粒子分别对应的显示样式信息;
    所述动画播放模块,还包括:样式确定子模块;
    所述样式确定子模块,被配置为对于每一个粒子,根据所述粒子对应的显示样式信息,确定所述粒子在所述n帧显示画面的每一帧显示画面中的显示样式;
    其中,所述显示样式包括颜色、大小、形状、显现时间中的任意一种或两种以上的组合。
  14. 根据权利要求9所述的装置,其特征在于,所述动画播放模块,还包括:线条形成子模块;
    所述线条形成子模块,被配置为对于每一帧显示画面,形成依次连接所述显示画面中包含的m个粒子的线条,m为大于或等于2的整数。
  15. 一种展现设备工作状态的装置,其特征在于,所述装置包括:
    处理器;
    用于存储所述处理器的可执行指令的存储器;
    其中,所述处理器被配置为:
    获取设备的工作状态;
    获取与所述工作状态对应的粒子动画模型;
    根据所述粒子动画模型确定至少一个粒子在n帧显示画面中的变化状态,根据所述至少一个粒子在n帧显示画面中的变化状态播放粒子动画,其中,n≥2且n为整数。
PCT/CN2015/099295 2015-08-13 2015-12-29 展现设备工作状态的方法和装置 WO2017024736A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
RU2016107978A RU2636130C2 (ru) 2015-08-13 2015-12-29 Способ и устройство отображения рабочего режима устройства
JP2017533685A JP6279819B2 (ja) 2015-08-13 2015-12-29 機器の稼働状態を表示する方法及び装置
MX2016003022A MX363858B (es) 2015-08-13 2015-12-29 Método y dispositivo para mostrar estado de trabajo de un dispositivo.
KR1020167005548A KR101761381B1 (ko) 2015-08-13 2015-12-29 디바이스 동작상태 표현 방법 및 장치

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510496957.4 2015-08-13
CN201510496957.4A CN105117004A (zh) 2015-08-13 2015-08-13 展现设备工作状态的方法和装置

Publications (1)

Publication Number Publication Date
WO2017024736A1 true WO2017024736A1 (zh) 2017-02-16

Family

ID=54665019

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/099295 WO2017024736A1 (zh) 2015-08-13 2015-12-29 展现设备工作状态的方法和装置

Country Status (8)

Country Link
US (1) US20170046866A1 (zh)
EP (1) EP3130969A1 (zh)
JP (1) JP6279819B2 (zh)
KR (1) KR101761381B1 (zh)
CN (1) CN105117004A (zh)
MX (1) MX363858B (zh)
RU (1) RU2636130C2 (zh)
WO (1) WO2017024736A1 (zh)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117004A (zh) * 2015-08-13 2015-12-02 小米科技有限责任公司 展现设备工作状态的方法和装置
CN107277633B (zh) * 2017-06-30 2019-11-15 武汉斗鱼网络科技有限公司 一种展示直播间礼物效果的方法及装置
CN107346246A (zh) * 2017-07-03 2017-11-14 沈阳鼓风机集团自动控制系统工程有限公司 基于压缩机组控制系统的人机画面生成方法及装置
CN111344661B (zh) * 2017-09-15 2023-12-08 深圳传音通讯有限公司 一种用于智能终端的显示方法及显示装置
CN107817701B (zh) * 2017-09-20 2020-09-29 珠海格力电器股份有限公司 设备控制方法、装置、计算机可读存储介质及终端
US20190101306A1 (en) * 2017-10-04 2019-04-04 Michael E. Giorgi Facilitating structure automation functionality by automatically modifying a condition of an environment based on implementing a parameter adjustment at a remote device within the structure
JP6847024B2 (ja) * 2017-11-29 2021-03-24 株式会社日立製作所 加速度センサ
CN110007983B (zh) * 2019-03-29 2022-06-07 网易传媒科技(北京)有限公司 粒子喷射动画的实现方法、介质、装置和计算设备
EP3719753A1 (en) * 2019-04-02 2020-10-07 Rightware Oy Dynamic transitioning between visual user interface elements on a display
CN111817880A (zh) * 2020-06-17 2020-10-23 安徽创米信息技术有限公司 一种油气田生产设备健康管理系统以及实现方法
CN113885345B (zh) * 2021-10-29 2024-03-19 广州市技师学院(广州市高级技工学校、广州市高级职业技术培训学院、广州市农业干部学校) 基于智能家居仿真控制系统的交互方法、装置、设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050190199A1 (en) * 2001-12-21 2005-09-01 Hartwell Brown Apparatus and method for identifying and simultaneously displaying images of musical notes in music and producing the music
CN104424874A (zh) * 2013-08-19 2015-03-18 珠海格力电器股份有限公司 家用电器控制装置、家用电器及其显示控制方法
CN104598215A (zh) * 2014-05-30 2015-05-06 小米科技有限责任公司 音频图形展示方法及装置
CN104766361A (zh) * 2015-04-29 2015-07-08 腾讯科技(深圳)有限公司 一种残影效果的实现方法,及装置
CN105117004A (zh) * 2015-08-13 2015-12-02 小米科技有限责任公司 展现设备工作状态的方法和装置

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62269091A (ja) * 1986-05-19 1987-11-21 株式会社東芝 原子炉監視装置
JPH02285290A (ja) * 1989-04-27 1990-11-22 Toshiba Corp 原子炉状態視覚化システム
DE69432199T2 (de) * 1993-05-24 2004-01-08 Sun Microsystems, Inc., Mountain View Graphische Benutzerschnittstelle mit Verfahren zur Schnittstellebildung mit fernsteuernden Einrichtungen
US6396518B1 (en) * 1998-08-07 2002-05-28 Hewlett-Packard Company Appliance and method of using same having a send capability for stored data
JP4310916B2 (ja) * 2000-11-08 2009-08-12 コニカミノルタホールディングス株式会社 映像表示装置
JP4743733B2 (ja) * 2001-01-12 2011-08-10 株式会社バンダイナムコゲームス 画像生成システム、プログラム及び情報記憶媒体
US9019300B2 (en) * 2006-08-04 2015-04-28 Apple Inc. Framework for graphics animation and compositing operations
US20090174703A1 (en) * 2008-01-07 2009-07-09 Disney Enterprises, Inc. Particle-based method of generating and animating three-dimensional vegetation
US20090207175A1 (en) * 2008-02-15 2009-08-20 Apple Inc. Animation Using Animation Effect and Trigger Element
US20100031152A1 (en) * 2008-07-31 2010-02-04 Microsoft Corporation Creation and Navigation of Infinite Canvas Presentation
US8473571B2 (en) * 2009-01-08 2013-06-25 Microsoft Corporation Synchronizing presentation states between multiple applications
JP5668373B2 (ja) * 2010-09-03 2015-02-12 富士通株式会社 シミュレーション装置、該プログラム、及び該方法
KR20140032262A (ko) * 2012-09-06 2014-03-14 엘지전자 주식회사 가전제품 및 이를 포함하여 이루어지는 온라인 시스템
US20140268646A1 (en) * 2013-03-15 2014-09-18 Whirlpool Corporation Light animation in an appliance
EP3004449A4 (en) * 2013-05-30 2017-04-05 LG Electronics Inc. Method for displaying wash cycle
JP2015106265A (ja) * 2013-11-29 2015-06-08 三菱重工業株式会社 情報処理装置及びパラメータ設定方法
CN103761380B (zh) * 2014-01-16 2016-11-16 中衡设计集团股份有限公司 一种模拟大型复杂屋面水流形态的方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050190199A1 (en) * 2001-12-21 2005-09-01 Hartwell Brown Apparatus and method for identifying and simultaneously displaying images of musical notes in music and producing the music
CN104424874A (zh) * 2013-08-19 2015-03-18 珠海格力电器股份有限公司 家用电器控制装置、家用电器及其显示控制方法
CN104598215A (zh) * 2014-05-30 2015-05-06 小米科技有限责任公司 音频图形展示方法及装置
CN104766361A (zh) * 2015-04-29 2015-07-08 腾讯科技(深圳)有限公司 一种残影效果的实现方法,及装置
CN105117004A (zh) * 2015-08-13 2015-12-02 小米科技有限责任公司 展现设备工作状态的方法和装置

Also Published As

Publication number Publication date
CN105117004A (zh) 2015-12-02
KR20170030455A (ko) 2017-03-17
KR101761381B1 (ko) 2017-07-25
MX2016003022A (es) 2017-10-04
RU2636130C2 (ru) 2017-11-20
US20170046866A1 (en) 2017-02-16
RU2016107978A (ru) 2017-09-07
EP3130969A1 (en) 2017-02-15
JP6279819B2 (ja) 2018-02-14
JP2017535004A (ja) 2017-11-24
MX363858B (es) 2019-04-05

Similar Documents

Publication Publication Date Title
WO2017024736A1 (zh) 展现设备工作状态的方法和装置
JP6488375B2 (ja) デバイス制御方法及び装置
CN108038726B (zh) 物品展示方法及装置
US9791920B2 (en) Apparatus and method for providing control service using head tracking technology in electronic device
CN106134176B (zh) 用于多焦点成像的系统和方法
KR101676209B1 (ko) 날씨 표시 방법, 장치, 프로그램 및 저장매체
CN104618572B (zh) 一种终端的拍照方法及装置
KR20170105444A (ko) 컨텐츠 큐레이션을 포함하는 디스플레이 장치들의 구성 및 동작
CN105955607A (zh) 内容分享方法和装置
CN103873771B (zh) 图像处理装置及图像处理方法
WO2015154356A1 (zh) 一种远程智能控制方法和装置
US20170039753A1 (en) Method, apparatus and non-transitory computer-readable storage medium for uninstalling an application
CN103365044A (zh) 使用相机拍摄照片的方法和用于相机的拍摄照片的装置
KR102413074B1 (ko) 사용자 단말, 전자 장치 및 이들의 제어 방법
CN105376410B (zh) 闹钟设置方法及装置
WO2020073334A1 (zh) 扩展内容显示方法、装置、系统及存储介质
EP3506619A1 (en) Receiving and displaying sensor data on a substantially spherical surface of a display device
CN104850340B (zh) 触控显示屏上的文档显示方法及装置
CN107124658B (zh) 视频直播方法及装置
WO2016065827A1 (zh) 信息显示方法和装置
WO2018192094A1 (zh) 场景展示方法及装置
EP3799415A2 (en) Method and device for processing videos, and medium
CN104660910A (zh) 图像处理装置及图像处理方法
WO2022262211A1 (zh) 内容处理方法及装置
CN106454540A (zh) 基于直播的交互信息的处理方法及装置

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2017533685

Country of ref document: JP

Kind code of ref document: A

Ref document number: 20167005548

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2016107978

Country of ref document: RU

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: MX/A/2016/003022

Country of ref document: MX

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

Ref document number: 15900927

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: 15900927

Country of ref document: EP

Kind code of ref document: A1