Working mode switching method and device, vehicle, electronic equipment and storage medium

By obtaining and determining the electronic controller configuration information shared by the vehicle model, when the model configuration field fails, it switches to the preset working mode, which solves the problem of wrong switching of the vehicle working mode and ensures that the vehicle operates normally.

CN120103728APending Publication Date: 2025-06-06BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311657986.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-05
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

When the vehicle switches the operating mode, if the electronic controller configuration information of the current vehicle cannot be obtained, it may lead to a switching error, especially if the vehicle model configuration field fails.

Method used

By obtaining the electronic controller configuration information of various types of vehicle models, we determine the shared electronic controller set, and when the vehicle model configuration field is invalid, the shared electronic controller of the target vehicle that controls the shared electronic controller set to switch to the preset working mode.

Benefits of technology

Ensure that the vehicle can switch the working mode normally when the model configuration field is invalid, and avoid the problem of switching failure and the function cannot be run.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120103728A_ABST
    Figure CN120103728A_ABST
Patent Text Reader

Abstract

The invention provides a working mode switching method and device, a vehicle, electronic equipment and a storage medium, and the method comprises the steps: obtaining electronic controller configuration information of various vehicle types, and determining a common electronic controller set in the various vehicle types; a preset working mode to be switched by the target vehicle is determined, whether a vehicle type configuration field of the target vehicle is valid or not is verified, and the vehicle type configuration field comprises electronic controller configuration information of the target vehicle; and under the condition that the vehicle type configuration field is invalid, controlling the common electronic controller in the target vehicle to be switched to the preset working mode according to the common electronic controller set. Compared with the prior art, the vehicle type configuration field is verified, and when the vehicle type configuration field is invalid, the common electronic controller in the target vehicle is switched to the working mode corresponding to the switching instruction; and normal working mode switching of the target vehicle can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of vehicle technology, and in particular to a method and device for switching working modes, a vehicle, an electronic device, and a storage medium. Background Art

[0002] With the development of intelligent vehicles, there are more and more electronic controllers in vehicles. When the vehicle is in different working modes, the working status of different electronic controllers will also be different. The same model may also be configured with different electronic controllers due to different configurations. When the vehicle switches the working mode, if the configuration information of the electronic controller of the current vehicle is not known, then switching in a switching method that does not match the current model will result in an error in switching the working mode of the current vehicle. Summary of the invention

[0003] The present disclosure provides a method and device for switching working modes, a vehicle, an electronic device and a storage medium, the main purpose of which is to ensure the normal switching of the working mode of the vehicle when the vehicle model configuration field fails.

[0004] According to a first aspect of the present disclosure, a method for switching a working mode is provided, comprising:

[0005] Obtain the electronic controller configuration information of each type of vehicle, and determine the common electronic controller set in each type of vehicle;

[0006] Determine the preset working mode to which the target vehicle is to switch, and verify whether the vehicle type configuration field of the target vehicle is valid, wherein the vehicle type configuration field includes the electronic controller configuration information of the target vehicle;

[0007] When the vehicle type configuration field is invalid, the shared electronic controller in the target vehicle is controlled to switch to the preset working mode according to the shared electronic controller set.

[0008] Optionally, the method further includes:

[0009] If the vehicle type configuration field is valid, obtaining an electronic controller configuration table of the target vehicle according to the vehicle type configuration field of the target vehicle;

[0010] Based on the electronic controller configuration table and the switching sequence of the electronic controllers in the preset working mode, generating a first switching sequence of the electronic controllers in the target vehicle;

[0011] According to the first switching sequence, the electronic controller of the target vehicle is controlled to switch to the working mode.

[0012] Optionally, when the vehicle type configuration field is invalid, controlling the shared electronic controller in the target vehicle to switch to the preset working mode according to the shared electronic controller set includes:

[0013] Determine the electronic controller in the common electronic controller set that is the same as the electronic controller in the first switching sequence;

