State control method and device, equipment, storage medium and computer program product
By delaying the withdrawal of the high-voltage mark and maintaining time control, the problem of instability of high-voltage appliances and loss of low-voltage batteries in the high-voltage activation state is solved, precise control of the high-voltage activation state is achieved, and the safety and energy efficiency of the system are improved.
Patent Information
- Application Number
- CN202410802447.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-08-27
AI Technical Summary
The existing technology cannot achieve precise control of the high-voltage activation state, resulting in unstable operation of high-voltage electrical appliances, loss of low-voltage batteries and waste of energy consumption, which reduces the safety of the system.
By delaying the exit of the high-voltage mark and the maintenance time control of the high-voltage activation state, precise control of the high-voltage activation state is achieved, ensuring that the high-voltage state is exited in time when conditions are met, and energy consumption is reduced.
It improves the safety of the system and the stability of high-voltage electrical appliances, and reduces waste of energy consumption and loss of low-voltage batteries.
Smart Images

Figure CN118544820A
Abstract
Description
Technical Field
[0001] The present application relates to the field of new energy vehicle technology, and in particular to a state control method, device, equipment, storage medium and computer program product. Background Art
[0002] As the level of automobile intelligence continues to improve, the functions required by vehicles are becoming more and more diverse. Many functions on vehicles (such as remote air conditioning, small battery smart charging, air-drop component upgrade, etc.) require the entire vehicle to enter a high-voltage activation state to execute.
[0003] After the whole vehicle enters the high-voltage activation state, if the various functions in the vehicle have no demand for the high-voltage activation state, it will often directly exit the high-voltage activation state. However, at this time, the vehicle often still has high-voltage electrical appliances in operation. Providing power to these high-voltage electrical appliances through low-voltage batteries may cause problems such as unstable operation of these high-voltage electrical appliances and loss of low-voltage batteries, thereby reducing the safety of the system. On the other hand, damage to high-voltage electrical appliances and other reasons may also lead to the inability to exit the high-voltage activation state in time after entering the high-voltage activation state, which not only causes energy waste, but also reduces the safety of the system.
[0004] In summary, common technologies cannot achieve precise control of the high-voltage activation state, which reduces the safety of the system. Summary of the invention
[0005] The embodiments of the present application provide a state control method, apparatus, device, storage medium and computer program product, which can achieve precise control of the high-voltage activation state and improve the safety of the system.
[0006] The technical solution of the embodiment of the present application is implemented as follows:
[0007] In a first aspect, an embodiment of the present application provides a state control method, comprising: in response to an acquired state control request, determining a prohibition of high voltage flag according to the state control request; when the prohibition of high voltage flag indicates that entry into a high voltage activation state is allowed, determining a holding time; wherein the holding time is the time for maintaining the high voltage activation state; when the holding time does not meet a holding condition, determining a delayed exit of the high voltage flag; and controlling the high voltage activation state according to the delayed exit of the high voltage flag.
[0008] In the embodiment of the present application, on the one hand, the high voltage activation state is controlled by setting a delayed exit high voltage mark, which solves the problem of unstable operation of high voltage electrical appliances and loss of low voltage batteries caused by directly exiting the high voltage activation state; on the other hand, by determining the holding time of the high voltage activation state, the high voltage activation state can be controlled according to the holding time, so that the high voltage activation state can be exited in time under the condition of meeting the holding time, reducing the energy consumption of high voltage electrical appliances. In other words, the state control method proposed in the present application realizes precise control of the high voltage activation state according to the delayed exit high voltage mark and the holding time, thereby improving the safety of the system.
[0009] In some embodiments, the method further includes: maintaining the high-voltage activation state when the holding time satisfies the holding condition.
[0010] In the above embodiment, the high voltage activation state is controlled according to the holding time, which reduces the situation where the high voltage activation state cannot be exited due to reasons such as failure of the requesting party, reduces the energy consumption of high voltage electrical appliances, and improves the safety of the system.
[0011] In some embodiments, the controlling of the high-voltage activation state according to the delayed high-voltage exit mark includes: maintaining the high-voltage activation state when the delayed high-voltage exit mark indicates that the high-voltage activation state is extended; and exiting the high-voltage activation state when the delayed high-voltage exit mark indicates that the high-voltage activation state is not extended.
[0012] In the above embodiment, when the delayed exit high voltage mark indicates that the high voltage activation state is extended, the high voltage activation state is maintained, thereby reducing the situation where directly exiting the high voltage activation state causes unstable operation of high voltage electrical appliances and loss of low voltage batteries.
[0013] In some embodiments, the status control request includes a status control request corresponding to a requester flag, and the method further includes: performing a legitimacy check on the requester flag to obtain a check result; if the check result is a check failure, skipping the status control request corresponding to the requester flag.
[0014] In the above embodiment, the requester flag of the state control request is verified for legitimacy, which not only improves the security of the system, but also reduces the waste of resources caused by processing state control requests that fail the verification.
[0015] In some embodiments, the state control request includes a request to cancel prohibition of high-voltage activation in the current control cycle, and determining the prohibition of high-voltage flag based on the state control request includes: determining the cancel prohibition of high-voltage flag; when the cancel prohibition of high-voltage flag indicates that entry into the high-voltage activation state is allowed, determining the first requester flag corresponding to the prohibition of high-voltage activation request in the previous control cycle, and the second requester flag corresponding to the cancel prohibition of high-voltage activation request in the current control cycle; determining the prohibition of high-voltage flag based on the first requester flag and the second requester flag.
[0016] In the above embodiment, the prohibition of high voltage flag is determined based on the first requester flag corresponding to the prohibition of high voltage activation request in the previous control cycle and the second requester flag corresponding to the cancel prohibition of high voltage activation request in the current control cycle, thereby reducing the situation where the state control requests cannot be arranged when conflicts occur.
[0017] In some embodiments, determining the prohibit high voltage flag based on the first requester flag and the second requester flag includes: when the priority of the first requester flag is higher than the priority of the second requester flag, determining that the prohibit high voltage flag indicates that entering the high voltage activation state is prohibited; when the priority of the second requester flag is higher than the priority of the first requester flag, determining that the prohibit high voltage flag indicates that entering the high voltage activation state is allowed.
[0018] In the above embodiment, the priorities of the first requester flag and the second requester flag determine the prohibition of high voltage flag, so that the state control request with higher priority can be responded to first, thereby improving the decision quality and efficiency when conflicts occur among the state control requests.
[0019] In some embodiments, the sleep flag is determined based on the working current of each specific control component or the number of messages of each specific network segment; wherein the specific control component is a control component other than the control component used to control the high-voltage activation state, and the specific network segment is a network segment corresponding to the specific controller; when the sleep flag indicates entering the sleep state, it is determined that the delayed exit high-voltage flag indicates not to extend the high-voltage activation state; when the sleep flag indicates not entering the sleep state, it is determined that the delayed exit high-voltage flag indicates to extend the high-voltage activation state.
[0020] In the above embodiment, the delayed exit of the high-voltage mark is determined according to the sleep mark. When the sleep mark indicates that the sleep state has not been entered, the delayed exit of the high-voltage mark indicates that the high-voltage activation state is extended, thereby reducing the situation where the high-voltage electrical appliances are unstable and the low-voltage battery is damaged due to the direct exit of the high-voltage activation state in the non-sleep state; when the sleep mark indicates that the sleep state has been entered, the delayed exit of the high-voltage mark indicates that the high-voltage activation state is not extended, thereby reducing the situation where the high-voltage activation state is maintained in the sleep state and energy waste is caused.
[0021] In some embodiments, determining the sleep flag based on the working current of each specific control component or the number of messages in each specific network segment includes: when the working current of each specific control component satisfies the first preset condition and the number of messages in each specific network segment satisfies the second preset condition, determining that the sleep flag indicates entering the sleep state; when the working current of each specific control component does not satisfy the first preset condition and the number of messages in each specific network segment does not satisfy the second preset condition, determining that the sleep flag indicates not entering the sleep state.
[0022] In the above embodiment, the sleep flag is determined according to the working current of the specific control component and the number of messages in the specific network segment, thereby improving the accuracy of the sleep flag.
[0023] In some embodiments, the method further includes: when the prohibition high voltage mark indicates that entering the high voltage activation state is not allowed, setting the holding time to a first value; when entering the high voltage activation state, setting the holding time to a second value.
[0024] In the above embodiment, when entering the high voltage activation state and the high voltage prohibition mark indicates that entering the high voltage activation state is not allowed, a corresponding holding time is set to control the high voltage activation state according to the holding time, thereby improving the control convenience and accuracy of the high voltage activation state.
[0025] In some embodiments, the method further includes: when the delayed exit high voltage flag indicates that the high voltage activation state is extended, setting the holding time to a third value.
[0026] In the above embodiment, when the delayed exit high voltage mark indicates that the high voltage activation state is extended, the holding time is set, so that the high voltage activation state is extended by setting the holding time, which improves the convenience of extending the high voltage activation state.
[0027] In some embodiments, the state control request includes a request to enter a high voltage activation state, and the method further includes: if the prohibition high voltage flag indicates that entering a high voltage activation state is not allowed, skipping the request to enter a high voltage activation state.
[0028] In the above embodiment, when the prohibition high voltage flag indicates that entering the high voltage activation state is not allowed, the high voltage activation request is skipped, thereby reducing the waste of resources caused by processing invalid requests.
[0029] In some embodiments, the method further includes: when the prohibition of high voltage flag indicates that entry into the high voltage activation state is allowed, determining a request time corresponding to the request to enter the high voltage activation state; when the request time is less than or equal to the holding time, skipping the request to enter the high voltage activation state; when the request time is greater than the holding time, entering the high voltage activation state and resetting the holding time.
[0030] In the above embodiment, whether it is necessary to re-enter the high-voltage activation state is determined based on the request time and holding time corresponding to the high-voltage activation request. If there is no need to re-enter the high-voltage activation state, the high-voltage activation request is skipped, thereby reducing the waste of resources caused by processing invalid requests.
[0031] In some embodiments, the method further includes: acquiring a vehicle state; and determining, when the vehicle state satisfies a high voltage prohibition condition, that the high voltage prohibition mark indicates prohibition of entering the high voltage activation state.
[0032] In the above embodiment, the prohibition of high voltage flag is determined according to the vehicle state to prohibit entering the high voltage activation state when the vehicle state meets the prohibition of high voltage condition, thereby improving the accuracy of controlling the high voltage activation state through the prohibition of high voltage flag.
[0033] In a second aspect, an embodiment of the present application provides a state control device, including:
[0034] A determination unit, configured to respond to the acquired state control request and determine a prohibition high voltage mark according to the state control request; determine a holding time when the prohibition high voltage mark indicates that entry into the high voltage activation state is allowed; wherein the holding time is the time for maintaining the high voltage activation state; and determine a delayed exit high voltage mark when the holding time does not meet the holding condition;
[0035] A control unit is used to control the high voltage activation state according to the delayed high voltage exit mark.
[0036] In a third aspect, an embodiment of the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements any of the above-described state control methods when executing the computer program.
[0037] In a fourth aspect, an embodiment of the present application further provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the state control method described in any one of the above items is implemented.
[0038] In a fifth aspect, an embodiment of the present application further provides a computer program product, including a computer program, which implements any of the above state control methods when executed by a processor.
[0039] In the embodiment of the present application, on the one hand, the high voltage activation state is controlled by setting a delayed exit high voltage mark, which solves the problem of unstable operation of high voltage electrical appliances and loss of low voltage batteries caused by directly exiting the high voltage activation state; on the other hand, by determining the holding time of the high voltage activation state, the high voltage activation state can be controlled according to the holding time, so that the high voltage activation state can be exited in time under the condition of meeting the holding time, reducing the energy consumption of high voltage electrical appliances. In other words, the state control method proposed in the present application realizes precise control of the high voltage activation state according to the delayed exit high voltage mark and the holding time, thereby improving the safety of the system.
[0040] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings are embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application.
[0042] Figure 1 A schematic diagram of the state control system architecture provided in an embodiment of the present application;
[0043] Figure 2A A schematic diagram of a state control scenario provided in an embodiment of the present application;
[0044] Figure 2B A schematic diagram of input and output parameters of a high voltage activation request interface provided in an embodiment of the present application;
[0045] Figure 3 A schematic diagram of the implementation process of a state control method provided in an embodiment of the present application Figure 1 ;
[0046] Figure 4 A second schematic diagram of an implementation flow of a state control method provided in an embodiment of the present application;
[0047] Figure 5 A schematic diagram of a requester logo provided in an embodiment of the present application;
[0048] Figure 6A schematic diagram of the implementation process of a state control method provided in an embodiment of the present application Figure 3 ;
[0049] Figure 7 A schematic diagram of the implementation process of a state control method provided in an embodiment of the present application Figure 4 ;
[0050] Fig. 8A A method for determining a sleep flag provided in an embodiment of the present application Figure 1 ;
[0051] Figure 8B A second schematic diagram of determining a sleep flag provided in an embodiment of the present application;
[0052] Fig. 9 A schematic diagram of the implementation process of a state control method provided in an embodiment of the present application Figure 5 ;
[0053] Fig.10 A schematic diagram of a target high voltage state arbitration module provided in an embodiment of the present application;
[0054] Fig.11 A schematic diagram of an implementation flow of determining a prohibition of high voltage sign provided in an embodiment of the present application;
[0055] Fig.12 A schematic diagram of the implementation process of a state control method provided in an embodiment of the present application Figure 6 ;
[0056] Fig.13 A schematic diagram of an implementation process of determining a sleep flag provided in an embodiment of the present application;
[0057] Fig.14 A schematic diagram of an implementation flow of determining a holding time provided in an embodiment of the present application;
[0058] Fig.15 A schematic diagram of a mechanism for performing state control based on holding time provided in an embodiment of the present application;
[0059] Fig.16 A schematic diagram of an implementation flow of determining a delayed exit high voltage mark provided in an embodiment of the present application;
[0060] Fig.17 A schematic diagram of a state control device provided in an embodiment of the present application;
[0061] Fig.18 A hardware entity diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0062] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0063] It should be understood that the "embodiment of the present application" or "the aforementioned embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in the embodiment of the present application" or "in the aforementioned embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. In the various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The above-mentioned sequence numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments.
[0064] In addition, the accompanying drawings are only schematic illustrations of embodiments of the present application and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and thus their repeated descriptions will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0065] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit the present disclosure. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0066] It should be understood that although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0067] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing this application and are not intended to limit this application.
[0068] As the level of automobile intelligence continues to improve, the functions required by vehicles are becoming more and more diverse. Many functions on vehicles (such as remote air conditioning, small battery smart charging, air-drop component upgrade, etc.) require the entire vehicle to enter a high-voltage activation state to execute.
[0069] After the vehicle enters the high-voltage activation state, if the various functions in the vehicle have no demand for the high-voltage activation state, it will often directly exit the high-voltage activation state. However, at this time, the vehicle often still has high-voltage electrical appliances in operation. Providing power to these high-voltage electrical appliances through a low-voltage battery may cause problems such as unstable operation of these high-voltage electrical appliances and loss of the low-voltage battery.
[0070] Based on the above problems, the embodiment of the present application proposes a state control method. On the one hand, the high-voltage activation state is controlled by setting a delayed exit high-voltage mark, which solves the problem of unstable operation of high-voltage electrical appliances and loss of low-voltage batteries caused by directly exiting the high-voltage activation state; on the other hand, by determining the holding time of the high-voltage activation state, the high-voltage activation state can be controlled according to the holding time, so that the high-voltage activation state can be exited in time under the condition of meeting the holding time, reducing the energy consumption of high-voltage electrical appliances. In other words, the state control method proposed in the present application realizes precise control of the high-voltage activation state according to the delayed exit high-voltage mark and the holding time, thereby improving the safety of the system.
[0071] Figure 1 This is a schematic diagram of the state control system architecture provided in the embodiment of the present application. Figure 1 As shown, the state control system 100 for implementing the state control method provided by the embodiment of the present application includes a high-voltage activation request interface 101, a target high-voltage state arbitration module 102 and a high-voltage upper and lower electrical component control module 103. Among them, the high-voltage activation request interface 101 is used to receive the state control request of the requester, and the state control request includes entering the high-voltage activation request, prohibiting the high-voltage activation request and canceling the prohibition of the high-voltage activation request. The target high-voltage state arbitration module 102 is used to determine the target high-voltage state request according to the state control request received by the high-voltage activation request interface 101, and send the target high-voltage state request to the high-voltage upper and lower electrical component control module 103, wherein the target high-voltage state request is determined from entering the high-voltage activation request, prohibiting the high-voltage activation request and canceling the prohibition of the high-voltage activation request. The high-voltage upper and lower electrical component control module 103 is used to realize the control of the high-voltage activation state according to the target high-voltage state request.
[0072] The state control method in the embodiment of the present application can be applied to the state control device or the state control system 100, or to a hardware device or system equipped with the state control device or the state control system 100. In the implementation process of the state control method in the embodiment of the present application, the state control device can be a processor of a computer device, and the state control system 100 can be a controller, which is not specifically limited in the present application. In the computer device, it can be a server, a laptop, a tablet computer, a desktop computer, a mobile device (such as a mobile phone, a personal digital assistant, a portable game device) and other devices with data processing capabilities, and the controller can be a controller in the field of automation, which can realize automatic control by executing complex algorithms.
[0073] The following will Figure 1 The state control system 100 in the embodiment of the present application is taken as an example of the execution subject to illustrate the state control method in the embodiment of the present application. It can be understood that the execution subject here is only exemplary, and the embodiment of the present application does not impose any special restrictions on the execution subject.
[0074] Figure 2A This is a schematic diagram of a state control scenario provided in an embodiment of the present application. Figure 2A As shown, taking the state control system 100 as a controller as an example, the state control system 100 may include a requester. In some embodiments, the high voltage activation request interface 101 is open to each requester as an application programming interface (Application Programming Interface, API), and each requester can enter parameters through the high voltage activation request interface 101 to control the high voltage activation state according to needs and obtain the high voltage activation state after control and the reason for not being able to enter the high voltage activation state.
[0075] like Figure 2B As shown, the input parameters of the requester to the high-voltage activation request interface 101 may include a requester flag M101 and a state control request M102. Among them, the requester flag M101 can be represented by a hexadecimal value of 0x0000 to 0xFFFF, and the state control request M102 includes entering a high-voltage activation request, prohibiting a high-voltage activation request, and canceling a prohibition of a high-voltage activation request. The output parameters of the high-voltage activation request interface 101 to the requester may include high-voltage activation state feedback M103, prohibiting high-voltage flag M104, and high-voltage activation holding time M105. Among them, the high-voltage activation state feedback M103 includes high-voltage activation and high-voltage inactivation, the prohibition of high-voltage flag M104 includes whether high-voltage activation is prohibited and the prohibition reason, and the high-voltage activation holding time M105 can be represented by a hexadecimal value of 0x00 to 0x0A.
[0076] After the high-voltage activation request interface 101 receives the input parameters of the requester, the received parameters can be input into the target high-voltage state arbitration module 102, and the feedback parameters output by the target high-voltage state arbitration module 102 can be received. After receiving the parameters, the target high-voltage state arbitration module 102 determines the target high-voltage state request after judgment and arbitration, and sends the target high-voltage state request to the high-voltage upper and lower electric component control module 103. The high-voltage upper and lower electric component control module 103 controls the state of the high-voltage upper and lower electric related components according to the target high-voltage state request to adjust the high-voltage activation state according to the target high-voltage state request. After the high-voltage upper and lower electric related components feed back the adjusted high-voltage activation state to the high-voltage upper and lower electric component control module 103, the high-voltage upper and lower electric component control module 103 outputs the target high-voltage state and fault judgment to the target high-voltage state arbitration module 102, and the target high-voltage state arbitration module 102 determines the feedback parameters according to the received target high-voltage state and fault judgment, and sends the feedback parameters to the high-voltage activation request interface 101, and the high-voltage activation request interface 101 outputs the parameters to the requester according to the feedback parameters.
[0077] Figure 3 A schematic diagram of the implementation process of a state control method provided in an embodiment of the present application Figure 1 .like Figure 3 As shown, the state control method at least includes steps S301 to S304.
[0078] Step S301: In response to an acquired state control request, a prohibition high voltage flag is determined according to the state control request.
[0079] Here, the state control request is a request for controlling the high voltage activation state, including a request to enter the high voltage activation, a request to inhibit the high voltage activation, and a request to cancel the request to inhibit the high voltage activation.
[0080] The prohibition high voltage mark is a mark used to indicate that the high voltage activation state is allowed or not allowed. In some embodiments, the state of the prohibition high voltage mark can be marked by a numerical value or other representations to determine whether the prohibition high voltage mark is valid. When the prohibition high voltage mark is valid, the prohibition high voltage mark indicates that the high voltage activation state is not allowed; when the prohibition high voltage mark is invalid, the prohibition high voltage mark indicates that the high voltage activation state is allowed. For example, the prohibition high voltage mark can be marked as invalid by a numerical value 0, and the prohibition high voltage mark can be marked as valid by a numerical value 1. When the prohibition high voltage mark is updated from invalid to valid, the prohibition high voltage mark is assigned a numerical value of 1.
[0081] In some embodiments, in response to the acquired state control request, a prohibition high voltage flag in the current control cycle is determined according to the state control request. If the state control request is a prohibition high voltage activation request, the prohibition high voltage flag in the current control cycle indicates that entering the high voltage activation state is not allowed.
[0082] like Figure 4 As shown, in the case where the state control request is a request to cancel the prohibition of high voltage activation, the prohibition of high voltage flag can be determined through steps S401 to S403.
[0083] Step S401, determine to cancel the prohibition of high voltage mark.
[0084] Here, the cancellation of the prohibition of high voltage mark may indicate that the entry into the high voltage activation state is allowed or not allowed. In some embodiments, the state of the cancellation of the prohibition of high voltage mark may be marked by a numerical value or other representation to determine whether the cancellation of the prohibition of high voltage mark is valid by a numerical value or other representation. If the cancellation of the prohibition of high voltage mark is valid, the cancellation of the prohibition of high voltage mark indicates that the entry into the high voltage activation state is allowed; if the cancellation of the prohibition of high voltage mark is invalid, the cancellation of the prohibition of high voltage mark indicates that the entry into the high voltage activation state is not allowed.
[0085] In some embodiments, whether the cancellation of the prohibition of high voltage sign is effective can be determined by canceling the sign of the prohibition of high voltage sign, or whether the cancellation of the prohibition of high voltage sign indicates allowing entry into the high voltage activation state or not allowing entry into the high voltage activation state can be determined based on other prompts of canceling the prohibition of high voltage sign.
[0086] Step S402: when the high voltage activation state is allowed by canceling the prohibition flag, determine the first requester flag corresponding to the prohibition request for high voltage activation in the previous control cycle and the second requester flag corresponding to the cancel prohibition request for high voltage activation in the current control cycle.
[0087] Here, the requester identifier is the identifier of the requester corresponding to the request, and may be the identifier (Identity document, ID) of the requester.
[0088] The first requester flag is a flag of the requester corresponding to the prohibition of high voltage activation request in the previous control cycle.
[0089] The second requester flag is a flag of the requester corresponding to the cancel prohibition high voltage activation request in the current control cycle.
[0090] When the cancellation of the prohibition of high voltage flag indicates that entry into the high voltage activation state is allowed, the first requester flag corresponding to the prohibition of high voltage activation request in the previous control cycle and the second requester flag corresponding to the cancellation of the prohibition of high voltage activation request in the current control cycle are determined.
[0091] Step S403: Determine a prohibition high voltage flag according to the first requester flag and the second requester flag.
[0092] In some embodiments, the prohibit high voltage flag may be determined according to a first requester flag corresponding to a prohibit high voltage activation request in a previous control cycle and a second requester flag corresponding to a cancel prohibit high voltage activation request in a current control cycle.
[0093] In some embodiments, when the priority of the first requester flag is higher than the priority of the second requester flag, it is determined that the prohibition of high voltage flag indicates prohibition of entering the high voltage activation state; when the priority of the second requester flag is higher than the priority of the first requester flag, it is determined that the prohibition of high voltage flag indicates permission to enter the high voltage activation state.
[0094] When the priority of the first requester flag is higher than the priority of the second requester flag, the priority of the prohibit high-voltage activation request in the previous control cycle is higher than the cancel prohibit high-voltage activation request in the current control cycle. Therefore, the prohibit high-voltage flag indicates that entering the high-voltage activation state is prohibited based on the prohibit high-voltage activation request in the previous control cycle.
[0095] When the priority of the second requester flag is higher than that of the first requester flag, the priority of the cancel prohibition of high-voltage activation request in the current control cycle is higher than the prohibition of high-voltage activation request in the previous control cycle. Therefore, the prohibition of high-voltage flag indication is determined to allow entry into the high-voltage activation state based on the cancel prohibition of high-voltage activation request in the current control cycle.
[0096] For example, the requester flag is a four-digit hexadecimal value. Figure 5 As shown, the four hexadecimal values are the first, second, third and fourth bits from low to high. The third bit can be used as the requester flag priority comparison bit. The smaller the value of the third bit, the higher the corresponding requester flag priority. The fourth bit can be used as the identification bit of the control component to which the requester belongs, and different control components can be corresponded by hexadecimal values 0 to F.
[0097] Step S302: when the high voltage prohibition mark indicates that entering the high voltage activation state is allowed, determine a holding time; wherein the holding time is a time for maintaining the high voltage activation state.
[0098] Here, the holding time can be represented by a decimal value of 0 to 10 or a hexadecimal value of 0x00 to 0x0A, and the unit can be minutes. The holding time can also be represented by other numerical values and units according to actual conditions. In the case where the holding time is a hexadecimal value and the unit is minutes, the holding time can be represented by the decimal value corresponding to the hexadecimal value in minutes. For example, if the holding time is a hexadecimal value of 0x0A and the unit is minutes, and the corresponding decimal value is 10, then the hexadecimal value 0x0A indicates that the holding time is 10 minutes.
[0099] In some embodiments, when the high voltage disable flag indicates that entering the high voltage activation state is allowed, the holding time is determined.
[0100] In some embodiments, when the high voltage prohibition mark indicates that entering the high voltage activation state is not allowed, the holding time is set to a first value; when entering the high voltage activation state, the holding time is set to a second value.
[0101] Here, the first value may be a decimal value 0 or a hexadecimal value 0x00, and the second value may be a decimal value 10 or a hexadecimal value 0x0A.
[0102] In some embodiments, when the high-voltage prohibition sign indicates that entering the high-voltage activation state is not allowed, the holding time is set to a first value, indicating that the holding time of the current high-voltage activation state is the first value; when entering the high-voltage activation state, the holding time is set to a second value, indicating that the holding time of the current high-voltage activation state is the second value.
[0103] After entering the high-voltage activation state, the holding time gradually decreases from the second value to the first value. For example, when the holding time unit is minutes, the first value is a decimal value of 0, and the second value is a decimal value of 10, when entering the high-voltage activation state, the holding time is 10 minutes, and the remaining holding time will be updated in real time. After entering the high-voltage activation state for 1 minute, the holding time is 9 minutes. In the process of maintaining the high-voltage activation state, the holding time gradually decreases, and finally the holding time is reduced to 0 minutes.
[0104] In some embodiments, when the delayed exit high voltage flag indicates that the high voltage activation state is prolonged, the holding time is set to a third value.
[0105] Here, the third value may be a value greater than the decimal value 0 or the hexadecimal value 0x00, for example, it may be the decimal value 3 or the decimal value 10. The third value may be set according to actual needs, and this application does not make any specific limitation on this.
[0106] In some embodiments, when the delayed exit high voltage flag indicates that the high voltage activation state is extended, the holding time can be set to a third value to extend the holding time of the high voltage activation state. It is understandable that the third value should be greater than the current value corresponding to the holding time. Taking the current holding time as a decimal value of 0 as an example, the third value should be greater than the decimal value of 0, so as to increase the holding time by setting the holding time to the third value, thereby extending the high voltage activation state.
[0107] Step S303: when the holding time does not satisfy the holding condition, determine the delayed exit high voltage mark.
[0108] Here, the holding condition is a condition for maintaining the high voltage activation state. Taking the holding time represented by a decimal value as an example, the holding condition may be that the holding time is greater than the decimal value 0.
[0109] In some embodiments, when the holding time does not satisfy the holding condition, for example, when the holding time is a decimal value of 0, it can be determined whether to extend the high voltage activation state according to the delayed exit high voltage flag.
[0110] In some embodiments, a delay fallback time can be set. When the delayed exit of the high-voltage sign indicates that the high-voltage activation state is extended for a long time, it is determined after the delay fallback time that the delayed exit of the high-voltage sign indicates that the high-voltage activation state will not be extended, so as to avoid the high-voltage activation state being extended for too long due to system failures and other problems, thereby affecting the safety of the system.
[0111] In some embodiments, the high voltage activation state is maintained when the holding time satisfies the holding condition.
[0112] For example, taking the holding condition as the holding time being greater than the decimal value 0, when the holding time is greater than the decimal value 0, it indicates that the holding time of the high voltage activation state is greater than the decimal value 0, and thus the high voltage activation state is maintained.
[0113] When the holding time is a decimal value of 0, it indicates that the holding time of the high voltage activation state is a decimal value of 0, and the high voltage activation state needs to be exited. The delayed exit high voltage flag can be determined to determine whether to extend the high voltage activation state according to the delayed exit high voltage flag.
[0114] Step S304: Control the high voltage activation state according to the delayed exit high voltage flag.
[0115] In some embodiments, when the delayed exit high voltage mark indicates that the high voltage activation state is extended, the high voltage activation state is maintained; when the delayed exit high voltage mark indicates that the high voltage activation state is not extended, the high voltage activation state is exited.
[0116] After determining the delayed exit high voltage mark, if the delayed exit high voltage mark indicates extending the high voltage activation state, the indication is to extend the holding time of the high voltage activation state, and the high voltage activation state is maintained; if the delayed exit high voltage mark indicates not to extend the high voltage activation state, the indication is not to extend the holding time of the high voltage activation state, because the holding time no longer meets the holding conditions at this time, the high voltage activation state is exited.
[0117] In the embodiment of the present application, on the one hand, the high voltage activation state is controlled by setting a delayed exit high voltage mark, which solves the problem of unstable operation of high voltage electrical appliances and loss of low voltage batteries caused by directly exiting the high voltage activation state; on the other hand, by determining the holding time of the high voltage activation state, the high voltage activation state can be controlled according to the holding time, so that the high voltage activation state can be exited in time under the condition of meeting the holding time, reducing the energy consumption of high voltage electrical appliances. In other words, the state control method proposed in the present application realizes precise control of the high voltage activation state according to the delayed exit high voltage mark and the holding time, thereby improving the safety of the system.
[0118] Figure 6 A schematic diagram of the implementation process of a state control method provided in an embodiment of the present application Figure 3 .like Figure 6 As shown, the state control request includes a state control request corresponding to the requester flag, and the state control method further includes steps S601 to S602.
[0119] Step S601: perform a validity check on the requester's flag to obtain a check result.
[0120] Here, the requester identifier is the identifier of the requester corresponding to the request, which may be the identifier of the requester (Identity document, ID), such as Figure 5 As shown, the requestor flag can be a four-digit hexadecimal value.
[0121] In some embodiments, after receiving the state control request, the requester flag corresponding to the state control request may be checked for legitimacy. Figure 5 As shown in the figure, the four hexadecimal values are the first, second, third and fourth digits from low to high. The first and second digits can be used as input parameter check digits. When the sum of the decimal values corresponding to the first and second digits can be divided by the decimal value 5, the check result of the requester flag is successful, that is, the requester flag has passed the legality check.
[0122] Step S602: When the verification result is a verification failure, skip the state control request corresponding to the requester flag.
[0123] Taking the first and second bits as the input parameter check bits as an example, when the sum of the decimal values corresponding to the first and second bits cannot be divided by the decimal value 5, the check result of the requester flag is a check failure, and the status control request corresponding to the requester flag is skipped, that is, the status control request corresponding to the requester flag is ignored.
[0124] In the above embodiment, the requester flag of the state control request is verified for legitimacy, which not only improves the security of the system, but also reduces the waste of resources caused by processing state control requests that fail the verification.
[0125] Figure 7 A schematic diagram of the implementation process of a state control method provided in an embodiment of the present application Figure 4 .like Figure 7 As shown, the delayed exit high voltage mark can be determined through steps S701 to S703.
[0126] Step S701, determining a sleep flag according to the working current of each specific control component or the number of messages of each specific network segment; wherein the specific control component is a control component other than the control component for controlling the high voltage activation state, and the specific network segment is a network segment corresponding to the specific controller.
[0127] Here, the control component may be a controller. The sleep flag may indicate entering a sleep state or not entering a sleep state.
[0128] In some embodiments, the high-voltage activation state can be controlled by a fixed control component. Therefore, when determining the sleep state, the control component used to control the high-voltage activation state can be used without reference, but only based on other control components among all control components except the control component used to control the high-voltage activation state, that is, the specific control component.
[0129] In some embodiments, the sleep flag can be determined according to the working current of each specific control component or the number of messages of each specific network segment. When the working current of each specific control component meets the first preset condition and the number of messages of each specific network segment meets the second preset condition, the sleep flag is determined to indicate that the sleep state has been entered; when the working current of each specific control component does not meet the first preset condition and the number of messages of each specific network segment does not meet the second preset condition, the sleep flag is determined to indicate that the sleep state has not been entered.
[0130] Here, the first preset condition is that the sum of the working currents of each specific control component is less than the preset current, and the second preset condition is that the sum of the number of messages in each specific network segment is less than the preset number.
[0131] In some embodiments, the working current of each specific control component and the number of messages in each specific network segment in the controller local area network can be detected. When the sum of the working currents of the specific control components is less than a preset current and the sum of the number of messages in the specific network segments is less than a preset number, it is determined that the sleep flag indicates entering the sleep state; when the sum of the working currents of the specific control components is not less than the preset current and the sum of the number of messages in the specific network segments is not less than the preset number, it is determined that the sleep flag indicates not entering the sleep state.
[0132] Fig. 8A A method for determining a sleep flag provided in an embodiment of the present application Figure 1 . Fig. 8A The method shown collects the current of the high voltage control component and the specific control component for controlling the high voltage activation state, and then determines the sleep flag according to the current of the specific control component.
[0133] Figure 8B This is a schematic diagram 2 of determining a sleep flag provided in an embodiment of the present application. Figure 8B The method shown collects the number of messages of the Ethernet network segment corresponding to the high-voltage control component for controlling the high-voltage activation state and the specific network segment corresponding to the specific control component, and then determines the sleep flag according to the number of messages of the specific network segment.
[0134] Step S702: when the sleep flag indicates entering the sleep state, determining that the delayed exit high voltage flag indicates not extending the high voltage activation state.
[0135] In some embodiments, when the sleep flag indicates entering the sleep state, each specific control component has entered the sleep state and can directly exit the high voltage activation state, so determining the delayed exit of the high voltage flag indicates that the high voltage activation state will not be extended.
[0136] Step S703: when the sleep flag indicates that the sleep state has not been entered, determining that the delayed exit high voltage flag indicates that the high voltage activation state is extended.
[0137] In some embodiments, when the sleep mark indicates that the sleep state has not been entered, some specific control components have not entered the sleep state. At this time, directly exiting the high-voltage activation state may cause the low-voltage battery to be fed. Powering the specific control components that have not entered the sleep state through the low-voltage battery may cause problems such as unstable operation of the specific control components and loss of the low-voltage battery. Therefore, it is necessary to extend the high-voltage activation state, and determine the delayed exit of the high-voltage mark to indicate the extension of the high-voltage activation state.
[0138] In the above embodiment, the delayed exit of the high-voltage mark is determined according to the sleep mark. When the sleep mark indicates that the sleep state has not been entered, the delayed exit of the high-voltage mark indicates that the high-voltage activation state is extended, thereby reducing the situation where the high-voltage electrical appliances are unstable and the low-voltage battery is damaged due to the direct exit of the high-voltage activation state in the non-sleep state; when the sleep mark indicates that the sleep state has been entered, the delayed exit of the high-voltage mark indicates that the high-voltage activation state is not extended, thereby reducing the situation where the high-voltage activation state is maintained in the sleep state and energy waste is caused.
[0139] In some embodiments, the state control request includes a request to enter the high voltage activation state. When the prohibit high voltage flag indicates that entering the high voltage activation state is not allowed, the request to enter the high voltage activation state is skipped.
[0140] When receiving a request to enter high voltage activation, it is first possible to determine whether entering the high voltage activation state is currently allowed based on the current prohibition of high voltage flag. If the prohibition of high voltage flag indicates that entering the high voltage activation state is not allowed, the request to enter high voltage activation is skipped, that is, the request to enter high voltage activation is ignored.
[0141] In some embodiments, a prohibition high voltage mark and a prohibition reason may be displayed to reduce the situation where a request to enter a high voltage activation state is obtained when the prohibition high voltage mark indicates that entering a high voltage activation state is not allowed.
[0142] In the above embodiment, when the prohibition high voltage flag indicates that entering the high voltage activation state is not allowed, the high voltage activation request is skipped, thereby reducing the waste of resources caused by processing invalid requests.
[0143] In some embodiments, when the high-voltage flag is prohibited to indicate that entry into the high-voltage activation state is allowed, the request time corresponding to the high-voltage activation request is determined, and when the request time is less than or equal to the holding time, the high-voltage activation request is skipped; when the request time is greater than the holding time, the high-voltage activation state is entered and the holding time is reset.
[0144] Here, the request time is the task cycle required to enter the high voltage activation request, and the request time can be represented by a decimal value of 0 to 10 or a hexadecimal value of 0x00 to 0x0A, and the unit can be minutes. When the request time is a hexadecimal value and the unit is minutes, the decimal value corresponding to the hexadecimal value can be used to represent how many minutes the request time is. For example, the request time is a hexadecimal value of 0x0A and the unit is minutes, and the corresponding decimal value is 10, then the hexadecimal value 0x0A indicates that the request time is 10 minutes.
[0145] In some embodiments, different request times can be set for the high voltage activation request according to different task requirements. When the high voltage prohibition flag indicates that entry into the high voltage activation state is allowed, the request time corresponding to the high voltage activation request is determined. When the request time is less than or equal to the holding time, there is no need to re-enter the high voltage activation state, so the high voltage activation request is skipped; when the request time is greater than the holding time, it is necessary to re-enter the high voltage activation state, so in response to the high voltage activation request, the high voltage activation state is re-entered and the holding time is reset.
[0146] For example, taking the current high-voltage activation state, the holding time of the current high-voltage activation state is 8 minutes, and the request time corresponding to the high-voltage activation request of the current control cycle is 7 minutes, the request time is less than the holding time, and therefore there is no need to re-enter the high-voltage activation state, and the request to enter the high-voltage activation state is skipped; taking the current high-voltage activation state, the holding time of the current high-voltage activation state is 8 minutes, and the request time corresponding to the high-voltage activation request of the current control cycle is 9 minutes as an example, the request time is greater than the holding time, and therefore in response to the request to enter the high-voltage activation, the high-voltage activation state is re-entered and the holding time is reset, for example, the holding time can be reset to 10 minutes.
[0147] In the above embodiment, whether it is necessary to re-enter the high-voltage activation state is determined based on the request time and holding time corresponding to the high-voltage activation request. If there is no need to re-enter the high-voltage activation state, the high-voltage activation request is skipped, thereby reducing the waste of resources caused by processing invalid requests.
[0148] Fig. 9 A schematic diagram of the implementation process of a state control method provided in an embodiment of the present application Figure 5 As shown in FIG8 , the state control method further includes step S901 to step S902 .
[0149] Step S901, obtaining vehicle status.
[0150] Here, the vehicle state is the working mode of the vehicle, which includes a normal working mode, an anti-theft mode, an upgrade mode, and the like.
[0151] Step S902: When the vehicle state satisfies the high-voltage prohibition condition, determine that the high-voltage prohibition mark indicates prohibition of entering the high-voltage activation state.
[0152] Here, the prohibiting high-voltage condition is a condition that prohibits the vehicle from entering a high-voltage activation state, including an anti-theft mode and an upgrade mode, and the like.
[0153] In some embodiments, when the vehicle state satisfies the prohibition of high voltage condition, it is necessary to exit the high voltage activation state, so it is determined that the prohibition of high voltage mark indicates prohibition of entering the high voltage activation state. For example, when the vehicle state is in the anti-theft mode, the vehicle should be prohibited from entering the high voltage activation state to prevent the vehicle from being stolen, so it is determined that the prohibition of high voltage mark indicates prohibition of entering the high voltage activation state. When the vehicle state is in the upgrade mode, the control component used to control the high voltage activation state may be being upgraded, so it is necessary to exit the high voltage activation state, and it is determined that the prohibition of high voltage mark indicates prohibition of entering the high voltage activation state.
[0154] In some embodiments, the vehicle state can also be set according to the special needs of the requester to prohibit high voltage, so that the vehicle state meets the prohibition of high voltage conditions, and the prohibition of high voltage mark indicates prohibition of entering the high voltage activation state.
[0155] In the above embodiment, the prohibition of high voltage flag is determined according to the vehicle state to prohibit entering the high voltage activation state when the vehicle state meets the prohibition of high voltage condition, thereby improving the accuracy of controlling the high voltage activation state through the prohibition of high voltage flag.
[0156] In the embodiment of the present application, on the one hand, the high voltage activation state is controlled by setting a delayed exit high voltage mark, which solves the problem of unstable operation of high voltage electrical appliances and loss of low voltage batteries caused by directly exiting the high voltage activation state; on the other hand, by determining the holding time of the high voltage activation state, the high voltage activation state can be controlled according to the holding time, so that the high voltage activation state can be exited in time under the condition of meeting the holding time, reducing the energy consumption of high voltage electrical appliances. In other words, the state control method proposed in the present application realizes precise control of the high voltage activation state according to the delayed exit high voltage mark and the holding time, thereby improving the safety of the system.
[0157] Based on the above embodiments, another embodiment of the present application exemplifies the application of the state control method in an actual scenario.
[0158] As the level of automobile intelligence continues to improve, the functions required by vehicles are becoming more and more diverse. Many functions on vehicles (such as remote air conditioning, small battery smart charging, air-drop component upgrade, etc.) require the entire vehicle to enter a high-voltage activation state to execute.
[0159] After the whole vehicle enters the high-voltage activation state, if the various functions in the vehicle have no demand for the high-voltage activation state, it will often directly exit the high-voltage activation state. However, at this time, the vehicle often still has high-voltage electrical appliances in operation. Providing power to these high-voltage electrical appliances through low-voltage batteries may cause problems such as unstable operation of these high-voltage electrical appliances and loss of low-voltage batteries, thereby reducing the safety of the system. On the other hand, damage to high-voltage electrical appliances and other reasons may also lead to the inability to exit the high-voltage activation state in time after entering the high-voltage activation state, which not only causes energy waste, but also reduces the safety of the system.
[0160] In summary, common technologies cannot achieve precise control of the high-voltage activation state, which reduces the safety of the system.
[0161] Based on the above problems, the embodiment of the present application proposes a state control method. On the one hand, the high-voltage activation state is controlled by setting a delayed exit high-voltage mark, which solves the problem of unstable operation of high-voltage electrical appliances and loss of low-voltage batteries caused by directly exiting the high-voltage activation state; on the other hand, by determining the holding time of the high-voltage activation state, the high-voltage activation state can be controlled according to the holding time, so that the high-voltage activation state can be exited in time under the condition of meeting the holding time, reducing the energy consumption of high-voltage electrical appliances. In other words, the state control method proposed in the present application realizes precise control of the high-voltage activation state according to the delayed exit high-voltage mark and the holding time, thereby improving the safety of the system.
[0162] The state control method in the embodiment of the present application can be applied to a state control device or a state control system, or to a hardware system or device configured with a state control device or a state control system.
[0163] Figure 1 This is a schematic diagram of the state control system architecture provided in the embodiment of the present application. Figure 1 As shown, the state control system 100 for implementing the state control method provided by the embodiment of the present application includes a high-voltage activation request interface 101, a target high-voltage state arbitration module 102 and a high-voltage upper and lower electrical component control module 103. Among them, the high-voltage activation request interface 101 is used to receive the state control request of the requester, and the state control request includes entering the high-voltage activation request, prohibiting the high-voltage activation request and canceling the prohibition of the high-voltage activation request. The target high-voltage state arbitration module 102 is used to determine the target high-voltage state request according to the state control request received by the high-voltage activation request interface 101, and send the target high-voltage state request to the high-voltage upper and lower electrical component control module 103, wherein the target high-voltage state request is determined from entering the high-voltage activation request, prohibiting the high-voltage activation request and canceling the prohibition of the high-voltage activation request. The high-voltage upper and lower electrical component control module 103 is used to realize the control of the high-voltage activation state according to the target high-voltage state request.
[0164] The state control method in the embodiment of the present application can be applied to the state control device or the state control system 100, or to a hardware device or system equipped with the state control device or the state control system 100. In the implementation process of the state control method in the embodiment of the present application, the state control device can be a processor of a computer device, and the state control system 100 can be a controller, which is not specifically limited in the present application. In the computer device, it can be a server, a laptop, a tablet computer, a desktop computer, a mobile device (such as a mobile phone, a personal digital assistant, a portable game device) and other devices with data processing capabilities, and the controller can be a controller in the field of automation, which can realize automatic control by executing complex algorithms.
[0165] The following will Figure 1 The state control system 100 in the embodiment of the present application is taken as an example of the execution subject to illustrate the state control method in the embodiment of the present application. It can be understood that the execution subject here is only exemplary, and the embodiment of the present application does not impose any special restrictions on the execution subject.
[0166] Figure 2A This is a schematic diagram of a state control scenario provided in an embodiment of the present application. Figure 2A As shown, taking the state control system 100 as a controller as an example, the state control system 100 may include a requester. In some embodiments, the high voltage activation request interface 101 is open to each requester as an application programming interface (Application Programming Interface, API), and each requester can enter parameters through the high voltage activation request interface 101 to control the high voltage activation state according to needs and obtain the high voltage activation state after control and the reason for not being able to enter the high voltage activation state.
[0167] like Figure 2B As shown, the input parameter of the requester to the high voltage activation request interface 101 may include a requester flag M101 and a state control request M102. The requester flag M101 may be represented by a hexadecimal value 0x0000 to 0xFFFF, such as Figure 5As shown, the requester flag M101 can be represented by a four-digit hexadecimal value, and the four-digit hexadecimal value is the first, second, third and fourth digits from low to high. The first and second digits can be used as input parameter check bits. When the sum of the decimal values corresponding to the first and second digits can be divided by the decimal value 5, the check result of the requester flag is a successful check, that is, the requester flag passes the legality check. The third digit can be used as the priority comparison bit of the requester flag. The smaller the value of the third digit, the higher the priority of the corresponding requester flag. The fourth digit can be used as the identification bit of the control component to which the requester belongs, and different control components can be corresponding to hexadecimal values 0 to F. The state control request M102 includes entering a high-voltage activation request, prohibiting a high-voltage activation request, and canceling a prohibition of a high-voltage activation request. The high-voltage activation request interface 101 can include high-voltage activation state feedback M103, prohibiting high-voltage identification M104, and high-voltage activation holding time M105 for the requester. The high-voltage activation state feedback M103 includes high-voltage activation and high-voltage inactivation, the high-voltage prohibition mark M104 includes whether high-voltage activation is prohibited and the prohibition reason, and the high-voltage activation holding time M105 can be represented by a hexadecimal value of 0x00 to 0x0A.
[0168] After the high-voltage activation request interface 101 receives the input parameters of the requester, the received parameters can be input into the target high-voltage state arbitration module 102, and the feedback parameters output by the target high-voltage state arbitration module 102 can be received. After receiving the parameters, the target high-voltage state arbitration module 102 determines the target high-voltage state request after judgment and arbitration, and sends the target high-voltage state request to the high-voltage upper and lower electric component control module 103. The high-voltage upper and lower electric component control module 103 controls the state of the high-voltage upper and lower electric related components according to the target high-voltage state request to adjust the high-voltage activation state according to the target high-voltage state request. After the high-voltage upper and lower electric related components feed back the adjusted high-voltage activation state to the high-voltage upper and lower electric component control module 103, the high-voltage upper and lower electric component control module 103 outputs the target high-voltage state and fault judgment to the target high-voltage state arbitration module 102, and the target high-voltage state arbitration module 102 determines the feedback parameters according to the received target high-voltage state and fault judgment, and sends the feedback parameters to the high-voltage activation request interface 101, and the high-voltage activation request interface 101 outputs the parameters to the requester according to the feedback parameters.
[0169] like Fig.10As shown, the sub-functions of the target high-voltage state arbitration module 102 include a prohibition of high-voltage identification judgment function M201, a target high-voltage state arbitration function M202, a sleep identification judgment function M203, an exit from high-voltage activation according to a hold time function M204, a delayed exit from high-voltage identification judgment function M205, and a high-voltage activation state judgment function M206. Among them, the prohibition of high-voltage sign judgment function M201 can judge whether the prohibition of high-voltage sign indicates that entry into the high-voltage activation state is allowed according to the vehicle state and the special request of the requesting party, the target high-voltage state arbitration function M202 can determine the target high-voltage state request from the entry high-voltage activation request, the prohibition of high-voltage activation request and the cancellation of the prohibition of high-voltage activation request, the sleep sign judgment function M203 can detect the working current of each specific control component and the number of messages in each specific network segment in the controller local area network to judge whether the sleep sign indicates entering the sleep state, the hold time determination function M204 can determine the hold time, the delayed exit high-voltage sign judgment function M205 can determine whether the delayed exit high-voltage sign indicates extension of the high-voltage activation state according to the sleep sign, and the high-voltage activation state judgment function M206 can judge whether the current state is in the high-voltage activation state according to the working state of the control component used to control the high-voltage activation state.
[0170] Fig.11 A schematic diagram of a process flow for determining a prohibition of high voltage mark provided in an embodiment of the present application. Fig.11 As shown, the method for determining the prohibition of high voltage mark at least includes steps S1101 to S1112.
[0171] Step S1101: The interface is called.
[0172] Determine whether the high voltage activation request interface is called, if yes, execute step S1102, otherwise end.
[0173] Step S1102: The vehicle status prohibits activation of high voltage.
[0174] Determine whether the vehicle is in an anti-theft mode, upgrade mode or other state that prohibits activation of high voltage, and whether the vehicle has a fault that prevents activation of high voltage. If so, execute step S1107, otherwise execute step S1103.
[0175] Step S1103: perform a validity check on the requester's flag.
[0176] The legitimacy of the requester's flag is checked to identify the legitimacy of the requester's flag.
[0177] Step S1104: Legality check passed.
[0178] Determine whether the requester flag passes the legality check, if yes, execute step S1105, otherwise end.
[0179] Step S1105: Request to prohibit high voltage activation.
[0180] It is determined whether the current request is to prohibit high voltage activation, that is, the current request is a request to prohibit high voltage activation, if yes, execute step S1106, otherwise execute step S1108.
[0181] Step S1106: The prohibition high voltage mark indicates that high voltage is not allowed.
[0182] Determine whether the high voltage prohibition mark indicates that entering the high voltage activation state is not allowed, if yes, end, otherwise execute step S1107.
[0183] Step S1107: Determine whether the high voltage prohibition mark indicates that high voltage is not allowed.
[0184] It is determined that the prohibition high voltage sign indicates that entering the high voltage activation state is not permitted, and the reason why entering the high voltage activation state is not permitted is determined.
[0185] Step S1108: Request to cancel prohibition of high voltage activation.
[0186] It is determined whether the current request is to cancel prohibition of high voltage activation, that is, the current request is a request to cancel prohibition of high voltage activation, if yes, step S1109 is executed, otherwise, the process ends.
[0187] Step S1109, cancel the prohibition of high voltage mark to indicate that high voltage is allowed.
[0188] It is determined whether the cancellation of the high voltage prohibition mark indicates that the high voltage activation state is allowed. If yes, step S1110 is executed, otherwise, the process ends.
[0189] Step S1110: Compare the priorities of the previous and next requesting parties.
[0190] The priority of the first requester flag corresponding to the prohibition high voltage activation request in the previous control cycle is compared with the priority of the second requester flag corresponding to the cancel prohibition high voltage activation request in the current control cycle.
[0191] Step S1111: The priority of the latter is not less than that of the former.
[0192] It is determined whether the priority of the second requester flag is less than the priority of the first requester flag. If so, the process goes to step S1112 ; otherwise, the process ends.
[0193] Step S1112: Determine whether the high voltage prohibition mark indicates that high voltage is allowed.
[0194] Confirm that the prohibition of high voltage sign indicates that entry into the high voltage activation state is permitted.
[0195] In the above embodiment, the prohibition of high voltage flag is determined based on the first requester flag corresponding to the prohibition of high voltage activation request in the previous control cycle and the second requester flag corresponding to the cancel prohibition of high voltage activation request in the current control cycle, thereby reducing the situation where the state control requests cannot be arranged when conflicts occur.
[0196] Fig.12 A schematic diagram of the implementation process of a state control method provided in an embodiment of the present application Figure 6 .like Fig.12 As shown, the state control method at least includes steps S1201 to S1205.
[0197] Step S1201: The prohibition high voltage mark indicates that high voltage is not allowed.
[0198] It is determined whether the high voltage prohibition mark indicates that entering the high voltage activation state is not allowed. If yes, step S1205 is executed; otherwise, step S1202 is executed.
[0199] Step S1202, keep the time at 0.
[0200] Determine whether the holding time is 0, if so, execute step S1203, otherwise, execute step S1204.
[0201] Step S1203, the delayed exit high voltage mark indicates that the high voltage is extended.
[0202] It is determined whether the delayed exit high voltage flag indicates that the high voltage activation state is prolonged. If yes, step S1204 is executed; otherwise, step S1205 is executed.
[0203] Step S1204, maintaining the high pressure state.
[0204] Maintain high voltage active state or enter high voltage active state.
[0205] Step S1205, exit the high-voltage state.
[0206] Exit high voltage activation state.
[0207] In the above embodiment, the high voltage activation state is controlled according to the holding time, which reduces the situation where the high voltage activation state cannot be exited due to reasons such as failure of the requesting party, reduces the energy consumption of high voltage electrical appliances, and improves the safety of the system.
[0208] Fig.13 A schematic diagram of a process for determining a sleep flag according to an embodiment of the present application. Fig.13 As shown, the method for determining the sleep flag at least includes steps S1301 to S1303.
[0209] Step S1301: The number of messages is 0 and the operating current is not greater than a threshold.
[0210] Determine whether the number of messages of each specific control component is 0 (corresponding to satisfying the second preset condition of the above embodiment) and the working current of each specific control component is not greater than the threshold (corresponding to satisfying the first preset condition of the above embodiment), if so, execute step S1302, otherwise execute step S1303.
[0211] Step S1302: The sleep flag indicates sleep.
[0212] Determine that the sleep flag indicates entering the sleep state.
[0213] Step S1303: The sleep flag indicates that the device is not in sleep mode.
[0214] Determine that the sleep flag indicates that the sleep state has not been entered.
[0215] In the above embodiment, the sleep flag is determined according to the working current of the specific control component and the number of messages in the specific network segment, thereby improving the accuracy of the sleep flag.
[0216] Fig.14 A schematic diagram of a process flow for determining a holding time provided in an embodiment of the present application. Fig.14 As shown, the method for determining the holding time at least includes steps S1401 to S1409.
[0217] Step S1401: The prohibition high voltage mark indicates that high voltage is not allowed.
[0218] It is determined whether the high voltage prohibition mark indicates that entering the high voltage activation state is not allowed. If yes, step S1409 is executed; otherwise, step S1402 is executed.
[0219] Step S1402: The interface is called.
[0220] Determine whether the high voltage activation request interface is called, if yes, execute step S1403, otherwise end.
[0221] Step S1403: perform a validity check on the requester's flag.
[0222] The legitimacy of the requester's flag is checked to identify the legitimacy of the requester's flag.
[0223] Step S1404: Legality check passed.
[0224] Determine whether the requester flag passes the legality check, if yes, execute step S1405, otherwise end.
[0225] Step S1405: request high voltage activation.
[0226] It is determined whether the current request is a request to enter a high voltage activation state, that is, the current request is a request to enter a high voltage activation state. If yes, step S1406 is executed, otherwise, the process ends.
[0227] Step S1406: reset the holding time.
[0228] Set the hold time to the second value.
[0229] Step S1407: Update the retention time.
[0230] The remaining hold time is updated in real time.
[0231] Step S1408, keep the time at 0.
[0232] Determine whether the holding time is 0, if yes, end, otherwise execute step S1407.
[0233] Step S1409, keep the time cleared.
[0234] Set the hold time to 0.
[0235] In the above embodiment, when entering the high voltage activation state and the high voltage prohibition mark indicates that entering the high voltage activation state is not allowed, a corresponding holding time is set to control the high voltage activation state according to the holding time, thereby improving the control convenience and accuracy of the high voltage activation state.
[0236] Fig.15 A schematic diagram of a mechanism for state control based on holding time provided in an embodiment of the present application. Fig.15 As shown, each time the high voltage activation state is entered, the holding time is reset to the second value. After entering the high voltage activation state, the holding time gradually decreases. If no new high voltage activation request is received after entering the high voltage activation state, the holding time gradually decreases to 0.
[0237] Fig.16 A schematic diagram of a process flow for determining a delayed exit high voltage mark provided in an embodiment of the present application. Fig.16 As shown, the method for determining the delayed exit high voltage mark includes at least steps S1601 to S1606.
[0238] Step S1601: The prohibition high voltage mark indicates that high voltage is not allowed.
[0239] It is determined whether the high voltage prohibition mark indicates that entering the high voltage activation state is not allowed. If yes, step S1609 is executed; otherwise, step S1602 is executed.
[0240] Step S1602, the holding time is reduced from 1 to 0.
[0241] Determine whether the holding time is reduced from 1 to 0, if so, execute step S1603, otherwise, execute step S1609.
[0242] Step S1603: The sleep flag indicates that the device is not in sleep mode.
[0243] It is determined whether the sleep flag indicates that the device has not entered the sleep state. If yes, step S1604 is executed; otherwise, step S1609 is executed.
[0244] Step S1604, the delayed exit high voltage mark indicates that the high voltage is extended.
[0245] The delayed exit high voltage indicator indicates that the high voltage activation state is prolonged.
[0246] Step S1605: reset the holding time.
[0247] The holding time is reset according to the delayed exit high voltage flag to extend the high voltage activation state.
[0248] Step S1606: Update the retention time.
[0249] The remaining hold time is updated in real time.
[0250] Step S1607, keep the time at 0.
[0251] Determine whether the holding time is 0, if so, execute step S1609, otherwise, execute step S1608.
[0252] Step S1608: The sleep flag indicates that the device is not in sleep mode.
[0253] It is determined whether the sleep flag indicates that the device has not entered the sleep state. If yes, step S1604 is executed; otherwise, step S1609 is executed.
[0254] Step S1609, the holding time is cleared to zero, and the delayed exit high voltage mark indicates that the high voltage will not be extended.
[0255] The hold time is set to 0, and the delayed exit high voltage indicator does not extend the high voltage activation state.
[0256] In the above embodiment, the delayed exit of the high-voltage mark is determined according to the sleep mark. When the sleep mark indicates that the sleep state has not been entered, the delayed exit of the high-voltage mark indicates that the high-voltage activation state is extended, thereby reducing the situation where the high-voltage electrical appliances are unstable and the low-voltage battery is damaged due to the direct exit of the high-voltage activation state in the non-sleep state; when the sleep mark indicates that the sleep state has been entered, the delayed exit of the high-voltage mark indicates that the high-voltage activation state is not extended, thereby reducing the situation where the high-voltage activation state is maintained in the sleep state and energy waste is caused.
[0257] In yet another embodiment of the present application, based on the same inventive concept as the above-mentioned embodiment, Fig.17 A schematic diagram of a state control device provided in an embodiment of the present application. Fig.17 As shown, the state control device 1700 includes a determining unit 1701 and a second determining unit 1702, wherein:
[0258] The determining unit 1701 is configured to respond to the acquired state control request and determine a prohibition high voltage mark according to the state control request; determine a holding time when the prohibition high voltage mark indicates that entry into the high voltage activation state is allowed; wherein the holding time is the time for maintaining the high voltage activation state; and determine a delayed exit high voltage mark when the holding time does not meet the holding condition;
[0259] The control unit 1702 is used to control the high voltage activation state according to the delayed high voltage exit mark.
[0260] In some embodiments, the control unit 1702 is further configured to maintain the high voltage activation state when the holding time satisfies the holding condition.
[0261] In some embodiments, the control unit 1702 is further used to maintain the high-voltage activation state when the delayed exit from high-voltage identification indicates that the high-voltage activation state is extended; and to exit the high-voltage activation state when the delayed exit from high-voltage identification indicates that the high-voltage activation state is not extended.
[0262] In some embodiments, the status control request includes a status control request corresponding to a requesting party flag, and the determination unit 1701 is further used to perform a legitimacy check on the requesting party flag to obtain a check result; if the check result is a check failure, the status control request corresponding to the requesting party flag is skipped.
[0263] In some embodiments, the state control request includes a request to cancel prohibition of high voltage activation in the current control cycle, and the determination unit 1701 is also used to determine a cancel prohibition of high voltage flag; when the cancel prohibition of high voltage flag indicates that entry into the high voltage activation state is allowed, determine the first requester flag corresponding to the prohibition of high voltage activation request in the previous control cycle, and the second requester flag corresponding to the cancel prohibition of high voltage activation request in the current control cycle; determine the prohibition of high voltage flag according to the first requester flag and the second requester flag.
[0264] In some embodiments, the determination unit 1701 is also used to determine that the prohibit high voltage flag indicates prohibiting entry into the high voltage activation state when the priority of the first requester flag is higher than the priority of the second requester flag; and to determine that the prohibit high voltage flag indicates allowing entry into the high voltage activation state when the priority of the second requester flag is higher than the priority of the first requester flag.
[0265] In some embodiments, the determination unit 1701 is also used to determine the sleep flag according to the working current of each specific control component or the number of messages of each specific network segment; wherein the specific control component is a control component other than the control component used to control the high-voltage activation state, and the specific network segment is the network segment corresponding to the specific controller; when the sleep flag indicates entering the sleep state, it is determined that the delayed exit high-voltage flag indicates that the high-voltage activation state is not extended; when the sleep flag indicates that the sleep state is not entered, it is determined that the delayed exit high-voltage flag indicates that the high-voltage activation state is extended.
[0266] In some embodiments, the determination unit 1701 is also used to determine that the sleep flag indicates entering the sleep state when the working current of each specific control component meets the first preset condition and the number of messages in each specific network segment meets the second preset condition; and to determine that the sleep flag indicates not entering the sleep state when the working current of each specific control component does not meet the first preset condition and the number of messages in each specific network segment does not meet the second preset condition.
[0267] In some embodiments, the determination unit 1701 is further used to set the holding time to a first value when the prohibition high voltage mark indicates that entering the high voltage activation state is not allowed; and to set the holding time to a second value when entering the high voltage activation state.
[0268] In some embodiments, the determining unit 1701 is further configured to set the holding time to a third value when the delayed high-voltage exit flag indicates that the high-voltage activation state is extended.
[0269] In some embodiments, the state control request includes a request to enter a high voltage activation state, and the determination unit 1701 is further configured to skip the request to enter a high voltage activation state when the prohibition high voltage flag indicates that entering a high voltage activation state is not allowed.
[0270] In some embodiments, the determination unit 1701 is also used to determine the request time corresponding to the request to enter the high-voltage activation state when the prohibition of high-voltage identification indicates that entering the high-voltage activation state is allowed; skip the request to enter the high-voltage activation state when the request time is less than or equal to the holding time; enter the high-voltage activation state and reset the holding time when the request time is greater than the holding time.
[0271] In some embodiments, the determination unit 1701 is further configured to obtain a vehicle state; and when the vehicle state satisfies a high voltage prohibition condition, determine that the high voltage prohibition mark indicates prohibition of entering the high voltage activation state.
[0272] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. In some embodiments, the functions or modules included in the device provided in the embodiment of the present application can be used to execute the method described in the above method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0273] An embodiment of the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, some or all of the steps in the above method are implemented.
[0274] The embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, some or all of the steps in the above method are implemented. The computer-readable storage medium can be transient or non-transient.
[0275] An embodiment of the present application provides a computer program, including a computer-readable code. When the computer-readable code is run in a computer device, a processor in the computer device executes some or all of the steps for implementing the above method.
[0276] The embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is read and executed by a computer, some or all of the steps in the above method are implemented. The computer program product can be implemented specifically by hardware, software or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium, and in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit, etc.
[0277] It should be noted here that the description of the various embodiments above tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. The description of the above device, storage medium, computer program and computer program product embodiments is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the embodiments of the device, storage medium, computer program and computer program product of this application, please refer to the description of the method embodiment of this application for understanding.
[0278] Fig.18 A hardware entity diagram of a computer device provided in an embodiment of the present application is shown in FIG. Fig.18 As shown, the hardware entity of the computer device 1800 includes: a processor 1801 and a memory 1802, wherein the memory 1802 stores a computer program that can be run on the processor 1801, and the processor 1801 implements the steps in the method of any of the above embodiments when executing the program.
[0279] The memory 1802 stores computer programs that can be run on the processor. The memory 1802 is configured to store instructions and applications executable by the processor 1801. It can also cache data to be processed or processed by the processor 1801 and various modules in the computer device 1800 (for example, image data, audio data, voice communication data, and video communication data). This can be achieved through flash memory (FLASH) or random access memory (Random Access Memory, RAM).
[0280] When the processor 1801 executes the program, the steps of any of the above-mentioned state control methods can be implemented. The processor 1801 generally controls the overall operation of the computer device 1800.
[0281] An embodiment of the present application provides a computer storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the steps of the state control method of any of the above embodiments.
[0282] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.
[0283] The processor may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a central processing unit, a controller, a microcontroller, and a microprocessor. It is understandable that the electronic device that implements the functions of the processor may also be other, and the embodiments of the present application are not specifically limited.
[0284] The above-mentioned computer storage medium / memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory (Flash Memory), a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM) and the like; it can also be various terminals including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.
[0285] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the serial numbers of the above-mentioned steps / processes does not mean the order of execution, and the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments.
[0286] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0287] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0288] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0289] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0290] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.
[0291] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0292] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.
Claims
1. A state control method, characterized in that: include: In response to the acquired state control request, determining a prohibition high voltage flag according to the state control request; In the case where the prohibition high voltage mark indicates that entering the high voltage activation state is allowed, determining a holding time; wherein the holding time is the time for maintaining the high voltage activation state; When the holding time does not satisfy the holding condition, determining a delayed exit high voltage mark; The high voltage activation state is controlled according to the delayed high voltage exit flag.
2. The state control method according to claim 1, characterized in that: The method further comprises: When the holding time satisfies the holding condition, the high voltage activation state is held.
3. The state control method according to claim 1, characterized in that: The controlling of the high voltage activation state according to the delayed exit high voltage flag includes: When the delayed exit from high voltage indicator indicates that the high voltage activation state is extended, maintaining the high voltage activation state; When the delayed high-voltage exit flag indicates that the high-voltage activation state is not to be extended, the high-voltage activation state is exited.
4. The state control method according to claim 1, characterized in that: The state control request includes a state control request corresponding to the requester flag, and the method further includes: Performing a validity check on the requester flag to obtain a check result; When the verification result is a verification failure, the state control request corresponding to the requester flag is skipped.
5. The state control method according to claim 1, characterized in that: The state control request includes a request to cancel the prohibition of high voltage activation in the current control cycle, and determining the prohibition of high voltage flag according to the state control request includes: Confirm to cancel the prohibition of high voltage signs; In the case where the high voltage activation state is allowed to be entered by canceling the prohibition of high voltage flag, determining a first requester flag corresponding to the prohibition of high voltage activation request in the previous control cycle and a second requester flag corresponding to the cancel prohibition of high voltage activation request in the current control cycle; The prohibition of high voltage flag is determined according to the first requester flag and the second requester flag.
6. The state control method according to claim 5, characterized in that: The step of determining the prohibition of high voltage mark according to the first requester mark and the second requester mark comprises: In a case where the priority of the first requester flag is higher than the priority of the second requester flag, determining that the prohibition high voltage flag indicates prohibition of entering the high voltage activation state; In a case where the priority of the second requester flag is higher than the priority of the first requester flag, it is determined that the prohibit high voltage flag indicates that entering the high voltage activation state is permitted.
7. The state control method according to claim 1, characterized in that: The step of determining the delayed exit high voltage mark comprises: The sleep flag is determined according to the working current of each specific control component or the number of messages of each specific network segment; wherein the specific control component is a control component other than the control component for controlling the high voltage activation state, and the specific network segment is a network segment corresponding to the specific controller; In the case where the sleep flag indicates entering the sleep state, determining that the delayed exit high voltage flag indicates not extending the high voltage activation state; In a case where the sleep flag indicates that the sleep state has not been entered, determining that the delayed exit high voltage flag indicates extending the high voltage activation state.
8. The state control method according to claim 7, characterized in that: Determining the sleep flag according to the working current of each specific control component or the number of messages in each specific network segment includes: When the working current of each specific control component meets the first preset condition and the number of messages of each specific network segment meets the second preset condition, determining that the sleep flag indicates entering the sleep state; When the operating current of each specific control component does not satisfy the first preset condition and the number of messages of each specific network segment does not satisfy the second preset condition, it is determined that the sleep flag indicates that the sleep state has not been entered.
9. The state control method according to any one of claims 1 to 8, characterized in that: The method further comprises: When the high voltage prohibition mark indicates that entering the high voltage activation state is not allowed, setting the holding time to a first value; When entering the high voltage activation state, the holding time is set to a second value.
10. The state control method according to any one of claims 1 to 8, characterized in that: The method further comprises: In a case where the delayed exit high voltage flag indicates that the high voltage activation state is prolonged, the holding time is set to a third value.
11. The state control method according to any one of claims 1 to 8, characterized in that: The state control request includes a high voltage activation request, and the method further includes: When the prohibition high voltage flag indicates that entering the high voltage activation state is not allowed, the entry high voltage activation request is skipped.
12. The state control method according to claim 11, characterized in that: The method further comprises: In the case where the prohibition high voltage mark indicates that entering the high voltage activation state is allowed, determining a request time corresponding to the entry high voltage activation request; When the request time is less than or equal to the holding time, skipping the high voltage activation request; When the request time is greater than the holding time, the high voltage activation state is entered and the holding time is reset.
13. The state control method according to claim 1, characterized in that: The method further comprises: Get vehicle status; In a case where the vehicle state satisfies a prohibition high voltage condition, it is determined that the prohibition high voltage flag indicates prohibition of entering the high voltage activation state.
14. A state control device, characterized in that: include: A determination unit, configured to respond to the acquired state control request and determine a prohibition high voltage mark according to the state control request; determine a holding time when the prohibition high voltage mark indicates that entry into the high voltage activation state is allowed; wherein the holding time is the time for maintaining the high voltage activation state; and determine a delayed exit high voltage mark when the holding time does not meet the holding condition; A control unit is used to control the high voltage activation state according to the delayed high voltage exit mark.
15. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the state control method according to any one of claims 1 to 13 is implemented.
16. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the state control method according to any one of claims 1 to 13 is implemented.
17. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the state control method according to any one of claims 1 to 13 is implemented.
