CN113609007A - Automobile platform test data generation method and device - Google Patents

Automobile platform test data generation method and device Download PDF

Info

Publication number
CN113609007A
CN113609007A CN202110836778.6A CN202110836778A CN113609007A CN 113609007 A CN113609007 A CN 113609007A CN 202110836778 A CN202110836778 A CN 202110836778A CN 113609007 A CN113609007 A CN 113609007A
Authority
CN
China
Prior art keywords
test
test data
virtual
data
account
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
CN202110836778.6A
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.)
Zhejiang Geely Holding Group Co Ltd
Hangzhou Youxing Technology Co Ltd
Original Assignee
Zhejiang Geely Holding Group Co Ltd
Hangzhou Youxing 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 Zhejiang Geely Holding Group Co Ltd, Hangzhou Youxing Technology Co Ltd filed Critical Zhejiang Geely Holding Group Co Ltd
Priority to CN202110836778.6A priority Critical patent/CN113609007A/en
Publication of CN113609007A publication Critical patent/CN113609007A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying

Abstract

The invention discloses a method and a device for generating test data of an automobile platform, wherein the method comprises the following steps: receiving a test data creating instruction carrying a test scene, wherein the test data creating instruction comprises the number of test data; when the test scene is registered for the virtual driver account, receiving an identity mark which is input by a user and corresponds to the quantity of the test data; verifying whether all the identity marks meet the requirement of a preset identity mark format; when all the virtual account numbers meet the requirements of a preset format, calling a user verification interface to complete interviewing and training of the virtual driver corresponding to each identity; and generating test data registered by the virtual driver account based on the virtual driver account corresponding to all the virtual drivers who perform interview and training. The implementation of the application can realize the repeated use of the generated test data, and the technical problem of repeated work caused by high relevance of the test data is avoided.

Description