[0014] Generating a second switching sequence of shared electronic controllers in the target vehicle by using the same electronic controllers according to the switching sequence in the first switching sequence;

[0015] According to the second switching sequence, the shared electronic controller in the target vehicle is controlled to switch to the working mode.

[0016] Optionally, verifying whether the vehicle model configuration field of the target vehicle is valid includes:

[0017] Parsing the vehicle type configuration field to determine configuration information corresponding to the vehicle type configuration field;

[0018] The electronic controller configuration information of the target vehicle is checked against the configuration information corresponding to the vehicle model configuration field to determine whether the vehicle model configuration field of the target vehicle is valid.

[0019] Optionally, before determining the preset operating mode to which the target vehicle is to switch, the method further includes:

[0020] The operating status information of the target vehicle is obtained, and it is determined whether the target vehicle can be switched to the preset working mode according to the operating status information.

[0021] According to a second aspect of the present disclosure, a device for switching a working mode is provided, comprising:

[0022] A determination unit, used to obtain the electronic controller configuration information of each type of vehicle and determine the common electronic controller set in each type of vehicle;

[0023] A verification unit, used to determine the preset working mode to be switched by the target vehicle, and verify whether the vehicle model configuration field of the target vehicle is valid, wherein the vehicle model configuration field includes the electronic controller configuration information of the target vehicle;

[0024] The first control unit is used to control the shared electronic controller in the target vehicle to switch to the preset working mode according to the shared electronic controller set when the vehicle model configuration field is invalid.

[0025] Optionally, the device further comprises:

[0026] an acquisition unit, configured to acquire an electronic controller configuration table of the target vehicle according to the vehicle model configuration field of the target vehicle when the vehicle model configuration field is valid;

[0027] A generating unit, configured to generate a first switching sequence of the electronic controllers in the target vehicle based on the electronic controller configuration table and the switching sequence of the electronic controllers in the preset working mode;

[0028] The second control unit is used to control the electronic controller of the target vehicle to switch to the working mode according to the first switching sequence.

[0029] Optionally, the first control unit includes:

[0030] A determination module, configured to determine the same electronic controller in the common electronic controller set as that in the first switching sequence;

[0031] A generating module, used for generating a second switching sequence of shared electronic controllers in the target vehicle by using the same electronic controllers according to the switching sequence in the first switching sequence;

[0032] A control module is used to control the common electronic controller in the target vehicle to switch to the working mode according to the second switching sequence.

[0033] Optionally, the verification unit includes:

[0034] A parsing module, used to parse the vehicle model configuration field to determine the configuration information corresponding to the vehicle model configuration field;

[0035] The checking module is used to check the electronic controller configuration information of the target vehicle with the configuration information corresponding to the vehicle model configuration field to determine whether the vehicle model configuration field of the target vehicle is valid.

[0036] Optionally, the device further comprises:

[0037] The judgment unit is used to obtain the operating status information of the target vehicle before the verification unit determines the preset operating mode to be switched by the target vehicle, and judge whether the target vehicle can be switched to the preset operating mode according to the operating status information.

[0038] According to a third aspect of the present disclosure, a vehicle is provided, comprising: a device for switching working modes as described in the second aspect above.

[0039] According to a fourth aspect of the present disclosure, there is provided an electronic device, including:

[0040] at least one processor; and

[0041] a memory communicatively connected to the at least one processor; wherein,

[0042] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the first aspect.

[0043] According to a fifth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method described in the first aspect.

[0044] According to a sixth aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the method described in the first aspect is implemented.

[0045] The present disclosure provides a method and device for switching working modes, a vehicle, an electronic device and a storage medium, which obtains the electronic controller configuration information of various types of vehicle models, and determines the set of shared electronic controllers in various types of vehicle models; determines the preset working mode to be switched by the target vehicle, verifies whether the vehicle model configuration field of the target vehicle is valid, wherein the vehicle model configuration field includes the electronic controller configuration information of the target vehicle; when the vehicle model configuration field is invalid, controls the shared electronic controller in the target vehicle to switch to the preset working mode according to the shared electronic controller set. Compared with the related art, the embodiment of the present disclosure verifies the vehicle model configuration field, and when the vehicle model configuration field is invalid, switches the shared electronic controller in the target vehicle to the working mode corresponding to the switching instruction; it can ensure the normal switching working mode of the target vehicle.

