CN113037725B - Riding test method, server, test pile and readable storage medium - Google Patents

Riding test method, server, test pile and readable storage medium Download PDF

Info

Publication number
CN113037725B
CN113037725B CN202110220049.8A CN202110220049A CN113037725B CN 113037725 B CN113037725 B CN 113037725B CN 202110220049 A CN202110220049 A CN 202110220049A CN 113037725 B CN113037725 B CN 113037725B
Authority
CN
China
Prior art keywords
test
verification code
pile
riding
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110220049.8A
Other languages
Chinese (zh)
Other versions
CN113037725A (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.)
Shanghai Junzheng Network Technology Co Ltd
Original Assignee
Shanghai Junzheng 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 Shanghai Junzheng Network Technology Co Ltd filed Critical Shanghai Junzheng Network Technology Co Ltd
Priority to CN202110220049.8A priority Critical patent/CN113037725B/en
Publication of CN113037725A publication Critical patent/CN113037725A/en
Application granted granted Critical
Publication of CN113037725B publication Critical patent/CN113037725B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2463/00Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00
    • H04L2463/121Timestamp

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a riding test method, a server, a test pile and a readable storage medium, relates to the technical field of riding tests, and can prevent a foundry from missing riding quality inspection tests. The riding test method comprises the following steps: determining a test vehicle identifier according to a riding test unlocking request of the test vehicle sent by the terminal equipment; under the condition that the first verification code and the second verification code which are sent by the terminal equipment and correspond to the tested vehicle identification are legal, determining first time for receiving the first verification code and second time for receiving the second verification code; judging whether the time interval between the first time and the second time is in a preset time interval or not; if so, sending indication information of successful riding test to the terminal equipment, and if not, sending warning information of failed riding test to the terminal equipment.

Description

