CN111400188A - Active safety monitoring platform testing method based on automatic big data - Google Patents

Active safety monitoring platform testing method based on automatic big data Download PDF

Info

Publication number
CN111400188A
CN111400188A CN202010205686.3A CN202010205686A CN111400188A CN 111400188 A CN111400188 A CN 111400188A CN 202010205686 A CN202010205686 A CN 202010205686A CN 111400188 A CN111400188 A CN 111400188A
Authority
CN
China
Prior art keywords
simulation
alarm
active safety
tool software
monitoring platform
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.)
Granted
Application number
CN202010205686.3A
Other languages
Chinese (zh)
Other versions
CN111400188B (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.)
Fujian Fortunetone Network Technology Co ltd
Original Assignee
Fujian Fortunetone Network Technology 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 Fujian Fortunetone Network Technology Co ltd filed Critical Fujian Fortunetone Network Technology Co ltd
Priority to CN202010205686.3A priority Critical patent/CN111400188B/en
Publication of CN111400188A publication Critical patent/CN111400188A/en
Application granted granted Critical
Publication of CN111400188B publication Critical patent/CN111400188B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3457Performance evaluation by simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Abstract

The invention discloses an active safety monitoring platform testing method based on automated big data, which comprises the steps of reporting an alarm flow by analog equipment, reporting a testing result by alarm of automatic statistical equipment, and simulating to realize face recognition testing and automatic statistical testing result; the invention can simulate a plurality of active safety intelligent video monitoring alarm devices to report simultaneously; the automatic counting device can report the test result by alarming and automatically count the simulation face recognition test result, the test efficiency is improved, and the automatic test of the simulation pressure on the scale of the active safety platform can be realized.

Description