Automobile platform test data generation method and device
Technical Field
The invention relates to the field of test data generation, in particular to a method and a device for generating test data of an automobile platform.
Background
Before the software system which is developed for the first time or updated and updated is put into use formally, the software system needs to be subjected to functional test by using test data, so that the generation of the test data is very critical to the functional test of the software system. Especially in the automobile platform, the importance of the test data is more prominent. Data testing in an automobile platform mainly focuses on service lines such as integrated car services, department management and special cars, a new driver account needs to be created for testing in a project of carrying out service testing, time consumption such as manual creation of the driver account design flow is complex, multiple auditing and uploading is needed, half a day-one day is needed for creating a complete driver account, time is needed for 1-2 days when different service lines are unfamiliar with the process of creating the driver account, and time consumption and complex tasks are caused in the generation process of test data.
Disclosure of Invention
In order to solve the technical problem, the invention provides a method for generating test data of an automobile platform, which comprises the following steps:
receiving a test data creating instruction carrying a test scenario, wherein the test data creating instruction comprises the number of test data, and the test scenario comprises: the test scenario comprises virtual driver account registration, virtual vehicle account registration and binding of the virtual vehicle account and the virtual driver account;
when the test scene is registered for the virtual driver account, receiving an identity mark which is input by a user and corresponds to the quantity of the test data;
verifying whether all the identity marks meet the requirement of a preset identity mark format;
when all the virtual account numbers meet the requirements of a preset format, calling a user verification interface to complete interviewing and training of the virtual driver corresponding to each identity;
and generating test data registered by the virtual driver account based on the virtual driver account corresponding to all the virtual drivers who perform interview and training.
Further, the receiving a test data creating instruction carrying a test scenario previously includes:
receiving a data test request carrying a test scene, wherein the data test request comprises the quantity of test data;
judging whether test data corresponding to the test scene exist in a test database or not;
and when the test data corresponding to the test scene does not exist in the test database, generating a test data creating instruction carrying the test scene.
Further, the method further comprises:
when the test scene is registered for the virtual vehicle account, receiving vehicle identifications corresponding to the number of the test data and input by a user;
verifying whether all the vehicle identifications meet the requirements of a preset vehicle identification format;
when all the vehicle identifications meet the requirements of a preset format, calling a vehicle insurance participation interface to complete virtual vehicle registration and virtual insurance delivery of the vehicle corresponding to each vehicle identification;
and generating test data of virtual vehicle account registration based on all vehicles which are subjected to virtual vehicle registration and correspond to virtual insurance delivery.
Further, the method further comprises:
when the test scene is that the virtual vehicle account is bound with the virtual driver account, establishing an incidence relation between the test data registered by the virtual driver account and the test data registered by the virtual vehicle account so as to generate the test data bound by the virtual vehicle account and the virtual driver account.
Further, the method further comprises:
when the test data corresponding to the test scene exists in the test database, comparing whether the quantity of the test data in the test database is larger than the quantity of the test data corresponding to the data test request or not;
and when the quantity of the test data in the test database is larger than that of the test data corresponding to the data test request, calling the test data of the test scenes of the corresponding quantity based on the test scenes of the data test request.
Further, the method further comprises:
and performing performance test corresponding to the data test request according to the test data.
In another aspect, the present invention provides an apparatus for generating test data of an automotive platform, the apparatus comprising:
a creation instruction receiving module configured to execute a test data creation instruction that receives a test scenario, where the test data creation instruction includes the number of test data, and the test scenario includes: the test scenario comprises virtual driver account registration, virtual vehicle account registration and binding of the virtual vehicle account and the virtual driver account;
the identity identification receiving module is configured to receive identity identifications corresponding to the number of the test data input by a user when the test scene is registered as a virtual driver account;
the identity identification verification module is configured to verify whether all the identity identifications meet the requirement of a preset identity identification format;
the user verification interface calling module is configured to call a user verification interface when all the virtual account numbers meet the requirements of a preset format so as to complete interviewing and training of the virtual driver corresponding to each identity;
and the test data generation module is configured to execute test data for generating virtual driver account registration based on the virtual driver accounts corresponding to all the virtual drivers which are subjected to interview and training.
Further, the device also comprises:
the data test request receiving module is configured to execute receiving of data test requests carrying test scenes, and the data test requests comprise the number of test data;
the test data judging module is configured to execute and judge whether test data corresponding to the test scene exists in a test database or not;
and the test data creation instruction generation module is configured to execute a test data creation instruction carrying the test scene when no test data corresponding to the test scene exists in the test database.
In still another aspect, the present invention provides a computer-readable storage medium, where at least one instruction or at least one program is stored, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the method for generating the vehicle platform test data.
In yet another aspect, the present invention provides an electronic device comprising at least one processor, and a memory communicatively coupled to the at least one processor; the storage stores instructions executable by the at least one processor, and the at least one processor implements the method for generating the test data of the automobile platform by executing the instructions stored in the storage.
The invention provides a method and a device for generating test data of an automobile platform, which mainly solve the technical problems that the task of generating the test data of the automobile platform is heavy and the generated test data cannot truly reflect the execution process of a corresponding system or platform in the prior art, the method for generating the test data of the automobile platform provided by the embodiment of the specification can finish the generation of a large amount of test data in a self-built mode, the test data can be stored in a corresponding test database in a test scene marking mode, when a user carries out corresponding performance test, the corresponding test data can be directly obtained or established in the performance database, particularly in the automobile platform, different industrial processes have different requirements on the test data and are related to each other, and in order to finish the performance test quickly and accurately, the method for generating the test data can be used, the method and the device can be used repeatedly, and the technical problem of repeated work caused by high relevance of test data is solved.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings used in the description of the embodiment or the prior art will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
FIG. 1 is a block diagram of an implementation environment for a method for generating test data for an automotive platform according to an embodiment of the present disclosure;
FIG. 2 is a schematic flowchart of a method for generating test data of an automotive platform according to an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart diagram illustrating another method for generating test data of an automotive platform according to an embodiment of the present disclosure;
FIG. 4 is a schematic flowchart of another method for generating test data of an automotive platform according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an automobile platform test data generation apparatus according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of another vehicle platform test data generating apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or 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, apparatus, article, or device 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 device.
Fig. 1 is a diagram of an implementation environment architecture of a method for generating test data of an automotive platform according to an embodiment of the present application, as shown in fig. 1, the implementation environment architecture includes: a terminal 100 and a server 200.
The vehicle platform test data generating device may be the terminal 100 or the server 200. The terminal 100 or the server 200 acquires or receives the data test request.
The process of the method for generating the test data of the vehicle platform may be executed in the terminal 100 or the server 200.
In addition, the terminal 100 may be displayed with an application interface through which a data test request may be received or a received data test request may be transmitted to the server 200.
The type of the terminal 100 includes, but is not limited to, a smart phone, a tablet computer, a television, a notebook computer, a desktop computer, and the like, which is not particularly limited in this embodiment.
The server 200 transmits the generated test data to the terminal 100, and the terminal 100 performs a performance test of the test data. Further, the server 200 may be one server, a server cluster composed of a plurality of servers, or a cloud computing service center.
The terminal 100 establishes a communication connection with the server 200 through a wired or wireless network.
As shown in fig. 2, fig. 2 is a schematic flow chart of a method for generating test data of an automobile platform according to an embodiment of the present disclosure, where an embodiment of the present disclosure provides a method for generating test data of an automobile platform, where the method is executed by an automobile platform test data generating device, the automobile platform test data generating device may be integrated in a terminal or a server, and the automobile platform test data generating device may be hardware or a software module, and an execution main body of the scheme may be executed by the terminal 100 or the server 200, or may be executed by both of the terminal 100 and the server 200, where the method includes:
s102, receiving a test data creating instruction carrying a test scene, wherein the test data creating instruction comprises the number of test data, and the test scene comprises: the test scenario includes virtual driver account registration, virtual vehicle account registration, and virtual vehicle account to virtual driver account binding.
In a specific implementation process, before a user needs to put a software system for initial development or update into use formally, test data needs to be used for performing functional test on the software system, and a corresponding test data creation instruction carrying a test scenario can be input in a corresponding automobile platform, wherein the test scenario can represent test contents of the corresponding software system, and for example, the test scenario can include a virtual driver account registration representing that driver account registration needs to be tested, a virtual vehicle account registration representing that vehicle registration needs to be tested, and a virtual vehicle account representing that a vehicle and a driver need to be bound and a virtual driver account binding. The number of the test data is not specifically limited in the embodiments of the present specification, and may be set according to actual needs, and specifically may be determined according to requirements of a test scenario.
It can be understood that the application is mainly applied to the environment of renting vehicles in the presence of automobile manufacturers and drivers.
And S104, when the test scene is registered for the virtual driver account, receiving the identity marks corresponding to the number of the test data and input by the user.
In a specific implementation process, the identification can include a communication address, a name identification and/or a unique identification number identification, and the identification is used for simulating an identification capable of representing the identity of the driver, such as a telephone number or a name of the driver.
And S104, verifying whether all the identity marks meet the requirement of a preset identity mark format.
Specifically, when the identity identifier is a communication address (telephone number), it can be verified whether the number of digits of the communication address is preset with an identity identifier format requirement, and it can be understood that whether the telephone number is 11 digits or not and whether the number segment of the telephone number where the telephone number is located exists really or not needs to be determined.
In some possible embodiments, the corresponding verification code is also required to be acquired, and in the present application, verification of the verification code may be implemented by calling the corresponding verification code interface, so as to ensure authenticity of the created test data.
When the identity is a name identity and a unique identity number identity, it can be verified whether the name identity is associated with the unique identity number identity, which can be understood as inputting the name identity and the unique identity number identity to a corresponding management part to verify whether the name identity and the unique identity number identity are associated, such as a public security system.
And S106, when all the virtual account numbers meet the requirements of a preset format, calling a user verification interface to complete interviewing and training of the virtual driver corresponding to each identity.
In a specific implementation, the user verification interface may be configured to verify that the virtual driver corresponding to each identity passes a verification process in the real world, such as: interviewing, background investigation, training, psychological assessment, etc., for verifying whether a driver is dangerous to ensure the safety of passengers. The user verification interface is a real interface, and can be tampered in a code form in the process of generating the test data so as to ensure that the virtual driver corresponding to each identity passes through the process.
And S108, generating test data registered by the virtual driver account based on the virtual driver accounts corresponding to all the virtual drivers which are subjected to interview and training.
In a specific implementation process, the test data may include content used for representing the virtual driver identity, such as an identity of a virtual driver, an interview, a background survey, training, a psychological assessment, and the like, and the test data is added with a label of a corresponding test scenario and stored in a corresponding test database, so as to facilitate multiplexing of the test data.
On the basis of the foregoing embodiment, in an embodiment of this specification, fig. 3 is a schematic flowchart of another method for generating test data of an automobile platform according to an embodiment of the present application, and as shown in fig. 3, before receiving a test data creating instruction carrying a test scenario, the method further includes:
s202, receiving a data test request carrying a test scene, wherein the data test request comprises the quantity of test data.
S204, judging whether test data corresponding to the test scene exist in a test database or not;
s206, when the test data corresponding to the test scene does not exist in the test database, generating a test data creating instruction carrying the test scene.
In a specific implementation process, the test data in the test database can be judged by receiving the test data creation instruction carrying the test scene, and the corresponding test data creation instruction is generated only when the corresponding test data does not exist in the test database.
On the basis of the foregoing embodiment, in an embodiment of this specification, fig. 4 is a schematic flow chart of another method for generating test data of an automobile platform according to an embodiment of the present application, and as shown in fig. 4, the method further includes:
s302, when the test scene is registered as a virtual vehicle account, receiving vehicle identifications corresponding to the number of the test data and input by a user.
In a specific implementation, the virtual vehicle account registration may characterize that the automobile manufacturer only registers or enters the corresponding system for the vehicle. The vehicle identification may be an identification of the frame number, engine number, etc. of the vehicle that may characterize the uniqueness of the vehicle. The vehicle identification at the time of generating the test data may be randomly generated by the user and different vehicle identifications may be different.
S304, verifying whether all the vehicle identifications meet the requirements of a preset vehicle identification format.
In a specific implementation process, the preset vehicle identification format requirement can be set according to the actual situation, if the vehicle identification is a frame number, the format requirement of the corresponding frame number corresponds to the vehicle identification, and the frame number and the like are pre-recorded in the corresponding vehicle system in the practical application.
And S306, when all the vehicle identifications meet the preset format requirement, calling a vehicle insurance participation interface to complete virtual vehicle registration and virtual insurance delivery of the vehicle corresponding to each vehicle identification.
In a specific implementation process, the vehicle insurance participating interface may be an interface provided by a corresponding vehicle administration office and an insurance company, and the vehicle insurance participating interface may enable a vehicle corresponding to each vehicle identifier to perform license plate registration, insurance registration and the like.
And S308, generating test data of virtual vehicle account registration based on all vehicles which are subjected to virtual vehicle registration and correspond to virtual insurance delivery.
In a specific implementation process, the test data may include vehicle identifiers, license plates, insurance, and the like of the vehicles, which are used to represent the content of the corresponding virtual vehicles, and in addition, the test data is added with labels of the corresponding test scenes and stored in the corresponding test database, so as to facilitate the multiplexing of the test data.
On the basis of the above embodiment, in an embodiment of the present specification, the method further includes:
when the test scene is that the virtual vehicle account is bound with the virtual driver account, establishing an incidence relation between the test data registered by the virtual driver account and the test data registered by the virtual vehicle account so as to generate the test data bound by the virtual vehicle account and the virtual driver account.
In a specific implementation process, when the test scenario is that the virtual vehicle account is bound to the virtual driver account, the test data registered by the virtual driver account and the test data registered by the virtual vehicle account can be sequentially completed according to the method, then the test data registered by the virtual driver account and the test data registered by the virtual vehicle account are associated, and the test data for establishing the connection relationship is used as the test data for binding the virtual vehicle account and the virtual driver account.
On the basis of the above embodiment, in an embodiment of the present specification, the method further includes:
and when the test data corresponding to the test scene exists in the test database, comparing whether the quantity of the test data in the test database is greater than the quantity of the test data corresponding to the data test request.
And when the quantity of the test data in the test database is larger than that of the test data corresponding to the data test request, calling the test data of the test scenes of the corresponding quantity based on the test scenes of the data test request.
Illustratively, when 200 pieces of test data marked as binding of the virtual vehicle account and the virtual driver account exist in the test database, and 100 pieces of test data marked as registration of the virtual driver account are required in the test request, the 100 pieces of test data marked as binding of the virtual vehicle account and the virtual driver account are randomly selected, the test data corresponding to the binding of the virtual vehicle account and the virtual driver account in the 100 pieces of selected data can be cancelled, and the test data registered by the 100 pieces of virtual driver account and the test data registered by the 100 pieces of virtual vehicle account can be obtained.
It can be understood that, when the number of the test data in the test database cannot satisfy the number corresponding to the test request, the establishment may be performed according to the above scheme. Are not described in detail.
In addition, the test data in the test database can exist in the form of any one of a virtual driver account registration, a virtual vehicle account registration and a virtual vehicle account and virtual driver account binding, so as to meet the requirements of different users on the test data.
On the basis of the above embodiment, in an embodiment of the present specification, the method further includes:
and performing performance test corresponding to the data test request according to the test data.
In a specific implementation process, the test terminal can perform a corresponding performance test according to the test data.
The method for generating the test data of the automobile platform provided by the embodiment of the specification can be used for completing the generation of a large amount of test data in a self-built mode, the test data can be stored in the corresponding test database in a test scene marking mode, when a user performs corresponding performance tests, the corresponding test data can be directly obtained from the performance database or the corresponding test data can be established, particularly in the automobile platform, different industrial processes have different requirements on the test data and are related to each other, and in order to complete the performance tests more quickly and accurately, the method for generating the test data can be used.
On the other hand, an embodiment of the present specification provides an automobile platform test data generating device, fig. 5 is a schematic structural diagram of an automobile platform test data generating device provided in an embodiment of the present invention, and as shown in fig. 5, the device includes:
a creation instruction receiving module 701 configured to execute receiving a test data creation instruction carrying a test scenario, where the test data creation instruction includes a quantity of test data, and the test scenario includes: the test scenario comprises virtual driver account registration, virtual vehicle account registration and binding of the virtual vehicle account and the virtual driver account;
an identity receiving module 702 configured to receive an identity corresponding to the amount of the test data input by a user when the test scenario is registered as a virtual driver account;
an identity verification module 703 configured to perform verification whether all the identities meet a preset identity format requirement;
the user verification interface calling module 704 is configured to execute calling a user verification interface when all the virtual account numbers meet the preset format requirement so as to complete interviewing and training of the virtual driver corresponding to each identity;
the test data generation module 705 is configured to execute the test data for generating the virtual driver account registration based on the virtual driver accounts corresponding to all the virtual drivers who have performed interview and training.
On the basis of the foregoing embodiment, in an embodiment of this specification, fig. 6 is a schematic structural diagram of another automobile platform test data generation apparatus provided in the embodiment of the present invention, and as shown in fig. 6, the apparatus further includes:
a data test request receiving module 706 configured to execute receiving a data test request carrying a test scenario, where the data test request includes a quantity of test data;
a test data determining module 707 configured to perform determining whether test data corresponding to the test scenario exists in a test database;
a test data creating instruction generating module 708 configured to execute, when there is no test data corresponding to the test scenario in the test database, generating a test data creating instruction carrying the test scenario.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
On the other hand, fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 7, the present invention provides an automobile platform test data generating device, where the device includes a processor and a memory, where the memory stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the processor to implement the automobile platform test data generating method described above.
The above functions, if implemented in the form of software functional units and sold or used as a separate product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
The embodiment of the present invention further provides a storage medium, where at least one instruction, at least one program, a code set, or an instruction set is stored in the storage medium, and the at least one instruction, the at least one program, the code set, or the instruction set may be executed by a processor of an electronic device to complete the above method for generating the automobile platform test data.
Optionally, in an embodiment of the present invention, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
It should be noted that: the precedence order of the above embodiments of the present invention is only for description, and does not represent the merits of the embodiments. And specific embodiments thereof have been described above. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus, the electronic device and the storage medium embodiment, since they are substantially similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the partial description of the method embodiment.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. The implementation principle and the generated technical effect of the testing method provided by the embodiment of the invention are the same as those of the system embodiment, and for the sake of brief description, the corresponding contents in the system embodiment can be referred to where the method embodiment is not mentioned.
In the several embodiments provided in the present application, it should be understood that the disclosed system and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the above claims.

