CN116373758A - Control method, storage medium and controller for engineering vehicle electric control unit - Google Patents

Control method, storage medium and controller for engineering vehicle electric control unit Download PDF

Info

Publication number
CN116373758A
CN116373758A CN202310180055.4A CN202310180055A CN116373758A CN 116373758 A CN116373758 A CN 116373758A CN 202310180055 A CN202310180055 A CN 202310180055A CN 116373758 A CN116373758 A CN 116373758A
Authority
CN
China
Prior art keywords
control unit
unit
electric control
load rate
engineering vehicle
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
CN202310180055.4A
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.)
Zoomlion Heavy Industry Science and Technology Co Ltd
Original Assignee
Zoomlion Heavy Industry Science and Technology Co Ltd
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 Zoomlion Heavy Industry Science and Technology Co Ltd filed Critical Zoomlion Heavy Industry Science and Technology Co Ltd
Priority to CN202310180055.4A priority Critical patent/CN116373758A/en
Publication of CN116373758A publication Critical patent/CN116373758A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • B60R16/0231Circuits relating to the driving or the functioning of the vehicle
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the application provides a control method, a control device, a processor and a storage medium for an electric control unit of an engineering vehicle. The control method is applied to the remote terminal and comprises the following steps: acquiring the on-off state of a key of the engineering vehicle; acquiring the running state of the electric control unit under the condition that the switch state is on; under the condition that the running state is the stop running, the electronic control unit is determined to be a target upgrading unit; determining a transmission period of an upgrade file according to the current load rate of the bus; and establishing connection with the target upgrading unit, and transmitting the upgrading file to the target upgrading unit according to the transmission period so as to finish the upgrading operation of the target upgrading unit. The invention effectively improves the transmission efficiency of the upgrade file of the automobile electronic control unit, ensures the normal operation of the automobile, meets the requirement of the operation working condition of the automobile, and solves the problem that the automobile system cannot operate due to file transmission during upgrade.

Description

Control method, storage medium and controller for engineering vehicle electric control unit
Technical Field
The application relates to the technical field of automobile OTA upgrading, in particular to a control method, a control system, a storage medium and a controller for an electric control unit of an engineering vehicle.
Background
With the continuous development of electric, intelligent, networking and sharing in the automotive field, in the intelligent processing of a vehicle, information processing is generally required to be carried out through matching of a cloud end and the vehicle, for example, in the OTA upgrading process of an automotive system, an upgrading file is required to be obtained, and then the vehicle is subjected to brushing and upgrading processing according to the upgrading file. In the prior art, when the vehicle-mounted terminal needs to perform upgrading operation, if the vehicle is working at this time, in order to ensure that data communication is not affected when the vehicle is working normally, the preposition condition of upgrading file transmission generally needs to ensure that the vehicle is in a stop working state, and the vehicle cannot work before the file transmission is completed. The OTA upgrading mode cannot meet the use requirement of the crane, a single ECU at the vehicle-mounted end of the crane is generally provided with a plurality of systems, and the systems do not influence normal operation of the systems when receiving an upgrading file and upgrading the systems, so that the bus bandwidth is not fully utilized.
Disclosure of Invention
The embodiment of the application aims to provide a control method, a control system, a storage medium and a controller for an electric control unit of an engineering vehicle.
In order to achieve the above object, a first aspect of the present application provides a control method for an electric control unit of an engineering vehicle, applied to a remote end, the control method comprising:
acquiring the on-off state of a key of the engineering vehicle;
acquiring the running state of the electric control unit under the condition that the switch state is on;
under the condition that the running state is the stop running, the electronic control unit is determined to be a target upgrading unit;
determining a transmission period of an upgrade file according to the current load rate of the bus;
and establishing connection with the target upgrading unit, and transmitting the upgrading file to the target upgrading unit according to the transmission period so as to finish the upgrading operation of the target upgrading unit.
In one embodiment, the electronic control unit includes a plurality of sub electronic control units, and in the case that the operation state is the stop operation, determining the electronic control unit as the target upgrade unit includes: acquiring the running state of each sub-electric control unit; and determining any sub-electronic control unit with the running state of stopping to be a target electronic control unit.
In one embodiment, the control method further comprises: and under the condition that the running states of the plurality of sub-electronic control units are running, arbitrarily selecting one sub-electronic control unit as a target electronic control unit, and controlling the target upgrading unit to stop running.
In one embodiment, the control method further comprises: determining the network average load rate of the bus; and determining the current load rate of the bus according to the average load rate of the network and the preset maximum load rate.
In one embodiment, determining the current load rate of the bus from the network average load rate and the preset maximum load rate includes determining according to equation (1):
μ 0 =α-μ(1)
wherein mu 0 refers to the current load rate, alpha refers to the preset maximum load rate, and mu refers to the average load rate of the network.
In one embodiment, determining the network average load rate of the bus comprises: determining the bit length of a single message of the upgrade file and the number of messages of the upgrade file in unit time; determining the bandwidth occupation amount of a plurality of messages in unit time according to the bit length and the message number; and determining the average load rate of the network according to the bandwidth occupation amount and the theoretical maximum value of the bandwidth.
In one embodiment, the bit length of a single message is determined according to equation (2):
Figure BDA0004102164010000021
where L is the bit length of a single message, f is the frame fixed format bit, the standard frame f=47, the extended frame f=67, s is the offset, the standard frame s=34, the extended frame s=54, d is the data length of a single message.
In one embodiment, the bandwidth occupancy is determined according to equation (3):
Figure BDA0004102164010000031
wherein R is 0 N is the number of messages in unit time, L i For the bit length of the ith message, N i The number of the i-th message sent in a unit time.
In one embodiment, the network average load factor is determined according to equation (4):
Figure BDA0004102164010000032
wherein mu refers to the average load rate of the network, n is the number of messages in unit time, L i For the bit length of the ith message, N i And R is the theoretical maximum value of the bandwidth for the transmission quantity of the ith message in unit time.
A second aspect of the present application provides a controller configured to perform the control method for an electric control unit of an engineering vehicle described above.
A third aspect of the present application provides an engineering vehicle, including:
and the vehicle-mounted end is used for monitoring the on-off state of the engineering vehicle key and the running state of the electric control unit.
A fourth aspect of the present application provides a control system for an electric control unit of an engineering vehicle, comprising:
a remote terminal including the controller configured to perform the control method for the electric control unit of the engineering vehicle;
the engineering vehicle.
A fifth aspect of the present application provides a machine-readable storage medium having stored thereon instructions that, when executed by a processor, cause the processor to be configured to perform the control method for an electric control unit of a work vehicle as described above.
Through the technical scheme, the transmission efficiency of the upgrade file of the automobile electronic control unit is effectively improved, the normal operation of the automobile is guaranteed, the operation working condition requirement of the automobile is met, and the problem that the automobile system cannot operate due to file transmission during upgrade is solved.
Additional features and advantages of embodiments of the present application will be set forth in the detailed description that follows.
Drawings
The accompanying drawings are included to provide a further understanding of embodiments of the present application and are incorporated in and constitute a part of this specification, illustrate embodiments of the present application and together with the description serve to explain, without limitation, the embodiments of the present application. In the drawings:
fig. 1 schematically shows a flow chart of a control method for an electric control unit of an engineering vehicle according to an embodiment of the application;
FIG. 2 schematically illustrates a flow diagram of a crane non-A/B partition electronic control unit upgrade according to an embodiment of the present application;
FIG. 3 schematically illustrates a flow diagram of a crane upgrade with A/B partition electronic control units according to an embodiment of the present application;
fig. 4 schematically shows a block diagram of a control system device of an electric control unit of an engineering vehicle according to an embodiment of the application;
fig. 5 schematically shows an internal structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the specific implementations described herein are only for illustrating and explaining the embodiments of the present application, and are not intended to limit the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present application based on the embodiments herein.
Fig. 1 schematically shows a flow chart of a control method for an electric control unit of an engineering vehicle according to an embodiment of the application. As shown in fig. 1, in an embodiment of the present application, there is provided a control method for an electric control unit of an engineering vehicle, including the steps of:
step 101, acquiring the on-off state of a key of the engineering vehicle.
Step 102, acquiring the running state of the electric control unit under the condition that the switch state is on.
And step 103, determining the electronic control unit as a target upgrading unit under the condition that the operation state is stop operation.
Step 104, determining the transmission period of the upgrade file according to the current load rate of the bus.
Step 105, establishing connection with the target upgrading unit, and transmitting the upgrading file to the target upgrading unit according to the transmission period to complete the upgrading operation of the target upgrading unit.
OTA is an over-the-air technology, which is a technology for implementing remote management of mobile terminal equipment and SIM card data through an air interface of mobile communication. The automobile OTA technology is a technology for downloading an upgrade package on a remote server through a wireless network and upgrading a vehicle-mounted terminal system or application. The automobile OTA system mainly comprises an OTA management platform at the cloud end and an OTA execution layer at the automobile end, and the OTA management platform and the OTA execution layer are connected through a mobile network to jointly complete the OTA upgrading task of the automobile. The OTA management platform is mainly controlled and operated by a user, and after the user determines a proper upgrading range according to the information such as the vehicle model and the software version through the OTA management platform according to the upgrading requirement of the vehicle end, the upgrading file is transmitted to the vehicle end of the vehicle to be upgraded through a wireless network such as a mobile network or a WIFI (wireless fidelity) so as to finish the upgrading of the vehicle end.
CAN is an acronym for control residing in the network, known as the ISO international standardized serial communication protocol. The CAN bus load factor refers to the ratio of the number of bits actually transmitted per unit time to the number of bits that CAN be transmitted on the CAN bus. According to the technical scheme, the vehicle-end CAN communication data transmission adaptive control method suitable for the OTA upgrading of the automobile crane is designed, a remote Terminal (TBOX) is adopted as an OTA upgrading controller, the average bus load rate and the crane working condition are monitored in real time, and the transmission period of an upgrading file transmission data frame is adjusted according to the working condition and the bus load rate, so that the bus load rate is maintained in a reasonable range, normal communication of operation data is ensured, the operation working condition requirement of the automobile crane is met, and the problem that file transmission cannot be operated during upgrading is solved.
Further, the remote terminal may refer to a remote terminal, and the remote terminal obtains an ACC state of an ignition switch of a cab of the engineering vehicle to determine whether the engineering vehicle is currently in a standby state. The ACC state refers to a state of opening and closing a key door. When the ACC state is judged to be the ACC ON state, namely, the ON-off state of the key is judged to be ON, the engineering vehicle can be determined to be in the running state, and at the moment, the electric control unit can be in the dormant or running state. Therefore, after confirming that the engineering vehicle is in the running state, the remote terminal also needs to confirm the running condition of the electric control unit, and can directly execute upgrading operation on the electric control unit under the condition that the current running state of the electric control unit is confirmed to be stopped, namely dormant. Specifically, the electronic control unit in the running stop state is determined as the target upgrading unit, and the remote terminal can determine the transmission period of the upgrading file for the target upgrading unit according to the current load rate of the bus. After the connection with the target upgrading unit is established through the wireless network, the upgrading file is transmitted to the target upgrading unit through a transmission period, and the electronic control unit can complete upgrading operation after receiving the complete upgrading file.
According to the technical scheme, the remote terminal is used for monitoring the average bus load rate and the running state of the vehicle electronic control unit in real time, the transmission period of the upgrade file transmission data frame is adjusted according to the running state of the electronic control unit and the bus load rate, the transmission efficiency of the upgrade file of the vehicle electronic control unit is effectively improved, the normal running of the vehicle is guaranteed, the operation working condition requirements of the vehicle electronic control unit are met, and the problem that file transmission cannot be conducted during upgrading is solved.
Fig. 1 is a flow chart of a control method for an electric control unit of an engineering vehicle in one embodiment. It should be understood that, although the steps in the flowchart of fig. 1 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 1 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of other steps or sub-steps of other steps.
In one embodiment, the remote terminal obtains the ACC state of the engineering vehicle cab ignition switch to determine whether the engineering vehicle is currently in a standby state. When the ACC state is determined to be the ACC OFF state, that is, the on-OFF state of the key is determined to be OFF, it is determined that the working vehicle is in the stopped state. At this time, the vehicle is not ignited, the whole vehicle electric control unit is in a dormant state, the remote terminal can directly select the electric control unit as a target upgrading unit, establish connection with the target upgrading unit, and transmit an upgrading file to the target upgrading unit in the shortest data frame so as to complete the upgrading operation of the target upgrading unit.
In one embodiment, the sub-electronic control unit is a characteristic of an electronic control unit in the case that the electronic control unit is an a/B non-partitioned electronic control unit, where a/B non-partitioned may refer to two systems A, B in a controller, the two systems are redundant by backup, and each of the two systems performs different operations by controlling, respectively, and similarly, an a/B partitioned refers to only one system a or B in a controller. In the technical scheme, the crane loading control system and the chassis control system can be known to be installed in the same vehicle controller according to the characteristics of the crane, and the crane loading operation and the chassis operation can be independently controlled and executed without mutual influence. Thus, a sub-electronic control unit may refer to an on-board electronic control unit or a chassis electronic control unit.
Further, when the electronic control unit of the engineering vehicle has a plurality of sub electronic control units, that is, the electronic control unit is an a/B non-partitioned electronic control unit, according to the characteristics of OTA upgrading, it is known that the upgraded electronic control unit cannot operate in the process of performing the upgrading operation, so that the remote terminal needs to detect the current operation state of each sub electronic control unit when it wants to select a target upgrading unit from the plurality of sub electronic control units. When the remote terminal detects that any one of the sub-electronic control units is in a state of stopping operation currently, the sub-electronic control unit can be selected as a target upgrading unit, and an upgrading file is transmitted to the target upgrading unit to finish upgrading operation of the target upgrading unit.
Further, when detecting that the plurality of sub electronic control units are all currently running, selecting one sub electronic control unit as a target upgrading unit at will, sending a running stopping instruction to a vehicle-mounted end of the vehicle, and controlling the target upgrading unit to stop running after receiving the instruction by the vehicle-mounted end. After the target upgrading unit stops running, the vehicle-mounted terminal can establish connection with the target upgrading unit to output an upgrading file to the target upgrading unit, and after the target upgrading unit receives the complete upgrading file, the vehicle-mounted terminal can finish upgrading.
In one embodiment, as shown in FIG. 2, a flow diagram of a crane no A/B partition electronic control unit upgrade is provided. At this time, the sub electronic control unit includes an upper vehicle electronic control unit and a chassis electronic control unit. The remote terminal acquires the ACC state of the ignition switch of the crane cab to judge whether the crane is in a standby state currently. When the ACC state is determined to be the ACC OFF state, that is, the on-OFF state of the key is determined to be OFF, it is determined that the crane is in the stopped state. At this time, the vehicle is not ignited, the on-board electronic control unit and the chassis electronic control unit are in a dormant state, the remote terminal can directly select the on-board electronic control unit and the chassis electronic control unit electric target upgrading unit, and sequentially connect the on-board electronic control unit and the chassis electronic control unit electric target upgrading unit, and the on-board electronic control unit and the chassis electronic control unit electric target upgrading unit and the remote terminal transmit upgrading files to the on-board electronic control unit and the chassis electronic control unit by the shortest data frame so as to finish upgrading operation of the on-board electronic control unit and the chassis electronic control unit.
Further, when the ACC state is determined to be the ACC ON state, that is, the ON-off state of the key is determined to be ON, it may be determined that the crane is in the running state, and at this time, the boarding electronic control unit and the chassis electronic control unit may be in the sleep or running state. Therefore, after confirming that the crane is in the running state, the remote terminal also needs to confirm the running conditions of the on-board electronic control unit and the chassis electronic control unit respectively. Specifically, the remote terminal judges the current running states of the chassis electric control unit and the boarding electric control unit, and if any one of the chassis electric control unit and the boarding electric control unit is in a stop running state, for example, if the chassis electric control unit is in a stop running boarding electric control unit and is in a running state, the OTA upgrading process of the chassis electric control unit can be started, and at the moment, the boarding electric control unit can still continue to run. After receiving the upgrade file and the upgrade instruction sent by the cloud, the remote terminal establishes connection with the chassis electric control unit, and determines the transmission period of the upgrade file according to the current load rate of the network bus, so as to transmit the upgrade file to the chassis electric control unit through the transmission period. In addition, the vehicle-mounted terminal can remind the user of the character through the man-machine interaction interface, the user is informed of upgrading the chassis driving system and cannot carry out chassis driving operation, and after the upgrade file is transmitted, the user can be reminded of the upgrade through the character.
Further, under the condition that the chassis electric control unit and the boarding electric control unit are both in operation, the remote terminal can arbitrarily select one of the chassis electric control unit and the boarding electric control unit as a target upgrading unit, for example, if the remote terminal detects that the boarding electric control unit needs to perform upgrading operation, the remote terminal issues an instruction for stopping operation of the boarding electric control unit to the vehicle-mounted terminal. The vehicle-mounted end can control the boarding electric control unit to stop running according to the instruction, and the chassis electric control unit is not affected and can continue to normally run. After detecting that the on-board electronic control unit stops running, the remote terminal can establish connection with the on-board electronic control unit, determine the transmission period of the upgrade file according to the current load rate of the network bus, so as to transmit the upgrade file to the on-board electronic control unit through the transmission period, and the on-board electronic control unit can complete the upgrade operation after receiving the complete upgrade file.
In one embodiment, as shown in FIG. 3, a schematic flow diagram of a crane upgrade with A/B partition electronic control units is provided. When the electric control unit is an A/B partition electric control unit, the remote terminal acquires the ACC state of the ignition switch of the cab of the engineering vehicle to judge whether the engineering vehicle is in a standby state currently. When the ACC state is determined to be the ACC OFF state, that is, the on-OFF state of the key is determined to be OFF, it is determined that the working vehicle is in the stopped state. At this time, the vehicle is not ignited, the electronic control unit is in a dormant state, and the remote terminal can directly establish connection with the electronic control unit and transmit an upgrade file to the remote terminal in the shortest data frame so as to complete the upgrade operation of the electronic control unit.
Further, when the ACC state is determined to be the ACC ON state, that is, the ON-off state of the key is determined to be ON, it may be determined that the engineering vehicle is in the running state, and at this time, the electronic control unit may be in the sleep or running state. Under the condition that the current running state of the electric control unit is determined to be the running stop, the electric control unit is determined to be the target upgrading unit, connection is established between the electric control unit and the target upgrading unit, and the remote terminal determines the transmission period of the upgrading file for the target upgrading unit according to the current load rate of the bus, so that the upgrading file is transmitted to the target upgrading unit through the transmission period, and the upgrading operation of the electric control unit is completed.
In one embodiment, after confirming that the engineering vehicle is in an operating state, and determining that the current operating state of the electronic control unit is a stop operation, the remote terminal determines the electronic control unit in the stop operating state as a target upgrading unit and establishes connection with the target upgrading unit. After establishing connection with the target upgrading unit, the remote terminal firstly determines the network average load rate of the bus, then determines the current load rate of the bus according to the network average load rate and the preset maximum load rate, and calculates the transmission period of the upgrading file according to the current load rate of the bus, so that the upgrading file is transmitted to the target upgrading unit through the transmission period, and the upgrading operation of the electric control unit is completed.
Further, determining the current load rate of the bus from the network average load rate and the preset maximum load rate includes determining according to formula (1):
μ 0 =α-μ(1)
wherein mu 0 The current load rate is referred to, alpha is referred to as a preset maximum load rate, and mu is referred to as the average load rate of the network.
Further, when ACC is ON, the average load rate of the bus needs to be estimated according to the bit length, the number of units of time and the theoretical maximum value of the network bandwidth of the packet data frame. Specifically, determining the network average load rate of the bus includes: determining the bit length of a single message of the upgrade file, the number of messages of the upgrade file in unit time, determining the bandwidth occupation amount of a plurality of messages in unit time according to the bit length and the number of the messages, and finally determining the average load rate of the network according to the bandwidth occupation amount and the theoretical maximum value of the bandwidth. Wherein, the bit length of the single message can be determined according to the formula (2):
Figure BDA0004102164010000101
wherein L is the bit length of the single message, f is the frame fixed format bit, f=47 is the standard frame, f=67 is the extended frame, s is the compensation value, s=34 is the standard frame, s=54 is the data length of the single message.
The bandwidth occupancy may be determined according to equation (3):
Figure BDA0004102164010000102
wherein R is 0 N is the number of messages in the unit time, L i For the bit length of the ith message, N i The number of the i-th message sent in a unit time.
The network average load factor may be determined according to equation (4):
Figure BDA0004102164010000103
wherein μ is the average load factor of the network, n is the number of messages in the unit time, L i For the bit length of the ith message, N i And R is the theoretical maximum value of the bandwidth for the transmission quantity of the ith message in unit time.
According to the technical scheme, the remote terminal is adopted as the OTA upgrading controller, the working state of the electric control unit, the CAN bus data frame and the load rate of the data transmission network are monitored in real time, the file transmission data frame period is adjusted in real time according to the load rate, the bus load rate is maintained in a reasonable range, and the normal communication of operation data is ensured. The electronic control unit upgrade file transmission efficiency of the crane is effectively improved, normal operation of a plurality of electronic control units of the crane is guaranteed, the operation working condition requirement of the crane is met, and the problem that file transmission can not be performed during upgrade is solved.
In one embodiment, a controller configured to perform the control method for an electric control unit of an engineering vehicle described above is provided.
In one embodiment, there is provided an engineering vehicle including:
and the vehicle-mounted end is used for monitoring the on-off state of the engineering vehicle key and the running state of the electric control unit.
In one embodiment, as shown in fig. 4, there is provided a control system for an electric control unit of an engineering vehicle, including:
a remote terminal 410 including the controller configured to perform the control method for the electric control unit of the engineering vehicle described above;
the work vehicle 420.
The embodiment of the application provides a storage medium, on which a program is stored, which when executed by a processor, implements the control method for an electric control unit of an engineering vehicle.
The embodiment of the application provides a processor for running a program, wherein the control method for an engineering vehicle electronic control unit is executed when the program runs.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 5. The computer device includes a processor a01, a network interface a02, a memory (not shown) and a database (not shown) connected by a system bus. Wherein the processor a01 of the computer device is adapted to provide computing and control capabilities. The memory of the computer device includes internal memory a03 and nonvolatile storage medium a04. The nonvolatile storage medium a04 stores an operating system B01, a computer program B02, and a database (not shown in the figure). The internal memory a03 provides an environment for the operation of the operating system B01 and the computer program B02 in the nonvolatile storage medium a04. The database of the computer device is used for storing control method data for the electric control unit of the engineering vehicle. The network interface a02 of the computer device is used for communication with an external terminal through a network connection. The computer program B02 is executed by the processor a01 to implement a control method for an electric control unit of a construction vehicle.
It will be appreciated by those skilled in the art that the structure shown in fig. 5 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
The embodiment of the application provides equipment, which comprises a processor, a memory and a program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the following steps: acquiring the on-off state of a key of the engineering vehicle; acquiring the running state of the electric control unit under the condition that the switch state is on; under the condition that the running state is the stop running, the electronic control unit is determined to be a target upgrading unit; determining a transmission period of an upgrade file according to the current load rate of the bus; and establishing connection with the target upgrading unit, and transmitting the upgrading file to the target upgrading unit according to the transmission period so as to finish the upgrading operation of the target upgrading unit.
In one embodiment, the electronic control unit includes a plurality of sub electronic control units, and in the case that the operation state is the stop operation, determining the electronic control unit as the target upgrade unit includes: acquiring the running state of each sub-electric control unit; and determining any sub-electronic control unit with the running state of stopping to be a target electronic control unit.
In one embodiment, the control method further comprises: and under the condition that the running states of the plurality of sub-electronic control units are running, arbitrarily selecting one sub-electronic control unit as a target electronic control unit, and controlling the target upgrading unit to stop running.
In one embodiment, the control method further comprises: determining the network average load rate of the bus; and determining the current load rate of the bus according to the average load rate of the network and the preset maximum load rate.
In one embodiment, determining the current load rate of the bus from the network average load rate and the preset maximum load rate includes determining according to equation (1):
μ 0 =α-μ(1)
wherein mu 0 refers to the current load rate, alpha refers to the preset maximum load rate, and mu refers to the average load rate of the network.
In one embodiment, determining the network average load rate of the bus comprises: determining the bit length of a single message of the upgrade file and the number of messages of the upgrade file in unit time; determining the bandwidth occupation amount of a plurality of messages in unit time according to the bit length and the message number; and determining the average load rate of the network according to the bandwidth occupation amount and the theoretical maximum value of the bandwidth.
In one embodiment, the bit length of a single message is determined according to equation (2):
Figure BDA0004102164010000131
where L is the bit length of a single message, f is the frame fixed format bit, the standard frame f=47, the extended frame f=67, s is the offset, the standard frame s=34, the extended frame s=54, d is the data length of a single message.
In one embodiment, the bandwidth occupancy is determined according to equation (3):
Figure BDA0004102164010000132
wherein R is 0 N is the number of messages in unit time, L i Bit length for the ith message,N i The number of the i-th message sent in a unit time.
In one embodiment, the network average load factor is determined according to equation (4):
Figure BDA0004102164010000133
wherein μ refers to the average load rate of the network, n is the number of messages in unit time, li is the bit length of the ith message, ni is the number of messages sent in unit time, and R is the theoretical maximum value of bandwidth.
The present application also provides a computer program product adapted to perform, when executed on a data processing device, a program initialized with the method steps of: acquiring the on-off state of a key of the engineering vehicle; acquiring the running state of the electric control unit under the condition that the switch state is on; under the condition that the running state is the stop running, the electronic control unit is determined to be a target upgrading unit; determining a transmission period of an upgrade file according to the current load rate of the bus; and establishing connection with the target upgrading unit, and transmitting the upgrading file to the target upgrading unit according to the transmission period so as to finish the upgrading operation of the target upgrading unit.
In one embodiment, the electronic control unit includes a plurality of sub electronic control units, and in the case that the operation state is the stop operation, determining the electronic control unit as the target upgrade unit includes: acquiring the running state of each sub-electric control unit; and determining any sub-electronic control unit with the running state of stopping to be a target electronic control unit.
In one embodiment, the control method further comprises: and under the condition that the running states of the plurality of sub-electronic control units are running, arbitrarily selecting one sub-electronic control unit as a target electronic control unit, and controlling the target upgrading unit to stop running.
In one embodiment, the control method further comprises: determining the network average load rate of the bus; and determining the current load rate of the bus according to the average load rate of the network and the preset maximum load rate.
In one embodiment, determining the current load rate of the bus from the network average load rate and the preset maximum load rate includes determining according to equation (1):
μ 0 =α-μ(1)
wherein mu 0 refers to the current load rate, alpha refers to the preset maximum load rate, and mu refers to the average load rate of the network.
In one embodiment, determining the network average load rate of the bus comprises: determining the bit length of a single message of the upgrade file and the number of messages of the upgrade file in unit time; determining the bandwidth occupation amount of a plurality of messages in unit time according to the bit length and the message number; and determining the average load rate of the network according to the bandwidth occupation amount and the theoretical maximum value of the bandwidth.
In one embodiment, the bit length of a single message is determined according to equation (2):
Figure BDA0004102164010000151
where L is the bit length of a single message, f is the frame fixed format bit, the standard frame f=47, the extended frame f=67, s is the offset, the standard frame s=34, the extended frame s=54, d is the data length of a single message.
In one embodiment, the bandwidth occupancy is determined according to equation (3):
Figure BDA0004102164010000152
wherein R is 0 N is the number of messages in unit time, L i For the bit length of the ith message, N i The number of the i-th message sent in a unit time.
In one embodiment, the network average load factor is determined according to equation (4):
Figure BDA0004102164010000153
wherein μ refers to the average load rate of the network, n is the number of messages in unit time, li is the bit length of the ith message, ni is the number of messages sent in unit time, and R is the theoretical maximum value of bandwidth.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (13)

1. A control method for an electric control unit of an engineering vehicle, applied to a remote end, the control method comprising:
acquiring the on-off state of a key of the engineering vehicle;
acquiring the running state of the electric control unit under the condition that the switch state is on;
under the condition that the running state is the stop running, the electronic control unit is determined to be a target upgrading unit;
determining a transmission period of an upgrade file according to the current load rate of the bus;
and establishing connection with the target upgrading unit, and transmitting the upgrading file to the target upgrading unit according to the transmission period so as to finish the upgrading operation of the target upgrading unit.
2. The control method for an electric control unit for an engineering vehicle according to claim 1, wherein the electric control unit includes a plurality of sub-electric control units, and the determining the electric control unit as a target upgrade unit in the case that the operation state is stop operation includes:
acquiring the running state of each sub-electric control unit;
and determining any sub-electronic control unit with the running state of stopping to be a target electronic control unit.
3. The control method for an electric control unit for an engineering vehicle according to claim 2, characterized in that the control method further comprises:
and under the condition that the running states of the plurality of sub-electronic control units are running, arbitrarily selecting one sub-electronic control unit as a target electronic control unit, and controlling the target upgrading unit to stop running.
4. The control method for an electric control unit for an engineering vehicle according to claim 1, characterized in that the control method further comprises:
determining a network average load rate of the bus;
and determining the current load rate of the bus according to the network average load rate and the preset maximum load rate.
5. The control method for an electric control unit of an engineering vehicle according to claim 4, wherein the determining the current load rate of the bus according to the network average load rate and the preset maximum load rate includes determining according to formula (1):
μ 0 =α-μ(1)
wherein mu 0 And the current load rate is indicated, alpha is indicated to be the preset maximum load rate, and mu is indicated to be the average load rate of the network.
6. The control method for an electric control unit of an engineering vehicle of claim 4, wherein the determining a network average load rate of the bus comprises:
determining the bit length of a single message of the upgrade file and the number of messages of the upgrade file in unit time;
determining the bandwidth occupation amount of a plurality of messages in the unit time according to the bit length and the message quantity;
and determining the average load rate of the network according to the bandwidth occupation amount and the theoretical maximum value of the bandwidth.
7. The control method for an electric control unit for an engineering vehicle according to claim 6, wherein the bit length of the single message is determined according to formula (2):
Figure FDA0004102164000000021
wherein L is the bit length of the single message, f is the frame fixed format bit, f=47 is the standard frame, f=67 is the extended frame, s is the compensation value, s=34 is the standard frame, s=54 is the data length of the single message.
8. The control method for an electric control unit for an engineering vehicle according to claim 6, wherein the bandwidth occupation amount is determined according to formula (3):
Figure FDA0004102164000000031
wherein R is 0 N is the number of messages in the unit time, L i For the bit length of the ith message, N i The number of the i-th message sent in a unit time.
9. The control method for an electric control unit for an engineering vehicle according to claim 6, wherein the network average load factor is determined according to formula (4):
Figure FDA0004102164000000032
wherein μ is the average load factor of the network, n is the number of messages in the unit time, L i For the bit length of the ith message, N i And R is the theoretical maximum value of the bandwidth for the transmission quantity of the ith message in unit time.
10. A controller configured to perform the control method for an electric control unit of an engineering vehicle according to any one of claims 1 to 9.
11. An engineering vehicle, comprising:
and the vehicle-mounted end is used for monitoring the on-off state of the engineering vehicle key and the running state of the electric control unit.
12. A control system for an electric control unit of an engineering vehicle, comprising:
a remote end comprising the controller of claim 10;
the work vehicle according to claim 11.
13. A machine-readable storage medium having instructions stored thereon, which when executed by a processor cause the processor to be configured to perform the control method for an electric control unit of an engineering vehicle according to any one of claims 1 to 9.
CN202310180055.4A 2023-02-28 2023-02-28 Control method, storage medium and controller for engineering vehicle electric control unit Pending CN116373758A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310180055.4A CN116373758A (en) 2023-02-28 2023-02-28 Control method, storage medium and controller for engineering vehicle electric control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310180055.4A CN116373758A (en) 2023-02-28 2023-02-28 Control method, storage medium and controller for engineering vehicle electric control unit

Publications (1)

Publication Number Publication Date
CN116373758A true CN116373758A (en) 2023-07-04

Family

ID=86966405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310180055.4A Pending CN116373758A (en) 2023-02-28 2023-02-28 Control method, storage medium and controller for engineering vehicle electric control unit

Country Status (1)

Country Link
CN (1) CN116373758A (en)

Similar Documents

Publication Publication Date Title
US11061659B2 (en) Control apparatus, transfer method, and computer program
US10963241B2 (en) Control apparatus, program update method, and computer program
CN108833122B (en) Wake-up method and device for vehicle-mounted communication controller and storage medium
US11144295B2 (en) Program updating system, program updating method, and computer program
EP4099655A1 (en) Software version rollback method, apparatus and system
US20220276856A1 (en) Software upgrading method, apparatus, and system
US11146659B2 (en) Optimized TCU transit power
US10970063B2 (en) Relay apparatus, transfer method, and computer program
US8832053B2 (en) Relay device, communication system and communication method
WO2019202965A1 (en) In-vehicle updating device, in-vehicle updating system, updating processing method, and updating processing program
CN110324806B (en) Control device, recording medium, and control method
CN113568631A (en) Over-the-air update apparatus in a vehicle and method thereof
CN116853152A (en) Timing management system and timing management method for electric automobile
CN116373758A (en) Control method, storage medium and controller for engineering vehicle electric control unit
US11836482B2 (en) Center device, reprogramming data distribution system, and reprogramming data distribution plan creation program product
CN116039428A (en) Charging system, charging management method and device
CN113160460A (en) Vehicle lock management method, electronic device, storage medium and shared bicycle
WO2017149567A1 (en) Communication device
CN111831229A (en) Internet of vehicles data storage management method
US20220417329A1 (en) Method and system for data communication network in a vehicle
CN115202313A (en) System and method for managing updates of an electronic control unit of a vehicle
CN110677466A (en) Application program downloading method, device, gateway and storage medium
CN110740442B (en) Data processing method and device based on Bluetooth SIG MESH and terminal to be unlocked
US12001830B2 (en) Device and method for controlling update of vehicle
CN114407856B (en) Vehicle braking method and system

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