CN111130959A - Curtain animation display method and device - Google Patents

Curtain animation display method and device Download PDF

Info

Publication number
CN111130959A
CN111130959A CN201911354228.XA CN201911354228A CN111130959A CN 111130959 A CN111130959 A CN 111130959A CN 201911354228 A CN201911354228 A CN 201911354228A CN 111130959 A CN111130959 A CN 111130959A
Authority
CN
China
Prior art keywords
state
curtain
app
motor
zigbee
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911354228.XA
Other languages
Chinese (zh)
Inventor
陈丽萍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Smart Home Systems Co ltd
Original Assignee
Qingdao Hisense Smart Home Systems Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Smart Home Systems Co ltd filed Critical Qingdao Hisense Smart Home Systems Co ltd
Priority to CN201911354228.XA priority Critical patent/CN111130959A/en
Publication of CN111130959A publication Critical patent/CN111130959A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/2814Exchanging control software or macros for controlling appliance services in a home automation network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Power-Operated Mechanisms For Wings (AREA)

Abstract

The invention discloses a curtain animation display method and device, the method comprises the steps that an APP terminal obtains a device state sent by ZigBee devices, the device state is sent after the ZigBee devices receive a state query instruction sent by the APP terminal or sent after the ZigBee devices determine the device state to change or sent periodically by the ZigBee devices, and curtain animation display is carried out according to the device state when the device state is determined not to enter an APP interface for the first time. The APP end is through when confirming not getting into the APP interface for the first time, carries out (window) curtain animation according to the equipment state who acquires and shows, can make the user carry out remote control when the APP end, learns the motion state of (window) curtain in real time, experiences for the user provides more directly perceived, reasonable wisdom house.

Description