Riding test method, server, test pile and readable storage medium
Technical Field
The invention relates to the technical field of riding tests, in particular to a riding test method, a server, a test pile and a readable storage medium.
Background
Generally, after manufacturing vehicles in a vehicle foundry, each vehicle needs to be subjected to a ride test to determine whether the quality of the vehicle meets a standard.
In the prior art, vehicle quality inspection can be monitored in a manual control mode. However, in the case of a large number of vehicles, this method not only requires a large amount of labor cost, but also may cause a problem of vehicle omission due to human negligence.
Therefore, those skilled in the art are devoted to developing a riding test method server, a test peg and a readable storage medium, which can reduce labor cost and prevent the factory substitute from missing riding quality inspection tests.
Disclosure of Invention
In view of the above-mentioned drawbacks of the prior art, the technical problems to be solved by the present invention are: how to reduce the human cost, prevent the factory of generation from missing and doing the ride quality control test.
In order to achieve the purpose, the invention adopts the following technical scheme:
in a first aspect, the present invention provides a riding test method applied to a server, where the riding test method includes: determining a test vehicle identifier according to a riding test unlocking request of the test vehicle sent by the terminal equipment; under the condition that the first identifying code and the second identifying code which are sent by the terminal equipment and correspond to the tested vehicle identification are determined to be legal, determining first time for receiving the first identifying code and second time for receiving the second identifying code; judging whether the time interval between the first time and the second time is in a preset time interval or not; if so, sending indication information of successful riding test to the terminal equipment, and if not, sending warning information of failed riding test to the terminal equipment; the first verification code is determined by the terminal device at the riding test starting point according to the starting verification code provided by the first test pile, the second verification code is determined by the terminal device at the riding test ending point according to the ending verification code provided by the second test pile, and the terminal device and the test vehicle are in a communication connection state.
In the embodiment of the invention, the server can receive the first verification code and the second verification code sent by the terminal equipment, and determine the riding time of the test vehicle according to the time for receiving the first verification code and the time for receiving the second verification code, because the first verification code is determined by the terminal equipment at the riding test starting point according to the initial verification code provided by the first test pile, and the second verification code is determined by the terminal equipment at the riding test ending point according to the ending verification code provided by the second test pile, the server can judge whether the test vehicle meets the requirements according to the riding time, therefore, personnel entrusting the vehicle production of a foundry can obtain the quality inspection data of the test vehicle from the server, thereby judging whether the foundry overlookes riding quality inspection test according to the obtained quality inspection data, and further reducing the labor cost of quality inspection monitoring.
In a preferred embodiment of the present invention, the method further comprises: receiving a pile number login request sent by the first testing pile and a pile number login request sent by the second testing pile; under the condition that the pile number login request of the first test pile is a legal request, periodically issuing a new initial verification code to the first test pile; and under the condition that the pile number login request of the second test pile is a legal request, periodically issuing a new termination verification code to the second test pile.
In a preferred embodiment of the present invention, the method further comprises: after receiving a pile number login request sent by a first test pile and a pile number login request sent by a second test pile, sending a preset distance between piles to the first test pile and the second test pile, wherein the preset distance between piles is used for judging whether the current distance between piles meets the requirement by the first test pile and the second test pile.
In a preferred embodiment of the present invention, the method further comprises: before sending a preset inter-pile distance to a first test pile and a second test pile, receiving a first pile number sent by the first test pile and a second pile number sent by the second test pile; judging whether the first stake number and the second stake number exist in a database or not; if the pile number exists, determining test parameters corresponding to the first pile number and the second pile number, wherein the test parameters comprise a preset time interval and a preset distance between piles; and if not, sending a prompting message of pile number error to the terminal equipment.
In a preferred embodiment of the present invention, the method further comprises: before determining a first time for receiving the first verification code and a second time for receiving the second verification code, receiving the first verification code and the second verification code sent by the terminal equipment; judging whether the first verification code is consistent with an initial verification code which is issued to the first testing pile most recently, and whether the second verification code is consistent with a termination verification code which is issued to the second testing pile most recently; if the first verification code and the second verification code are consistent, determining that the first verification code and the second verification code are both legal; and if at least one inconsistency exists, sending a prompt message that the verification code is invalid to the terminal equipment.
In a second aspect, the present invention provides a riding test method applied to a test pile, including: sending a stake number login request to a server; and under the condition of being in a login state, receiving a verification code sent by a server, updating and displaying the verification code currently displayed by the test pile as the received verification code, wherein the verification code is used for enabling the server to determine the riding test time through the terminal equipment.
In the embodiment of the invention, the testing stub can acquire the verification code from the server and update and display the currently displayed verification code as the received verification code. Therefore, the terminal equipment can acquire the latest verification code and send the acquired verification code to the server, and the server can determine the riding test time according to the verification code as the verification code is continuously updated.
In a preferred embodiment of the present invention, the method further comprises: after a stake number login request is sent to a server, receiving a preset inter-stake distance sent by the server; determining the distance between the paired test piles and the corresponding test pile according to the Bluetooth search signals of the paired test piles; and under the condition that the distance between the piles is smaller than the preset distance between the piles, canceling to display the verification code and displaying the alarm information with too short distance.
In a preferred embodiment of the present invention, the method further comprises: under the condition of being in a login state, periodically searching for a Bluetooth signal of the pairing test pile; and if the Bluetooth signal of the matched test pile is searched, canceling the display of the verification code and displaying the alarm information with too short distance.
In a third aspect, the present invention provides a server, comprising: the device comprises a determining unit, a judging unit, a sending unit and an alarming unit; the determining unit is used for determining the identifier of the test vehicle according to the riding test unlocking request of the test vehicle sent by the terminal equipment; under the condition that the first identifying code and the second identifying code which are sent by the terminal equipment and correspond to the tested vehicle identification are determined to be legal, determining first time for receiving the first identifying code and second time for receiving the second identifying code; the judging unit is used for judging whether the time interval between the first time and the second time is in a preset time interval or not; the sending unit is used for sending indication information of successful riding test to the terminal equipment if the riding test is successful; the warning unit is used for sending warning information of failed riding test to the terminal equipment if the terminal equipment does not run; the first verification code is determined by the terminal device at the riding test starting point according to the starting verification code provided by the first test pile, the second verification code is determined by the terminal device at the riding test ending point according to the ending verification code provided by the second test pile, and the terminal device and the test vehicle are in a communication connection state.
In a fourth aspect, the present invention provides a test pile comprising: a transmitting unit, a receiving unit and a display unit; the sending unit is used for sending a stake mark login request to the server; the receiving unit is used for receiving the verification code sent by the server under the condition of being in a login state; the display unit is used for updating and displaying the verification code currently displayed by the test pile into the received verification code, and the verification code is used for enabling the server to determine the riding test time through the terminal equipment.
In a fifth aspect, the invention provides a server comprising a memory and a processor. The memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus. When the server is running, the processor executes the computer execution instructions stored in the memory to make the server execute the riding test method provided by the first aspect and various possible embodiments thereof.
In a sixth aspect, the invention provides a test peg comprising a memory and a processor. The memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus. When the test stake is in operation, the processor executes the computer-executable instructions stored by the memory to cause the test stake to perform the cycling test method provided by the second aspect and its various possible embodiments described above.
In a seventh aspect, a computer-readable storage medium is provided, where the computer-readable storage medium includes computer-executable instructions, and when the computer-executable instructions are executed on a computer, the server is caused to execute the cycling test method provided by the first aspect and various possible implementations thereof, or the test peg is caused to execute the cycling test method provided by the second aspect and various possible implementations thereof.
In an eighth aspect, a computer program product is provided, which includes computer instructions, when the computer instructions are executed on a computer, cause a server to execute the cycling test method provided by the first aspect and the various possible embodiments thereof, or cause a test peg to execute the cycling test method provided by the second aspect and the various possible embodiments thereof.
It should be noted that all or part of the computer instructions may be stored on the computer readable storage medium. The computer-readable storage medium may be packaged with the processor of the server or the processor of the test stub, or may be packaged separately from the processor of the server or the processor of the test stub, which is not limited in this embodiment of the present invention.
For the description of the third, fifth, seventh and eighth aspects of the present invention, reference may be made to the detailed description of the first aspect; in addition, for the beneficial effects described in the third aspect, the fifth aspect, the seventh aspect and the eighth aspect, reference may be made to the beneficial effect analysis of the first aspect, and details are not repeated here.
For the description of the fourth, sixth, seventh and eighth aspects of the present invention, reference may be made to the detailed description of the second aspect; in addition, for the beneficial effects described in the fourth aspect, the sixth aspect, the seventh aspect and the eighth aspect, reference may be made to the beneficial effect analysis of the second aspect, and details are not repeated here.
The conception, the specific structure and the technical effects of the present invention will be further described with reference to the accompanying drawings to fully understand the objects, the features and the effects of the present invention.
Drawings
FIG. 1 is a schematic structural diagram of a riding test system provided by an embodiment of the invention;
FIG. 2 is a schematic flow chart diagram illustrating a preferred embodiment of a cycling test method according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 4 is a second schematic structural diagram of a test pile according to an embodiment of the present invention.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
It should be noted that, in this document, 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 like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of embodiments of the present invention is not limited to performing functions in the order illustrated or discussed, but may include performing functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
For the convenience of clearly describing the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, the words "first", "second", and the like are used for distinguishing the same items or similar items with basically the same functions and actions, and those skilled in the art can understand that the words "first", "second", and the like are not limited in number or execution order.
Some exemplary embodiments of the invention have been described for illustrative purposes, and it is to be understood that the invention may be practiced otherwise than as specifically described.
Generally, after a vehicle is manufactured by a vehicle foundry, a riding test is performed on each vehicle to determine whether the quality of the vehicle meets a standard. In the prior art, the quality inspection of the vehicle can be monitored in a manual control mode. However, in the case of a large number of vehicles, this method not only requires a large amount of labor cost, but also may cause a problem of vehicle omission due to human negligence.
In order to solve the problems, the invention provides a riding test method which is used for reducing the labor cost and preventing a foundry from missing riding quality test. By the method, on one hand, the testing stub can acquire the verification code from the server and update and display the currently displayed verification code as the received verification code. Therefore, the terminal equipment can acquire the latest verification code and send the acquired verification code to the server, and the server can determine the riding test time according to the verification code as the verification code is continuously updated. On the other hand, the server can receive the first verification code and the second verification code sent by the terminal equipment, and determine the riding time of the test vehicle according to the time for receiving the first verification code and the time for receiving the second verification code, because the first verification code is determined by the terminal equipment at the riding test starting point according to the initial verification code provided by the first test pile, and the second verification code is determined by the terminal equipment at the riding test ending point according to the termination verification code provided by the second test pile, the server can judge whether the test vehicle meets the requirements according to the riding time, therefore, personnel entrusting the foundry to produce the vehicle can obtain the quality inspection data of the test vehicle from the server, thereby judging whether the foundry overlookes riding quality inspection test according to the obtained quality inspection data, and further reducing the labor cost of quality inspection monitoring.
As shown in fig. 1, an embodiment of the present invention provides a riding test system, which includes a terminal device 101, a test vehicle 102, a first test stub 103, a second test stub 104, and a server 105. The first test stub 103 and the second test stub 104 may not only receive and display the verification code, but also transmit and receive communication signals, such as bluetooth signals. Illustratively, the first testing stub 103 and the second testing stub 104 may be terminal devices such as a mobile phone and a computer.
The tester may first trigger the first testing pile 103 and the second testing pile 104 to be in a login state, then input corresponding testing pile identifiers on the first testing pile 103 and the second testing pile 104, where the testing pile identifiers may be pile numbers, and then trigger the first testing pile 103 and the second testing pile 104 to send the pile numbers to the server 105, and after receiving the pile numbers, the server 105 may determine testing parameters according to the pile numbers. After the first test stub 103 and the second test stub 104 are logged in, the server 105 may also periodically send verification codes to the first test stub 103 and the second test stub 104, so that the first test stub 103 and the second test stub 104 continuously update the display verification codes.
When a tester wants to perform a riding test on the test vehicle 102, the tester may first trigger the terminal device 101 to log in a riding test application program, then scan a vehicle number on the test vehicle 102 through a scanning function in the riding test application program, and send an unlocking request containing the vehicle number to the server 105, and the server may send an unlocking instruction to the test vehicle 102 after receiving the unlocking request, so that the test vehicle 102 controls the vehicle lock to be unlocked according to the unlocking instruction. Then, the tester can scan the verification code provided by the first test pile 103 through the terminal device 101 and send the verification code to the server 105, after the tester rides the bicycle to the second test pile 104, the tester can scan the verification code provided by the second test pile 104 through the terminal device 101 and send the verification code to the server 105, and the server 105 can determine the riding time according to the verification codes received twice and determine the riding test result according to the riding time.
Optionally, the verification code may be a two-dimensional code, a digital verification code, or an alphabetic symbol verification code, which may be specifically determined according to an actual use condition, and this is not limited in the embodiment of the present application.
The following describes in detail a specific implementation of the ride test system with reference to specific embodiments and accompanying drawings.
As shown in fig. 2, an embodiment of the present invention provides a riding test method, which is applied to the riding test system, wherein a test pile in the riding test method may be the first test pile 103 or the second test pile 104, and a server may be the server 104. The riding test method can comprise the following steps: S201-S206:
s201, the testing pile sends a pile number login request to a server.
Correspondingly, the server receives a pile number login request sent by the test pile.
Wherein, above-mentioned test stake includes first test stake and second test stake, and first test stake is for being located the test stake of the test starting point of riding, and the second test stake is for being located the test stake of the test terminal point of riding.
Each test pile is provided with a test program, a tester can trigger the test pile to run the test program, then the tester can input login information in an interface of the test program and trigger the test pile to send a pile number login request to a server, the server can determine whether the pile number login request is a legal request according to an account number and a password of the pile number login request, and under the condition that the pile number login request of a first test pile is a legal request, the server can periodically send a new initial verification code to the first test pile; and under the condition that the pile number login request of the second testing pile is a legal request, the server can periodically send a new termination verification code to the second testing pile.
S202, under the condition of being in a login state, the testing stub receives the verification code sent by the server, and updates and displays the verification code currently displayed by the testing stub as the received verification code.
The verification code can be used for enabling the server to determine the riding test time through the terminal equipment.
Specifically, after the first testing stub receives the initial verification code sent by the server, the initial verification code currently displayed by the first testing stub may be updated and displayed as the latest received initial verification code. After the second testing stub receives the termination verification code sent by the server, the termination verification code currently displayed by the second testing stub may be updated and displayed as the latest received termination verification code.
Optionally, under the condition that the first testing pile and the second testing pile are in the login state, the tester may input the first pile number on the first testing pile, input the second pile number on the second testing pile, trigger the first testing pile to send the first pile number to the server, and trigger the second testing pile to send the second pile number to the server. After receiving a first pile number sent by the first testing pile and a second pile number sent by the second testing pile, the server can judge whether the first pile number and the second pile number exist in the database; if the test parameters exist, the server can determine the test parameters corresponding to the first pile number and the second pile number, and the test parameters can comprise information such as a preset time interval, a preset distance between piles, a test route, a test factory identifier and the like; if the stub number does not exist, the server can send prompting information of the stub number error to the terminal equipment.
Optionally, the distance between the first test pile and the second test pile is greater than or equal to the distance between the target piles. One implementation way is that the positions of the first test pile and the second test pile are fixed, the distance between the first test pile and the second test pile is greater than or equal to the target distance between the piles, and the distance between the piles is not changed in the riding test process; the other implementation mode is that the distance between the target piles is the preset distance between the piles, the positions of the first testing pile and the second testing pile are movable, the first testing pile and the second testing pile can search the Bluetooth signals transmitted by the opposite side, and the distance between the piles is kept in the range larger than or equal to the preset distance between the piles according to the Bluetooth signals. Specifically, after determining the test parameters, the server may send a preset inter-pile distance to the first test pile and the second test pile, where the preset inter-pile distance may be used for the first test pile and the second test pile to determine whether the current inter-pile distance meets the requirement. After the test pile receives the preset distance between the test pile and the server, the distance between the test pile and the matched test pile can be determined according to the Bluetooth search signal of the matched test pile, and under the condition that the distance between the test pile and the matched test pile is smaller than the preset distance between the test pile and the matched test pile, the display of the verification code is cancelled, and the alarm information with too short distance is displayed. Wherein, the bluetooth name of pairing test stake can be for the stake number of pairing test stake to be convenient for the tester discernment pairs test stake. Another implementation manner is that the distance between the target piles is the bluetooth search distance, the positions of the first test pile and the second test pile are movable, the distance between the first test pile and the second test pile is far, and the bluetooth signal transmitted by the other party cannot be searched under normal conditions. Specifically, under the condition of a login state, the test pile can periodically search for a Bluetooth signal transmitted by the paired test pile; if the test pile searches for the Bluetooth signal of the matched test pile, the test pile indicates that the distance is too close, so that the test pile can cancel displaying the verification code and display the alarm information of the too close distance.
For example, the distance between the first test pile and the second test pile is greater than or equal to the preset inter-pile distance, and the bluetooth name of the test pile is the pile number. The first test pile and the second test pile can continuously broadcast their own pile numbers, if the first test pile searches for the Bluetooth signal of the second test pile, the signal intensity of the Bluetooth signal can be firstly determined, then the inter-pile distance between the first test pile and the second test pile is determined according to the signal intensity, the inter-pile distance is compared with the preset inter-pile distance sent by the server, and if the inter-pile distance is smaller than the preset inter-pile distance, the first test pile can cancel displaying the current initial verification code and display the alarm information of 'small inter-pile distance'.
S203, the server determines the identification of the test vehicle according to the riding test unlocking request of the test vehicle sent by the terminal equipment.
When a tester wants to perform riding test on a test vehicle, the tester can trigger the terminal device to log in a riding test application program, and then trigger the terminal device to send a riding test unlocking request to the server, wherein the riding test unlocking request comprises a test vehicle identifier. After the server receives the riding test unlocking request, the server can determine a test vehicle identifier according to the riding test unlocking request and send an unlocking instruction to the test vehicle, so that the test vehicle controls the vehicle lock to be unlocked according to the unlocking instruction.
It should be noted that the terminal device and the test vehicle are in a communication connection state, for example, a bluetooth connection state, and when the bluetooth connection between the terminal device and the test vehicle is disconnected, the terminal device may send information of separation of a person from a vehicle to the server, so as to ensure that a tester performs a riding test through the test vehicle.
S204, under the condition that the first verification code and the second verification code which are sent by the terminal equipment and correspond to the tested vehicle identification are legal, the server determines first time for receiving the first verification code and second time for receiving the second verification code.
The first verification code is determined by the terminal equipment at the riding test starting point according to the starting verification code provided by the first test pile, and the second verification code is determined by the terminal equipment at the riding test end point according to the ending verification code provided by the second test pile.
The method comprises the steps that a tester can firstly scan an initial verification code provided by a first test pile through terminal equipment to obtain a first verification code, the first verification code is sent to a server, the server can judge whether the first verification code is consistent with the initial verification code which is newly issued to the first test pile or not after receiving the first verification code, and if so, the first verification code is determined to be legal; after the tester rides the vehicle and arrives at the second testing pile, the tester can scan the verification code provided by the second testing pile through the terminal equipment to obtain a second verification code, and send the second verification code to the server, after the server receives the second verification code, whether the second verification code is consistent with the latest termination verification code issued to the second testing pile can be judged, and if so, the second verification code is determined to be legal. In the event that both the first verification code and the second verification code are determined to be legitimate, the server may determine a first time to receive the first verification code and a second time to receive the second verification code. If at least one inconsistency exists, the server can send a prompt message that the verification code is invalid to the terminal equipment. For example, if the second verification code is inconsistent with the latest termination verification code issued to the second test stub, sending a prompt message that the termination verification code is invalid to the terminal device.
S205, the server judges whether the time interval between the first time and the second time is within a preset time interval.
Because the distance between first test stake and the second test stake is greater than or equal to and predetermines the distance between the stake, consequently, the server can judge whether the speed of riding of test vehicle meets the requirements according to the time interval between the first time and the second time, test vehicle's the time of riding promptly.
And S206a, if yes, the server sends indication information of successful riding test to the terminal equipment.
If the riding time is within the preset time interval, the riding speed of the test vehicle meets the requirement, and the server can send the indication information of successful riding test to the terminal device.
S206b, if not, the server sends warning information of failure of the riding test to the terminal equipment.
If the riding time is not within the preset time interval, the riding speed of the test vehicle is not in accordance with the requirement, the server can send warning information of riding test failure to the terminal device, and a tester can screen the test vehicle according to the warning information and further check and adjust the test vehicle.
It should be noted that, after the server sends the indication information or the warning information to the terminal device, the server may store data generated in the whole riding test process and the test vehicle identifier in the database in a corresponding manner, where the data may include: the method comprises the steps of testing pile identification, riding time, inter-pile distance, preset time interval, preset inter-pile distance and the like.
In the embodiment of the present invention, on one hand, the testing stub may obtain the verification code from the server, and update and display the currently displayed verification code as the received verification code. Therefore, the terminal equipment can acquire the latest verification code and send the acquired verification code to the server, and the server can determine the riding test time according to the verification code as the verification code is continuously updated. On the other hand, the server can receive the first verification code and the second verification code sent by the terminal equipment, and determine the riding time of the test vehicle according to the time for receiving the first verification code and the time for receiving the second verification code, because the first verification code is determined by the terminal equipment at the riding test starting point according to the initial verification code provided by the first test pile, and the second verification code is determined by the terminal equipment at the riding test ending point according to the termination verification code provided by the second test pile, the server can judge whether the test vehicle meets the requirements according to the riding time, therefore, personnel entrusting the foundry to produce the vehicle can obtain the quality inspection data of the test vehicle from the server, thereby judging whether the foundry overlookes riding quality inspection test according to the obtained quality inspection data, and further reducing the labor cost of quality inspection monitoring.
The scheme provided by the embodiment of the application is mainly introduced from the perspective of a method. To implement the above functions, it includes hardware structures and/or software modules for performing the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It should be noted that, in the embodiment of the present application, the server and the test stub may be divided into function modules according to the above method example, for example, each function module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. Optionally, the division of the modules in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
As shown in fig. 3, an embodiment of the present application provides a server 300. The server 300 includes: a determination unit 301, a judgment unit 302, a transmission unit 303 and an alarm unit 304. The determining unit 301 may be configured to determine a test vehicle identifier according to a riding test unlocking request of the test vehicle sent by the terminal device; and under the condition that the first identifying code and the second identifying code which are sent by the terminal equipment and correspond to the tested vehicle identification are determined to be legal, determining the first time for receiving the first identifying code and the second time for receiving the second identifying code. The determining unit 302 is configured to determine whether a time interval between the first time and the second time is within a preset time interval. The sending unit 303 may be configured to send instruction information that the riding test is successful to the terminal device if the riding test is successful; the warning unit 304 may be configured to send warning information indicating that the riding test fails to be performed to the terminal device if the riding test fails; the first verification code is determined by the terminal device at the riding test starting point according to the starting verification code provided by the first test pile, the second verification code is determined by the terminal device at the riding test ending point according to the ending verification code provided by the second test pile, and the terminal device and the test vehicle are in a communication connection state.
Optionally, the server 300 may further include: a receiving unit 305. The receiving unit 305 may be configured to receive a pile number registration request sent by the first testing pile and a pile number registration request sent by the second testing pile; the sending unit 303 may be further configured to periodically issue a new initial verification code to the first test pile when the pile number registration request of the first test pile is a legal request; and under the condition that the pile number login request of the second test pile is a legal request, periodically issuing a new termination verification code to the second test pile.
Optionally, the sending unit 303 may be further configured to send a preset inter-pile distance to the first test pile and the second test pile, where the preset inter-pile distance is used for the first test pile and the second test pile to determine whether the current inter-pile distance meets the requirement.
Optionally, the receiving unit 305 may be further configured to receive a first pile number sent by the first testing pile and a second pile number sent by the second testing pile; the determining unit 302 may be further configured to determine whether the first stub number and the second stub number exist in the database; the determining unit 301 may be further configured to determine, if the first pile number exists, test parameters corresponding to the first pile number and the second pile number, where the test parameters include a preset time interval and a preset inter-pile distance; the sending unit 303 may be further configured to send a notification message that the stake mark is incorrect to the terminal device if the stake mark does not exist.
Optionally, the receiving unit 305 may be further configured to receive the first verification code and the second verification code sent by the terminal device before determining the first time to receive the first verification code and the second time to receive the second verification code; the determining unit 302 may be further configured to determine whether the first verification code is consistent with the start verification code that is newly issued to the first test stub, and whether the second verification code is consistent with the stop verification code that is newly issued to the second test stub; the determining unit 301 may be further configured to determine that the first verification code and the second verification code are both legal if the first verification code and the second verification code are both consistent; the sending unit 303 may be further configured to send a prompt message that the verification code is invalid to the terminal device if at least one inconsistency exists.
Of course, the server 300 provided in the embodiment of the present application includes, but is not limited to, the above units.
In the embodiment of the invention, the server can receive the first verification code and the second verification code sent by the terminal equipment, and determine the riding time of the test vehicle according to the time for receiving the first verification code and the time for receiving the second verification code, because the first verification code is determined by the terminal equipment at the riding test starting point according to the initial verification code provided by the first test pile, and the second verification code is determined by the terminal equipment at the riding test ending point according to the ending verification code provided by the second test pile, the server can judge whether the test vehicle meets the requirements according to the riding time, therefore, personnel entrusting the vehicle production of a foundry can obtain the quality inspection data of the test vehicle from the server, thereby judging whether the foundry overlookes riding quality inspection test according to the obtained quality inspection data, and further reducing the labor cost of quality inspection monitoring.
As shown in fig. 4, the present embodiment also provides a test pile 400. The test pile 400 includes: a transmitting unit 401, a receiving unit 402, and a display unit 403. The sending unit 401 may be configured to send a stake mark login request to a server; the receiving unit 402 may be configured to receive the verification code sent by the server in the login state; the display unit 403 may be configured to update and display the verification code currently displayed by the test stub as the received verification code, where the verification code is used to enable the server to determine the riding test time through the terminal device.
Optionally, the test pile 400 may further include a determination unit 404. The receiving unit 402 may be further configured to receive a preset inter-post distance sent by the server after the sending unit 401 sends the post number registration request to the server; the determining unit 404 may be configured to determine an inter-pile distance from a paired test pile according to a bluetooth search signal from the paired test pile; the display unit 403 may be further configured to cancel displaying the verification code and display an alarm message indicating that the distance between the two stakes is shorter than the preset distance between the two stakes.
Optionally, the test stub 400 may further include a search unit 405. The search unit 405 may be configured to periodically search for a bluetooth signal of a paired test stub in the case of being in a login state; the display unit 403 may also be configured to cancel displaying the verification code and display the too close warning information if the bluetooth signal of the paired test stub is searched.
Of course, the test pile 400 provided by the embodiment of the present application includes, but is not limited to, the above-mentioned units.
In the embodiment of the invention, the testing stub can acquire the verification code from the server and update and display the currently displayed verification code as the received verification code. Therefore, the terminal equipment can acquire the latest verification code and send the acquired verification code to the server, and the server can determine the riding test time according to the verification code as the verification code is continuously updated.
An embodiment of the present application further provides a server, which includes a memory and a processor. The memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus. When the server runs, the processor executes the computer execution instructions stored in the memory, so that the server executes the steps executed by the server in the riding test method.
The embodiment of the application also provides a test pile which comprises a memory and a processor. The memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus. When the test pile runs, the processor executes the computer execution instructions stored in the memory, so that the test pile executes the steps executed by the test pile in the riding test method.
Embodiments of the present invention also provide a computer-readable storage medium, which includes computer-executable instructions. When the computer executes the instructions to run on the computer, the computer is enabled to execute the steps executed by the server or the test stake in the riding test method provided by the embodiment.
The embodiment of the present invention further provides a computer program product, where the computer program product may be directly loaded into the memory and contains software codes, and after the computer program product is loaded and executed by the computer, the computer program product can implement each step executed by the execution server or the test stub in the riding test method provided in the above embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for causing a terminal to execute the methods according to the embodiments of the present invention.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (13)

