Electronic shift control methods, devices, electronic equipment and storage media

By employing level control signals and pulse width modulation duty cycles in the electronic shifting system, pin resource utilization is optimized, the anti-interference capability and stability of electrical signals are improved, and the problems of pin resource waste and electrical signal instability in existing technologies are solved.

CN117989314BActive Publication Date: 2026-06-30ZHEJIANG GEELY HLDG GRP CO LTD +2

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZHEJIANG GEELY HLDG GRP CO LTD
Filing Date
2024-01-31
Publication Date
2026-06-30

Smart Images

  • Figure CN117989314B_ABST
    Figure CN117989314B_ABST
Patent Text Reader

Abstract

This application provides an electronic shift control method, device, electronic device, and storage medium, applied to an electronic shift system. The electronic shift system includes an electronic shift unit and a vehicle control unit. In response to a first user's shift operation, the electronic shift unit generates a level control signal; the vehicle control unit acquires the level control signal and obtains the user-requested gear information according to a preset level encoding table; the vehicle control unit determines the vehicle's operating gear based on the user-requested gear information and first motor operation information; the vehicle control unit converts the vehicle's operating gear into first pulse width modulation duty cycle information; and the electronic shift unit parses the first pulse width modulation duty cycle information to obtain the vehicle's operating gear. This solves the problem of poor anti-interference capability and instability of the electrical signal when transmitting the electrical signal corresponding to the actual vehicle operating gear.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle shift control technology, and in particular to an electronic shift control method, device, electronic equipment and storage medium. Background Technology

[0002] With the development of electrification, more and more mechanical structures in automobiles are being replaced by electronic structures, and the electronic shift unit is one of them. The function of the electronic shift unit is to transmit the user's control of the vehicle's forward, reverse, and parking shift operations to the vehicle control unit. After performing logical judgments, the vehicle control unit controls the motor to perform the corresponding operating actions. At the same time, the vehicle control unit transmits the motor's operating status to the electronic shift unit, which involves communication issues between the electronic shift unit and the vehicle control unit.

[0003] Currently, the pins of the electronic shift unit are usually connected to the pins of the vehicle control unit via three wire harnesses to transmit reverse, neutral, and forward gear information. When the electronic shift unit sets the reverse, neutral, and forward gear pins to a high level, it means the gear is valid; when it sets them to a low level, it means the gear is invalid. The actual vehicle gear position is transmitted from the vehicle control unit to the electronic shift unit via the CAN network.

[0004] However, when changing the vehicle's gear position via three wiring harnesses and CAN network communication, the three wiring harnesses occupy three pins of the electronic shift unit, resulting in a waste of pin resources. At the same time, when the vehicle control unit transmits the actual vehicle gear position to the electronic shift unit, the complex communication logic and physical structure of the CAN network, which requires corresponding functional programming and network management development based on the vehicle's communication architecture, leads to poor anti-interference capability and instability of the electrical signal corresponding to the actual vehicle gear position. Summary of the Invention

[0005] This application provides an electronic shift control method, device, electronic device, and storage medium to solve the problem of poor anti-interference capability and instability of electrical signals when transmitting electrical signals corresponding to the actual vehicle operating gear.

[0006] In a first aspect, this application provides an electronic shift control method applied to an electronic shift system, the electronic shift system including an electronic shift unit and a vehicle control unit, comprising: in response to a first user shift operation, generating a level control signal through the electronic shift unit, the level control signal including a first level value and a second level value, a combined level value formed by the first level value and the second level value being used to characterize the target electronic gear corresponding to the first user shift operation; acquiring the level control signal through the vehicle control unit, and obtaining the user-requested gear information according to a preset level encoding table, the level encoding table being used for... The mapping relationship between the combined voltage level and the electronic gear position is represented. The user-requested gear position information is used to drive the vehicle control unit to electronically switch the vehicle motor. The vehicle control unit determines the vehicle operating gear based on the user-requested gear position information and the first motor operation information. The first motor operation information represents the operating state of the vehicle motor after the vehicle control unit responds to the user-requested gear position information. The vehicle control unit converts the vehicle operating gear into first pulse width modulation duty cycle information. The electronic shift unit parses the first pulse width modulation duty cycle information to obtain the vehicle operating gear.

[0007] In one possible implementation, the method further includes: converting the shift fault information of the electronic shift unit into second pulse width modulation duty cycle information through the electronic shift unit; parsing the second pulse width modulation duty cycle information through the vehicle control unit to obtain the shift fault type of the electronic shift unit and displaying it.

[0008] In one possible implementation, the shift fault information includes at least first fault information and second fault information; the step of converting the shift fault information of the electronic shift unit into second pulse width modulation duty cycle information by the electronic shift unit includes: obtaining first fault duty cycle information by the electronic shift unit based on the first fault information; or, obtaining second fault duty cycle information by the electronic shift unit based on the second fault information; and obtaining the second pulse width modulation duty cycle information based on the first fault duty cycle information or the second fault duty cycle information.

[0009] In one possible implementation, the vehicle operating gears include at least a first operating gear and a second operating gear; the step of converting the vehicle operating gears into first pulse width modulation duty cycle information by the vehicle control unit includes: obtaining first gear duty cycle information by the vehicle control unit based on the first operating gear; or, obtaining second gear duty cycle information by the vehicle control unit based on the second operating gear; and obtaining the first pulse width modulation duty cycle information based on the first gear duty cycle information or the second gear duty cycle information.

[0010] In one possible implementation, the system further includes: in response to a second user's gear shifting operation, generating a forced control signal through the electronic gear shifting unit, wherein the second user's gear shifting operation is a gear shifting operation in which the user actively changes the vehicle's gear solely through the electronic gear shifting unit during vehicle use; and obtaining a forced operating gear through the vehicle control unit responding to the forced control signal.

[0011] In one possible implementation, the user-requested gear information includes forced gear information, which indicates the vehicle gear type after the user actively changes the vehicle gear solely through the electronic gear shift unit during vehicle operation; the step of obtaining the forced operating gear through the vehicle control unit responding to the forced control signal includes:

[0012] The vehicle control unit responds to the forced control signal to obtain the user request duration, wherein the user request duration is the cumulative generation duration corresponding to the forced control signal generated by the electronic shift unit when the user actively changes the vehicle's gear position only through the electronic shift unit within a preset time. The vehicle control unit determines the forced gear position information based on the user request duration, the preset request duration, and the level encoding table. The vehicle control unit obtains the forced operation gear based on the forced gear position information and the second motor operation information, wherein the second motor operation information represents the operating state of the vehicle motor after the vehicle control unit responds to the forced gear position information.

[0013] Secondly, this application provides an electronic shift control device for use in an electronic shift system, the electronic shift system including an electronic shift unit and a vehicle control unit, the device comprising:

[0014] The first processing module is configured to generate a level control signal through the electronic shift unit in response to a first user shift operation. The level control signal includes a first level value and a second level value. The combined level value formed by the first level value and the second level value is used to characterize the target electronic gear corresponding to the first user shift operation.

[0015] The second processing module is used to obtain the level control signal through the vehicle control unit and obtain the user-requested gear information according to the preset level encoding table. The level encoding table is used to characterize the mapping relationship between the combined level value and the electronic gear. The user-requested gear information is used to drive the vehicle control unit to perform electronic gear switching on the vehicle motor.

[0016] The second processing module is further configured to determine the vehicle operating gear through the vehicle control unit based on the user-requested gear information and the first motor operating information, wherein the first motor operating information represents the operating state of the vehicle motor after the vehicle control unit responds to the user-requested gear information.

[0017] The second processing module is further configured to convert the vehicle operating gear into first pulse width modulation duty cycle information through the vehicle control unit;

[0018] The first processing module is further configured to parse the first pulse width modulation duty cycle information through the electronic shift unit to obtain the vehicle's operating gear.

[0019] In one possible implementation, the first processing module is further configured to: convert the shift fault information of the electronic shift unit into second pulse width modulation duty cycle information through the electronic shift unit; parse the second pulse width modulation duty cycle information through the vehicle control unit to obtain the shift fault type of the electronic shift unit, and display it.

[0020] In one possible implementation, the shift fault information includes at least first fault information and second fault information; when the first processing module converts the shift fault information of the electronic shift unit into second pulse width modulation duty cycle information through the electronic shift unit, it is specifically used to: obtain first fault duty cycle information through the electronic shift unit based on the first fault information; or, obtain second fault duty cycle information through the electronic shift unit based on the second fault information; and obtain the second pulse width modulation duty cycle information based on the first fault duty cycle information or the second fault duty cycle information.

[0021] In one possible implementation, the vehicle operating gears include at least a first operating gear and a second operating gear; when the second processing module converts the vehicle operating gears into first pulse width modulation duty cycle information through the vehicle control unit, it is specifically used to: obtain first gear duty cycle information through the vehicle control unit based on the first operating gear; or, obtain second gear duty cycle information through the vehicle control unit based on the second operating gear; and obtain the first pulse width modulation duty cycle information based on the first gear duty cycle information or the second gear duty cycle information.

[0022] In one possible implementation, the first processing module is further configured to: generate a forced control signal through the electronic shift unit in response to a second user shift operation, wherein the second user shift operation is a shift operation in which the user actively changes the vehicle's gear position solely through the electronic shift unit during vehicle use; and obtain a forced operating gear by responding to the forced control signal through the vehicle control unit.

[0023] In one possible implementation, the user-requested gear information includes forced gear information, which characterizes the vehicle gear type after the user actively changes the vehicle gear solely through the electronic gear shift unit during vehicle operation. When the second processing module obtains the forced operating gear by responding to the forced control signal through the vehicle control unit, it specifically performs the following: obtaining the user-requested duration through the vehicle control unit's response to the forced control signal, wherein the user-requested duration is the cumulative generation duration corresponding to the forced control signal generated by the electronic gear shift unit when the user actively changes the vehicle gear solely through the electronic gear shift unit within a preset time period; determining the forced gear information through the vehicle control unit based on the user-requested duration, the preset request duration, and the level encoding table; and obtaining the forced operating gear through the vehicle control unit based on the forced gear information and the second motor operation information, where the second motor operation information characterizes the operating state of the vehicle motor after the vehicle control unit responds to the forced gear information.

[0024] Thirdly, this application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;

[0025] The memory stores computer-executed instructions;

[0026] The processor executes computer execution instructions stored in the memory to implement the electronic shift control method as described in any of the first aspects of the embodiments of this application.

[0027] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the electronic shift control method as described in any of the first aspects of the embodiments of this application.

[0028] According to a fifth aspect of the embodiments of this application, this application provides a computer program product, including a computer program that, when executed by a processor, implements the electronic shift control method as described in any of the first aspects above.

[0029] The electronic shift control method, device, electronic equipment, and storage medium provided in this application are applied to an electronic shift system, which includes an electronic shift unit and a vehicle control unit. In response to a first user's shift operation, the electronic shift unit generates a level control signal, which includes a first level value and a second level value. The combined level value formed by the first and second level values ​​characterizes the target electronic gear corresponding to the first user's shift operation. The vehicle control unit acquires the level control signal and obtains the user-requested gear information according to a preset level encoding table. The table is used to characterize the mapping relationship between combined level values ​​and electronic gear positions. The user-requested gear position information is used to drive the vehicle control unit to electronically switch the vehicle motor. The vehicle control unit determines the vehicle operating gear based on the user-requested gear position information and the first motor operation information. The first motor operation information characterizes the operating state of the vehicle motor after the vehicle control unit responds to the user-requested gear position information. The vehicle control unit converts the vehicle operating gear into first pulse width modulation duty cycle information. The electronic shift unit parses the first pulse width modulation duty cycle information to obtain the vehicle operating gear. By using the level signals corresponding to two wire harnesses to form a combined level value, and then determining the level control signal, the problem of wasted pin resources caused by three wire harnesses occupying three pins of the electronic shift unit is solved. Furthermore, by establishing the correspondence between the first pulse width modulation duty cycle and the vehicle's operating gear, the vehicle control unit can transmit the actual vehicle operating gear to the electronic shift unit. This solves the problem of poor anti-interference capability and instability of electrical signals when transmitting the electrical signals corresponding to the actual vehicle operating gear, which is caused by the complexity of the communication logic and physical structure of CAN network communication and the need for corresponding functional programming and network management development based on the vehicle communication architecture. Attached Figure Description

[0030] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0031] Figure 1 This is an application scenario diagram of the electronic shift control method provided in the embodiments of this application;

[0032] Figure 2 A flowchart of an electronic shift control method provided in one embodiment of this application;

[0033] Figure 3 A schematic diagram illustrating the specific steps for transmitting and displaying shift fault information of the electronic shift unit as provided in the embodiments of this application;

[0034] Figure 4A flowchart of an electronic shift control method provided in another embodiment of this application;

[0035] Figure 5 This is an application scenario diagram illustrating the active change of vehicle gears provided in an embodiment of this application.

[0036] Figure 6 for Figure 5 A schematic diagram illustrating the specific implementation steps of step S207 in the illustrated embodiment;

[0037] Figure 7 This is a schematic diagram of an electronic gear shifting system provided in one embodiment of this application;

[0038] Figure 8 This is a schematic diagram of the structure of an electronic shift control device provided in one embodiment of this application;

[0039] Figure 9 A schematic diagram of an electronic device provided according to one embodiment of this application;

[0040] Figure 10 This is a block diagram illustrating a terminal device as an exemplary embodiment of this application.

[0041] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0042] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0043] The technical solution of this application involves the collection, storage, use, processing, transmission, provision and disclosure of user personal information and data, which comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0044] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation portals are provided for users to choose to authorize or refuse.

[0045] Figure 1 This diagram illustrates an application scenario of the electronic shift control method provided in this application. The electronic shift control method provided in this application can be applied to scenarios where a user shifts gears in a vehicle. For example, as shown... Figure 1 As shown, the execution subject of the method provided in this application embodiment can be a vehicle-mounted device or an electronic control unit. Taking the electronic control unit as an example, the electronic control unit includes an electronic shift unit and a vehicle control unit. The electronic shift unit responds to the user's shift operation and generates a corresponding vehicle shift command. Then, according to the corresponding vehicle shift command, the vehicle control unit changes the operating state of the vehicle motor to realize the vehicle's gear shift. After the vehicle completes the gear shift, the electronic shift unit obtains the actual vehicle operating gear from the vehicle control unit. If the actual vehicle operating gear is consistent with the gear corresponding to the user's shift operation, the vehicle operates according to the actual vehicle operating gear. If the actual vehicle operating gear is inconsistent with the gear corresponding to the user's shift operation, the user is prompted that the vehicle has not shifted successfully, and the vehicle operates according to the actual vehicle operating gear.

[0046] Currently, the pins of the electronic shift unit are typically connected to the pins of the vehicle control unit via three wire harnesses to transmit reverse, neutral, and forward gear information. When the electronic shift unit sets the reverse, neutral, or forward gear pins to a high level, it indicates that the gear is active; when it sets them to a low level, it indicates that the gear is inactive. The actual vehicle gear position is then transmitted from the vehicle control unit to the electronic shift unit via the CAN network.

[0047] However, when changing the vehicle's gear position via three wiring harnesses and CAN network communication, the three wiring harnesses occupy three pins of the electronic shift unit, resulting in a waste of pin resources. At the same time, when the vehicle control unit transmits the actual vehicle gear position to the electronic shift unit, the complex communication logic and physical structure of the CAN network, which requires corresponding functional programming and network management development based on the vehicle's communication architecture, leads to poor anti-interference capability and instability of the electrical signal corresponding to the actual vehicle gear position.

[0048] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0049] Figure 2 A flowchart of an electronic shift control method provided in one embodiment of this application is shown below. Figure 2 As shown, the execution subject of the electronic shift control method provided in this embodiment can be a vehicle-mounted device or an electronic control unit. For example, this embodiment uses a vehicle-mounted device as the execution subject for explanation. The method provided in this application embodiment is applied to an electronic shift system, which includes an electronic shift unit and a vehicle control unit. The electronic shift control method provided in this embodiment includes the following steps:

[0050] Step S101: In response to the first user's gear shifting operation, a level control signal is generated through the electronic gear shifting unit. The level control signal includes a first level value and a second level value. The combined level value formed by the first level value and the second level value is used to characterize the target electronic gear corresponding to the first user's gear shifting operation.

[0051] For example, in communication coding, the target electronic gear position of the vehicle is defined by the coordination of high and low levels corresponding to two wire harnesses. That is, the first level value corresponding to the first wire harness and the second level value corresponding to the second wire harness are combined to form a combined level value, thereby obtaining four level value combinations. These four level value combinations can correspond to the four electronic gear positions of the vehicle. In response to the first user's gear shifting operation, the electronic gear shifting unit generates the corresponding level control signal, that is, obtains the target electronic gear position corresponding to the first user's gear shifting operation. More specifically, for example, Table 1 is a schematic table showing the correspondence between target electronic gear positions and combined level values. As shown in Table 1, "0" represents the low level of the wiring harness, and "1" represents the high level of the wiring harness. The physical forms of the vehicle's electronic shift unit include button type, knob type, column shifter type, and lever type. In this embodiment, the button type electronic shift unit is used as an example. The first user shift operation is that the user presses the "brake pedal" and presses the corresponding gear position of the "electronic shift unit" at the same time. Then, in response to the first user shift operation, the electronic shift unit generates a combined level value, that is, generates the corresponding level control signal. For example, when the user presses the "brake pedal" and presses the "reverse gear" corresponding to the "electronic shift unit", the electronic shift unit sets the voltage of the pin connected to the first wiring harness to a low level and sets the voltage of the pin connected to the second wiring harness to a high level. That is, the first level value corresponding to the first wiring harness is "0" and the second level value corresponding to the second wiring harness is "1". Thus, the level control signal generated by the electronic shift unit is "0,1".

[0052] Table 1

[0053]

[0054] Step S102: Obtain the level control signal through the vehicle control unit, and obtain the user-requested gear information according to the preset level encoding table. The level encoding table is used to characterize the mapping relationship between the combined level value and the electronic gear. The user-requested gear information is used to drive the vehicle control unit to electronically switch the vehicle motor.

[0055] For example, the level encoding table is used to characterize the mapping relationship between combined level values ​​and electronic gear positions. The user-requested gear position information is used to drive the vehicle control unit to electronically switch the vehicle motor. That is, by parsing and processing the acquired level control signal according to the level encoding table, the vehicle control unit can obtain the target electronic gear position corresponding to the first user's gear shift operation, which is the user-requested gear position information. Then, the vehicle control unit can be driven to electronically switch the vehicle motor based on the user-requested gear position information. More specifically, for example, Table 1 is the level encoding table. As shown in Table 1, "0" represents the low level of the wiring harness, and "1" represents the high level of the wiring harness. By parsing and processing the acquired level control signal according to the level encoding table, the vehicle control unit can obtain the user-requested electronic gear position, i.e., the user-requested gear position information.

[0056] In one possible implementation, the electronic shift unit is connected to the vehicle control unit via two wiring harnesses (a first wiring harness and a second wiring harness) to transmit level control signals. For example, in response to a first user's shift operation, the electronic shift unit generates a level control signal "0,1". Then, on the vehicle control unit side, the voltage of the pin connected to the first wiring harness is set to a low level, and the voltage of the pin connected to the second wiring harness is set to a high level, i.e., the first level value corresponding to the first wiring harness is "0", and the second level value corresponding to the second wiring harness is "1". The vehicle control unit then obtains the level control signal "0,1", and according to the level encoding table, determines that the electronic gear requested by the user is "reverse gear", i.e., obtains the user-requested gear information.

[0057] Step S103: The vehicle control unit determines the vehicle's operating gear based on the gear information requested by the user and the first motor's operating information. The first motor's operating information represents the operating status of the vehicle motor after the vehicle control unit responds to the gear information requested by the user.

[0058] For example, the first motor operation information represents the operating state of the vehicle motor after the vehicle control unit responds to the user's request for gear information. That is, the vehicle control unit is driven to electronically switch the vehicle motor according to the user's request for gear information, and then the vehicle control unit obtains the operating state of the vehicle motor, that is, the first motor operation information is obtained; then, by parsing the first motor operation information, the vehicle operating gear can be determined. In one possible implementation, if the vehicle's current operating gear is "Drive", the user's requested gear information is determined to be "Reverse" based on the level control signal "0,1". If the vehicle control unit is driven to switch the electronic gear of the vehicle motor to "Reverse" based on the "Reverse" gear, the vehicle motor's operating state is "Reverse", thus obtaining the first motor operating information info_1. The vehicle control unit then parses the first motor operating information info_1 corresponding to the "Reverse" state to determine that the vehicle's operating gear is "Reverse". If the vehicle control unit is driven to not switch the electronic gear of the vehicle motor to "Reverse" based on the "Reverse" gear, the vehicle motor's operating state remains "Forward", thus obtaining the first motor operating information info_2. The vehicle control unit then parses the first motor operating information info_2 corresponding to the "Forward" state to determine that the vehicle's operating gear is still "Drive".

[0059] Step S104: The vehicle operating gear is converted into the first pulse width modulation duty cycle information through the vehicle control unit.

[0060] For example, pulse width modulation (PWM) duty cycle information is used to indicate the state of a level signal, which includes a high-level state and a low-level state. The PWM duty cycle indicates the ratio of the duration of the high-level state to the duration of the complete data cycle. That is, the PWM duty cycle information includes the duty cycle value corresponding to the PWM duty cycle, as well as the duration of the high-level state, the duration of the low-level state, and the duration of the complete data cycle. By defining the correspondence between the PWM duty cycle and the vehicle's operating gear, the vehicle control unit can convert the vehicle's operating gear into PWM duty cycle information based on the predefined correspondence between the first PWM duty cycle and the vehicle's operating gear. More specifically, the vehicle operating gears include at least a first operating gear and a second operating gear; converting the vehicle operating gears into first pulse width modulation duty cycle information through the vehicle control unit includes: obtaining first gear duty cycle information based on the first operating gear through the vehicle control unit; or, obtaining second gear duty cycle information based on the second operating gear through the vehicle control unit; and obtaining first pulse width modulation duty cycle information based on the first gear duty cycle information or the second gear duty cycle information.

[0061] In one possible implementation, Table 2 is a schematic diagram of the correspondence between the first pulse width modulation duty cycle and the vehicle operating gear. As shown in Table 2, the vehicle operating gears include no request, reverse gear, neutral gear, drive gear, and low gear. According to the correspondence between the first pulse width modulation duty cycle and the vehicle operating gear, if the vehicle operating gear is "reverse gear", the first pulse width modulation duty cycle is obtained by the vehicle control unit when it is between 10% ≤ X < 30%, which is the first pulse width modulation duty cycle information. Here, X is the specific value of the first pulse width modulation duty cycle generated by the vehicle control unit based on the vehicle operating gear.

[0062] Table 2

[0063] First pulse width modulation duty cycle vehicle gear 0≤X<10% No request 10%≤X<30% Reverse gear 30%≤X<50% gap 50%≤X<70% forward gear 70%≤X<100% low gear

[0064] Step S105: The first pulse width modulation duty cycle information is analyzed by the electronic shift unit to obtain the vehicle's operating gear.

[0065] For example, based on the correspondence between the first pulse width modulation (PWM) duty cycle and the vehicle's operating gear as shown in Table 2, the vehicle's operating gear can be determined by analyzing the PWM duty cycle information through the electronic shift unit. More specifically, for example, the first PWM duty cycle information is determined based on the numerical range of the PWM duty cycle as determined by the vehicle control unit. Then, the first PWM duty cycle information is analyzed by the electronic shift unit. That is, based on the correspondence between the first PWM duty cycle and the vehicle's operating gear as shown in Table 2, the vehicle's operating gear is obtained by the electronic shift unit according to the numerical range of the PWM duty cycle. For example, if the PWM duty cycle is between 10% ≤ X < 30%, the vehicle's operating gear is determined to be "reverse gear".

[0066] Furthermore, if the user presses the "forward" gear corresponding to the "electronic shift unit" at the same time as pressing the "brake pedal", the electronic shift unit will transmit the corresponding level control signal "1,1" to the vehicle control unit. The vehicle control unit will then electronically switch the vehicle motor according to the user's requested gear information determined by the level control signal "1,1". Subsequently, the actual operating state of the vehicle motor can be obtained through the vehicle control unit. That is, if the value range of the first pulse width modulation duty cycle determined by the vehicle control unit is 10%≤X<30%, then the vehicle's operating gear is "reverse", and the vehicle will operate according to the actual vehicle operating gear "reverse".

[0067] In this embodiment, the electronic shift control method is applied to an electronic shift system, which includes an electronic shift unit and a vehicle control unit. In response to a first user's shift operation, the electronic shift unit generates a level control signal, which includes a first level value and a second level value. The combined level value formed by the first and second level values ​​characterizes the target electronic gear corresponding to the first user's shift operation. The vehicle control unit acquires the level control signal and obtains the user-requested gear information according to a preset level encoding table. The level encoding table characterizes the mapping relationship between the combined level value and the electronic gear. The user-requested gear information drives the vehicle control unit to electronically switch the vehicle motor. The vehicle control unit determines the vehicle's operating gear based on the user-requested gear information and the first motor's operating information. The first motor's operating information characterizes the vehicle motor's operating state after the vehicle control unit responds to the user-requested gear information. The vehicle control unit converts the vehicle's operating gear into first pulse width modulation duty cycle information. The electronic shift unit parses the first pulse width modulation duty cycle information to obtain the vehicle's operating gear. By using the level signals corresponding to two wire harnesses to form a combined level value, and then determining the level control signal, the problem of wasted pin resources caused by three wire harnesses occupying three pins of the electronic shift unit is solved. Furthermore, by establishing the correspondence between the first pulse width modulation duty cycle and the vehicle's operating gear, the vehicle control unit can transmit the actual vehicle operating gear to the electronic shift unit. This solves the problem of poor anti-interference capability and instability of electrical signals when transmitting the electrical signals corresponding to the actual vehicle operating gear, which is caused by the complexity of the communication logic and physical structure of CAN network communication and the need for corresponding functional programming and network management development based on the vehicle communication architecture.

[0068] Furthermore, the electronic shift unit can also send shift fault information of the electronic shift unit to the vehicle control unit through the pulse width modulation duty cycle signal, and then the vehicle control unit sends the shift fault information to the vehicle display unit to realize feedback of the shift fault information of the electronic shift unit to the user. Figure 3 This is a schematic diagram illustrating the specific steps for transmitting and displaying shift fault information of the electronic shift unit according to an embodiment of this application, as shown below. Figure 3 As shown, the specific steps for transmitting and displaying shift fault information from the electronic shift unit include:

[0069] Step S106: The shift fault information of the electronic shift unit is converted into the second pulse width modulation duty cycle information through the electronic shift unit.

[0070] For example, by defining the correspondence between pulse width modulation duty cycle and shift fault information, the shift fault information of the electronic shift unit can be converted into second pulse width modulation duty cycle information by the electronic shift unit. More specifically, the shift fault information includes at least first fault information and second fault information; converting the shift fault information of the electronic shift unit into second pulse width modulation duty cycle information by the electronic shift unit includes: obtaining first fault duty cycle information by the electronic shift unit based on the first fault information; or, obtaining second fault duty cycle information by the electronic shift unit based on the second fault information; and obtaining second pulse width modulation duty cycle information based on the first fault duty cycle information or the second fault duty cycle information.

[0071] In one possible implementation, Table 3 illustrates the correspondence between the second pulse width modulation duty cycle and the state information of the electronic shift unit. As shown in Table 3, the state information of the electronic shift unit includes: photoelectric switch failure, Hall sensor failure, gear synchronization failure, low power supply voltage to the electronic shift unit, high power supply voltage to the electronic shift unit, and normal / dormant state of the electronic shift unit. Reserved positions are used to establish a new correspondence between the second pulse width modulation duty cycle and the state information of the electronic shift unit. The shifting fault information of the electronic shift unit includes: photoelectric... The faults include switch malfunction, Hall sensor malfunction, gear synchronization failure, low supply voltage to the electronic shift unit, and high supply voltage to the electronic shift unit. Based on the correspondence between the second pulse width modulation duty cycle and shift fault information, if the electronic shift unit detects a high supply voltage from the vehicle's infotainment system to the electronic shift unit, then the second pulse width modulation duty cycle is obtained from the electronic shift unit if it is between 40% ≤ Y < 50%, thus obtaining the second pulse width modulation duty cycle information. Here, Y is the specific value of the pulse width modulation duty cycle generated by the electronic shift unit based on the shift fault information.

[0072] Table 3

[0073] Second pulse width modulation duty cycle Status information of electronic shift unit 0≤Y<10% Photoelectric switch malfunction 10%≤Y<20% Hall sensor failure 20%≤Y<30% Gear synchronization failure 30%≤Y<40% Low power supply voltage to the electronic shift unit 40%≤Y<50% High power supply voltage to the electronic shift unit 50%≤Y<60% Electronic shift unit status: normal / dormant 60%≤Y<100% Reserved space

[0074] In step S107, the second pulse width modulation duty cycle information is analyzed by the vehicle control unit to obtain the shift fault type of the electronic shift unit and display it.

[0075] For example, based on the correspondence between the second pulse width modulation duty cycle and the status information of the electronic shift unit shown in Table 3, the status information of the electronic shift unit can be determined by parsing the second pulse width modulation duty cycle information by the vehicle control unit. In other words, it can be determined whether the electronic shift unit is faulty. If the electronic shift unit is faulty, the shifting fault type of the electronic shift unit can be determined and displayed. More specifically, for example, based on the numerical range of the second pulse width modulation duty cycle determined by the electronic shift unit, the second pulse width modulation duty cycle information is determined. Then, the vehicle control unit parses the second pulse width modulation duty cycle information. That is, based on the correspondence between the second pulse width modulation duty cycle and the state information of the electronic shift unit shown in Table 3, the vehicle control unit determines the state of the electronic shift unit according to the numerical range of the second pulse width modulation duty cycle. That is, if the electronic shift unit has a fault, the shifting fault type of the electronic shift unit can be determined. For example, based on the second pulse width modulation duty cycle being between 40% ≤ Y < 50%, the fault of the electronic shift unit is "high power supply voltage of the vehicle equipment to the electronic shift unit". Then, the vehicle display unit corresponding to the vehicle control unit displays the specific fault information, that is, displays "high power supply voltage of the vehicle equipment to the electronic shift unit".

[0076] In this embodiment, by establishing the correspondence between the second pulse width modulation duty cycle and the state information of the electronic shift unit, the correspondence between the shift fault information of the electronic shift unit and the second pulse width modulation duty cycle is determined. Then, the electronic shift unit converts the shift fault information into second pulse width modulation duty cycle information, so as to display the specific fault information of the electronic shift unit on the vehicle display unit corresponding to the vehicle control unit. This solves the problem of poor anti-interference capability and instability of electrical signals when transmitting the electrical signals corresponding to shift fault information, which is caused by the complexity of the communication logic and physical structure of CAN network communication and the need for corresponding functional programming and network management development according to the vehicle communication architecture.

[0077] Figure 4 A flowchart of an electronic shift control method provided in another embodiment of this application is shown below. Figure 4 As shown, the electronic shift control method provided in this embodiment is... Figure 2 Based on the electronic shift control method provided in the illustrated embodiment, the electronic shift control method provided in this embodiment includes the following steps:

[0078] Step S201: In response to the first user's gear shifting operation, a level control signal is generated through the electronic gear shifting unit. The level control signal includes a first level value and a second level value. The combined level value formed by the first level value and the second level value is used to characterize the target electronic gear corresponding to the first user's gear shifting operation.

[0079] Step S202: Obtain the level control signal through the vehicle control unit, and obtain the user-requested gear information according to the preset level encoding table. The level encoding table is used to characterize the mapping relationship between the combined level value and the electronic gear. The user-requested gear information is used to drive the vehicle control unit to electronically switch the vehicle motor.

[0080] Step S203: The vehicle control unit determines the vehicle's operating gear based on the gear information requested by the user and the first motor's operating information. The first motor's operating information represents the operating status of the vehicle motor after the vehicle control unit responds to the gear information requested by the user.

[0081] Step S204: The vehicle operating gear is converted into the first pulse width modulation duty cycle information through the vehicle control unit.

[0082] Step S205: The vehicle's operating gear is obtained by analyzing the first pulse width modulation duty cycle information through the electronic shift unit.

[0083] In step S206, in response to the second user's gear shifting operation, a forced control signal is generated through the electronic gear shifting unit. The second user's gear shifting operation is a gear shifting operation in which the user actively changes the vehicle's gear position solely through the electronic gear shifting unit during vehicle use.

[0084] For example, during vehicle use, the conventional gear shifting operation involves pressing the brake pedal while simultaneously pressing the corresponding gear position on the electronic shift unit. In unconventional situations, the user can actively change the vehicle's gear simply by pressing the corresponding gear position on the electronic shift unit. Furthermore, to prevent accidental gear changes due to user error, a threshold number of times the corresponding gear position on the electronic shift unit can be set to determine a second user gear shifting operation. Specifically, if the number of times the user presses the corresponding gear position on the electronic shift unit exceeds the preset threshold within a preset time, a second user gear shifting operation is determined. In response to this second user gear shifting operation, the electronic shift unit, using the correspondence between the target electronic gear position and the combined voltage level values ​​shown in Table 1, generates a corresponding forced control signal.

[0085] More specifically, for example, Figure 5 This is an application scenario diagram illustrating the active gear shifting of a vehicle, as provided in an embodiment of this application. Figure 5As shown, while vehicles A and B are waiting at an intersection, user_B in vehicle B notices that vehicle A in front of him is rolling backwards. At this time, within 2 seconds, user_B can obtain a second user shift operation by pressing the "reverse gear" corresponding to the "electronic shift unit" 4 times consecutively. Then, by combining the electronic shift unit with the correspondence between the target electronic gear and the combined level value shown in Table 1, the corresponding forced control signal "0,1" can be generated. The preset threshold for the number of presses is 3.

[0086] Step S207: The vehicle control unit responds to the forced control signal to obtain the forced operation gear and converts the forced operation gear into the first pulse width modulation duty cycle information.

[0087] For example, by responding to the forced control signal through the vehicle control unit and parsing the forced control signal based on the correspondence between the target electronic gear and the combined level value shown in Table 1, the gear information corresponding to the second user's gear shifting operation can be obtained. Then, based on the gear information corresponding to the second user's gear shifting operation, the vehicle control unit is driven to electronically switch the vehicle motor's gear, thus obtaining the forced operating gear. The forced operating gear is then converted into first pulse width modulation duty cycle information, and the process returns to step S205 to determine the vehicle operating gear corresponding to the forced operating gear. In one possible implementation, the forced control signal is "0,1". The vehicle control unit parses the forced control signal "0,1" based on the correspondence shown in Table 1 to obtain the "reverse gear" corresponding to the second user's gear shifting operation. This then drives the vehicle control unit to electronically switch the vehicle motor's gear, thus obtaining the forced operating gear. The forced operating gear is then converted into first pulse width modulation duty cycle information, and the process returns to step S205 to determine the vehicle operating gear "reverse gear" corresponding to the forced operating gear.

[0088] In another possible implementation Figure 6 for Figure 5 The schematic diagram of the specific implementation steps of step S207 in the illustrated embodiment is as follows: Figure 6 As shown, the user request for gear information includes a forced request for gear information. The forced request for gear information indicates the vehicle's gear type after the user actively changes the vehicle's gear solely through the electronic shift unit during vehicle use. The specific implementation steps of step S207 include:

[0089] Step S2071: The vehicle control unit responds to the forced control signal to obtain the user request duration. The user request duration is the cumulative generation duration corresponding to the forced control signal generated by the electronic shift unit when the user actively changes the vehicle's gear position only through the electronic shift unit within a preset time.

[0090] For example, within a preset time period, the electronic shift unit records the time the user actively changes the vehicle's gear solely through the electronic shift unit, thus obtaining the cumulative generation duration corresponding to the forced control signal generated by the electronic shift unit. In other words, the user's request duration is obtained simultaneously with the vehicle control unit responding to the forced control signal. More specifically, for instance, if user_B presses the "reverse" button on the electronic shift unit four times consecutively within 2 seconds, the electronic shift unit generates the corresponding forced control signal "0,1," and obtains a corresponding user request duration of 1.2 seconds, where the preset threshold for the number of presses is 3.

[0091] Step S2072: The vehicle control unit determines the forced request gear information based on the user request duration, the preset request duration, and the level encoding table.

[0092] For example, to prevent users from accidentally changing the vehicle's gear position, a threshold number of times the "electronic shift unit" is pressed is set to determine the second user's gear shifting operation. Further verification of the second user's gear shifting operation is performed using a preset request duration. That is, if the user's request duration is greater than or equal to the preset request duration, it proves that the user has performed a continuous second user gear shifting operation to change the vehicle's current state. Therefore, by combining this with the level encoding table, the forced gear request information can be determined. If the user's request duration is less than the preset request duration, the user may have made a mistake. More specifically, for example, if user_B presses the "reverse" gear corresponding to the "electronic shift unit" four times consecutively, the electronic shift unit generates the corresponding forced control signal "0,1," and the corresponding user request duration is 1.2 seconds. If the preset request duration is 1 second, then based on the fact that the user's request duration of 1.2 seconds is greater than the preset request duration of 1 second, it is determined that the user's operation to actively change the vehicle's gear is not a mistake. Therefore, by combining this with the level encoding table, the forced gear request information can be determined.

[0093] Step S2073: The vehicle control unit obtains the forced operation gear based on the forced request gear information and the second motor operation information. The second motor operation information represents the operating state of the vehicle motor after the vehicle control unit responds to the forced request gear information.

[0094] For example, the second motor operation information represents the operating state of the vehicle motor after the vehicle control unit responds to the forced gear request information. Specifically, the vehicle control unit is driven to electronically switch the vehicle motor's gear according to the forced gear request information, thereby obtaining the vehicle motor's operating state through the vehicle control unit, i.e., obtaining the second motor operation information. Furthermore, by parsing the second motor operation information, the forced operating gear can be obtained by the vehicle control unit. More specifically, as... Figure 5In the scenario shown, the vehicle's current operating gear is "neutral". Based on the forced control signal "0,1", the forced gear request information is determined to be "reverse". If the vehicle control unit drives the vehicle motor's electronic gear to switch to "reverse" based on "reverse", the vehicle motor's operating state will be "reverse", thus obtaining the second motor's operating information. Then, the vehicle control unit analyzes the second motor's operating information corresponding to the "reverse" state to determine that the forced operating gear is "reverse".

[0095] In this embodiment, by generating a forced control signal corresponding to the second user's gear shifting operation, a quick gear shifting method is provided to the user in an emergency. Furthermore, to ensure the reliability of the quick gear shifting method, an operation count threshold and a preset request duration are introduced to verify the second user's gear shifting operation, thereby ensuring user safety.

[0096] In this embodiment, the implementation of steps S201-S205 is the same as that in this application. Figure 2 The implementation methods of steps S101-S105 in the illustrated embodiment are the same, and will not be described in detail here.

[0097] Figure 7 This is a schematic diagram of an electronic shifting system provided in one embodiment of this application, as shown below. Figure 7 As shown, the electronic shift system provided in this embodiment includes an electronic shift unit and a vehicle control unit. The electronic shift unit and the vehicle control unit are connected via a first wiring harness and a second wiring harness, enabling the electronic shift unit to drive the vehicle control unit to change the vehicle's operating gear. A third wiring harness enables the vehicle control unit to transmit the actual vehicle operating gear to the electronic shift unit. A fourth wiring harness enables the electronic shift unit to transmit shift fault information to the vehicle control unit, and the specific fault information is displayed on the vehicle display unit corresponding to the vehicle control unit.

[0098] The electronic shifting system provided in this embodiment can perform the following: Figures 2-6 The technical solutions of any of the method embodiments shown are similar in implementation principle and technical effect, and will not be described again here.

[0099] Figure 8 This is a schematic diagram of the structure of an electronic shift control device provided in one embodiment of this application, as shown below. Figure 8 As shown, the electronic shift control device 3 provided in this embodiment is applied to an electronic shift system. The electronic shift system includes an electronic shift unit and a vehicle control unit, including:

[0100] The first processing module 31 is used to generate a level control signal through the electronic shift unit in response to the first user's shift operation. The level control signal includes a first level value and a second level value. The combined level value composed of the first level value and the second level value is used to characterize the target electronic gear corresponding to the first user's shift operation.

[0101] The second processing module 32 is used to obtain the level control signal through the vehicle control unit and obtain the user-requested gear information according to the preset level encoding table. The level encoding table is used to characterize the mapping relationship between the combined level value and the electronic gear. The user-requested gear information is used to drive the vehicle control unit to perform electronic gear switching on the vehicle motor.

[0102] The second processing module 32 is also used to determine the vehicle operating gear through the vehicle control unit based on the gear information requested by the user and the first motor operating information. The first motor operating information represents the operating status of the vehicle motor after the vehicle control unit responds to the gear information requested by the user.

[0103] The second processing module 32 is also used to convert the vehicle operating gear into the first pulse width modulation duty cycle information through the vehicle control unit;

[0104] The first processing module 31 is also used to analyze the first pulse width modulation duty cycle information through the electronic shift unit to obtain the vehicle's operating gear.

[0105] In one possible implementation, the first processing module 31 is further configured to: convert the shift fault information of the electronic shift unit into second pulse width modulation duty cycle information through the electronic shift unit; parse the second pulse width modulation duty cycle information through the vehicle control unit to obtain the shift fault type of the electronic shift unit and display it.

[0106] In one possible implementation, the shift fault information includes at least first fault information and second fault information; when the first processing module 31 converts the shift fault information of the electronic shift unit into second pulse width modulation duty cycle information through the electronic shift unit, it is specifically used to: obtain first fault duty cycle information through the electronic shift unit based on the first fault information; or, obtain second fault duty cycle information through the electronic shift unit based on the second fault information; and obtain second pulse width modulation duty cycle information based on the first fault duty cycle information or the second fault duty cycle information.

[0107] In one possible implementation, the vehicle operating gears include at least a first operating gear and a second operating gear; when the second processing module 32 converts the vehicle operating gears into first pulse width modulation duty cycle information through the vehicle control unit, it is specifically used to: obtain the first gear duty cycle information through the vehicle control unit based on the first operating gear; or, obtain the second gear duty cycle information through the vehicle control unit based on the second operating gear; and obtain the first pulse width modulation duty cycle information based on the first gear duty cycle information or the second gear duty cycle information.

[0108] In one possible implementation, the first processing module 31 is further configured to: generate a forced control signal through the electronic shift unit in response to the second user's shift operation, wherein the second user's shift operation is a shift operation in which the user actively changes the vehicle's gear position only through the electronic shift unit during the use of the vehicle; and obtain the forced operating gear by responding to the forced control signal through the vehicle control unit.

[0109] In one possible implementation, the user-requested gear information includes forced gear information, which represents the vehicle gear type after the user actively changes the vehicle gear solely through the electronic gear shift unit during vehicle operation. When the second processing module 32 obtains the forced operating gear by responding to the forced control signal through the vehicle control unit, it specifically performs the following: obtaining the user-requested duration by responding to the forced control signal through the vehicle control unit, wherein the user-requested duration is the cumulative generation duration corresponding to the forced control signal generated by the electronic gear shift unit when the user actively changes the vehicle gear solely through the electronic gear shift unit within a preset time; determining the forced gear information through the vehicle control unit based on the user-requested duration, the preset request duration, and the level encoding table; and obtaining the forced operating gear through the vehicle control unit based on the forced gear information and the second motor operation information, where the second motor operation information represents the operating state of the vehicle motor after the vehicle control unit responds to the forced gear information.

[0110] The first processing module 31 and the second processing module 32 are connected. The electronic shift control device 3 provided in this embodiment can perform the following... Figures 2-6 The technical solutions of any of the method embodiments shown are similar in implementation principle and technical effect, and will not be described again here.

[0111] Figure 9 A schematic diagram of an electronic device provided in one embodiment of this application, as shown below. Figure 9 As shown, the electronic device 4 provided in this embodiment includes: a processor 41, and a memory 42 communicatively connected to the processor 41.

[0112] Among them, memory 42 stores computer-executed instructions;

[0113] The processor 41 executes computer execution instructions stored in the memory 42 to implement this application. Figures 2-6 The electronic shift control method provided in any of the corresponding embodiments.

[0114] The memory 42 and the processor 41 are connected via a bus 43.

[0115] For relevant instructions, please refer to the corresponding text. Figures 2-6 The relevant descriptions and effects of the steps in the corresponding embodiments are understood, and will not be elaborated on here.

[0116] One embodiment of this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement this application. Figures 2-6 The electronic shift control method provided in any of the corresponding embodiments.

[0117] The computer-readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0118] One embodiment of this application provides a computer program product, including a computer program that, when executed by a processor, implements this application. Figures 2-6 The electronic shift control method provided in any of the corresponding embodiments.

[0119] Figure 10 This is a block diagram illustrating a terminal device 800, which is an exemplary embodiment of this application. The terminal device 800 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc.

[0120] The terminal device 800 may include one or more of the following components: processing component 802, memory 804, power supply component 806, multimedia component 808, audio component 810, input / output (I / O) interface 812, sensor component 814, and communication component 816.

[0121] Processing component 802 typically controls the overall operation of terminal device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.

[0122] Memory 804 is configured to store various types of data to support operation on terminal device 800. Examples of this data include instructions for any application or method operating on terminal device 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0123] Power supply component 806 provides power to various components of terminal device 800. Power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to terminal device 800.

[0124] Multimedia component 808 includes a screen that provides an output interface between terminal device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When terminal device 800 is in an operating mode, such as a shooting mode or video mode, the front-facing camera and / or rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0125] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when terminal device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.

[0126] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0127] Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of terminal device 800. For example, sensor assembly 814 can detect the on / off state of terminal device 800, the relative positioning of components such as the display and keypad of terminal device 800, changes in the position of terminal device 800 or a component of terminal device 800, the presence or absence of user contact with terminal device 800, the orientation or acceleration / deceleration of terminal device 800, and temperature changes of terminal device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0128] Communication component 816 is configured to facilitate wired or wireless communication between terminal device 800 and other devices. Terminal device 800 can access wireless networks based on communication standards, such as WiFi, 3G, 4G, 5G, or other standard communication networks, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0129] In an exemplary embodiment, the terminal device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the functions described in this application. Figures 2-6 The method provided in any of the corresponding embodiments.

[0130] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, which can be executed by a processor 820 of a terminal device 800 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0131] This application also provides a non-transitory computer-readable storage medium, which, when the instructions in the storage medium are executed by the processor of a terminal device, enables the terminal device 800 to perform the above-described embodiments of this application. Figures 2-6 The method provided in any of the corresponding embodiments.

[0132] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.

[0133] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.

[0134] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. An electronic gear shifting control method, characterized in that, The method, applied to an electronic shift system, which includes an electronic shift unit and a vehicle control unit, comprises: In response to a first user's gear shifting operation, a level control signal is generated by the electronic gear shifting unit. The level control signal includes a first level value and a second level value. The combined level value formed by the first level value and the second level value is used to characterize the target electronic gear corresponding to the first user's gear shifting operation. The vehicle control unit obtains the level control signal and, according to the preset level encoding table, obtains the user-requested gear information. The level encoding table is used to characterize the mapping relationship between the combined level value and the electronic gear. The user-requested gear information is used to drive the vehicle control unit to electronically switch the vehicle motor. The vehicle control unit determines the vehicle's operating gear based on the user-requested gear information and the first motor's operating information. The first motor's operating information represents the operating state of the vehicle motor after the vehicle control unit responds to the user-requested gear information. The vehicle control unit converts the vehicle's operating gear into first pulse width modulation duty cycle information. The vehicle's operating gear is obtained by analyzing the first pulse width modulation duty cycle information through the electronic shift unit.

2. The method according to claim 1, characterized in that, Also includes: The shifting fault information of the electronic shifting unit is converted into second pulse width modulation duty cycle information through the electronic shifting unit. The vehicle control unit parses the second pulse width modulation duty cycle information to obtain the shift fault type of the electronic shift unit and displays it.

3. The method according to claim 2, characterized in that, The shifting fault information includes at least a first fault information and a second fault information; The step of converting the shift fault information of the electronic shift unit into second pulse width modulation duty cycle information through the electronic shift unit includes: The electronic shift unit obtains the first fault duty cycle information based on the first fault information. Alternatively, the electronic shift unit can obtain the second fault duty cycle information based on the second fault information; The second pulse width modulation duty cycle information is obtained based on the first fault duty cycle information or the second fault duty cycle information.

4. The method according to claim 1, characterized in that, The vehicle operating gears include at least a first operating gear and a second operating gear; The step of converting the vehicle's operating gear position into first pulse width modulation duty cycle information through the vehicle control unit includes: The vehicle control unit obtains the duty cycle information of the first gear based on the first operating gear. Alternatively, the vehicle control unit can obtain the duty cycle information of the second gear based on the second operating gear. The first pulse width modulation duty cycle information is obtained based on the first gear duty cycle information or the second gear duty cycle information.

5. The method according to claim 1, characterized in that, Also includes: In response to a second user's gear shifting operation, a forced control signal is generated through the electronic gear shifting unit. The second user's gear shifting operation is a gear shifting operation in which the user actively changes the vehicle's gear position solely through the electronic gear shifting unit during vehicle use. The vehicle control unit responds to the forced control signal to obtain the forced operation gear.

6. The method according to claim 5, characterized in that, The user-requested gear information includes forced gear information, which indicates the type of vehicle gear after the user actively changes the vehicle gear solely through the electronic gear shift unit during vehicle use. The step of obtaining the forced operation gear by responding to the forced control signal through the vehicle control unit includes: The vehicle control unit responds to the forced control signal to obtain the user request duration, wherein the user request duration is the cumulative generation duration corresponding to the forced control signal generated by the electronic shift unit when the user actively changes the vehicle's gear position only through the electronic shift unit within a preset time. The vehicle control unit determines the forced request gear information based on the user request duration, the preset request duration, and the level encoding table. The vehicle control unit obtains the forced operation gear based on the forced gear request information and the second motor operation information. The second motor operation information represents the operating state of the vehicle motor after the vehicle control unit responds to the forced gear request information.

7. An electronic shift control device, characterized in that, Applied to an electronic shift system, the electronic shift system including an electronic shift unit and a vehicle control unit, the device includes: The first processing module is configured to generate a level control signal through the electronic shift unit in response to a first user shift operation. The level control signal includes a first level value and a second level value. The combined level value formed by the first level value and the second level value is used to characterize the target electronic gear corresponding to the first user shift operation. The second processing module is used to obtain the level control signal through the vehicle control unit and obtain the user-requested gear information according to the preset level encoding table. The level encoding table is used to characterize the mapping relationship between the combined level value and the electronic gear. The user-requested gear information is used to drive the vehicle control unit to perform electronic gear switching on the vehicle motor. The second processing module is further configured to determine the vehicle operating gear through the vehicle control unit based on the user-requested gear information and the first motor operating information, wherein the first motor operating information represents the operating state of the vehicle motor after the vehicle control unit responds to the user-requested gear information. The second processing module is further configured to convert the vehicle operating gear into first pulse width modulation duty cycle information through the vehicle control unit; The first processing module is further configured to parse the first pulse width modulation duty cycle information through the electronic shift unit to obtain the vehicle's operating gear.

8. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the electronic shift control method as described in any one of claims 1 to 6.

10. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the electronic shift control method according to any one of claims 1 to 6.