Active safety monitoring platform testing method based on automatic big data
Technical Field
The invention relates to the technical field of intelligent video monitoring and alarming, in particular to an active safety monitoring platform testing method based on automatic big data.
Background
In order to meet the requirements of central decision deployment and law regulations of the safety production, such as the "national common people's republic of China" and other safety production laws, active safety intelligent video monitoring alarm devices (hereinafter referred to as active safety intelligent video monitoring alarm devices) are widely installed on two-passenger one-critical-point operation vehicles and freight vehicles all over the country, so that the safety management of enterprises on operation drivers is strengthened, and the safety hazards of drivers, such as fatigue driving, driving connection and disconnection of mobile phones and the like, are corrected through automatic identification and real-time reminding, so that the occurrence of road transportation safety accidents caused by unsafe driving behaviors of the drivers is effectively prevented and reduced; the face recognition is carried out through the active safety intelligent video monitoring alarm device, a real-name identity authentication mechanism of a driver can be strengthened, and illegal driving operation behaviors of the driver and malignant traffic accidents caused by the illegal driving operation behaviors are prevented.
The active safety intelligent video monitoring alarm equipment is connected to an active safety monitoring platform in actual use, and various illegal behaviors of a driver in the running process of the vehicle are monitored by monitoring service personnel at a background; the function of recognizing the face of the driver is realized.
The active safety intelligent video monitoring alarm device is connected to the active safety monitoring platform and uploads the abnormal driving alarm event of the driver and the picture and video of the accessory. The test engineer needs to confirm whether the number and content of the alarms uploaded to the platform by the active safety intelligent video monitoring alarm device are consistent with the number and content of the alarms actually displayed by the platform.
The active safety intelligent video monitoring alarm device is responsible for uploading a picture of a driver to the active safety monitoring platform, the active safety monitoring platform is connected to a face identification identity authentication library of a public security system in a background mode to obtain a face identification result, the identity authentication result is returned to the active safety intelligent video monitoring alarm device, and the information of the driver successfully authenticated is updated to an active safety monitoring platform database. The test engineer needs to confirm whether the returned results are consistent.
Based on the existing testing technology, the current situation is as follows:
1. generally, when a test engineer tests an active safety monitoring platform, the test engineer needs to operate active safety intelligent video monitoring alarm equipment to perform card installation, power-on and configuration, and through a series of complex processes of network connection, registration, authentication and the like, the active safety intelligent video monitoring alarm equipment is stably on line, and then the test engineer simulates smoking alarm, call alarm and the like through manual means (such as fixed pictures and videos) to test whether the active safety monitoring function of the active safety monitoring platform is developed perfectly. If concurrent pressure testing is required, the testing system is usually required to be deployed in the actual production environment of a client for testing, and once the active security monitoring platform software has a problem, the program crash and other major problems can occur.
2. During testing, aiming at the number of sent alarms and the number and content of alarms actually received by the platform, a test engineer needs to check the alarms one by one, firstly, the messages such as alarms and the like sent by the active safety intelligent video monitoring alarm device are recorded, and then, whether the messages are consistent with the received messages or not is checked by the platform, so that the efficiency is low.
3. And (3) testing face recognition, wherein a test engineer needs to actually take a 'driver' picture by using the active safety intelligent video monitoring alarm device and check whether the recognition result returned by the active safety monitoring platform is correct or not.
Disclosure of Invention
The invention provides an active safety monitoring platform testing method based on automatic big data, which can effectively solve the problems.
In order to achieve the purpose, the invention is realized by the following technical scheme:
a test method of an active safety monitoring platform based on automatic big data comprises the steps that simulation equipment reports an alarm flow, automatic statistic equipment reports a test result, and simulation realization of face recognition test and automatic statistic test result is achieved;
the process of reporting the alarm by the simulation equipment is that simulation PC tool software is used for connecting an active safety monitoring platform and simulating one or more active safety intelligent video monitoring alarm equipment to send an active safety alarm, and the specific process is as follows:
1) setting on-line parameters (such as the own number, the license plate number and the terminal serial number) by simulating PC tool software according to the parameters of actual equipment to be simulated;
2) the simulation PC tool software sets the number of the active safety intelligent video monitoring alarm devices needing simulation: setting the number of active safety intelligent video monitoring alarm devices to be simulated by simulating PC tool software;
3) simulating PC tool software to automatically generate N sets of terminal parameters and generate N links to connect the active safety monitoring platform: simulating PC tool software to start N threads to simulate N active safety intelligent video monitoring alarm devices;
4) simulation of PC tool software thread 1 connection network: after the simulation PC tool software thread 1 is connected to a public network through an Ethernet, a socket client is newly established and connected to the IP and the port of a front-end processor of an active safety monitoring platform to carry out TCP/IP message communication;
5) simulation of PC tool software thread 1 registration: simulating a PC tool software thread 1 to send a registration message to a front-end processor IP and a port of the active safety monitoring platform through a TCP/IP message; the active safety monitoring platform manages whether the registration information is consistent with the registration information check result contained in the registration message in the platform background according to the simulation PC tool software thread 1, and repeats the simulation PC tool software thread 1 to register the response message;
6) judging whether the PC tool software thread 1 is successfully registered or not by simulating: if the simulated PC tool software thread 1 receives the analysis result of the registration response message and is successful in registration, the simulated PC tool software thread 1 stores the authentication code in the registration response message, otherwise, the simulated PC tool software thread 1 repeats the registration process and sends the registration message to the platform;
7) simulating PC tool software thread 1 authentication: simulating a PC tool software thread 1 to use a TCP/IP message to send an authentication message to an IP (Internet protocol) and a port of a front-end processor of an active safety monitoring platform, and repeating an authentication response message by the safety monitoring platform according to whether an authentication code in the authentication message is consistent with a platform issued result;
8) judging whether the authentication of the simulation PC tool software thread 1 is successful or not: if the active safety monitoring platform successfully replies the response bit display in the authentication response message, the simulation PC tool software thread 1 successfully authenticates, namely the simulation PC tool software thread 1 completes the handshake flow with the active safety monitoring platform, and the simulation PC tool software thread 1 and the active safety monitoring platform can perform common message transceiving operation; if the active safety monitoring platform fails to reply the response bit display in the authentication response message, the simulation PC tool software thread 1 fails in authentication, the simulation PC tool software thread 1 repeats the authentication process and sends the authentication message to the platform again;
9) and (3) uploading the positioning information of the simulation PC tool software thread 1: the simulation PC tool software thread 1 can normally perform TCP/IP-based uplink and downlink message communication with an active safety monitoring platform and actively report simulation vehicle positioning information;
10) and (3) simulating the reporting of an alarm message by a PC tool software thread 1: simulating a PC tool software thread 1 to report an alarm message to an active safety monitoring platform;
11) the active safety monitoring platform issues a file for requesting an alarm attachment to upload: the active security monitoring platform issues an instruction for requesting the uploading of the alarm attachment file, and the instruction comprises the following steps: IP address and port uploaded by the accessory.
12) And (3) simulating reporting of an alarm accessory by a PC tool software thread 1: firstly, simulating a PC tool software thread 1 to connect an attachment server according to an attachment uploading address specified by a platform, sending alarm attachment information to the attachment server, and replying a general response by the attachment server; secondly, simulating a PC tool software thread 1 to send attachment file information to an attachment server, and transmitting actual attachment files to the server in single packets or multiple packets; finally, when the simulation PC tool software thread 1 finishes sending a file data to the attachment server, sending a file sending finishing message to the attachment server;
13) the active safety monitoring platform sends a message for confirming the receiving of the alarm attachment: after the active safety monitoring platform confirms that the complete alarm attachment information is received, sending a message for confirming the receipt of the alarm attachment;
14) repeating the steps from 4) to 13) from the simulation PC tool software thread 2 to the simulation thread N;
the automatic statistic equipment alarm reporting test result adopts simulation PC tool software to carry out automatic statistic equipment alarm reporting test result, and the specific flow is as follows:
a) the simulation PC tool software is connected with the active safety monitoring platform through a service port: the active safety monitoring platform opens a test port at the service server: 8088, establishing a TCP server, and establishing a TCP client connected to the test port of the service server via Ethernet by the simulation PC tool;
b) the simulation PC tool software informs the active safety monitoring platform to begin to report messages: simulating PC tool software to send a message to a test port of a service server to send a test start notification instruction;
c) simulating PC tool software to complete connection, registration, authentication and alarm message and accessory reporting between the simulated active safety intelligent video monitoring alarm device and the active safety monitoring platform;
d) simulating the report of PC tool software and recording the reported report, the number of accessories and the content statistical list: when the simulation PC tool reports an alarm message, the contents and the number of the reported alarm messages are recorded in an alarm simulation test data table after the message response is successful; when reporting an alarm attachment, recording the content and the number of the reported alarm attachments into an alarm simulation test data table after the message response is successful;
e) the active safety monitoring platform counts the received alarm message and the content list of the alarm accessories: the method comprises the steps that when an active safety monitoring platform business server receives alarm messages and alarm accessories, the received alarm messages, the number of the alarm accessories and the content of the alarm accessories are recorded in a platform alarm simulation test data table;
f) and (3) simulating the report of the PC tool software, and informing the active safety monitoring platform of: after the simulation PC tool software finishes reporting the alarm message and the alarm attachment, sending a message to a test port of the service server to send a test finish notification instruction;
g) the simulation PC tool software sends the statistical statement of the reported message to the active safety monitoring platform: the simulation PC tool software sends the recorded contents of the alarm simulation test data table to the active safety monitoring platform through a test port of the service server;
h) after the active safety monitoring platform service server compares and receives the alarm simulation test data table sent by the PC tool and the platform alarm simulation test data table recorded by the active safety monitoring platform service server, the simulation test result can be automatically counted;
the simulation realizes the face recognition test and the automatic counting test result, and the simulation PC tool software is adopted to carry out the simulation face recognition test and the counting, and the specific flow is as follows:
A) the simulation PC tool software is connected with the active safety monitoring platform through a service port: the active safety monitoring platform opens a test port at the service server: 8088, establishing a TCP server, and establishing a TCP client connected to the test port of the service server via Ethernet by the simulation PC tool;
B) simulating PC tool software to complete connection, registration and authentication between the simulated active safety intelligent video monitoring alarm device and the active safety monitoring platform;
C) the simulation PC tool software informs the active safety monitoring platform of face recognition to be reported through the service port: the simulation PC tool software sends a simulation face recognition sending test starting notification instruction to a test port of the service server;
D) simulating and reporting a 'driver' face photo by simulating PC tool software: and the simulation PC tool sends the driver driving license picture to the active safety monitoring platform.
E) The simulation PC tool software counts and reports the 'driver' face photo list, and whether the photo for simulation test accords with the 'driver' actual photo: the simulation PC tool sends a picture of the driver's driving license, the number of sending times is added by 1 after the platform response is returned correctly, and the name of the picture and the number of sending times are recorded in a face recognition simulation test data table; the active safety monitoring platform sends the driver driving license photo to a third-party website for verification each time, and records the name, the sending times and the checking result of the received photo to a platform face recognition simulation test data table; the simulation PC tool records the driver driving license photo verification result to a face recognition simulation test data table;
F) the simulation PC tool software finishes reporting, and informs the active safety monitoring platform through the service port: the simulation PC tool software sends a simulation face recognition sending test ending notification instruction to a test port of the service server;
G) the simulation PC tool software sends the reported statistical list of the driver photos to the active safety monitoring platform through the service port: the simulation PC tool sends the face recognition simulation test data table to the active safety monitoring platform service server;
H) the active safety monitoring platform automatically counts simulation test results: comparing the face recognition simulation test data table with the platform face recognition simulation test data table by the active safety monitoring platform, and counting i) the final test times; ii) the third-party website verifies the times of coincidence and non-coincidence of the driver's driving license photos; iii) whether there are times to send face recognition verification but the results are not replied.
Further, the simulation PC tool in step 10) of reporting the alarm flow by the simulation device may actively simulate an alarm message and report an alarm attachment.
Furthermore, the simulation PC tool software in the step D) for simulating the realization of the face recognition test and the automatic statistics of the test result can simulate and send a single or multiple driving license photos.
Has the advantages that:
1. the simulation active safety intelligent video monitoring alarm device is connected to the active safety monitoring platform for registration, authentication, position message sending, active safety alarm message and accessories, can be used for configuring alarms to be tested and reporting frequency thereof in a personalized manner, and is convenient for a test engineer to carry out automatic test of batch pressure.
2. The system can automatically record an alarm message sending list, is connected to the active safety monitoring platform through the service port, sends the alarm message sending list to the active safety monitoring platform, and realizes the automatic counting function of testing the content and the quantity of sent messages and received messages by the active safety monitoring platform.
3. The face picture can be simulated and uploaded to the active safety monitoring platform, the face recognition simulation test function is achieved, the face picture sending list can be sent to the active safety monitoring platform, and the automatic counting function of testing the final recognition result of the face recognition message is achieved.
The invention improves the testing efficiency of the active safety monitoring platform, can carry out concurrent pressure testing aiming at the functions of the platform, can find the concurrent design defect of the active safety monitoring platform in advance before the platform is on line, and prevents the occurrence of major defects due to the software concurrency performance problem in the actual deployment.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of an alarm reporting process of analog equipment;
FIG. 2 is a schematic view of a process of reporting test results by an alarm of an automatic statistics device;
fig. 3 is a schematic flow chart of simulation for realizing face recognition test and automatic counting test results.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. 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.
The technical scheme of the invention is explained below by combining the accompanying drawings:
a test method of an active safety monitoring platform based on automatic big data comprises the steps that simulation equipment reports an alarm flow, automatic statistic equipment reports a test result, and simulation realization of face recognition test and automatic statistic test result is achieved;
referring to fig. 1, the process of reporting an alarm by the analog device is implemented by connecting analog PC tool software to an active security monitoring platform and simulating one or more active security intelligent video monitoring alarm devices to send an active security alarm, and the specific process is as follows:
1) setting on-line parameters (such as the own number, the license plate number and the terminal serial number) by simulating PC tool software according to the parameters of actual equipment to be simulated;
2) the simulation PC tool software sets the number of the active safety intelligent video monitoring alarm devices needing simulation: setting the number of active safety intelligent video monitoring alarm devices to be simulated by simulating PC tool software;
3) simulating PC tool software to automatically generate N sets of terminal parameters and generate N links to connect the active safety monitoring platform: simulating PC tool software to start N threads to simulate N active safety intelligent video monitoring alarm devices;
4) simulation of PC tool software thread 1 connection network: after the simulation PC tool software thread 1 is connected to a public network through an Ethernet, a socket client is newly established and connected to the IP and the port of a front-end processor of an active safety monitoring platform to carry out TCP/IP message communication;
5) simulation of PC tool software thread 1 registration: simulating a PC tool software thread 1 to send a registration message to a front-end processor IP and a port of the active safety monitoring platform through a TCP/IP message; the active safety monitoring platform manages the registration information in the platform background according to the simulation PC tool software thread 1 and checks whether the registration information check result contained in the registration message is consistent, wherein the platform background management registration information contains the license plate number, the terminal ID and the communication SIM card number, and the simulation PC tool software thread 1 is repeated to register the response message;
6) judging whether the PC tool software thread 1 is successfully registered or not by simulating: if the analysis result received by the simulation PC tool software thread 1 in the registration response message is successful in registration (namely the active security monitoring platform manages the registration information in the platform background according to the simulation PC tool software thread 1 and the registration information check result contained in the registration message is consistent), the simulation PC tool software thread 1 stores the authentication code in the registration response message, otherwise, the simulation PC tool software thread 1 repeats the registration process (namely the active security monitoring platform manages the registration information in the platform background according to the simulation PC tool software thread 1 and the registration information check result contained in the registration message is inconsistent), and then sends the registration message to the platform;
7) simulating PC tool software thread 1 authentication: simulating a PC tool software thread 1 to use a TCP/IP message to send an authentication message to an IP (Internet protocol) and a port of a front-end processor of an active safety monitoring platform, and repeating an authentication response message by the safety monitoring platform according to whether an authentication code in the authentication message is consistent with a platform issued result;
8) judging whether the authentication of the simulation PC tool software thread 1 is successful or not: if the active safety monitoring platform replies the response bit in the authentication response message and displays successfully (namely the safety monitoring platform is consistent with the platform issued result according to the authentication code in the authentication message), the authentication of the PC tool software thread 1 is simulated successfully, namely the PC tool software thread 1 is simulated to complete the handshake flow between the active safety monitoring platform, and the common message transceiving operation can be carried out between the PC tool software thread 1 and the active safety monitoring platform; if the active security monitoring platform fails to reply the response bit display in the authentication response message (namely the security monitoring platform is inconsistent with the platform issued result according to the authentication code in the authentication message), the simulation PC tool software thread 1 fails in authentication, the simulation PC tool software thread 1 repeats the authentication process and sends the authentication message to the platform again;
9) and (3) uploading the positioning information of the simulation PC tool software thread 1: the simulation PC tool software thread 1 can normally perform TCP/IP-based uplink and downlink message communication with an active safety monitoring platform and actively report simulation vehicle positioning information;
10) and (3) simulating the reporting of an alarm message by a PC tool software thread 1: the simulation PC tool software thread 1 reports an alarm message to the active safety monitoring platform, wherein the simulation PC tool can further simulate the alarm message and report an alarm accessory;
11) the active safety monitoring platform issues a file for requesting an alarm attachment to upload: the active safety monitoring platform issues an uploading instruction of a file (picture, video and the like) requesting an alarm attachment, and the uploading instruction comprises the following steps: IP address and port uploaded by the accessory.
12) And (3) simulating reporting of an alarm accessory by a PC tool software thread 1: firstly, a simulation PC tool software thread 1 is connected with an attachment server according to an attachment uploading address designated by a platform, wherein the attachment server is a subsystem of an active safety monitoring platform and is used for storing attachments uploaded by the simulation PC tool software thread 1; sending alarm attachment information to the attachment server, and replying a general response by the attachment server; secondly, simulating a PC tool software thread 1 to send attachment file information to an attachment server, and transmitting actual attachment files to the server in single packets or multiple packets; finally, when the simulation PC tool software thread 1 finishes sending a file data to the attachment server, sending a file sending finishing message to the attachment server;
13) the active safety monitoring platform sends a message for confirming the receiving of the alarm attachment: after the active safety monitoring platform confirms that the complete alarm attachment information is received, sending a message for confirming the receipt of the alarm attachment;
14) repeating the steps from 4) to 13) from the simulation PC tool software thread 2 to the simulation thread N;
referring to fig. 2, the automatic statistics device alarm reporting test result adopts simulated PC tool software to perform automatic statistics device alarm reporting test result, and the specific process is as follows:
a) the simulation PC tool software is connected with the active safety monitoring platform through a service port: the active safety monitoring platform opens a test port at the service server: 8088, establishing a TCP server, and establishing a TCP client connected to the test port of the service server via Ethernet by the simulation PC tool;
b) the simulation PC tool software informs the active safety monitoring platform to begin to report messages: simulating PC tool software to send a message to a test port of a service server to send a test start notification instruction;
c) simulating PC tool software to complete connection, registration, authentication and alarm message and accessory reporting between the simulated active safety intelligent video monitoring alarm device and the active safety monitoring platform; specifically referring to the step flow from 4) to 13) in the reporting alarm flow of the analog equipment.
d) Simulating the report of PC tool software and recording the reported report, the number of accessories and the content statistical list: when the simulation PC tool reports an alarm message, the contents and the number of the reported alarm messages are recorded in an alarm simulation test data table after the message response is successful; when reporting an alarm attachment, recording the content and the number of the reported alarm attachments into an alarm simulation test data table after the message response is successful;
e) the active safety monitoring platform counts the received alarm message and the content list of the alarm accessories: the method comprises the steps that when an active safety monitoring platform business server receives alarm messages and alarm accessories, the received alarm messages, the number of the alarm accessories and the content of the alarm accessories are recorded in a platform alarm simulation test data table;
f) and (3) simulating the report of the PC tool software, and informing the active safety monitoring platform of: after the simulation PC tool software finishes reporting the alarm message and the alarm attachment, sending a message to a test port of the service server to send a test finish notification instruction;
g) the simulation PC tool software sends the statistical statement of the reported message to the active safety monitoring platform: the simulation PC tool software sends the recorded contents of the alarm simulation test data table to the active safety monitoring platform through a test port of the service server;
h) after the active safety monitoring platform service server compares and receives the alarm simulation test data table sent by the PC tool and the platform alarm simulation test data table recorded by the active safety monitoring platform service server, the simulation test result can be automatically counted;
referring to fig. 3, the simulation of the face recognition test and the automatic statistics of the test results is implemented by using simulation PC tool software to perform simulation of the face recognition test and statistics, and the specific process is as follows:
A) the simulation PC tool software is connected with the active safety monitoring platform through a service port: the active safety monitoring platform opens a test port at the service server: 8088, establishing a TCP server, and establishing a TCP client connected to the test port of the service server via Ethernet by the simulation PC tool;
B) simulating PC tool software to complete connection, registration and authentication between the simulated active safety intelligent video monitoring alarm device and the active safety monitoring platform; specifically referring to the step flow from 4) to 13) in the reporting alarm flow of the analog equipment.
C) The simulation PC tool software informs the active safety monitoring platform of face recognition to be reported through the service port: the simulation PC tool software sends a simulation face recognition sending test starting notification instruction to a test port of the service server;
D) simulating and reporting a 'driver' face photo by simulating PC tool software: the simulation PC tool sends the driver's driving license photo to the active safety monitoring platform (one or more driving license photos can be sent in a simulation way).
E) The simulation PC tool software counts and reports the 'driver' face photo list, and whether the photo for simulation test accords with the 'driver' actual photo: the simulation PC tool sends a picture of the driver's driving license, the number of sending times is added by 1 after the platform response is returned correctly, and the name of the picture and the number of sending times are recorded in a face recognition simulation test data table; the active safety monitoring platform sends the driver driving license picture to a third-party website (government websites such as administration and public security) for verification every time the driver driving license picture is received, and records the name, the sending times and the checking result of the received picture to a platform face identification simulation test data table; the simulation PC tool records the driver driving license photo verification result to a face recognition simulation test data table;
F) the simulation PC tool software finishes reporting, and informs the active safety monitoring platform through the service port: the simulation PC tool software sends a simulation face recognition sending test ending notification instruction to a test port of the service server;
G) the simulation PC tool software sends the reported statistical list of the driver photos to the active safety monitoring platform through the service port: the simulation PC tool sends the face recognition simulation test data table to the active safety monitoring platform service server;
H) the active safety monitoring platform automatically counts simulation test results: comparing the face recognition simulation test data table with the platform face recognition simulation test data table by the active safety monitoring platform, and counting i) the final test times; ii) verifying the number of times that the driver driving license picture is in accordance with or not in accordance with the third-party website (government websites such as administration and public security); iii) whether there are times to send face recognition verification but the results are not replied.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (3)