1. The riding test method is applied to a server and comprises the following steps:
determining a test vehicle identifier according to a riding test unlocking request of the test vehicle sent by the terminal equipment;
under the condition that a first verification code and a second verification code which are sent by the terminal equipment and correspond to the test vehicle identification are legal, determining first time for receiving the first verification code and second time for receiving the second verification code;
judging whether the time interval between the first time and the second time is in a preset time interval or not;
if so, sending indication information of successful riding test to the terminal equipment, and if not, sending warning information of failed riding test to the terminal equipment;
the first verification code is determined by the terminal device at the riding test starting point according to a starting verification code provided by a first test pile, the second verification code is determined by the terminal device at the riding test ending point according to a stopping verification code provided by a second test pile, and the terminal device and the test vehicle are in a communication connection state.
2. The cycling test method according to claim 1, further comprising:
receiving a pile number login request sent by the first testing pile and a pile number login request sent by the second testing pile;
under the condition that the pile number login request of the first test pile is a legal request, periodically issuing a new initial verification code to the first test pile;
and under the condition that the pile number login request of the second test pile is a legal request, periodically issuing a new termination verification code to the second test pile.
3. The cycling test method according to claim 2, wherein after receiving the pile number registration request sent by the first test pile and the pile number registration request sent by the second test pile, the method further comprises:
and sending a preset distance between the piles to the first testing pile and the second testing pile, wherein the preset distance between the piles is used for judging whether the current distance between the piles meets the requirement by the first testing pile and the second testing pile.
4. The cycling test method according to claim 3, wherein before sending the preset inter-pile distance to the first test pile and the second test pile, the method further comprises:
receiving a first pile number sent by the first test pile and a second pile number sent by the second test pile;
judging whether the first stake number and the second stake number exist in a database or not;
if the preset time interval exists, determining test parameters corresponding to the first pile number and the second pile number, wherein the test parameters comprise the preset time interval and the preset distance between piles;
and if not, sending a prompt message of pile number error to the terminal equipment.
5. The cycling test method according to claim 2, wherein the determining is preceded by a first time to receive the first verification code and a second time to receive the second verification code, the method further comprising:
receiving a first verification code and a second verification code sent by the terminal equipment;
judging whether the first verification code is consistent with an initial verification code which is issued to the first testing pile most recently, and whether the second verification code is consistent with a termination verification code which is issued to the second testing pile most recently;
if the first verification code and the second verification code are consistent, determining that the first verification code and the second verification code are both legal;
and if at least one inconsistency exists, sending prompt information that the verification code is invalid to the terminal equipment.
6. The riding test method is characterized by being applied to a test pile and comprising the following steps:
sending a stake number login request to a server;
under the condition of being in a login state, receiving a verification code sent by the server, and updating and displaying the verification code currently displayed by the test pile as the received verification code;
the verification code is used for being sent to the server through terminal equipment, and the server is used for receiving a first verification code and a second verification code sent by the terminal equipment and determining riding time of a test vehicle according to first time for receiving the first verification code and second time for receiving the second verification code; the first verification code is determined by the terminal equipment at the riding test starting point according to the starting verification code provided by the first test pile, and the second verification code is determined by the terminal equipment at the riding test end point according to the ending verification code provided by the second test pile.
7. The cycling test method according to claim 6, wherein after sending the stake mark login request to the server, the method further comprises:
receiving a preset inter-pile distance sent by a server;
determining the distance between the paired test piles and the corresponding test pile according to the Bluetooth search signals of the paired test piles;
and under the condition that the distance between the piles is smaller than the preset distance between the piles, canceling to display the verification code and displaying the alarm information with too short distance.
8. The cycling test method according to claim 6, further comprising:
under the condition of being in a login state, periodically searching for a Bluetooth signal of the pairing test pile;
and if the Bluetooth signal of the matched test pile is searched, canceling to display the verification code and displaying the alarm information with too short distance.
9. A server, comprising: the device comprises a determining unit, a judging unit, a sending unit and an alarming unit;
the determining unit is used for determining the identifier of the test vehicle according to the riding test unlocking request of the test vehicle sent by the terminal equipment; under the condition that the first verification code and the second verification code which are sent by the terminal equipment and correspond to the test vehicle identification are legal, determining first time for receiving the first verification code and second time for receiving the second verification code;
the judging unit is used for judging whether the time interval between the first time and the second time is in a preset time interval or not;
the sending unit is used for sending indication information of successful riding test to the terminal equipment if the riding test is successful;
the warning unit is used for sending warning information of failed riding test to the terminal equipment if the terminal equipment does not run;
the first verification code is determined by the terminal device at the riding test starting point according to a starting verification code provided by a first test pile, the second verification code is determined by the terminal device at the riding test ending point according to a stopping verification code provided by a second test pile, and the terminal device and the test vehicle are in a communication connection state.
10. A test pile, comprising: a transmitting unit, a receiving unit and a display unit;
the sending unit is used for sending a stake mark login request to the server;
the receiving unit is used for receiving the verification code sent by the server under the condition of being in a login state;
the display unit is used for updating and displaying the currently displayed verification code of the test pile into the received verification code;
the verification code is used for being sent to the server through terminal equipment, and the server is used for receiving a first verification code and a second verification code sent by the terminal equipment and determining riding time of a test vehicle according to first time for receiving the first verification code and second time for receiving the second verification code; the first verification code is determined by the terminal equipment at the riding test starting point according to the starting verification code provided by the first test pile, and the second verification code is determined by the terminal equipment at the riding test end point according to the ending verification code provided by the second test pile.
11. A server, comprising a memory and a processor; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus;
when the server is running, the processor executes the computer-executable instructions stored by the memory to cause the server to perform the cycling test method according to any one of claims 1-5.
12. A test peg comprising a memory and a processor; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus;
when the test stake is in operation, the processor executes the computer-executable instructions stored by the memory to cause the test stake to perform the cycling test method according to any one of claims 6-8.
13. A computer-readable storage medium, comprising computer-executable instructions that, when executed on a computer, cause the computer to perform the cycling test method of any one of claims 1-5 or 6-8.
CN202110220049.8A 2021-02-26 2021-02-26 Riding test method, server, test pile and readable storage medium Active CN113037725B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110220049.8A CN113037725B (en) 2021-02-26 2021-02-26 Riding test method, server, test pile and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110220049.8A CN113037725B (en) 2021-02-26 2021-02-26 Riding test method, server, test pile and readable storage medium

