Script maintenance processing method, vehicle end and cloud end

The script maintenance processing method automates script updates by connecting a vehicle-side remote connection management module with a cloud console, reducing manpower needs and costs, and ensuring synchronized script updates for vehicle programs.

CN119088429APending Publication Date: 2024-12-06GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411042404.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The current script update and maintenance process for vehicle-side programs requires significant manpower and resources, leading to high costs and long iteration cycles.

Method used

A script maintenance processing method is implemented, utilizing a remote connection management module on the vehicle side to connect with a remote connection console on the cloud, allowing for automated script updates by sending vehicle model information to retrieve and apply target script data from a cloud-based database, eliminating the need for customized development on the vehicle side.

Benefits of technology

This method reduces human resource requirements and maintenance costs while ensuring timely and synchronized script updates, preventing function freezes and failures due to asynchronous script updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119088429A_ABST
    Figure CN119088429A_ABST
Patent Text Reader

Abstract

The invention provides a script maintenance processing method, a vehicle end and a cloud end. The method comprises the following steps: establishing connection between a remote connection management module and a remote connection console on a cloud; sending a script request carrying the target vehicle type information to a remote connection console through a remote connection management module, so that the remote connection console calls target script data corresponding to the script request from a target script database corresponding to the target vehicle type information; and receiving target script data fed back by the remote connection console by using the remote connection management module, performing script updating according to the target script data, and storing the updated script data. Thus, the remote connection management module of the vehicle end automatically updates the script after receiving the target script data sent by the remote connection console of the cloud end, a developer does not need to update and customize the development process for the script of the vehicle end, manpower research and development resources are saved, script maintenance is more convenient, and cost is saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a script maintenance and processing method, a vehicle side and a cloud side. Background Art

[0002] With the popularity of cars, the functions of the car side are increasing, so more and more programs are installed on the car side, and the running scripts of the programs need to be constantly updated.

[0003] At present, the running scripts of the vehicle-side programs generally require developers to invest a lot of manpower to maintain and update them, which requires high costs and long iteration cycles. Summary of the invention

[0004] In view of this, the purpose of this application is to propose a script maintenance processing method, vehicle side and cloud side, which is used to solve the problem that the current script update and maintenance requires developers to invest a lot of manpower to maintain and update, resulting in high maintenance costs and long iteration cycles.

[0005] Based on the above purpose, the first aspect of the present application provides a script maintenance processing method, which is applied to a vehicle side, and the vehicle side is provided with a remote connection management module, and the method includes:

[0006] Establishing a connection between the remote connection management module and the remote connection console on the cloud;

[0007] Sending a script request carrying target vehicle model information to the remote connection console through the remote connection management module, so that the remote connection console retrieves target script data corresponding to the script request from a target script database corresponding to the target vehicle model information;

[0008] The remote connection management module is used to receive the target script data fed back by the remote connection console, the script is updated according to the target script data, and the updated script data is stored.

[0009] Based on the same inventive concept, the second aspect of the present application provides a script maintenance processing method, which is applied to a cloud, where a remote connection console is provided, and the method includes:

[0010] Establishing a connection between the remote connection console and the remote connection management module on the vehicle side;

[0011] Receiving, via the remote connection console, a script request carrying target vehicle model information sent by the remote connection management module;

[0012] The remote connection console is used to determine a target script database according to the target vehicle model information, and the target script data corresponding to the script request is retrieved from the target script database, and the target script data is sent to the remote connection management module.

[0013] Based on the same inventive concept, the third aspect of the present application provides a vehicle side, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and also includes: a remote connection management module, wherein the processor implements the method described in the first aspect above when executing the program based on the remote connection management module.

[0014] Based on the same inventive concept, the fourth aspect of the present application also provides a cloud, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and also includes: a remote connection console, wherein the processor implements the method described in the second aspect above when executing the program based on the remote connection console.

[0015] From the above, it can be seen that the script maintenance processing method, vehicle side and cloud side provided by the present application, because the remote connection management module on the vehicle side has established a connection with the remote connection console on the cloud, so when the vehicle side needs to update the script, the remote connection management module will send a script request carrying the target vehicle model information to the remote connection console on the cloud; the remote connection console on the cloud can determine the target script database corresponding to the target vehicle model information, and then retrieve the target script data corresponding to the script request from the target script database; the remote connection management module on the vehicle side automatically updates the script after receiving the target script data sent by the remote connection console on the cloud; in this way, there is no need for developers to perform a customized development process for script updates on the vehicle side, which saves human resources for developing script updates on the vehicle side, making script maintenance more convenient and cost-saving. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0017] Figure 1 is a diagram of the execution process of the corresponding remote control in the related art;

[0018] Figure 2 This is a flowchart of a script maintenance processing method applied to a vehicle side according to an embodiment of the present application;

[0019] Figure 3This is a flowchart of a script maintenance processing method applied to the cloud in an embodiment of the present application;

[0020] Figure 4 A schematic diagram showing a script configuration interface according to an embodiment of the present application;

[0021] Figure 5 A schematic diagram showing a newly added interface of an embodiment of the present application;

[0022] Figure 6 A schematic diagram showing a trigger application check control in an embodiment of the present application;