1. A test method of an active safety monitoring platform based on automatic big data is characterized by comprising the steps of reporting an alarm flow by simulation equipment, reporting a test result by alarm of automatic statistics equipment, and simulating to realize a face recognition test and an automatic statistics test result;
the process of reporting the alarm by the simulation equipment is that simulation PC tool software is used for connecting an active safety monitoring platform and simulating one or more active safety intelligent video monitoring alarm equipment to send an active safety alarm, and the specific process is as follows:
1) setting online parameters by simulating PC tool software according to parameters of actual equipment to be simulated;
2) the simulation PC tool software sets the number of the active safety intelligent video monitoring alarm devices needing simulation: setting the number of active safety intelligent video monitoring alarm devices to be simulated by simulating PC tool software;
3) simulating PC tool software to automatically generate N sets of terminal parameters and generate N links to connect the active safety monitoring platform: simulating PC tool software to start N threads to simulate N active safety intelligent video monitoring alarm devices;
4) simulation of PC tool software thread 1 connection network: after the simulation PC tool software thread 1 is connected to a public network through an Ethernet, a socket client is newly established and connected to the IP and the port of a front-end processor of an active safety monitoring platform to carry out TCP/IP message communication;
5) simulation of PC tool software thread 1 registration: simulating a PC tool software thread 1 to send a registration message to a front-end processor IP and a port of the active safety monitoring platform through a TCP/IP message; the active safety monitoring platform manages whether the registration information is consistent with the registration information check result contained in the registration message in the platform background according to the simulation PC tool software thread 1, and repeats the simulation PC tool software thread 1 to register the response message;
6) judging whether the PC tool software thread 1 is successfully registered or not by simulating: if the simulated PC tool software thread 1 receives the analysis result of the registration response message and is successful in registration, the simulated PC tool software thread 1 stores the authentication code in the registration response message, otherwise, the simulated PC tool software thread 1 repeats the registration process and sends the registration message to the platform;
7) simulating PC tool software thread 1 authentication: simulating a PC tool software thread 1 to use a TCP/IP message to send an authentication message to an IP (Internet protocol) and a port of a front-end processor of an active safety monitoring platform, and repeating an authentication response message by the safety monitoring platform according to whether an authentication code in the authentication message is consistent with a platform issued result;
8) judging whether the authentication of the simulation PC tool software thread 1 is successful or not: if the active safety monitoring platform successfully replies the response bit display in the authentication response message, the simulation PC tool software thread 1 successfully authenticates, namely the simulation PC tool software thread 1 completes the handshake flow with the active safety monitoring platform, and the simulation PC tool software thread 1 and the active safety monitoring platform can perform common message transceiving operation; if the active safety monitoring platform fails to reply the response bit display in the authentication response message, the simulation PC tool software thread 1 fails in authentication, the simulation PC tool software thread 1 repeats the authentication process and sends the authentication message to the platform again;
9) and (3) uploading the positioning information of the simulation PC tool software thread 1: the simulation PC tool software thread 1 can normally perform TCP/IP-based uplink and downlink message communication with an active safety monitoring platform and actively report simulation vehicle positioning information;
10) and (3) simulating the reporting of an alarm message by a PC tool software thread 1: simulating a PC tool software thread 1 to report an alarm message to an active safety monitoring platform;
11) the active safety monitoring platform issues a file for requesting an alarm attachment to upload: the active security monitoring platform issues an instruction for requesting the uploading of the alarm attachment file, and the instruction comprises the following steps: IP address and port uploaded by the accessory.
12) And (3) simulating reporting of an alarm accessory by a PC tool software thread 1: firstly, simulating a PC tool software thread 1 to connect an attachment server according to an attachment uploading address specified by a platform, sending alarm attachment information to the attachment server, and replying a general response by the attachment server; secondly, simulating a PC tool software thread 1 to send attachment file information to an attachment server, and transmitting actual attachment files to the server in single packets or multiple packets; finally, when the simulation PC tool software thread 1 finishes sending a file data to the attachment server, sending a file sending finishing message to the attachment server;
13) the active safety monitoring platform sends a message for confirming the receiving of the alarm attachment: after the active safety monitoring platform confirms that the complete alarm attachment information is received, sending a message for confirming the receipt of the alarm attachment;
14) repeating the steps from 4) to 13) from the simulation PC tool software thread 2 to the simulation thread N;
the automatic statistic equipment alarm reporting test result adopts simulation PC tool software to carry out automatic statistic equipment alarm reporting test result, and the specific flow is as follows:
a) the simulation PC tool software is connected with the active safety monitoring platform through a service port: the active safety monitoring platform opens a test port at the service server: 8088, establishing a TCP server, and establishing a TCP client connected to the test port of the service server via Ethernet by the simulation PC tool;
b) the simulation PC tool software informs the active safety monitoring platform to begin to report messages: simulating PC tool software to send a message to a test port of a service server to send a test start notification instruction;
c) simulating PC tool software to complete connection, registration, authentication and alarm message and accessory reporting between the simulated active safety intelligent video monitoring alarm device and the active safety monitoring platform;
d) simulating the report of PC tool software and recording the reported report, the number of accessories and the content statistical list: when the simulation PC tool reports an alarm message, the contents and the number of the reported alarm messages are recorded in an alarm simulation test data table after the message response is successful; when reporting an alarm attachment, recording the content and the number of the reported alarm attachments into an alarm simulation test data table after the message response is successful;
e) the active safety monitoring platform counts the received alarm message and the content list of the alarm accessories: the method comprises the steps that when an active safety monitoring platform business server receives alarm messages and alarm accessories, the received alarm messages, the number of the alarm accessories and the content of the alarm accessories are recorded in a platform alarm simulation test data table;
f) and (3) simulating the report of the PC tool software, and informing the active safety monitoring platform of: after the simulation PC tool software finishes reporting the alarm message and the alarm attachment, sending a message to a test port of the service server to send a test finish notification instruction;
g) the simulation PC tool software sends the statistical statement of the reported message to the active safety monitoring platform: the simulation PC tool software sends the recorded contents of the alarm simulation test data table to the active safety monitoring platform through a test port of the service server;
h) after the active safety monitoring platform service server compares and receives the alarm simulation test data table sent by the PC tool and the platform alarm simulation test data table recorded by the active safety monitoring platform service server, the simulation test result can be automatically counted;
the simulation realizes the face recognition test and the automatic counting test result, and the simulation PC tool software is adopted to carry out the simulation face recognition test and the counting, and the specific flow is as follows:
A) the simulation PC tool software is connected with the active safety monitoring platform through a service port: the active safety monitoring platform opens a test port at the service server: 8088, establishing a TCP server, and establishing a TCP client connected to the test port of the service server via Ethernet by the simulation PC tool;
B) simulating PC tool software to complete connection, registration and authentication between the simulated active safety intelligent video monitoring alarm device and the active safety monitoring platform;
C) the simulation PC tool software informs the active safety monitoring platform of face recognition to be reported through the service port: the simulation PC tool software sends a simulation face recognition sending test starting notification instruction to a test port of the service server;
D) simulating and reporting a 'driver' face photo by simulating PC tool software: the simulation PC tool sends a driver driving license picture to the active safety monitoring platform;
E) the simulation PC tool software counts and reports the 'driver' face photo list, and whether the photo for simulation test accords with the 'driver' actual photo: the simulation PC tool sends a picture of the driver's driving license, the number of sending times is added by 1 after the platform response is returned correctly, and the name of the picture and the number of sending times are recorded in a face recognition simulation test data table; the active safety monitoring platform sends the driver driving license photo to a third-party website for verification each time, and records the name, the sending times and the checking result of the received photo to a platform face recognition simulation test data table; the simulation PC tool records the driver driving license photo verification result to a face recognition simulation test data table;
F) the simulation PC tool software finishes reporting, and informs the active safety monitoring platform through the service port: the simulation PC tool software sends a simulation face recognition sending test ending notification instruction to a test port of the service server;
G) the simulation PC tool software sends the reported statistical list of the driver photos to the active safety monitoring platform through the service port: the simulation PC tool sends the face recognition simulation test data table to the active safety monitoring platform service server;
H) the active safety monitoring platform automatically counts simulation test results: comparing the face recognition simulation test data table with the platform face recognition simulation test data table by the active safety monitoring platform, and counting i) the final test times; ii) the third-party website verifies the times of coincidence and non-coincidence of the driver's driving license photos; iii) whether there are times to send face recognition verification but the results are not replied.
2. The method as claimed in claim 1, wherein the step 10) of reporting the alarm flow by the simulation device is that the simulation PC tool can actively simulate the alarm report and the alarm accessory report.
3. The active safety monitoring platform testing method based on the automated big data as claimed in claim 1, wherein the simulation of the PC tool software in the step D) for simulating the realization of the face recognition test and the automatic statistics of the test results can simulate the sending of a single or multiple driver license photos.
CN202010205686.3A 2020-03-23 2020-03-23 Active safety monitoring platform testing method based on automation big data Active CN111400188B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010205686.3A CN111400188B (en) 2020-03-23 2020-03-23 Active safety monitoring platform testing method based on automation big data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010205686.3A CN111400188B (en) 2020-03-23 2020-03-23 Active safety monitoring platform testing method based on automation big data