Claims (10)

1. A method for generating test data of an automobile platform is characterized by comprising the following steps:
receiving a test data creating instruction carrying a test scenario, wherein the test data creating instruction comprises the number of test data, and the test scenario comprises: the test scenario comprises virtual driver account registration, virtual vehicle account registration and binding of the virtual vehicle account and the virtual driver account;
when the test scene is registered for the virtual driver account, receiving an identity mark which is input by a user and corresponds to the quantity of the test data;
verifying whether all the identity marks meet the requirement of a preset identity mark format;
when all the virtual account numbers meet the requirements of a preset format, calling a user verification interface to complete interviewing and training of the virtual driver corresponding to each identity;
and generating test data registered by the virtual driver account based on the virtual driver account corresponding to all the virtual drivers who perform interview and training.
2. The method for generating the test data of the automobile platform according to claim 1, wherein the receiving of the test data creation instruction carrying the test scenario further comprises:
receiving a data test request carrying a test scene, wherein the data test request comprises the quantity of test data;
judging whether test data corresponding to the test scene exist in a test database or not;
and when the test data corresponding to the test scene does not exist in the test database, generating a test data creating instruction carrying the test scene.
3. The method of generating automotive platform test data according to claim 1, further comprising:
when the test scene is registered for the virtual vehicle account, receiving vehicle identifications corresponding to the number of the test data and input by a user;
verifying whether all the vehicle identifications meet the requirements of a preset vehicle identification format;
when all the vehicle identifications meet the requirements of a preset format, calling a vehicle insurance participation interface to complete virtual vehicle registration and virtual insurance delivery of the vehicle corresponding to each vehicle identification;
and generating test data of virtual vehicle account registration based on all vehicles which are subjected to virtual vehicle registration and correspond to virtual insurance delivery.
4. The method of generating automotive platform test data according to claim 3, further comprising:
when the test scene is that the virtual vehicle account is bound with the virtual driver account, establishing an incidence relation between the test data registered by the virtual driver account and the test data registered by the virtual vehicle account so as to generate the test data bound by the virtual vehicle account and the virtual driver account.
5. The method of generating automotive platform test data according to claim 3, further comprising:
when the test data corresponding to the test scene exists in the test database, comparing whether the quantity of the test data in the test database is larger than the quantity of the test data corresponding to the data test request or not;
and when the quantity of the test data in the test database is larger than that of the test data corresponding to the data test request, calling the test data of the test scenes of the corresponding quantity based on the test scenes of the data test request.
6. The method for generating vehicle platform test data according to any one of claims 1 to 4, wherein the method further comprises:
and performing performance test corresponding to the data test request according to the test data.
7. An automotive platform test data generation apparatus, the apparatus comprising:
a creation instruction receiving module configured to execute a test data creation instruction that receives a test scenario, where the test data creation instruction includes the number of test data, and the test scenario includes: the test scenario comprises virtual driver account registration, virtual vehicle account registration and binding of the virtual vehicle account and the virtual driver account;
the identity identification receiving module is configured to receive identity identifications corresponding to the number of the test data input by a user when the test scene is registered as a virtual driver account;
the identity identification verification module is configured to verify whether all the identity identifications meet the requirement of a preset identity identification format;
the user verification interface calling module is configured to call a user verification interface when all the virtual account numbers meet the requirements of a preset format so as to complete interviewing and training of the virtual driver corresponding to each identity;
and the test data generation module is configured to execute test data for generating virtual driver account registration based on the virtual driver accounts corresponding to all the virtual drivers which are subjected to interview and training.
8. The vehicle platform test data generating apparatus according to claim 7, further comprising:
the data test request receiving module is configured to execute receiving of data test requests carrying test scenes, and the data test requests comprise the number of test data;
the test data judging module is configured to execute and judge whether test data corresponding to the test scene exists in a test database or not;
and the test data creation instruction generation module is configured to execute a test data creation instruction carrying the test scene when no test data corresponding to the test scene exists in the test database.
9. A computer-readable storage medium having stored therein at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by a processor to implement the method of generating vehicle platform test data according to any one of claims 1 to 6.
10. An electronic device comprising at least one processor, and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the at least one processor implementing the method of generating automotive platform test data according to any one of claims 1-6 by executing the instructions stored by the memory.
CN202110836778.6A 2021-07-23 2021-07-23 Automobile platform test data generation method and device Pending CN113609007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110836778.6A CN113609007A (en) 2021-07-23 2021-07-23 Automobile platform test data generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110836778.6A CN113609007A (en) 2021-07-23 2021-07-23 Automobile platform test data generation method and device