[0046] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0048] Figure 1 A flowchart of a method for switching working modes provided in an embodiment of the present disclosure;

[0049] Figure 2 A flowchart of another method for switching working modes provided in an embodiment of the present disclosure;

[0050] Figure 3 A schematic diagram of the structure of a device for switching working modes provided in an embodiment of the present disclosure;

[0051] Figure 4 A schematic diagram of the structure of another device for switching working modes provided in an embodiment of the present disclosure;

[0052] Figure 5 A schematic block diagram of an exemplary electronic device provided for an embodiment of the present disclosure. DETAILED DESCRIPTION

[0053] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0054] If the vehicle configuration fields are entered or set incorrectly, failures may occur. For example, the engine type of the vehicle or the dimensions of the vehicle are entered incorrectly. Some vehicle configuration fields may conflict with each other and cause failures. For example, if two incompatible options are set in the vehicle configuration field at the same time, failures may occur. If some required vehicle configuration fields are not filled or set correctly, failures may occur. For example, the brake system or airbag configuration of the vehicle is not filled. Failures may occur if the vehicle configuration fields are not updated in time or do not match the actual vehicle configuration. For example, a vehicle configuration field describes the configuration of an older model, but the actual vehicle is a newer model. Failures may occur if the data in the vehicle configuration fields is corrupted or incorrect. For example, the value of the vehicle configuration field is incorrectly modified or tampered with. In short, vehicle configuration fields may fail due to incorrect input, conflict, missing, outdated or corrupted. To avoid failures, the accuracy and completeness of the vehicle configuration fields need to be carefully checked and verified.

[0055] When the vehicle model and the electronic controller (ECU) corresponding to the vehicle model are normal, there is no problem with the vehicle working mode switching. However, in the case of abnormal vehicle model configuration fields, the vehicle mode switching may fail, resulting in the inability of the vehicle to continue to operate, bringing huge adverse effects. For example, the target vehicle is a low-end version of the vehicle model without an air supply unit (ASU), and the vehicle model configuration field inside the actual vehicle is abnormal, resulting in the vehicle control software being unable to recognize the correct vehicle model configuration field; then continuing to execute the vehicle mode switching described above will have problems. The vehicle working mode switching including the ASU will fail because the target vehicle does not have an ASU. This situation will cause the target vehicle to be unable to smoothly enter the normal, logistics or exhibition vehicle mode, resulting in the inability of the actual vehicle function to continue to operate.

[0056] The following describes the working mode switching method and device, vehicle, electronic device and storage medium of the embodiments of the present disclosure with reference to the accompanying drawings.

[0057] Figure 1 A flowchart of a method for switching working modes provided in an embodiment of the present disclosure is provided.

[0058] like Figure 1 As shown, the method comprises the following steps:

[0059] Step 101, obtaining the electronic controller configuration information of each type of vehicle, and determining the common electronic controller set in each type of vehicle.

[0060] In the embodiment of the present disclosure, in order to prevent the failure of the vehicle working mode switching due to the failure of the vehicle model configuration field; the present disclosure obtains the electronic controller configuration information of different vehicle models, and according to the configuration information of different vehicle models, takes the intersection of the electronic controllers of various vehicle models to generate a shared electronic controller set. According to the shared electronic controller set, it is possible to achieve unified management of the shared electronic controllers of various vehicle models, and prevent the failure of switching due to the failure of the vehicle model configuration word when switching the working mode; unified management of shared controllers can facilitate upgrading and maintenance; after determining the shared electronic controller, it can be more convenient and quick to upgrade or maintain the vehicle; and the stability and safety of the vehicle system can be ensured.