[0023] Figure 7 A schematic diagram showing an application selection interface of an embodiment of the present application;

[0024] Figure 8 This is a schematic diagram showing a vehicle configuration page according to an embodiment of the present application;

[0025] Fig. 9 A schematic diagram showing a script configuration interface according to an embodiment of the present application;

[0026] Fig.10 A schematic diagram of the process of configuring the RCM script of an embodiment of the present application;

[0027] Fig.11 A schematic diagram showing the execution prediction of an embodiment of the present application;

[0028] Fig.12 A schematic diagram showing the execution of an embodiment of the present application;

[0029] Fig.13 This is an overall architecture diagram between the cloud, vehicle and APP in an embodiment of the present application;

[0030] Fig.14 A schematic diagram of the execution process of remote vehicle locking according to an embodiment of the present application;

[0031] Fig.15 This is a structural block diagram of a script maintenance processing device disposed on a vehicle side according to an embodiment of the present application;

[0032] Fig.16 This is a structural block diagram of a script maintenance processing device set in the cloud according to an embodiment of the present application;

[0033] Fig.17 A schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0034] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0035] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0036] Glossary:

[0037] APP, mobile application, mobile application software.

[0038] TSP, Telematics Service Provider, Internet of Vehicles service platform, after receiving APP request, converts it into TBOX / TSP communication language to issue remote control commands and receive remote control responses and execution results.

[0039] TBOX, Telematics BOX, is an on-board communication device responsible for communication interaction. It receives TSP remote control instructions and executes, forwards and reports the execution results.

[0040] ECU, electronic Control Unit, electronic controller.

[0041] CMP, communication card management platform.

[0042] RCM, Remote Control Management, remote control system.

[0043] HTTP, Hypertext Transfer Protocol, Hypertext Transfer Protocol.

[0044] MQTT, Message Queuing Telemetry Transport, message queue telemetry transport.

[0045] RAM, Random access memory, random access memory.

[0046] HUT, Head Unit System, host system.

[0047] The general process of remote control is as follows: Figure 1 As shown, specifically:

[0048] (1) The corresponding vehicle brand APP is installed on the user's terminal device, and the user can operate the APP to send remote control requests and responses to the vehicle network service platform TSP.

[0049] (2) When the vehicle network service platform TSP determines that the TBOX on the vehicle side is not online, it will send an offline SMS to the CMP to wake it up.

[0050] (3) CMP sends the wake-up SMS to the TBOX on the vehicle side.

[0051] (4) The TBOX on the vehicle side is awakened and successfully logs into the vehicle network service platform TSP.

[0052] (5) The vehicle network service platform TSP sends the remote control command to the TBOX on the vehicle side.

[0053] (6) The TBOX on the vehicle side responds to the remote control command and sends a response command to the vehicle network service platform TSP.

[0054] (7) The TBOX on the vehicle side sends instructions to the corresponding target ECU.

[0055] (8) The target ECU executes according to the sent instructions and feeds back the execution results to the TBOX on the vehicle side.

[0056] (9) The TBOX on the vehicle side reports the execution results to the vehicle network service platform TSP.

[0057] (10) The vehicle network service platform TSP confirms the execution result and sends the confirmation of the execution result to the TBOX and APP on the vehicle side.

[0058] (11) If the user finds that the corresponding execution result has not been completed through the APP, the user will poll the vehicle network service platform TSP to send a remote control request and response, and then repeat the above process (2) to (10).

[0059] However, if you want to accurately execute the corresponding remote control, both the vehicle network service platform TSP and the vehicle-side TBOX need to perform script update configuration. Generally, the scripts of the vehicle network service platform TSP and the vehicle-side TBOX are updated separately. This requires developers to spend a lot of manpower on research and development, and the research and development process takes a lot of time. It is easy for the vehicle network service platform TSP and the vehicle-side TBOX scripts to be out of sync, resulting in some remote functions being stuck or unable to execute.

[0060] Based on the above description, the embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0061] The script maintenance processing method proposed in the embodiment of the present application is applied to the vehicle side, and the vehicle side is provided with a remote connection management module (ie, vehicle side RCM).

[0062] Among them, the remote connection management module is set on the TBOX on the vehicle side, and the remote connection management module is connected to the CAN communication bus on the vehicle side, and the CAN communication bus is connected to the control system and various electronic controllers (ECU) on the vehicle side.

[0063] like Figure 2 As shown, the method includes:

[0064] Step 101, establishing a connection between the remote connection management module and the remote connection console on the cloud.

[0065] During specific implementation, the cloud includes: vehicle network service platform TSP, access gateway module and remote connection console (i.e. cloud RCM). The remote connection console is connected to the vehicle network service platform TSP through the access gateway module. The vehicle network service platform TSP can be connected to the user terminal with the APP installed through the network.

[0066] In order to ensure the update synchronization of the script data between the remote connection management module and the remote connection console, it is necessary to first establish a connection between the remote connection management module and the remote connection console, and the corresponding connection method adopts the HTTP connection method.