Publications (1)

Publication Number Publication Date
CN113609007A true CN113609007A (en) 2021-11-05

Family

ID=78305271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110836778.6A Pending CN113609007A (en) 2021-07-23 2021-07-23 Automobile platform test data generation method and device

Country Status (1)

Country Link
CN (1) CN113609007A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453234A (en) * 2016-08-12 2017-02-22 北京东方车云信息技术有限公司 Identity authentication method, relevant server and client
WO2018071826A1 (en) * 2016-10-13 2018-04-19 Alibaba Group Holding Limited User identity authentication using virtual reality
CN108563584A (en) * 2018-05-09 2018-09-21 平安普惠企业管理有限公司 Test data generating method, device, computer equipment and storage medium
CN110298328A (en) * 2019-07-03 2019-10-01 中国工商银行股份有限公司 Test data forming method, test data form device, electronic equipment and medium
CN110798795A (en) * 2019-09-20 2020-02-14 广汽蔚来新能源汽车科技有限公司 Virtual key vehicle control system, method and device based on Bluetooth and computer equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453234A (en) * 2016-08-12 2017-02-22 北京东方车云信息技术有限公司 Identity authentication method, relevant server and client
WO2018071826A1 (en) * 2016-10-13 2018-04-19 Alibaba Group Holding Limited User identity authentication using virtual reality
CN108563584A (en) * 2018-05-09 2018-09-21 平安普惠企业管理有限公司 Test data generating method, device, computer equipment and storage medium
CN110298328A (en) * 2019-07-03 2019-10-01 中国工商银行股份有限公司 Test data forming method, test data form device, electronic equipment and medium
CN110798795A (en) * 2019-09-20 2020-02-14 广汽蔚来新能源汽车科技有限公司 Virtual key vehicle control system, method and device based on Bluetooth and computer equipment

