CN114880009A - Vehicle instrument upgrading system and method, electronic equipment and storage medium - Google Patents

Vehicle instrument upgrading system and method, electronic equipment and storage medium Download PDF

Info

Publication number
CN114880009A
CN114880009A CN202210553342.0A CN202210553342A CN114880009A CN 114880009 A CN114880009 A CN 114880009A CN 202210553342 A CN202210553342 A CN 202210553342A CN 114880009 A CN114880009 A CN 114880009A
Authority
CN
China
Prior art keywords
information
function configuration
instrument
vehicle
configuration information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210553342.0A
Other languages
Chinese (zh)
Inventor
赵颖慧
徐雷
郑红丽
刘朝阳
蔡旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Group Corp
Original Assignee
FAW Group Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FAW Group Corp filed Critical FAW Group Corp
Priority to CN202210553342.0A priority Critical patent/CN114880009A/en
Publication of CN114880009A publication Critical patent/CN114880009A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/656Updates while running
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a vehicle instrument upgrading system and method, electronic equipment and a storage medium. The system comprises a gateway and a vehicle instrument, wherein the gateway receives an instrument upgrading instruction sent by a server and sends the instrument upgrading instruction to the vehicle instrument; the vehicle instrument updates the instrument software according to the updated software information associated with the instrument upgrading instruction, controls the instrument to restart after the instrument software is updated, acquires the function configuration associated information of the vehicle instrument, and sends the function configuration associated information to the gateway; the gateway sends the function configuration associated information to the server, receives response information returned by the server, and sends the response information to the vehicle instrument; and the vehicle instrument determines target function configuration information according to the received response information and configures the update function of the instrument software according to the target function configuration information. The function of the vehicle instrument software is configured on line, so that the convenience and the efficiency of the online upgrade of the vehicle instrument are improved.

Description

