CN117873031A - Remote control vehicle function testing method and device, storage medium and electronic equipment - Google Patents

Remote control vehicle function testing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN117873031A
CN117873031A CN202311816718.3A CN202311816718A CN117873031A CN 117873031 A CN117873031 A CN 117873031A CN 202311816718 A CN202311816718 A CN 202311816718A CN 117873031 A CN117873031 A CN 117873031A
Authority
CN
China
Prior art keywords
remote control
test
vehicle
result
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311816718.3A
Other languages
Chinese (zh)
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.)
FAW Group Corp
Original Assignee
FAW Group Corp
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 FAW Group Corp filed Critical FAW Group Corp
Priority to CN202311816718.3A priority Critical patent/CN117873031A/en
Publication of CN117873031A publication Critical patent/CN117873031A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method and a device for testing a remote control function, a storage medium and electronic equipment. The method relates to the field of intelligent automobiles, and comprises the following steps: responding to a received test instruction of remote control vehicle function test, controlling remote equipment to send the remote control vehicle instruction to a cloud end, wherein the remote control vehicle instruction is forwarded to a test vehicle from the cloud end; receiving a remote control command forwarded by a cloud, and receiving a test result returned by a test vehicle through a bus, wherein the test result is used for representing a result obtained by the test vehicle executing the remote control command; and (3) carrying out timeliness and consistency analysis on the remote control command and the test result to obtain a target result. The invention solves the technical problem of lower test efficiency of remote control function test.

Description