[0067] Step 102: Send a script request carrying target vehicle model information to the remote connection console through the remote connection management module, so that the remote connection console can retrieve target script data corresponding to the script request from a target script database corresponding to the target vehicle model information.

[0068] In specific implementation, a script update control is provided on the vehicle side. When the user triggers the script update control, it will trigger the remote connection management module to generate a script request, obtain the target vehicle model information stored in the vehicle side, add the target vehicle model information to the script request, and then send the script request carrying the target vehicle model information to the remote connection console in the cloud.

[0069] Alternatively, the vehicle side may receive information that the script in the remote connection console in the cloud has been updated, automatically triggering the remote connection management module to generate a script request, and obtain the target vehicle model information stored in the vehicle side, add the target vehicle model information to the script request, and then send the script request carrying the target vehicle model information to the remote connection console in the cloud.

[0070] The remote connection console in the cloud can maintain the scripts of various models, and set up a corresponding script database for each model to store some script data of the model. In this way, when the remote connection console in the cloud receives a script request carrying the target model information, it will search the corresponding target script database according to the target model information, and then search the target script data that needs to be updated from the target script database according to the script request, and send the target script data to the remote connection management module on the vehicle side.

[0071] Step 103: Utilize the remote connection management module to receive target script data fed back by the remote connection console, update the script according to the target script data, and store the updated script data.

[0072] During specific implementation, after receiving the target script data, the remote connection management module on the vehicle side will automatically update its own script data according to the target script data, and store the target script data at the same time.

[0073] The remote connection management module of the vehicle side includes: a system layer and a storage layer. The system layer is used to update its own script data according to the target script data, and the storage layer is used to store the script data. After receiving the target script data, the updated script data will be stored.

[0074] Through the above scheme, because the remote connection management module on the vehicle side has established a connection with the remote connection console on the cloud, when the vehicle side needs to update the script, a script request carrying the target vehicle model information will be sent to the remote connection console on the cloud through the remote connection management module; the remote connection console on the cloud can determine the target script database corresponding to the target vehicle model information, and then retrieve the target script data corresponding to the script request from the target script database; the remote connection management module on the vehicle side automatically updates the script after receiving the target script data sent by the remote connection console on the cloud; in this way, there is no need for developers to perform a customized development process for script updates on the vehicle side, which saves human resources for developing script updates on the vehicle side, makes script maintenance more convenient, and saves costs.

[0075] In some embodiments, based on the solution of step 101 above, step 102 includes:

[0076] Step 1021, after receiving the script update information sent by the access gateway module in the cloud by using the remote connection management module, a script request is generated according to the script update information.

[0077] In specific implementation, developers will perform script maintenance on the script database of the target vehicle model on the remote connection console in the cloud. After the script maintenance is completed, the remote connection console in the cloud will send script update information to the access gateway module, which will forward the script update information to the remote connection management module of each vehicle end corresponding to the target vehicle model through the access gateway module. In this way, the remote connection management module will generate a script request based on the script update information.

[0078] Step 1022: After adding the target vehicle model information to the script request through the remote connection management module, the script request carrying the target vehicle model information is sent to the remote connection console.

[0079] In specific implementation, the remote connection management module will retrieve the target vehicle model information on the vehicle side and add it to the script request. The specific way of adding it can be to place the code segment of the target vehicle model information at the head or tail of the script request. Then, the remote connection management module can send the script request carrying the target vehicle model information to the remote connection console.

[0080] After the above steps 1021 and 1022 are executed, the script maintenance process is completed by continuing to execute the process of the above step 103.

[0081] Through the above solution, after the script data is updated in the cloud, the vehicle-side remote connection management module will be automatically triggered to generate a corresponding script request carrying the target vehicle model information, and then automatically request the corresponding target script data from the cloud. This can achieve the purpose of automatic update and synchronization of the vehicle-side script, making the script synchronization more intelligent. There is no need for developers to develop script update programs for the vehicle side, saving human resources.

[0082] In some embodiments, based on the execution scheme of steps 101 to 103 above, after step 103, the following further steps are included:

[0083] Step 104, determining that the remote connection management module receives a control instruction for a target function from an access gateway module in the cloud.

[0084] In specific implementation, the user end is provided with an APP for remotely controlling the vehicle. The user triggers the control command for the target function (for example, the car lock command) through the APP. The APP sends it to the cloud through the Internet. The cloud will judge the control command and determine its corresponding vehicle end. After the vehicle end corresponding to the control command is determined, it will first determine whether the remote connection management module of the corresponding vehicle end is online. If it is not online, the remote connection management module will be awakened. Then the control command is sent to the remote connection management module of the corresponding vehicle end through the access gateway module.

[0085] Among them, the access gateway module on the cloud establishes a connection with the remote connection management module on the vehicle side through the MQTT connection method.

[0086] Step 105 , using the remote connection management module to perform script matching processing on the control instruction based on the stored updated script data, obtain a control request, and send the control request to the target executor corresponding to the target function.

[0087] In specific implementation, after receiving the control instruction, the remote connection management module will use the stored updated script data to perform script matching on the control instruction. After determining the matching script, the matching script parameters are set according to the control parameters corresponding to the control instruction to obtain the control request. In this way, the remote connection management module can send the control request to the corresponding target actuator. The target actuator is one or more of the multiple electronic controllers on the vehicle end that are used to execute the target function.