Vehicle instrument upgrading system and method, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of automobile communication, in particular to a system and a method for upgrading a vehicle instrument, electronic equipment and a storage medium.
Background
With the development of vehicle intellectualization and individuation, vehicle instrument software can be continuously updated in an iterative manner, and the trend of realizing online upgrade is inevitable.
When a vehicle instrument needs software update, the conventional method is to go to a 4S shop to perform software upgrade On the instrument through an On-Board diagnostics (OBD) of the whole vehicle. With The development of vehicle intelligence, The vehicle can realize online upgrade by means of an Over The Air (OTA) technology and a vehicle-mounted ethernet. However, sometimes the optimization and extension of the functions of the meter are only performed for certain vehicle models, which results in the need to adapt the functional configuration of the meter. These meter functional configurations are often stored in an Electrically Erasable Programmable Read Only Memory (EEPROM) or a Data flash memory (Data flash), and cannot be updated through software upgrade. The meter software code and configuration information storage locations are seen in fig. 1. As shown in fig. 1, the meter Code is stored in a Code memory (Code Flash), the configuration information Data is stored in Data Flash or an external EEPROM, and when the meter Code is upgraded, the Code Flash is only updated, so that when the configuration Data is rewritten, the user needs to drive to a 4S shop to reconfigure the configuration values through the diagnostic apparatus.
When the instrument software is upgraded on line, the newly added, changed or deleted instrument functions after upgrading are required to be reconfigured according to different vehicle types, so that the instrument function configuration data are required to be updated according to the software version, and the reconfigured instrument function data are required to be reset through a diagnostic instrument. Thus, the user still needs to drive to the 4S shop (automatic Sales service 4S, 4S shop), which limits the convenience and efficiency of OTA online upgrade.
Disclosure of Invention
The invention provides a vehicle instrument upgrading system, a vehicle instrument upgrading method, electronic equipment and a storage medium, and aims to solve the problem that functional configuration data of a vehicle instrument cannot be updated on line.
According to an aspect of the present invention, there is provided a vehicle meter upgrading system, comprising a gateway and a vehicle meter, wherein:
the gateway is used for receiving the instrument upgrading instruction sent by the server and sending the instrument upgrading instruction to the vehicle instrument;
the vehicle instrument is used for updating the instrument software according to the updated software information related to the instrument upgrading instruction, controlling the instrument to restart after the instrument software is updated, acquiring the function configuration related information of the vehicle instrument and sending the function configuration related information to the gateway;
the gateway is used for sending the function configuration associated information to the server, receiving response information returned by the server and sending the response information to the vehicle instrument;
and the vehicle instrument is used for determining target function configuration information according to the received response information and configuring the update function of the instrument software according to the target function configuration information.
According to another aspect of the present invention, there is provided a vehicle meter upgrading method performed by a vehicle meter upgrading system provided in any one of the embodiments of the present invention, the method including:
receiving an instrument upgrading instruction sent by a server based on a gateway, and sending the instrument upgrading instruction to a vehicle instrument;
updating the meter software based on the updated software information associated with the vehicle meter according to the meter upgrading instruction, controlling the meter to restart after the update of the meter software is completed, acquiring the function configuration associated information of the vehicle meter, and sending the function configuration associated information to the gateway;
sending the function configuration associated information to a server based on the gateway, receiving response information returned by the server, and sending the response information to the vehicle instrument;
and determining target function configuration information according to the received response information based on the vehicle instrument, and configuring an instrument software updating function according to the target function configuration information.
According to another aspect of the invention, a vehicle is provided, which comprises the vehicle instrument upgrading system provided by any embodiment of the invention.
According to another aspect of the present invention, there is provided a vehicle meter upgrading method including:
responding to the detected meter upgrading event, generating a meter upgrading instruction and sending the meter upgrading instruction to a gateway of the vehicle meter upgrading system;
receiving function configuration associated information sent by a gateway, determining target function configuration information according to the function configuration associated information, and generating response information based on the target function configuration information;
and sending the response information to the gateway.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the vehicle meter upgrading method of any of the embodiments of the invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement a vehicle meter upgrading method provided in any one of the embodiments of the present invention when executed.
According to the technical scheme of the embodiment of the invention, the function configuration association information is sent to the server and the response information returned by the server is received, and the online configuration of the vehicle instrument function is realized in a mode of configuring the update function of the instrument software based on the target function configuration information determined according to the response information, so that the problem that the function configuration data of the vehicle instrument cannot be updated online is solved, the complexity of reconfiguring the vehicle instrument function offline is avoided, and the convenience and the efficiency of online upgrading of the vehicle instrument are improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a vehicle instrument system storage space;
FIG. 2 is a schematic structural diagram of a vehicle meter upgrading system according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a response message sending rule according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a vehicle instrument upgrading system according to a second embodiment of the present invention;
FIG. 5 is a schematic flow chart of a vehicle instrument upgrading method according to a fourth embodiment of the present invention;
fig. 6 is a schematic flowchart of a vehicle instrument upgrading method according to a fifth embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1 is a schematic diagram of a meter system memory space. As shown in fig. 1, the storage space of the vehicle instrument includes a Micro Control Unit (MCU) and an external electrically erasable programmable read-only memory (EEPROM), the instrument Code of the vehicle instrument software is stored in a Code Flash of the MCU, the configuration information Data is stored in a Data Flash of the MCU or the external EEPROM, when the vehicle instrument software is updated, the Code Flash is only updated, the configuration information Data in the Data Flash or the EEPROM is not updated, and the configuration information Data needs to be updated by the diagnostic device when the vehicle is driven to a 4S shop, so as to complete upgrade of the vehicle instrument system.
Fig. 2 is a schematic structural diagram of a vehicle meter upgrading system according to an embodiment of the present invention, and as shown in fig. 2, the vehicle meter upgrading system 110 includes a gateway 111 and a vehicle meter 112, where:
in the vehicle instrument software updating stage:
and the gateway 111 is used for receiving the meter upgrading instruction sent by the server 120 and sending the meter upgrading instruction to the vehicle meter 112.
In this embodiment, the server 120 sends the instrument upgrading instruction to the gateway 111, and the gateway 111 receives the instrument upgrading instruction and sends the instrument upgrading instruction to the vehicle instrument 112. Optionally, the mode for the server 120 to send the meter upgrade instruction to the gateway 111 may be GSM, ethernet, WiFi, or the like, which is not limited thereto. Optionally, the gateway 111 may send the traffic meter to the vehicle volume meter through a CAN network, which is not limited to this. Optionally, the server 120 may be a cloud server, which is not limited to this.
And the vehicle instrument 112 is used for updating the instrument software according to the updated software information associated with the instrument upgrading instruction, controlling the instrument to restart after the instrument software is updated, acquiring the function configuration associated information of the vehicle instrument, and sending the function configuration associated information to the gateway 111.
The updated software information associated with the meter upgrade instruction may be understood as software information for updating meter software, such as a meter code, and may be obtained by the vehicle meter 112 in a meter upgrade package issued by the server 120 to the gateway 111 after receiving the meter upgrade instruction (i.e., entering the upgrade mode). In this embodiment, the vehicle instrument 112 downloads the instrument upgrade package through the gateway 111, updates the instrument software according to the information in the instrument upgrade package, updates the vehicle instrument software, controls the instrument to restart after the instrument software is updated, runs the newly updated software code, obtains the function configuration related information of the vehicle instrument 112, and sends the function configuration related information to the gateway 111. Alternatively, the function configuration related information may be understood as information related to determining function configuration information, such as vehicle model information, software version information, and the like.
Optionally, the obtaining of the functional configuration related information of the vehicle instrument includes:
and acquiring vehicle model information of a vehicle to which the vehicle instrument belongs and instrument software version information after the update of the instrument software is completed, and taking the vehicle model information and the instrument software version information as function configuration associated information.
In this embodiment, after the control instrument is restarted and the newly updated instrument software is run, the vehicle model information of the vehicle to which the vehicle instrument 112 belongs and the instrument software version information after the update of the instrument software is completed are acquired, the vehicle model information and the instrument software version information are used as the function configuration related information, and the function configuration related information of the vehicle instrument is periodically sent to the gateway 111. The instrument software version information refers to software version information of current instrument software. Alternatively, the vehicle model information may include vehicle identification and power type information. The vehicle identifier may be a vehicle name, the power type information may include a fuel type and a new energy type, and the specific fuel type may further include a 1.5T low-distribution, a 1.5T high-distribution, a 2.0T low-distribution, a 2.0T high-distribution, and the like, which is not limited thereto.
When the vehicle instrument sends the function configuration associated information to the gateway, the function configuration associated information can be sent for multiple times to ensure that the function coordination associated information can be successfully sent to the gateway. Optionally, the sending period of the function configuration association information may be set to 5s, which is not limited herein. By periodically sending the function configuration associated information, the network pressure is reduced, and the function configuration associated information is ensured to be completely sent to the gateway.
For example, the format of the function configuration association information may refer to table 1:
TABLE 1
SW_1 SW_0 ConfigInfo R1 R2 R3 R4 R5
Wherein, SW _1 and SW _0 are software version numbers, ConfigInfo is vehicle model information data, and Rn is reserved. The vehicle model information data may refer to table 2:
TABLE 2
ConfigInfo Description of the invention
1 1.5T Low distribution
2 1.5T high-voltage distribution
3 2.0T Low distribution
4 2.0T high-grade
In the vehicle instrument software updating stage, the vehicle instrument updating system only completes the software updating task in the vehicle instrument system (namely only erasing and writing the Data of Code Flash in fig. 1), and also needs to perform function configuration on the updated instrument software (namely updating the function configuration information Data in Data Flash or EEPROM), so that the online updating of the vehicle instrument updating system can be completely realized.
In the configuration stage of the software updating function of the vehicle instrument:
and the gateway 111 is used for sending the function configuration related information to the server 120, receiving response information returned by the server 120 and sending the response information to the vehicle meter 112.
The response information refers to function configuration information obtained by the server 120 based on the function configuration association information, and specifically, the response information (function configuration information) includes a message sequence number, identification information, function configuration data, and the like. In this embodiment, the gateway 111 sends the function configuration related information to the server 120, the server 120 matches the function configuration related information with the function configuration information in the server 120 in response to the function configuration related information to obtain corresponding response information (function configuration information) and sends the response information to the gateway 111, and the gateway 111 receives the response information returned by the server 120 and sends the response information to the vehicle meter 112.
For example, the data format of the function configuration information may refer to table 3:
TABLE 3
SN Mask C1 C2 C3 C4 C5 C6
Wherein, SN is a message sequence number used for identifying the message sequence, the initial SN number is 1, and +1 is sent in sequence along with the configuration fields until all the configuration fields are sent out.
The Mask is identification information for identifying whether the corresponding Cn configuration byte is valid, and only the corresponding Cn byte of the set byte of the Mask is valid. Wherein a mask value of 0x0 indicates no effect and 0x1 indicates effect, as detailed in Table 4.
TABLE 4
Mask Description of the invention
Bit0 Reservation
Bit1 Reservation
Bit2 C1 effectiveness: 0 is invalid; 1 is effective
Bit3 C2 effectiveness: 0 is invalid; 1 is effective
Bit4 C3 effectiveness: 0 is invalid; 1 is effective
Bit5 C4 effectiveness: 0 is invalid; 1 is effective
Bit6 C5 effectiveness: 0 is invalid; 1 is effective
Bit7 C6 effectiveness: 0 is invalid; 1 is effective
Cn is function configuration data.
And the vehicle meter 112 is used for determining target function configuration information according to the received response information and configuring a meter software updating function according to the target function configuration information.
In this embodiment, the vehicle instrument 112 receives the response information sent by the gateway 111, determines the target function configuration data according to the received response information, updates the function configuration data based on the target function configuration information, and implements configuration of an update function of the instrument software.
On the basis of the above embodiment, optionally, receiving the response information returned by the server 120, and sending the response information to the vehicle meter 112, includes:
and receiving a plurality of response messages returned by the server 120, and sending the plurality of response messages to the vehicle instrument 112, wherein each response message contains partial function configuration information, and the data length of the function configuration information in the response messages is not more than the single-frame data length transmitted by the controller area network.
Generally, the data length of the function configuration information in the response information is far longer than the data length of a single frame transmitted by a controller area network, the function configuration data is split and transmitted in a multi-packet transmission mode in a plurality of response information modes, each response information contains part of function configuration data, and the problem that software complexity is increased by using other communication protocols is avoided. Illustratively, taking the CAN network as an example, the data length of the functional configuration data exceeds the single-frame data length (i.e. 8 bytes) of the CAN network, the functional configuration data is unpacked and sent, and the vehicle instrument packages a plurality of groups of response information after receiving the functional configuration data to obtain complete functional configuration data. In this embodiment, the gateway 111 receives a plurality of pieces of response information sent by the server 120, and periodically sends the plurality of pieces of response information to the vehicle instrument 112 based on the data sending rule, the vehicle instrument 112 receives the plurality of pieces of response information, obtains target function configuration information by packaging and splicing the plurality of pieces of received response information, and configures an instrument software updating function according to the target function configuration information. And when the packaging and sending times of the response information reach a set value, stopping sending the response information. Fig. 3 is a flowchart illustrating a response information sending rule according to an embodiment. As shown in fig. 3, after receiving the response message, the vehicle meter determines whether the response message is complete, and if not, the vehicle meter determines that the received response message is incomplete, stops receiving the response message, and restarts to send the response message in the next sending period; if yes, judging whether the number of times of packaging and sending the response information is equal to N, if yes, stopping sending the response information, and if not, continuing sending the response information in the next sending period. And N is the set packaging sending times. The gateway 111 sends the response message multiple times periodically, so that the network pressure can be reduced and the response message can be ensured to be correctly received by the vehicle meter 112. By splitting the function configuration data, each response message corresponds to part of the function configuration data, a plurality of response messages are sent to the vehicle instrument, and then the vehicle instrument 112 packages and splices the response messages to obtain complete function configuration data, thereby avoiding the software complexity increased by using a communication protocol.
Correspondingly, determining the target function configuration information according to the received response information includes:
and receiving a plurality of response messages, splicing the plurality of response messages to obtain target feedback messages, and determining target function configuration information based on the target feedback messages.
In this embodiment, the complete function configuration information is obtained based on the received multiple response information, and the complete function configuration information is the target function configuration information, and the configuration of the software update function is performed according to the target function configuration information. Target function configuration data is obtained by splicing and packaging the plurality of response messages, and the integrity of the function configuration data is ensured.
On the basis of the foregoing embodiment, optionally, configuring the software update function according to the target function configuration information includes:
and comparing the target function configuration information with the current function configuration information, and configuring the software updating function according to the comparison result.
In this embodiment, the function configuration data of each function in the target function configuration information is compared with the function configuration data in the current function configuration information, and if the function configuration data in the target function configuration information of a certain function is different from the function configuration data in the current function configuration information, the corresponding function configuration data in the current function configuration information is updated; and if the function configuration data in the target function configuration information of a certain function is the same as the function configuration data in the current function configuration information, skipping the function configuration data, and continuously comparing the next function configuration data until the function configuration data in the target function configuration information of all the functions is compared with the function configuration data in the current function configuration information.
Optionally, before comparing the target function configuration information with the current function configuration information, the method further includes:
and analyzing the target function configuration information to obtain the identification information in the target function configuration information.
And verifying the identification information, and comparing the target function configuration information with the current function configuration information after the verification is passed.
The identification information is used for identifying the validity of the function configuration data in the target function configuration information, if the validity is valid, the target function configuration information is compared with the current function configuration information, and if the validity is invalid, the function configuration data of the corresponding part is ignored. Illustratively, such as Mask identification in the above example. In this embodiment, before the target function configuration information is compared with the current function configuration information, the target function configuration information is analyzed to obtain identification information in the target function configuration information, the identification information is verified to determine whether the corresponding function configuration data is valid, the valid function configuration data is compared with the corresponding function configuration data in the current function configuration information, if yes, the corresponding function configuration data is ignored, and if not, the function configuration data is updated. By checking the identification information, the configuration accuracy of the updating function of the instrument software is ensured, the comparison rate of the target function configuration information and the current function configuration information is improved, and the upgrading efficiency of the vehicle instrument is improved.
According to the technical scheme, the function configuration is carried out on the upgraded software of the vehicle instrument based on the vehicle model information and the upgraded software version information, so that the online upgrade of the vehicle instrument is realized, the problem that the function configuration data of the vehicle instrument cannot be updated online is solved, the trouble of reconfiguring the functions of the vehicle instrument offline is avoided, and the convenience and the efficiency of the online upgrade of the vehicle instrument are improved.
Example two
Fig. 4 is a schematic structural diagram of a vehicle instrument upgrading system according to a second embodiment of the present invention. The present embodiment provides a preferred embodiment on the basis of the above embodiments, and the vehicle instrument upgrading system of the above embodiments is specifically described.
Referring to fig. 4, the cloud server informs the instrument of the need of OTA upgrade through the gateway and the gateway through the CAN network, when the instrument receives an OTA upgrade request through the CAN network, the instrument enters an upgrade mode, the cloud server issues an instrument upgrade package to the gateway, the instrument downloads the upgrade package through the gateway, the instrument software is updated, and after the upgrade is completed, the instrument is restarted and a new upgraded software code is run.
In some embodiments, after the upgrade is successful and the vehicle is restarted, the meter sends the software version information and the vehicle model information after the upgrade is successful to the gateway through the CAN network. It should be noted that the transmission period is defined as 5s to reduce the pressure of the CAN network.
In some embodiments, after receiving the software version information and the vehicle model information sent by the instrument through the CAN network, the gateway forwards the software version information and the vehicle model information to the cloud server through the vehicle-mounted ethernet.
In some embodiments, the cloud server receives the software version information and the vehicle model information forwarded by the gateway, analyzes the function configuration data of the instrument according to the received information, and sends the function configuration data to the gateway. It should be noted that Mask data is added to the configuration format of the functional configuration data, so as to judge the validity of the functional configuration data, and if the configuration format is invalid, the validity can be directly ignored, so that the functional configuration data is more flexible during configuration.
In some embodiments, the gateway periodically sends the function configuration data to the meter through the CAN network, where the sending period is 100ms, and the sending is stopped after 5 complete data frames are sent, so as to reduce the pressure of the CAN network and ensure that the function configuration data CAN be completely received; in addition, the length of the function configuration data often exceeds 8 bytes, and when the length of the function configuration data exceeds 8 bytes, the data is unpacked and sent and then packed by a receiving end, so that other communication protocols do not need to be used, and the complexity of software is further increased.
In some embodiments, the meter receives the functional configuration data sent by the gateway through the CAN network and compares the received functional configuration data with stored functional configuration data, and if different, updates and immediately validates the functional configuration data.
The vehicle instrument upgrading system provided by the embodiment is a preferable scheme provided on the basis of the above embodiment, and is not limited to the above embodiment.
EXAMPLE III
The embodiment of the invention provides a vehicle, which comprises a vehicle instrument upgrading system provided by any embodiment of the invention.
Example four
Fig. 5 is a schematic flow chart of a vehicle instrument upgrading method according to a fourth embodiment of the present invention, where the vehicle instrument upgrading method is executed by the vehicle instrument upgrading system according to any of the embodiments described above. As shown in fig. 5, the method includes:
s210, receiving a meter upgrading instruction sent by the server based on the gateway, and sending the meter upgrading instruction to the vehicle meter.
And S220, updating the meter software based on the updated software information associated with the vehicle meter according to the meter upgrading instruction, controlling the meter to restart after the update of the meter software is completed, acquiring the function configuration associated information of the vehicle meter, and sending the function configuration associated information to the gateway.
And S230, sending the function configuration related information to a server based on the gateway, receiving response information returned by the server, and sending the response information to the vehicle instrument.
S240, determining target function configuration information based on the vehicle instrument according to the received response information, and configuring an instrument software updating function according to the target function configuration information.
Optionally, the obtaining of the functional configuration related information of the vehicle instrument includes:
the method comprises the steps of obtaining vehicle model information of a vehicle to which a vehicle instrument belongs and instrument software version information after instrument software is updated, and taking the vehicle model information and the instrument software version information as function configuration associated information.
Optionally, receiving response information returned by the server, and sending the response information to the vehicle instrument, includes:
and receiving a plurality of response messages returned by the server, and sending the plurality of response messages to the vehicle instrument, wherein each response message contains partial function configuration information, and the data length of the function configuration information in the response messages is not more than the single-frame data length transmitted by the controller area network.
Correspondingly, determining the target function configuration information according to the received response information includes:
and receiving a plurality of response messages, splicing the plurality of response messages to obtain target feedback messages, and determining target function configuration information based on the target feedback messages.
Optionally, configuring the software update function according to the target function configuration information includes:
and comparing the target function configuration information with the current function configuration information, and configuring the software updating function according to the comparison result.
Optionally, before comparing the target function configuration information with the current function configuration information, the method further includes:
analyzing the target function configuration information to obtain identification information in the target function configuration information; and verifying the identification information, and comparing the target function configuration information with the current function configuration information after the verification is passed.
The vehicle instrument upgrading method provided by the embodiment of the invention can be realized by the vehicle instrument upgrading system provided by any embodiment of the invention, can realize the corresponding functional module of the system and has the beneficial effects of the system, and more specific configuration modes can refer to the embodiment and are not described again.
EXAMPLE five
Fig. 6 is a schematic flowchart of a vehicle instrument upgrading method according to a fifth embodiment of the present invention.
As shown in fig. 6, the method includes:
s310, responding to the detected meter upgrading event, generating a meter upgrading instruction and sending the meter upgrading instruction to a gateway of the vehicle meter upgrading system.
The instrument upgrading event can be an instrument upgrading request sent by a vehicle instrument upgrading system, can also be the fact that the current version information of vehicle instrument software is detected to be lower than the latest version information, and can also be a vehicle instrument comprehensive upgrading instruction initiated by a server. And the server responds to various detected meter upgrading events, generates meter upgrading instructions and sends the meter upgrading instructions to a gateway of the vehicle meter upgrading system.
S320, receiving the function configuration associated information sent by the gateway, determining target function configuration information according to the function configuration associated information, and generating response information based on the target function configuration information.
The function configuration associated information comprises instrument software version information and vehicle model information. The target function configuration information refers to function configuration information corresponding to the current vehicle instrument and is used for updating function configuration data of upgraded vehicle instrument software.
Optionally, determining the target function configuration information according to the function configuration association information includes: and taking the function configuration information corresponding to the function configuration related information in the function configuration table received in advance as target function configuration information. The function configuration table is a function configuration information table corresponding to different instrument software version information and vehicle model information. In this embodiment, the server receives the instrument software version information and the vehicle model information sent by the gateway, compares a pre-received function configuration table with the instrument software version information and the vehicle model information corresponding to the current vehicle instrument to obtain corresponding function configuration information as target function configuration information, and generates response information based on the target function configuration information.
On the basis of the foregoing embodiment, optionally, generating the response information based on the target function configuration information includes:
and generating a plurality of response messages according to the target function configuration information, wherein each response message contains part of the target function configuration information, and the data length of the function configuration information in the response messages is not more than the data length of a single frame transmitted by the controller area network.
In this embodiment, the target function configuration information is split into pieces having a data length not greater than a single-frame data length transmitted by the controller area network, and corresponding response information is generated, where each piece of response information includes a part of the target function configuration information.
And S330, sending the response information to the gateway.
According to the technical scheme of the embodiment, under the condition that an instrument upgrading event is detected, an instrument upgrading instruction is sent to the vehicle instrument upgrading system, so that the vehicle instrument upgrading system sends function configuration associated information, the function configuration associated information is compared with a function configuration table received in advance, target function configuration information is determined, response information is generated based on the target function configuration information and is sent to a gateway of the vehicle instrument upgrading system, and upgrading of the vehicle instrument is achieved.
The vehicle instrument upgrading method provided by the embodiment of the invention can be realized by the vehicle instrument upgrading system provided by any embodiment of the invention, and more specific configuration modes can refer to the embodiment and are not described again.
EXAMPLE six
Fig. 7 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 7, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM)12, a Random Access Memory (RAM)13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM)12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as the vehicle meter upgrade method.
In some embodiments, the vehicle meter upgrade method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the vehicle meter upgrading method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the vehicle meter upgrade method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
The computer program for implementing the vehicle meter upgrading method of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
EXAMPLE seven
The seventh embodiment of the present invention further provides a computer-readable storage medium, where computer instructions are stored, and the computer instructions are used to enable a processor to execute the vehicle instrument upgrading method provided by the embodiment of the present invention, where the method includes:
responding to the detected meter upgrading event, generating a meter upgrading instruction and sending the meter upgrading instruction to a gateway of the vehicle meter upgrading system; receiving function configuration associated information sent by a gateway, determining target function configuration information according to the function configuration associated information, and generating response information based on the target function configuration information; sending the response information to the gateway;
and/or, the vehicle instrument upgrading method provided by the embodiment of the invention is executed, and the method comprises the following steps: responding to the detected meter upgrading event, generating a meter upgrading instruction and sending the meter upgrading instruction to a gateway of the vehicle meter upgrading system; receiving function configuration associated information sent by a gateway, determining target function configuration information according to the function configuration associated information, and generating response information based on the target function configuration information; and sending the response information to the gateway.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (12)