Remote control vehicle function testing method and device, storage medium and electronic equipment
Technical Field
The invention relates to the field of intelligent automobiles, in particular to a method and a device for testing a remote control function, a storage medium and electronic equipment.
Background
Currently, many automobile manufacturers have introduced remote control of the vehicle, so that the vehicle owner can control the functions of starting, stopping, unlocking, locking, air conditioning, and windows of the vehicle through a mobile phone application or other remote control devices. The test of remote control car function is also not negligible, and traditional test to remote control car function is to need the manual work to select remote control car function, confirms to need carry out the test function, and the function quantity of remote control car function is more, leads to the test efficiency of remote control car function test lower.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for testing remote control vehicle functions, a storage medium and electronic equipment, which are used for at least solving the technical problem of low testing efficiency of remote control vehicle function tests.
According to an aspect of the embodiment of the present invention, there is provided a method for testing a remote control function, including: responding to a received test instruction of remote control vehicle function test, controlling remote equipment to send the remote control vehicle instruction to a cloud end, wherein the remote control vehicle instruction is forwarded to a test vehicle from the cloud end; receiving a remote control command forwarded by a cloud, and receiving a test result returned by a test vehicle through a bus, wherein the test result is used for representing a result obtained by the test vehicle executing the remote control command; and (3) carrying out timeliness and consistency analysis on the remote control command and the test result to obtain a target result.
Optionally, the remote device includes at least: the manipulator and electronic equipment, response to receiving the test instruction of remote control car function test, control remote equipment send remote control car instruction to high in the clouds, include: responding to the electronic equipment placed at a preset position, and acquiring a manipulator control instruction; based on the manipulator control instruction, the manipulator is controlled to operate the electronic equipment, so that the electronic equipment sends a remote control vehicle instruction to the cloud.
Optionally, based on the manipulator control instruction, the control manipulator sends a remote control vehicle instruction to the cloud, including: determining position coordinates corresponding to the remote control command on the electronic equipment based on the manipulator control command; generating a manipulator movement instruction based on the position coordinates; and controlling the manipulator to move to the position coordinates based on the manipulator movement instruction, and operating the electronic equipment.
Optionally, the target result includes at least: and (3) carrying out timeliness analysis on the remote control command and the test result by the cloud to obtain a target result, wherein the timeliness analysis comprises the following steps: acquiring a first receiving time for receiving a remote control vehicle instruction by a cloud and a sending time for sending the remote control vehicle instruction by remote equipment; obtaining a difference value between the first receiving time and the sending time to obtain a first difference value; and comparing the first difference value with a preset time difference to obtain a cloud timeliness analysis result.
Optionally, the target result includes at least: the time-efficiency analysis result of the vehicle end is carried out on the remote control command and the test result to obtain a target result, and the time-efficiency analysis method comprises the following steps: acquiring a second receiving time for the vehicle end to receive the remote control vehicle instruction and a transmitting time for the remote equipment to transmit the remote control vehicle instruction; obtaining a difference value between the second receiving time and the sending time to obtain a second difference value; and comparing the second difference value with a preset time difference to obtain a vehicle end timeliness analysis result.
Optionally, the target result includes at least: and carrying out consistency analysis on the remote control command and the test result to obtain a target result, wherein the cloud consistency analysis result comprises the following steps: and comparing the remote control command forwarded by the cloud with the remote control command sent by the test system to obtain a cloud consistency analysis result.
Optionally, the target result includes at least: the vehicle end consistency analysis result is used for carrying out consistency analysis on the remote control vehicle instruction and the test result to obtain a target result, and the method comprises the following steps: and responding to the passing of the cloud consistency analysis result, and comparing the test result or the remote control command to obtain a vehicle end consistency analysis result.
According to another aspect of the embodiment of the present invention, there is also provided a device for testing a remote control function, including: the control module is used for responding to the received test instruction of the remote control vehicle function test, controlling the remote equipment to send the remote control vehicle instruction to the cloud, wherein the remote control vehicle instruction is forwarded to the test vehicle from the cloud; the receiving module is used for receiving the remote control command forwarded by the cloud and receiving a test result returned by the test vehicle through the bus, wherein the test result is used for representing a result obtained by the test vehicle executing the remote control command; and the analysis module is used for carrying out timeliness and consistency analysis on the remote control command and the test result to obtain a target result.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium including a stored program, wherein the program, when run, controls a processor of a device in which the test method of the remote control function of any one of the above embodiments is performed.
According to another aspect of the embodiment of the present invention, there is also provided an electronic device, including: one or more processors; a storage means for storing one or more programs; the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of testing a remote control function of any of the above embodiments.
In the embodiment of the invention, a test instruction for responding to the function test of the remote control vehicle is adopted to control remote equipment to send the remote control vehicle instruction to the cloud, wherein the remote control vehicle instruction is forwarded to the test vehicle from the cloud; receiving a remote control command forwarded by a cloud, and receiving a test result returned by a test vehicle through a bus, wherein the test result is used for representing a result obtained by the test vehicle executing the remote control command; and (3) carrying out timeliness and consistency analysis on the remote control command and the test result to obtain a target result. It is to be noted that, send remote control car instruction to the high in the clouds through remote equipment, will remote control car instruction to the high in the clouds again by the high in the clouds, can automatic send remote control car instruction, realize carrying out remote control car functional test to the test vehicle automatically to can carry out remote control car functional test in batches, reach remote control car functional test's efficiency of software testing's purpose, thereby realized remote control car functional test's automatic technological effect, and then solved remote control car functional test's efficiency of software testing lower technical problem.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a flow chart of a method of testing remote control functions according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an alternative test system according to an embodiment of the invention;
FIG. 3 is a flow chart of an alternative remote control function test method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a test device for remote control function according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to an embodiment of the present invention, there is provided an embodiment of a method of testing a remote control function, it being noted that the steps shown in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logical sequence is shown in the flowchart, in some cases the steps shown or described may be performed in a different order than what is shown or described herein.
Fig. 1 is a flowchart of a method for testing a remote control function according to an embodiment of the present invention, as shown in fig. 1, the method includes the steps of:
step S102, in response to receiving a test instruction of remote control vehicle function test, controlling the remote equipment to send the remote control vehicle instruction to the cloud, wherein the remote control vehicle instruction is forwarded to the test vehicle from the cloud.
The remote control function test described above may be a test performed for a vehicle remote control function. Such testing typically involves verifying the reliability and stability of functions such as remote vehicle start, shut down, lock, unlock, seek, etc.
The test command may be a command or a command to start testing the remote control vehicle function of the test vehicle.
The remote device may be a device capable of remotely operating the vehicle, and may be, but is not limited to: professional console, cell-phone, dull and stereotyped, manipulator.
The remote control command may be a remote command for a vehicle.
The cloud end can be a server capable of storing and processing vehicle data in a cloud computing technology, and real-time transmission, storage and management of vehicle information are achieved.
The test vehicle may be a vehicle for testing timeliness and consistency of a remote control function.
In an alternative embodiment, to test the timeliness and consistency of the remote control function, a remote device may be provided, and the intelligent device such as the professional console or the mobile phone is aligned with the manipulator, that is, the intelligent device such as the professional console or the mobile phone and the manipulator are located in the same coordinate system. If an operator confirms that the remote control vehicle function of the test vehicle starts to be tested, a test instruction is sent to the remote equipment, the remote equipment determines the remote control vehicle instruction according to the test instruction, and determines a manipulator control instruction according to the remote control vehicle instruction, so that the manipulator is controlled to operate intelligent equipment such as a professional console or a mobile phone according to the manipulator control instruction, and the remote control instruction is sent to the cloud.
Step S104, a remote control command forwarded by the cloud is received, and a test result returned by the test vehicle is received through the bus, wherein the test result is used for representing a result obtained by the test vehicle executing the remote control command.
The bus may be a communication line for transmitting data in the test vehicle.
In an alternative embodiment, if the cloud receives the remote control command, the cloud sends the remote control command to the test vehicle and synchronously sends the remote control command to the test system. After receiving the remote control vehicle instruction, the test vehicle executes the remote control vehicle instruction, determines that the execution result is a test result, and synchronously feeds back the test result to the test system.
And S106, carrying out timeliness and consistency analysis on the remote control command and the test result to obtain a target result.
The timeliness can be the effectiveness and the practicability of the remote control command in a certain time range.
The consistency may be the accuracy of the remote control commands during transmission.
The target result may be an analysis result of timeliness and consistency of the remote control command.
In an optional embodiment, since the cloud end synchronously forwards the remote control command to the test system at least includes a first receiving time of the remote control command and a content of the remote control command, the first receiving time may be a time when the cloud end receives the remote control command, and an analysis result of timeliness and consistency of the cloud end is determined according to the first receiving time and the content of the remote control command. And the test results fed back by the test vehicle at least comprise an execution result and a second receiving time, wherein the second receiving time can be the time when the vehicle end receives the remote control vehicle instruction, and the analysis results of timeliness and consistency of the vehicle end are determined according to the second receiving time and the execution result.
By the steps, the remote equipment can be controlled to send the remote control vehicle instruction to the cloud end in response to receiving the test instruction of the remote control vehicle function test, wherein the remote control vehicle instruction is forwarded to the test vehicle from the cloud end; receiving a remote control command forwarded by a cloud, and receiving a test result returned by a test vehicle through a bus, wherein the test result is used for representing a result obtained by the test vehicle executing the remote control command; and (3) carrying out timeliness and consistency analysis on the remote control command and the test result to obtain a target result. It is to be noted that, send remote control car instruction to the high in the clouds through remote equipment, will remote control car instruction to the high in the clouds again by the high in the clouds, can automatic send remote control car instruction, realize carrying out remote control car functional test to the test vehicle automatically to can carry out remote control car functional test in batches, reach remote control car functional test's efficiency of software testing's purpose, thereby realized remote control car functional test's automatic technological effect, and then solved remote control car functional test's efficiency of software testing lower technical problem.
It should be noted that, in this embodiment, the testing method of the remote control function is implemented by a testing system, and fig. 2 is a schematic diagram of an alternative testing system according to an embodiment of the present invention, as shown in fig. 2, where the testing system includes: the system comprises a test management platform 1, test case editing and automatic test execution software 2, programmable power control software 3, manipulator control software 4, a manipulator 5, electronic equipment 6, a cloud 7, a programmable power supply 8, a smart antenna 9 and bus data communication equipment 10. Wherein, test management platform: overall process and data management is carried out on the whole set of test system, including test requirement management, test case management, test sample management, mapping management between test cases and test scripts, test execution software call, test execution process state tracking, test result management, test report generation, test data management and the like; the management software is equivalent to the core brain of the whole set of test system. Test case editing and automated test execution software: the software realizes integrated script editing and test execution, the test script editing supports test parameter management and test code management, and simultaneously supports parameter transmission with a management platform; all hardware call and control in the test system are realized; collecting cloud data, buses and Ethernet data transmitted by an intelligent antenna, processing the received data, and comparing the received data with a sent manipulator control instruction; and the automatic execution of the test cases, the generation of the test report and the automatic return of the test data are realized. Program-controlled power supply control software: for controlling the power supply of the whole test system. Manipulator control software: the manipulator control logic and the control instruction are realized, and the control instruction is transmitted to the manipulator so as to operate the remote control interface. Program-controlled power supply: the test software program control is supported, and the test software program control comprises the operations of power supply switch operation, power supply voltage adjustment, current upper limit adjustment and the like, so that the power supply function of the tested equipment is realized. And (3) a mechanical arm: and receiving a control instruction, executing actions according to the instruction, and performing clicking operation on a remote control vehicle interface of the electronic equipment instead of manual key-press actions. Electronic equipment: the mobile communication equipment is provided with remote control vehicle application software, a user operates a remote control vehicle interface and sends a control instruction to the intelligent antenna through communication, so that the vehicle can execute corresponding operation according to the instruction. Cloud: and collecting control instructions sent by remote control vehicle electronic equipment in real time, analyzing and processing the control instructions, and transmitting the control instructions to the intelligent antenna. Smart antenna: receiving data from the cloud, processing the data, and sending the processed data into the vehicle to complete remote control of the electronic equipment on the vehicle end; and simultaneously, transmitting the received data to automatic test execution software. Bus data communication device: the system is used for realizing interactive communication between the test industrial personal computer and the intelligent antenna, and the communication mode comprises a vehicle-mounted Ethernet, a bus and the like, and is used for receiving data sent by the intelligent antenna and transmitting the data to the automatic test execution software.
Optionally, the remote device includes at least: the manipulator and electronic equipment, response to receiving the test instruction of remote control car function test, control remote equipment send remote control car instruction to high in the clouds, include: responding to the electronic equipment placed at a preset position, and acquiring a manipulator control instruction; based on the manipulator control instruction, the manipulator is controlled to operate the electronic equipment, so that the electronic equipment sends a remote control vehicle instruction to the cloud.
The manipulator may be a mechanical device capable of simulating the action of a human hand, and is generally composed of a series of mechanical arms, joints and clamps. The electronic device may be an electronic device capable of sending remote control car instructions, and may be, but is not limited to: cell phones, tablets, professional consoles.
The preset position may be a position preset according to a specific situation for placing the electronic device.
The manipulator control command may be a control command for controlling a manipulator switch.
In an alternative embodiment, if the test instruction of the remote control vehicle function test is received, whether the electronic device is placed at the preset position needs to be confirmed, if the electronic device is placed at the preset position, the electronic device can be directly operated according to the manipulator control instruction, the electronic device is controlled to send the remote control vehicle instruction to the cloud end, the cloud end processes the remote control vehicle instruction and sends the remote control vehicle instruction to the test vehicle, wherein the manipulator control instruction is generated according to the remote control vehicle instruction, and the remote control vehicle function of the electronic device corresponds to the movement coordinate of the manipulator. If the electronic equipment is not placed at the preset position, a prompt message can be sent to an operator until the electronic equipment is placed at the preset position.
The manipulator may move to a preset starting position after receiving a manipulator control instruction every time, where the preset starting position may be a starting position of the manipulator of the device according to specific situations in advance, and may be but not limited to: center of the electronic device, lower left corner of the electronic device.
Optionally, based on the manipulator control instruction, the control manipulator sends a remote control vehicle instruction to the cloud, including: determining position coordinates corresponding to the remote control command on the electronic equipment based on the manipulator control command; generating a manipulator movement instruction based on the position coordinates; and controlling the manipulator to move to the position coordinates based on the manipulator movement instruction, and operating the electronic equipment.
The position coordinates may be coordinates of a remote control function corresponding to the remote control command on the electronic device.
The manipulator movement command may be a control command for controlling the manipulator movement.
In an alternative embodiment, according to a remote control command carried in a control command of a manipulator, position coordinates of a remote control function on electronic equipment are determined, current manipulator position coordinates are obtained, a manipulator movement command is generated according to the manipulator position coordinates and the position coordinates of the remote control function on the electronic equipment corresponding to the remote control command, the manipulator is controlled to operate the electronic equipment according to the manipulator movement command, and the remote control command is sent to a cloud.
It should be noted that, the remote control application software interface of the electronic device determines the distance between each virtual key and the origin according to the moving step length of the manipulator, and calculates the number of steps that need to be moved up, down, left, right, front and back, so as to obtain the coordinate information of each virtual key.
Optionally, the target result includes at least: and (3) carrying out timeliness analysis on the remote control command and the test result by the cloud to obtain a target result, wherein the timeliness analysis comprises the following steps: acquiring a first receiving time for receiving a remote control vehicle instruction by a cloud and a sending time for sending the remote control vehicle instruction by remote equipment; obtaining a difference value between the first receiving time and the sending time to obtain a first difference value; and comparing the first difference value with a preset time difference to obtain a cloud timeliness analysis result.
The cloud timeliness analysis result may be an analysis result of timeliness of receiving the remote control vehicle instruction by the cloud, including but not limited to: and (5) passing and failing.
The first receiving time may be a time when the cloud receives the remote control vehicle command.
The transmission time may be a time when the remote device transmits a remote control car command.
The preset time difference may be an index set in advance according to a specific situation, where the index is used to determine whether the cloud receives the remote control vehicle instruction in time.
In an alternative embodiment, a first receiving time of the remote control vehicle instruction received by the cloud and a sending time of the remote control vehicle instruction sent by the remote equipment are obtained, a difference value between the first receiving time and the sending time is calculated to obtain a first difference value, and if the first difference value is larger than a preset time difference, the cloud timeliness analysis result is determined to be unqualified; if the first difference value is smaller than the preset time difference, determining that the cloud timeliness analysis result is qualified.
Optionally, the target result includes at least: the time-efficiency analysis result of the vehicle end is carried out on the remote control command and the test result to obtain a target result, and the time-efficiency analysis method comprises the following steps: acquiring a second receiving time for the vehicle end to receive the remote control vehicle instruction and a transmitting time for the remote equipment to transmit the remote control vehicle instruction; obtaining a difference value between the second receiving time and the sending time to obtain a second difference value; and comparing the second difference value with a preset time difference to obtain a vehicle end timeliness analysis result.
The vehicle-end timeliness analysis result may be an analysis result of timeliness of receiving a remote control vehicle instruction by the vehicle end, including but not limited to: and (5) passing and failing.
The vehicle end can be a server for receiving and processing remote control vehicle instructions by the test vehicle.
The second receiving time may be a time when the vehicle end receives a remote control vehicle command.
The second difference may be a difference between the second reception time and the transmission.
In an alternative embodiment, a second receiving time of the remote control vehicle command received by the vehicle end and a sending time of the remote control vehicle command sent by the remote equipment are obtained, a difference value between the second receiving time and the sending time is obtained, a second difference value is obtained, if the second difference value is smaller than a preset time difference, the time for the remote control vehicle command to be received from the vehicle end is shorter, and the timeliness analysis result of the vehicle end is determined to be qualified; if the second difference value is larger than the preset time difference, determining that the vehicle end timeliness analysis result is unqualified.
Optionally, the target result includes at least: and carrying out consistency analysis on the remote control command and the test result to obtain a target result, wherein the cloud consistency analysis result comprises the following steps: and comparing the remote control command forwarded by the cloud with the remote control command sent by the remote equipment to obtain a cloud consistency analysis result.
The cloud consistency analysis result may be an analysis result of whether the cloud receives a remote control vehicle instruction consistent with the remote control vehicle instruction sent by the electronic device, including but not limited to: and (5) passing and failing.
In an alternative embodiment, when the cloud end sends a remote control car instruction to the car end, the cloud end synchronously forwards the remote control car instruction to the test system, the test system compares the remote control car instruction forwarded by the cloud end with the remote control car instruction sent by the remote equipment, if the remote control car instruction forwarded by the cloud end is inconsistent with the remote control car instruction sent by the remote equipment, the cloud end is indicated to process the remote control car instruction to fail, the cloud end consistency analysis result is determined to be unqualified, and a failure short message is sent to a technician. If the remote control command forwarded by the cloud is consistent with the remote control command sent by the remote equipment, determining that the cloud consistency analysis result is qualified.
Optionally, the target result includes at least: the vehicle end consistency analysis result is used for carrying out consistency analysis on the remote control vehicle instruction and the test result to obtain a target result, and the method comprises the following steps: and responding to the passing of the cloud consistency analysis result, and comparing the test result or the remote control command to obtain a vehicle end consistency analysis result.
The vehicle-end consistency analysis result may be an analysis result of whether the vehicle-end receives a remote control vehicle instruction consistent with the remote control vehicle instruction sent by the electronic device, including but not limited to: and (5) passing and failing.
In an alternative embodiment, if the cloud end consistency analysis result is qualified, a testing result of the vehicle end is obtained, the testing result of the vehicle end is compared with a remote vehicle control instruction sent by a remote device, and if the testing result of the vehicle end is consistent with the remote vehicle control instruction sent by the remote device, the vehicle end consistency analysis result is determined to be passing. If the test result of the vehicle end is inconsistent with the remote control command sent by the remote equipment, the vehicle end is indicated that the remote control command received by the vehicle end is problematic or the vehicle end identifies the remote control command fault, the vehicle end consistency analysis result is determined to be unqualified, and a fault short message is sent to a technician.
FIG. 3 is a flowchart of an alternative remote control function test method according to an embodiment of the present invention, as shown in FIG. 3, comprising the steps of:
step S301, responding to the power supply of a programmable power supply, and initializing test equipment;
step S302, placing the electronic equipment at a preset position;
step S303, a test instruction of remote control vehicle function test is sent;
step S304, determining a remote control command according to the test command;
step S305, determining a manipulator control instruction according to a remote control vehicle instruction;
step S306, controlling the manipulator to click the electronic equipment according to the manipulator control instruction, and sending a remote control vehicle instruction to the cloud;
step S307, the cloud forwards the remote control vehicle instruction to the vehicle end and the test system;
step S308, judging whether the first receiving time of the remote control vehicle instruction received by the cloud and the content of the remote control vehicle instruction meet the requirements; if yes, go to step S309; if not, executing step S310;
step S309, determining that the analysis result of the cloud is passed;
step S310, determining that the analysis result of the cloud is not passed;
step S311, judging whether the second receiving time and the test result of the remote control vehicle instruction received by the vehicle end meet the requirements; if yes, go to step S312; if not, go to step S313;
step S312, determining that the analysis result of the vehicle end is passing;
step S313, determining that the analysis result of the vehicle end is not passed.
Example 2
According to the embodiment of the present invention, a device for testing a remote control function is further provided, where the device can execute the method for testing the remote control function in the above embodiment, and the specific implementation manner and the preferred application scenario are the same as those of the above embodiment, and are not described herein.
Fig. 4 is a schematic diagram of a testing device for remote control function according to an embodiment of the present invention, as shown in fig. 4, the device includes the following parts: a control module 40, a receiving module 42 and an analysis module 44.
The control module 40 is configured to control the remote device to send a remote control vehicle instruction to the cloud end in response to receiving a test instruction for testing a function of the remote control vehicle, where the remote control vehicle instruction is forwarded to the test vehicle from the cloud end;
the receiving module 42 is configured to receive a remote control command forwarded by the cloud, and receive a test result returned by the test vehicle through the bus, where the test result is used to characterize a result obtained by the test vehicle executing the remote control command;
and the analysis module 44 is used for performing timeliness and consistency analysis on the remote control command and the test result to obtain a target result.
Optionally, the control module includes: the first acquisition unit is used for responding to the electronic equipment placed at a preset position to acquire a manipulator control instruction; the first control unit is used for controlling the manipulator to operate the electronic equipment based on the manipulator control instruction so that the electronic equipment can send the remote control car instruction to the cloud.
Optionally, the first control unit includes: the first determining subunit is used for determining the position coordinates corresponding to the remote control command in the electronic equipment based on the manipulator control command; the first generation subunit is used for generating a manipulator movement instruction based on the position coordinates; and the first control subunit is used for controlling the manipulator to move to the position coordinates and operating the electronic equipment based on the manipulator movement instruction.
Optionally, the analysis module includes: the second acquisition unit is used for acquiring the first receiving time of the remote control vehicle instruction received by the cloud and the sending time of the remote control vehicle instruction sent by the remote equipment; the third acquisition unit is used for acquiring the difference value between the first receiving time and the sending time to obtain a first difference value; the first comparison unit is used for comparing the first difference value with a preset time difference to obtain a cloud timeliness analysis result.
Optionally, the analysis module further comprises: the fourth acquisition unit is used for acquiring the second receiving time of the remote control vehicle instruction received by the vehicle end and the sending time of the remote control vehicle instruction sent by the remote equipment; a fifth obtaining unit, configured to obtain a difference between the second receiving time and the sending time, to obtain a second difference; and the second comparison unit is used for comparing the second difference value with a preset time difference to obtain a vehicle end timeliness analysis result.
Optionally, the analysis module further comprises: the third comparison unit is used for comparing the remote control command forwarded by the cloud with the remote control command sent by the test system to obtain a cloud consistency analysis result.
Optionally, the analysis module further comprises: and the fourth comparison unit is used for responding to the passing of the cloud consistency analysis result and comparing the test result or the remote control command to obtain a vehicle end consistency analysis result.
Example 3
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium including a stored program, wherein the program, when run, controls a processor of a device in which the test method of the remote control function of any one of the above embodiments is performed.
Example 4
According to another aspect of the embodiment of the present invention, there is also provided an electronic device, including: one or more processors; a storage means for storing one or more programs; the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of testing a remote control function of any of the above embodiments.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of units may be a logic function division, and there may be another division manner in actual implementation, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method of the various embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (10)