[0061] Step 102, determining the preset working mode to which the target vehicle is to switch, and verifying whether the vehicle model configuration field of the target vehicle is valid, wherein the vehicle model configuration field includes the electronic controller configuration information of the target vehicle.

[0062] In the embodiment of the present disclosure, when determining that the target vehicle can switch to the working mode corresponding to the switching instruction, it is necessary to determine whether the vehicle model configuration field is valid. The vehicle model configuration field can reflect the vehicle model configuration information of the target vehicle, for example, it can be the configuration information of the electronic controller of the vehicle model corresponding to the target vehicle; the same vehicle model has different configuration types, and the configurations of the electronic controllers corresponding to the different configuration types will also be different.

[0063] Step 103 , when the vehicle type configuration field is invalid, controlling the shared electronic controller in the target vehicle to switch to the preset working mode according to the shared electronic controller set.

[0064] In an embodiment of the present disclosure, the intersection of the electronic controllers of all vehicles is a collection of the same electronic controllers in all vehicles that need to switch working modes. All vehicles can be a certain model or multiple models with similar configurations; the present disclosure is not limited to this. In the case of an abnormality in the model configuration field, only the electronic controllers in the intersection of the electronic controllers are switched in mode, so that the target vehicle can switch modes normally and execute corresponding functions, and most functions of the target vehicle can operate normally.

[0065] The present disclosure provides a method for switching working modes, obtaining the electronic controller configuration information of various types of vehicle models, and determining the common electronic controller set in various types of vehicle models; determining the preset working mode to be switched by the target vehicle, and verifying whether the vehicle model configuration field of the target vehicle is valid, wherein the vehicle model configuration field includes the electronic controller configuration information of the target vehicle; when the vehicle model configuration field is invalid, controlling the common electronic controller in the target vehicle to switch to the preset working mode according to the common electronic controller set. Compared with the related art, the embodiment of the present disclosure verifies the vehicle model configuration field, and when the vehicle model configuration field is invalid, switches the common electronic controller in the target vehicle to the working mode corresponding to the switching instruction; it can ensure the normal switching working mode of the target vehicle.

[0066] In order to clearly illustrate the embodiments of the present disclosure, the embodiments of the present disclosure provide Figure 2 A flowchart of another method for switching working modes is shown.

[0067] like Figure 2 As shown, the method comprises the following steps:

[0068] Step 201, obtaining the electronic controller configuration information of each type of vehicle, and determining the common electronic controller set in each type of vehicle.

[0069] Specifically in the disclosed embodiment, all vehicle models may be a certain vehicle model or multiple vehicle models with similar configurations. For example, vehicle model A includes three vehicle models a1, a2, and a3, and vehicle model B includes two vehicle models b1 and b2; their corresponding configuration information is shown in Table 1.

[0070] Table 1. Electronic controller configuration table for models A and B

[0071]

[0072] "√" indicates that the vehicle model has the electronic controller, and "×" indicates that the vehicle model does not have the electronic controller. According to the configuration information in Table 1, the intersection of the electronic controllers is determined to be {XCU, HU, BCM}. It should be noted that XCU, HU, FSD, BCM, and ASU in Table 1 are electronic controllers in the vehicle, which are only exemplary and do not constitute a limitation of the present disclosure.

[0073] Step 202, obtaining the operating status information of the target vehicle, and determining whether the target vehicle can be switched to the preset working mode according to the operating status information.

[0074] Specifically, in the embodiment of the present disclosure, a switching condition corresponding to the working mode is obtained, and each working mode includes at least one switching condition. It is determined whether the running state information satisfies the switching condition corresponding to the working mode.

[0075] When switching between different working modes of the target vehicle, it is necessary to determine whether the corresponding working mode can be entered based on the operating status information of the target vehicle. Different working modes correspond to different switching conditions. For example, after the target vehicle receives the switching instruction for the whole vehicle to enter the logistics mode, when the target vehicle meets the following conditions a or b, it can smoothly enter the mode switching process.