[0088] Step 106: Execute the target function according to the control request through the target executor.

[0089] During specific implementation, the target executor will determine the corresponding execution parameters according to the control request, and then execute according to the execution parameters, thereby achieving the purpose of executing the target function.

[0090] Through the above solution, after the remote connection management module on the vehicle side updates the script, the updated script data can be used to perform script matching processing on the control instructions to ensure that the control instructions can be responded to accurately, reducing freezes and inability to execute.

[0091] In some embodiments, based on the implementation scheme of steps 101 to 104 above, step 105 includes:

[0092] Step 1051: Utilize the remote connection management module to determine the script corresponding to the control instruction from the stored updated script data to obtain a script matching result.

[0093] In specific implementation, the remote connection management module includes: an application layer, a system layer, and a storage layer. The application layer receives the control instruction sent by the cloud access gateway module through Ethernet and sends it to the system layer. The system layer retrieves the script data corresponding to the control instruction from the updated script data stored in the storage layer to obtain the script matching result. The system layer records and manages the script matching situation of the control instruction, obtains the script matching log, and stores the script matching log in the storage layer.

[0094] Step 1052: Perform application scheduling according to the script matching result through the remote management module to obtain application scheduling data, and generate a control request according to the application scheduling data.

[0095] In the specific implementation, the application layer in the remote connection management module is used to schedule the application according to the script matching results to obtain the application scheduling data, so that the corresponding control request can be generated according to the application scheduling data, and the control request can be sent to the corresponding target actuator through the CAN bus on the vehicle side.

[0096] After the above steps 1051 and 1052 are executed, the maintenance processing of the script is completed by continuing to execute the process of the above step 106.

[0097] Through the above scheme, the script matching and application scheduling process of the control instructions can be better performed, so that a more accurate control request can be obtained according to the control instruction, and then the corresponding target executor can be accurately controlled to execute the control request and complete the target function.

[0098] In some embodiments, based on the specific implementation process of step 105 above, after step 1051 of the above solution is executed, the following steps are further included:

[0099] Step 1051', using the remote connection management module to monitor the script matching result, generating a command response log corresponding to the script matching result, and feeding the command response log back to the remote connection console so that the remote connection console can store the command response log.

[0100] In specific implementation, when the system layer receives a control command for script matching, it will generate a corresponding command response log based on the script matching result, store the command response log in the storage layer, and send it to the application layer, which will then send the command response log to the remote connection console in the cloud via HTTP connection. In this way, the remote connection console in the cloud can learn the response result of the control command and store the command response log, so that when you want to check the response status of each command on the vehicle side, you can retrieve the stored command response log in the cloud.

[0101] After the above step 1051' is executed, the process of the above step 1052 and the process of step 106 are continued to be executed to complete the script maintenance processing process.

[0102] Through the above scheme, the script matching situation can be formed into a corresponding command response log and fed back to the cloud for storage, so that the cloud can know that the vehicle has received the control command and can respond to the control command, making it easy to retrieve the command response log from the cloud to view the command response situation.

[0103] In some embodiments, based on the execution process of steps 101 to 106 above, after step 106, the following further steps are included:

[0104] Step 107: Use the remote connection management module to monitor the execution result of the target executor, and feed back the execution result to the access gateway module in the cloud.

[0105] In specific implementation, the remote connection management module will continuously monitor the execution results of the target actuator, including: execution process, execution completion or execution failure, and feedback the execution results to the cloud access gateway module. Then the cloud access gateway module will send the execution results to the user's APP through the Internet, so that the user can know the results of remote control.

[0106] If the execution result is execution failure, the user can trigger to generate control instructions for the target function again and repeat the process of steps 104 to 107. If the execution result obtained after a predetermined number of repeated triggers is still execution failure, or the execution result obtained after a predetermined period of time is always in the execution process, the remote connection management module on the vehicle side will report an error to the cloud control system through the cloud access gateway module, so that the developer can be informed in time and make repairs.

[0107] Through the above scheme, the execution results of the target executor can be monitored based on the remote connection management module and fed back to the access gateway module of the cloud. In this way, the cloud can forward the execution results to the user end through the access gateway module, so that the user can know the execution status of the instructions in time, providing the user with the convenience of remote control.

[0108] Based on the same inventive concept, the script maintenance processing method proposed in the embodiment of the present application is applied to the cloud, and a remote connection console is provided on the cloud to perform data interaction with the vehicle side that executes the script maintenance processing method in the above embodiment.

[0109] like Figure 3 As shown, the steps of the cloud-based script execution maintenance processing method include:

[0110] Step 201, establishing a connection between the remote connection console and the remote connection management module on the vehicle side.

[0111] During specific implementation, the cloud includes: vehicle network service platform TSP, access gateway module and remote connection console (i.e. cloud RCM). The remote connection console is connected to the vehicle network service platform TSP through the access gateway module. The vehicle network service platform TSP can be connected to the user terminal with the APP installed through the network.