1. The method for testing the remote control function is characterized by comprising the following steps of:
responding to a received test instruction of remote control vehicle function test, controlling remote equipment to send the remote control vehicle instruction to a cloud end, wherein the remote control vehicle instruction is forwarded to a test vehicle by the cloud end;
receiving the remote control command forwarded by the cloud, and receiving a test result returned by the test vehicle through a bus, wherein the test result is used for representing a result obtained by the test vehicle executing the remote control command;
and carrying out timeliness and consistency analysis on the remote control command and the test result to obtain a target result.
2. The method for testing a remote control function according to claim 1, wherein the remote device comprises at least: the manipulator and electronic equipment, response to receiving the test instruction of remote control car function test, control remote equipment send remote control car instruction to high in the clouds, include:
responding to the electronic equipment placed at a preset position, and acquiring a manipulator control instruction;
and controlling the manipulator to operate the electronic equipment based on the manipulator control instruction, so that the electronic equipment sends the remote car control instruction to the cloud.
3. The method for testing a remote control function according to claim 2, wherein controlling the manipulator to send the remote control command to the cloud based on the manipulator control command comprises:
determining position coordinates corresponding to the remote control command on the electronic equipment based on the manipulator control command;
generating a manipulator movement instruction based on the position coordinates;
and controlling the manipulator to move to the position coordinates based on the manipulator movement instruction, and operating the electronic equipment.
4. The method for testing a remote control function according to claim 1, wherein the target result at least includes: and carrying out timeliness analysis on the remote control command and the test result to obtain a target result, wherein the timeliness analysis comprises the following steps:
acquiring a first receiving time of the cloud for receiving the remote control command and a transmitting time of the remote equipment for transmitting the remote control command;
obtaining a difference value between the first receiving time and the sending time to obtain a first difference value;
and comparing the first difference value with a preset time difference to obtain the cloud timeliness analysis result.
5. The method for testing a remote control function according to claim 1, wherein the target result at least includes: and (3) performing timeliness analysis on the remote control command and the test result to obtain a target result, wherein the timeliness analysis comprises the following steps of:
acquiring a second receiving time for the vehicle end to receive the remote control command and a transmitting time for the remote equipment to transmit the remote control command;
obtaining a difference value between the second receiving time and the sending time to obtain a second difference value;
and comparing the second difference value with a preset time difference to obtain a vehicle-end timeliness analysis result.
6. The method for testing a remote control function according to claim 1, wherein the target result at least includes: and carrying out consistency analysis on the remote control command and the test result to obtain a target result, wherein the cloud consistency analysis result comprises the following steps:
and comparing the remote control command forwarded by the cloud with the remote control command sent by the test system to obtain the cloud consistency analysis result.
7. The method for testing a remote control function according to claim 6, wherein the target result at least includes: and carrying out consistency analysis on the remote control command and the test result to obtain a target result, wherein the method comprises the following steps of:
and responding to the passing of the cloud consistency analysis result, and comparing the test result or the remote control command with the remote control command to obtain the vehicle end consistency analysis result.
8. A test device for remote control of a vehicle, comprising:
the control module is used for responding to a received test instruction of remote control vehicle function test, and controlling remote equipment to send the remote control vehicle instruction to the cloud, wherein the remote control vehicle instruction is forwarded to a test vehicle from the cloud;
the receiving module is used for receiving the remote control command forwarded by the cloud and receiving a test result returned by the test vehicle through a bus, wherein the test result is used for representing a result obtained by the test vehicle executing the remote control command;
and the analysis module is used for carrying out timeliness and consistency analysis on the remote control command and the test result to obtain a target result.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program, when run, controls a processor of a device in which the test method of the remote control function of any one of claims 1 to 7 is performed.
10. An electronic device, comprising:
one or more processors;
a storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of testing a remote control function of any of claims 1-7.
CN202311816718.3A 2023-12-26 2023-12-26 Remote control vehicle function testing method and device, storage medium and electronic equipment Pending CN117873031A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311816718.3A CN117873031A (en) 2023-12-26 2023-12-26 Remote control vehicle function testing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311816718.3A CN117873031A (en) 2023-12-26 2023-12-26 Remote control vehicle function testing method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN117873031A true CN117873031A (en) 2024-04-12