[0076] a. The low voltage power mode is OFF.

[0077] b. The low-voltage power mode is ACC or ON, the gear is in P, and the vehicle speed is less than 2 km / h.

[0078] Step 203, determining the preset working mode to which the target vehicle is to be switched, and verifying whether the vehicle model configuration field of the target vehicle is valid.

[0079] As a refinement of an embodiment of the present disclosure, the verification of whether the vehicle model configuration field of the target vehicle is valid includes: parsing the vehicle model configuration field to determine the configuration information corresponding to the vehicle model configuration field; and comparing the electronic controller configuration information of the target vehicle with the configuration information corresponding to the vehicle model configuration field to determine whether the vehicle model configuration field of the target vehicle is valid.

[0080] Specifically in the embodiment of the present disclosure, the vehicle model configuration field can reflect the vehicle model configuration information of the target vehicle, for example, it can be the configuration information of the electronic controller of the vehicle model corresponding to the target vehicle; the same vehicle model has different configuration types, and the configurations of the electronic controllers corresponding to the different configuration types will also be different.

[0081] Step 204, when the vehicle type configuration field is valid, obtain the electronic controller configuration table of the target vehicle according to the vehicle type configuration field of the target vehicle.

[0082] Step 205 : generating a first switching sequence of electronic controllers in the target vehicle based on the electronic controller configuration table and the switching sequence of electronic controllers in the preset working mode.

[0083] Step 206 : Control the electronic controller of the target vehicle to switch to the working mode according to the first switching sequence.

[0084] Specifically, in step 204 to step 206, the vehicle's operating modes generally include: normal mode, factory mode, logistics mode, exhibition vehicle mode, OTA mode, and maintenance mode. It should be noted that the embodiments of the present disclosure use the aforementioned operating modes as an illustration, which does not constitute a limitation of the present disclosure.

[0085] In the embodiment of the present disclosure, the target vehicle is configured with five electronic controllers, namely, XCU, HU, FSD, BCM, and ASU. Table 2 shows the correspondence between the working mode and the electronic controller. According to the electronic controller configuration information of the target vehicle and the working mode (the electronic controller required by the working mode, i.e., the correspondence between the working mode and the electronic controller), the second switching sequence of the electronic controller of the target vehicle can be determined. Exemplarily, when the whole vehicle enters various working modes, the switching sequence of the electronic controller is as follows:

[0086] The whole vehicle enters normal mode, which means that XCU, HU, FSD, BCM and ASU enter normal mode in sequence; the whole vehicle enters factory mode, which means that XCU, HU and BCM enter factory mode in sequence; the whole vehicle enters logistics mode, which means that XCU, HU, FSD, BCM and ASU enter logistics mode in sequence; the whole vehicle enters advance vehicle mode, which means that XCU, HU, FSD, BCM and ASU enter advance vehicle mode in sequence; the whole vehicle enters OTA mode, which means that XCU, HU and BCM enter OTA mode in sequence; the whole vehicle enters maintenance mode, which means that XCU and HU enter maintenance mode in sequence.

[0087] Table 2. Correspondence between working modes and electronic controllers

[0088] Normal Mode Factory Pattern Logistics model Show car mode OTA mode Maintenance Mode XCU √ √ √ √ √ √ HU √ √ √ √ √ √ FSD √ × √ √ × × BCM √ √ √ √ √ × ASU √ × √ √ × ×

[0089] Step 207 , determining the electronic controller in the shared electronic controller set that is the same as the electronic controller in the first switching sequence.

[0090] Step 208 : generating a second switching sequence of shared electronic controllers in the target vehicle by switching the same electronic controllers according to the switching sequence in the first switching sequence.

[0091] Step 209: Control the shared electronic controller in the target vehicle to switch to the working mode according to the second switching sequence.

[0092] Specifically, in steps 207 to 209, when the vehicle model configuration field is invalid, the switching order of the electronic controllers is determined according to the intersection of the electronic controllers of all vehicles and the working mode that needs to be switched. For example, please refer to step 205 for understanding, assuming that the intersection of the electronic controllers is {XCU, HU, BCM}. When the target vehicle enters the logistics mode, if the vehicle model configuration field is valid, the switching order of the electronic controllers is XCU, HU, FSD, BCM, ASU in turn to enter the logistics mode; if the vehicle model configuration field is valid, the switching order of the electronic controllers is XCU, HU, BCM in turn to enter the logistics mode.

[0093] To sum up, the embodiment of the present disclosure obtains the intersection of the electronic controllers of all vehicles, and when the vehicle model configuration field is invalid, controls the target vehicle to switch the working mode according to the intersection of the electronic controllers, thereby reducing the situation where the working mode switching fails due to the invalid vehicle model configuration field.

[0094] As an achievable method of the embodiment of the present disclosure, if the operating state does not satisfy the requirement for switching to the working mode, switching of the working mode of the vehicle is stopped and an alarm message is generated.

[0095] Specifically, in the embodiment of the present disclosure, when it is determined that the operating state of the target vehicle cannot meet the conditions for the vehicle to switch the operating mode, the switching of the operating mode is stopped; and corresponding warning information is generated to prompt the vehicle user.

[0096] It should be noted that the embodiments of the present disclosure may include multiple steps. For the convenience of description, these steps are numbered, but these numbers do not limit the execution time slots or execution order between the steps; these steps can be implemented in any order, and the embodiments of the present disclosure do not limit this.

[0097] Corresponding to the above working mode switching method, the present invention also provides a working mode switching device. Since the device embodiment of the present invention corresponds to the above method embodiment, the details not disclosed in the device embodiment can be referred to the above method embodiment, and will not be repeated in the present invention.

[0098] Figure 3 A schematic diagram of a working mode switching device provided in an embodiment of the present disclosure is shown in FIG. Figure 4 As shown, including:

[0099] The determination unit 31 is used to obtain the electronic controller configuration information of each type of vehicle and determine the common electronic controller set in each type of vehicle;

[0100] A verification unit 32, used to determine the preset working mode to be switched by the target vehicle, and verify whether the vehicle type configuration field of the target vehicle is valid, wherein the vehicle type configuration field includes the electronic controller configuration information of the target vehicle;

[0101] The first control unit 33 is used to control the shared electronic controller in the target vehicle to switch to the preset working mode according to the shared electronic controller set when the vehicle model configuration field is invalid.

[0102] The present disclosure provides a device for switching working modes, which obtains the electronic controller configuration information of various types of vehicle models, and determines the common electronic controller set in various types of vehicle models; determines the preset working mode to be switched by the target vehicle, and verifies whether the vehicle model configuration field of the target vehicle is valid, wherein the vehicle model configuration field includes the electronic controller configuration information of the target vehicle; when the vehicle model configuration field is invalid, controls the common electronic controller in the target vehicle to switch to the preset working mode according to the common electronic controller set. Compared with the related art, the embodiment of the present disclosure verifies the vehicle model configuration field, and when the vehicle model configuration field is invalid, switches the common electronic controller in the target vehicle to the working mode corresponding to the switching instruction; it can ensure the normal switching working mode of the target vehicle.

[0103] Furthermore, in a possible implementation of this embodiment, as Figure 4 As shown, the device also includes:

[0104] An acquisition unit 34 is used to acquire an electronic controller configuration table of the target vehicle according to the vehicle model configuration field of the target vehicle when the vehicle model configuration field is valid;

[0105] A generating unit 35, configured to generate a first switching sequence of the electronic controllers in the target vehicle based on the electronic controller configuration table and the switching sequence of the electronic controllers in the preset working mode;

[0106] The second control unit 36 ​​is used to control the electronic controller of the target vehicle to switch to the working mode according to the first switching sequence.

[0107] Furthermore, in a possible implementation of this embodiment, as Figure 4 As shown, the first control unit 33 includes:

[0108] A determination module 331, configured to determine the electronic controller in the shared electronic controller set that is the same as the electronic controller in the first switching sequence;

[0109] A generating module 332, configured to generate a second switching sequence of shared electronic controllers in the target vehicle by using the same electronic controllers according to the switching sequence in the first switching sequence;

[0110] The control module 333 is used to control the shared electronic controller in the target vehicle to switch to the working mode according to the second switching sequence.

[0111] Furthermore, in a possible implementation of this embodiment, as Figure 4 As shown, the verification unit 32 includes:

[0112] The parsing module 321 is used to parse the vehicle type configuration field to determine the configuration information corresponding to the vehicle type configuration field;

[0113] The checking module 322 is used to check the electronic controller configuration information of the target vehicle with the configuration information corresponding to the vehicle model configuration field to determine whether the vehicle model configuration field of the target vehicle is valid.

[0114] Furthermore, in a possible implementation of this embodiment, as Figure 4 As shown, the device also includes:

[0115] The judgment unit 37 is used to obtain the operating status information of the target vehicle before the verification unit determines the preset operating mode to be switched by the target vehicle, and judge whether the target vehicle can be switched to the preset operating mode according to the operating status information.

[0116] It should be noted that the above explanation of the method embodiment is also applicable to the device of this embodiment, and the principle is the same, which is not limited in this embodiment.

[0117] Furthermore, in a possible implementation of this embodiment, the embodiment of the present disclosure also provides a vehicle, which includes the device for switching the working mode described in any of the above embodiments.

[0118] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0119] Figure 5A schematic block diagram of an example electronic device 400 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0120] like Figure 5 As shown, the device 400 includes a computing unit 401, which can perform various appropriate actions and processes according to a computer program stored in a ROM (Read-Only Memory) 402 or a computer program loaded from a storage unit 408 to a RAM (Random Access Memory) 403. In the RAM 403, various programs and data required for the operation of the device 400 can also be stored. The computing unit 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An I / O (Input / Output) interface 405 is also connected to the bus 404.

[0121] A number of components in the device 400 are connected to the I / O interface 405, including: an input unit 406, such as a keyboard, a mouse, etc.; an output unit 407, such as various types of displays, speakers, etc.; a storage unit 408, such as a disk, an optical disk, etc.; and a communication unit 409, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 409 allows the device 400 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0122] The computing unit 401 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 401 include, but are not limited to, a CPU (Central Processing Unit), a GPU (Graphic Processing Units), various dedicated AI (Artificial Intelligence) computing chips, various computing units running machine learning model algorithms, a DSP (Digital Signal Processor), and any appropriate processor, controller, microcontroller, etc. The computing unit 401 performs the various methods and processes described above, such as a method for switching working modes. For example, in some embodiments, the method for switching working modes may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 408. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 400 via the ROM 402 and / or the communication unit 409. When the computer program is loaded into the RAM 403 and executed by the computing unit 401, one or more steps of the method described above may be performed. Alternatively, in other embodiments, the computing unit 401 may be configured to execute the aforementioned working mode switching method in any other appropriate manner (for example, by means of firmware).

[0123] Various embodiments of the systems and techniques described above herein may be implemented in digital electronic circuit systems, integrated circuit systems, FPGAs (Field Programmable Gate Arrays), ASICs (Application-Specific Integrated Circuits), ASSPs (Application Specific Standard Products), SOCs (System On Chips), CPLDs (Complex Programmable Logic Devices), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that may be executed and / or interpreted on a programmable system including at least one programmable processor that may be a dedicated or general-purpose programmable processor that may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0124] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0125] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a RAM, a ROM, an EPROM (Electrically Programmable Read-Only-Memory) or a flash memory, an optical fiber, a CD-ROM (Compact Dis sc Read-Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0126] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (Cathode-Ray Tube) or LCD (Liquid Crystal Display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0127] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: LAN (Local Area Network), WAN (Wide Area Network), the Internet, and blockchain networks.