Publications (2)

Publication Number Publication Date
CN113037725A CN113037725A (en) 2021-06-25
CN113037725B true CN113037725B (en) 2022-04-22

Family

ID=76462005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110220049.8A Active CN113037725B (en) 2021-02-26 2021-02-26 Riding test method, server, test pile and readable storage medium

Country Status (1)

Country Link
CN (1) CN113037725B (en)

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9972077B2 (en) * 2014-05-12 2018-05-15 Healthy.Io Ltd. Method and system for automated visual analysis of a dipstick using standard user equipment
CN106200609A (en) * 2015-04-29 2016-12-07 陕西中交天健车联网信息技术有限公司 Automatically the device and method of engine of heavy-duty car ECU software version is tested
CN106899445A (en) * 2015-12-21 2017-06-27 北京奇虎科技有限公司 The method and system of page interface automatic test
CN107783904B (en) * 2017-09-27 2021-03-16 武汉斗鱼网络科技有限公司 Unit test pile de-weighting method, device, computer readable storage medium and equipment
CN110730446A (en) * 2018-07-16 2020-01-24 中移信息技术有限公司 Login method, terminal and computer storage medium
CN110768942B (en) * 2018-07-27 2022-07-12 深圳博科智能科技有限公司 Identity authentication system
CN109472994A (en) * 2018-12-27 2019-03-15 桂林电子科技大学 A kind of parking position sharing method
CN110866239A (en) * 2019-11-15 2020-03-06 深圳前海微众银行股份有限公司 Verification code request processing method, device, equipment and computer storage medium
CN110855698B (en) * 2019-11-19 2022-07-05 成都知道创宇信息技术有限公司 Terminal information obtaining method, device, server and storage medium
CN113922975B (en) * 2020-06-22 2024-05-24 中移(苏州)软件技术有限公司 Security control method, server, terminal, system and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《共享单车服务器及客户端设计与实现》;王风雷;《物联网技术》;20180220;第8卷(第2期);全文 *

Also Published As

Publication number Publication date
CN113037725A (en) 2021-06-25

Similar Documents

Publication Publication Date Title
CN103035048B (en) For managing the remote data base of vehicle fleet
US20180107473A1 (en) Determining whether to install a vehicle system update in a vehicle
CN111634160B (en) Method for establishing communication connection with tire pressure monitoring system, device and electronic equipment thereof
US20090164053A1 (en) Method for providing a security service using a vehicle keyfob
CN105700509B (en) Car-mounted terminal detection method and device based on CAN
US10685556B2 (en) System and method for vehicle inspection
US20120046807A1 (en) System and Method for Preventing Theft of Vehicle Diagnostic Equipment
US20090248235A1 (en) Automated, targeted diagnostic probe using a vehicle telematics unit
US11064313B2 (en) In-vehicle wireless communication device and distance information detection method
CN101088001A (en) Method and system for monitoring a vehicle
CN102292510B (en) Vehicle-mounted device control system
EP3461699B1 (en) Terminal, vehicle control system, and vehicle control method
CN107211024A (en) Many granularity verification techniques
CN110119104B (en) Vehicle-mounted communication system
CN110139243B (en) Vehicle monitoring method, monitoring terminal, vehicle monitoring system and medium
US20160209218A1 (en) Method for making available at least one position information item about a parked motor vehicle and motor vehicle
JP6650041B2 (en) Method for triggering one or more functions in a vehicle
KR100205974B1 (en) Remoute car management device and control method
CN113037725B (en) Riding test method, server, test pile and readable storage medium
CN112298100A (en) Vehicle and vehicle control method and device
CN109635166A (en) The method and device of four-wheel aligner Data Matching is carried out by VIN code automatic identification
CN113156480A (en) Vehicle positioning method, device, equipment and storage medium
CN109308404A (en) It impresses people's auth method, terminal and seal system
CN112622534B (en) Self-learning method based on tire pressure monitoring system and tire pressure monitoring system
CN109345673A (en) Control method, control device, computer readable 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
GR01 Patent grant
GR01 Patent grant