[0112] In order to ensure the update synchronization of the script data between the remote connection console and the remote connection management module, it is necessary to first establish a connection between the remote connection console and the remote connection management module, and the corresponding connection method adopts the HTTP connection method.

[0113] Step 202: receiving a script request carrying target vehicle model information from the remote connection management module through the remote connection console.

[0114] In specific implementation, the cloud will pre-set a corresponding script database for each vehicle model to store some script data of the vehicle model. After generating a script request, the remote connection management module on the vehicle side will add the target vehicle model information to the script request and send the script request carrying the target vehicle model information to the remote connection console on the cloud.

[0115] Step 203, using the remote connection console, determine the target script database according to the target vehicle model information, retrieve the target script data corresponding to the script request from the target script database, and send the target script data to the remote connection management module.

[0116] In specific implementation, after the remote connection console in the cloud receives a script request carrying the target vehicle model information, it will search the corresponding target script database based on the target vehicle model information, and then search the target script database for the corresponding target script data that needs to be updated based on the script request, and send the target script data to the remote connection management module on the vehicle side.

[0117] Through the above scheme, after the remote connection management module on the vehicle side sends a script request carrying the target vehicle model information to the remote connection console on the cloud side, the remote connection console on the cloud side can determine the target script database corresponding to the target vehicle model information, and then retrieve the target script data corresponding to the script request from the target script database, and send it to the remote connection management module on the vehicle side, and use the remote connection management module to update the script; in this way, there is no need for developers to perform a customized development process for script updates on the vehicle side, which saves human resources for developing script updates on the vehicle side, making script maintenance more convenient and saving costs.

[0118] In some embodiments, the cloud further includes an access gateway module;

[0119] Before step 202, the method further includes:

[0120] Step A1, receiving script configuration data through the remote connection console, determining vehicle type information corresponding to the script configuration data, searching for a corresponding script database according to the vehicle type information, and storing the script configuration data in the script database corresponding to the vehicle type information.

[0121] In specific implementation, developers can open the script configuration interface corresponding to the remote connection console in the cloud (such as Figure 4 As shown), in this script configuration interface, you can perform functions such as script database maintenance, script database addition, or script database editing.

[0122] like Figure 4 As shown, the script database can be maintained through the script configuration interface, for example, the corresponding configuration name, configuration version number, and startup status of the corresponding script database can be determined.

[0123] The first method: In the script library maintenance interface, there is a script database new control. When the new control is triggered, the new interface will be displayed (such as Figure 5 As shown), this newly added interface can set the version number, configuration name, and remarks information, and the script data of the newly added script database can also be imported into the remote connection console for storage through the newly added interface.

[0124] In the newly added interface, there is also an application check control for checking and setting the application function corresponding to the script data. After confirming that the script data import is completed, the application check control is triggered (such as Figure 6 ), the application selection interface will open (as shown Figure 7 As shown), the names of various applications corresponding to the script data are displayed through the application check interface. The application check interface can be used to determine whether the corresponding script data to be configured needs to be configured in the corresponding vehicle model. If configuration is required, it will be set to "checked", if not, it will be set to "unchecked".

[0125] Among them, the above-mentioned new addition interface and check interface are both equipped with a "confirmation control" which will confirm and execute the configured content after being triggered.

[0126] Secondly, script maintenance or management can be performed on the existing script database of each vehicle model.