[0128] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.

[0129] It should be noted that artificial intelligence is a discipline that studies how computers can simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), and includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, as well as machine learning / deep learning, big data processing technology, knowledge graph technology, and other major directions.

[0130] The various numerical numbers such as first and second involved in the present disclosure are only for the convenience of description and are not used to limit the scope of the embodiments of the present disclosure, but also indicate the order of precedence.

[0131] At least one in the present disclosure may also be described as one or more, and a plurality may be two, three, four or more, which is not limited in the present disclosure. In the embodiments of the present disclosure, for a technical feature, the technical features in the technical feature are distinguished by "first", "second", "third", "A", "B", "C" and "D", etc., and there is no order of precedence or size between the technical features described by the "first", "second", "third", "A", "B", "C" and "D".

[0132] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0133] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for switching working modes, It is characterized in that include: Obtain the electronic controller configuration information of each type of vehicle, and determine the common electronic controller set in each type of vehicle; Determine the preset working mode to which the target vehicle is to switch, and verify whether the vehicle type configuration field of the target vehicle is valid, wherein the vehicle type configuration field includes the electronic controller configuration information of the target vehicle; When the vehicle type configuration field is invalid, the shared electronic controller in the target vehicle is controlled to switch to the preset working mode according to the shared electronic controller set.

2. The method according to claim 1, It is characterized in that The method further comprises: If the vehicle type configuration field is valid, obtaining an electronic controller configuration table of the target vehicle according to the vehicle type configuration field of the target vehicle; Based on the electronic controller configuration table and the switching sequence of the electronic controllers in the preset working mode, generating a first switching sequence of the electronic controllers in the target vehicle; According to the first switching sequence, the electronic controller of the target vehicle is controlled to switch to the working mode.

3. The method according to claim 2, It is characterized in that When the vehicle type configuration field is invalid, controlling the shared electronic controller in the target vehicle to switch to the preset working mode according to the shared electronic controller set includes: Determine the electronic controller in the common electronic controller set that is the same as the electronic controller in the first switching sequence; Generating a second switching sequence of shared electronic controllers in the target vehicle by using the same electronic controllers according to the switching sequence in the first switching sequence; According to the second switching sequence, the shared electronic controller in the target vehicle is controlled to switch to the working mode.

4. The method according to claim 1, It is characterized in that The verifying whether the vehicle model configuration field of the target vehicle is valid includes: Parsing the vehicle type configuration field to determine configuration information corresponding to the vehicle type configuration field; The electronic controller configuration information of the target vehicle is checked against the configuration information corresponding to the vehicle model configuration field to determine whether the vehicle model configuration field of the target vehicle is valid.

5. The method according to claim 1, It is characterized in that Before determining the preset operating mode to which the target vehicle is to switch, the method further includes: The operating status information of the target vehicle is obtained, and it is determined whether the target vehicle can be switched to the preset working mode according to the operating status information.

6. A device for switching working modes, It is characterized in that include: A determination unit, used to obtain the electronic controller configuration information of each type of vehicle and determine the common electronic controller set in each type of vehicle; A verification unit, used to determine the preset working mode to be switched by the target vehicle, and verify whether the vehicle model configuration field of the target vehicle is valid, wherein the vehicle model configuration field includes the electronic controller configuration information of the target vehicle; The first control unit is used to control the shared electronic controller in the target vehicle to switch to the preset working mode according to the shared electronic controller set when the vehicle model configuration field is invalid.

7. A vehicle, It is characterized in that The vehicle comprises: a device for switching working modes as described in claim 6.

8. An electronic device, It is characterized in that include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 5.

9. A non-transitory computer-readable storage medium storing computer instructions, It is characterized in that The computer instructions are used to cause the computer to execute the method according to any one of claims 1-5.

10. A computer program product, It is characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 5.