Automobile power-on and power-off control method and system, and storage medium
Providing intelligent power distribution services through SOA solves the problems of complexity and limited resources of automotive software systems, enables rapid software updates and function expansion, and reduces development costs and complexity.
Patent Information
- Application Number
- PCT/CN2023/115499
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-30
- Filing Date
- 2023-08-29
- Publication Date
- 2024-10-03
AI Technical Summary
In the process of becoming intelligent, connected, and electrified, automotive software systems face problems such as increased software complexity, difficulty in maintenance and expansion, especially when meeting changing functional requirements with limited system resources.
It uses service-oriented architecture (SOA) to provide intelligent power distribution services. It receives power distribution service call parameters through the preset SOA service interface, arbitrates to determine the power distribution port status, and controls ECU power on and off through a unified service interface, reducing software complexity and development costs.
It achieves faster software updates, reduces software complexity, development cycle and cost, improves functional scalability and flexibility, and meets power on and off service calls in different application scenarios.
Smart Images

Figure CN2023115499_03102024_PF_FP_ABST
Abstract
Description
Automobile power on / off control method and system, and storage medium
[0001] This application claims priority to a Chinese patent application filed with the Patent Office of China on March 30, 2023, with application number 202310328076.6, entitled “A Method and System for Controlling Up and Down Electricity of a Vehicle, and Storage Medium”, the entire contents of which are incorporated herein by reference. Technical Field
[0002] The present application relates to the field of automobile technology, and in particular to a method and system for controlling automobile power on and off, and a storage medium. Background Art
[0003] In recent years, the rapid advancement of intelligent, connected, and electrified vehicles has brought new technological changes to the automotive industry. At the same time, with the increase in vehicle functions, software systems have become difficult to maintain, difficult to expand, and prone to errors. Because system resources are limited, but functional requirements are constantly increasing and changing rapidly, the contradiction between limited system resources and unlimited requirements is a problem that needs to be solved in software system design. To solve this problem, the service-oriented architecture (SOA) was proposed.
[0004] Currently, SOA-based remote applications meet the personalized functional needs of developers and users. However, their implementation relies on power distribution control for each ECU. Each ECU in a vehicle typically connects to the vehicle body domain controller using a predetermined, unified interface protocol and, upon receiving a call from the vehicle body domain controller, controls the corresponding device. However, the entire process, from receiving the call command to completing the power-on and power-off control, is based on signal communication. This requires the design of new communication interfaces between each ECU and the vehicle body domain controller, the definition of additional internal data, and the design of call logic, increasing software complexity.
[0005] Summary of the Invention
[0006] The purpose of this application is to propose a method and system for controlling the power on and off of an automobile, and a computer-readable storage medium, so as to reduce the software complexity of the power on and off control of an automobile.
[0007] To achieve the above objectives, an embodiment of the present application provides a method for controlling power on and off of an automobile, the method comprising:
[0008] Receive power distribution service call parameters through a preset SOA service interface; wherein the power distribution service call parameters include at least one power distribution unit parameter, the power distribution unit parameter includes a diagnostic address and a power distribution port status, the diagnostic address corresponds to the power distribution port, and the power distribution port status includes a closed port and a disconnected port;
[0009] Arbitrating the power distribution unit parameters to determine whether to distribute power to the power distribution port corresponding to the diagnostic address; if it is determined that power is to be distributed to the power distribution port, determining whether the power distribution port is a normally powered port; if it is a normally powered port, returning a power distribution success signal to the service consumer; if it is not a normally powered port, generating a power-on request signal; wherein the power-on request signal includes the power distribution port and the status of the power distribution port;
[0010] The power distribution port is controlled to be closed according to the power-on request signal.
[0011] Optionally, arbitrating the power distribution unit parameters to determine whether to distribute power to the power distribution port corresponding to the diagnostic address includes:
[0012] Determine whether the diagnostic address is legal; if it is illegal, return an invalid power distribution signal to the service consumer; if it is legal, obtain the power distribution port corresponding to the diagnostic address, and determine whether the power distribution port is faulty; if it is faulty, return a port fault signal to the service consumer; if there is no fault, determine to distribute power to the distribution port.
[0013] Optionally, the power distribution unit parameter further includes power distribution duration, and the power-on request signal further includes the power distribution duration;
[0014] The method further comprises:
[0015] Starting timing while controlling the power distribution port to be closed;
[0016] When the timing result reaches the power distribution time, if no new power distribution unit parameters corresponding to the diagnostic address are received, the power distribution port is controlled to be disconnected, and a power distribution stop signal is returned to the service consumer.
[0017] Optionally, the method further includes:
[0018] When the timing result does not reach the power distribution time, if new power distribution unit parameters corresponding to the diagnostic address are received and the power distribution port state of the new power distribution unit parameters is a closed port, the timing result is cleared and the timing is restarted.
[0019] Optionally, the method further includes:
[0020] When the timing result does not reach the power distribution time, if a new power distribution unit parameter corresponding to the diagnostic address is received, and the power distribution port status of the new power distribution unit parameter is a disconnected port, a power-off request signal is generated; wherein the power-off request signal includes the power distribution port and the power distribution port status of the new power distribution unit parameter;
[0021] The power distribution port is controlled to be disconnected according to the power-off request signal, and a power distribution stop signal is returned to the service consumer.
[0022] The present application also provides a vehicle power-on and power-off control system, the system comprising:
[0023] A receiving unit, configured to receive power distribution service call parameters through a preset SOA service interface; wherein the power distribution service call parameters include at least one power distribution unit parameter, the power distribution unit parameter including a diagnostic address and a power distribution port status, the diagnostic address corresponding to the power distribution port, and the power distribution port status including a closed port and a disconnected port;
[0024] an arbitration unit, configured to arbitrate the power distribution unit parameters to determine whether to distribute power to the power distribution port corresponding to the diagnostic address; if it is determined that power is to be distributed to the power distribution port, determine whether the power distribution port is a normally powered port; if it is a normally powered port, return a power distribution success signal to the service consumer; if it is not a normally powered port, generate a power-on request signal; wherein the power-on request signal includes the power distribution port and the status of the power distribution port;
[0025] A control unit is used to control the power distribution port to close according to the power-on request signal.
[0026] Optionally, the arbitration unit is specifically configured to:
[0027] Determine whether the diagnostic address is legal; if it is illegal, return an invalid power distribution signal to the service consumer; if it is legal, obtain the power distribution port corresponding to the diagnostic address, and determine whether the power distribution port is faulty; if it is faulty, return a port fault signal to the service consumer; if there is no fault, determine to distribute power to the distribution port.
[0028] Optionally, the power distribution unit parameter further includes power distribution duration, and the power-on request signal further includes the power distribution duration; the system further includes a timing unit;
[0029] The timing unit is used to start timing while controlling the power distribution port to be closed;
[0030] The control unit is specifically configured to control the power distribution port to disconnect and return a power distribution stop signal to the service consumer when the timing result reaches the power distribution duration and if the receiving unit does not receive new power distribution unit parameters corresponding to the diagnostic address.
[0031] Optionally, the timing unit is also used to clear the timing result and restart the timing when the timing result does not reach the power distribution time length, if the receiving unit receives new power distribution unit parameters corresponding to the diagnostic address, and the power distribution port status of the new power distribution unit parameters is a closed port.
[0032] The arbitration unit is further configured to generate a power-off request signal when the timing result does not reach the power distribution time length and if the receiving unit receives a new power distribution unit parameter corresponding to the diagnostic address and the power distribution port state of the new power distribution unit parameter is a disconnected port;
[0033] The control unit is further configured to control the power distribution port to disconnect according to the power-off request signal, and return a power distribution stop signal to the service consumer; wherein the power-off request signal includes the power distribution port and the power distribution port status of the new power distribution unit parameters.
[0034] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned vehicle power-on and power-off control method is implemented.
[0035] The embodiments of the present application provide a method and system for controlling the power on and off of an automobile, and a computer-readable storage medium. These methods provide intelligent power distribution services to the outside world based on SOA. Through a preset SOA service interface, the logic for controlling the power on and off of each ECU after an external application terminal calls the intelligent power distribution service of the automobile is defined. Through a unified service interface, the complex logic design of the intermediate power on and off signal communication is eliminated, making software updates faster, reducing software complexity, and shortening software development cycles and costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0037] FIG1 is a flow chart of a method for controlling vehicle power on and off in one embodiment of the present application.
[0038] FIG2 is a flow chart of generating distribution service call parameters in one embodiment of the present application.
[0039] FIG3 is a schematic diagram of power distribution service calling parameters in one embodiment of the present application.
[0040] FIG4 is a schematic diagram of a vehicle power-on and power-off control system in one embodiment of the present application. DETAILED DESCRIPTION
[0041] The detailed description of the accompanying drawings is intended to serve as an illustration of some current embodiments of the present application and is not intended to represent the only form in which the present application can be implemented. It should be understood that the same or equivalent functions can be accomplished by different embodiments intended to be included within the scope of the present application.
[0042] Referring to FIG1 , an embodiment of the present application provides a method for controlling power on and off of a vehicle, comprising the following steps:
[0043] Step S1. Receive power distribution service call parameters through a preset SOA service interface; wherein, the power distribution service call parameters include at least one power distribution unit parameter, the power distribution unit parameter includes a diagnostic address and a power distribution port status, the diagnostic address corresponds to the power distribution port, and the power distribution port status includes a closed port and a disconnected port.
[0044] Specifically, this embodiment applies the vehicle side, and the vehicle side provides intelligent power distribution services to service consumers based on SOA. The service consumer is an external application terminal, which receives the power distribution service call parameters through the preset SOA service interface. Figure 2 is the generation process of the power distribution service call parameters. When the external application terminal calls the intelligent power distribution service provided by this embodiment, the external application terminal sends a power distribution instruction based on the SOME / IP protocol to the cloud. The cloud sends the power distribution instruction to the T-Box on the vehicle side. The T-Box performs protocol conversion on the power distribution instruction based on the SOME / IP protocol to obtain the corresponding power distribution service call parameters; in this process, the external application terminal is the client and the cloud is the server. The server can serve multiple clients and vehicle sides, and send the power distribution instructions of multiple clients to the corresponding T-Box on the vehicle side, so as to realize the remote operation of the ECU power on and off control of the vehicle side by the application terminal.
[0045] Among them, external application terminals include OTA-VSM, remote control, payment engine, etc. OTA-VSM, remote control, and payment engine are remote operations of different application terminals; OTA-VSM refers to software upgrades of various vehicle controllers through OTA; remote control refers to operations such as remote unlocking / starting, remote air conditioning, etc., and payment engine refers to subscribing to some personalized services through mobile phone APP, etc.
[0046] Among them, the distribution service call parameters may include one or more distribution unit parameters, one distribution unit parameter corresponds to one distribution port, and the distribution unit parameter is a data structure. In the example shown in Figure 3, the distribution service call parameters include three distribution unit parameters, and each distribution unit parameter includes parameters of the diagnostic address and the distribution port status; the distribution port is closed for power-on, and the distribution port is disconnected for power-off.
[0047] Step S2: arbitrate the parameters of the power distribution unit to determine whether to distribute power to the power distribution port corresponding to the diagnostic address; if it is determined that power is to be distributed to the power distribution port, determine whether the power distribution port is a normal power port; if it is a normal power port, return a power distribution success signal to the service consumer; if it is not a normal power port, generate a power-on request signal; wherein, the power-on request signal includes the power distribution port and the status of the power distribution port.
[0048] Specifically, in this embodiment, each power distribution unit parameter is arbitrated separately, and the power distribution port corresponding to the power distribution unit parameter is controlled to be powered on or off according to the arbitration result.
[0049] Among them, in this embodiment, a diagnostic address that matches each distribution port is pre-set, and the mapping relationship between the distribution port and the diagnostic address is saved in the form of a table; this embodiment defines the logic of controlling the power on and off of each ECU after the external application terminal calls the car's intelligent power distribution service, and arbitrates the received distribution unit parameters based on the preset arbitration logic to determine whether to distribute power to the distribution port corresponding to the diagnostic address.
[0050] This embodiment also distinguishes between the types of power distribution ports, including normal power ports and non-normal power ports. Normal power ports are normally closed, while non-normal power ports are normally open. Therefore, when distributing power, normal power ports do not require port control. Instead, a power distribution success signal is fed back to the service consumer (the external application terminal mentioned above) via the T-Box and the cloud. Non-normal power ports require port control, and thus a power-on request signal is generated.
[0051] Step S3: Control the power distribution port to close according to the power-on request signal.
[0052] It should be noted that in the current process of realizing functional requirements of application terminals such as OTA-VSM, remote control, and payment engines, the power distribution port is powered on and off through communication control based on CAN signals. This embodiment presets a unified intelligent power distribution service calling interface based on SOA services, allowing service consumers to use SOME / IP to notify / obtain / change the status of the power distribution port of the intelligent power distribution system, and defines the logic for controlling the power on and off of each ECU after the application terminal calls the intelligent power distribution service, reducing software complexity, shortening software development cycle and cost, and at the same time, reducing CAN signal interaction of the entire vehicle, reducing the load rate of the CAN bus, and improving the stability of signal transmission.
[0053] Furthermore, based on the SOA service design principles, atomic services need to include security arbitration, composite services need to include scenario / vehicle mode arbitration, and a service firewall needs to be designed to manage the interface call permissions exposed to different service consumers. Therefore, the smart power distribution service call interface of this embodiment is semi-open. The service interface call permissions can only be exposed to service consumers under the premise of meeting the functional safety of the entire vehicle.
[0054] In some embodiments, the step S2 of arbitrating the power distribution unit parameters to determine whether to distribute power to the power distribution port corresponding to the diagnostic address includes:
[0055] Determine whether the diagnostic address is legal; if it is illegal, return an invalid power distribution signal to the service consumer; if it is legal, obtain the power distribution port corresponding to the diagnostic address, and determine whether the power distribution port is faulty; if it is faulty, return a port fault signal to the service consumer; if there is no fault, determine to distribute power to the distribution port.
[0056] Specifically, the arbitration logic of this embodiment is as follows: a matching diagnostic address is pre-set for each power distribution port, and the mapping relationship between the power distribution ports and diagnostic addresses is stored in a table. The table is then queried to determine whether the received diagnostic address is in the table. If it is, the diagnostic address is valid; otherwise, it is invalid. If the diagnostic address is valid, the power distribution port corresponding to the diagnostic address is retrieved from the table and a determination is made as to whether the power distribution port is faulty. If so, power distribution cannot be performed; otherwise, power distribution can be performed.
[0057] Among them, the power distribution invalid signal and port fault signal are both fed back to the service consumer through the T-Box and the cloud as a power distribution success signal. The T-Box is a wireless communication module for data transmission between the car and the cloud, and communicates with the cloud based on the SOME / IP protocol.
[0058] In some embodiments, the power distribution unit parameters further include power distribution duration, and the power-on request signal further includes the power distribution duration.
[0059] Specifically, each power distribution unit parameter includes a power distribution duration, which refers to the maximum duration required for the corresponding power distribution port to distribute power when the service consumer remotely controls the vehicle. This duration must meet the time requirements of remote operation; if the duration is too short, remote operation cannot be completed. The power distribution duration for each distribution port is pre-set, meaning there is a one-to-one correspondence between the diagnostic address, power distribution duration, and distribution port.
[0060] The method further comprises:
[0061] Step S4: start timing while controlling the power distribution port to be closed.
[0062] Step S5: When the timing result reaches the power distribution time, if no new power distribution unit parameters corresponding to the diagnostic address are received, the power distribution port is controlled to be disconnected, and a power distribution stop signal is returned to the service consumer.
[0063] Specifically, this embodiment proposes a timed power distribution shutdown solution. After the power distribution time reaches the specified power distribution duration, if there is no new power distribution demand, power distribution is automatically stopped, reducing unnecessary power consumption and preventing abnormal remote operation or long-term power distribution that may cause the vehicle's low-voltage battery to be fed back. The power distribution stop signal is fed back to the service consumer via the T-Box and the cloud as a power distribution success signal.
[0064] In some embodiments, the method further comprises:
[0065] Step S6: When the timing result does not reach the power distribution time, if a new power distribution unit parameter corresponding to the diagnostic address is received, and the power distribution port state of the new power distribution unit parameter is a closed port, the timing result is cleared and the timing is restarted.
[0066] Specifically, the new distribution unit parameters include diagnostic address, distribution port status, and distribution duration. Each time new distribution unit parameters are received and the distribution port status of the new distribution unit parameters is a closed port, retiming is required to meet the time requirements of the new remote operation.
[0067] In some embodiments, the method further comprises:
[0068] Step S7. When the timing result does not reach the power distribution time, if a new distribution unit parameter corresponding to the diagnostic address is received, and the distribution port status of the new distribution unit parameter is a disconnected port, a power-off request signal is generated; wherein, the power-off request signal includes the distribution port and the distribution port status of the new distribution unit parameter.
[0069] Step S8: Control the power distribution port to disconnect according to the power-off request signal, and return a power distribution stop signal to the service consumer.
[0070] Specifically, the new distribution unit parameters also include the diagnostic address, distribution port status, and distribution duration. If the distribution port status of the new distribution unit parameters is a closed port, the distribution duration can be a default invalid value, such as 0. If a new distribution unit parameter corresponding to the diagnostic address is received, and the distribution port status of the new distribution unit parameters is a disconnected port, the service consumer requests to disconnect the distribution port, and the remote operation ends, at which point a power-off request signal is generated. The distribution stop signal feeds back a distribution success signal to the service consumer via the T-Box and the cloud.
[0071] Based on the contents of the above embodiments, it can be seen that the method of this embodiment can facilitate the agile development of intelligent power distribution software, save development costs, meet the needs of service consumers and vehicle control systems for re-development, and have stronger functional scalability; it can also meet the power-on and power-off service calls in different application scenarios, realize one-to-one power-on and power-off functions, and has strong flexibility.
[0072] Corresponding to the vehicle power on / off control method of the above embodiment, another embodiment of the present application further provides a vehicle power on / off control system. Referring to FIG4 , the system of this embodiment includes:
[0073] Receiving unit 1, configured to receive power distribution service call parameters through a preset SOA service interface; wherein the power distribution service call parameters include at least one power distribution unit parameter, the power distribution unit parameter including a diagnostic address and a power distribution port status, the diagnostic address corresponding to the power distribution port, and the power distribution port status including a closed port and a disconnected port;
[0074] Arbitration unit 2 is configured to arbitrate the power distribution unit parameters to determine whether to distribute power to the power distribution port corresponding to the diagnostic address; if it is determined that power distribution is to be performed on the power distribution port, determine whether the power distribution port is a normally powered port; if it is a normally powered port, return a power distribution success signal to the service consumer; if it is not a normally powered port, generate a power-on request signal; wherein the power-on request signal includes the power distribution port and its status;
[0075] The control unit 3 is configured to control the power distribution port to close according to the power-on request signal.
[0076] In some embodiments, the arbitration unit 2 is specifically configured to:
[0077] Determine whether the diagnostic address is legal; if it is illegal, return an invalid power distribution signal to the service consumer; if it is legal, obtain the power distribution port corresponding to the diagnostic address, and determine whether the power distribution port is faulty; if it is faulty, return a port fault signal to the service consumer; if there is no fault, determine to distribute power to the distribution port.
[0078] In some embodiments, the power distribution unit parameter further includes power distribution duration, and the power-on request signal further includes the power distribution duration; the system further includes a timing unit;
[0079] The timing unit is used to start timing while controlling the power distribution port to be closed;
[0080] The control unit 3 is specifically configured to control the power distribution port to disconnect and return a power distribution stop signal to the service consumer when the timing result reaches the power distribution duration and if the receiving unit does not receive new power distribution unit parameters corresponding to the diagnostic address.
[0081] In some embodiments, the timing unit is also used to clear the timing result and restart the timing when the timing result does not reach the power distribution time length, if the receiving unit receives new power distribution unit parameters corresponding to the diagnostic address, and the power distribution port status of the new power distribution unit parameters is a closed port.
[0082] The arbitration unit 2 is further configured to generate a power-off request signal when the timing result does not reach the power distribution time length and if the receiving unit receives a new power distribution unit parameter corresponding to the diagnostic address and the power distribution port state of the new power distribution unit parameter is a disconnected port;
[0083] The control unit 3 is further configured to control the power distribution port to disconnect according to the power-off request signal, and return a power distribution stop signal to the service consumer; wherein the power-off request signal includes the power distribution port and the power distribution port status of the new power distribution unit parameters.
[0084] The above-described embodiments of the vehicle power on / off control system are merely illustrative. The modules described as separate components may or may not be physically separate, and the components of the modules may or may not be physical modules, i.e., they may be located in a single location or distributed across multiple network modules. Depending on actual needs, some or all of the modules may be selected to achieve the purpose of the embodiment of the vehicle power on / off control system.
[0085] For example, in one example, the receiving unit 1 and the arbitration unit 2 can be implemented by a central processing unit on the vehicle side, and the control unit 3 and the timing unit can be implemented by a body domain controller on the vehicle side.
[0086] It should be noted that the automobile power on and off control system of the above-mentioned embodiment corresponds to the automobile power on and off control method of the above-mentioned embodiment. Therefore, the parts of the automobile power on and off control system of the above-mentioned embodiment that are not described in detail can be obtained by referring to the contents of the automobile power on and off control method of the above-mentioned embodiment. That is, the specific steps recorded in the automobile power on and off control method of the above-mentioned embodiment can be understood as the functions that can be achieved by the automobile power on and off control system of the above-mentioned embodiment, and will not be repeated here.
[0087] Furthermore, if the automobile power-on and power-off control system of the above embodiment is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium.
[0088] Another embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the vehicle power-on and power-off control method as described in the above embodiment is implemented.
[0089] Specifically, the computer-readable storage medium may include: any entity or recording medium that can carry the computer program instructions, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc.
[0090] While various embodiments of the present application have been described above, the above descriptions are illustrative, non-exhaustive, and not intended to be limiting of the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is selected to best explain the principles of the embodiments, their practical applications, or technological improvements in the marketplace, or to enable others skilled in the art to understand the embodiments disclosed herein.
Claims
1. A method for controlling the power on and off of a car. It is characterized in that The method comprises: Receive power distribution service call parameters through a preset SOA service interface; wherein the power distribution service call parameters include at least one power distribution unit parameter, the power distribution unit parameter includes a diagnostic address and a power distribution port status, the diagnostic address corresponds to the power distribution port, and the power distribution port status includes a closed port and an open port; Arbitrating the power distribution unit parameters to determine whether to distribute power to the power distribution port corresponding to the diagnostic address; if it is determined that the power distribution port is to be distributed, determining whether the power distribution port is a normal power port; if it is a normal power port, returning a power distribution success signal to the service consumer; if it is not a normal power port, generating a power-on request signal; wherein the power-on request signal includes the power distribution port and the state of the power distribution port; The power distribution port is controlled to be closed according to the power-on request signal.
2. The method according to claim 1, It is characterized in that The arbitrating the power distribution unit parameters to determine whether to distribute power to the power distribution port corresponding to the diagnostic address includes: Determine whether the diagnostic address is legal; if not, return an invalid power distribution signal to the service consumer; if legal, obtain the power distribution port corresponding to the diagnostic address, and determine whether the power distribution port is faulty; if faulty, return a port fault signal to the service consumer; if not, determine to distribute power to the power distribution port.
3. The method according to claim 1, It is characterized in that The power distribution unit parameters also include power distribution duration, and the power-on request signal also includes the power distribution duration; The method further comprises: Starting timing while controlling the power distribution port to be closed; When the timing result reaches the power distribution duration, if no new power distribution unit parameters corresponding to the diagnostic address are received, the power distribution port is controlled to be disconnected, and a power distribution stop signal is returned to the service consumer.
4. The method according to claim 3, It is characterized in that The method further comprises: When the timing result does not reach the power distribution duration, if a new power distribution unit parameter corresponding to the diagnostic address is received, and the power distribution port state of the new power distribution unit parameter is a closed port, the timing result is cleared and the timing is restarted.
5. The method according to claim 3, It is characterized in that The method further comprises: When the timing result does not reach the power distribution duration, if a new power distribution unit parameter corresponding to the diagnostic address is received, and the power distribution port state of the new power distribution unit parameter is a disconnected port, a power-off request signal is generated; wherein the power-off request signal includes the power distribution port and the power distribution port state of the new power distribution unit parameter; The power distribution port is controlled to be disconnected according to the power-off request signal, and a power distribution stop signal is returned to the service consumer.
6. A car power on and off control system, It is characterized in that The system comprises: A receiving unit, configured to receive a power distribution service call parameter through a preset SOA service interface; wherein the power distribution service call parameter includes at least one power distribution unit parameter, the power distribution unit parameter includes a diagnostic address and a power distribution port status, the diagnostic address corresponds to the power distribution port, and the power distribution port status includes a closed port and an open port; An arbitration unit is used to arbitrate the power distribution unit parameters to determine whether to arbitrate the power distribution port corresponding to the diagnostic address. Perform power distribution, if it is determined that the power distribution port is to be powered, determine whether the power distribution port is a normal power port; if it is a normal power port, return a power distribution success signal to the service consumer; if it is not a normal power port, generate a power-on request signal; wherein the power-on request signal includes the power distribution port and the power distribution port status; A control unit is used to control the power distribution port to close according to the power-on request signal.
7. The system according to claim 6, It is characterized in that The arbitration unit is specifically used for: Determine whether the diagnostic address is legal; if not, return an invalid power distribution signal to the service consumer; if legal, obtain the power distribution port corresponding to the diagnostic address, and determine whether the power distribution port is faulty; if faulty, return a port fault signal to the service consumer; if not, determine to distribute power to the power distribution port.
8. The system according to claim 6, It is characterized in that The power distribution unit parameters also include power distribution duration, and the power-on request signal also includes the power distribution duration; the system also includes a timing unit; The timing unit is used to start timing while controlling the power distribution port to be closed; The control unit is specifically used to control the power distribution port to disconnect and return a power distribution stop signal to the service consumer when the timing result reaches the power distribution duration if the receiving unit does not receive new power distribution unit parameters corresponding to the diagnostic address.
9. The system according to claim 8, It is characterized in that The timing unit is further configured to clear the timing result and restart the timing when the timing result does not reach the power distribution duration, if the receiving unit receives a new power distribution unit parameter corresponding to the diagnostic address, and the power distribution port state of the new power distribution unit parameter is a closed port; The arbitration unit is further configured to generate a power-off request signal when the timing result does not reach the power distribution duration, if the receiving unit receives a new power distribution unit parameter corresponding to the diagnostic address, and the power distribution port state of the new power distribution unit parameter is a disconnected port; The control unit is also used to control the power distribution port to disconnect according to the power-off request signal, and return a power distribution stop signal to the service consumer; wherein the power-off request signal includes the power distribution port and the power distribution port status of the new distribution unit parameters.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the vehicle power-on and power-off control method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Power distribution terminal safety monitoring method and device based on proxy implementation
CN107566334A
Intelligent power distribution control method and system
CN114872648A
Remote diagnosis method of vehicle-end CAN node based on SOA service and storage medium
CN115145241A
Vehicle central control module and unmanned vehicle
CN213534453U
Vehicle electrical system state controller
US20150217640A1