Family

ID=90585793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311816718.3A Pending CN117873031A (en) 2023-12-26 2023-12-26 Remote control vehicle function testing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN117873031A (en)

Similar Documents

Publication Publication Date Title
CN110618910A (en) Test system and method
CN107562038B (en) Automatic test system for vehicle-mounted controller
CN113377088B (en) Instant messaging automobile remote diagnosis detection method, electronic equipment and storage medium
CN112817872A (en) Development test system and method
CN111650924A (en) Offline detection method and system based on vehicle-mounted platform of automobile
CN113589787B (en) Hardware-in-loop test method, test device, test system and readable storage medium
CN107170218A (en) A kind of remote assistance method debugged for fire protection alarm system and system
CN114200911A (en) Virtual backplane-based equipment testing method, device, equipment and storage medium
CN112860559A (en) Upgrade test system and method
CN117873031A (en) Remote control vehicle function testing method and device, storage medium and electronic equipment
CN211554929U (en) Human-computer interaction interface automatic identification system based on Android OS
CN116340146A (en) Whole-vehicle OTA upgrading automatic test system and method
CN213122965U (en) Test system of vehicle-mounted networking terminal
CN114896158A (en) BMS testing method and testing device
CN114356769A (en) Software learning method, device, equipment and storage medium
CN113886274A (en) Stability testing method, device, equipment and storage medium for Internet of vehicles terminal
CN111679974A (en) Application program testing method and device
CN214042112U (en) Upgrade test system
CN114690741A (en) Controller test system and method for vehicle, electronic device and readable storage medium
CN113495545A (en) System and method for testing vehicle equipment controller using in-loop hardware
CN113640026B (en) Industrial equipment testing method, device and system
CN115426297B (en) Function test method and device of sub-equipment, computer equipment and storage medium
CN115981998B (en) Scene demonstration system and scene demonstration method for vehicle
CN217689196U (en) Contactless high-low temperature test box control system
CN116661425A (en) Combined test method of target controller and related equipment

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination