Page file acquisition method and device of vehicle-mounted system, equipment and storage medium
By calling the preset management module in the on-board system to determine the target function module and retry the operation when it fails, the problem of page file acquisition failure is solved, and the success rate and user experience are improved.
Patent Information
- Application Number
- CN202310653841.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-02
- Publication Date
- 2024-12-03
AI Technical Summary
When obtaining page files in the existing vehicle system, it needs to be retrieved from scratch after failure, resulting in a low success rate and affecting the user experience.
By calling the preset management module to determine the target function module from multiple page loading function modules, send execution instructions and retry when the operation fails, and obtain the page file of the on-board system.
It improves the success rate of obtaining page files in the car system and improves the user experience.
Smart Images

Figure CN119065954A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle control technology, and in particular to a method, device, equipment and storage medium for obtaining a page file of a vehicle-mounted system. Background Art
[0002] With the rapid development of science and technology, more and more vehicles are equipped with vehicle-mounted systems that support multiple functions such as PDI detection (i.e., pre-delivery detection). In the process of logging in to run the vehicle-mounted system, it is usually necessary to obtain the page file of the vehicle-mounted system.
[0003] At present, when a user logs in to the vehicle system, each page file is usually obtained in sequence. However, once a page file fails to be obtained, the user will be directly returned to the login page of the vehicle system. At this time, it is necessary to obtain each page file in sequence again until all the vehicle system page files are obtained before entering the main function page of the vehicle system. Obviously, the execution success rate of this method is low, which seriously affects the user experience.
[0004] Therefore, how to improve the success rate of obtaining page files of the vehicle-mounted system, thereby improving the user experience, is a technical problem that urgently needs to be solved. Summary of the invention
[0005] In order to solve the above technical problems, the present disclosure provides a method for obtaining page files of a vehicle-mounted system, which effectively improves the success rate of obtaining page files of the vehicle-mounted system, thereby improving the user experience.
[0006] In a first aspect, the present disclosure provides a method for obtaining a page file of a vehicle-mounted system, the method comprising:
[0007] Calling a preset management module to determine a target function module from a plurality of page loading function modules; wherein the plurality of page loading function modules are used to obtain a page file of the vehicle-mounted system from a cloud server;
[0008] Sending an execution instruction carrying the module identifier of the target functional module to a preset execution module; wherein the execution instruction is used to instruct execution of an operation corresponding to the target functional module;
[0009] Calling the preset execution module to execute the operation corresponding to the target function module, and when determining that the operation corresponding to the target function module fails to execute, retrying the operation corresponding to the target function module to obtain a retry execution result corresponding to the target function module;
[0010] According to the retry execution result corresponding to the target functional module, a page file of the vehicle-mounted system is obtained.
[0011] In an optional implementation, the multiple page loading function modules include a baseline acquisition module, a topology information acquisition module, and a rule file acquisition module, and the calling of the preset execution module to execute the operation corresponding to the target function module includes:
[0012] Calling the preset execution module to execute the method corresponding to the baseline acquisition module to obtain the baseline file of the remote upgrade OTA background of the vehicle;
[0013] Calling the preset execution module to execute the method corresponding to the topology information acquisition module to obtain the vehicle topology information of the remote upgrade OTA background of the vehicle;
[0014] And, calling the preset execution module to execute the method corresponding to the rule file acquisition module to obtain the rule file corresponding to the pre-delivery inspection PDI.
[0015] In an optional embodiment, the multiple page loading function modules also include a network acquisition module, which is used to obtain network information of the cloud server, and the acquired network information is used to establish a network connection between the cloud server and the baseline acquisition module, the topology information acquisition module and the rule file acquisition module, so that the baseline acquisition module, the topology information acquisition module and the rule file acquisition module can obtain the corresponding page file from the cloud server based on the network connection.
[0016] In an optional implementation manner, the method further includes:
[0017] The preset execution module is called to send the acquired page file of the vehicle-mounted system to the main function module; wherein the main function module is used to display the main function page of the vehicle-mounted system based on the page file of the vehicle-mounted system.
[0018] In an optional implementation, the multiple page loading function modules further include an in-vehicle information acquisition module, and the in-vehicle information acquisition module is used to acquire vehicle interior information.
[0019] In a second aspect, the present disclosure provides a page file acquisition system, the system comprising a preset management module, a preset execution module and a plurality of page loading function modules;
[0020] The multiple page loading function modules are used to obtain the page files of the vehicle-mounted system from the cloud server;
[0021] The preset management module is used to determine a target function module from a plurality of page loading function modules, and send an execution instruction carrying a module identifier of the target function module to the preset execution module;
[0022] The preset execution module is used to execute the operation corresponding to the target function module when receiving the execution instruction, and to retry the operation corresponding to the target function module when it is determined that the operation corresponding to the target function module fails to execute, so as to obtain the retry execution result corresponding to the target function module; the retry execution result is used to obtain the page file of the vehicle-mounted system.
[0023] In a third aspect, the present disclosure provides a page file acquisition device for a vehicle-mounted system, the device comprising:
[0024] A determination module, used to call the preset management module to determine a target function module from a plurality of page loading function modules; wherein the plurality of page loading function modules are used to obtain a page file of the vehicle-mounted system from a cloud server;
[0025] A first sending module, used to send an execution instruction carrying a module identifier of the target functional module to a preset execution module; wherein the execution instruction is used to instruct execution of an operation corresponding to the target functional module;
[0026] a retry execution module, used to call the preset execution module to execute the operation corresponding to the target function module, and when determining that the operation corresponding to the target function module fails to execute, retry the operation corresponding to the target function module to obtain a retry execution result corresponding to the target function module;
[0027] The acquisition module is used to acquire the page file of the vehicle-mounted system according to the retry execution result corresponding to the target functional module.
[0028] In a fourth aspect, the present disclosure provides a page file acquisition device for a vehicle-mounted system, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above method when executing the computer program.
[0029] In a fifth aspect, the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device implements the above method.
[0030] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has at least the following advantages:
[0031] The disclosed embodiment provides a method for obtaining a page file of a vehicle-mounted system. First, a preset management module is called to determine a target function module from a plurality of page loading function modules, wherein the plurality of page loading function modules are used to obtain a page file of the vehicle-mounted system from a cloud server; an execution instruction carrying a module identifier of the target function module is sent to a preset execution module; wherein the execution instruction is used to instruct to execute an operation corresponding to the target function module; then, the preset execution module is called to execute the operation corresponding to the target function module, and when it is determined that the operation corresponding to the target function module fails to execute, the operation corresponding to the target function module is retried to obtain a retry execution result corresponding to the target function module; and the page file of the vehicle-mounted system is obtained according to the retry execution result corresponding to the target function module. It can be seen that the disclosed embodiment effectively improves the success rate of obtaining the page file of the vehicle-mounted system by retrying the operation corresponding to the target function module that fails to execute, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0034] Figure 1 A flow chart of a method for obtaining a page file of a vehicle-mounted system provided in an embodiment of the present disclosure;
[0035] Figure 2 A schematic diagram of multiple page loading function modules provided by an embodiment of the present disclosure;
[0036] Figure 3 A schematic diagram of the structure of a page file acquisition system provided by an embodiment of the present disclosure;
[0037] Figure 4 A schematic diagram of the structure of a page file acquisition device for a vehicle-mounted system provided by an embodiment of the present disclosure;
[0038] Figure 5 A schematic diagram of the structure of a page file acquisition device for a vehicle-mounted system provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0039] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0040] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0041] With the rapid development of science and technology, more and more vehicles are equipped with vehicle-mounted systems that support multiple functions such as PDI detection (i.e., pre-delivery detection). In the process of logging in to run the vehicle-mounted system, it is usually necessary to obtain the page file of the vehicle-mounted system.
[0042] At present, when a user logs in to the vehicle system, each page file is usually obtained in sequence. However, once a page file fails to be obtained, the user will be directly returned to the login page of the vehicle system. At this time, it is necessary to obtain each page file in sequence again until all the vehicle system page files are obtained before entering the main function page of the vehicle system. Obviously, the execution success rate of this method is low, which seriously affects the user experience.
[0043] Therefore, how to improve the success rate of obtaining page files of the vehicle-mounted system, thereby improving the user experience, is a technical problem that urgently needs to be solved.
[0044] Therefore, the disclosed embodiment provides a method for obtaining a page file of a vehicle-mounted system, first, calling a preset management module to determine a target function module from a plurality of page loading function modules, wherein the plurality of page loading function modules are used to obtain a page file of the vehicle-mounted system from a cloud server; sending an execution instruction carrying a module identifier of the target function module to a preset execution module; wherein the execution instruction is used to instruct to execute an operation corresponding to the target function module; then, calling the preset execution module to execute the operation corresponding to the target function module, and when it is determined that the operation corresponding to the target function module fails to execute, retrying the operation corresponding to the target function module to obtain a retry execution result corresponding to the target function module; according to the retry execution result corresponding to the target function module, obtaining the page file of the vehicle-mounted system. It can be seen that the disclosed embodiment effectively improves the success rate of obtaining the page file of the vehicle-mounted system by retrying the operation corresponding to the target function module that fails to execute, thereby improving the user experience.
[0045] Based on this, the present disclosure provides a method for obtaining a page file of a vehicle-mounted system, referring to Figure 1, is a flow chart of a method for obtaining a page file of a vehicle-mounted system provided by an embodiment of the present disclosure, the method comprising:
[0046] S101: calling a preset management module to determine a target functional module from a plurality of page loading functional modules.
[0047] Among them, the multiple page loading function modules are used to obtain page files of the vehicle-mounted system from the cloud server.
[0048] The page file acquisition method of the vehicle-mounted system provided by the embodiment of the present disclosure can be applied to the vehicle-mounted system deployed on the vehicle-mounted system, etc.
[0049] In actual applications, the vehicle-mounted system is an intelligent multimedia device that realizes multiple functions based on the car center console, such as navigation, music, video, voice recognition, and PDI detection (Pre Delivery Inspection). In order to enable users to successfully enter the main function page from the login page of the vehicle-mounted system, it is necessary to obtain multiple page files corresponding to the main function page from the cloud data server. When each page file is successfully obtained, the user can enter the main function page of the vehicle-mounted system from the login page.
[0050] In the disclosed embodiment, multiple page loading function modules can be used to obtain page files of the vehicle-mounted system. In an optional implementation, obtaining the page files of the vehicle-mounted system based on the page loading function module can specifically be performed by executing operations corresponding to the page loading function module and obtaining execution results corresponding to the method. For example, when the baseline file of the remote upgrade background of the vehicle is successfully pulled, the correct baseline information can be obtained.
[0051] Among them, the page files of the vehicle system may include the baseline files of the vehicle's OTA (Over-The-Air technology, i.e. remote upgrade) background, the vehicle topology information of the OTA background, and the rule files corresponding to PDI (i.e. pre-delivery inspection), etc.
[0052] In the embodiment of the present disclosure, the preset management module may be used to determine a target function module from a plurality of page loading function modules, wherein the target function module may be any one of the plurality of page loading function modules.
[0053] In an optional implementation, the target function module may also be a page loading function module determined by a preset management module from multiple page loading modules in a preset execution order, wherein the preset execution order may be an execution order pre-set in the vehicle-mounted system, or an execution order determined based on execution parameters carried in the login request.
[0054] In an optional implementation, when a login request for the vehicle system is received, the execution order of multiple page loading function modules is first determined based on the execution parameters carried in the login request, and then the preset management module is called to determine the target function module based on the determined execution order.
[0055] S102: Sending an execution instruction carrying the module identification of the target functional module to a preset execution module.
[0056] The execution instruction is used to instruct the execution of the operation corresponding to the target functional module.
[0057] In an embodiment of the present disclosure, after calling the preset management module to determine the target function module from multiple page loading function modules, an execution instruction carrying the module identifier of the target function module is sent to the preset execution module, so that the subsequent preset execution module executes the operation corresponding to the target function module based on the execution instruction after receiving the execution instruction with the module identifier of the target function module.
[0058] In the disclosed embodiment, the preset execution module is used to execute operations corresponding to the target function module and obtain execution results corresponding to the target function module. For example, the baseline file of the vehicle's OTA background can be pulled by calling the preset execution module to obtain the version information of the vehicle's OTA background, such as the version number of the electronic controller unit.
[0059] S103: calling the preset execution module to execute the operation corresponding to the target function module, and when determining that the method corresponding to the target function module fails to execute, retrying the method corresponding to the target function module to obtain the retry execution result corresponding to the target function module.
[0060] In the disclosed embodiment, when the preset execution module is called to execute the method corresponding to the target functional module, if it is determined that the operation corresponding to the target functional module fails to execute, the operation corresponding to the target functional module is retried to obtain the retry execution result corresponding to the target functional module.
[0061] In an optional implementation, multiple page loading function modules may include a baseline acquisition module, a topology information acquisition module, and a rule file acquisition module, etc., wherein the baseline acquisition module is used to obtain the baseline file of the vehicle's OTA background from the cloud server, such as the version number of the electronic controller unit, etc., the topology information acquisition module is used to obtain the vehicle's OTA background's vehicle topology information, such as the parts information of the electronic controller unit, etc., and the rule file acquisition module is used to obtain the rule file corresponding to the vehicle's PDI detection, such as the rule file used for function release in the delivery preparation detection vehicle, etc.
[0062] Accordingly, calling the preset execution module to execute the operation corresponding to the target function module may include:
[0063] Call the preset execution module to execute the method corresponding to the baseline acquisition module to obtain the baseline file of the vehicle's OTA background; call the preset execution module to execute the method corresponding to the topology information acquisition module to obtain the vehicle's OTA background topology information; and call the preset execution module to execute the method corresponding to the rule file acquisition module to obtain the rule file corresponding to the vehicle's PDI detection.
[0064] In an optional implementation, before obtaining the vehicle's OTA background baseline file, the OTA background vehicle topology information, and the rule file corresponding to the PDI detection from the cloud server, it is also necessary to ensure that the network connection between the vehicle system and the cloud server is in a connected state. Specifically, the network information of the cloud server can be obtained based on the network acquisition module, and then the network connection between the cloud server and the baseline acquisition module, the topology information acquisition module, and the rule file acquisition module is established based on the acquired network information. When the network connection between the baseline acquisition module, the topology information acquisition module, and the rule file acquisition module and the cloud server is in a connected state, the vehicle's OTA background baseline file, the OTA background vehicle topology information, and the rule file corresponding to the PDI detection are obtained from the cloud server, thereby successfully obtaining the page file of the vehicle system.
[0065] In an optional implementation, the multiple page loading function modules may further include an in-vehicle information acquisition module, which is used to obtain the internal information of the vehicle. Specifically, the preset execution module is called to execute the in-vehicle information acquisition module to obtain the internal information of the vehicle; wherein the internal information of the vehicle may include information such as the car VIN code (Vehicle Identification Number) to help the current user understand the vehicle's production information, production time, overall model and other information.
[0066] like Figure 2 As shown, it is a schematic diagram of multiple page loading function modules provided in an embodiment of the present disclosure, wherein the multiple page loading function modules include a network acquisition module, an in-vehicle information acquisition module, a baseline acquisition module, a topology information acquisition module and a rule file acquisition module.
[0067] S104: Acquire the page file of the vehicle-mounted system according to the retry execution result corresponding to the target functional module.
[0068] In the disclosed embodiment, the operation corresponding to the target functional module is retried, and after the retry execution result corresponding to the target functional module is obtained, the page file of the vehicle system is obtained from the cloud server according to the retry execution result corresponding to the target functional module.
[0069] In an optional implementation, after obtaining the page file of the vehicle system from the cloud server based on multiple page loading function modules, the obtained page file of the vehicle system can also be sent to the main function module, and then the main function module displays the main function page of the vehicle system based on the page file of the vehicle system, thereby realizing the function of jumping from the login page of the vehicle system to the main function page.
[0070] In the method for obtaining the page file of the vehicle-mounted system provided by the embodiment of the present disclosure, first, a preset management module is called to determine the target function module from multiple page loading function modules, wherein the multiple page loading function modules are used to obtain the page file of the vehicle-mounted system from the cloud server; an execution instruction carrying the module identifier of the target function module is sent to the preset execution module; wherein the execution instruction is used to instruct to execute the operation corresponding to the target function module; then, the preset execution module is called to execute the operation corresponding to the target function module, and when it is determined that the operation corresponding to the target function module fails to execute, the operation corresponding to the target function module is retried to obtain the retry execution result corresponding to the target function module; according to the retry execution result corresponding to the target function module, the page file of the vehicle-mounted system is obtained. It can be seen that the embodiment of the present disclosure effectively improves the success rate of obtaining the page file of the vehicle-mounted system by retrying the operation corresponding to the target function module that fails to execute, thereby improving the user experience.
[0071] In actual applications, after determining that the operation corresponding to the target functional module fails to execute, the operation corresponding to the target functional module may be retried a limited number of times to obtain a retry execution result corresponding to the target functional module.
[0072] In an optional implementation, a preset execution module is called to execute the operation corresponding to the target function module. When it is determined that the operation corresponding to the target function module fails to execute, the operation corresponding to the target function module is retried based on a preset retry strategy. The preset retry strategy may include, when the operation corresponding to the target function module fails to execute, retrying the operation corresponding to the target function module for a preset number of retries. The preset number of retries can be set based on actual needs, for example, it can be set to 3 times. In actual applications, if the retry execution result corresponding to the target function module is obtained within 3 times, the page file of the vehicle system can be successfully obtained.
[0073] In an optional implementation, the preset retry strategy may further include, when the operation corresponding to the target functional module fails to execute, retrying the operation corresponding to the target functional module for a preset number of times based on a preset retry interval, wherein the preset retry interval may be set based on actual needs, for example, it may be set to 300 milliseconds. In actual applications, the operation corresponding to the target functional module may be retried every 300 milliseconds until the retry execution result corresponding to the target functional module is obtained, or the current execution number of the target functional module is greater than the preset retry number, then the retry execution of the target functional module is exited.
[0074] In actual applications, after exiting the retry execution of the target function module, if the retry execution result corresponding to the target function module is obtained, the page file of the vehicle system is obtained according to the retry execution result. Otherwise, it means that the page file of the vehicle system fails to be obtained, and the system directly returns to the login page of the vehicle system.
[0075] It can be seen that the embodiment of the present disclosure can retry the operation corresponding to the target functional module that failed to execute based on the preset retry strategy. When the retry execution result corresponding to the target functional module is obtained, the page file of the vehicle system is obtained according to the retry execution result, which effectively improves the success rate of obtaining the page file of the vehicle system, thereby improving the user experience.
[0076] Based on the above method embodiment, the present disclosure also provides a page file acquisition system reference Figure 3 , is a structural diagram of a page file acquisition system provided in an embodiment of the present disclosure, wherein the page file acquisition system 300 includes a preset management module 301, a preset execution module 302 and multiple page loading function modules 303.
[0077] The preset management module 301 is used to determine a target function module from a plurality of page loading function modules, and send an execution instruction carrying a module identifier of the target function module to the preset execution module.
[0078] In the embodiment of the present disclosure, the execution instruction is used to instruct execution of an operation corresponding to a target functional module, wherein the target functional module may be any one of a plurality of page loading functional modules.
[0079] The preset execution module 302 is used to execute the operation corresponding to the target functional module when receiving the execution instruction, and to retry the operation corresponding to the target functional module when determining that the operation corresponding to the target functional module fails to execute, so as to obtain the retry execution result corresponding to the target functional module.
[0080] In the disclosed embodiment, the retry execution result is used to obtain the page file of the vehicle-mounted system.
[0081] In the disclosed embodiment, the preset execution module is used to execute operations corresponding to the target function module and obtain execution results corresponding to the target function module. For example, the baseline file of the vehicle's OTA background can be pulled by calling the preset execution module to obtain the version information of the vehicle's OTA background, such as the version number of the electronic controller unit.
[0082] In the disclosed embodiment, when the preset execution module is called to execute the operation corresponding to the target functional module, if it is determined that the operation corresponding to the target functional module fails to execute, the operation corresponding to the target functional module is retried to obtain the retry execution result corresponding to the target functional module.
[0083] In an optional implementation, the preset execution module is also used to send the acquired page file of the vehicle-mounted system to the main function module, and then the main function module displays the main function page of the vehicle-mounted system based on the page file of the vehicle-mounted system, thereby realizing the function of jumping from the login page of the vehicle-mounted system to the main function page.
[0084] Multiple page loading function modules 303 are used to obtain page files of the vehicle system from the cloud server, wherein the page files of the vehicle system may include the baseline files of the vehicle's OTA background, the vehicle topology information of the OTA background, and the rule files corresponding to the PDI, etc.
[0085] In an optional implementation, multiple page loading function modules may include a baseline acquisition module, a topology information acquisition module, and a rule file acquisition module, etc., wherein the baseline acquisition module is used to obtain the baseline file of the vehicle's OTA background from the cloud server, such as the version number of the electronic controller unit, etc., the topology information acquisition module is used to obtain the vehicle's OTA background's vehicle topology information, such as the parts information of the electronic controller unit, etc., and the rule file acquisition module is used to obtain the rule file corresponding to the vehicle's PDI detection, such as the rule file used for function release in the delivery preparation detection vehicle, etc.
[0086] In actual applications, before obtaining the vehicle's OTA background baseline file, the OTA background vehicle topology information and the rule file corresponding to the PDI detection from the cloud server, it is also necessary to ensure that the network connection between the vehicle system and the cloud server is in a connected state. Therefore, multiple page loading function modules can also include a network acquisition module, which is used to obtain the network information of the cloud server. The obtained network information is used to establish a network connection between the cloud server and the baseline acquisition module, the topology information acquisition module and the rule file acquisition module, so that the baseline acquisition module, the topology information acquisition module and the rule file acquisition module can obtain the corresponding page files from the cloud server based on the network connection.
[0087] Specifically, the network information of the cloud server can be obtained based on the network acquisition module, and a network connection can be established between the cloud server and the baseline acquisition module, the topology information acquisition module and the rule file acquisition module based on the acquired network information. When the network connection between the baseline acquisition module, the topology information acquisition module and the rule file acquisition module and the cloud server is in a connected state, the baseline file of the vehicle's OTA background, the whole vehicle topology information of the OTA background and the rule file corresponding to the PDI detection are obtained from the cloud server, thereby successfully acquiring the page file of the vehicle system.
[0088] In the page file acquisition system provided by the embodiment of the present disclosure, the preset management module determines the target from multiple page loading function modules, and sends the execution instruction carrying the module identification of the target function module to the preset execution module to instruct the execution of the operation corresponding to the target function module; when the preset execution module receives the execution instruction, it executes the operation corresponding to the target function module, and when it is determined that the operation corresponding to the target function module fails to execute, it retries the operation corresponding to the target function module to obtain the retry execution result corresponding to the target function module, and then realizes the acquisition of the page file of the vehicle-mounted system based on the retry execution result. It can be seen that the embodiment of the present disclosure effectively improves the success rate of acquiring the page file of the vehicle-mounted system by retrying the operation corresponding to the target function module that failed to execute to obtain the corresponding retry execution result, thereby improving the user experience.
[0089] Based on the same inventive concept as the above embodiment, the present disclosure also provides a page file acquisition device for a vehicle-mounted system, referring to Figure 4 , is a schematic diagram of the structure of a page file acquisition device of a vehicle-mounted system provided by an embodiment of the present disclosure, wherein the page file acquisition device 400 of the vehicle-mounted system includes:
[0090] The determination module 401 is used to call the preset management module to determine the target function module from multiple page loading function modules; wherein the multiple page loading function modules are used to obtain the page file of the vehicle-mounted system from the cloud server;
[0091] A first sending module 402 is used to send an execution instruction carrying the module identifier of the target functional module to a preset execution module; wherein the execution instruction is used to instruct to execute an operation corresponding to the target functional module;
[0092] The retry execution module 403 is used to call the preset execution module to execute the operation corresponding to the target function module, and when it is determined that the operation corresponding to the target function module fails to execute, retry the operation corresponding to the target function module to obtain the retry execution result corresponding to the target function module;
[0093] The acquisition module 404 is used to acquire the page file of the vehicle-mounted system according to the retry execution result corresponding to the target functional module.
[0094] In an optional implementation, the multiple page loading function modules include a baseline acquisition module, a topology information acquisition module, and a rule file acquisition module, and the retry execution module includes:
[0095] A first acquisition submodule, used for calling the preset execution module to execute the method corresponding to the baseline acquisition module, and acquiring the baseline file of the remote upgrade OTA background of the vehicle;
[0096] A second acquisition submodule is used to call the preset execution module to execute the method corresponding to the topology information acquisition module to obtain the vehicle topology information of the remote upgrade OTA background of the vehicle;
[0097] The third acquisition submodule is used to call the preset execution module to execute the method corresponding to the rule file acquisition module to obtain the rule file corresponding to the pre-delivery inspection PDI.
[0098] In an optional embodiment, the multiple page loading function modules also include a network acquisition module, which is used to obtain network information of the cloud server, and the acquired network information is used to establish a network connection between the cloud server and the baseline acquisition module, the topology information acquisition module and the rule file acquisition module, so that the baseline acquisition module, the topology information acquisition module and the rule file acquisition module can obtain the corresponding page file from the cloud server based on the network connection.
[0099] In an optional implementation, the device further includes:
[0100] The second sending module is used to call the preset execution module to send the acquired page file of the vehicle-mounted system to the main function module; wherein the main function module is used to display the main function page of the vehicle-mounted system based on the page file of the vehicle-mounted system.
[0101] In an optional implementation, the multiple page loading function modules further include an in-vehicle information acquisition module, and the in-vehicle information acquisition module is used to acquire vehicle interior information.
[0102] In the page file acquisition device of the vehicle-mounted system provided by the embodiment of the present disclosure, first, a preset management module is called to determine a target function module from a plurality of page loading function modules, wherein the plurality of page loading function modules are used to acquire the page file of the vehicle-mounted system from a cloud server; an execution instruction carrying the module identifier of the target function module is sent to the preset execution module; wherein the execution instruction is used to instruct to execute the operation corresponding to the target function module; then, the preset execution module is called to execute the operation corresponding to the target function module, and when it is determined that the operation corresponding to the target function module fails to execute, the operation corresponding to the target function module is retried to obtain the retry execution result corresponding to the target function module; according to the retry execution result corresponding to the target function module, the page file of the vehicle-mounted system is acquired. It can be seen that the embodiment of the present disclosure effectively improves the success rate of acquiring the page file of the vehicle-mounted system by retrying the operation corresponding to the target function module that fails to execute to obtain the corresponding retry execution result, thereby improving the user experience.
[0103] In addition to the above-mentioned methods and devices, the embodiments of the present disclosure also provide a computer-readable storage medium, which stores instructions. When the instructions are executed on a terminal device, the terminal device implements the page file acquisition method of the vehicle-mounted system described in the embodiments of the present disclosure.
[0104] In addition, the present disclosure also provides a page file acquisition device for a vehicle-mounted system, see Figure 5 As shown, it may include:
[0105] Processor 501, memory 502, input device 503 and output device 504. The number of processors 501 in the paging file acquisition device of the vehicle-mounted system can be one or more. Figure 5 In some embodiments of the present disclosure, the processor 501, the memory 502, the input device 503 and the output device 504 may be connected via a bus or other means, wherein: Figure 5 The example of connecting through bus is taken in the following.
[0106] The memory 502 can be used to store software programs and modules. The processor 501 runs the software programs and modules stored in the memory 502, thereby performing various functional applications and data processing of the page file acquisition device of the vehicle-mounted system. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc. In addition, the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. The input device 503 may be used to receive input digital or character information, and to generate signal input related to user settings and function control of the page file acquisition device of the vehicle-mounted system.
[0107] Specifically in this embodiment, the processor 501 will load the executable files corresponding to the processes of one or more applications into the memory 502 according to the following instructions, and the processor 501 will run the applications stored in the memory 502, thereby realizing the various functions of the page file acquisition device of the above-mentioned vehicle system.
[0108] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0109] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for obtaining a page file of a vehicle-mounted system, characterized in that: The method comprises: Calling a preset management module to determine a target function module from a plurality of page loading function modules; wherein the plurality of page loading function modules are used to obtain a page file of the vehicle-mounted system from a cloud server; Sending an execution instruction carrying the module identifier of the target functional module to a preset execution module; wherein the execution instruction is used to instruct execution of an operation corresponding to the target functional module; Calling the preset execution module to execute the operation corresponding to the target function module, and when determining that the method execution corresponding to the target function module fails, retrying the operation corresponding to the target function module to obtain a retry execution result corresponding to the target function module; According to the retry execution result corresponding to the target functional module, a page file of the vehicle-mounted system is obtained.
2. The method according to claim 1, characterized in that The multiple page loading function modules include a baseline acquisition module, a topology information acquisition module, and a rule file acquisition module, and the calling of the preset execution module to execute the operation corresponding to the target function module includes: Calling the preset execution module to execute the method corresponding to the baseline acquisition module to obtain the baseline file of the remote upgrade OTA background of the vehicle; Calling the preset execution module to execute the method corresponding to the topology information acquisition module to obtain the vehicle topology information of the remote upgrade OTA background of the vehicle; And, calling the preset execution module to execute the method corresponding to the rule file acquisition module to obtain the rule file corresponding to the pre-delivery inspection PDI.
3. The method according to claim 2, characterized in that The multiple page loading function modules also include a network acquisition module, which is used to acquire network information of the cloud server. The acquired network information is used to establish a network connection between the cloud server and the baseline acquisition module, the topology information acquisition module and the rule file acquisition module, so that the baseline acquisition module, the topology information acquisition module and the rule file acquisition module can acquire corresponding page files from the cloud server based on the network connection.
4. The method according to claim 1, characterized in that: The method further comprises: The preset execution module is called to send the acquired page file of the vehicle-mounted system to the main function module; wherein the main function module is used to display the main function page of the vehicle-mounted system based on the page file of the vehicle-mounted system.
5. The method according to claim 1, characterized in that The multiple page loading function modules also include an in-vehicle information acquisition module, and the in-vehicle information acquisition module is used to acquire the internal information of the vehicle.
6. A page file acquisition system, characterized in that: The page file acquisition system includes a preset management module, a preset execution module and multiple page loading function modules; the multiple page loading function modules are used to obtain the page files of the vehicle-mounted system from the cloud server; The preset management module is used to determine a target function module from a plurality of page loading function modules, and send an execution instruction carrying a module identifier of the target function module to the preset execution module; The preset execution module is used to execute the operation corresponding to the target function module when receiving the execution instruction, and to retry the operation corresponding to the target function module when determining that the operation corresponding to the target function module fails to execute, so as to obtain the retry execution result corresponding to the target function module; The retry execution result is used to obtain the page file of the vehicle-mounted system.
7. The system according to claim 6, characterized in that The preset execution module is also used to send the acquired page file of the vehicle-mounted system to the main function module; wherein the main function module is used to display the main function page of the vehicle-mounted system based on the page file of the vehicle-mounted system.
8. A page file acquisition device for a vehicle-mounted system, characterized in that: The device comprises: A determination module, used to call the preset management module to determine a target function module from a plurality of page loading function modules; wherein the plurality of page loading function modules are used to obtain a page file of the vehicle-mounted system from a cloud server; A first sending module, used to send an execution instruction carrying a module identifier of the target functional module to a preset execution module; wherein the execution instruction is used to instruct execution of an operation corresponding to the target functional module; a retry execution module, used to call the preset execution module to execute the operation corresponding to the target function module, and when determining that the operation corresponding to the target function module fails to execute, retry the operation corresponding to the target function module to obtain a retry execution result corresponding to the target function module; The acquisition module is used to acquire the page file of the vehicle-mounted system according to the retry execution result corresponding to the target functional module.
9. A page file acquisition device for a vehicle-mounted system, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device implements the method according to any one of claims 1 to 7.
