CN112559016A - Automatic testing method and flow for batch upgrading of cameras - Google Patents
Automatic testing method and flow for batch upgrading of cameras Download PDFInfo
- Publication number
- CN112559016A CN112559016A CN202011609802.4A CN202011609802A CN112559016A CN 112559016 A CN112559016 A CN 112559016A CN 202011609802 A CN202011609802 A CN 202011609802A CN 112559016 A CN112559016 A CN 112559016A
- Authority
- CN
- China
- Prior art keywords
- cameras
- online
- recording
- upgrading
- message
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Computer Security & Cryptography (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a camera batch upgrading automatic test method and a flow, which comprises the steps of obtaining camera address information needing batch upgrading, recording the total equipment quantity A, detecting the online state of cameras, recording the quantity B of cameras which are not online, informing the quantity B of cameras which are not online of testers through message push, recording the quantity A-B of online cameras, sending an upgrading instruction to the online cameras, judging whether upgrading information is successfully sent or not, if upgrading information is unsuccessfully sent, recording the quantity C of upgrading information sending failures, informing the testers of the quantity C of upgrading information sending failures through message push, and recording the quantity A-B-C of cameras which upgrading information is successfully sent; the invention can save the input cost of personnel, improve the testing efficiency and can carry out a plurality of tests on a large scale.
Description
Technical Field
The invention relates to the technical field of intelligent camera application, in particular to a method and a process for automatically testing camera batch upgrading.
Background
At present, all intelligent cameras need OTA firmware upgrading to improve user experience or repair problems, after firmware is released, the situation of upgrading the firmware for a user in a large batch can exist, testers also need to carry out simulation test on the firmware upgrading of the large-batch cameras, the problem of batch upgrading is guaranteed to be avoided as much as possible, however, the test needs to wait for downloading, steps such as judging whether upgrading is successful are carried out, operation is complex, upgrading time is long, the upgrading cost of the firmware of the large-batch cameras to be tested is high, whether abnormal conditions occur after the firmware upgrading in the large batch can not be guaranteed, and efficiency is low.
Disclosure of Invention
The invention aims to provide a method and a process for automatically testing camera batch upgrading, so as to solve the problems in the background technology.
In order to achieve the purpose, the invention adopts the following technical scheme: designing a camera batch upgrading automatic test method and a flow, wherein the method comprises the following steps;
the method comprises the following steps: acquiring address information of cameras needing to be upgraded in batches, and recording the total equipment quantity A;
step two: detecting the online state of the cameras, recording the number B of the cameras which are not online, pushing and informing the number B of the cameras which are not online of a tester by a message, and recording the number A-B of the cameras which are online;
step three: sending an upgrade instruction (version information Z) to an online camera, judging whether the upgrade message is sent successfully or not, if the upgrade message is sent unsuccessfully, recording the number C of upgrade message sending failures, informing testers of the number C of upgrade message sending failures by message push, and recording the number A-B-C of cameras sending the upgrade messages successfully;
step four: waiting for the online of the cameras, judging whether the cameras are normally online or not, if not, pushing a message to inform a tester of the number D of the abnormal upgrading cameras, and recording the number A-B-C-D of the online cameras;
step five: judging whether the camera version information is the upgrading instruction version information Z sent in the step 3, if the version information is incorrect, recording the number E of cameras with abnormal normal online version information, and informing testers of the number E of cameras with abnormal normal online version information by message pushing;
step six: and after the test of the round is finished, sending a test result message, pushing and sending the upgraded quantity A-B, the upgraded quantity A-B-C-D-E and the upgraded failed quantity D + E.
The invention provides a method and a process for automatically testing the batch upgrade of cameras, which have the advantages that: the invention can save the input cost of personnel, improve the testing efficiency and can carry out a plurality of tests on a large scale.
Drawings
FIG. 1 is a flow chart of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
Referring to fig. 1, a method and a process for automatic testing of camera batch upgrading include the following steps;
the method comprises the following steps: acquiring address information of cameras needing to be upgraded in batches, and recording the total equipment quantity A;
step two: detecting the online state of the cameras, recording the number B of the cameras which are not online, pushing and informing the number B of the cameras which are not online of a tester by a message, and recording the number A-B of the cameras which are online;
step three: sending an upgrade instruction (version information Z) to an online camera, judging whether the upgrade message is sent successfully or not, if the upgrade message is sent unsuccessfully, recording the number C of upgrade message sending failures, informing testers of the number C of upgrade message sending failures by message push, and recording the number A-B-C of cameras sending the upgrade messages successfully;
step four: waiting for the online of the cameras, judging whether the cameras are normally online or not, if not, pushing a message to inform a tester of the number D of the abnormal upgrading cameras, and recording the number A-B-C-D of the online cameras;
step five: judging whether the camera version information is the upgrading instruction version information Z sent in the step 3, if the version information is incorrect, recording the number E of cameras with abnormal normal online version information, and informing testers of the number E of cameras with abnormal normal online version information by message pushing;
step six: and after the test of the round is finished, sending a test result message, pushing and sending the upgraded quantity A-B, the upgraded quantity A-B-C-D-E and the upgraded failed quantity D + E.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.
Claims (1)
1. An automatic test method and a flow for batch upgrading of cameras are characterized in that: comprises the following steps;
the method comprises the following steps: acquiring address information of cameras needing to be upgraded in batches, and recording the total equipment quantity A;
step two: detecting the online state of the cameras, recording the number B of the cameras which are not online, pushing and informing the number B of the cameras which are not online of a tester by a message, and recording the number A-B of the cameras which are online;
step three: sending an upgrade instruction (version information Z) to an online camera, judging whether the upgrade message is sent successfully or not, if the upgrade message is sent unsuccessfully, recording the number C of upgrade message sending failures, informing testers of the number C of upgrade message sending failures by message push, and recording the number A-B-C of cameras sending the upgrade messages successfully;
step four: waiting for the online of the cameras, judging whether the cameras are normally online or not, if not, pushing a message to inform a tester of the number D of the abnormal upgrading cameras, and recording the number A-B-C-D of the online cameras;
step five: judging whether the camera version information is the upgrading instruction version information Z sent in the step 3, if the version information is incorrect, recording the number E of cameras with abnormal normal online version information, and informing testers of the number E of cameras with abnormal normal online version information by message pushing;
step six: and after the test of the round is finished, sending a test result message, pushing and sending the upgraded quantity A-B, the upgraded quantity A-B-C-D-E and the upgraded failed quantity D + E.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011609802.4A CN112559016A (en) | 2020-12-30 | 2020-12-30 | Automatic testing method and flow for batch upgrading of cameras |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011609802.4A CN112559016A (en) | 2020-12-30 | 2020-12-30 | Automatic testing method and flow for batch upgrading of cameras |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112559016A true CN112559016A (en) | 2021-03-26 |
Family
ID=75034611
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011609802.4A Pending CN112559016A (en) | 2020-12-30 | 2020-12-30 | Automatic testing method and flow for batch upgrading of cameras |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112559016A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109002307A (en) * | 2018-06-27 | 2018-12-14 | 郑州云海信息技术有限公司 | A kind of upgrading and automated testing method automatically |
CN109992283A (en) * | 2019-03-26 | 2019-07-09 | 合肥移瑞通信技术有限公司 | A kind of method and system of batch synchronization downloading upgrading test firmware |
CN110308923A (en) * | 2018-03-27 | 2019-10-08 | 上海擎感智能科技有限公司 | A kind of test method and its system of OTA upgrading |
CN111093070A (en) * | 2019-09-30 | 2020-05-01 | 杭州视洞科技有限公司 | Automatic testing flow method for OTA (over the air) upgrading of camera firmware |
-
2020
- 2020-12-30 CN CN202011609802.4A patent/CN112559016A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110308923A (en) * | 2018-03-27 | 2019-10-08 | 上海擎感智能科技有限公司 | A kind of test method and its system of OTA upgrading |
CN109002307A (en) * | 2018-06-27 | 2018-12-14 | 郑州云海信息技术有限公司 | A kind of upgrading and automated testing method automatically |
CN109992283A (en) * | 2019-03-26 | 2019-07-09 | 合肥移瑞通信技术有限公司 | A kind of method and system of batch synchronization downloading upgrading test firmware |
CN111093070A (en) * | 2019-09-30 | 2020-05-01 | 杭州视洞科技有限公司 | Automatic testing flow method for OTA (over the air) upgrading of camera firmware |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112650685B (en) | Automatic test method, device, electronic equipment and computer storage medium | |
TW201825913A (en) | Automated microtester array, computer implemented method and computer program product | |
CN110865944A (en) | Data analysis method and device for test case, storage medium and test equipment | |
CN110990289B (en) | Method and device for automatically submitting bug, electronic equipment and storage medium | |
CN111198811A (en) | Page automatic test method and device, electronic equipment and storage medium | |
CN115033258A (en) | Automatic upgrading and pressure testing method for SD card firmware of camera | |
CN111209188A (en) | Testing method and device for distributed storage system | |
CN101267645B (en) | Automatic test method and system for service flow software development of W base station | |
CN109524054A (en) | A kind of more hard disk types automatic positioning test method and device | |
CN112559016A (en) | Automatic testing method and flow for batch upgrading of cameras | |
CN112817883A (en) | Method, device and system for adapting interface platform and computer readable storage medium | |
CN115794639B (en) | Visual test based on flow and visual simulation test system and method | |
CN111427582A (en) | Management method, device and equipment of RT L code and computer readable storage medium | |
CN116431522A (en) | Automatic test method and system for low-code object storage gateway | |
CN113986263A (en) | Code automation test method, device, electronic equipment and storage medium | |
CN111650499B (en) | Scanning chain fault diagnosis method and device, test equipment and storage medium | |
CN113934642A (en) | Software compatibility testing method based on dynamic and static combination | |
CN109541426B (en) | Method for automatically reading parameters by tester in wafer test | |
CN112346994A (en) | Test information correlation method and device, computer equipment and storage medium | |
US10126351B2 (en) | Systems and methods for placement of singulated semiconductor devices for multi-site testing | |
CN117148018B (en) | Function test system and method for power distribution module | |
CN114610329B (en) | Solid state disk deployment method and device, readable storage medium and electronic equipment | |
CN111552599B (en) | Distributed process processing system, semiconductor aging test method and system and distributed system | |
CN112000581B (en) | Testing method and tool for Cocos2D framework software | |
CN110928759B (en) | Message pushing testing method and terminal |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210326 |