Curtain animation display method and device
Technical Field
The embodiment of the invention relates to the technical field of smart home, in particular to a curtain animation display method and device.
Background
In the process of interaction between the curtain motor and the mobile terminal APP, state display and control of the curtain are important parts influencing user experience. At present, the intellectualization of the curtain motor in the market can only meet the requirements of full-open, full-close or half-open state display and the control of opening, closing and stopping, and the control of the opening and closing degree and the opening and closing speed is realized a little, but the motion process of the curtain is not displayed by utilizing real-time animation, and the accurate curtain animation display and percentage control are not realized, so that the experience effect of a user is reduced.
Disclosure of Invention
The embodiment of the invention provides a method and a device for curtain animation display, which are used for realizing accurate control of a curtain, improving the curtain control efficiency, increasing the adaptability of curtain control and improving the experience of a user.
In a first aspect, an embodiment of the present invention provides a method for animation display of a window curtain, including:
the method comprises the steps that an APP terminal obtains a device state sent by ZigBee devices, wherein the device state is sent by the ZigBee devices after receiving a state query instruction sent by the APP terminal or after the ZigBee devices determine that the device state changes or the ZigBee devices send periodically;
and when the APP end determines that the device does not enter the APP interface for the first time, curtain animation display is carried out according to the device state.
Among the above-mentioned technical scheme, the APP end is through when confirming not getting into the APP interface for the first time, carries out (window) curtain animation according to the equipment state who acquires and shows, can make the user carry out remote control when the APP end, learns the motion state of (window) curtain in real time, provides more directly perceived, reasonable wisdom house for the user and experiences.
Optionally, the method further comprises:
when the APP end determines to enter the APP interface for the first time, the progress of a sliding bar and the position of a curtain in the APP interface are updated according to the opening amplitude in the equipment state;
and the APP end displays curtain animation according to the equipment state.
Optionally, the device state includes a motor state, an opening amplitude, and a stroke;
the APP terminal carries out curtain animation display according to the equipment state, and the method comprises the following steps:
when the motor is stopped, the APP end updates the progress of a sliding bar in the APP interface according to the opening amplitude; determining first time for moving from the current curtain position to a target position according to the travel, and performing animation display according to the first time until the curtain moves to the target position;
when the motor state is closed, the APP end determines second time from the current curtain position to a full-closed position according to the travel, animation display is carried out according to the second time until the motor state is received and stopped;
and when the motor state is on, the APP end determines the third time from the current curtain position to the full-open position according to the travel, and animation display is carried out according to the third time until the motor state is received and stopped.
Optionally, the method further includes:
the APP terminal sends a control instruction to the ZigBee device so that the ZigBee device executes corresponding operation according to the control instruction and feeds back the state of the device; the control instruction controls the control instruction to comprise a motor state and an opening amplitude set by a user; the control instruction is generated after the user sets the control instruction on the APP interface;
and after receiving the equipment state fed back by the ZigBee equipment, the APP terminal performs animation display on the ZigBee equipment on an APP interface according to the equipment state fed back by the ZigBee equipment.
Optionally, before the APP end sends the control instruction to the ZigBee device, the method further includes:
when the motor state set by the user is on, the APP end determines whether the current state of the motor is fully open, and if so, the user is reminded that the curtain is fully open;
when the motor state that the user set up is for closing, APP end confirms whether the current state of motor is for closing entirely, if, then reminds the user the (window) curtain has closed entirely.
In a second aspect, an embodiment of the present invention provides an apparatus for curtain animation display, including:
the device state acquisition unit is used for acquiring a device state sent by the ZigBee device, wherein the device state is sent by the ZigBee device after the ZigBee device receives a state query instruction sent by an APP terminal or after the ZigBee device determines that the device state changes or the ZigBee device periodically sends the device state;
and the processing unit is used for performing curtain animation display according to the equipment state when determining that the equipment state does not enter the APP interface for the first time.
Optionally, the processing unit is further configured to:
when the APP interface is determined to enter for the first time, updating the progress of a sliding bar and the position of a curtain in the APP interface according to the opening amplitude in the equipment state;
and performing curtain animation display according to the equipment state.
Optionally, the device state includes a motor state, an opening amplitude, and a stroke;
the processing unit is specifically configured to:
when the motor is stopped, updating the progress of the sliding bar in the APP interface according to the opening amplitude; determining first time for moving from the current curtain position to a target position according to the travel, and performing animation display according to the first time until the curtain moves to the target position;
when the motor is in a closed state, determining second time for moving from the current curtain position to a full-closed position according to the travel, and displaying animation according to the second time until the motor is in a stopped state;
and when the motor is in an on state, determining third time for moving from the current curtain position to a full-open position according to the travel, and displaying animation according to the third time until the motor is in a stop state.
Optionally, the processing unit is further configured to:
sending a control instruction to the ZigBee device so that the ZigBee device executes corresponding operation according to the control instruction and feeds back the state of the device; the control instruction controls the control instruction to comprise a motor state and an opening amplitude set by a user; the control instruction is generated after the user sets the control instruction on the APP interface;
and after receiving the equipment state fed back by the ZigBee equipment, performing animation display on the ZigBee equipment on an APP interface according to the equipment state fed back by the ZigBee equipment.
Optionally, the processing unit is further configured to:
before sending a control instruction to the ZigBee device, when the motor state set by the user is on, determining whether the current state of the motor is fully open, if so, reminding the user that the curtain is fully open;
and when the motor state set by the user is closed, determining whether the current state of the motor is fully closed, and if so, reminding the user that the curtain is fully closed.
In a third aspect, an embodiment of the present invention further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the curtain animation display method according to the obtained program.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable non-volatile storage medium, which includes computer-readable instructions, and when the computer reads and executes the computer-readable instructions, the computer is caused to execute the method for curtain animation display.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a system architecture according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an APP interface display provided in an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for displaying an animation on a window covering according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for displaying an animation on a window covering according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a method for displaying an animation on a window covering according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a method for displaying an animation on a window covering according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating a method for displaying an animation on a window covering according to an embodiment of the present invention;
FIG. 8 is a flowchart illustrating a method for displaying an animation on a window covering according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a device for displaying curtain animation according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 exemplarily shows a system architecture to which an embodiment of the present invention is applicable, and the system architecture may include an APP end 100, a cloud server 200, a gateway 300, and a ZigBee device 400.
Wherein, the APP end 100 can be located on the equipment that can install the APP such as cell-phone, computer, and it can send control command to ZigBee equipment 400 under user's operation, and the equipment state that receives ZigBee equipment 400 and send shows. The display interface of the APP end 100 can be as shown in fig. 2, and the opening amplitude, i.e. the opening and closing percentage, and the states of the curtain motor, such as opening, stopping, closing, etc., are displayed on the interface.
The cloud server 200 is responsible for communication between the APP end 100 and the gateway 300, and the device state of the ZigBee device 400 may be stored on the cloud server 200, so that the APP end 100 obtains the device state of the ZigBee device 400 when entering the display interface.
The gateway 300 is used to establish a ZigBee network, so that the ZigBee device 400 can join in the gateway, and communicate with the ZigBee device 400 through a ZigBee protocol.
The ZigBee device 400 may include a curtain motor, an intelligent door lock, an intelligent LED lamp, and the like, and performs corresponding operations under the control of the APP end 100.
It should be noted that the structure shown in fig. 1 is only an example, and the embodiment of the present invention is not limited thereto.
Based on the above description, fig. 3 shows in detail a flow of a method for curtain animation display according to an embodiment of the present invention, where the flow may be executed by a device for curtain animation display.
As shown in fig. 3, the process specifically includes:
step 301, the APP terminal obtains the device state sent by the ZigBee device.
In the embodiment of the present invention, the device state may be sent after the ZigBee device receives a state query instruction sent by the APP end, or sent after the ZigBee device determines that the device state changes, or sent periodically by the ZigBee device. The device status may include information such as motor status, opening amplitude and travel.
And 302, when the APP end determines that the device does not enter the APP interface for the first time, performing curtain animation display according to the device state.
And if the APP end is determined to enter the APP interface for the first time, updating the progress of the sliding bar and the position of the curtain in the APP interface according to the opening amplitude in the equipment state, and then displaying curtain animation according to the equipment state.
When the curtain animation display is performed according to the equipment state, the following three conditions can be specifically adopted:
when the motor is stopped, the APP end updates the progress of a sliding bar in the APP interface according to the opening amplitude; and determining the first time for moving from the current curtain position to the target position according to the travel, and performing animation display according to the first time until the curtain moves to the target position.
When the motor state is closed, the APP end determines second time of moving from the current curtain position to the full-closed position according to the stroke, animation display is carried out according to the second time, and the motor state is stopped until the motor state is received.
When the motor state is on, the APP end determines third time of moving from the current curtain position to the full-open position according to the stroke, animation display is carried out according to the third time, and the motor state is stopped until the motor state is received.
In addition, the user can also control the operation of the curtain motor through the APP end, specifically, the APP end sends a control instruction to the ZigBee device, so that the ZigBee device executes corresponding operation according to the control instruction and feeds back the device state; the control instruction can comprise a motor state and an opening amplitude set by a user; the control command is generated after the user sets the control command on the APP interface. And then after receiving the equipment state fed back by the ZigBee equipment, the APP terminal performs animation display on the ZigBee equipment on an APP interface according to the equipment state fed back by the ZigBee equipment.
Further, the APP end to before zigBee equipment sends control command, when the motor state that the user set up is for opening, the APP end is confirmed whether the current state of motor is full open, if, then reminds the user the (window) curtain has been full open. When the motor state that the user set up is for closing, APP end confirms whether the current state of motor is for closing entirely, if, then reminds the user the (window) curtain has closed entirely.
In order to better explain the embodiment of the present invention, the following describes the process of the curtain animation display in a specific implementation scenario.
According to the reported state (motor state, opening amplitude, stroke and the like) of the curtain motor, the APP end displays the curtain animation effect, and the curtain animation effect is synchronous with the actual motion condition of the curtain, so that a user can better sense the change of the curtain. The method mainly comprises two animation modes: (1) device-side- > APP-side: when the state of the curtain at the equipment end is changed, the APP end pushes and synchronously displays the curtain animation effect according to the state; (2) APP terminal- > Equipment terminal: when the APP end is controlled to be opened, closed, stopped and opened, the device end carries out curtain movement according to the received control instruction, and the APP interface displays curtain animation.
Specifically, the device side-to-APP side interaction logic mainly includes the following two cases:
APP active query: the method comprises the steps that a mobile phone APP sends an inquiry command to a cloud server, the cloud server transparently transmits the command to a gateway, the gateway sends the inquiry command to a curtain motor through a zigbee, the curtain motor returns an instruction inquiry result, the gateway returns the inquiry result to the cloud server, and the cloud server receives the inquiry result, analyzes and stores the inquiry result and forwards the inquiry result to the mobile phone APP.
Equipment actively reports: when the equipment terminal changes or according to preset time, the equipment terminal actively reports the state of the equipment, the cloud server receives the equipment state, analyzes and stores the equipment state in a warehouse, and the state is pushed to the mobile phone APP.
After the APP acquires the device state, the processing flow of the animation effect may be as shown in fig. 4, and includes:
step 401, the APP terminal obtains the device state.
Step 402, judging whether to enter an APP interface for the first time, if so, turning to step 403, and if not, turning to step 404.
And step 403, updating the progress of the sliding bar according to the opening amplitude, simultaneously quickly updating the position of the curtain, and performing opening, closing and stopping animation on the basis of the position.
Step 404, judging the motor state, if the motor state is on, turning to step 405, if the motor state is off, turning to step 406, and if the motor state is off, turning to step 407.
Step 405, the APP displays the curtain opening animation.
The APP end receives the state that the motor is being opened, calculates the time corresponding to the movement from the current curtain position to the full-opening position according to the travel, and realizes the animation effect of moving towards the full-opening direction at a constant speed until the equipment reports the state that the motor stops.
And 406, carrying out animation display of the curtain closing by the APP.
And the APP end receives the state that the motor is closed, calculates the time corresponding to the movement from the current curtain position to the full-closed position according to the stroke, and realizes the animation effect of moving in the full-closed direction at a constant speed until the equipment reports the state that the motor stops.
Step 407, the APP displays the curtain stop animation.
And the APP end receives the state that the motor stops, the sliding bar is updated according to the opening amplitude, the time corresponding to the movement from the current curtain position to the target position is calculated according to the stroke, and finally the animation stops on the opening amplitude reported by the equipment.
APP end-to-equipment end interaction logic:
the APP end sends a control command to the cloud server, the cloud server records the command and transmits the command to the gateway, the gateway sends the control command to the curtain motor through the zigbee, the curtain motor returns an execution result of the control command after executing, and the cloud server receives the return result, analyzes and stores the result in a warehouse.
After the APP controls the switch to stop and the slider, the processing flow of the animation effect respectively includes controlling the on operation as shown in fig. 5, controlling the off operation as shown in fig. 6, controlling the stop operation as shown in fig. 7 and controlling the slider operation as shown in fig. 8.
Specifically, as shown in fig. 5, the method includes:
step 501, generating a control command for controlling on.
Step 502, judging whether the current opening amplitude of the curtain is fully opened, if so, turning to step 504, and if not, turning to step 503.
Step 503, sending a control command.
Step 504, the user is prompted to be fully on.
And 505, displaying the animation.
And according to the travel, calculating the time corresponding to the movement from the current curtain position to the full-open position, realizing the animation effect of uniform movement in the full-open direction until the equipment reports the state that the motor stops, updating the state of the sliding bar, and stopping the animation.
Specifically, as shown in fig. 6, the method includes:
step 601, generating a control command of control.
Step 602, determining whether the current opening range of the curtain is completely closed, if yes, turning to step 604, and if not, turning to step 603.
Step 603, sending a control command.
Step 604, the user is prompted to complete the shutdown.
Step 605, displaying the animation.
And according to the travel, calculating the time corresponding to the movement from the current curtain position to the full-closing position, realizing the animation effect of uniform movement in the full-closing direction until the equipment reports the state that the motor stops, updating the state of the sliding bar, and stopping the animation.
Specifically, as shown in fig. 7, the method includes:
step 701, generating a control instruction for controlling stop.
Step 702, sending a control command.
And step 703, displaying the animation.
And according to a control result returned by the equipment terminal, receiving the state that the motor is stopped reported by the equipment, updating the state of the sliding bar, and stopping the animation at a corresponding percentage.
Specifically, as shown in fig. 8, the method includes:
step 801 generates a control command for controlling a slider.
When clicking and dragging the slider are finished, a control instruction for controlling the slider can be generated, wherein the control instruction comprises the opening amplitude.
Step 802, judging whether the current opening amplitude of the curtain changes, if so, turning to step 803, and if not, turning to step 801.
Step 803, a control command is sent.
And step 804, judging whether the control result is successfully returned, if so, turning to step 805, otherwise, turning to step 804.
And step 805, displaying the animation.
It should be noted that, when the APP receives the state that the motor is being opened, the curtain animation moves from the current position to the fully-opened direction until the device reports the state that the motor is stopped. And the APP receives the state that the motor is closed, the curtain animation moves from the current position to the full-closed direction until the device reports the motor stop state and stops. The APP receives the state that the motor stops, and the APP finally stops at the reported percentage position no matter where the motor is currently located.
In order to further increase the accuracy of the curtain control, a sliding bar and percentage display are added on the basis of opening, closing and stopping control, and the control of 0-100 percent (the accuracy is 1) can be realized by clicking and dragging the sliding bar. Meanwhile, the curtain animation is also displayed accurately according to the percentage.
The sliding bar is monitored, when the number value of the sliding bar is changed due to triggering clicking or dragging operation, the APP sends a control command of the opening range (percentage) to the cloud end, the cloud end analyzes and stores the command in a warehouse and forwards the command to the gateway, and the gateway sends the command to the equipment and executes the command, so that the curtain motor is accurately controlled. Meanwhile, curtain animation of the APP interface also changes in real time, so that good user experience is provided for the user.
The above embodiment shows that the APP side obtains the device state sent by the ZigBee device, the device state is sent after the ZigBee device receives a state query instruction sent by the APP side, or sent after the ZigBee device determines that the device state changes, or sent periodically by the ZigBee device, and when it is determined that the device state does not enter the APP interface for the first time, curtain animation display is performed according to the device state. The APP end is through when confirming not getting into the APP interface for the first time, carries out (window) curtain animation according to the equipment state who acquires and shows, can make the user carry out remote control when the APP end, learns the motion state of (window) curtain in real time, experiences for the user provides more directly perceived, reasonable wisdom house.
Based on the same technical concept, fig. 9 exemplarily shows a structure of an apparatus for curtain animation display according to an embodiment of the present invention, which can perform a flow of curtain animation display.
As shown in fig. 9, the apparatus specifically includes:
an obtaining unit 901, configured to obtain a device state sent by a ZigBee device, where the device state is sent by the ZigBee device after receiving a state query instruction sent by an APP end, or sent by the ZigBee device after determining that a device state changes, or sent by the ZigBee device periodically;
and the processing unit 902 is configured to perform curtain animation display according to the device state when it is determined that the device does not enter the APP interface for the first time.
Optionally, the processing unit 902 is further configured to:
when the APP interface is determined to enter for the first time, updating the progress of a sliding bar and the position of a curtain in the APP interface according to the opening amplitude in the equipment state;
and performing curtain animation display according to the equipment state.
Optionally, the device state includes a motor state, an opening amplitude, and a stroke;
the processing unit 902 is specifically configured to:
when the motor is stopped, updating the progress of the sliding bar in the APP interface according to the opening amplitude; determining first time for moving from the current curtain position to a target position according to the travel, and performing animation display according to the first time until the curtain moves to the target position;
when the motor is in a closed state, determining second time for moving from the current curtain position to a full-closed position according to the travel, and displaying animation according to the second time until the motor is in a stopped state;
and when the motor is in an on state, determining third time for moving from the current curtain position to a full-open position according to the travel, and displaying animation according to the third time until the motor is in a stop state.
Optionally, the processing unit 902 is further configured to:
sending a control instruction to the ZigBee device so that the ZigBee device executes corresponding operation according to the control instruction and feeds back the state of the device; the control instruction controls the control instruction to comprise a motor state and an opening amplitude set by a user; the control instruction is generated after the user sets the control instruction on the APP interface;
and after receiving the equipment state fed back by the ZigBee equipment, performing animation display on the ZigBee equipment on an APP interface according to the equipment state fed back by the ZigBee equipment.
Optionally, the processing unit 902 is further configured to:
before sending a control instruction to the ZigBee device, when the motor state set by the user is on, determining whether the current state of the motor is fully open, if so, reminding the user that the curtain is fully open;
and when the motor state set by the user is closed, determining whether the current state of the motor is fully closed, and if so, reminding the user that the curtain is fully closed.
Based on the same technical concept, an embodiment of the present invention further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the curtain animation display method according to the obtained program.
Based on the same technical concept, the embodiment of the invention also provides a computer-readable non-volatile storage medium, which comprises computer-readable instructions, and when the computer reads and executes the computer-readable instructions, the computer is enabled to execute the curtain animation display method.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method of animating a window covering, comprising:
the method comprises the steps that an APP terminal obtains a device state sent by ZigBee devices, wherein the device state is sent by the ZigBee devices after receiving a state query instruction sent by the APP terminal or after the ZigBee devices determine that the device state changes or the ZigBee devices send periodically;
and when the APP end determines that the device does not enter the APP interface for the first time, curtain animation display is carried out according to the device state.
2. The method of claim 1, wherein the method further comprises:
when the APP end determines to enter the APP interface for the first time, the progress of a sliding bar and the position of a curtain in the APP interface are updated according to the opening amplitude in the equipment state;
and the APP end displays curtain animation according to the equipment state.
3. The method of claim 1, wherein the device states include a motor state, an opening amplitude, and a stroke;
the APP terminal carries out curtain animation display according to the equipment state, and the method comprises the following steps:
when the motor is stopped, the APP end updates the progress of a sliding bar in the APP interface according to the opening amplitude; determining first time for moving from the current curtain position to a target position according to the travel, and performing animation display according to the first time until the curtain moves to the target position;
when the motor state is closed, the APP end determines second time from the current curtain position to a full-closed position according to the travel, animation display is carried out according to the second time until the motor state is received and stopped;
and when the motor state is on, the APP end determines the third time from the current curtain position to the full-open position according to the travel, and animation display is carried out according to the third time until the motor state is received and stopped.
4. The method of any of claims 1 to 3, further comprising:
the APP terminal sends a control instruction to the ZigBee device so that the ZigBee device executes corresponding operation according to the control instruction and feeds back the state of the device; the control instruction controls the control instruction to comprise a motor state and an opening amplitude set by a user; the control instruction is generated after the user sets the control instruction on the APP interface;
and after receiving the equipment state fed back by the ZigBee equipment, the APP terminal performs animation display on the ZigBee equipment on an APP interface according to the equipment state fed back by the ZigBee equipment.
5. The method of claim 4, wherein before the APP terminal sends a control instruction to the ZigBee device, the method further comprises:
when the motor state set by the user is on, the APP end determines whether the current state of the motor is fully open, and if so, the user is reminded that the curtain is fully open;
when the motor state that the user set up is for closing, APP end confirms whether the current state of motor is for closing entirely, if, then reminds the user the (window) curtain has closed entirely.
6. An apparatus for animating a window covering, comprising:
the device state acquisition unit is used for acquiring a device state sent by the ZigBee device, wherein the device state is sent by the ZigBee device after the ZigBee device receives a state query instruction sent by an APP terminal or after the ZigBee device determines that the device state changes or the ZigBee device periodically sends the device state;
and the processing unit is used for performing curtain animation display according to the equipment state when determining that the equipment state does not enter the APP interface for the first time.
7. The apparatus as recited in claim 6, said processing unit to further:
when the APP interface is determined to enter for the first time, updating the progress of a sliding bar and the position of a curtain in the APP interface according to the opening amplitude in the equipment state;
and performing curtain animation display according to the equipment state.
8. The apparatus of claim 6, wherein the device states include a motor state, an opening amplitude, and a stroke;
the processing unit is specifically configured to:
when the motor is stopped, updating the progress of the sliding bar in the APP interface according to the opening amplitude; determining first time for moving from the current curtain position to a target position according to the travel, and performing animation display according to the first time until the curtain moves to the target position;
when the motor is in a closed state, determining second time for moving from the current curtain position to a full-closed position according to the travel, and displaying animation according to the second time until the motor is in a stopped state;
and when the motor is in an on state, determining third time for moving from the current curtain position to a full-open position according to the travel, and displaying animation according to the third time until the motor is in a stop state.
9. A computing device, comprising:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory to execute the method of any one of claims 1 to 5 in accordance with the obtained program.
10. A computer-readable non-transitory storage medium including computer-readable instructions which, when read and executed by a computer, cause the computer to perform the method of any one of claims 1 to 5.
CN201911354228.XA 2019-12-25 2019-12-25 Curtain animation display method and device Pending CN111130959A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911354228.XA CN111130959A (en) 2019-12-25 2019-12-25 Curtain animation display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911354228.XA CN111130959A (en) 2019-12-25 2019-12-25 Curtain animation display method and device