Similar Documents

Publication Publication Date Title
CN109829621B (en) Network appointment vehicle dispatching method and device
US11531661B2 (en) Vehicle incident documentation for blockchain
CN109493044A (en) Block chain block delet method, device and terminal device
CN107908553B (en) Association testing method, application server and computer readable storage medium
CN112200585B (en) Service processing method, device, equipment and system
CN111353176B (en) Method and system for inquiring block chain data
CN112363767A (en) Vehicle-mounted camera calling method and device
CN114666159B (en) Cloud service system, method, device, equipment and medium
CN112905477B (en) Automatic driving simulation test data release system, method, device and equipment
CN113301163B (en) Service processing method, system, electronic device and storage medium
CN110555681A (en) Bank card signing method, device, server and medium
CN113852639A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN113609007A (en) Automobile platform test data generation method and device
CN112015651A (en) Data processing method and device
CN110111188B (en) Business handling method and equipment
CN111124908A (en) Interface testing method and device and computer readable storage medium
CN115470281A (en) Batch data importing method and device, terminal equipment and storage medium
CN112636954A (en) Server upgrading method and device
KR100974419B1 (en) Method for authenticating, in particular, software components that can be loaded into a control unit of a motor vehicle
CN114741452A (en) Data storage method and device, electronic equipment and storage medium
CN115174575A (en) Service control method and device, electronic equipment and storage medium
CN114266680A (en) Block chain-based electronic contract signing method, device and system
CN111225075A (en) Configuration method and device for Internet of things directional access service
CN113159800B (en) Identity authentication processing method and device
CN113660288B (en) User number binding method and system based on block chain system

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