[0127] Trigger the vehicle configuration page in the script configuration interface (such as Figure 8 As shown in the figure, you can enter the corresponding model information (for example, brand, model name, etc.) and the corresponding options for the model will be displayed. This option has an edit control and a change record control (such as Figure 8 As shown), after the edit control is triggered, the script of the vehicle model can be edited, and a corresponding change record will be generated for the edit after the editing is completed; if the change record control is triggered, the change record of the script of the vehicle model will be displayed, which is convenient for developers to view.

[0128] The third type, if the script configuration function is triggered, the script configuration interface will be opened (such as Fig. 9 shown).

[0129] Through the script configuration interface, configure the application module, application name, script type, script ID, corresponding access gateway, corresponding remote connection control module script configuration (ie, RCM script configuration) of the corresponding script, etc.

[0130] For example, Fig.10 As shown in the figure, the RCM script configuration process for the remote lock closing function is as follows:

[0131] S0, instruction check;

[0132] S1, command response;

[0133] S2, target judgment, if passed, execute S3, if not, execute S6;

[0134] S3, perform pre-judgment (such as Fig.11 As shown), if S4 is passed, S6 is not passed;

[0135] S4, perform function execution (such as Fig.12 shown);

[0136] S5, determining the execution result of the function to obtain the execution result;

[0137] S6, reporting the execution result.

[0138] The process of performing the pre-judgment of S3 may include the data required for the corresponding preset execution: the signal name required for the corresponding execution, CAN ID, MSB, LSB and at least one of the data required for the conditional judgment (such as Fig.11 As shown), the process of executing prediction is performed after adding.

[0139] For the process of executing the S4 function, the execution parameters that can be set include: the signal name required for the corresponding execution, CANID, MSB, LSB, target value, cycle / number corresponding to the target value, reset value, and at least one of the cycle / number corresponding to the reset value (such as Fig.12 After saving, execute the function.

[0140] Step A2: After determining that the script configuration data is stored, the remote connection console generates script update information and sends it to the access gateway module.

[0141] Step A3: sending the script update information to the remote connection management module through the access gateway module, so that the remote connection management module can determine the script request carrying the vehicle model information according to the script update information.

[0142] During specific implementation, after the developer completes the configuration and stores the script configuration data in the remote connection console on the cloud, a script update information will be generated accordingly and sent to the access gateway module. The script update information will then be notified to the remote connection management module on the vehicle side through the access gateway module, so that the remote connection management module on the vehicle side can be informed of the script update and trigger the remote connection management module to generate a script request carrying the vehicle model information based on the script update information. In this way, the remote connection management module on the vehicle side will send the script request carrying the vehicle model information to the remote connection console on the cloud, and then request the remote connection console on the cloud to send the updated target script data to the remote connection management module on the vehicle side, so that the remote connection management module on the vehicle side can be updated synchronously.

[0143] After executing the above steps A1 to A3, the process of steps 201 to 203 is executed; or after executing step 201, the above steps A1 to A3 are executed and then the process of steps 202 to 203 is executed.

[0144] Through the above solution, the script update process on the vehicle side is automatically triggered after the cloud script update is completed, without the need for developers to trigger it. This can ensure the timeliness of the script update and reduce the situation where function freezes or function fails due to the lack of synchronization between the cloud and vehicle scripts.

[0145] In some embodiments, based on the execution process of steps 201 to 203 above, after step 203, the following further steps are included:

[0146] Step 204: using the remote connection console, receiving the instruction response log sent by the remote connection management module, determining the type of the instruction response log, and storing the instruction response log in a log storage repository of the corresponding type.

[0147] During specific implementation, the remote connection console in the cloud can receive the command response logs sent by the remote connection management modules of each vehicle end. A corresponding log repository will be configured in advance for each vehicle end, and the command response logs will be stored in the log repository corresponding to the vehicle end according to the type classification.

[0148] Through the above solution, the remote connection console in the cloud can receive the command response logs sent by the remote connection management modules of each vehicle end and store them, which is convenient for subsequent viewing and determining the execution status of the corresponding remote control function.

[0149] The following is a specific example to describe the execution process of the script maintenance processing method on the vehicle side and the cloud side:

[0150] It is divided into two processes: script update and remote control:

[0151] like Fig.13 As shown, the script update process:

[0152] In the first step, developers first perform script maintenance and script database maintenance on the remote connection console in the cloud through the script maintenance interface;

[0153] The second step is to configure the maintained script data with the corresponding vehicle model;

[0154] The third step is to synchronize the script configuration after the script configuration is completed, generate script update information and send it to the access gateway module, and use the access gateway module to send the script update information to the remote connection management module on the vehicle side through the MQTT connection;

[0155] Step 4: The application layer of the remote connection management module receives the script update information and sends it to the system layer. The system layer generates a script request, retrieves the target vehicle model information from the storage layer, adds it to the script request, and sends it to the application layer. The application layer sends the script request carrying the target vehicle model information to the remote connection console via HTTP connection.

[0156] Step 5: After the remote connection console receives the script request carrying the target vehicle model information, it will perform authentication management on the target vehicle model information. After confirming that the authentication is successful, it will perform vehicle-side device management to determine the target script database corresponding to the target vehicle model information, and then send the updated target script data from the target script database to the remote connection management module through the HTTP connection;

[0157] In the sixth step, after receiving the target script data, the application layer of the remote connection management module sends it to the system layer. The system layer updates the script according to the target script data, and then stores the updated script data in the storage layer through the application RAM.

[0158] Remote control process, such as Fig.13 and Fig.14 As shown in the figure, the remote control process is described in detail by taking remote locking as an example:

[0159] In the first step, the user sends the car lock command (i.e. control command) to the TSP in the cloud through the APP. The TSP forwards it to the access gateway module, and the access gateway module sends the car lock command to the remote connection management module on the vehicle side through the MQTT connection.

[0160] In the second step, after receiving the vehicle lock command, the application layer of the remote connection management module on the vehicle side sends it to the system layer; the system layer retrieves the corresponding script data from the storage layer according to the vehicle lock command to perform script matching processing, obtains the corresponding script matching result, and generates the corresponding command response log at the same time. The system layer manages the log and stores the command response log in the storage layer;

[0161] At the same time, the system layer sends the command response log to the remote connection console through the application layer, and uses the remote connection console to perform log storage management on the command response log;

[0162] In the third step, the system layer of the remote connection management module interacts with the application layer, passes the script matching result to the application layer, uses the application layer to implement application scheduling according to the script matching result, obtains application scheduling data, generates a vehicle lock request (i.e., a control request) according to the application scheduling data, sends the vehicle lock request to the HUT for display and to the communication management for data distribution through signal communication (e.g., CAN communication), and sends the vehicle lock request to the vehicle lock ECU (i.e., the target ECU) to execute the vehicle lock;

[0163] In the fourth step, the car lock ECU will feedback the executed car locking result to the application layer of the remote connection management module through communication management. The application layer will send the car locking result to the access gateway module through MQTT connection, and then the access gateway module will send the car locking result to TSP, which will forward it to the corresponding APP through TSP, so that the user can view the car locking result.

[0164] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.

[0165] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0166] Based on the same inventive concept, corresponding to the script maintenance processing method applied to the vehicle side in any of the above-mentioned embodiments, the present application also provides a script maintenance processing device, which is arranged on the vehicle side, and a remote connection management module is provided on the vehicle side.

[0167] refer to Fig.15 , the script maintenance processing device includes:

[0168] A first connection establishing unit 301 is configured to establish a connection between the remote connection management module and a remote connection console on the cloud;

[0169] The script request sending unit 302 is configured to send a script request carrying target vehicle model information to the remote connection console through the remote connection management module, so that the remote connection console can retrieve target script data corresponding to the script request from a target script database corresponding to the target vehicle model information;

[0170] The script update storage unit 303 is configured to receive the target script data fed back by the remote connection console by using the remote connection management module, update the script according to the target script data, and store the updated script data.

[0171] In some embodiments, the script request sending unit 302 is specifically configured to:

[0172] After receiving the script update information sent by the access gateway module in the cloud by using the remote connection management module, a script request is generated according to the script update information;

[0173] After the target vehicle model information is added to the script request through the remote connection management module, the script request carrying the target vehicle model information is sent to the remote connection console.

[0174] In some embodiments, the script maintenance processing device further includes: a remote control execution unit configured to:

[0175] After storing the updated script data, determining the remote connection management module receives a control instruction for a target function sent by the cloud access gateway module;

[0176] Using the remote connection management module to perform script matching processing on the control instruction based on the stored updated script data to obtain a control request, and sending the control request to a target executor corresponding to a target function;

[0177] The target function is executed by the target executor according to the control request.

[0178] In some embodiments, the remote control execution unit is specifically configured to:

[0179] Determine the script corresponding to the control instruction from the stored updated script data using the remote connection management module to obtain a script matching result;

[0180] The remote management module performs application scheduling according to the script matching result to obtain application scheduling data, and generates a control request according to the application scheduling data.

[0181] In some embodiments, the remote control execution unit is specifically configured to:

[0182] After using the remote connection management module to determine the script corresponding to the control instruction from the stored updated script data and obtain a script matching result, the remote connection management module is used to monitor the script matching result, generate an instruction response log corresponding to the script matching result, and feed the instruction response log back to the remote connection console so that the remote connection console can store the instruction response log.

[0183] In some embodiments, the script maintenance processing device further includes an execution feedback unit configured to:

[0184] After the target function is executed according to the control request by the target executor, the execution result of the target executor is monitored by the remote connection management module, and the execution result is fed back to the access gateway module in the cloud.

[0185] For the convenience of description, the maintenance processing device of the above script is described by dividing it into various units according to its functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0186] The script maintenance processing device of the above embodiment is used to implement the maintenance processing method of the corresponding script applied to the vehicle side in any of the above embodiments, and has the beneficial effects of the corresponding script maintenance processing method embodiment, which will not be repeated here.