1. A vehicle instrument upgrading system is characterized by comprising a gateway and a vehicle instrument, wherein:
the gateway is used for receiving an instrument upgrading instruction sent by a server and sending the instrument upgrading instruction to the vehicle instrument;
the vehicle instrument is used for updating the instrument software according to the updated software information associated with the instrument upgrading instruction, controlling the instrument to restart after the instrument software is updated, acquiring the function configuration associated information of the vehicle instrument, and sending the function configuration associated information to the gateway;
the gateway is used for sending the function configuration associated information to a server, receiving response information returned by the server and sending the response information to the vehicle instrument;
and the vehicle instrument is used for determining target function configuration information according to the received response information and configuring the update function of the instrument software according to the target function configuration information.
2. The system of claim 1, wherein the obtaining the functional configuration related information of the vehicle meter comprises:
and acquiring vehicle model information of a vehicle to which the vehicle instrument belongs and instrument software version information after the update of instrument software is completed, and taking the vehicle model information and the instrument software version information as the function configuration associated information.
3. The system of claim 1, wherein the receiving the response information returned by the server and sending the response information to the vehicle meter comprises:
receiving a plurality of response messages returned by a server, and sending the response messages to the vehicle instrument, wherein each response message contains partial function configuration information, and the data length of the function configuration information in the response messages is not more than the single-frame data length transmitted by a controller area network;
correspondingly, the determining target function configuration information according to the received response information includes:
and receiving the plurality of response messages, splicing the plurality of response messages to obtain target feedback information, and determining the target function configuration information based on the target feedback information.
4. The system according to claim 1, wherein the configuring of the software update function according to the target function configuration information comprises:
and comparing the target function configuration information with the current function configuration information, and configuring a software updating function according to a comparison result.
5. The system of claim 4, further comprising, prior to comparing the target function configuration information with current function configuration information:
analyzing the target function configuration information to obtain identification information in the target function configuration information;
and verifying the identification information, and comparing the target function configuration information with the current function configuration information after the verification is passed.
6. A vehicle meter upgrading method, performed by the vehicle meter upgrading system of any one of claims 1-5, the method comprising:
receiving an instrument upgrading instruction sent by a server based on a gateway, and sending the instrument upgrading instruction to the vehicle instrument;
updating the meter software based on the updated software information associated with the vehicle meter according to the meter upgrading instruction, controlling the meter to restart after the meter software is updated, acquiring the function configuration associated information of the vehicle meter, and sending the function configuration associated information to the gateway;
sending the function configuration associated information to a server based on a gateway, receiving response information returned by the server, and sending the response information to the vehicle instrument;
and determining target function configuration information based on the vehicle instrument according to the received response information, and configuring the update function of the instrument software according to the target function configuration information.
7. A vehicle comprising the vehicle meter upgrading system according to any of claims 1-5.
8. A vehicle instrument upgrade method, comprising:
responding to the detected meter upgrading event, generating a meter upgrading instruction and sending the meter upgrading instruction to a gateway of the vehicle meter upgrading system;
receiving function configuration associated information sent by the gateway, determining target function configuration information according to the function configuration associated information, and generating response information based on the target function configuration information;
and sending the response information to the gateway.
9. The method of claim 8, wherein the determining target function configuration information according to the function configuration association information comprises:
and taking the function configuration information corresponding to the function configuration related information in a function configuration table received in advance as the target function configuration information.
10. The method of claim 8, wherein generating response information based on the target function configuration information comprises:
and generating a plurality of response messages according to the target function configuration information, wherein each response message comprises part of the target function configuration information, and the data length of the function configuration information in the response messages is not more than the single-frame data length transmitted by the controller area network.
11. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the vehicle meter upgrading method of any of claims 8-10.
12. A computer readable storage medium storing computer instructions for causing a processor to perform the vehicle meter upgrading method of any one of claims 8-10 when executed.
CN202210553342.0A 2022-05-20 2022-05-20 Vehicle instrument upgrading system and method, electronic equipment and storage medium Pending CN114880009A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210553342.0A CN114880009A (en) 2022-05-20 2022-05-20 Vehicle instrument upgrading system and method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210553342.0A CN114880009A (en) 2022-05-20 2022-05-20 Vehicle instrument upgrading system and method, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114880009A true CN114880009A (en) 2022-08-09

