Vehicle transportation mode control method, device, electronic device and storage medium
By generating and sending control strategies during automobile transportation, the problems of vehicle functions abuse and transportation safety are solved, and reasonable control of functions and energy consumption are achieved.
Patent Information
- Application Number
- CN202311775297.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-21
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2043-12-21
AI Technical Summary
During the transportation of automobiles, there are problems such as abuse of vehicle functions and the safety of vehicle transfer cannot be guaranteed.
When receiving the target instruction sent by the diagnostic instrument, a control strategy corresponding to each controller set on the target vehicle is generated, a target signal corresponding to each controller is generated, and these signals are sent through the on-board network cycle to control the target vehicle to enter or exit the vehicle transportation mode.
It effectively avoids the abuse of vehicle functions, saves energy consumption, and ensures the safety of vehicle transfer.
Smart Images

Figure CN117698750B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile technology, and in particular to a control method, device, electronic device and storage medium for a vehicle transportation mode. Background Art
[0002] During the transportation of automobiles, there is often an abuse of vehicle functions, resulting in energy loss. Currently, there is no method for avoiding the abuse of vehicle functions and ensuring safe transportation of vehicles during the transportation of automobiles. Summary of the invention
[0003] In view of this, the embodiments of the present application provide a control method, device, electronic device and storage medium for a vehicle transportation mode to solve the problems in the prior art of abuse of vehicle functions and failure to ensure vehicle transportation safety during automobile transportation.
[0004] According to a first aspect of an embodiment of the present application, a method for controlling a vehicle transport mode is provided, comprising: upon receiving a target instruction sent by a diagnostic instrument, generating control strategies corresponding to respective controllers provided on a target vehicle based on the target instruction, wherein the target instruction is an instruction for controlling the target vehicle to enter or exit a vehicle transport mode; generating target signals corresponding to respective controllers based on the control strategies corresponding to respective controllers; periodically sending the target signals corresponding to the controllers to respective controllers through an on-board network; and controlling the target vehicle using respective controllers according to the target signals corresponding to the respective controllers so that the target vehicle enters or exits the vehicle transport mode.
[0005] According to a second aspect of an embodiment of the present application, a control device for a vehicle transport mode is provided, comprising: a first generating module, configured to generate, upon receiving a target instruction sent by a diagnostic instrument, a control strategy corresponding to each controller set on a target vehicle based on the target instruction, wherein the target instruction is an instruction for controlling the target vehicle to enter or exit the vehicle transport mode; a second generating module, configured to generate a target signal corresponding to each controller based on the control strategy corresponding to each controller; a sending module, configured to periodically send the target signal corresponding to each controller to each controller through a vehicle network; and a control module, configured to control the target vehicle using each controller according to the target signal corresponding to each controller, so that the target vehicle enters or exits the vehicle transport mode.
[0006] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
[0007] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0008] Compared with the prior art, the beneficial effects of the embodiments of the present application include at least: generating control strategies corresponding to each controller based on target instructions, generating target signals corresponding to each controller based on the control strategies corresponding to each controller, periodically sending the target signals corresponding to the controller to each controller through the vehicle network, and controlling the target vehicle using each controller according to the target signals corresponding to each controller, so that the target vehicle enters or exits the vehicle transportation mode. Therefore, the above-mentioned technical means can be used to solve the problems of vehicle function abuse and vehicle transfer safety failure in the prior art during automobile transportation, thereby avoiding vehicle function abuse, saving energy consumption and ensuring vehicle transfer safety during automobile transportation. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0010] Figure 1 It is a flow chart of a method for controlling a vehicle transportation mode provided in an embodiment of the present application;
[0011] Figure 2 is a flow chart of another method for controlling a vehicle transportation mode provided in an embodiment of the present application;
[0012] Figure 3 is a structural schematic diagram of a control device for a vehicle transportation mode provided in an embodiment of the present application;
[0013] Figure 4 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0014] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0015] Figure 1It is a flow chart of a method for controlling a vehicle transportation mode provided in an embodiment of the present application. Figure 1 The vehicle transport mode control method can be executed by a vehicle control system provided on the target vehicle, or by a computer or server, or a processor provided on the computer or server, or software on a computer or ordinary server. The vehicle transport mode control method includes:
[0016] S101, upon receiving a target instruction sent by a diagnostic instrument, generating a control strategy corresponding to each controller set on the target vehicle based on the target instruction, wherein the target instruction is an instruction for controlling the target vehicle to enter or exit a vehicle transport mode;
[0017] S102, generating a target signal corresponding to each controller based on a control strategy corresponding to each controller;
[0018] S103, periodically sending a target signal corresponding to the controller to each controller through the vehicle network;
[0019] S104, controlling the target vehicle using each controller according to the target signal corresponding to each controller, so that the target vehicle enters or exits the vehicle transportation mode.
[0020] It should be noted that the diagnostic instrument and the vehicle network are both set up on the target vehicle. The vehicle control system is VDC (vehicle running dynamic control system). The controllers on the target vehicle include: VCU: Vehicle Control Unit; CDC: Cockpit Domain Controller; BCM: Body Control Module; AC: Air-conditioning controller; ADC: automatic driving controller; DSM: driver's seat controller; ALC: ambient light controller; MFW steering wheel heating controller; IC: Instrument Cluster; ECAS: electronically controlled air suspension controller; WCM wireless charging controller.
[0021] According to the technical solution provided in the embodiment of the present application, when a target instruction sent by the diagnostic instrument is received, a control strategy corresponding to each controller set on the target vehicle is generated based on the target instruction, wherein the target instruction is an instruction for controlling the target vehicle to enter or exit the vehicle transportation mode; a target signal corresponding to each controller is generated based on the control strategy corresponding to each controller; the target signal corresponding to the controller is periodically sent to each controller through the vehicle network; and based on the target signal corresponding to each controller, each controller is used to control the target vehicle so that the target vehicle enters or exits the vehicle transportation mode. Therefore, the above-mentioned technical means can be used to solve the problems of vehicle function abuse and vehicle transportation safety cannot be guaranteed during automobile transportation in the prior art, thereby avoiding vehicle function abuse, saving energy consumption and ensuring vehicle transportation safety during automobile transportation.
[0022] Furthermore, when the target instruction is an instruction to control the target vehicle to enter a vehicle transport mode; based on the target instruction, a first control strategy corresponding to each controller set on the target vehicle is generated, wherein the first control strategy corresponding to each controller is to control various functions of the target vehicle controlled by the controller to enter a preset state; based on the first control strategy corresponding to each controller, a first target signal corresponding to each controller is generated; the first target signal corresponding to the controller is periodically sent to each controller through the vehicle network; according to the first target signal corresponding to each controller, each controller is used to control the target vehicle so that the target vehicle enters a vehicle transport mode.
[0023] Furthermore, when the target instruction is an instruction to control the target vehicle to exit the vehicle transport mode; based on the target instruction, a second control strategy corresponding to each controller set on the target vehicle is generated, wherein the second control strategy corresponding to each controller is to control various functions of the target vehicle controlled by the controller to exit a preset state; based on the second control strategy corresponding to each controller, a second target signal corresponding to each controller is generated; the second target signal corresponding to the controller is periodically sent to each controller through the vehicle network; according to the second target signal corresponding to each controller, each controller is used to control the target vehicle so that the target vehicle exits the vehicle transport mode.
[0024] Furthermore, control strategies corresponding to various controllers provided on the target vehicle are generated based on the target instruction, including: obtaining various functions controlled by various controllers; obtaining preset states of various functions of the target vehicle when the target vehicle is in vehicle transport mode; generating control strategies for various functions controlled by various controllers based on the target instruction and the preset states of various functions of the target vehicle when the target vehicle is in vehicle transport mode; and obtaining control strategies for various controllers by integrating the control strategies for various functions controlled by various controllers.
[0025] When the target instruction is an instruction to control the target vehicle to enter the vehicle transport mode, the control strategy of the various functions controlled by each controller is to control the target vehicle to enter the preset state of the function; when the target instruction is an instruction to control the target vehicle to exit the vehicle transport mode, the control strategy of the various functions controlled by each controller is to control the target vehicle to exit the preset state of the function.
[0026] For example: VDC can limit vehicle acceleration, normal driving speed and reverse speed. The functions controlled by VDC include vehicle acceleration limit function, normal driving speed limit function and reverse speed limit function. When the target instruction is an instruction to control the target vehicle to enter the vehicle transportation mode, the control strategy of various functions of VDC is start restriction (preset state). When the target instruction is an instruction to control the target vehicle to exit the vehicle transportation mode, the control strategy of various functions of VDC is exit restriction (preset state). CDC can limit various scenario modes. When the target vehicle enters the vehicle transportation mode, the use of sentinel mode, in-car closed ring mode, nap mode, welcome mode, camping mode and theater mode is restricted; CDC can limit non-basic functions of air conditioning. When the target vehicle enters the vehicle transportation mode, the air purification, ultraviolet sterilization, automatic parking ventilation and parking timed and fixed-point ventilation functions of air conditioning are restricted; CDC can limit the fragrance function. When the target vehicle enters the vehicle transportation mode, the use of the fragrance function is restricted; CDC can limit the voice function. When the target vehicle enters the vehicle transportation mode, the use of the voice function is restricted. ADC controls the functions of the reversing radar, surround-view camera and various sensors. When the target vehicle enters the vehicle transport mode, the use of the reversing radar, surround-view camera and various sensors is restricted. BCM controls the low-voltage power-off function of the vehicle when all seats are unoccupied for more than a preset time, as well as the approach unlocking and distance locking functions (this function is used to avoid frequent unlocking and locking of the vehicle). AC controls the basic functions of air conditioning (heating and cooling are the basic functions of air conditioning). DSM controls seat heating, ventilation, massage and other functions. ALC can limit the use of ambient lights. MFW controls the steering wheel heating function. IC controls the instrument display function. ECAS controls the vehicle height adjustment function. WCM controls the wireless charging function.
[0027] Furthermore, a target signal corresponding to each controller is generated based on the control strategy corresponding to each controller, including: target encoding the control strategy corresponding to each controller to obtain encoding information corresponding to each controller, wherein the target encoding includes non-return-to-zero encoding and Manchester encoding; and a target signal corresponding to each controller is generated based on the encoding information corresponding to each controller.
[0028] Non-return-to-zero coding and Manchester coding are two commonly used coding methods, which will not be described in detail. The coded information is modulated and encrypted according to the corresponding method to obtain the target signal corresponding to the coded information.
[0029] Furthermore, after generating target signals corresponding to each controller based on the control strategies corresponding to each controller, the method also includes: when the target instruction is an instruction to control the target vehicle to enter a vehicle transport mode; sending the target signal corresponding to the controller to each controller through the vehicle network at a preset frequency; detecting the real-time status of various functions of the target vehicle; obtaining the preset status of various functions of the target vehicle when the target vehicle is in the vehicle transport mode; when the real-time status and the preset status of various functions of the target vehicle are the same, determining that the target vehicle has entered the vehicle transport mode; and ending sending the target signal corresponding to the controller to each controller.
[0030] After sending the target signal corresponding to the controller to each controller through the vehicle network, each controller is used to control the target vehicle according to the target signal corresponding to each controller. If the real-time status of various functions of the target vehicle is the same as the preset status, it is determined that the target vehicle has entered the vehicle transportation mode.
[0031] Furthermore, after generating target signals corresponding to each controller based on the control strategies corresponding to each controller, the method also includes: when the target instruction is an instruction to control the target vehicle to exit the vehicle transport mode; sending the target signal corresponding to the controller to each controller through the vehicle network at a preset frequency; detecting the real-time status of various functions of the target vehicle; obtaining the preset status of various functions of the target vehicle when the target vehicle is in the vehicle transport mode; when the real-time status and the preset status of various functions of the target vehicle are different, determining that the target vehicle has exited the vehicle transport mode; and ending sending the target signal corresponding to the controller to each controller.
[0032] After sending the target signal corresponding to the controller to each controller through the vehicle network, each controller is used to control the target vehicle according to the target signal corresponding to each controller. If the real-time status of various functions of the target vehicle is different from the preset status, it is determined that the target vehicle has exited the vehicle transportation mode.
[0033] In some embodiments, the starting position and the end position of the target vehicle are obtained; when the starting position and the end position are any one of the following locations, an instruction is generated to control the target vehicle to enter the vehicle transportation mode: a vehicle production plant, a vehicle storage garage, a vehicle retail point, and a vehicle maintenance point; when the target vehicle is in the vehicle transportation mode and the target vehicle reaches the end position, an instruction is generated to control the target vehicle to exit the vehicle transportation mode.
[0034] Generally speaking, the target vehicle needs to enter the vehicle transportation mode when traveling between any two of the following locations: a vehicle production plant, a vehicle storage garage, a vehicle retail point, and a vehicle maintenance point; otherwise, it does not need to enter the vehicle transportation mode.
[0035] Furthermore, the controller arranged on the target vehicle includes a vehicle control system, which generates a control strategy corresponding to the vehicle control system based on the target instruction, including: establishing a mapping relationship between the road slope and the road adhesion coefficient and the speed of the target vehicle; obtaining the target road slope and the target road adhesion coefficient of the current road of the target vehicle; determining the target speed of the target vehicle on the current road based on the target road slope and the target road adhesion coefficient; and generating a control strategy corresponding to the vehicle control system based on the target speed.
[0036] The mapping relationship can be presented in a table form, and the mapping relationship can also be obtained by fitting the historical slope, historical adhesion, and historical vehicle speed data. The actual vehicle speed of the target vehicle is obtained, and the difference between the actual vehicle speed and the target vehicle speed is used as an input signal to update the actual vehicle speed of the target vehicle.
[0037] The historical slope, historical adhesion, historical energy consumption, and historical vehicle speed data can also be fitted to obtain a mapping relationship, and the target vehicle speed can be determined based on the target road slope and target road adhesion coefficient with the lowest energy consumption as the goal.
[0038] Furthermore, the controller provided on the target vehicle includes a vehicle control system, and the control strategy corresponding to the vehicle control system includes limiting the maximum speed of the target vehicle, including: obtaining the average urban commuting speed and the average speed of all vehicles on the road on which the target vehicle is currently traveling; when the average speed is less than the average urban commuting speed, limiting the maximum speed of the target vehicle to a first speed; when the average speed is less than a preset speed but greater than or equal to the average urban commuting speed, limiting the maximum speed of the target vehicle to a second speed; when the average speed is greater than or equal to the preset speed and greater than or equal to the average urban commuting speed, limiting the maximum speed of the target vehicle to a third speed; when the target road surface slope of the road on which the target vehicle is currently traveling is greater than the preset slope and is uphill, limiting the maximum speed of the target vehicle to a fourth speed; when the target road surface slope of the road on which the target vehicle is currently traveling is greater than the preset slope and is downhill, limiting the maximum speed of the target vehicle to a fifth speed.
[0039] The average speed of urban commuting is the average speed of all vehicles during the morning and evening commuting hours, which is generally 30-40km / h. For example: when it is identified that the average speed is less than the average speed of urban commuting within a period of time, the average speed of urban commuting is 30-40km / h, and the maximum speed of the target vehicle is limited to 70km / h (first speed); when it is identified that the average speed is greater than or equal to the average speed of urban commuting within a period of time, and the average speed reaches 40-60km / h (60km / h is the preset speed), the current road of the target vehicle is identified as an expressway, and the maximum speed of the target vehicle is limited to 80km / h (second speed); when it is identified that the average speed is greater than or equal to the average speed of urban commuting within a period of time, and the average speed reaches 40-60km / h (60km / h is the preset speed), the current road of the target vehicle is identified as an expressway, and the maximum speed of the target vehicle is limited to 80km / h (second speed); When the speed is greater than or equal to the average urban commuting speed, and the average speed reaches more than 60km / h, the current road of the target vehicle is identified as a highway construction, and the maximum speed of the target vehicle is limited to 100km / h (third speed); when it is identified that the target road slope is greater than the preset slope for a period of time, and it is uphill, the maximum speed of the target vehicle is limited to 50km / h (fourth speed); when it is identified that the target road slope is greater than the preset slope for a period of time, and it is downhill, the maximum speed of the target vehicle is limited to 70km / h (fifth speed).
[0040] Generally, the first speed is lower than the second speed, the second speed is lower than the third speed, and the fourth speed is lower than the fifth speed.
[0041] In some embodiments, when a target instruction sent by a diagnostic instrument is received, the following loop algorithm is executed: determine whether i is greater than N, where i is the serial number of the controller on the target vehicle, the initial value of i is 1, and N is the number of controllers on the target vehicle; when i is greater than N, determine that the target vehicle has entered or exited the vehicle transportation mode, and exit the loop algorithm; when i is not greater than N, generate a control strategy corresponding to the i-th controller set on the target vehicle based on the target instruction; generate a target signal corresponding to the i-th controller based on the control strategy corresponding to the i-th controller; periodically send the target signal corresponding to the i-th controller to the i-th controller through the on-board network; control the target vehicle using the i-th controller based on the target signal corresponding to the i-th controller; and update i with the value of i+1.
[0042] The embodiment of the present application generates control strategies and target signals corresponding to the controllers on the target vehicle in sequence according to the serial numbers of the controllers, and controls the target vehicle in sequence using the controllers on the target vehicle.
[0043] Figure 2 is a flow chart of another method for controlling a vehicle transportation mode provided in an embodiment of the present application, such as Figure 2 As shown, including:
[0044] When the target instruction is an instruction to control the target vehicle to enter a vehicle transportation mode;
[0045] By executing the following loop algorithm:
[0046] S201, sending a target signal corresponding to each controller to each controller through the vehicle network;
[0047] S202, controlling the target vehicle using each controller according to the target signal corresponding to each controller;
[0048] S203, detecting the real-time status of various functions of the target vehicle;
[0049] S204, obtaining preset states of various functions of the target vehicle when the target vehicle is in the vehicle transportation mode;
[0050] S205, determining whether the real-time status of various functions of the target vehicle is the same as the preset status;
[0051] S206, when the real-time status of various functions of the target vehicle is the same as the preset status, it is determined that the target vehicle has entered the vehicle transportation mode, and the loop algorithm is exited;
[0052] S207, when the real-time status of various functions of the target vehicle is different from the preset status, the algorithm continues to loop.
[0053] In some embodiments, when the target instruction is an instruction to control the target vehicle to exit the vehicle transport mode; by executing the following loop algorithm: sending a target signal corresponding to each controller to each controller through the vehicle network; controlling the target vehicle using each controller according to the target signal corresponding to each controller; detecting the real-time status of various functions of the target vehicle; obtaining the preset status of various functions of the target vehicle when the target vehicle is in the vehicle transport mode; determining whether the real-time status and the preset status of various functions of the target vehicle are the same; when the real-time status and the preset status of various functions of the target vehicle are not the same, determining that the target vehicle has exited the vehicle transport mode and exiting the loop algorithm; when the real-time status and the preset status of various functions of the target vehicle are the same, continuing the loop algorithm.
[0054] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.
[0055] The following are device embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
[0056] Figure 3 Schematic diagram of a control device for a vehicle transportation mode provided in an embodiment of the present application. Figure 3As shown, the control device of the vehicle transportation mode includes:
[0057] The first generating module 301 is configured to generate control strategies corresponding to various controllers set on the target vehicle based on the target instruction when receiving the target instruction sent by the diagnostic instrument, wherein the target instruction is an instruction for controlling the target vehicle to enter or exit the vehicle transport mode;
[0058] The second generating module 302 is configured to generate a target signal corresponding to each controller based on a control strategy corresponding to each controller;
[0059] The sending module 303 is configured to periodically send a target signal corresponding to each controller to the controller through the vehicle network;
[0060] The control module 304 is configured to control the target vehicle using each controller according to the target signal corresponding to each controller, so that the target vehicle enters or exits the vehicle transportation mode.
[0061] According to the technical solution provided in the embodiment of the present application, when a target instruction sent by the diagnostic instrument is received, a control strategy corresponding to each controller set on the target vehicle is generated based on the target instruction, wherein the target instruction is an instruction for controlling the target vehicle to enter or exit the vehicle transportation mode; a target signal corresponding to each controller is generated based on the control strategy corresponding to each controller; the target signal corresponding to the controller is periodically sent to each controller through the vehicle network; and based on the target signal corresponding to each controller, each controller is used to control the target vehicle so that the target vehicle enters or exits the vehicle transportation mode. Therefore, the above-mentioned technical means can be used to solve the problems of vehicle function abuse and vehicle transportation safety cannot be guaranteed during automobile transportation in the prior art, thereby avoiding vehicle function abuse, saving energy consumption and ensuring vehicle transportation safety during automobile transportation.
[0062] In some embodiments, the control module 304 is also configured to, when the target instruction is an instruction to control the target vehicle to enter a vehicle transport mode; generate a first control strategy corresponding to each controller set on the target vehicle based on the target instruction, wherein the first control strategy corresponding to each controller is to control various functions of the target vehicle controlled by the controller to enter a preset state; generate a first target signal corresponding to each controller based on the first control strategy corresponding to each controller; periodically send the first target signal corresponding to the controller to each controller through the vehicle network; and control the target vehicle using each controller according to the first target signal corresponding to each controller, so that the target vehicle enters a vehicle transport mode.
[0063] In some embodiments, the control module 304 is also configured to, when the target instruction is an instruction to control the target vehicle to exit the vehicle transport mode; generate a second control strategy corresponding to each controller set on the target vehicle based on the target instruction, wherein the second control strategy corresponding to each controller is to control various functions of the target vehicle controlled by the controller to exit a preset state; generate a second target signal corresponding to each controller based on the second control strategy corresponding to each controller; periodically send the second target signal corresponding to each controller to each controller through the vehicle network; and control the target vehicle using each controller according to the second target signal corresponding to each controller, so that the target vehicle exits the vehicle transport mode.
[0064] In some embodiments, the first generation module 301 is also configured to generate control strategies corresponding to various controllers set on the target vehicle based on the target instruction, including: obtaining various functions controlled by each controller; obtaining preset states of various functions of the target vehicle when the target vehicle is in vehicle transport mode; generating control strategies for various functions controlled by each controller based on the target instruction and the preset states of various functions of the target vehicle when the target vehicle is in vehicle transport mode; and obtaining the control strategies of each controller by integrating the control strategies of various functions controlled by each controller.
[0065] In some embodiments, the second generation module 302 is also configured to perform target encoding on the control strategies corresponding to each controller to obtain encoding information corresponding to each controller, wherein the target encoding includes non-return-to-zero encoding and Manchester encoding; and generate target signals corresponding to each controller based on the encoding information corresponding to each controller.
[0066] In some embodiments, the sending module 303 is also configured to, when the target instruction is an instruction to control the target vehicle to enter the vehicle transport mode; send the target signal corresponding to the controller to each controller through the vehicle network at a preset frequency; detect the real-time status of various functions of the target vehicle; obtain the preset status of various functions of the target vehicle when the target vehicle is in the vehicle transport mode; when the real-time status and the preset status of various functions of the target vehicle are the same, determine that the target vehicle has entered the vehicle transport mode; and end sending the target signal corresponding to the controller to each controller.
[0067] In some embodiments, the sending module 303 is also configured to, when the target instruction is an instruction to control the target vehicle to exit the vehicle transport mode; send the target signal corresponding to the controller to each controller through the vehicle network at a preset frequency; detect the real-time status of various functions of the target vehicle; obtain the preset status of various functions of the target vehicle when the target vehicle is in the vehicle transport mode; when the real-time status and the preset status of various functions of the target vehicle are different, determine that the target vehicle has exited the vehicle transport mode; and end sending the target signal corresponding to the controller to each controller.
[0068] In some embodiments, the first generation module 301 is also configured to obtain the starting position and the end position of the target vehicle; when the starting position and the end position are any one of the following locations, an instruction to control the target vehicle to enter the vehicle transportation mode is generated: a vehicle production plant, a vehicle storage garage, a vehicle retail point, and a vehicle maintenance point; when the target vehicle is in the vehicle transportation mode and the target vehicle reaches the end position, an instruction to control the target vehicle to exit the vehicle transportation mode is generated.
[0069] In some embodiments, the control module 304 is also configured to, upon receiving a target instruction sent by the diagnostic instrument, execute the following loop algorithm: determine whether i is greater than N, where i is the serial number of the controller on the target vehicle, the initial value of i is 1, and N is the number of controllers on the target vehicle; when i is greater than N, determine that the target vehicle has entered or exited the vehicle transportation mode, and exit the loop algorithm; when i is not greater than N, generate a control strategy corresponding to the i-th controller set on the target vehicle based on the target instruction; generate a target signal corresponding to the i-th controller based on the control strategy corresponding to the i-th controller; periodically send the target signal corresponding to the i-th controller to the i-th controller through the vehicle network; control the target vehicle using the i-th controller based on the target signal corresponding to the i-th controller; and update i with the value of i+1.
[0070] In some embodiments, the sending module 303 is also configured to, when the target instruction is an instruction to control the target vehicle to enter the vehicle transport mode; execute the following loop algorithm: send the target signal corresponding to the controller to each controller through the vehicle network; use each controller to control the target vehicle according to the target signal corresponding to each controller; detect the real-time status of various functions of the target vehicle; obtain the preset status of various functions of the target vehicle when the target vehicle is in the vehicle transport mode; determine whether the real-time status and the preset status of various functions of the target vehicle are the same; when the real-time status and the preset status of various functions of the target vehicle are the same, determine that the target vehicle has entered the vehicle transport mode and exit the loop algorithm; when the real-time status and the preset status of various functions of the target vehicle are not the same, continue the loop algorithm.
[0071] In some embodiments, the sending module 303 is also configured to, when the target instruction is an instruction to control the target vehicle to exit the vehicle transport mode; by executing the following loop algorithm: sending the target signal corresponding to the controller to each controller through the vehicle network; using each controller to control the target vehicle according to the target signal corresponding to each controller; detecting the real-time status of various functions of the target vehicle; obtaining the preset status of various functions of the target vehicle when the target vehicle is in the vehicle transport mode; determining whether the real-time status and the preset status of various functions of the target vehicle are the same; when the real-time status and the preset status of various functions of the target vehicle are not the same, determining that the target vehicle has exited the vehicle transport mode and exiting the loop algorithm; when the real-time status and the preset status of various functions of the target vehicle are the same, continuing the loop algorithm.
[0072] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0073] Figure 4 Schematic diagram of an electronic device 4 provided in an embodiment of the present disclosure. Figure 4 As shown, the electronic device 4 of this embodiment includes: a processor 401, a memory 402, and a computer program 403 stored in the memory 402 and executable on the processor 401. When the processor 401 executes the computer program 403, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 401 executes the computer program 403, the functions of the modules / units in the above-mentioned device embodiments are implemented.
[0074] The electronic device 4 may include but is not limited to a processor 401 and a memory 402. Those skilled in the art will appreciate that Figure 4 The electronic device 4 is merely an example and does not limit the electronic device 4 , and may include more or less components than those shown in the figure, or different components.
[0075] The processor 401 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0076] The memory 402 may be an internal storage unit of the electronic device 4, for example, a hard disk or memory of the electronic device 4. The memory 402 may also be an external storage device of the electronic device 4, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 4. The memory 402 may also include both an internal storage unit and an external storage device of the electronic device 4. The memory 402 is used to store computer programs and other programs and data required by the electronic device.
[0077] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units.
[0078] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, and the computer program code may be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.
[0079] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for controlling a vehicle transportation mode, characterized in that: include: Upon receiving a target instruction sent by the diagnostic instrument, generating a control strategy corresponding to each controller set on the target vehicle based on the target instruction, wherein the target instruction is an instruction for controlling the target vehicle to enter or exit a vehicle transport mode; Generate target signals corresponding to the controllers based on the control strategies corresponding to the controllers; Sending a target signal corresponding to each controller periodically to each controller through the vehicle network; According to the target signals corresponding to the controllers, the target vehicle is controlled by the controllers so that the target vehicle enters or exits the vehicle transport mode; The controller provided on the target vehicle includes a vehicle control system, and the control strategy corresponding to the vehicle control system includes: generating the control strategy corresponding to the vehicle control system based on a target vehicle speed, and / or limiting the maximum speed of the target vehicle, wherein the target vehicle speed is determined based on a road slope and a road adhesion coefficient; After generating target signals corresponding to the controllers based on the control strategies corresponding to the controllers, the method further includes: When the target instruction is an instruction to control the target vehicle to enter the vehicle transportation mode, the following first loop algorithm is executed: Sending a target signal corresponding to the controller to each controller through the vehicle network at a preset frequency; Using each controller to control the target vehicle according to the target signal corresponding to each controller; Detect the real-time status of various functions of the target vehicle; Obtaining preset states of various functions of the target vehicle when the target vehicle is in a vehicle transport mode; When the real-time status of various functions of the target vehicle is the same as the preset status, it is determined that the target vehicle has entered the vehicle transportation mode, and the first loop algorithm is exited; When the real-time status and the preset status of various functions of the target vehicle are different, the first loop algorithm is continued.
2. The method according to claim 1, characterized in that Generating control strategies corresponding to various controllers set on the target vehicle based on the target instruction, including: Get the various functions controlled by each controller; Acquire preset states of various functions of the target vehicle when the target vehicle is in the vehicle transport mode; generating control strategies for various functions controlled by various controllers based on the target command and preset states of various functions of the target vehicle when the target vehicle is in the vehicle transport mode; The control strategy of each controller is obtained by integrating the control strategies of various functions controlled by each controller.
3. The method according to claim 1, characterized in that After generating target signals corresponding to the respective controllers based on the control strategies corresponding to the respective controllers, the method further includes: When the target instruction is an instruction to control the target vehicle to exit the vehicle transportation mode, the following second loop algorithm is executed: Sending a target signal corresponding to the controller to each controller through the vehicle network at a preset frequency; Using each controller to control the target vehicle according to the target signal corresponding to each controller; Detecting the real-time status of various functions of the target vehicle; Acquire preset states of various functions of the target vehicle when the target vehicle is in the vehicle transport mode; When the real-time status and the preset status of various functions of the target vehicle are different, it is determined that the target vehicle has exited the vehicle transportation mode, and the second cycle algorithm is exited; When the real-time status of various functions of the target vehicle is the same as the preset status, the second loop algorithm is continued.
4. The method according to claim 1, characterized in that: The method further comprises: Obtaining the starting position and the ending position of the target vehicle; When the starting point and the end point are both any of the following locations, generating an instruction to control the target vehicle to enter the vehicle transportation mode: a vehicle production plant, a vehicle storage garage, a vehicle retail point, and a vehicle maintenance point; When the target vehicle is in the vehicle transport mode and the target vehicle reaches the destination location, an instruction for controlling the target vehicle to exit the vehicle transport mode is generated.
5. The method according to claim 1, characterized in that Generating a control strategy corresponding to the vehicle control system based on the target command includes: Establishing a mapping relationship between the road slope and the road adhesion coefficient and the speed of the target vehicle; Obtaining a target road surface slope and a target road surface adhesion coefficient of a road on which the target vehicle is currently traveling; Determining a target vehicle speed of the target vehicle on the current driving road based on the target road slope and the target road adhesion coefficient; A control strategy corresponding to the vehicle control system is generated based on the target vehicle speed.
6. The method according to claim 1, characterized in that Limiting the maximum speed of the target vehicle includes: Obtaining the average commuting speed in the city and the average speed of all vehicles on the road where the target vehicle is currently traveling; When the average vehicle speed is less than the urban commuting average vehicle speed, limiting the maximum speed of the target vehicle to a first speed; When the average vehicle speed is less than a preset speed but greater than or equal to the average urban commuting speed, limiting the maximum speed of the target vehicle to a second speed; When the average vehicle speed is greater than or equal to the preset speed and greater than or equal to the average urban commuting speed, limiting the maximum speed of the target vehicle to a third speed; When the target road surface slope of the target vehicle currently traveling is greater than the preset slope and is uphill, limiting the maximum speed of the target vehicle to a fourth speed; When the target road surface gradient of the road on which the target vehicle is currently traveling is greater than the preset gradient and is downhill, the maximum speed of the target vehicle is limited to a fifth speed.
7. A control device for a vehicle transport mode, characterized in that: include: The first generating module is configured to generate control strategies corresponding to various controllers provided on the target vehicle based on the target command when receiving the target command sent by the diagnostic instrument, wherein the target command is a command for controlling the target vehicle to enter or exit the vehicle transport mode; the controller provided on the target vehicle includes a vehicle control system, and the control strategy corresponding to the vehicle control system includes: generating the control strategy corresponding to the vehicle control system based on a target vehicle speed, and / or limiting the maximum speed of the target vehicle, wherein the target vehicle speed is determined based on a road slope and a road adhesion coefficient; A second generating module is configured to generate a target signal corresponding to each controller based on a control strategy corresponding to each controller; A sending module is configured to periodically send a target signal corresponding to each controller to the controller through the vehicle network; A control module is configured to control the target vehicle using each controller according to a target signal corresponding to each controller, so that the target vehicle enters or exits the vehicle transportation mode; When the target instruction is an instruction to control the target vehicle to enter the vehicle transportation mode, the control module is further configured to execute the following first loop algorithm: Sending a target signal corresponding to the controller to each controller through the vehicle network at a preset frequency; Using each controller to control the target vehicle according to the target signal corresponding to each controller; Detect the real-time status of various functions of the target vehicle; Obtaining preset states of various functions of the target vehicle when the target vehicle is in a vehicle transport mode; When the real-time status of various functions of the target vehicle is the same as the preset status, it is determined that the target vehicle has entered the vehicle transportation mode, and the first loop algorithm is exited; When the real-time status and the preset status of various functions of the target vehicle are different, the first loop algorithm is continued.
8. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Vehicle transportation method and system and readable storage medium
CN113200001A