CN111147578B - Method and device for preventing curtain animation from jumping - Google Patents

Method and device for preventing curtain animation from jumping Download PDF

Info

Publication number
CN111147578B
CN111147578B CN201911355173.4A CN201911355173A CN111147578B CN 111147578 B CN111147578 B CN 111147578B CN 201911355173 A CN201911355173 A CN 201911355173A CN 111147578 B CN111147578 B CN 111147578B
Authority
CN
China
Prior art keywords
curtain
state
equipment
zigbee
app
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911355173.4A
Other languages
Chinese (zh)
Other versions
CN111147578A (en
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 CN201911355173.4A priority Critical patent/CN111147578B/en
Publication of CN111147578A publication Critical patent/CN111147578A/en
Application granted granted Critical
Publication of CN111147578B publication Critical patent/CN111147578B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a method and a device for preventing curtain animation from jumping, wherein the method comprises the steps that an APP (application) end obtains the equipment state of ZigBee equipment when entering a curtain motor main control interface for the first time, and curtain animation display of the ZigBee equipment is carried out according to the type of the equipment state. Through categorizing the equipment state, according to the difference of the type of equipment state, carry out different (window) curtain animation and show, can avoid appearing APP interface (window) curtain animation and show unusual states such as unusual, the motion of turning back, make (window) curtain animation more stable, promote the user to the experience of wisdom house product.

Description

Method and device for preventing curtain animation from jumping
Technical Field
The embodiment of the invention relates to the technical field of smart home, in particular to a method and a device for preventing curtain animation from jumping.
Background
In the process of interaction of the curtain motor and the mobile terminal APP, on the basis of realization of curtain animation, the stability and accuracy of the curtain animation are important components influencing user experience. At present, in the process of realizing curtain animation, abnormal states such as animation display abnormity, turning-back movement and the like occur, and the experience effect of a user is reduced.
Disclosure of Invention
The embodiment of the invention provides a method and a device for preventing curtain animation from jumping, which are used for preventing the phenomenon that curtain animation jumps in an APP interface in the operation process while achieving the synchronization of the states of the APP end curtain animation and an equipment end curtain, so that the curtain animation is more stable, the interface display is optimized, and the experience of a user on smart home products is improved.
In a first aspect, an embodiment of the present invention provides a method for preventing curtain animation jump, including:
the method comprises the steps that an APP end obtains the equipment state of ZigBee equipment when entering a curtain motor main control interface for the first time;
and the APP end displays the curtain animation of the ZigBee equipment according to the type of the equipment state.
Among the above-mentioned technical scheme, through categorizing the equipment state, according to the difference of the type of equipment state, carry out different (window) curtain animation and show, can avoid appearing APP interface (window) curtain animation and show unusual states such as unusual, the motion of turning back, make (window) curtain animation more stable, promote the user to the experience of wisdom house product.
Optionally, the type of the device state includes query feedback of the APP end and push of the ZigBee device state;
the APP terminal carries out curtain animation display of the ZigBee device according to the type of the device state, and the method comprises the following steps:
the type of the equipment state is fed back by the APP terminal query, and the APP terminal conducts the initialization rendering of the curtain motor main control interface according to the equipment state;
the type of the equipment state is pushed by the ZigBee equipment state, the APP end determines whether the curtain motor main control interface is initialized, and if so, curtain animation display is carried out according to the equipment state on the basis of the initialized curtain motor main control interface; otherwise, the device state is not processed.
Optionally, the method further comprises:
the APP terminal generates a control instruction, and the control instruction is generated after a user sets the curtain motor main control interface;
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;
and the APP end displays curtain animation according to the control instruction and the equipment state fed back by the ZigBee equipment.
Optionally, the APP end performs curtain animation display according to the control instruction and the device state, including:
when the control instruction is stop and the state of the equipment fed back by the ZigBee equipment is received by the APP end, the curtain animation stop operation is carried out;
when the control instruction is in an opening, closing or opening range, the APP end displays curtain animation from the current curtain position according to the control instruction until the equipment state fed back by the ZigBee equipment is received and is stopped; and locking the equipment state pushed by the ZigBee equipment.
Optionally, after the APP end sends the control instruction to the ZigBee device, the method further includes:
the APP end controls the curtain motor main control interface to be set after preset time.
In a second aspect, an embodiment of the present invention provides an apparatus for preventing curtain animation jump, including:
the acquisition unit is used for acquiring the equipment state of the ZigBee equipment when the ZigBee equipment enters the curtain motor master control interface for the first time;
and the processing unit is used for performing curtain animation display on the ZigBee device according to the type of the device state.
Optionally, the types of the device states include inquiry feedback of the APP end and state push of the ZigBee device;
the processing unit is specifically configured to:
the type of the equipment state is the type of the APP terminal inquiry feedback, and the initialization rendering of the curtain motor main control interface is carried out according to the equipment state;
the type of the equipment state is pushed by the ZigBee equipment state, whether the curtain motor main control interface is initialized or not is determined, if yes, curtain animation display is carried out on the basis of the initialized curtain motor main control interface according to the equipment state; otherwise, the device state is not processed.
Optionally, the processing unit is further configured to:
generating a control instruction, wherein the control instruction is generated after a user sets the curtain motor main control interface;
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;
and performing curtain animation display according to the control instruction and the equipment state fed back by the ZigBee equipment.
Optionally, the processing unit is specifically configured to:
when the control instruction is stop and the equipment state fed back by the ZigBee equipment is received as stop, the curtain animation is stopped;
when the control instruction is in an opening, closing or opening range, curtain animation display is carried out from the current curtain position according to the control instruction until the equipment state fed back by the ZigBee equipment is received and is stopped; and locking the equipment state pushed by the ZigBee equipment.
Optionally, the processing unit is further configured to:
and after sending a control instruction to the ZigBee device, controlling the curtain motor main control interface to be set after preset time.
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 method for preventing the curtain animation from jumping according to the obtained program.
In a fourth aspect, the present invention also provides a computer-readable non-volatile storage medium, which includes computer-readable instructions, and when the computer-readable instructions are read and executed by a computer, the computer is caused to execute the above method for preventing curtain animation jump.
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 preventing curtain animation from jumping according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a method for preventing curtain animation from jumping according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a method for preventing curtain animation from jumping according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a device for preventing curtain animation jump 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, APP end 100 can be located cell-phone, computer etc. can install APP on the equipment, 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.
The terms referred to herein are to be construed as follows:
(1) active query: the APP actively requests the latest state of the curtain motor from the cloud end, and corresponding interface display is carried out according to the obtained equipment state;
(2) controlling: the APP sends a control command to the cloud, the cloud forwards the command to the gateway, the gateway sends a command to the curtain motor through the Zigbee module, and the curtain motor returns an execution result to the APP in the original path after executing;
(3) and (3) state pushing: when the state of the equipment end changes (or is inquired according to the timing time in the system parameters), the state information of the curtain motor is actively reported to the cloud end, the cloud end pushes the state information to the mobile phone end, and the APP end carries out real-time refreshing and animation display according to the pushed latest information.
When the operations such as active query and control are very close to the state push time, the phenomenon of jumping of the APP interface may occur. For example: the APP end adjusts the sliding bar to 80, at this time, a control instruction of opening amplitude 80 is sent, a state of opening amplitude 30 is reported before the device is not executed in the near time, meanwhile, the device executes the control instruction and reports the opening amplitude 80, and at this time, an abnormal process of curtain animation from 80- >30- >80 can be caused. In order to further increase the stability of the curtain animation display and prevent the curtain animation from being confused, the embodiment of the invention processes the possible abnormal condition.
Based on the above description, fig. 3 shows in detail the flow of a method for preventing curtain animation jump according to an embodiment of the present invention, which may be executed by an apparatus for preventing curtain animation jump.
As shown in fig. 3, the process specifically includes:
step 301, the APP end obtains the device state of the ZigBee device when entering the curtain motor main control interface for the first time.
In the implementation of the present invention, the type of the device state may include query feedback of the APP end and push of the ZigBee device state.
When the APP end enters the curtain motor master control interface for the first time, the APP end actively inquires the state of the equipment, and interface rendering work is carried out according to a returned result.
When the equipment terminal changes, or according to preset time, the equipment terminal actively reports the equipment state, the cloud server receives the equipment state analysis and stores the equipment state analysis in a warehouse, the state is pushed to the APP terminal, and the APP terminal carries out state refreshing according to the pushed state information.
When the APP end enters the curtain motor master control interface for the first time, the mobile phone APP actively inquires the state of the equipment, the mobile phone APP sends an inquiry command to the cloud server, under the condition that the inquiry command does not return a result, the equipment end or the cloud end actively reports the current state, at the moment, if the initial interface is not rendered, the interface is abnormal, and the curtain animation interface jumps from the abnormal state to the normal state.
And 302, the APP end displays curtain animation of the ZigBee device according to the type of the device state.
Specifically, when the type of the equipment state is the APP terminal query feedback, the APP terminal performs the initialization rendering of the curtain motor main control interface according to the equipment state.
When the type of the equipment state is the ZigBee equipment state pushing, the APP end determines whether the curtain motor main control interface is initialized, if so, curtain animation display is carried out according to the equipment state on the basis of the initialized curtain motor main control interface; otherwise, the device state is not processed.
The processing flow for preventing the curtain animation from jumping comprises the following steps:
when the APP end enters the curtain motor main control interface for the first time, the current state type is judged at first. If the returned equipment state is actively inquired by the APP, performing initial rendering work according to the returned result; if the device state is the state pushed, the current initialization state is judged, if the device state is not initialized, the pushed state is not processed, and if the device state is initialized, curtain animation display is performed on the basis of an initialization interface. Specifically, as shown in fig. 4, the method includes:
and step 401, entering a curtain motor main control interface for the first time.
Step 402, judging the current state type, if the current state type is the device state actively queried and returned by the APP, turning to step 406, and if the current state type is the state pushing, turning to step 403.
Step 403, determine whether to initialize, if yes, go to step 404, if no, go to step 405.
And step 404, performing curtain animation display on the basis of the initialization interface.
Step 405, the pushed state is not processed.
And step 406, performing an initialization rendering operation according to the device state.
When the APP side sends control, the processing for preventing the curtain animation from jumping may include:
the APP terminal generates a control instruction, and the control instruction is generated after a user sets the curtain motor main control interface; then 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 device state; and finally, the APP end displays curtain animation according to the control instruction and the equipment state fed back by the ZigBee equipment. After the control instruction is sent to the ZigBee device, the APP end can control the curtain motor main control interface to be set after preset time.
The method is divided into the following two cases:
when the control instruction is stop, the APP end receives the device state fed back by the ZigBee device and stops, and curtain animation stopping operation is carried out.
When the control instruction is opening, closing or opening amplitude, the APP end displays curtain animation from the current curtain position according to the control instruction until the equipment state fed back by the ZigBee equipment is received and is stopped; and locking the equipment state pushed by the ZigBee equipment.
Under the normal condition, the APP terminal and the equipment terminal interact logic:
the APP 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.
When the equipment end changes or according to preset time, the equipment end actively reports the state of the equipment, the cloud server receives the state analysis of the equipment and stores the state in a warehouse, the state is pushed to the mobile phone APP, and the APP refreshes the state according to the pushed state information.
In the abnormal condition:
the APP sends a control instruction to the cloud server, the device end or the cloud end actively reports the current state under the condition that the control instruction does not reach the device end or return a result, if the processing work for preventing state jump is not carried out at the moment, after the control instruction is sent, the control instruction is displayed according to the set target curtain animation, a strip of state push information is suddenly received, a piece of state information returned after control is received again, a chaotic picture of turning back motion possibly occurs to the curtain animation, and poor user experience is caused to a user.
The processing flow for preventing the curtain animation from jumping comprises the following steps:
and limiting continuous multiple triggering on the APP interface, and timing for 1s on the APP interface after sending a control instruction. Clicking the relevant button of the interface again within 1s to not respond, and sending the control instruction to the equipment end; after 1s, the control command can be normally sent.
After the control command is sent, the current control command is judged first. If the animation display effect is 'stop', in order to ensure the reality of the animation display effect, the APP performs the processing operation of stopping the curtain animation according to the returned equipment state; if for control such as "open", "close", "percentage", APP end carries out corresponding (window) curtain animation show from the current position according to current instruction, simultaneously, carries out the locking processing to the state that the propelling movement came, in the locking time, shields the state that the propelling movement was come back to guarantee that current animation can go on according to the expectation result of control, until receiving the equipment state of "stopping". This may be particularly shown in figure 5.
Step 501, the APP terminal triggers operation.
Step 502, judging whether the control is available, if yes, turning to step 503, and if not, turning to step 504.
Step 503, sending a control command.
Step 504, no response is made.
And 505, starting timing for 1s, and clicking the interface related button within 1s to not respond.
Step 506, determine whether the current control is stopped, if yes, go to step 509, if no, go to step 507.
And step 507, displaying the curtain animation.
And the APP terminal performs corresponding curtain animation display from the current position according to the current control instruction, and performs locking processing on the pushing state.
And step 508, shielding the pushed state within the locking time, and ensuring that the current animation can be carried out according to the expected control result.
And 509, stopping the curtain animation by the APP terminal according to the returned equipment state.
The above embodiment shows that the APP end obtains the device state of the ZigBee device when entering the curtain motor master control interface for the first time, and performs curtain animation display of the ZigBee device according to the type of the device state. Through categorizing the equipment state, according to the difference of the type of equipment state, carry out different (window) curtain animation and show, can avoid appearing APP interface (window) curtain animation and show unusual states such as unusual, the motion of turning back, make (window) curtain animation more stable, promote the user to the experience of wisdom house product.
Based on the same technical concept, fig. 6 exemplarily shows the structure of an apparatus for preventing curtain animation jump according to an embodiment of the present invention, which can perform a process for preventing curtain animation jump.
As shown in fig. 6, the apparatus specifically includes:
the acquisition unit 601 is used for acquiring the device state of the ZigBee device when the ZigBee device enters the curtain motor main control interface for the first time;
and the processing unit 602 is configured to perform curtain animation display of the ZigBee device according to the type of the device state.
Optionally, the types of the device states include inquiry feedback of the APP end and state push of the ZigBee device;
the processing unit 602 is specifically configured to:
the type of the equipment state is the type of the APP terminal inquiry feedback, and the initialization rendering of the curtain motor main control interface is carried out according to the equipment state;
the type of the equipment state is pushed by the ZigBee equipment state, whether the curtain motor main control interface is initialized or not is determined, if yes, curtain animation display is carried out on the basis of the initialized curtain motor main control interface according to the equipment state; otherwise, the device state is not processed.
Optionally, the processing unit 602 is further configured to:
generating a control instruction, wherein the control instruction is generated after a user sets the curtain motor main control interface;
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;
and performing curtain animation display according to the control instruction and the equipment state fed back by the ZigBee equipment.
Optionally, the processing unit 602 is specifically configured to:
when the control instruction is stop and the equipment state fed back by the ZigBee equipment is received as stop, the curtain animation is stopped;
when the control instruction is in an opening, closing or opening range, curtain animation display is carried out from the current curtain position according to the control instruction until the equipment state fed back by the ZigBee equipment is received and is stopped; and locking the equipment state pushed by the ZigBee equipment.
Optionally, the processing unit 602 is further configured to:
and after sending a control instruction to the ZigBee device, controlling the curtain motor main control interface to be set after preset time.
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 method for preventing the curtain animation from jumping according to the obtained program.
Based on the same technical concept, embodiments of the present invention also provide 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 above method for preventing curtain animation jump.
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 (8)

1. A method for preventing curtain animation jump is characterized by comprising the following steps:
the method comprises the steps that an APP end obtains the equipment state of ZigBee equipment when entering a curtain motor main control interface for the first time;
the APP end displays curtain animation of the ZigBee equipment according to the type of the equipment state;
the type of the equipment state comprises inquiry feedback of the APP terminal and state pushing of the ZigBee equipment;
the APP terminal carries out curtain animation display of the ZigBee device according to the type of the device state, and the method comprises the following steps:
the type of the equipment state is fed back by the APP terminal query, and the APP terminal conducts the initialization rendering of the curtain motor main control interface according to the equipment state;
the type of the equipment state is pushed by the ZigBee equipment state, the APP end determines whether the curtain motor main control interface is initialized, and if so, curtain animation display is carried out according to the equipment state on the basis of the initialized curtain motor main control interface; otherwise, the device state is not processed.
2. The method of claim 1, wherein the method further comprises:
the APP terminal generates a control instruction, and the control instruction is generated after a user sets the curtain motor main control interface;
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;
and the APP end displays curtain animation according to the control instruction and the equipment state fed back by the ZigBee equipment.
3. The method of claim 2, wherein the APP side performs curtain animation display according to the control command and the device state, and the method comprises the following steps:
when the control instruction is stop and the state of the equipment fed back by the ZigBee equipment is received by the APP end, the curtain animation stop operation is carried out;
when the control instruction is in an opening, closing or opening range, the APP end displays curtain animation from the current curtain position according to the control instruction until the equipment state fed back by the ZigBee equipment is received and is stopped; and locking the equipment state pushed by the ZigBee equipment.
4. The method of claim 2, wherein after the APP side sends a control instruction to the ZigBee device, the method further comprises:
the APP end controls the curtain motor main control interface to be set after preset time.
5. An apparatus for preventing animation jump of a curtain, comprising:
the acquisition unit is used for acquiring the equipment state of the ZigBee equipment when the ZigBee equipment enters the curtain motor master control interface for the first time;
the processing unit is used for performing curtain animation display on the ZigBee device according to the type of the device state;
the type of the equipment state comprises inquiry feedback of an APP terminal and pushing of the ZigBee equipment state;
the processing unit is specifically configured to:
the type of the equipment state is the type of the APP terminal inquiry feedback, and the initialization rendering of the curtain motor main control interface is carried out according to the equipment state;
the type of the equipment state is pushed by the ZigBee equipment state, whether the curtain motor main control interface is initialized or not is determined, if yes, curtain animation display is carried out on the basis of the initialized curtain motor main control interface according to the equipment state; otherwise, the device state is not processed.
6. The apparatus as recited in claim 5, said processing unit to further:
generating a control instruction, wherein the control instruction is generated after a user sets the curtain motor main control interface;
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;
and performing curtain animation display according to the control instruction and the equipment state fed back by the ZigBee equipment.
7. 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 4 in accordance with the obtained program.
8. 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 4.
CN201911355173.4A 2019-12-25 2019-12-25 Method and device for preventing curtain animation from jumping Active CN111147578B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911355173.4A CN111147578B (en) 2019-12-25 2019-12-25 Method and device for preventing curtain animation from jumping

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911355173.4A CN111147578B (en) 2019-12-25 2019-12-25 Method and device for preventing curtain animation from jumping

Publications (2)

Publication Number Publication Date
CN111147578A CN111147578A (en) 2020-05-12
CN111147578B true CN111147578B (en) 2022-05-17

Family

ID=70519909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911355173.4A Active CN111147578B (en) 2019-12-25 2019-12-25 Method and device for preventing curtain animation from jumping

Country Status (1)

Country Link
CN (1) CN111147578B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114885031A (en) * 2022-03-21 2022-08-09 深圳绿米联创科技有限公司 Interactive processing method and device based on equipment control and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108828966A (en) * 2018-06-15 2018-11-16 青岛海信智慧家居系统股份有限公司 A kind of method and device that intelligent domestic devices in system information is shown
CN109739648A (en) * 2018-12-28 2019-05-10 北京金山安全软件有限公司 Animation playing control method, device, equipment 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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108828966A (en) * 2018-06-15 2018-11-16 青岛海信智慧家居系统股份有限公司 A kind of method and device that intelligent domestic devices in system information is shown
CN109739648A (en) * 2018-12-28 2019-05-10 北京金山安全软件有限公司 Animation playing control method, device, equipment and storage medium
CN110209074A (en) * 2019-06-04 2019-09-06 广东科徕尼智能科技有限公司 A kind of intelligent curtain and mobile terminal interactive device and exchange method

Also Published As

Publication number Publication date
CN111147578A (en) 2020-05-12

Similar Documents

Publication Publication Date Title
US11184216B2 (en) State control method and apparatus
CN105940365B (en) A kind of notification information processing method, device and terminal
CN105511427B (en) The control method and control system of multirobot
CN109783427B (en) Method, server and system for realizing linked schedule reminding
CN106302099B (en) Session processing method and device in instant messaging
CN104092748A (en) Method and device for APP operation control
CN111130959A (en) Curtain animation display method and device
CN114528064A (en) Scene configuration method, storage medium and terminal equipment
CN111147578B (en) Method and device for preventing curtain animation from jumping
CN104102570A (en) APP (application) running control method and APP running control device
CN113805962B (en) Application page display method and device and electronic equipment
CN108646577B (en) Client operation management method and client
US10594776B2 (en) Information publishing method, device and server
CN110794773A (en) Click-type scene creating method and device
CN110716438A (en) Linkage scene execution method and device
CN112202650A (en) Method and system for controlling intelligent equipment by WeChat small program
CN110901567B (en) Vehicle interaction signal processing method and device, vehicle and storage medium
CN111918019A (en) Video conference method and system, and computer readable storage medium
CN114849238B (en) Animation execution method, device, equipment and medium
CN109086115B (en) Android animation execution method, device, terminal and readable medium
CN108447476A (en) Method and device for asking service and service resource allocation
CN111030898B (en) Curtain motor control method and device based on ZigBee protocol
CN114677810B (en) Storage data processing method and device, electronic equipment and medium
CN108459902A (en) Method, apparatus and electronic equipment for order-processing business
CN108574622B (en) Instant message processing method and device based on XMPP

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant