CN109067613B - Method for testing networking success rate of identity card identification equipment - Google Patents
Method for testing networking success rate of identity card identification equipment Download PDFInfo
- Publication number
- CN109067613B CN109067613B CN201810798325.7A CN201810798325A CN109067613B CN 109067613 B CN109067613 B CN 109067613B CN 201810798325 A CN201810798325 A CN 201810798325A CN 109067613 B CN109067613 B CN 109067613B
- Authority
- CN
- China
- Prior art keywords
- networking
- card identification
- identification equipment
- shared vehicle
- success rate
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
Abstract
The invention discloses a method for testing the networking success rate of identification card identification equipment, which relates to the field of shared automobiles and comprises the following steps: establishing an incidence relation between the identity card identification equipment and the shared vehicle, selecting the shared vehicle and the identity card identification equipment corresponding to the shared vehicle according to the incidence relation, judging whether the shared vehicle is currently in a state to be rented, if the shared vehicle is currently in the state to be rented, sequentially sending a networking instruction and a standby instruction to the identity card identification equipment, receiving a networking result returned by the server, calculating the networking success rate of the identity card identification equipment according to the networking result, repeatedly sending the networking instruction and the standby instruction to the identity card identification equipment in sequence after a set time period, receiving the networking result returned by the server, calculating the networking success rate of the identity card identification equipment twice according to the networking result, continuously testing for 24 hours, realizing the test of the networking success rate of the identity card identification equipment under different network environments, and improving the accuracy of the test result, the method solves the defect of low precision of the test result caused by single network environment in the prior art.
Description
Technical Field
The invention relates to the field of shared automobiles, in particular to a method for testing the networking success rate of identification card identification equipment.
Background
With the development of sharing economy, shared automobiles gradually enter people's lives, users sharing automobiles are more and more, and in order to ensure that APP registrants of the shared automobiles and actual users sharing automobiles are the same person, the shared automobiles generally select to install face recognition systems and identity card recognition systems in the automobiles. In addition, along with competition is more and more fierce, in order to improve user experience, more and more sharing automobiles select to install the ID card identification equipment in the automobile, the door opening operation can be completed through the ID card identification equipment, a user can conveniently use the automobile, the automobile using experience is improved, and the requirement on the networking success rate of the ID card identification equipment is higher and higher.
At present, the method for testing the networking success rate of the identity card identification equipment is used for testing the networking success rate of the identity card identification equipment alone in a laboratory environment, the network environment is fixed, the networking success rate of the identity card identification equipment in other network environments cannot be tested, and the efficiency and the accuracy of a test result are low.
Disclosure of Invention
In order to solve the defects of the prior art, the embodiment of the invention provides a method for testing the networking success rate of identification card identification equipment, which comprises the following steps:
step1, establishing an incidence relation between the identification card recognition equipment and the shared vehicle;
step2, selecting a shared vehicle and an identification card identification device corresponding to the shared vehicle according to the association relation;
step3, judging whether the shared vehicle is currently in a state to be rented, and if the shared vehicle is currently in the state to be rented, sequentially sending a networking instruction and a standby instruction to the identification card recognition equipment;
step4, calculating the networking success rate of the identification card identification equipment according to the networking result;
step5, after the set time period, repeating the steps Step3-Step4 twice.
Preferably, the set time period is 5 minutes.
Preferably, after Step5, the method further comprises:
and judging whether the current test time length is longer than 24h, if not, waiting for 2h, repeating the steps of Step2-Step5, and if so, ending the test.
Preferably, the method further comprises:
if the shared vehicle is not in the state to be rented currently, judging whether the current test time length is longer than 24h, if not, waiting for 5 minutes, repeating the steps Step2-Step5, and if so, ending the test.
The method for testing the networking success rate of the identification card identification equipment provided by the embodiment of the invention has the following beneficial effects:
by carrying out multiple networking success rate tests on the identification card identification equipment within 24h, the automatic test of the networking success rate of the identification card identification equipment under different network environments is realized, and the accuracy and the efficiency of test results are improved.
Drawings
Fig. 1 is a schematic flowchart of a method for testing a networking success rate of an identification card recognition device according to an embodiment of the present invention.
Detailed Description
The invention is described in detail below with reference to the figures and the embodiments.
Referring to fig. 1, the method for testing the networking success rate of the identification card recognition device provided by the embodiment of the invention comprises the following steps:
step1, establishing an association relationship between the identification card identification device and the shared vehicle.
The license plate number of a shared vehicle is correspondingly bound to one identity card identification device, and the test of each identity card identification device can be carried out simultaneously.
And Step2, selecting the shared vehicle and the identification card identification equipment corresponding to the shared vehicle according to the incidence relation.
Wherein, the selected identification card recognition equipment is the identification card recognition equipment to be tested.
And Step3, judging whether the shared vehicle is currently in a state to be rented, and if the shared vehicle is currently in the state to be rented, sequentially sending a networking instruction and a standby instruction to the identification card recognition equipment.
After receiving the networking instruction and the standby instruction, the identification card recognition equipment is switched to the standby state after the networking state is finished.
And Step4, receiving a networking result returned by the server, and calculating the networking success rate of the identification card recognition equipment according to the networking result.
Wherein, every time a networking result is received, a networking success rate is calculated. The networking results include: the tested ID card identifies whether the equipment is successfully networked.
Step5, after the set time period, repeating the steps Step3-Step4 twice.
And obtaining the networking success rate according to the total networking success times and the total networking times.
Alternatively, the set time period is 5 minutes, and may be specifically set according to different situations.
Optionally, after Step5, the method further comprises:
and judging whether the current test time length is longer than 24h, if not, waiting for 2h, repeating the steps of Step2-Step5, and if so, ending the test.
Optionally, the method further comprises:
if the shared vehicle is not in the state to be rented currently, judging whether the current test time length is longer than 24h, if not, waiting for 5 minutes, repeating the steps Step2-Step5, and if so, ending the test.
The method for testing the networking success rate of the identification card identification equipment provided by the embodiment of the invention is not limited to be applied to the field of shared automobiles, and is also suitable for other fields.
The method for testing the networking success rate of the identification card identification equipment provided by the embodiment of the invention comprises the following steps: establishing an association relation between the identity card identification equipment and the shared vehicle, selecting the shared vehicle and the identity card identification equipment corresponding to the shared vehicle according to the association relation, judging whether the shared vehicle is currently in a state to be rented, if the shared vehicle is currently in the state to be rented, then sequentially sending a networking instruction and a standby instruction to the identification card identification equipment, receiving a networking result returned by the server, calculating the networking success rate of the identification card identification equipment according to the networking result, after the set time period, the network command and the standby command are repeatedly sent to the ID card identification equipment in sequence, the network result returned by the server is received, according to the networking result, the networking success rate of the identification card identification equipment is calculated twice, the continuous test is carried out for 24 hours, the method and the device realize the test of the networking success rate of the identification card identification equipment under different network environments and improve the accuracy of the test result.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be appreciated that the relevant features of the method and apparatus described above are referred to one another. In addition, "first", "second", and the like in the above embodiments are for distinguishing the embodiments, and do not represent merits of the embodiments.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In addition, the memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. 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.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (4)
1. A method for testing the networking success rate of identification card recognition equipment is suitable for the field of shared automobiles, and is characterized by comprising the following steps:
step1, establishing an incidence relation between the identification card recognition equipment and the shared vehicle;
step2, selecting a shared vehicle and an identification card identification device corresponding to the shared vehicle according to the incidence relation;
step3, judging whether the shared vehicle is currently in a state to be rented, and if the shared vehicle is currently in the state to be rented, sequentially sending a networking instruction and a standby instruction to the identification card recognition equipment;
step4, receiving a networking result returned by the server, and calculating the networking success rate of the identification card identification equipment according to the networking result;
step5, after the set time period, repeating the steps Step3-Step4 twice.
2. The method of claim 1, wherein the set period of time is 5 minutes.
3. The method according to claim 1, wherein after Step5, the method further comprises:
and judging whether the current test time length is longer than 24h, if not, waiting for 2h, repeating the steps of Step2-Step5, and if so, ending the test.
4. The method of claim 1, further comprising:
if the shared vehicle is not in the state to be rented currently, judging whether the current test time length is longer than 24h, if not, waiting for 5 minutes, repeating the steps Step2-Step5, and if so, ending the test.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810798325.7A CN109067613B (en) | 2018-07-19 | 2018-07-19 | Method for testing networking success rate of identity card identification equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810798325.7A CN109067613B (en) | 2018-07-19 | 2018-07-19 | Method for testing networking success rate of identity card identification equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109067613A CN109067613A (en) | 2018-12-21 |
CN109067613B true CN109067613B (en) | 2020-07-31 |
Family
ID=64817470
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810798325.7A Active CN109067613B (en) | 2018-07-19 | 2018-07-19 | Method for testing networking success rate of identity card identification equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109067613B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101133570A (en) * | 2005-03-01 | 2008-02-27 | 摩托罗拉公司 | Method and apparatus for increasing success rate of push-to-talk access in a mobile communications network |
TW201008169A (en) * | 2008-08-13 | 2010-02-16 | Mtech Corp Ltd | System and method for calculating the successful connection rate of Internet radio station |
CN102413489A (en) * | 2011-12-12 | 2012-04-11 | 广东欧珀移动通信有限公司 | Automatic test method for WiFi (Wireless Fidelity) network connection of mobile phone |
CN105282259A (en) * | 2015-11-13 | 2016-01-27 | 深圳联友科技有限公司 | Load balancing allocation method, agent and system used for background cluster service |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7555518B2 (en) * | 2005-02-04 | 2009-06-30 | Microsoft Corporation | Relative quality value |
-
2018
- 2018-07-19 CN CN201810798325.7A patent/CN109067613B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101133570A (en) * | 2005-03-01 | 2008-02-27 | 摩托罗拉公司 | Method and apparatus for increasing success rate of push-to-talk access in a mobile communications network |
TW201008169A (en) * | 2008-08-13 | 2010-02-16 | Mtech Corp Ltd | System and method for calculating the successful connection rate of Internet radio station |
CN102413489A (en) * | 2011-12-12 | 2012-04-11 | 广东欧珀移动通信有限公司 | Automatic test method for WiFi (Wireless Fidelity) network connection of mobile phone |
CN105282259A (en) * | 2015-11-13 | 2016-01-27 | 深圳联友科技有限公司 | Load balancing allocation method, agent and system used for background cluster service |
Also Published As
Publication number | Publication date |
---|---|
CN109067613A (en) | 2018-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109145981B (en) | Deep learning automatic model training method and equipment | |
CN111026080A (en) | Hardware-in-loop test method and device for controller | |
CN109278678B (en) | Vehicle failure determination system | |
CN115118627B (en) | Temporary speed limiting server testing method and device | |
CN107220165B (en) | Method and device for simulating online pressure test | |
CN110096445A (en) | A kind of model is in ring test method and device | |
CN110838955B (en) | Method and device for debugging ETC online application function | |
CN109067613B (en) | Method for testing networking success rate of identity card identification equipment | |
CN109684225A (en) | A kind of method for testing software and device | |
CN108268369B (en) | Test data acquisition method and device | |
CN109542775B (en) | Test script generation and execution method and device | |
CN116595588A (en) | Safety analysis method and device for railway signal system development process | |
CN116069577A (en) | Interface testing method, equipment and medium for RPC service | |
CN113326211B (en) | Test case generation method and device | |
CN116302095A (en) | Instruction jump judging method and device, electronic equipment and readable storage medium | |
CN104239199A (en) | Virtual robot generation method, automatic test method and related device | |
CN104699689A (en) | Data processing method and device | |
CN111370049B (en) | eMMC chip testing method and device | |
CN112580915A (en) | Project milestone determination method and device, storage medium and electronic equipment | |
CN110442501A (en) | The method, apparatus and electronic equipment of analog service exception | |
CN109872081A (en) | A kind of business datum obtains, sending method and system | |
CN109388564A (en) | A kind of test method, device and electronic equipment | |
CN110865913A (en) | Pressure testing method and device | |
CN110263951A (en) | A kind of Vehicular charging amount or volume read-out method of calibration and system | |
CN113591231B (en) | Method and device for simulating driving |
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 |