[0187] Based on the same inventive concept, corresponding to the script maintenance processing method applied to the cloud in any of the above-mentioned embodiments, the present application also provides a script maintenance processing device, which is arranged in the cloud and has a remote connection console in the cloud.

[0188] refer to Fig.16 , the script maintenance processing device includes:

[0189] The second connection establishing unit 401 is configured to establish a connection between the remote connection console and the remote connection management module on the vehicle end;

[0190] The script request receiving unit 402 is configured to receive a script request carrying target vehicle model information sent by the remote connection management module through the remote connection console;

[0191] The script retrieval and sending unit 403 is configured to use the remote connection console to determine the target script database according to the target vehicle model information, retrieve the target script data corresponding to the script request from the target script database, and send the target script data to the remote connection management module.

[0192] In some embodiments, the cloud further includes an access gateway module;

[0193] The script maintenance processing device further includes: a script maintenance unit configured to:

[0194] Before receiving, through the remote connection console, a script request carrying vehicle type information sent by the remote connection management module, receiving script configuration data through the remote connection console, determining vehicle type information corresponding to the script configuration data, searching a corresponding script database according to the vehicle type information, and storing the script configuration data in the script database corresponding to the vehicle type information;

[0195] After determining that the script configuration data is stored, the remote connection console generates script update information and sends it to the access gateway module;

[0196] The script update information is sent to the remote connection management module through the access gateway module, so that the remote connection management module can determine the script request carrying the vehicle model information according to the script update information.

[0197] In some embodiments, after using the remote connection console to determine a target script database according to the target vehicle model information, and retrieving target script data corresponding to the script request from the target script database, and sending the target script data to the remote connection management module, the method further includes:

[0198] The remote connection console is used to receive the instruction response log sent by the remote connection management module, determine the type of the instruction response log, and store the instruction response log in a log storage repository of the corresponding type.

[0199] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0200] The script maintenance processing device of the above embodiment is used to implement the maintenance processing method of the corresponding script applied to the cloud in any of the above embodiments, and has the beneficial effects of the maintenance processing method embodiment of the script applied to the cloud, which will not be repeated here.