Family

ID=82678027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210553342.0A Pending CN114880009A (en) 2022-05-20 2022-05-20 Vehicle instrument upgrading system and method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114880009A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024051340A1 (en) * 2022-09-09 2024-03-14 中国第一汽车股份有限公司 Global configuration method and apparatus for vehicle, and device and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024051340A1 (en) * 2022-09-09 2024-03-14 中国第一汽车股份有限公司 Global configuration method and apparatus for vehicle, and device and medium

Similar Documents

Publication Publication Date Title
CN107861871B (en) Gray scale publishing method, device, server and storage medium
CN111813622B (en) Equipment monitoring method and device
CN114880009A (en) Vehicle instrument upgrading system and method, electronic equipment and storage medium
CN114430366B (en) Information acquisition application issuing method, related device and computer program product
CN115484299A (en) Whole vehicle global configuration method, device, equipment and medium
CN114417780B (en) State synchronization method and device, electronic equipment and storage medium
CN116107703A (en) Interface control document generation method and device
CN115509850A (en) Log processing method, device, equipment, storage medium and computer program
CN111580857B (en) Equipment firmware online configuration method, device and system
CN115437663A (en) Upgrade strategy updating method and device, electronic equipment, storage medium and vehicle
CN112667255B (en) Updating method, updating device, electronic equipment and storage medium
CN115421728A (en) Business code generation method and device, electronic equipment and storage medium
CN115061921A (en) Automatic test method, device, electronic equipment and readable storage medium
CN115309730A (en) Data auditing method and device, electronic equipment and storage medium
CN115774837A (en) Signal verification method, device, equipment, medium, program product and vehicle
CN114546444A (en) Vehicle upgrading method and device, electronic equipment, medium and automatic driving vehicle
CN114880007A (en) Upgrading method, device, equipment and storage medium
CN114389969A (en) Client test method and device, electronic equipment and storage medium
CN111950232B (en) Method and device for automatically switching number segments
CN114138358A (en) Application program starting optimization method, device, equipment and storage medium
CN112817953A (en) Data verification method and device, computer equipment and computer-readable storage medium
CN113010424B (en) Interface automatic test processing method, system, computer equipment and storage medium
CN114238149A (en) Batch testing method of accounting system, electronic device and storage medium
CN115408034A (en) Vehicle-mounted controller upgrading method and device, electronic equipment and storage medium
CN115102850A (en) Configuration comparison method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination