External platform docking test method and system, forwarding system and vehicle software system
By introducing a forwarding system into the vehicle software system to generate and manage target vehicle tags, the problem of environmental mismatch in external platform docking tests is solved, parallel operation of tests is realized, and work efficiency is improved.
Patent Information
- Application Number
- CN202111460702.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-02
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2041-12-02
AI Technical Summary
When the vehicle software system is connected to the external platform for testing, the environment mismatch causes the test to be unable to be parallel, reducing the work efficiency of technicians.
Through the forwarding system, a target vehicle tag is generated, and a target call link is generated based on the tag to realize the target interface call of the external platform. The forwarding system manages vehicle tags and environment matching to ensure parallelism of tests.
The parallel operation of docking tests between different vehicle software systems and external platforms has been realized, which improves the work efficiency of technicians and simplifies the management of third-party CP/SP platforms.
Smart Images

Figure CN114116508B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to an external platform docking test method and system, a forwarding system and a vehicle software system. Background Art
[0002] At present, the vehicle manufacturer platform (automotive platform) generally includes four different versions of vehicle software systems corresponding to the four environments of development, testing, pre-production, and production according to the manufacturing and safety processes. With the continuous changes in Internet online business, the vehicle manufacturer platform needs to connect to various CP / SP (Content Provider / Service Provider) platforms.
[0003] Most of the CP / SP platforms on the Internet only have 2-3 sets of environments, such as only development and production environments, which cannot match the four sets of environments of the vehicle manufacturer's platform one by one. Therefore, during the docking test with the CP / SP platform, it is often necessary to switch the environment where the vehicle data is located and the platform callback configuration. The technical departments of both parties need to make continuous adjustments according to the test requirements. In addition, since the vehicle test involves various departments of the vehicle manufacturer, different departments often put forward different environmental test requirements at the same time, and the mismatch of the environment makes it impossible for such tests to be carried out in parallel, which greatly reduces the work efficiency of technical personnel. Summary of the invention
[0004] The purpose of the present invention is to provide an external platform docking test method and system, a forwarding system and a vehicle software system to solve the problem of environment mismatch during docking test with an external platform and improve the work efficiency of technicians.
[0005] In a first aspect, an embodiment of the present invention provides an external platform docking test method, which is applied to a forwarding system, wherein the forwarding system is connected to a plurality of vehicle software systems, and different vehicle software systems correspond to different vehicle factory environments; the method comprises:
[0006] When receiving external platform docking test information sent by a target vehicle software system, generating a target vehicle tag corresponding to the target vehicle software system according to the target vehicle identifier in the external platform docking test information, wherein the target vehicle software system is one of the plurality of vehicle software systems;
[0007] The target vehicle tag is sent to the target vehicle software system, so that the target vehicle software system generates a target call link based on the target vehicle tag, and the target vehicle corresponding to the target vehicle identifier calls the target interface of the external platform based on the target call link, and the vehicle factory environment where the target interface is located corresponds to the vehicle factory environment where the target vehicle software system is located;
[0008] When receiving the business processing result information sent by the external platform, determining the target vehicle software system corresponding to the target vehicle tag in the business processing result information; wherein the business processing result information is obtained by the external platform performing business processing on the business data in the target call link;
[0009] The business processing result information is sent to the target vehicle software system, so that the target vehicle software system forwards the business processing result information to the target vehicle.
[0010] Furthermore, generating a target vehicle tag according to the target vehicle identifier in the external platform docking test information includes:
[0011] The target vehicle identification and timestamp in the external platform docking test information are encrypted to obtain a target vehicle tag.
[0012] Furthermore, the target call link is a software activation link, and the business processing result information includes an activation result; before receiving the business processing result information sent by the external platform, the method further includes:
[0013] When receiving the vehicle verification information sent by the external platform, determining the target vehicle software system corresponding to the target vehicle tag in the vehicle verification information;
[0014] Sending the vehicle verification information to the target vehicle software system so that the target vehicle software system performs legitimacy verification of vehicle data based on the vehicle verification information;
[0015] When receiving the verification result information sent by the target vehicle software system, determining the target vehicle identification corresponding to the target vehicle tag in the verification result information;
[0016] Determine a basic call link corresponding to the target vehicle identifier according to a pre-configured correspondence between the vehicle identifier and the call link of the external platform, wherein the basic call link is used to call the target interface;
[0017] The verification result information is sent to the external platform through the basic call link, so that the external platform performs software activation based on the verification result information and generates an activation result.
[0018] Furthermore, the target call link is a target payment link, and the business processing result information includes a payment result.
[0019] Furthermore, the target vehicle identifier is a vehicle identification code, and the external platform includes a content provider platform or a service provider platform.
[0020] In a second aspect, an embodiment of the present invention further provides an external platform docking test method, which is applied to a vehicle software system, wherein the vehicle software system is connected to a forwarding system, and different vehicle software systems correspond to different vehicle factory environments; the method comprises:
[0021] When receiving an external call request sent by a target vehicle corresponding to the vehicle software system, obtaining a target vehicle identifier from the external call request;
[0022] Sending the external platform docking test information carrying the target vehicle identification to the forwarding system;
[0023] When receiving the target vehicle tag generated based on the target vehicle identification and sent by the forwarding system, generating a target call link according to the target vehicle tag;
[0024] Sending the target call link to the target vehicle, so that the target vehicle calls the target interface of the external platform based on the target call link, wherein the vehicle factory environment where the target interface is located corresponds to the vehicle factory environment where the vehicle software system is located;
[0025] When the business processing result information sent by the forwarding system is received, the business processing result information is forwarded to the target vehicle; wherein the business processing result information is obtained by the external platform performing business processing on the business data in the target call link.
[0026] Furthermore, generating a target call link according to the target vehicle tag includes:
[0027] Determine the basic call link corresponding to the target vehicle identifier according to the correspondence between the pre-configured vehicle identifier and the call link of the external platform;
[0028] The basic call link, the target vehicle tag and the business data in the external call request are assembled to obtain a target call link.
[0029] Furthermore, the target call link is a software activation link, and the service processing result information includes an activation result; before receiving the service processing result information sent by the forwarding system, the method further includes:
[0030] When receiving the vehicle verification information sent by the forwarding system from the external platform, verifying the legitimacy of the vehicle data in the vehicle verification information to obtain verification result information;
[0031] The verification result information is sent to the forwarding system, so that the forwarding system forwards the verification result information to the external platform, and the external platform performs software activation based on the verification result information to generate an activation result.
[0032] In a third aspect, an embodiment of the present invention further provides a forwarding system, wherein the forwarding system is connected to a plurality of vehicle software systems, and different vehicle software systems correspond to different vehicle factory environments; the forwarding system comprises:
[0033] a label generation module, for generating a target vehicle label corresponding to the target vehicle software system according to the target vehicle identifier in the external platform docking test information when receiving the external platform docking test information sent by the target vehicle software system, wherein the target vehicle software system is one of the plurality of vehicle software systems;
[0034] A first sending module is used to send the target vehicle tag to the target vehicle software system, so that the target vehicle software system generates a target call link based on the target vehicle tag, and the target vehicle corresponding to the target vehicle identifier calls the target interface of the external platform based on the target call link, and the vehicle factory environment where the target interface is located corresponds to the vehicle factory environment where the target vehicle software system is located;
[0035] A system determination module, configured to determine, upon receiving the business processing result information sent by the external platform, a target vehicle software system corresponding to the target vehicle tag in the business processing result information; wherein the business processing result information is obtained by the external platform performing business processing on the business data in the target call link;
[0036] The first sending module is further used to send the business processing result information to the target vehicle software system, so that the target vehicle software system forwards the business processing result information to the target vehicle.
[0037] Further, the target call link is a software activation link, and the business processing result information includes an activation result;
[0038] The system determination module is also used to determine the target vehicle software system corresponding to the target vehicle tag in the vehicle verification information when receiving the vehicle verification information sent by the external platform;
[0039] The first sending module is further used to send the vehicle verification information to the target vehicle software system, so that the target vehicle software system performs legitimacy verification of vehicle data based on the vehicle verification information;
[0040] The forwarding system also includes a link determination module, which is used to determine the target vehicle identifier corresponding to the target vehicle tag in the verification result information when the verification result information sent by the target vehicle software system is received, and determine the basic call link corresponding to the target vehicle identifier according to the correspondence between the pre-configured vehicle identifier and the call link of the external platform, wherein the basic call link is used to call the target interface;
[0041] The first sending module is further used to send the verification result information to the external platform through the basic call link, so that the external platform performs software activation based on the verification result information and generates an activation result.
[0042] In a fourth aspect, an embodiment of the present invention further provides a vehicle software system, wherein the vehicle software system is connected to a forwarding system, and different vehicle software systems correspond to different vehicle factory environments; the vehicle software system comprises:
[0043] An identification acquisition module, configured to, when receiving an external call request sent by a target vehicle corresponding to the vehicle software system, acquire the target vehicle identification from the external call request;
[0044] A second sending module is used to send the external platform docking test information carrying the target vehicle identification to the forwarding system;
[0045] A link generation module, configured to generate a target call link according to the target vehicle tag when receiving the target vehicle tag generated based on the target vehicle identifier and sent by the forwarding system;
[0046] The second sending module is further used to send the target call link to the target vehicle, so that the target vehicle calls the target interface of the external platform based on the target call link, and the vehicle factory environment where the target interface is located corresponds to the vehicle factory environment where the vehicle software system is located;
[0047] The second sending module is also used to forward the business processing result information to the target vehicle when receiving the business processing result information sent by the forwarding system; wherein the business processing result information is obtained by the external platform performing business processing on the business data in the target call link.
[0048] Furthermore, the target call link is a software activation link, and the business processing result information includes an activation result; the vehicle software system further includes:
[0049] A verification module, configured to verify the legitimacy of the vehicle data in the vehicle verification information when receiving the vehicle verification information sent by the forwarding system from the external platform, and obtain verification result information;
[0050] The second sending module is further used to send the verification result information to the forwarding system, so that the forwarding system forwards the verification result information to the external platform, and enables the external platform to perform software activation based on the verification result information and generate an activation result.
[0051] In the fifth aspect, an embodiment of the present invention further provides an external platform docking test system, comprising the forwarding system described in the third aspect, and also comprising multiple vehicle software systems described in the fourth aspect, wherein the forwarding system is connected to the multiple vehicle software systems.
[0052] In a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to execute the method described in the first aspect or the second aspect.
[0053] In the external platform docking test method and system, forwarding system and vehicle software system provided by the embodiments of the present invention, the forwarding system is connected to multiple vehicle software systems, and different vehicle software systems correspond to different vehicle factory environments; when performing a docking test between the target vehicle software system and the external platform, the target vehicle software system sends the external platform docking test information to the forwarding system; the forwarding system generates a target vehicle tag corresponding to the target vehicle software system based on the target vehicle identifier in the external platform docking test information, and then sends the target vehicle tag to the target vehicle software system; the target vehicle software system generates a target call link based on the target vehicle tag, and sends the target call link to the target vehicle corresponding to the target vehicle identifier, so that the target vehicle calls the target interface of the external platform based on the target call link, and the vehicle factory environment where the target interface is located corresponds to the vehicle factory environment where the target vehicle software system is located; the external platform can perform business processing based on the business data in the target call link, and send the business processing result information to the forwarding system; the forwarding system sends the business processing result information to the target vehicle software system based on the target vehicle tag, and then forwards it to the target vehicle to complete the test process. In this way, during the external platform docking test, the forwarding system only needs to manage the vehicle label and vehicle software system matching, which is transparent to the third-party CP / SP platform. In addition, the docking tests of different vehicle software systems and external platforms can be performed in parallel, greatly improving work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0055] Figure 1 A system architecture diagram of an external platform docking test system provided by an embodiment of the present invention;
[0056] Figure 2 A modular block diagram of a forwarding system provided by an embodiment of the present invention;
[0057] Figure 3 A structural block diagram of an external platform docking test system provided by an embodiment of the present invention;
[0058] Figure 4 A flow chart of an external platform docking test method provided by an embodiment of the present invention;
[0059] Figure 5 A flowchart of another external platform docking test method provided by an embodiment of the present invention;
[0060] Figure 6 A flowchart of another external platform docking test method provided by an embodiment of the present invention;
[0061] Figure 7 A structural block diagram of a forwarding system provided by an embodiment of the present invention;
[0062] Figure 8 A structural block diagram of a vehicle software system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0063] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0064] At present, the vehicle manufacturer platform generally adopts four environments: development, testing, pre-production, and production. However, most of the various CP / SP platforms that the vehicle manufacturer platform needs to connect to have only 2-3 environments. For example, a payment platform has only a development environment and a production environment, and only configures callback links corresponding to the development environment and production environment of the vehicle manufacturer platform. The development environment of the payment platform can be used to connect to the development and test environments of the vehicle manufacturer platform, and the production environment of the payment platform can be used to connect to the pre-production and production environments of the vehicle manufacturer platform. In this case, for the payment data sent by the vehicle software system corresponding to the test environment of the vehicle manufacturer platform to the payment platform, the payment platform can only return the results to the vehicle software system corresponding to the development environment, and cannot complete the docking test. Therefore, during the docking test with the CP / SP platform, the vehicle manufacturer platform needs to constantly switch the environment where the vehicle data is located and the platform callback configuration, resulting in the inability to conduct docking tests between vehicle software systems in different environments and external platforms in parallel, which greatly reduces the work efficiency of technicians. Based on this, an external platform docking test method and system, forwarding system and vehicle software system provided in an embodiment of the present invention only need to perform matching management on vehicle labels and vehicle software systems, which is transparent to third-party CP / SP platforms, and can realize parallel operation of docking tests between different vehicle software systems and external platforms, thereby improving work efficiency.
[0065] See also Figure 1 A system architecture diagram of an external platform docking test system is shown, which includes an interconnected vehicle manufacturer platform 100 and a forwarding system 102, and also includes a vehicle 103 and a CP / SP platform 104 to be called by the vehicle 103, wherein the vehicle manufacturer platform 100 includes four vehicle software systems corresponding to four environments of development, testing, pre-production, and production; the vehicle 103 can be a test vehicle computer, which is the abbreviation of an in-vehicle infotainment product installed in a vehicle, and the vehicle computer can functionally realize information communication between people and vehicles, and between vehicles and the outside world (i.e., vehicles and vehicles); the CP / SP platform 104 can be any third-party external platform to be docked.
[0066] like Figure 1 As shown, when a vehicle 103 in a certain environment obtains an external call link from a vehicle software system corresponding to a corresponding environment of the vehicle manufacturer platform 100, the forwarding system 102 first records the vehicle tag corresponding to the vehicle 103, and then the corresponding vehicle software system sends an external call link carrying the vehicle tag to the vehicle 103. After that, the vehicle 103 calls the CP / SP platform 104 through the received external call link, and the CP / SP platform 104 will call back to the forwarding system 102. The forwarding system 102 calls the vehicle software system corresponding to the corresponding environment in the vehicle manufacturer platform 100 according to the recorded vehicle tag, thereby completing the docking test of the vehicle 103 calling the CP / SP platform 104.
[0067] The technicians of the vehicle factory can manage the vehicle labels and environment matching in the forwarding system. The embodiment of the present invention also provides a modular block diagram of the forwarding system, such as Figure 2 As shown, the forwarding system 102 includes modules such as visualization configuration, environment configuration, label library, call chain tracking and callback rule library, among which the visualization configuration module can realize the visualization of relevant information, such as the technicians of the vehicle factory can view the recorded label information; the environment configuration module is used to match the environment (vehicle software system) with the vehicle label; the label library module is used to store the recorded vehicle label; the call chain tracking module is used to perform call chain tracking management; the callback rule library module is used to perform environment matching during callback. Through the visualization configuration module and call chain tracking management, the vehicle label is associated with the call chain within each environment, which can provide a visual tracking tool for technicians such as testing, development, and operation and maintenance.
[0068] See also Figure 3 The structural block diagram of an external platform docking test system shown in the figure, an embodiment of the present invention provides an external platform docking test system, the external platform docking test system includes a forwarding system 102 and multiple vehicle software systems 101, the forwarding system 102 is connected to the multiple vehicle software systems 101, and different vehicle software systems correspond to different vehicle factory environments. For example, the vehicle factory environment includes four environments of development, testing, pre-production and production, and the external platform docking test system includes four vehicle software systems 101 corresponding to the four environments respectively.
[0069] To facilitate understanding of the working process of the external platform docking test system, an external platform docking test method disclosed in an embodiment of the present invention and applied to the external platform docking test system is described in detail below.
[0070] See also Figure 4 Flow chart of an external platform docking test method shown in FIG. 1 . When performing a docking test between a target vehicle software system and an external platform, the external platform docking test method includes the following steps, wherein the target vehicle software system is one of the above-mentioned multiple vehicle software systems 101, and the external platform includes a content provider platform or a service provider platform (CP / SP platform):
[0071] Step S402: When the target vehicle software system receives an external call request sent by the target vehicle, it obtains the target vehicle identification from the external call request.
[0072] The target vehicle identification may be a VIN (Vehicle Identification Number). The target vehicle can only be connected to the target vehicle software system in the same vehicle manufacturer environment.
[0073] Step S404: the target vehicle software system sends the external platform docking test information carrying the target vehicle identification to the forwarding system.
[0074] Step S406, the forwarding system generates a target vehicle tag corresponding to the target vehicle software system according to the target vehicle identifier in the external platform docking test information.
[0075] In some possible embodiments, the target vehicle identification and timestamp in the external platform docking test information may be encrypted to obtain a target vehicle tag.
[0076] Step S408: the forwarding system sends the target vehicle tag to the target vehicle software system.
[0077] Step S410: the target vehicle software system generates a target call link according to the target vehicle tag.
[0078] The target vehicle software system stores the correspondence between the pre-configured vehicle identification and the call link of the external platform. Based on this, step S410 can be implemented through the following process: determine the basic call link corresponding to the target vehicle identification according to the correspondence between the pre-configured vehicle identification and the call link of the external platform; assemble the basic call link, the target vehicle tag and the business data in the external call request to obtain the target call link.
[0079] Step S412: the target vehicle software system sends the target call link to the target vehicle.
[0080] The target vehicle can call the target interface of the external platform based on the target call link, and the vehicle factory environment where the target interface is located corresponds to the vehicle factory environment where the target vehicle software system is located. For example, the external platform includes two interfaces in the development environment and the production environment respectively. When the vehicle factory environment where the target vehicle software system is located is the development environment or the test environment, the target vehicle calls the target interface in the development environment; when the vehicle factory environment where the target vehicle software system is located is the pre-production environment or the production environment, the target vehicle calls the target interface in the production environment.
[0081] The external platform verifies the legitimacy of the user based on the key carried by the target call link. After the verification, it processes the business data carried by the target call link, obtains the business processing result information, and calls back the business processing result information to the forwarding system. The business processing result information includes the target vehicle label.
[0082] Step S414, when the forwarding system receives the business processing result information sent by the external platform, it determines the target vehicle software system corresponding to the target vehicle tag in the business processing result information.
[0083] Step S416: the forwarding system sends the business processing result information to the target vehicle software system.
[0084] Step S418: the target vehicle software system forwards the business processing result information to the target vehicle.
[0085] This completes the testing process.
[0086] The external platform docking test method provided by the embodiment of the present invention, when performing the docking test between the target vehicle software system and the external platform, the target vehicle software system sends the external platform docking test information to the forwarding system; the forwarding system generates the target vehicle label corresponding to the target vehicle software system according to the target vehicle identification in the external platform docking test information, and then sends the target vehicle label to the target vehicle software system; the target vehicle software system generates a target call link based on the target vehicle label, and sends the target call link to the target vehicle corresponding to the target vehicle identification, so that the target vehicle calls the target interface of the external platform based on the target call link, and the vehicle factory environment where the target interface is located corresponds to the vehicle factory environment where the target vehicle software system is located; the external platform can perform business processing based on the business data in the target call link, and send the business processing result information to the forwarding system; the forwarding system sends the business processing result information to the target vehicle software system based on the target vehicle label, and then forwards it to the target vehicle to complete the test process. In this way, during the external platform docking test process, only the forwarding system needs to perform matching management of the vehicle label and the vehicle software system on the vehicle, which is transparent to the third-party CP / SP platform, and the docking tests of different vehicle software systems and the external platform can be operated in parallel, which greatly improves the work efficiency.
[0087] The embodiment of the present invention also provides another external platform docking test method, in which the external platform is A software cloud platform, and the method is a process of testing the validity of A software on the target vehicle. The basic activation link of A software cloud platform (i.e. the above-mentioned basic call link) is configured in each vehicle software system and forwarding system. Figure 5 Another external platform docking test method is shown in the flowchart, the method comprising the following steps:
[0088] Step S502: When the target vehicle software system receives the A software activation request sent by the target vehicle, the target vehicle software system obtains the target vehicle identification from the A software activation request.
[0089] When the target vehicle detects that software A needs to be activated, it sends a software A activation request to the target vehicle software system. The software A activation request carries the target vehicle identification and activation data of the target vehicle. The activation data may include vehicle data.
[0090] Step S504: the target vehicle software system sends the software activation information carrying the target vehicle identification to the forwarding system.
[0091] Step S506: the forwarding system generates a target vehicle tag corresponding to the target vehicle software system according to the target vehicle identifier in the software activation information.
[0092] The forwarding system will record the correspondence between the target vehicle label and the target vehicle software system.
[0093] Step S508: the forwarding system sends the target vehicle tag to the target vehicle software system.
[0094] Step S510: the target vehicle software system generates a software activation link according to the target vehicle tag.
[0095] The target vehicle software system is configured with a basic activation link of the A software cloud platform, and stores the software identification of the A software cloud platform installed on the target vehicle (i.e., the correspondence between the vehicle identification of the target vehicle and the basic activation link of the A software cloud platform is stored). Therefore, the basic activation link can be determined according to the software identification of the A software cloud platform installed on the target vehicle, and the basic activation link, the target vehicle label and the activation data carried in the A software activation request are assembled to obtain the software activation link.
[0096] Step S512: the target vehicle software system sends the software activation link to the target vehicle.
[0097] The target vehicle can call the target activation interface of the A software cloud platform based on the software activation link. The vehicle factory environment where the target activation interface is located corresponds to the vehicle factory environment where the target vehicle software system is located. The A software cloud platform verifies the legitimacy of the user based on the key carried by the software activation link. After the verification is passed, the legitimacy of the vehicle data needs to be verified. Therefore, the vehicle verification information will be sent to the forwarding system, and the vehicle verification information includes the target vehicle tag.
[0098] Step S514, when the forwarding system receives the vehicle verification information sent by the A software cloud platform, it determines the target vehicle software system corresponding to the target vehicle tag in the vehicle verification information.
[0099] Step S516, the forwarding system sends the vehicle verification information to the target vehicle software system.
[0100] Step S518: the target vehicle software system verifies the legitimacy of the vehicle data in the vehicle verification information and obtains verification result information.
[0101] Step S520: The target vehicle software system sends the verification result information to the forwarding system.
[0102] Step S522, the forwarding system determines the target vehicle identification corresponding to the target vehicle tag in the verification result information.
[0103] Step S524, the forwarding system determines the basic activation link corresponding to the target vehicle identification according to the pre-configured correspondence between the vehicle identification and the call link of the external platform.
[0104] The basic activation link is used to call the target activation interface of the A software cloud platform.
[0105] Step S526, the forwarding system sends the verification result information to the A software cloud platform through the basic activation link.
[0106] A software cloud platform can perform software activation based on the verification result information, generate activation results, record software licenses, identify license status, and call back activation processing result information including activation results and target vehicle tags to the forwarding system.
[0107] Step S528, when the forwarding system receives the activation processing result information sent by the external platform, it determines the target vehicle software system corresponding to the target vehicle tag in the activation processing result information.
[0108] Step S530: the forwarding system sends the activation processing result information to the target vehicle software system.
[0109] Step S532: the target vehicle software system forwards the activation result in the activation processing result information to the target vehicle.
[0110] In this way, the target vehicle can record the software license, identify the activation status, and complete the A software activation test process.
[0111] The embodiment of the present invention also provides another external platform docking test method, in which the external platform is a payment platform B, and the method is a payment callback test process for the target vehicle to perform the payment platform B. Figure 6 Another external platform docking test method is shown in the flowchart, the method comprising the following steps:
[0112] Step S602: When the target vehicle software system receives a payment request from payment platform B sent by the target vehicle, it obtains the target vehicle identification from the payment request.
[0113] The payment request carries a target vehicle identifier and payment data of the target vehicle.
[0114] Step S604: the target vehicle software system sends the payment information carrying the target vehicle identification to the forwarding system.
[0115] Step S606: The forwarding system generates a target vehicle tag corresponding to the target vehicle software system according to the target vehicle identifier in the payment information.
[0116] Step S608: the forwarding system sends the target vehicle tag to the target vehicle software system.
[0117] Step S610: the target vehicle software system generates a target payment link according to the target vehicle tag.
[0118] The target vehicle software system is configured with a basic payment link of payment platform B, and stores the software identifier of payment platform B installed on the target vehicle (i.e., the correspondence between the vehicle identifier of the target vehicle and the basic payment link of payment platform B is stored). Therefore, the basic payment link can be determined based on the software identifier of payment platform B installed on the target vehicle, and the basic activation link, target vehicle label and payment data carried in the payment request can be assembled to obtain the target payment link.
[0119] Step S612: the target vehicle software system sends the target payment link to the target vehicle.
[0120] The target vehicle can call the target payment interface of the B payment platform based on the target payment link. The vehicle factory environment where the target payment interface is located corresponds to the vehicle factory environment where the target vehicle software system is located. The B payment platform verifies the legitimacy of the user based on the key carried by the target payment link. After the verification, it processes the payment data carried by the target payment link to obtain the payment result, and calls back the payment processing result information including the payment result and the target vehicle tag to the forwarding system. Among them, the payment data may include parameter data specified by the target payment interface such as the payment amount, order number and product name.
[0121] Step S614, when the forwarding system receives the payment processing result information sent by the B payment platform, it determines the target vehicle software system corresponding to the target vehicle tag in the payment processing result information.
[0122] Step S616, the forwarding system sends the payment processing result information to the target vehicle software system.
[0123] Step S618: the target vehicle software system forwards the payment result in the payment processing result information to the target vehicle.
[0124] In this way, the target vehicle can obtain and record the payment result and complete the payment callback test process for payment platform B.
[0125] The embodiment of the present invention further provides a forwarding system, which is connected to multiple vehicle software systems, and different vehicle software systems correspond to different vehicle factory environments; see Figure 7A structural block diagram of a forwarding system is shown, the forwarding system comprising:
[0126] The label generation module 72 is used to generate a target vehicle label corresponding to the target vehicle software system according to the target vehicle identifier in the external platform docking test information when receiving the external platform docking test information sent by the target vehicle software system, wherein the target vehicle software system is one of the multiple vehicle software systems;
[0127] The first sending module 74 is used to send the target vehicle tag to the target vehicle software system, so that the target vehicle software system generates a target call link based on the target vehicle tag, and the target vehicle corresponding to the target vehicle identifier calls the target interface of the external platform based on the target call link, and the vehicle factory environment where the target interface is located corresponds to the vehicle factory environment where the target vehicle software system is located;
[0128] The system determination module 76 is used to determine the target vehicle software system corresponding to the target vehicle tag in the business processing result information when receiving the business processing result information sent by the external platform; wherein the business processing result information is obtained by the external platform performing business processing on the business data in the target call link;
[0129] The first sending module 74 is further used to send the business processing result information to the target vehicle software system, so that the target vehicle software system forwards the business processing result information to the target vehicle.
[0130] Furthermore, the label generation module 72 is specifically used to encrypt the target vehicle identification and timestamp in the external platform docking test information to obtain the target vehicle label.
[0131] Furthermore, the target call link is a software activation link, and the business processing result information includes an activation result;
[0132] The system determination module 76 is also used to determine the target vehicle software system corresponding to the target vehicle tag in the vehicle verification information when the vehicle verification information sent by the external platform is received;
[0133] The first sending module 74 is also used to send the vehicle verification information to the target vehicle software system, so that the target vehicle software system performs the legitimacy verification of the vehicle data based on the vehicle verification information;
[0134] The forwarding system further includes a link determination module connected to the first sending module 74, which is used to determine the target vehicle identifier corresponding to the target vehicle tag in the verification result information when the verification result information sent by the target vehicle software system is received, and determine the basic call link corresponding to the target vehicle identifier according to the correspondence between the pre-configured vehicle identifier and the call link of the external platform, and the basic call link is used to call the target interface;
[0135] The first sending module 74 is further used to send the verification result information to the external platform through the basic call link, so that the external platform performs software activation based on the verification result information and generates an activation result.
[0136] Furthermore, the above-mentioned target call link is a target payment link, and the business processing result information includes the payment result.
[0137] Furthermore, the target vehicle identifier is a vehicle identification code, and the external platform includes a content provider platform or a service provider platform.
[0138] The embodiment of the present invention further provides a vehicle software system, the vehicle software system is connected to the forwarding system, and different vehicle software systems correspond to different vehicle factory environments; see Figure 8 The structural block diagram of a vehicle software system shown in FIG. 1 , the vehicle software system includes:
[0139] The identification acquisition module 82 is used to obtain the target vehicle identification from the external call request when receiving the external call request sent by the target vehicle corresponding to the vehicle software system;
[0140] The second sending module 84 is used to send the external platform docking test information carrying the target vehicle identification to the forwarding system;
[0141] The link generation module 86 is used to generate a target call link according to the target vehicle tag when receiving the target vehicle tag generated based on the target vehicle identification sent by the forwarding system;
[0142] The second sending module 84 is further used to send the target call link to the target vehicle, so that the target vehicle calls the target interface of the external platform based on the target call link, and the vehicle factory environment where the target interface is located corresponds to the vehicle factory environment where the vehicle software system is located;
[0143] The second sending module 84 is also used to forward the business processing result information to the target vehicle when receiving the business processing result information sent by the forwarding system; wherein the business processing result information is obtained by the external platform performing business processing on the business data in the target call link.
[0144] Furthermore, the link generation module 86 is specifically used to: determine the basic call link corresponding to the target vehicle identification according to the correspondence between the pre-configured vehicle identification and the call link of the external platform; assemble the basic call link, the target vehicle label and the business data in the external call request to obtain the target call link.
[0145] Furthermore, the target call link is a software activation link, and the business processing result information includes an activation result; the vehicle software system further includes:
[0146] The verification module connected to the second sending module 84 is used to verify the legitimacy of the vehicle data in the vehicle verification information when receiving the vehicle verification information sent by the forwarding system from the external platform, and obtain the verification result information;
[0147] The second sending module 84 is further used to send the verification result information to the forwarding system, so that the forwarding system forwards the verification result information to the external platform, and enables the external platform to perform software activation based on the verification result information and generate an activation result.
[0148] The forwarding system and vehicle software system provided in this embodiment have the same implementation principles and technical effects as those of the aforementioned method embodiments. For the sake of brief description, for matters not mentioned in the forwarding system and vehicle software system embodiments, reference may be made to the corresponding contents in the aforementioned method embodiments.
[0149] The embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the external platform docking test method described in the previous method embodiment is executed. The computer-readable storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a RAM, a magnetic disk or an optical disk, and other media that can store program codes.
[0150] In all examples shown and described herein, any specific values should be interpreted as merely exemplary and not as limiting, and thus other examples of the exemplary embodiments may have different values.
[0151] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the system, method and computer program product according to multiple embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0152] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0153] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0154] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0155] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for testing an external platform connection, characterized in that: Applied to a forwarding system, the forwarding system is connected to a plurality of vehicle software systems, and different vehicle software systems correspond to different vehicle factory environments; the method comprises: When receiving external platform docking test information sent by a target vehicle software system, generating a target vehicle tag corresponding to the target vehicle software system according to the target vehicle identifier in the external platform docking test information, wherein the target vehicle software system is one of the plurality of vehicle software systems; The target vehicle tag is sent to the target vehicle software system, so that the target vehicle software system generates a target call link based on the target vehicle tag, and the target vehicle corresponding to the target vehicle identifier calls the target interface of the external platform based on the target call link, and the vehicle factory environment where the target interface is located corresponds to the vehicle factory environment where the target vehicle software system is located; When receiving the business processing result information sent by the external platform, determining the target vehicle software system corresponding to the target vehicle tag in the business processing result information; wherein the business processing result information is obtained by the external platform performing business processing on the business data in the target call link; The business processing result information is sent to the target vehicle software system, so that the target vehicle software system forwards the business processing result information to the target vehicle.
2. The external platform docking test method according to claim 1, characterized in that: The step of generating a target vehicle tag according to the target vehicle identifier in the external platform docking test information includes: The target vehicle identification and timestamp in the external platform docking test information are encrypted to obtain a target vehicle tag.
3. The external platform docking test method according to claim 1, characterized in that: The target call link is a software activation link, and the business processing result information includes an activation result; before receiving the business processing result information sent by the external platform, the method further includes: When receiving the vehicle verification information sent by the external platform, determining the target vehicle software system corresponding to the target vehicle tag in the vehicle verification information; Sending the vehicle verification information to the target vehicle software system so that the target vehicle software system performs legitimacy verification of vehicle data based on the vehicle verification information; When receiving the verification result information sent by the target vehicle software system, determining the target vehicle identification corresponding to the target vehicle tag in the verification result information; Determine a basic call link corresponding to the target vehicle identifier according to a pre-configured correspondence between the vehicle identifier and the call link of the external platform, wherein the basic call link is used to call the target interface; The verification result information is sent to the external platform through the basic call link, so that the external platform performs software activation based on the verification result information and generates an activation result.
4. The external platform docking test method according to claim 1, characterized in that: The target call link is a target payment link, and the business processing result information includes a payment result.
5. The external platform docking test method according to claim 1, characterized in that: The target vehicle identifier is a vehicle identification code, and the external platform includes a content provider platform or a service provider platform.
6. An external platform docking test method, characterized in that: Applied to a vehicle software system, the vehicle software system is connected to a forwarding system, and different vehicle software systems correspond to different vehicle factory environments; the method comprises: When receiving an external call request sent by a target vehicle corresponding to the vehicle software system, obtaining a target vehicle identifier from the external call request; Sending the external platform docking test information carrying the target vehicle identification to the forwarding system; When receiving the target vehicle tag generated based on the target vehicle identification and sent by the forwarding system, generating a target call link according to the target vehicle tag; Sending the target call link to the target vehicle, so that the target vehicle calls the target interface of the external platform based on the target call link, wherein the vehicle factory environment where the target interface is located corresponds to the vehicle factory environment where the vehicle software system is located; When the business processing result information sent by the forwarding system is received, the business processing result information is forwarded to the target vehicle; wherein the business processing result information is obtained by the external platform performing business processing on the business data in the target call link.
7. The external platform docking test method according to claim 6, characterized in that: The step of generating a target call link according to the target vehicle tag includes: Determine the basic call link corresponding to the target vehicle identifier according to the correspondence between the pre-configured vehicle identifier and the call link of the external platform; The basic call link, the target vehicle tag and the business data in the external call request are assembled to obtain a target call link.
8. The external platform docking test method according to claim 6, characterized in that: The target call link is a software activation link, and the service processing result information includes an activation result; before receiving the service processing result information sent by the forwarding system, the method further includes: When receiving the vehicle verification information sent by the forwarding system from the external platform, verifying the legitimacy of the vehicle data in the vehicle verification information to obtain verification result information; The verification result information is sent to the forwarding system, so that the forwarding system forwards the verification result information to the external platform, and the external platform performs software activation based on the verification result information to generate an activation result.
9. A forwarding system, characterized in that: The forwarding system is connected to a plurality of vehicle software systems, and different vehicle software systems correspond to different vehicle factory environments; the forwarding system includes: a label generation module, for generating a target vehicle label corresponding to the target vehicle software system according to the target vehicle identifier in the external platform docking test information when receiving the external platform docking test information sent by the target vehicle software system, wherein the target vehicle software system is one of the plurality of vehicle software systems; A first sending module is used to send the target vehicle tag to the target vehicle software system, so that the target vehicle software system generates a target call link based on the target vehicle tag, and the target vehicle corresponding to the target vehicle identifier calls the target interface of the external platform based on the target call link, and the vehicle factory environment where the target interface is located corresponds to the vehicle factory environment where the target vehicle software system is located; A system determination module, configured to determine, upon receiving the business processing result information sent by the external platform, a target vehicle software system corresponding to the target vehicle tag in the business processing result information; wherein the business processing result information is obtained by the external platform performing business processing on the business data in the target call link; The first sending module is further used to send the business processing result information to the target vehicle software system, so that the target vehicle software system forwards the business processing result information to the target vehicle.
10. The forwarding system according to claim 9, characterized in that: The target call link is a software activation link, and the business processing result information includes an activation result; The system determination module is also used to determine the target vehicle software system corresponding to the target vehicle tag in the vehicle verification information when receiving the vehicle verification information sent by the external platform; The first sending module is further used to send the vehicle verification information to the target vehicle software system, so that the target vehicle software system performs legitimacy verification of vehicle data based on the vehicle verification information; The forwarding system also includes a link determination module, which is used to determine the target vehicle identifier corresponding to the target vehicle tag in the verification result information when the verification result information sent by the target vehicle software system is received, and determine the basic call link corresponding to the target vehicle identifier according to the correspondence between the pre-configured vehicle identifier and the call link of the external platform, wherein the basic call link is used to call the target interface; The first sending module is further used to send the verification result information to the external platform through the basic call link, so that the external platform performs software activation based on the verification result information and generates an activation result.
11. A vehicle software system, characterized in that: The vehicle software system is connected to the forwarding system, and different vehicle software systems correspond to different vehicle factory environments; the vehicle software system includes: An identification acquisition module, configured to, when receiving an external call request sent by a target vehicle corresponding to the vehicle software system, acquire the target vehicle identification from the external call request; A second sending module is used to send the external platform docking test information carrying the target vehicle identification to the forwarding system; A link generation module, configured to generate a target call link according to the target vehicle tag when receiving the target vehicle tag generated based on the target vehicle identifier and sent by the forwarding system; The second sending module is further used to send the target call link to the target vehicle, so that the target vehicle calls the target interface of the external platform based on the target call link, and the vehicle factory environment where the target interface is located corresponds to the vehicle factory environment where the vehicle software system is located; The second sending module is also used to forward the business processing result information to the target vehicle when receiving the business processing result information sent by the forwarding system; wherein the business processing result information is obtained by the external platform performing business processing on the business data in the target call link.
12. The vehicle software system according to claim 11, characterized in that: The target call link is a software activation link, and the business processing result information includes an activation result; the vehicle software system also includes: A verification module, configured to verify the legitimacy of the vehicle data in the vehicle verification information when receiving the vehicle verification information sent by the forwarding system from the external platform, and obtain verification result information; The second sending module is further used to send the verification result information to the forwarding system, so that the forwarding system forwards the verification result information to the external platform, and enables the external platform to perform software activation based on the verification result information and generate an activation result.
13. An external platform docking test system, characterized in that: It comprises the forwarding system as claimed in claim 9 or 10, and also comprises a plurality of vehicle software systems as claimed in claim 11 or 12, wherein the forwarding system is connected to the plurality of vehicle software systems.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is performed.
Citation Information
Patent Citations
A test method of a vehicle-mounted system and related equipment
CN109165162A
Virtual simulation test method and device applied to intelligent driving
CN111767630A