Disclosure of Invention
The disclosure provides a software deployment method, device and system.
According to a first aspect of the embodiments of the present disclosure, a software deployment method is provided, which is applied to a vehicle-mounted industrial personal computer on a test vehicle, and the method includes: under the condition that the test vehicle enters a designated area, switching from a first network which is accessed currently to a second network; the access service of the second network is provided through the wireless network access point of the designated area; acquiring a test file package stored in a code server through the second network; and decompressing the test file packet in response to the acquisition of the test file packet.
In some embodiments, the test file package corresponds to a task number of a test task performed by the test vehicle; the obtaining of the test file package stored in the code server through the second network includes: accessing the code server over the second network; and downloading the test file packet corresponding to the task number from the code server.
In some embodiments, the vehicle-mounted industrial personal computer is in communication connection with a vehicle management platform through the first network; the method further comprises the following steps: under the condition of accessing the first network, sending preset information to the vehicle management platform, wherein the preset information corresponds to a test task executed by the test vehicle; and receiving the task number returned by the vehicle management platform based on the preset information.
In some embodiments, the preset information comprises at least any one of: identification information of the designated area, identification information of the test vehicle, and description information of a test task executed by the test vehicle.
In some embodiments, the vehicle-mounted industrial personal computer is in communication connection with the vehicle management platform through the first network and is in communication connection with the test management platform through the second network; the obtaining of the test file package stored in the code server through the second network includes: sending the information of the test vehicle to the vehicle management platform through the first network so that the vehicle management platform sends the information of the test vehicle to the test management platform and the test management platform establishes an incidence relation between the information of the test vehicle and a corresponding test file packet; and acquiring a test file packet pushed by the code server through the second network, wherein the test management platform acquires information of the test vehicle through the wireless network access point under the condition that the vehicle-mounted industrial personal computer is accessed to the second network, and informs the code server to push the test file packet to the vehicle-mounted industrial personal computer based on the information of the test vehicle acquired from the wireless network access point and the incidence relation.
In some embodiments, the method further comprises: after the test file package is obtained, an information deletion request is sent to the test management platform through the second network, so that the test management platform deletes the association relationship between the information of the test vehicle and the corresponding test file package.
In some embodiments, the vehicle-mounted industrial personal computer is in communication connection with a control center; the obtaining, by the second network access service, a test file package stored in a code server includes: receiving a downloading request sent by the control center; forwarding the download request to the code server over the second network; and acquiring the test file packet returned by the code server in response to the downloading request.
In some embodiments, the test file package is published by a persistent integration server and uploaded to the code server.
In some embodiments, the vehicle-mounted industrial personal computer is in communication connection with the test management platform through the second network; obtaining a test file package stored in a code server over the second network, comprising: and after receiving the information of the test file package sent by the client of the test operator, the vehicle-mounted industrial personal computer downloads the corresponding test file package from the code server for the test vehicle, wherein the information of the test file package is sent to the client of the test operator in advance through the test management platform.
In some embodiments, the test file package is a binary package.
According to a second aspect of embodiments of the present disclosure, there is provided a software deployment system, the system comprising: a code server for storing the test file package; and the vehicle-mounted industrial personal computer is arranged on the test vehicle and used for switching from a first network accessed currently to a second network provided by a wireless network access point of the designated area under the condition that the test vehicle enters the designated area, acquiring the test file packet stored in the code server through the second network, and decompressing the test file packet in response to the acquisition of the test file packet.
In some embodiments, the test file package corresponds to a task number of a test task performed by the test vehicle; the vehicle-mounted industrial personal computer is used for: accessing the code server over the second network; and downloading the test file packet corresponding to the task number from the code server.
In some embodiments, the system further comprises: the vehicle management platform is in communication connection with the vehicle-mounted industrial personal computer through a first network and used for receiving preset information sent by the vehicle-mounted industrial personal computer through the first network, the preset information corresponds to a test task executed by the test vehicle, and the task number is returned to the vehicle-mounted industrial personal computer based on the preset information.
In some embodiments, the system further comprises: the vehicle management platform is in communication connection with the vehicle-mounted industrial personal computer through a first network and is used for acquiring the information of the test vehicle sent by the vehicle-mounted industrial personal computer, and the information of the test vehicle corresponds to the test file packet; the test management platform is in communication connection with the vehicle-mounted industrial personal computer through the second network and is used for acquiring the information of the test vehicle sent by the vehicle management platform and establishing an incidence relation between the information of the test vehicle and a corresponding test file packet; and under the condition that the vehicle-mounted industrial personal computer is accessed to the second network, the information of the test vehicle is obtained through the wireless network access point, and the code server is informed to push the test file packet to the vehicle-mounted industrial personal computer based on the information of the test vehicle and the incidence relation.
In some embodiments, the test management platform is further configured to: receiving an information deletion request sent by the vehicle-mounted industrial personal computer; and deleting the association relation between the information of the test vehicle and the corresponding test file package in response to the information deletion request.
In some embodiments, the system further comprises: and the control terminal is in communication connection with the vehicle-mounted industrial personal computer and is used for sending a downloading request to the vehicle-mounted industrial personal computer so that the vehicle-mounted industrial personal computer forwards the downloading request to the code server and acquires the test file packet returned by the code server in response to the downloading request.
In some embodiments, the system further comprises: and the test management platform is in communication connection with the vehicle-mounted industrial personal computer through the second network and is used for sending the information of the test file packet to a client of a test operator, so that the vehicle-mounted industrial personal computer downloads a corresponding test file packet from the code server for the test vehicle after receiving the information of the test file packet sent by the client of the test operator.
According to a third aspect of the embodiments of the present disclosure, there is provided a software deployment apparatus applied to a vehicle-mounted industrial personal computer on a test vehicle, the apparatus including: the network switching module is used for switching from a first network which is accessed currently to a second network under the condition that the test vehicle enters a specified area; the access service of the second network is provided through the wireless network access point of the designated area; the acquisition module is used for acquiring the test file packet stored in the code server through the second network; and the decompression module is used for decompressing the test file packet in response to the acquisition of the test file packet.
In some embodiments, the test file package corresponds to a task number of a test task performed by the test vehicle; the acquisition module includes: an access unit for accessing the code server through the second network; and the downloading unit is used for downloading the test file packet corresponding to the task number from the code server.
In some embodiments, the vehicle-mounted industrial personal computer is in communication connection with a vehicle management platform through the first network; the device further comprises: the sending module is used for sending preset information to the vehicle management platform under the condition of accessing the first network, wherein the preset information corresponds to a test task executed by the test vehicle; and the receiving module is used for receiving the task number returned by the vehicle management platform based on the preset information.
In some embodiments, the preset information comprises at least any one of: identification information of the designated area, identification information of the test vehicle, and description information of a test task executed by the test vehicle.
In some embodiments, the vehicle-mounted industrial personal computer is in communication connection with the vehicle management platform through the first network and is in communication connection with the test management platform through the second network; the acquisition module includes: the sending unit is used for sending the information of the test vehicle to the vehicle management platform through the first network so that the vehicle management platform sends the information of the test vehicle to the test management platform and the test management platform establishes an association relation between the information of the test vehicle and a corresponding test file package; the system comprises a first obtaining unit and a second obtaining unit, wherein the first obtaining unit is used for obtaining a test file packet pushed by a code server through the second network, the test management platform obtains information of a test vehicle through a wireless network access point under the condition that the vehicle-mounted industrial personal computer is accessed to the second network, and informs the code server to push the test file packet to the vehicle-mounted industrial personal computer based on the information of the test vehicle obtained from the wireless network access point and the incidence relation.
In some embodiments, the apparatus further comprises: and the deleting module is used for sending an information deleting request to the test management platform through the second network after the test file packet is obtained, so that the test management platform deletes the association relationship between the information of the test vehicle and the corresponding test file packet.
In some embodiments, the vehicle-mounted industrial personal computer is in communication connection with a control center; the acquisition module includes: the receiving unit is used for receiving the downloading request sent by the control center; a forwarding unit, configured to forward the download request to the code server through the second network; and the second acquisition unit is used for acquiring the test file packet returned by the code server in response to the downloading request.
In some embodiments, the test file package is published by a persistent integration server and uploaded to the code server.
In some embodiments, the vehicle-mounted industrial personal computer is in communication connection with the test management platform through the second network; the acquisition module includes: and the downloading module is used for downloading the corresponding test file package for the test vehicle from the code server after the vehicle-mounted industrial personal computer receives the information of the test file package sent by the client of the test operator, and the information of the test file package is sent to the client of the test operator in advance through the test management platform.
In some embodiments, the test file package is a binary package.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any of the embodiments.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of any of the embodiments when executing the program.
According to the embodiment of the invention, under the condition that the test vehicle enters the designated area, the first network accessed by the vehicle-mounted industrial personal computer on the test vehicle is switched to the second network provided by the wireless network access point of the designated area, then the test file packet is directly obtained from the code server through the second network of the designated area and decompressed, the test file packet does not need to be copied through the mobile storage medium, and the deployment efficiency of the test file packet is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In order to make the technical solutions in the embodiments of the present disclosure better understood and make the above objects, features and advantages of the embodiments of the present disclosure more comprehensible, the technical solutions in the embodiments of the present disclosure are described in further detail below with reference to the accompanying drawings.
In order to ensure safety of autonomous driving, it is often necessary to test autonomous vehicles. During testing, a test file package required by the testing needs to be deployed on a test vehicle. In order to ensure data security and reduce the risk of data leakage, a dedicated network (referred to as an intranet) capable of accessing the code server is not generally deployed on a test vehicle, and therefore, in the related art, a test file package is generally copied to a mobile storage medium (for example, a mobile hard disk), a test operator carries the mobile storage medium to the test vehicle, and then the test file package in the mobile storage medium is copied to the test vehicle, which results in low efficiency of a code deployment process. In addition, when the data volume of the test file packet is large, the problem of file damage is easy to occur in the process of multiple copying.
Based on this, the embodiment of the present disclosure provides a software deployment method, which is applied to a vehicle-mounted industrial personal computer on a test vehicle, and as shown in fig. 1, the method includes:
step 101: under the condition that the test vehicle enters a designated area, switching from a first network which is accessed currently to a second network; the access service of the second network is provided through the wireless network access point of the designated area;
step 102: acquiring a test file package stored in a code server through the second network;
step 103: and decompressing the test file packet in response to the acquisition of the test file packet.
In step 101, the test vehicle may be any vehicle that needs to be subjected to an automatic driving test, such as an automobile, a school bus, a truck, and the like. The router can be arranged on the test vehicle so as to provide a first network access service for the test vehicle through the router, and therefore the vehicle-mounted industrial personal computer is accessed to the first network through the router. The first network may be a public wireless communication network (referred to as an extranet) such as a 3G network, a 4G network, or the like. The router can be connected with the vehicle-mounted industrial personal computer in a wired or wireless mode. And a wireless network card can be arranged on the test vehicle so as to provide a second network access service for the test vehicle through the wireless network card, so that the vehicle-mounted industrial personal computer is accessed to a second network through the wireless network card. The second network may be a dedicated wireless network (referred to as an intranet) during the autopilot test.
Accessing one of the first network and the second network does not mean that the connection must be disconnected from the other. Different priorities can be set for the first network and the second network, for example, the priority of the second network is set to be higher than that of the first network, and under the condition that the first network and the second network are accessed simultaneously, the vehicle-mounted industrial personal computer is provided with services through the network with the higher priority. Of course, the vehicle-mounted industrial personal computer can be disconnected with one of the first network and the second network when the other network is accessed.
The process of accessing the first network and the second network by the vehicle-mounted industrial personal computer can be manually controlled or automatically executed by the vehicle-mounted industrial personal computer. The test vehicle can only access the second network in the designated area and acquire the test file packet, so that the safety of the test file packet is improved, and the risk of data leakage is reduced. The test file package may be a binary package or a source code package. In case of using binary packages, the risk of source code leakage is further reduced.
In step 102, the vehicle-mounted industrial personal computer can access the first network or the second network and realize different functions under the condition of accessing different networks. For example, under the condition of accessing a first network, the vehicle-mounted industrial personal computer can perform automatic driving test based on the acquired test file packet, and can also communicate with the vehicle management platform so as to report the information of the position, the speed, the license plate number and the like of the vehicle-mounted industrial personal computer to the vehicle management platform; under the condition of accessing a second network, the vehicle-mounted industrial personal computer can acquire the test file packet stored in the code server and upload test data generated in the automatic driving test process to a specified test management platform.
Fig. 2 is a schematic diagram of a vehicle automatic driving test process according to an embodiment of the disclosure. In a default state (state 1), a test vehicle needing automatic driving test is connected with the vehicle management platform through an external network so as to carry out data communication with the vehicle management platform. The extranet may be an open network such as the internet, for example, a 4G network. The test vehicle can report the position, speed, license plate number and other information of the test vehicle to the vehicle management platform. In state 2, the test vehicle disconnects from the extranet and establishes a connection with the code server storing the test file package through the intranet, so as to acquire the test file package from the code server. In order to improve data security, it is generally desirable that the test vehicle can access the intranet and obtain the test document package through the intranet only under specific conditions that transmission of the test document package is required between the test vehicle and the code server, and the test vehicle is not desired to access the intranet under other conditions. Therefore, when the test file package is successfully acquired, the network connection state of the test vehicle is switched to the state 3, that is, the test vehicle is disconnected from the intranet and is restored to the connection with the extranet, so that the automatic driving test is performed. And entering a state 4 when the test meets certain conditions, such as the test is completed or the test progress reaches a certain progress node, disconnecting the test vehicle from the external network, and switching to the internal network. At this time, the test vehicle can be connected with the test management platform through the intranet, and test data generated in the automatic driving test process is sent to the test management platform. Those skilled in the art will appreciate that the embodiment shown in fig. 2 is illustrative only and is not intended to be limiting of the present disclosure.
In step 103, after the test file package is obtained, the vehicle-mounted industrial personal computer may decompress the test file package to the local, thereby completing the deployment of the test file package.
According to the embodiment of the invention, under the condition that the test vehicle enters the designated area, the first network accessed by the vehicle-mounted industrial personal computer on the test vehicle is switched to the second network provided by the wireless network access point of the designated area, then the test file packet is directly obtained from the code server through the second network of the designated area and decompressed, the test file packet does not need to be copied through the mobile storage medium, and the deployment efficiency of the test file packet is improved. In addition, the vehicle-mounted industrial personal computer can directly acquire the test file packet from the code server without being copied for many times, so that the damage condition of the test file packet is reduced.
In some embodiments, the test file package corresponds to a task number of a test task performed by the test vehicle. Therefore, the vehicle-mounted industrial personal computer can access the code server through the second network; and downloading the test file packet corresponding to the task number from the code server. By the method, the test file package can be quickly positioned, and the acquisition efficiency of the test file package is improved. As shown in fig. 3, a schematic diagram of accessing a code server to obtain a test file package is shown. A Uniform Resource Locator (URL) of the code server may be input in the search bar 3011 on the operation interface 301 of the vehicle-mounted industrial personal computer to access a page of the code server, and in the test file package list 3012 on the page, a corresponding test file package is searched based on the task number, and the test file package is downloaded through a download control corresponding to the searched test file package.
The task number may be acquired from the vehicle management platform in advance. Specifically, the vehicle-mounted industrial personal computer can send preset information to the vehicle management platform and receive the task number returned by the vehicle management platform based on the preset information under the condition that the vehicle-mounted industrial personal computer is connected to the first network. The preset information corresponds to a test task executed by the test vehicle.
The preset information may include identification information of the designated area. The number of designated areas may be multiple and different designated areas may be located in different locations of the city, e.g., one designated area located in the south of the city, two designated areas located in the west of the city, and three designated areas located in the east of the city. The test tasks executed in different designated areas can be the same or different, and the test tasks can be executed by selecting different designated areas according to the positions of the test vehicles by setting a plurality of designated areas with different directions.
The test tasks to be performed by different test vehicles may be different, and therefore, the preset information may further include identification information of the test vehicle. The identification information of the test vehicle may be a license plate number of the test vehicle.
The preset information may further include description information of a test task performed by the test vehicle. The description information may include, but is not limited to, "optimized positioning map loading manner", "brake performance debugging", and the like. The description information of different test tasks is generally different, so that the test tasks executed by the test vehicle can be determined based on the description information of the test tasks, and the number of the test tasks is further determined.
The preset information can be registered to the vehicle management platform through the test vehicle, so that the preset information is submitted to the vehicle management platform. The registration interface of some embodiments is shown in fig. 4. The designated area comprises three areas, namely a test point one, a test point two and a test point three, the vehicle information can be manually input by a user, and the test task can be selected from a drop-down list. By registering the vehicle management platform, the test vehicle can quickly and conveniently acquire the task number of the executed test task before the automatic driving test is carried out, so that the corresponding test file packet can be directly downloaded based on the task number when the automatic driving test is carried out, and the acquisition efficiency of the test file packet is improved.
Further, the vehicle-mounted industrial personal computer can send the information of the test vehicle to the vehicle management platform through the first network, so that the vehicle management platform sends the information of the test vehicle to the test management platform, the test management platform establishes an association relation between the information of the test vehicle and a corresponding test file packet, and the information of the test vehicle corresponds to the test file packet; and acquiring a test file packet pushed by the code server through the second network, wherein the test management platform acquires information of the test vehicle through the wireless network access point under the condition that the vehicle-mounted industrial personal computer is accessed to the second network, and informs the code server to push the test file packet based on the information of the test vehicle acquired from the wireless network access point and the association relation.
As shown in fig. 5, the vehicle-mounted industrial personal computer of the vehicle 1 may register with the vehicle management platform to submit information of the vehicle 1, for example, a license plate number of the vehicle 1, when accessing the first network. The vehicle management platform may communicate with the test management platform through a public network or a private network (e.g., the second network) and submit the information of the vehicle 1 to the test management platform, and the test management platform may maintain a list of association relationships between the vehicle information and the test file package and add the information of the vehicle 1 and the number of the test file package required by the vehicle 1 to the list of association relationships. After the vehicle-mounted industrial personal computer of the vehicle 1 is connected to a second network provided by the wireless access point of the designated place, the wireless access point can detect that the vehicle 1 is a newly connected vehicle, so that the wireless access point is triggered to send the vehicle information of the newly connected vehicle to the test management platform. The test management platform can search the test file packet number (i.e., the file packet 1 number) corresponding to the newly accessed vehicle (i.e., the vehicle 1) from the association relationship list, and inform the code server to push the corresponding test file packet (i.e., the file packet 1) to the vehicle-mounted industrial personal computer of the vehicle 1. Wherein the code server may communicate with the test management platform over a public network or a private network (e.g., the second network). By the mode, automatic deployment of the test file package can be achieved, a user does not need to manually input information such as a test task number, and deployment efficiency of the test file package is improved.
Further, after the test file package is obtained, the vehicle-mounted industrial personal computer can also send an information deletion request to the test management platform through the second network, so that the test management platform deletes the association relationship between the information of the test vehicle and the corresponding test file package. The vehicle-mounted industrial personal computer can immediately send an information deletion request to the test management platform under the condition of successfully obtaining the test file packet. Or, the vehicle-mounted industrial personal computer can also send an information deletion request to the test management platform under the condition that the test file packet is successfully acquired and the test task is completed, so that the problem that the test task cannot be completed due to the fact that the test file packet is damaged in the downloading process is avoided.
In some embodiments, the vehicle-mounted industrial personal computer is in communication connection with a control center; the vehicle-mounted industrial personal computer can receive a downloading request sent by the control center; forwarding the download request to the code server over the second network; and acquiring the test file packet returned by the code server in response to the downloading request. Because under the actual scene, often be not convenient for operate on the on-vehicle industrial computer, consequently, can be through connecting control center with on-vehicle industrial computer, operate on control center to through on-vehicle industrial computer with operating instruction forward code server, thereby realize the download of test file package. The control center can be an intelligent terminal such as a mobile phone and a tablet personal computer, and can also be a remote server. The corresponding control can be clicked in the control center for operation (for example, inputting a web page link, clicking for downloading, etc.), and the corresponding operation can also be realized by inputting a corresponding instruction code in the control center.
In some embodiments, the test file package may be published and uploaded to the code server by a Continuous Integration (CI) server. Further, after uploading to the code server, it may be stored under a specified topic (topic). For example, the test file package issued by the persistent integration server may be stored under a specified topic based on the test tasks corresponding to the test file package, where each topic corresponds to one or more test tasks. By the method, the test file package is conveniently searched from the code server, so that the acquisition efficiency of the test file package can be improved.
Under the condition that the load industrial personal computer is in communication connection with the test management platform through the second network, the vehicle-mounted industrial personal computer can download corresponding test file packages for the test vehicles from the code server after receiving information of the test file packages sent by clients of test operators, and the information of the test file packages is sent to the clients of the test operators in advance through the test management platform. By sending the information of the test file package to the client of the test operator in advance, the corresponding test task can be distributed to the test operator, so that the test operator assists in the deployment process of the test file package. The client of the test operator may be a nail, an enterprise WeChat, etc. Taking enterprise wechat as an example, information such as test task details, test packages and the like can be automatically sent to a test wechat group through an enterprise wechat robot, and a test operator is designated in the wechat group; alternatively, the enterprise wechat robot may automatically and individually send information such as test task details and test packages to the test operator. The test operator may download the test file package for the test vehicle by performing a corresponding operation on the client. For example, a client of a test operator may be used as a control center, or the test operator may carry the client to a test site and establish a communication connection with a test vehicle, so as to control the vehicle-mounted industrial personal computer to download the test file package through the client.
As shown in fig. 6, is an interaction timing diagram of the test vehicle with the vehicle management platform and the test management platform according to the embodiment of the disclosure. In step 601, the test vehicle may register information with the vehicle management platform to submit vehicle information related to a test task to the vehicle management platform with access to the first network, the test task having a number corresponding to the test file package. In step 602, the vehicle management platform may report the vehicle information to the test management platform through a communication connection established with the test management platform in advance. In step 603, the test management platform may add the vehicle information to a pre-established association relationship list, where the association relationship list includes an association relationship between the vehicle information and a number of the test file package. In step 604, the test vehicle may switch to a second network. The switching mode can be manual switching or automatic control of the test vehicle by the vehicle management platform. For example, the vehicle management platform may obtain a real-time location of the test vehicle, and control the test vehicle to access the second network of the wireless network access point of the designated area if the real-time location comes within the range of the designated area. In step 605, the test management platform may obtain vehicle information for the test vehicle. Specifically, after the test vehicle is accessed to the second network, the wireless network access point can detect the newly accessed vehicle and send the vehicle information of the newly accessed vehicle to the test management platform. The test management platform can search the test file packet number corresponding to the vehicle information from the association relation list. If so, in step 606, the test management platform requests the code server to issue a test document package for the test vehicle.
If the test vehicle is not found, the test vehicle accessed to the second network is not registered with the vehicle management platform in advance, or the test vehicle is not accessed. For test vehicles that are not registered in advance, the test file package may be obtained in other ways, for example, by entering the URL of the code server on the control terminal and manually downloading the test file package. In step 607, after the test vehicle acquires the test file package, the test file package may be decompressed, thereby completing the deployment of the test file package. In step 608, the test vehicle may switch to the first network and begin testing upon completion of the deployment of the test package. In step 609, the test vehicle may switch to the second network and return test data to the test management platform in step 610.
As shown in fig. 7, an embodiment of the present disclosure further provides a software deployment system, where the system includes:
a code server 701 for storing test file packages; and
the vehicle-mounted industrial personal computer 702 is arranged on the test vehicle and used for switching from a first network accessed currently to a second network provided by a wireless network access point of a specified area when the test vehicle enters the specified area, acquiring the test file packet stored in the code server 701 through the second network, and decompressing the test file packet in response to the acquisition of the test file packet.
The vehicle-mounted industrial personal computer 702 can be accessed to a first network through a router and a second network through a wireless network card. The Access service of the second network may be a service provided by an Access Point (AP) of a wireless network of a specified area.
In some embodiments, the test file package corresponds to a task number of a test task performed by the test vehicle; the vehicle-mounted industrial personal computer is used for: accessing the code server over the second network; and downloading the test file packet corresponding to the task number from the code server.
In some embodiments, the system further comprises: the vehicle management platform is in communication connection with the vehicle-mounted industrial personal computer through a first network and used for receiving preset information sent by the vehicle-mounted industrial personal computer through the first network, the preset information corresponds to a test task executed by the test vehicle, and the task number is returned to the vehicle-mounted industrial personal computer based on the preset information.
In some embodiments, the preset information comprises at least any one of: identification information of the designated area, identification information of the test vehicle, and description information of a test task executed by the test vehicle.
In some embodiments, the system further comprises: the vehicle management platform is in communication connection with the vehicle-mounted industrial personal computer through a first network and is used for acquiring the information of the test vehicle sent by the vehicle-mounted industrial personal computer, and the information of the test vehicle corresponds to the test file packet; the test management platform is in communication connection with the vehicle-mounted industrial personal computer through the second network and is used for acquiring the information of the test vehicle sent by the vehicle management platform and establishing an incidence relation between the information of the test vehicle and a corresponding test file packet; and under the condition that the vehicle-mounted industrial personal computer is accessed to the second network, the information of the test vehicle is obtained through the wireless network access point, and the code server is informed to push the test file packet to the vehicle-mounted industrial personal computer based on the information of the test vehicle and the incidence relation.
In some embodiments, the test management platform is further configured to: receiving an information deletion request sent by the vehicle-mounted industrial personal computer after the test file packet is acquired; and deleting the association relation between the information of the test vehicle and the corresponding test file package in response to the information deletion request.
In some embodiments, the system further comprises: and the control terminal is in communication connection with the vehicle-mounted industrial personal computer and is used for sending a downloading request to the vehicle-mounted industrial personal computer so that the vehicle-mounted industrial personal computer forwards the downloading request to the code server and acquires the test file packet returned by the code server in response to the downloading request.
In some embodiments, the system further comprises: and the test management platform is in communication connection with the vehicle-mounted industrial personal computer through the second network and is used for sending the information of the test file packet to a client of a test operator, so that the vehicle-mounted industrial personal computer downloads a corresponding test file packet from the code server for the test vehicle after receiving the information of the test file packet sent by the client of the test operator. The information of the test file package may include information used for determining the test file package, such as a number of the test file package, description information of the test file package, a task type, a task number related to the test file package, and the like. The test operator may manually download the test file package from the code server for the test vehicle based on the information of the test file package, and may also perform an automatic driving test for the test vehicle based on the test file package after the downloading is completed. The test operator can also manually switch the vehicle-mounted industrial personal computer on the test vehicle to the first wireless network or the second wireless network.
In some embodiments, the test file package is a binary package.
As shown in fig. 8, an embodiment of the present disclosure further provides a software deployment apparatus, which is applied to a vehicle-mounted industrial personal computer on a test vehicle, and the apparatus includes:
a network switching module 801, configured to switch from a currently accessed first network to a second network when a test vehicle enters a specified area; the access service of the second network is provided through the wireless network access point of the designated area;
an obtaining module 802, configured to obtain, through the second network, a test file package stored in a code server;
and the decompressing module 803 is configured to decompress the test file packet in response to obtaining the test file packet.
In some embodiments, the test file package corresponds to a task number of a test task performed by the test vehicle; the acquisition module includes: an access unit for accessing the code server through the second network; and the downloading unit is used for downloading the test file packet corresponding to the task number from the code server.
In some embodiments, the vehicle-mounted industrial personal computer is in communication connection with a vehicle management platform through the first network; the device further comprises: the sending module is used for sending preset information to the vehicle management platform under the condition of accessing the first network, wherein the preset information corresponds to a test task executed by the test vehicle; and the receiving module is used for receiving the task number returned by the vehicle management platform based on the preset information.
In some embodiments, the preset information comprises at least any one of: identification information of the designated area, identification information of the test vehicle, and description information of a test task executed by the test vehicle.
In some embodiments, the vehicle-mounted industrial personal computer is in communication connection with the vehicle management platform through the first network and is in communication connection with the test management platform through the second network; the acquisition module includes: the sending unit is used for sending the information of the test vehicle to the vehicle management platform through the first network so that the vehicle management platform sends the information of the test vehicle to the test management platform and the test management platform establishes an association relation between the information of the test vehicle and a corresponding test file package; the system comprises a first obtaining unit and a second obtaining unit, wherein the first obtaining unit is used for obtaining a test file packet pushed by a code server through the second network, the test management platform obtains information of a test vehicle through a wireless network access point under the condition that the vehicle-mounted industrial personal computer is accessed to the second network, and informs the code server to push the test file packet to the vehicle-mounted industrial personal computer based on the information of the test vehicle obtained from the wireless network access point and the incidence relation.
In some embodiments, the apparatus further comprises: and the deleting module is used for sending an information deleting request to the test management platform through the second network after the test file packet is obtained, so that the test management platform deletes the association relationship between the information of the test vehicle and the corresponding test file packet.
In some embodiments, the vehicle-mounted industrial personal computer is in communication connection with a control center; the acquisition module includes: the receiving unit is used for receiving the downloading request sent by the control center; a forwarding unit, configured to forward the download request to the code server through the second network; and the second acquisition unit is used for acquiring the test file packet returned by the code server in response to the downloading request.
In some embodiments, the test file package is published by a persistent integration server and uploaded to the code server.
In some embodiments, the vehicle-mounted industrial personal computer is in communication connection with the test management platform through the second network; the acquisition module includes: and the downloading module is used for downloading the corresponding test file package for the test vehicle from the code server after the vehicle-mounted industrial personal computer receives the information of the test file package sent by the client of the test operator, and the information of the test file package is sent to the client of the test operator in advance through the test management platform.
In some embodiments, the test file package is a binary package.
In some embodiments, functions of or modules included in the apparatus provided in the embodiments of the present disclosure may be used to execute the method described in the above method embodiments, and specific implementation thereof may refer to the description of the above method embodiments, and for brevity, will not be described again here.
Embodiments of the present specification also provide a computer device, which at least includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the method according to any of the foregoing embodiments when executing the program.
Fig. 9 is a schematic diagram illustrating a more specific hardware structure of a computing device according to an embodiment of the present disclosure, where the computing device may include: a processor 901, a memory 902, an input/output interface 903, a communication interface 904, and a bus 905. Wherein the processor 901, the memory 902, the input/output interface 903 and the communication interface 904 enable a communication connection within the device with each other through a bus 905.
The processor 901 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present specification. The processor 901 may further include a display card, which may be an Nvidia titan X display card or a 1080Ti display card, etc.
The Memory 902 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 902 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 902 and called by the processor 901 for execution.
The input/output interface 903 is used for connecting an input/output module to realize information input and output. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 904 is used for connecting a communication module (not shown in the figure) to realize communication interaction between the device and other devices. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 905 includes a pathway to transfer information between various components of the device, such as processor 901, memory 902, input/output interface 903, and communication interface 904.
It should be noted that although the above-mentioned device only shows the processor 901, the memory 902, the input/output interface 903, the communication interface 904 and the bus 905, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
The embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method of any of the foregoing embodiments.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
From the above description of the embodiments, it is clear to those skilled in the art that the embodiments of the present disclosure can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the embodiments of the present specification may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments of the present specification.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
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, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points. The above-described apparatus embodiments are merely illustrative, and the modules described as separate components may or may not be physically separate, and the functions of the modules may be implemented in one or more software and/or hardware when implementing the embodiments of the present disclosure. And part or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The foregoing is only a specific embodiment of the embodiments of the present disclosure, and it should be noted that, for those skilled in the art, a plurality of modifications and decorations can be made without departing from the principle of the embodiments of the present disclosure, and these modifications and decorations should also be regarded as the protection scope of the embodiments of the present disclosure.