Publications (1)

Publication Number Publication Date
CN111130959A true CN111130959A (en) 2020-05-08

Family

ID=70502940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911354228.XA Pending CN111130959A (en) 2019-12-25 2019-12-25 Curtain animation display method and device

Country Status (1)

Country Link
CN (1) CN111130959A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112782998A (en) * 2020-12-31 2021-05-11 追觅科技(上海)有限公司 Curtain control method, device and storage medium
CN113985744A (en) * 2021-10-15 2022-01-28 深圳市欧瑞博科技股份有限公司 Interface generation method and device, smart home equipment and storage medium
CN114116090A (en) * 2021-11-08 2022-03-01 深圳Tcl新技术有限公司 Information display method and device, electronic equipment and computer readable storage medium
CN114489443A (en) * 2022-01-25 2022-05-13 珠海格力电器股份有限公司 Intelligent curtain control method and device, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873325A (en) * 2012-12-07 2014-06-18 海尔集团公司 Household appliance control method and system, mobile terminal and house management center
CN104322077A (en) * 2013-02-20 2015-01-28 松下电器(美国)知识产权公司 Program and method for controlling information terminal
CN205018777U (en) * 2015-09-18 2016-02-10 深圳酷宅科技有限公司 Intelligent curtain
CN105942818A (en) * 2016-04-29 2016-09-21 深圳市二八智能家居有限公司 Method and device for intelligent control of curtain or window
CN106285443A (en) * 2016-08-19 2017-01-04 宁波杜亚机电技术有限公司 Electric rolling control method based on intelligent terminal APP
CN108828966A (en) * 2018-06-15 2018-11-16 青岛海信智慧家居系统股份有限公司 A kind of method and device that intelligent domestic devices in system information is shown
CN109157100A (en) * 2018-08-28 2019-01-08 深圳大学 A kind of curtain Controller based on LoRa
CN109451807A (en) * 2018-05-31 2019-03-08 深圳市蚂蚁雄兵物联技术有限公司 Curtain control method and system
CN110196557A (en) * 2019-05-05 2019-09-03 深圳绿米联创科技有限公司 Apparatus control method, device, mobile terminal and storage medium
CN110209074A (en) * 2019-06-04 2019-09-06 广东科徕尼智能科技有限公司 A kind of intelligent curtain and mobile terminal interactive device and exchange method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103873325A (en) * 2012-12-07 2014-06-18 海尔集团公司 Household appliance control method and system, mobile terminal and house management center
CN104322077A (en) * 2013-02-20 2015-01-28 松下电器(美国)知识产权公司 Program and method for controlling information terminal
CN205018777U (en) * 2015-09-18 2016-02-10 深圳酷宅科技有限公司 Intelligent curtain
CN105942818A (en) * 2016-04-29 2016-09-21 深圳市二八智能家居有限公司 Method and device for intelligent control of curtain or window
CN106285443A (en) * 2016-08-19 2017-01-04 宁波杜亚机电技术有限公司 Electric rolling control method based on intelligent terminal APP
CN109451807A (en) * 2018-05-31 2019-03-08 深圳市蚂蚁雄兵物联技术有限公司 Curtain control method and system
CN108828966A (en) * 2018-06-15 2018-11-16 青岛海信智慧家居系统股份有限公司 A kind of method and device that intelligent domestic devices in system information is shown
CN109157100A (en) * 2018-08-28 2019-01-08 深圳大学 A kind of curtain Controller based on LoRa
CN110196557A (en) * 2019-05-05 2019-09-03 深圳绿米联创科技有限公司 Apparatus control method, device, mobile terminal and storage medium
CN110209074A (en) * 2019-06-04 2019-09-06 广东科徕尼智能科技有限公司 A kind of intelligent curtain and mobile terminal interactive device and exchange method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112782998A (en) * 2020-12-31 2021-05-11 追觅科技(上海)有限公司 Curtain control method, device and storage medium
CN113985744A (en) * 2021-10-15 2022-01-28 深圳市欧瑞博科技股份有限公司 Interface generation method and device, smart home equipment and storage medium
CN114116090A (en) * 2021-11-08 2022-03-01 深圳Tcl新技术有限公司 Information display method and device, electronic equipment and computer readable storage medium
CN114489443A (en) * 2022-01-25 2022-05-13 珠海格力电器股份有限公司 Intelligent curtain control method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111130959A (en) Curtain animation display method and device
CN112668687B (en) Cloud robot system, cloud server, robot control module and robot
CN109202882B (en) Robot control method and device
CN109814717B (en) Household equipment control method and device, control equipment and readable storage medium
CN106227055B (en) Method for controlling intelligent household equipment, server and gateway
CN109725541A (en) Generation method, device, electronic equipment and the storage medium of automation
CN108449241B (en) Configuration method and device of smart home scene and terminal
CN111176133A (en) Method and device for determining smart home scene
CN104320480A (en) Control method for intelligent home equipment and cloud server
CN109445848A (en) Equipment linkage method and device
CN108710506B (en) Vehicle instruction processing method
CN105812562B (en) Bluetooth control method and device applied to mobile terminal
CN110347152A (en) Virtual wall setting method, system and device
CN103982983A (en) Method and system for adjusting running parameters of air conditioner
EP4114044A1 (en) Electronic device positioning method and apparatus, and server, system and storage medium
CN108972593A (en) Control method and system under a kind of industrial robot system
CN109240098A (en) Equipment configuration method, device, terminal device and storage medium
CN111275313A (en) Method and device for triggering home-returning mode of household equipment and computer equipment
CN109991858A (en) A kind of scene pairing control method, apparatus and system
CN109861854A (en) A kind of intelligent device management method, apparatus and system
CN111916077B (en) Voice control method and equipment
CN111147578B (en) Method and device for preventing curtain animation from jumping
CN116013009B (en) Intelligent door and window alarm method and system based on Internet of things and readable storage medium
CN111030898B (en) Curtain motor control method and device based on ZigBee protocol
CN109324729A (en) A kind of dock display methods and device based on education cloud operating system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200508

RJ01 Rejection of invention patent application after publication