Publications (2)

Publication Number Publication Date
CN111400188A true CN111400188A (en) 2020-07-10
CN111400188B CN111400188B (en) 2022-05-24

Family

ID=71436490

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010205686.3A Active CN111400188B (en) 2020-03-23 2020-03-23 Active safety monitoring platform testing method based on automation big data

Country Status (1)

Country Link
CN (1) CN111400188B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102904769A (en) * 2011-07-27 2013-01-30 广西鑫百纳电气有限公司 Test method and test equipment for monitoring systems
US20180341571A1 (en) * 2017-05-23 2018-11-29 Uber Technologies, Inc. Software version verification for autonomous vehicles
CN109540546A (en) * 2018-12-05 2019-03-29 交通运输部公路科学研究所 A kind of test macro and test method of unsafe driving behavior monitoring device
CN109919407A (en) * 2018-12-28 2019-06-21 地上铁租车(深圳)有限公司 A kind of driving behavior active security management system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102904769A (en) * 2011-07-27 2013-01-30 广西鑫百纳电气有限公司 Test method and test equipment for monitoring systems
US20180341571A1 (en) * 2017-05-23 2018-11-29 Uber Technologies, Inc. Software version verification for autonomous vehicles
CN109540546A (en) * 2018-12-05 2019-03-29 交通运输部公路科学研究所 A kind of test macro and test method of unsafe driving behavior monitoring device
CN109919407A (en) * 2018-12-28 2019-06-21 地上铁租车(深圳)有限公司 A kind of driving behavior active security management system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王文浩: "汽车驾驶员疲劳预警系统设计与实现", 《中国优秀硕士学位论文全文数据库 (工程科技Ⅱ辑)》 *
顾征远: "面向驾驶员的疲劳监测系统研究", 《中国优秀硕士学位论文全文数据库 (信息科技辑)》 *

