Multi-screen upgrading method and device, equipment, medium and product
By obtaining the target screen type to be upgraded and selecting the upgrade method and file according to the network status, the problem of screen upgrade in the prior art relying on the network and being unable to upgrade multiple screens at the same time is solved, and the screen upgrade and multiple screens are upgraded simultaneously in the event of network abnormality are realized.
Patent Information
- Application Number
- CN202411912130.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-03-04
AI Technical Summary
The prior art cannot solve the need for screen upgrade without network or network failure, and cannot upgrade multiple screens at the same time, resulting in waste of workload and manpower and material resources.
By obtaining multiple target screen types to be upgraded, selecting the target upgrade method and obtaining the target upgrade file according to the network status, the screen upgrade can be upgraded in the abnormal network situation and upgrading multiple target screens at the same time.
Reduce dependence on network conditions, can still upgrade screens when network abnormalities, improve work efficiency, and realize the function of upgrading multiple screens at the same time.
Smart Images

Figure CN119556958A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of automobile intelligent cockpits, and in particular to a multi-screen upgrade method, device, equipment, medium and product. Background Art
[0002] With the development of society, the requirements for automobile intelligence are getting higher and higher. The development of smart cockpits is inseparable from various screens including central control and instruments. The screen software needs to be updated during the production or after-sales process of vehicles.
[0003] In the process of updating the screen software, the relevant technology cannot solve the need for screen upgrade when there is no network or the network fails. The only way is to replace the screen, which causes a lot of workload and waste of manpower and material resources. In addition, more and more car computers are equipped with multiple screens, and there is currently no good solution to the problem of upgrading multiple screens at the same time.
[0004] Therefore, the screen upgrade method in the related art has the problem of being too dependent on network conditions and being unable to upgrade multiple screens at the same time. Summary of the invention
[0005] In view of this, the present disclosure provides a multi-screen upgrade method, device, equipment, medium and product to solve the problem that the screen upgrade method in the related art is too dependent on network conditions and cannot upgrade multiple screens at the same time.
[0006] In a first aspect, the present disclosure provides a multi-screen upgrade method, the method comprising:
[0007] Get multiple target screen types to be upgraded;
[0008] Acquire a target upgrade method according to a network condition, wherein the target upgrade method is included in multiple upgrade methods, and the network condition includes a normal network and an abnormal network;
[0009] Based on the target upgrade mode, obtaining a target upgrade file corresponding to the target screen type, wherein the target upgrade file is included in multiple upgrade files;
[0010] According to the target upgrade file, upgrade the target screen where the target screen type is located.
[0011] In the embodiment of the present disclosure, multiple target screen types to be upgraded are acquired; a target upgrade method is acquired according to the network status, wherein the target upgrade method is included in multiple upgrade methods, and the network status includes normal network and abnormal network; based on the target upgrade method, a target upgrade file corresponding to the target screen type is acquired, wherein the target upgrade file is included in multiple upgrade files; and according to the target upgrade file, the target screen where the target screen type is located is upgraded. Since the embodiment of the present disclosure selects the target upgrade method according to the network status, the target screen can be upgraded even in the case of abnormal network, reducing the dependence on the network status. Since multiple target screen types to be upgraded are acquired, and the target upgrade files corresponding to these target screen types are acquired to upgrade multiple target screens, it is possible to upgrade multiple target screens at the same time.
[0012] In an optional implementation, the upgrade method includes vehicle computer upgrade and remote upgrade. Based on the target upgrade method, obtaining the target upgrade file corresponding to the target screen type includes:
[0013] When the network is normal or abnormal, based on the vehicle computer upgrade, obtain the target upgrade file corresponding to the target screen type;
[0014] or,
[0015] When the network is normal, based on remote upgrade, the target upgrade file corresponding to the target screen type is obtained.
[0016] In the disclosed embodiment, by selecting vehicle computer upgrade when the network is normal or abnormal, and selecting remote upgrade when the network is normal, it is possible to upgrade the target screen even when the network is abnormal, thereby reducing dependence on network conditions.
[0017] In an optional implementation, based on the vehicle computer upgrade, obtaining a target upgrade file corresponding to the target screen type includes:
[0018] Obtain the vehicle computer upgrade method, where the vehicle computer upgrade method includes vehicle computer local upgrade and vehicle computer and cloud interactive upgrade;
[0019] According to the local upgrade of the vehicle computer or the interactive upgrade of the vehicle computer and the cloud, the target upgrade file corresponding to the target screen type is obtained.
[0020] In the disclosed embodiment, the target upgrade file corresponding to the target screen type is obtained according to the local upgrade of the vehicle computer or the interactive upgrade of the vehicle computer and the cloud, so that the target upgrade file corresponding to the target screen type can be obtained based on the vehicle computer upgrade when the network is normal or abnormal.
[0021] In an optional implementation, according to the local upgrade of the vehicle computer or the interactive upgrade of the vehicle computer and the cloud, the target upgrade file corresponding to the target screen type is obtained, including:
[0022] When the vehicle computer upgrade mode is a local vehicle computer upgrade and the network is abnormal, a target upgrade file corresponding to the target screen type is acquired based on a preset device, wherein the preset device stores the upgrade file;
[0023] When the vehicle computer upgrade mode is interactive upgrade between the vehicle computer and the cloud and the network is normal, the target upgrade file corresponding to the target screen type is obtained based on the interaction between the vehicle computer and the cloud server.
[0024] In the disclosed embodiment, when the vehicle computer upgrade mode is vehicle computer local upgrade and the network is abnormal, the target upgrade file corresponding to the target screen type is obtained based on the preset device, so as to achieve the target upgrade file corresponding to the target screen type according to the vehicle computer local upgrade. When the vehicle computer upgrade mode is vehicle computer and cloud interactive upgrade and the network is normal, the target upgrade file corresponding to the target screen type is obtained based on the interaction between the vehicle computer terminal and the cloud server, so as to achieve the target upgrade file corresponding to the target screen type according to the vehicle computer and cloud interactive upgrade.
[0025] In an optional implementation, based on remote upgrade, obtaining a target upgrade file corresponding to the target screen type includes:
[0026] When the network is normal, obtain the upgrade command initiated by the cloud server;
[0027] Establish a communication connection between the vehicle terminal and the cloud server;
[0028] Get the target upgrade file corresponding to the target screen type sent by the cloud server.
[0029] In the disclosed embodiment, by obtaining the upgrade command initiated by the cloud server when the network is normal, a communication connection is established between the vehicle terminal and the cloud server, and then the target upgrade file corresponding to the target screen type sent by the cloud server is obtained, thereby realizing remote upgrade and obtaining the target upgrade file corresponding to the target screen type.
[0030] In an optional implementation, upgrading the target screen where the target screen type is located according to the target upgrade file includes:
[0031] Check the compliance of the target upgrade file according to the compliance agreement;
[0032] When the target upgrade file complies with the normative protocol, the target upgrade file is parsed to obtain a target parsed file;
[0033] Verify whether the target screen type matches the upgrade screen type of the target parsing file;
[0034] When the target screen type matches the upgrade screen type, the target screen is upgraded according to the upgrade protocol.
[0035] In the disclosed embodiment, by performing a normative check on the target upgrade file, the normativeness of the target upgrade file can be ensured. By parsing the target upgrade file that complies with the normative protocol to obtain the target parsed file, the target upgrade file can be converted into the target parsed file, which is convenient for subsequent upgrading of the target screen. By checking whether the target screen type matches the upgrade screen type of the target parsed file, the accuracy of the upgrade screen type of the target parsed file can be ensured. By upgrading the target screen according to the upgrade protocol when the target screen type matches the upgrade screen type, the target screen where the target screen type is located can be upgraded according to the target upgrade file.
[0036] In a second aspect, the present disclosure provides a multi-screen upgrade device, the device comprising:
[0037] A first acquisition module, used for acquiring multiple target screen types to be upgraded;
[0038] A second acquisition module is used to acquire a target upgrade method according to a network condition, wherein the target upgrade method is included in a plurality of upgrade methods, and the network condition includes a normal network and an abnormal network;
[0039] A third acquisition module is used to acquire a target upgrade file corresponding to a target screen type based on a target upgrade mode, wherein the target upgrade file is included in a plurality of upgrade files;
[0040] The upgrade module is used to upgrade the target screen where the target screen type is located according to the target upgrade file.
[0041] In a third aspect, the present disclosure provides a computer device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the multi-screen upgrade method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0042] In a fourth aspect, the present disclosure provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the multi-screen upgrade method of the first aspect or any corresponding embodiment thereof.
[0043] In a fifth aspect, the present disclosure provides a computer program product, including computer instructions, which are used to enable a computer to execute the multi-screen upgrade method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0045] Figure 1 is a flowchart of a multi-screen upgrade method according to an embodiment of the present disclosure;
[0046] Figure 2 is a block diagram of the working principle of the multi-screen upgrade method according to an embodiment of the present disclosure;
[0047] Figure 3 is a flowchart of a multi-screen upgrade method according to another embodiment of the present disclosure;
[0048] Figure 4 is a structural block diagram of a multi-screen upgrade device according to an embodiment of the present disclosure;
[0049] Figure 5 It is a schematic diagram of the hardware structure of the computer device of the embodiment of the present disclosure. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.
[0051] With the development of society, the requirements for automobile intelligence are getting higher and higher. The development of smart cockpits is inseparable from various screens including central control and instruments. The screen software needs to be updated during the production or after-sales process of vehicles.
[0052] In the process of updating the screen software, the relevant technology cannot solve the need for screen upgrade when there is no network or the network fails. The only way is to replace the screen, which causes a lot of workload and waste of manpower and material resources. In addition, more and more car computers are equipped with multiple screens, and there is currently no good solution to the problem of upgrading multiple screens at the same time.
[0053] Therefore, the screen upgrade method in the related art has the problem of being too dependent on network conditions and being unable to upgrade multiple screens at the same time.
[0054] In order to solve the above problems, according to an embodiment of the present disclosure, a multi-screen upgrade method embodiment is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0055] In this embodiment, a multi-screen upgrade method is provided. Figure 1 As shown, Figure 1 : is a flowchart of a multi-screen upgrade method according to an embodiment of the present disclosure, and the flowchart can be applied to a server, including the following steps:
[0056] Step S101, obtaining a plurality of target screen types to be upgraded.
[0057] Optionally, this embodiment involves a smart cockpit host (System on Chip, SOC), a human-computer interaction screen, all screens in the vehicle that support upgrades (including instrument screen, central control screen, co-pilot screen, etc.), a smart cockpit system storage unit, a cloud server, an external device with storage function (such as a USB flash drive), a qnx system and an android system, wherein the smart cockpit host includes Qualcomm 8155, 8295 chips and other external electronic devices that meet its functional operation.
[0058] It should be noted that the target screen type refers to any screen in the car that supports upgrading, such as the instrument screen, central control screen or co-pilot screen.
[0059] Specifically, Figure 2 As shown, the server has designed a user interface (UI) upgrade switch on the human-computer interaction screen in the vehicle. After the user clicks the switch, he selects multiple screen types to be upgraded, such as the instrument screen, central control screen, co-pilot screen, etc. The server thereby obtains multiple target screen types to be upgraded selected by the user.
[0060] Step S102, obtaining a target upgrade method according to a network condition, wherein the target upgrade method is included in a plurality of upgrade methods, and the network condition includes a normal network and an abnormal network.
[0061] Optionally, in the embodiment of the present disclosure, the network status includes normal network and abnormal network.
[0062] Specifically, the server obtains the target upgrade method according to the network status (normal network or abnormal network).
[0063] Step S103: based on the target upgrade mode, obtaining a target upgrade file corresponding to the target screen type, wherein the target upgrade file is included in a plurality of upgrade files.
[0064] Optionally, in the embodiment of the present disclosure, the target upgrade file is used to upgrade the target screen.
[0065] Specifically, Figure 2 As shown, the server creates an update service process (update_server) on the Android side, and uses the update_server process to obtain the target upgrade file according to the target upgrade method.
[0066] Step S104: upgrading the target screen of the target screen type according to the target upgrade file.
[0067] Optionally, in the embodiment of the present disclosure, if Figure 2 As shown, the server creates a separate upgrade program for each target screen, such as an instrument screen upgrade program, a central control screen upgrade program, and a co-pilot screen upgrade program.
[0068] Specifically, Figure 2 As shown, the server creates a display update process (display_update) on the qnx side, uses the display_update process to call the upgrade program, and upgrades the target screen where the target screen type is located according to the target upgrade file.
[0069] In the embodiment of the present disclosure, multiple target screen types to be upgraded are acquired; a target upgrade method is acquired according to the network status, wherein the target upgrade method is included in multiple upgrade methods, and the network status includes normal network and abnormal network; based on the target upgrade method, a target upgrade file corresponding to the target screen type is acquired, wherein the target upgrade file is included in multiple upgrade files; and according to the target upgrade file, the target screen where the target screen type is located is upgraded. Since the embodiment of the present disclosure selects the target upgrade method according to the network status, the target screen can be upgraded even in the case of abnormal network, reducing the dependence on the network status. Since multiple target screen types to be upgraded are acquired, and the target upgrade files corresponding to these target screen types are acquired to upgrade multiple target screens, it is possible to upgrade multiple target screens at the same time.
[0070] In some optional implementations, the upgrade method includes vehicle upgrade and remote upgrade. Based on the target upgrade method, obtaining the target upgrade file corresponding to the target screen type includes:
[0071] When the network is normal or abnormal, based on the vehicle computer upgrade, obtain the target upgrade file corresponding to the target screen type;
[0072] or,
[0073] When the network is normal, based on remote upgrade, the target upgrade file corresponding to the target screen type is obtained.
[0074] Optionally, in the disclosed embodiment, the upgrade method includes vehicle computer upgrade and remote upgrade, wherein the vehicle computer upgrade is a user requesting an upgrade on the vehicle computer side, and the remote upgrade is a cloud server initiating an upgrade remotely.
[0075] Specifically, when the network is normal or abnormal, the server obtains the target upgrade file corresponding to the target screen type based on the vehicle computer upgrade; when the network is normal, the server obtains the target upgrade file corresponding to the target screen type based on the remote upgrade.
[0076] In the disclosed embodiment, by selecting vehicle computer upgrade when the network is normal or abnormal, and selecting remote upgrade when the network is normal, it is possible to upgrade the target screen even when the network is abnormal, thereby reducing dependence on network conditions.
[0077] In some optional implementations, based on the vehicle computer upgrade, obtaining a target upgrade file corresponding to the target screen type includes:
[0078] Obtain the vehicle computer upgrade method, where the vehicle computer upgrade method includes vehicle computer local upgrade and vehicle computer and cloud interactive upgrade;
[0079] According to the local upgrade of the vehicle computer or the interactive upgrade of the vehicle computer and the cloud, the target upgrade file corresponding to the target screen type is obtained.
[0080] Optionally, in the embodiment of the present disclosure, the vehicle computer upgrade method includes local vehicle computer upgrade and interactive vehicle computer and cloud upgrade.
[0081] Specifically, after selecting multiple screen types to be upgraded, the user selects the vehicle upgrade method (including vehicle local upgrade and vehicle and cloud interactive upgrade). The server then obtains the vehicle upgrade method selected by the user (vehicle local upgrade or vehicle and cloud interactive upgrade), and obtains the target upgrade file corresponding to the target screen type according to the vehicle upgrade method selected by the user.
[0082] In the disclosed embodiment, the target upgrade file corresponding to the target screen type is obtained according to the local upgrade of the vehicle computer or the interactive upgrade of the vehicle computer and the cloud, so that the target upgrade file corresponding to the target screen type can be obtained based on the vehicle computer upgrade when the network is normal or abnormal.
[0083] In some optional implementations, according to the local upgrade of the vehicle computer or the interactive upgrade of the vehicle computer and the cloud, the target upgrade file corresponding to the target screen type is obtained, including:
[0084] When the vehicle computer upgrade mode is a local vehicle computer upgrade and the network is abnormal, a target upgrade file corresponding to the target screen type is acquired based on a preset device, wherein the preset device stores the upgrade file;
[0085] When the vehicle computer upgrade mode is interactive upgrade between the vehicle computer and the cloud and the network is normal, the target upgrade file corresponding to the target screen type is obtained based on the interaction between the vehicle computer and the cloud server.
[0086] Optionally, in an embodiment of the present disclosure, the preset device stores an upgrade file, and the preset device refers to an external device with a storage function (such as a USB flash drive).
[0087] Specifically, Figure 2 As shown, when the vehicle computer upgrade mode is local upgrade and the network is abnormal, the server creates an update_server process to read the target upgrade file corresponding to the target screen type in the preset device (such as a USB flash drive) and copies the target upgrade file to the memory.
[0088] When the vehicle computer upgrade mode is interactive upgrade between the vehicle computer and the cloud and the network is normal, the server creates an update_server process, uses the update_server process to initiate a communication request to the cloud server, and after successfully establishing a communication connection, sends an upgrade request for the target screen type from the vehicle computer to the cloud server. After the upgrade service request is successful, the target upgrade file is obtained from the cloud server.
[0089] In the disclosed embodiment, when the vehicle computer upgrade mode is vehicle computer local upgrade and the network is abnormal, the target upgrade file corresponding to the target screen type is obtained based on the preset device, so as to achieve the target upgrade file corresponding to the target screen type according to the vehicle computer local upgrade. When the vehicle computer upgrade mode is vehicle computer and cloud interactive upgrade and the network is normal, the target upgrade file corresponding to the target screen type is obtained based on the interaction between the vehicle computer terminal and the cloud server, so as to achieve the target upgrade file corresponding to the target screen type according to the vehicle computer and cloud interactive upgrade.
[0090] In some optional implementations, based on remote upgrade, obtaining a target upgrade file corresponding to the target screen type includes:
[0091] When the network is normal, obtain the upgrade command initiated by the cloud server;
[0092] Establish a communication connection between the vehicle terminal and the cloud server;
[0093] Get the target upgrade file corresponding to the target screen type sent by the cloud server.
[0094] Alternatively, if Figure 2 As shown, in the disclosed embodiment, when the network is normal, the server obtains the upgrade command initiated by the cloud server, creates an update_server process, uses the update_server process to establish a communication connection between the vehicle terminal and the cloud server, and after successfully establishing the communication connection, obtains the target upgrade file corresponding to the target screen type sent by the cloud server, and stores the target upgrade file in the vehicle terminal memory.
[0095] In the disclosed embodiment, by obtaining the upgrade command initiated by the cloud server when the network is normal, a communication connection is established between the vehicle terminal and the cloud server, and then the target upgrade file corresponding to the target screen type sent by the cloud server is obtained, thereby realizing remote upgrade and obtaining the target upgrade file corresponding to the target screen type.
[0096] In some optional implementations, upgrading the target screen where the target screen type is located according to the target upgrade file includes:
[0097] Check the compliance of the target upgrade file according to the compliance agreement;
[0098] When the target upgrade file complies with the normative protocol, the target upgrade file is parsed to obtain a target parsed file;
[0099] Verify whether the target screen type matches the upgrade screen type of the target parsing file;
[0100] When the target screen type matches the upgrade screen type, the target screen is upgraded according to the upgrade protocol.
[0101] Optionally, in the embodiment of the present disclosure, the normative protocol is used to check the normativeness of the target upgrade file, and the upgrade protocol is used to upgrade the target screen.
[0102] Specifically, Figure 2 As shown, the server creates a verification and parsing process (update_server_fe) on the Android side, uses the update_server_fe process to communicate with the update_server process, obtains the target upgrade file, checks the standardization of the target upgrade file according to the standardization protocol, and parses the target upgrade file when the target upgrade file complies with the standardization protocol to obtain the target parsed file, and further verifies whether the target screen type matches the upgrade screen type of the target parsed file.
[0103] Then, if Figure 2As shown, when the target screen type matches the upgrade screen type, the server creates a transfer process (update_server_be) on the qnx side, uses the update_server_be process to communicate with the update_server_fe process, obtains the target parsing file, and passes the target parsing file to the display_update process, uses the display_update process to call the upgrade program, and upgrades the target screen where the target screen type is located according to the target parsing file and the upgrade protocol.
[0104] In the disclosed embodiment, by performing a normative check on the target upgrade file, the normativeness of the target upgrade file can be ensured. By parsing the target upgrade file that complies with the normative protocol to obtain the target parsed file, the target upgrade file can be converted into the target parsed file, which is convenient for subsequent upgrading of the target screen. By checking whether the target screen type matches the upgrade screen type of the target parsed file, the accuracy of the upgrade screen type of the target parsed file can be ensured. By upgrading the target screen according to the upgrade protocol when the target screen type matches the upgrade screen type, the target screen where the target screen type is located can be upgraded according to the target upgrade file.
[0105] In some optional embodiments, such as Figure 3 As shown, Figure 3 It is a flowchart of a multi-screen upgrade method according to another embodiment of the present disclosure. In the case of a vehicle computer requesting an upgrade, the server obtains multiple target screen types to be upgraded and corresponding upgrade methods selected by the user. When the upgrade method is a local upgrade of the vehicle computer, the server reads the target upgrade file corresponding to the target screen type in a preset device (such as a USB flash drive) and copies the target upgrade file to the memory; when the upgrade method is an interactive upgrade between the vehicle computer and the cloud, the server initiates a communication request to the cloud server, and after successfully establishing a communication connection, sends an upgrade request for the target screen type from the vehicle computer to the cloud server, and after the upgrade service is successfully requested, obtains the target upgrade file from the cloud server; in the case of a remotely initiated upgrade, the server establishes a communication connection between the vehicle computer and the cloud server. If the communication fails, the upgrade fails; if the communication is successful, the target upgrade file corresponding to the target screen type sent by the cloud server is obtained, and the target upgrade file is stored in the vehicle computer memory.
[0106] like Figure 3As shown, after obtaining the target upgrade file, the server checks the standardization of the target upgrade file according to the standardization protocol. If the target upgrade file does not comply with the standardization protocol, the upgrade fails; if the target upgrade file complies with the standardization protocol, the target upgrade file is parsed to obtain the target parsed file, and further checks whether the target screen type matches the upgrade screen type of the target parsed file. If the target screen type does not match the upgrade screen type, the upgrade fails; if the target screen type matches the upgrade screen type, the status of the target screen is checked, and the target screen is upgraded according to the upgrade protocol.
[0107] In this embodiment, a multi-screen upgrade device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0108] This embodiment provides a multi-screen upgrade device, such as Figure 4 As shown, including:
[0109] A first acquisition module 401 is used to acquire multiple target screen types to be upgraded;
[0110] A second acquisition module 402 is used to acquire a target upgrade method according to a network condition, wherein the target upgrade method is included in a plurality of upgrade methods, and the network condition includes a normal network and an abnormal network;
[0111] A third acquisition module 403 is used to acquire a target upgrade file corresponding to a target screen type based on a target upgrade mode, wherein the target upgrade file is included in a plurality of upgrade files;
[0112] The upgrade module 404 is used to upgrade the target screen of the target screen type according to the target upgrade file.
[0113] In the embodiment of the present disclosure, multiple target screen types to be upgraded are acquired; a target upgrade method is acquired according to the network status, wherein the target upgrade method is included in multiple upgrade methods, and the network status includes normal network and abnormal network; based on the target upgrade method, a target upgrade file corresponding to the target screen type is acquired, wherein the target upgrade file is included in multiple upgrade files; and according to the target upgrade file, the target screen where the target screen type is located is upgraded. Since the embodiment of the present disclosure selects the target upgrade method according to the network status, the target screen can be upgraded even in the case of abnormal network, reducing the dependence on the network status. Since multiple target screen types to be upgraded are acquired, and the target upgrade files corresponding to these target screen types are acquired to upgrade multiple target screens, it is possible to upgrade multiple target screens at the same time.
[0114] In some optional implementations, the third acquisition module 403 includes:
[0115] The first acquisition submodule is used to acquire a target upgrade file corresponding to a target screen type based on a vehicle computer upgrade when the network is normal or abnormal;
[0116] The second acquisition submodule is used to acquire the target upgrade file corresponding to the target screen type based on remote upgrade when the network is normal.
[0117] In some optional implementations, the first acquisition submodule includes:
[0118] A first acquisition unit is used to acquire a vehicle computer upgrade mode, wherein the vehicle computer upgrade mode includes a vehicle computer local upgrade and a vehicle computer and cloud interactive upgrade;
[0119] The second acquisition unit is used to acquire a target upgrade file corresponding to a target screen type according to a local upgrade of the vehicle computer or an interactive upgrade of the vehicle computer and the cloud.
[0120] In some optional implementations, the second acquisition unit includes:
[0121] A first acquisition subunit is used to acquire a target upgrade file corresponding to a target screen type based on a preset device when the vehicle computer upgrade mode is a vehicle computer local upgrade and the network is abnormal, wherein the preset device stores the upgrade file;
[0122] The second acquisition subunit is used to acquire the target upgrade file corresponding to the target screen type based on the interaction between the vehicle computer and the cloud server when the vehicle computer upgrade mode is interactive upgrade between the vehicle computer and the cloud server and the network is normal.
[0123] In some optional implementations, the second acquisition submodule includes:
[0124] A third acquisition unit is used to acquire an upgrade command initiated by the cloud server when the network is normal;
[0125] An establishing unit, used to establish a communication connection between the vehicle terminal and the cloud server;
[0126] The fourth acquisition unit is used to acquire the target upgrade file corresponding to the target screen type sent by the cloud server.
[0127] In some optional implementations, the upgrade module 404 includes:
[0128] A check submodule, used to check the standardization of the target upgrade file according to the standardization protocol;
[0129] The parsing submodule is used to parse the target upgrade file to obtain the target parsed file when the target upgrade file complies with the normative protocol;
[0130] The verification submodule is used to verify whether the target screen type matches the upgrade screen type of the target parsed file;
[0131] The upgrade submodule is used to upgrade the target screen according to the upgrade protocol when the target screen type matches the upgrade screen type.
[0132] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0133] The multi-screen upgrade device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0134] The present disclosure also provides a computer device having the above Figure 4 The multi-screen upgrade unit shown.
[0135] See also Figure 5 , Figure 5 is a schematic diagram of a computer device provided by an optional embodiment of the present disclosure, such as Figure 5As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 A processor 10 is taken as an example.
[0136] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0137] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0138] The memory 20 may 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; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0139] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0140] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0141] The embodiments of the present disclosure also provide a computer-readable storage medium. The above-mentioned method according to the embodiments of the present disclosure can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium and downloaded through a network, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0142] A part of the present disclosure may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present disclosure through the operation of the computer. Those skilled in the art should understand that the existence of computer program instructions in computer-readable media includes, but is not limited to, source files, executable files, installation package files, etc., and accordingly, the way in which computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to the computer.
[0143] Although the embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A multi-screen upgrade method, characterized in that: The method comprises: Get multiple target screen types to be upgraded; Acquire a target upgrade method according to a network condition, wherein the target upgrade method is included in a plurality of upgrade methods, and the network condition includes a normal network and an abnormal network; Based on the target upgrade mode, acquiring a target upgrade file corresponding to the target screen type, wherein the target upgrade file is included in a plurality of upgrade files; The target screen where the target screen type is located is upgraded according to the target upgrade file.
2. The method according to claim 1, characterized in that The upgrade method includes vehicle computer upgrade and remote upgrade. The target upgrade method based on the target upgrade method, obtaining the target upgrade file corresponding to the target screen type includes: In the case of a normal or abnormal network, based on the vehicle computer upgrade, a target upgrade file corresponding to the target screen type is obtained; or, When the network is normal, based on the remote upgrade, a target upgrade file corresponding to the target screen type is acquired.
3. The method according to claim 2, characterized in that The step of obtaining a target upgrade file corresponding to the target screen type based on the vehicle computer upgrade includes: Obtaining a vehicle computer upgrade method, wherein the vehicle computer upgrade method includes a vehicle computer local upgrade and a vehicle computer and cloud computer interactive upgrade; According to the local upgrade of the vehicle computer or the interactive upgrade of the vehicle computer and the cloud, a target upgrade file corresponding to the target screen type is obtained.
4. The method according to claim 3, characterized in that The acquiring the target upgrade file corresponding to the target screen type according to the local upgrade of the vehicle computer or the interactive upgrade of the vehicle computer and the cloud includes: When the vehicle computer upgrade mode is a local upgrade of the vehicle computer and the network is abnormal, obtaining a target upgrade file corresponding to the target screen type based on a preset device, wherein the preset device stores the upgrade file; When the vehicle computer upgrade mode is interactive upgrade between the vehicle computer and the cloud and the network is normal, the target upgrade file corresponding to the target screen type is obtained based on the interaction between the vehicle computer and the cloud server.
5. The method according to claim 2, characterized in that: The step of acquiring a target upgrade file corresponding to the target screen type based on the remote upgrade includes: When the network is normal, obtain the upgrade command initiated by the cloud server; Establishing a communication connection between the vehicle terminal and the cloud server; Obtain a target upgrade file corresponding to the target screen type sent by the cloud server.
6. The method according to claim 1, characterized in that The step of upgrading the target screen of the target screen type according to the target upgrade file includes: Check the compliance of the target upgrade file according to the compliance agreement; If the target upgrade file complies with the normative protocol, parsing the target upgrade file to obtain a target parsed file; Verifying whether the target screen type matches the upgrade screen type of the target parsed file; In a case where the target screen type matches the upgrade screen type, the target screen is upgraded according to an upgrade protocol.
7. A multi-screen upgrade device, characterized in that: The device comprises: A first acquisition module, used for acquiring multiple target screen types to be upgraded; A second acquisition module is used to acquire a target upgrade method according to a network condition, wherein the target upgrade method is included in a plurality of upgrade methods, and the network condition includes a normal network and an abnormal network; A third acquisition module, configured to acquire a target upgrade file corresponding to the target screen type based on the target upgrade mode, wherein the target upgrade file is included in a plurality of upgrade files; An upgrading module is used to upgrade the target screen of the target screen type according to the target upgrading file.
8. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the multi-screen upgrade method according to any one of claims 1 to 6 by executing the computer instructions.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the multi-screen upgrading method according to any one of claims 1 to 6.
10. A computer program product, characterized in that The method comprises computer instructions, wherein the computer instructions are used to cause a computer to execute the multi-screen upgrading method according to any one of claims 1 to 6.