[0201] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in any of the above embodiments when executing the program.

[0202] Wherein, the electronic device is a vehicle-side or cloud-side. The vehicle-side processor implements the maintenance processing method of the script applied to the vehicle-side as described in the above embodiment when executing the program based on the remote connection management module. The cloud-side processor implements the maintenance processing method of the script applied to the cloud-side as described in the above embodiment when executing the program based on the remote connection console.

[0203] Fig.17 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

[0204] The processor 1010 can 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 used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0205] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0206] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0207] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0208] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0209] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0210] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the method described in any of the above embodiments.

[0211] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, 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, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0212] The computer instructions stored in the storage medium of the above embodiments are used to enable the computer to execute the method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0213] Based on the same concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a computer program product, including computer program instructions. When the computer program instructions are run on a computer, the computer executes the method described in any of the above embodiments, which has the beneficial effects of the corresponding method embodiments and will not be repeated here.

[0214] Based on the same inventive concept, the present application also provides a vehicle, including the vehicle terminal described in the above embodiment. The beneficial effects of the embodiment of the maintenance processing method with the corresponding vehicle terminal executing script are not repeated here.

[0215] It is understandable that before using the technical solutions of each embodiment of the present application, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.

[0216] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to the electronic device, application, server, storage medium or other software or hardware that performs the operation of the technical solution of the present application according to the prompt message.

[0217] As an optional but non-limiting implementation, in response to receiving the user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0218] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation method of this application. Other methods that meet relevant laws and regulations may also be applied to the implementation method of this application.

[0219] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0220] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.

[0221] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0222] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.

Claims

1. A script maintenance processing method, characterized in that: Applied to a vehicle side, the vehicle side is provided with a remote connection management module, and the method comprises: Establishing a connection between the remote connection management module and the remote connection console on the cloud; Sending a script request carrying target vehicle model information to the remote connection console through the remote connection management module, so that the remote connection console retrieves target script data corresponding to the script request from a target script database corresponding to the target vehicle model information; The remote connection management module is used to receive the target script data fed back by the remote connection console, the script is updated according to the target script data, and the updated script data is stored.

2. The method according to claim 1, characterized in that Sending a script request carrying target vehicle model information to the remote connection console through the remote connection management module includes: After receiving the script update information sent by the access gateway module in the cloud by using the remote connection management module, a script request is generated according to the script update information; After the target vehicle model information is added to the script request through the remote connection management module, the script request carrying the target vehicle model information is sent to the remote connection console.

3. The method according to claim 1, characterized in that After storing the updated script data, the method further includes: Determine the remote connection management module, and receive the control instruction for the target function sent by the access gateway module in the cloud; Using the remote connection management module to perform script matching processing on the control instruction based on the stored updated script data to obtain a control request, and sending the control request to a target executor corresponding to a target function; The target function is executed by the target executor according to the control request.

4. The method according to claim 3, characterized in that Using the remote connection management module to perform script matching processing on the control instruction based on the stored updated script data to obtain a control request, including: Determine the script corresponding to the control instruction from the stored updated script data using the remote connection management module to obtain a script matching result; The remote management module performs application scheduling according to the script matching result to obtain application scheduling data, and generates a control request according to the application scheduling data.

5. The method according to claim 4, characterized in that After obtaining a script matching result by using the remote connection management module to determine the script corresponding to the control instruction from the stored updated script data, the method further includes: The remote connection management module is used to monitor the script matching result, generate a command response log corresponding to the script matching result, and feed the command response log back to the remote connection console so that the remote connection console can store the command response log.

6. The method according to claim 3, characterized in that After the target function is executed according to the control request by the target executor, the method further includes: The remote connection management module is used to monitor the execution result of the target executor, and the execution result is fed back to the access gateway module in the cloud.

7. A script maintenance processing method, characterized in that: Applied to a cloud, where a remote connection console is provided, the method comprises: Establishing a connection between the remote connection console and the remote connection management module on the vehicle side; Receiving, via the remote connection console, a script request carrying target vehicle model information sent by the remote connection management module; The remote connection console is used to determine a target script database according to the target vehicle model information, and the target script data corresponding to the script request is retrieved from the target script database, and the target script data is sent to the remote connection management module.

8. The method according to claim 7, characterized in that The cloud is also provided with an access gateway module; Before receiving, through the remote connection console, a script request carrying vehicle model information sent by the remote connection management module, the method further includes: Receiving script configuration data through the remote connection console, determining vehicle type information corresponding to the script configuration data, searching a corresponding script database according to the vehicle type information, and storing the script configuration data in the script database corresponding to the vehicle type information; After determining that the script configuration data is stored, the remote connection console generates script update information and sends it to the access gateway module; The script update information is sent to the remote connection management module through the access gateway module, so that the remote connection management module can determine the script request carrying the vehicle model information according to the script update information.

9. A vehicle terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: Also includes: A remote connection management module, wherein the processor implements the method according to any one of claims 1 to 6 when executing the program based on the remote connection management module.

10. A cloud comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: Also includes: A remote connection console, wherein the processor implements the method according to any one of claims 7 to 8 when executing the program based on the remote connection console.