CN-115794159-B - System, method and intelligent door for carrying out cyclic promotion and degradation on target equipment
Abstract
The invention provides a system, a method and an intelligent door for carrying out cyclic promotion and degradation on target equipment, wherein the system for carrying out cyclic promotion and degradation on the target equipment comprises a controller, a controllable power supply and a processing unit, and the controller is communicated with the target equipment and is configured to control the target equipment. The controllable power source is electrically connected to the target device and is configured to be able to be turned on or off to start or stop supplying power to the target device. The processing unit is electrically connected to the target device and is configured to transmit data packets to the target device and to controllably power the target device. The embodiment of the invention flexibly adjusts power supply and data transmission according to different data connection requirements and power supply requirements in the upgrading and degrading process of the target equipment, greatly reduces the steps of manual operation, simplifies the upgrading and degrading process and improves the testing efficiency of the target equipment.
Inventors
- LIU QIAO
- HE GUOQIANG
- LI JIANXIN
Assignees
- 上海创米智能科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20221122
Claims (8)
- 1. A system operable to cycle up and down a target device, comprising: A controller in communication with the target device and configured to control the target device; A controllable power source electrically connected to the target device and configured to be able to be turned on or off to start or stop supplying power to the target device, and A processing unit electrically connected to the target device and configured to transmit data packets to the target device and to controllably power the target device; the target equipment is powered by the controllable power supply in normal use, and is powered by the processing unit in upgrading or downgrading; The controllable power source is communicated with the controller, and is configured to be capable of being connected or disconnected under the control of the controller to start or stop supplying power to the target device; The target equipment comprises a control system, wherein the cable comprises a power line, the processing unit is electrically connected with the control system through the power line, and a switch is connected in the power line and can be controlled to be switched on or off; the system upgrades the target device by: controlling the controllable power supply to be communicated and supplying power to the target equipment; controlling the switch to be opened; upgrading the target equipment through OTA; The system downgrades the target device by: controlling the controllable power supply to be disconnected; Controlling the switch to be turned on, and supplying power to the control system through the processing unit; transmitting, by the processing unit, a degraded firmware package to the control system; controlling the switch to be opened; And controlling the controllable power supply to be turned on, and installing the degraded firmware package by the target equipment.
- 2. The system of claim 1, wherein the cable includes a signal line through which the processing unit is communicatively coupled with the control system.
- 3. The system of claim 2, wherein the controllable power source is a household line or is connected with the household line to transmit alternating current to the target device, the controllable power source powers up the control system and the hardware device of the target device when the controllable power source starts to supply power to the target device, the power source transmits direct current to the control system, and the control system powers up when the power source starts to supply power to the control system.
- 4. The system of claim 2, further comprising a switch controller electrically connected to the switch and in communication with the processing unit/controller to control the switch to be turned on or off under control of the processing unit/controller, wherein the switch comprises a relay, the switch controller comprises a single-chip microcomputer or a raspberry group, and the controller comprises a mobile device.
- 5. The system of claim 3 or 4, wherein the target device further comprises a burning unit configured to write a degraded firmware package into the control system.
- 6. The system of claim 5, wherein the control system is configured to power up initialization when power is supplied by the processing unit, the burning unit is configured to receive a degraded firmware package from the processing unit and send the degraded firmware package to the control system when power up initialization of the control system is monitored, the control system is further configured to install the degraded firmware package when power is supplied to hardware devices of the control system and the target device by the controllable power supply, and the processing unit is configured to turn off the switch when the degraded firmware package is sent.
- 7. A method of cyclical promotion and demotion of a target device, comprising: connecting a target device to the system of any of claims 1-6; detecting, by the controller, whether the target device has an upgrade prompt; and upgrading the target equipment through OTA when the upgrading prompt is detected.
- 8. A smart door comprising a smart control device configured to be capable of being tested by the system of any one of claims 1-6.
Description
System, method and intelligent door for carrying out cyclic promotion and degradation on target equipment Technical Field The invention relates to the technical field of intelligent equipment, in particular to a system and a method for circularly upgrading and downgrading target equipment and an intelligent door. Background In order to optimize the application function, adapt to new software and hardware, eliminate the existing defects and the like, the intelligent equipment needs to update and iterate the system. For users, the system can be directly upgraded through a cloud or local database, but in the development process, in order to ensure the reliability and stability of the system, multiple upgrading and downgrading operations need to be carried out on the intelligent equipment so as to test the system and the adaptive software and hardware. In the traditional upgrading and degrading test, upgrading operation can be realized by transmitting a data packet to the intelligent device through a conventional method, but when carrying out degrading operation, a tester is required to power off the intelligent device manually, the intelligent device is connected to a computer and other devices through a data line, then the computer and other devices are utilized to transmit a degrading firmware packet to the intelligent device, after the degrading firmware packet is transmitted, the data connection is cut off, and power is supplied to the intelligent device, so that the intelligent device can automatically install the degrading firmware packet. In the testing process, multiple upgrading and degrading operations are required, the process is tedious, the efficiency is low, and especially for part of intelligent equipment, when upgrading is performed, the system of the intelligent equipment is required to be degraded firstly according to the steps, so that the complexity of the testing process of the intelligent equipment is further increased. The matters in the background section are only those known to the inventors and do not, of course, represent prior art in the field. Disclosure of Invention In response to one or more deficiencies in the prior art, embodiments of the present invention provide a system operable to cycle up and down a target device, comprising: A controller in communication with the target device and configured to control the target device; A controllable power source electrically connected to the target device and configured to be able to be turned on or off to start or stop supplying power to the target device, and A processing unit electrically connected to the target device and configured to transmit data packets to the target device and to controllably power the target device. According to one aspect of the invention, wherein the controllable power source is in communication with the controller and is configured to be able to be turned on or off under the control of the controller to start or stop supplying power to the target device. According to one aspect of the invention, the processing unit is connected with the target equipment through a cable, the target equipment comprises a control system, the cable comprises a signal wire and a power wire, the processing unit is in communication connection with the control system through the signal wire, the processing unit is in electric connection with the control system through the power wire, and a switch is connected in the power wire and can be controlled to be switched on or off. According to one aspect of the invention, the controllable power supply is a household line or is connected with the household line to transmit alternating current to the target equipment, the control system and the hardware equipment of the target equipment are powered up when the controllable power supply starts to supply power to the target equipment, the power supply line transmits direct current to the control system, and the control system is powered up when the power supply line starts to supply power to the control system. According to one aspect of the invention, the system further comprises a switch controller electrically connected to the switch and in communication with the processing unit/controller to control the switch to be turned on or off under the control of the processing unit/controller, wherein the switch comprises a relay, the switch controller comprises a single-chip microcomputer or a raspberry group, and the controller comprises a mobile device. According to one aspect of the invention, the target device further comprises a burning unit configured to write a degraded firmware package into the control system. According to one aspect of the invention, the target device is upgraded by: controlling the controllable power supply to be communicated and supplying power to the target equipment; controlling the switch to be opened; the target device is upgraded via OTA (Over-the-Air Technology). According to one aspect of the invention, the tar