Also Published As

Publication number Publication date
CN111400188B (en) 2022-05-24

Similar Documents

Publication Publication Date Title
US20140207629A1 (en) System, method, and apparatus for identifying and authenticating the presence of high value assets at remote locations
CN105847376A (en) Vehicle insurance assessment system and method
CN107171834B (en) Short message gateway service platform monitoring and early warning system and method based on gateway early warning pool
CN110189432A (en) Car networking platform automatic registration method and system
EP1947806A1 (en) A method and system for service trace and service trace terminal, network element
WO2018232936A1 (en) Fault repair method and apparatus for shared device
CN107800783B (en) Method and device for remotely monitoring server
CN105099791B (en) A kind of terminal fault localization method and system based on network signal monitoring data
CN106993043B (en) Data communication system and method based on agency
CN110830491A (en) Internet of vehicles information acquisition method and device
CN110139243A (en) Vehicle monitoring method, monitoring terminal and vehicle monitoring system
CN110569993A (en) Intelligent maintenance and maintenance system based on big data
CN110225109B (en) Multi-queue data transmission method based on 'industrial and commercial connection' platform
CN111400188B (en) Active safety monitoring platform testing method based on automation big data
CN114912862A (en) Unmanned intelligent inspection system for inspection station based on dangerous freight transportation power transmission electronic freight list
CN111371581A (en) Method, device, equipment and medium for detecting business abnormity of Internet of things card
CN105931060A (en) Data service complaint handling method and system
CN112600700A (en) Performance verification system based on Tbox new energy automobile platform
CN109492035A (en) Equipment that airport is unpowered supervises data processing system and method
CN112528389B (en) Vehicle information processing method and device and vehicle operation management platform
CN112003867B (en) Communication method of vehicle-mounted T-BOX and cloud server and related equipment
CN112785747A (en) Night patrol method and system based on Internet of things
CN106358224B (en) A kind of mobile device DPI data and the method and system of application and base station secure synchronization
CN110942599A (en) Data monitoring method and system
CN115511021B (en) Vehicle management method and device based on positioning, storage medium and electronic equipment

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
CB02 Change of applicant information

Address after: 350000 Floor 15-16 of Technology Transfer Center Building of Strait No. 611 Industrial Road, Gulou District, Fuzhou City, Fujian Province

Applicant after: Fuxin Futong Technology Co., Ltd

Address before: 350002 15-16 / F, Strait technology transfer center, 611 Gongye Road, Gulou District, Fuzhou City, Fujian Province

Applicant before: FUJIAN FORTUNETONE NETWORK TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant