Electric safety belt control method and device, electronic equipment and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ZHEJIANG GEELY HLDG GRP CO LTD
- Filing Date
- 2022-10-19
- Publication Date
- 2026-04-10
AI Technical Summary
[0003]然而,一方面,由于CAN总线的开发复杂度通常较高,因而基于上述方式,容易带来人力资源以及硬件资源的较多消耗,另一方面,需要依据总线收发器进行逻辑转换,导致硬件需求较高
[0050] The embodiments of the present application provide an electric safety belt control method, device, electronic device and storage medium. A domain controller obtains action information of a target scene for an electric safety belt controller, and generates corresponding action instructions according to the action information. After the action instructions are transmitted to the electric safety belt controller through a hard line, a control result is obtained based on received state information of the electric safety belt controller. In the above manner, data transmission is performed through the hard line between the domain controller and the electric safety belt controller. On the one hand, the additional consumption of human resources and hardware resources caused by the high development complexity during the development of the CAN bus is avoided. On the other hand, the bus transceiver required for logical conversion is cancelled, and the hardware requirements for data transmission are further reduced.
Smart Images

Figure CN115593351B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicle control, and in particular to an electric safety belt control method and device, an electronic device and a storage medium. BACKGROUND
[0002] In the prior art, information interaction of an electric safety belt controller is usually based on a vehicle-mounted bus CAN, for example, data transmission is performed between a vehicle system (such as an advanced driving assistance system ADAS or a passive safety system PSS) and the electric safety belt controller through the vehicle-mounted bus CAN, so that the electric safety belt controller triggers a control instruction under a specified logic based on obtained motion posture, vehicle speed, braking, acceleration and safety belt action indication.
[0003] However, on the one hand, the development complexity of the CAN bus is usually high, so that the above-mentioned method easily leads to more consumption of human resources and hardware resources, and on the other hand, logic conversion needs to be performed according to a bus transceiver, resulting in high hardware demand. SUMMARY
[0004] The present application provides an electric safety belt control method and device, an electronic device and a storage medium, which are used to reduce the development cost and hardware demand required by the above-mentioned data transmission method.
[0005] In a first aspect, the present application provides an electric safety belt control method applied to a domain controller, comprising:
[0006] For an electric safety belt controller, action information of a target scene is obtained, wherein the action information indicates that the electric safety belt controller triggers one control action.
[0007] According to the action information, a corresponding action instruction is generated, and the action instruction is transmitted to the electric safety belt controller through a hard line, so that the electric safety belt controller controls the electric safety belt according to the one control action indicated by the action instruction, and generates state information according to a control result, wherein the hard line transmission is performed through a pulse width modulation PMW wave.
[0008] The state information transmitted by the electric safety belt controller through the hard line is received, and the control result is obtained.
[0009] In an optional embodiment, the action information of the target scene is obtained, comprising:
[0010] In response to the target scene perceived by the domain controller, an action identifier associated with the target scene is determined from a preset action identifier set as action information of the target scene, wherein each action identifier indicates a control action of the electric safety belt controller.
[0011] Alternatively,
[0012] In response to the scene information sent by the vehicle driving system through the bus, a target scene indicated by the scene information is determined, and an action identifier associated with the target scene is determined from a preset action identifier set as action information of the target scene.
[0013] In an optional embodiment, the generating of the corresponding action instruction according to the action information comprises:
[0014] According to the one control action indicated by the action information, a target modulation frequency corresponding to the one control action is obtained from a preset modulation frequency set.
[0015] A pulse width modulation signal matching the target modulation frequency is generated, and the pulse width modulation signal is taken as the action instruction corresponding to the action information.
[0016] In an optional embodiment, the electric safety belt controller obtains a resistance value combination of a plurality of resistors associated with the electric safety belt according to the control result, and generates state information carrying the resistance value combination,
[0017] Then, the receiving of the state information transmitted by the electric safety belt controller through the hard line to obtain the control result comprises:
[0018] The state information carrying the resistance value combination transmitted by the electric safety belt controller through the hard line is received, and the control result is obtained according to the ohmic range to which each resistance value in the resistance value combination belongs.
[0019] In a second aspect, the embodiments of the present application provide an electric safety belt control method applied to an electric safety belt controller, comprising:
[0020] An action instruction transmitted by a domain controller through a hard line is received, wherein the action instruction is generated according to action information of a target scene, the action information indicates that the electric safety belt controller triggers a control action, and the hard line transmission is transmission through a pulse width modulation (PMW) wave.
[0021] The electric safety belt is controlled according to the one control action indicated by the action instruction, and state information is generated according to a control result.
[0022] transmit the state information to the domain controller through a hard line, so that the domain controller obtains the control result based on the state information.
[0023] In an optional embodiment, the generating the state information according to the control result comprises:
[0024] According to the control result, a resistance value combination of a plurality of resistances associated with the electric safety belt is obtained.
[0025] The state information carrying the resistance value combination is generated.
[0026] In a third aspect, the embodiments of the present application provide an electric safety belt control device, comprising:
[0027] An action module is configured to obtain action information of a target scene for an electric safety belt controller, wherein the action information indicates that the electric safety belt controller triggers one control action.
[0028] A transmission module is configured to generate a corresponding action instruction according to the action information, and transmit the action instruction to the electric safety belt controller through a hard line, so that the electric safety belt controller controls the electric safety belt according to the one control action indicated by the action instruction, and generates state information according to a control result, wherein the hard line transmission is performed through a pulse width modulation (PMW) wave.
[0029] An obtaining module is configured to receive the state information transmitted by the electric safety belt controller through the hard line, and obtain the control result.
[0030] In an optional embodiment, the obtaining the action information of the target scene, the action module is specifically configured to:
[0031] In response to a target scene perceived by the domain controller, an action identifier associated with the target scene is determined from a preset action identifier set as the action information of the target scene, wherein each action identifier indicates one control action of the electric safety belt controller.
[0032] Alternatively,
[0033] In response to scene information sent by a vehicle driving system through a bus, a target scene indicated by the scene information is determined, and an action identifier associated with the target scene is determined from a preset action identifier set as the action information of the target scene.
[0034] In an optional embodiment, the generating the corresponding action instruction according to the action information, the transmission module is specifically configured to:
[0035] According to the one control action indicated by the action information, a target modulation frequency corresponding to the one control action is obtained from a preset modulation frequency set.
[0036] A pulse width modulation signal matching the target modulation frequency is generated, and the pulse width modulation signal is taken as an action instruction corresponding to the action information.
[0037] In an optional embodiment, the electric safety belt controller obtains a resistance value combination of a plurality of resistors associated with the electric safety belt according to a control result, and generates state information carrying the resistance value combination.
[0038] The receiving of the state information transmitted by the electric safety belt controller through the hard line to obtain the control result, and the obtaining module is specifically configured to:
[0039] The receiving of the state information transmitted by the electric safety belt controller through the hard line to obtain the control result, and the obtaining module is specifically configured to:
[0040] In a fourth aspect, the embodiments of the present application provide an electric safety belt control device, comprising:
[0041] A receiving module is configured to receive an action instruction transmitted by a domain controller through a hard line, wherein the action instruction is generated according to action information of a target scene, the action information indicates that the electric safety belt controller triggers one control action, and the hard line transmission is performed through a pulse width modulation (PMW) wave.
[0042] A control module is configured to control the electric safety belt according to the one control action indicated by the action instruction, and generate state information according to a control result.
[0043] A sending module is configured to transmit the state information to the domain controller through the hard line, so that the domain controller obtains the control result based on the state information.
[0044] In an optional embodiment, the control module is specifically configured to:
[0045] According to the control result, a resistance value combination of a plurality of resistors associated with the electric safety belt is obtained.
[0046] State information carrying the resistance value combination is generated.
[0047] In a fifth aspect, an electronic device is provided, which includes a processor and a memory, wherein the memory stores program code which, when executed by the processor, causes the processor to perform the steps of the electric safety belt control method of the first aspect or the second aspect.
[0048] In a sixth aspect, a computer-readable storage medium is provided, which includes program code which, when executed on an electronic device, causes the electronic device to perform the steps of the electric safety belt control method of the first aspect or the second aspect.
[0049] The technical effects of the embodiments of the present application are as follows:
[0050] The embodiments of the present application provide an electric safety belt control method, device, electronic device and storage medium. A domain controller obtains action information of a target scene for an electric safety belt controller, and generates corresponding action instructions according to the action information. After the action instructions are transmitted to the electric safety belt controller through a hard line, a control result is obtained based on received state information of the electric safety belt controller. In the above manner, data transmission is performed through the hard line between the domain controller and the electric safety belt controller. On the one hand, the additional consumption of human resources and hardware resources caused by the high development complexity during the development of the CAN bus is avoided. On the other hand, the bus transceiver required for logical conversion is cancelled, and the hardware requirements for data transmission are further reduced. BRIEF DESCRIPTION OF DRAWINGS
[0051] Figure 1 A possible application scenario provided by the embodiments of the present application is shown in the following figure;
[0052] Figure 2 A schematic diagram of an electric safety belt control system provided by the embodiments of the present application is shown in the following figure;
[0053] Figure 3 A flowchart of an electric safety belt control method provided by the embodiments of the present application is shown in the following figure;
[0054] Figure 4 A flowchart of another electric safety belt control method provided by the embodiments of the present application is shown in the following figure;
[0055] Figure 5 A structural schematic diagram of an electric safety belt control device provided by the embodiments of the present application is shown in the following figure;
[0056] Figure 6 A structural schematic diagram of another electric safety belt control device provided by the embodiments of the present application is shown in the following figure;
[0057] Figure 7 A schematic diagram of an electronic device provided by the embodiments of the present application is shown in the following figure. DETAILED DESCRIPTION
[0058] The technical solutions in the embodiments of the present application will be clearly and completely described with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the scope of the present application.
[0059] It should be noted that in the description of the present application, "multiple" is understood as "at least two". The association relationship of "and / or" describing the associated objects means that there can be three relationships, for example, A and / or B can represent the three cases of A existing alone, A and B existing together, and B existing alone. A is connected with B, which can represent two cases: A is directly connected with B and A is connected with B through C. In addition, in the description of the present application, "first", "second", and the like are used only for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor indicating or implying order.
[0060] In addition, in the technical solutions of the present application, the collection, transmission, use, etc. of data all comply with the requirements of relevant national laws and regulations.
[0061] The design idea of the embodiments of the present application is as follows:
[0062] In the prior art, the information interaction of the electric safety belt controller is usually based on the vehicle bus CAN, for example, as shown in FIG. 1, the vehicle system (such as the advanced driving assistance system ADAS or the passive safety system PSS) and the electric safety belt controller are connected through the vehicle bus CAN to perform information interaction, and the interaction information includes motion posture, vehicle speed, braking, acceleration, and safety belt action indication. Figure 1
[0063] However, on the one hand, the development complexity of the CAN bus is usually high, so based on the above-mentioned manner, it is easy to cause more consumption of human resources and hardware resources, on the other hand, it is necessary to perform logic conversion according to the bus transceiver, which brings additional hardware cost.
[0064] In order to reduce the development cost and hardware requirement of data transmission between the domain controller and the electric safety belt controller, the embodiments of the present application provide an electric safety belt control method and device, electronic equipment and storage medium, the domain controller obtains the action information of the target scene for the electric safety belt controller, and generates the corresponding action instruction according to the action information, and after the action instruction is transmitted to the electric safety belt controller through the hard line, the control result is obtained based on the received state information of the electric safety belt controller.
[0065] Based on the above manner, the application adopts the hard wire between the domain controller and the electric safety belt controller for data transmission. Compared with the communication mode based on the CAN bus, the above manner avoids the additional consumption of human resources and hardware resources caused by the high development complexity. Meanwhile, the bus transceiver is not needed, which further reduces the hardware demand required for data transmission. Further, since the control signal transmitted by the hard wire is relatively simple (i.e., high and low levels), compared with the bus communication, the above manner also improves the stability of system data transmission.
[0066] Further, based on the above design idea, the electric safety belt control method provided by the application can be applied to but not limited to any vehicle with an electric safety belt, such as a car or an intelligent driving vehicle. Taking the intelligent driving vehicle as an example, referring to FIG. 2, it is shown that the intelligent driving vehicle can be equipped with an electric safety belt control system. The electric safety belt control system includes a vehicle driving system 201, a domain controller 202, an electric safety belt controller 203, and an electric safety belt 204. Figure 2
[0067] The vehicle driving system 201 is used for perceiving the target environment in which the vehicle is located, and transmitting the perceived environment information to the domain controller 202 through the vehicle bus. The vehicle driving system 201, such as the intelligent driving system of the vehicle.
[0068] The domain controller 202 is used for receiving the environment information and / or perceiving the target environment by itself, calculating the control logic for the electric safety belt to generate the corresponding control instruction, and transmitting the control instruction to the electric safety belt controller 203 through the hard wire. Optionally, the domain controller can be the airbag controller of the vehicle, and the control instruction corresponding to the target environment can be generated by the computer program deployed in the domain controller.
[0069] The electric safety belt controller 203 is used for receiving the control instruction transmitted by the domain controller 202 through the hard wire, and controlling the electric safety belt of the vehicle in response to the control instruction to obtain the control result.
[0070] The electric safety belt 204 is used for implementing the safety belt action indicated by the control instruction, and feeding back the control result (such as the running state, etc.) to the electric safety belt controller 203.
[0071] In an optional embodiment, the hard wire transmission can be understood as the data transmission created between the domain controller 202 and the electric safety belt controller 203 through the hard wire, such as the transmission by using the pulse width modulation (PMW) wave. In the data transmission, the domain controller 202 sends the control instruction generated for the target environment to the electric safety belt controller. Since the development complexity required by the hard wire is relatively low, the above manner can effectively reduce the development cost required for data transmission.
[0072] In an optional embodiment, after obtaining the control result, the electric safety belt controller returns the resistance value combination representing the control result to the domain controller 202 through hard-wire transmission in the form of a corresponding resistance value combination. The transmission carrier of the resistance value combination, for example, includes a pulse width modulation (PMW) wave, so that the domain controller 202 can monitor the running state of the electric safety belt 204 in real time, which is conducive to the upgrading and maintenance of the system.
[0073] Based on the above application scenarios, the electric safety belt control method provided by the embodiments of the present application will be further described and explained in combination with the accompanying drawings. Referring to FIG. 1, the electric safety belt control method provided by the embodiments of the present application includes the following steps: Figure 3
[0074] S301: For the electric safety belt controller, obtain the action information of the target scene.
[0075] S302: According to the action information, generate a corresponding action instruction, and transmit the action instruction to the electric safety belt controller through hard-wire transmission, so that the electric safety belt controller controls the electric safety belt according to a control action indicated by the action instruction, and generates state information according to a control result.
[0076] S303: Receive the state information transmitted by the electric safety belt controller through hard-wire transmission, and obtain the control result.
[0077] Specifically, the action information indicates that the electric safety belt controller triggers a control action, that is, according to the control functions defined by the electric safety belt controller, determines the control action to be performed by the electric safety belt controller on the electric safety belt in each action scene; optionally, the target scene can be perceived by other vehicle devices (such as vehicle driving systems) associated with the domain controller and obtained through bus transmission, or can be perceived and calculated by the domain controller itself.
[0078] For example, in the embodiments of the present application, according to one or more action scenes that may trigger the electric safety belt action, each control function to be executed by the electric safety belt controller on the electric safety belt in each action scene is defined artificially and / or through a related model, wherein each control function is associated with an action identifier in a preset action identifier set, and each action identifier can be used for a control action of the electric safety belt controller. Specifically, as shown in Table 1 below:
[0079] Table 1
[0080]
[0081] Belt Parking, Belt Slack Reduction, FCW / AEB / FCTA / TJP belt activation, RCTA belt activation, RCTA belt activation, RCW belt activation, Haptic Warning for DPS.
[0082] Further, in the embodiments of the present application, one of the action scenarios as shown above, which is perceived by the current vehicle driving system or domain controller, is taken as a target scenario, and from the action identifier set (1-4), the action identifier associated with the target scenario is taken as the action information of the target scenario, so as to generate the corresponding action instruction according to the action information.
[0083] In an alternative embodiment, a pulse width modulation signal (PMW) is used for hard-wire transmission, that is, the signal carrier of the PMW wave is taken as the action instruction transmitted by the domain controller and the electric safety belt controller through the hard-wire, specifically, according to the action information of the target scenario, a target modulation frequency corresponding to the action information is obtained from a preset modulation frequency set, and a pulse width modulation signal matching the target modulation frequency is taken as the action instruction to be transmitted.
[0084] For example, for each action identifier shown in Table 1 above, the corresponding modulation frequency is shown in Table 2 as follows:
[0085] Table 2
[0086] Action identification Action description Modulation frequency (Hz) Control action 1 Pretension with 250N for least 3s 200 1 2 Pretension with 140N for least 3s 100 2 3 Vibrate with 50N and 5Hz for least 3s 50 3 4 Pretension with 20N for least 3s 20 4
[0087] In the above, the Chinese interpretation of the action description is as follows: Pretension with 250N for least 3s, Pretension with 140N for least 3s, Vibrate with 50N and 5Hz for least 3s, Pretension with 20N for least 3s.
[0088] It can be seen that in the embodiment of the application, the action information corresponding to the perceived target environment is transmitted to the electric safety belt controller through the hard line by using the pulse width modulation (PMW) wave, thereby ensuring normal transmission of data.
[0089] Further, in an optional embodiment, after the domain controller transmits the action instruction to the electric safety belt controller, the electric safety belt controller acquires a resistance value combination of a plurality of resistors associated with the electric safety belt according to a control result, and generates state information through the resistance value combination, and then the domain controller can confirm the control result of the electric safety belt according to the resistance value combination after receiving the state information.
[0090] For example, the embodiment of the application uses different resistance value combinations of the following resistors associated with the electric safety belt: Switch 1 and Switch 2, which reflect different control results (for example, a plurality of possible working states of the electric safety belt) of the electric safety belt controller in the process of controlling the electric safety belt, as shown in Table 3 below:
[0091] Table 3
[0092]
[0093] Among them, R1, R2, R3, R4, R5 and R6 are six resistance values set for the resistors Switch 1 and Switch 2 respectively.
[0094] It can be seen that based on the above method, the electric safety belt controller transmits the resistance value combination representing the control result to the domain controller through the hard line, so that the domain controller can timely confirm the working state of the electric safety belt and troubleshoot according to the control result, thereby ensuring the user experience.
[0095] Further, based on the same design idea, the embodiment of the application also provides another electric safety belt control method, which can be applied to the electric safety belt controller, as shown in Figure 4 , which includes:
[0096] S401: receiving an action instruction transmitted by a domain controller through a hard line.
[0097] S402: controlling the electric safety belt according to a control action indicated by the action instruction, and generating state information according to a control result.
[0098] S403: transmitting the state information to the domain controller through the hard line, so that the domain controller obtains the control result based on the state information.
[0099] Specifically, the action instruction is generated according to action information of a target scene, and the action information indicates that the electric safety belt controller triggers a control action.
[0100] For example, in an embodiment of the present application, the electric safety belt controller can receive the action instruction generated by the domain controller through hard-wire transmission, which is transmission through a pulse width modulation (PMW) wave. The electric safety belt controller controls the electric safety belt according to the received action instruction and generates state information.
[0101] In an alternative embodiment, the electric safety belt controller obtains a resistance value combination of a plurality of resistors associated with the electric safety belt according to the control result and generates state information carrying the resistance value combination.
[0102] For example, in an embodiment of the present application, the electric safety belt controller obtains a resistance value combination of the following resistors associated with the electric safety belt: Switch 1 and Switch 2, and generates state information carrying the resistance value combination. The ohmic range to which the resistance value combination can belong can be shown in Table 3 above, which will not be described here again.
[0103] It can be seen that the electric safety belt control method provided in an embodiment of the present application receives the action instruction corresponding to the action information of the target scene generated by the domain controller, controls the electric safety belt according to a control action indicated by the action instruction, and generates state information according to the control result. The state information is transmitted to the domain controller through hard-wire transmission, so that the domain controller obtains the control result based on the state information. Based on the above method, data transmission is performed through the hard-wire between the domain controller and the electric safety belt controller. On the one hand, the additional consumption of human resources and hardware resources caused by the high development complexity during the development of the CAN bus is avoided. On the other hand, the bus transceiver required for logical conversion is cancelled, and the hardware requirement for data transmission is further reduced.
[0104] Further, based on the same technical concept, an embodiment of the present application further provides an electric safety belt control device for implementing the above-mentioned electric safety belt control method of the present application. Referring to Figure 5 The device includes an action module 501, a transmission module 502, and an obtaining module 503.
[0105] The action module 501 is configured to obtain action information of a target scene for an electric safety belt controller, wherein the action information indicates that the electric safety belt controller triggers a control action.
[0106] The transmission module 502 is configured to generate an action instruction corresponding to the action information, and transmit the action instruction to the electric safety belt controller through a hard line to control the electric safety belt according to the one control action indicated by the action instruction, and generate state information according to a control result.
[0107] The acquisition module 503 is configured to receive the state information transmitted by the electric safety belt controller through the hard line, and obtain the control result.
[0108] In an optional embodiment, the action information of the target scene is acquired, and the action module 501 is specifically configured to:
[0109] In response to the target scene perceived by the domain controller, an action identifier associated with the target scene is determined from a preset action identifier set as the action information of the target scene, wherein each action identifier indicates one control action of the electric safety belt controller.
[0110] Alternatively,
[0111] In response to the scene information sent by the vehicle driving system through the bus, the target scene indicated by the scene information is determined, and an action identifier associated with the target scene is determined from a preset action identifier set as the action information of the target scene.
[0112] In an optional embodiment, the action instruction corresponding to the action information is generated, and the transmission module 502 is specifically configured to:
[0113] According to the one control action indicated by the action information, a target modulation frequency corresponding to the one control action is acquired from a preset modulation frequency set.
[0114] A pulse width modulation signal matching the target modulation frequency is generated, and the pulse width modulation signal is taken as the action instruction corresponding to the action information.
[0115] In an optional embodiment, the electric safety belt controller acquires a resistance value combination of a plurality of resistors associated with the electric safety belt according to the control result, and generates state information carrying the resistance value combination,
[0116] The acquisition module 503 is specifically configured to:
[0117] The state information carrying the resistance value combination is received by the electric safety belt controller through hard-wire transmission, and the control result is obtained according to the ohmic range to which each resistance value in the resistance value combination belongs.
[0118] Further, based on the same technical concept, the embodiment of the present application also provides an electric safety belt control device for implementing the above-mentioned another electric safety belt control method of the embodiment of the present application. As shown in Figure 6 The device comprises a receiving module 601, a control module 602 and a sending module 603.
[0119] The receiving module 601 is configured to receive an action instruction transmitted by a domain controller through hard-wire transmission, wherein the action instruction is generated according to action information of a target scene, the action information indicates that the electric safety belt controller triggers a control action, and the hard-wire transmission is transmission through pulse width modulation (PMW) wave.
[0120] The control module 602 is configured to control the electric safety belt according to the control action indicated by the action instruction, and generate state information according to a control result.
[0121] The sending module 603 is configured to transmit the state information to the domain controller through hard-wire transmission, so that the domain controller obtains the control result based on the state information.
[0122] In an optional embodiment, the control module 602 is specifically configured to:
[0123] According to the control result, a resistance value combination of a plurality of resistances associated with the electric safety belt is obtained.
[0124] State information carrying the resistance value combination is generated.
[0125] Based on the same technical concept as the above-mentioned application embodiment, the embodiment of the present application also provides an electronic device which can be used for electric safety belt control. In an embodiment, the electronic device can be a server, a terminal device or other electronic device. In this embodiment, the structure of the electronic device can be as shown in Figure 7 The electronic device comprises a memory 701, a communication interface 703 and one or more processors 702.
[0126] The memory 701 is configured to store a computer program executed by the processor 702. The memory 701 can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system and programs required for running instant messaging functions, etc.; and the data storage area can store various instant messaging information and operation instruction sets, etc.
[0127] The memory 701 can be a volatile memory (volatile memory), such as a random-access memory (RAM); the memory 701 can also be a non-volatile memory (non-volatile memory), such as a read-only memory, a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), or the memory 701 is any other medium capable of carrying or storing desired program code in the form of instructions or data structures and capable of being accessed by a computer, but not limited to this. The memory 701 can be a combination of the above-mentioned memories.
[0128] The processor 702 can include one or more central processing units (CPU) or digital processing units, etc. The processor 702 is used to call the computer program stored in the memory 701 to realize any of the above-mentioned electric safety belt control methods.
[0129] The communication interface 703 is used for communication with terminal devices and other servers.
[0130] The specific connection medium between the above-mentioned memory 701, communication interface 703 and processor 702 is not limited in the embodiments of the present application. In the embodiments of the present application, the memory 701 and the processor 702 are connected through a bus 704, and the connection mode between other components is only schematically illustrated and is not limited. The bus 704 can be divided into an address bus, a data bus, a control bus, etc. For convenience of representation, only one thick line is used to represent the bus 704, but it does not mean that there is only one bus or only one type of bus. Figure 7 Figure 7 Figure 7
[0131] Based on the same inventive concept, the embodiments of the present application also provide a storage medium storing computer instructions, when the computer instructions run on a computer, the computer executes any of the electric safety belt control methods discussed above.
[0132] It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such division is only exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into units embodied by multiple units.
[0133] Moreover, although the operations of the method(s) herein can be described in a particular, sequential order, this order is not meant to be a limitation and
[0134] The embodiment of the present application provides an electric safety belt control method and device, electronic equipment and storage medium, a domain controller obtains action information of a target scene for an electric safety belt controller, generates corresponding action instructions according to the action information, transmits the action instructions to the electric safety belt controller through a hard line, obtains a control result based on received state information of the electric safety belt controller, and based on the above manner, data transmission is performed through the hard line between the domain controller and the electric safety belt controller, on one hand, the additional consumption of human resources and hardware resources caused by higher development complexity during CAN bus development is avoided, on the other hand, the bus transceiver required for logical conversion is cancelled, and the hardware requirement for data transmission is further reduced.
[0135] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system or a computer program product. Therefore, the present application can adopt a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware aspects. Moreover, the present application can adopt a computer program product in the form of being implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program codes.
[0136] The present application is described with reference to flowcharts and / or block diagrams according to the method, device (system) and computer program product of the embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of the flows and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing devices to produce a machine, so that the instructions executed by the computer or other programmable data processing devices produce a device for implementing the functions specified in the flowcharts and / or block diagrams. Figure 1 The function of one flow or multiple flows and / or blocks Figure 1 The function of one flow or multiple flows and / or blocks
[0137] Program code for carrying out operations of the present application can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device or entirely on the remote computing device or server.
[0138] In situations in which the remote computing device utilizes a network, the remote computing device can be connected to the user's computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN). Such networks are well known to those having ordinary skill in the art and therefore will not be discussed herein in more detail.
[0139] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the flow Figure 1 The flow Figure 1 The flow
[0140] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the flow Figure 1 The flow Figure 1 The flow
[0141] Obviously, numerous modifications and variations of the present application are possible in light of the above teachings. It is therefore to be understood that within the scope of the appended claims and their equivalents, the application can be practiced otherwise than as specifically described.
Claims
1. An electric seat belt control method characterized by, Applied to a domain controller, comprising: For an electric safety belt controller, obtaining action information of a target scene, wherein the action information indicates that the electric safety belt controller triggers one control action; According to the action information, generating a corresponding action instruction, and transmitting the action instruction to the electric safety belt controller through hard-wire transmission, so that the electric safety belt controller controls the electric safety belt according to the one control action indicated by the action instruction, and generates state information according to the control result, wherein the hard-wire transmission is transmission through a pulse width modulation (PWM) wave; the hard-wire transmission includes data transmission through hard-wire carried between the domain controller and the electric safety belt controller; wherein the electric safety belt controller obtains a resistance value combination of a plurality of resistors associated with the electric safety belt according to the control result, and generates state information carrying the resistance value combination; the resistance value combination reflects different control results of the electric safety belt controller for the electric safety belt in the process of controlling the electric safety belt; Receiving the state information transmitted by the electric safety belt controller through hard-wire transmission to obtain the control result; The receiving the state information transmitted by the electric safety belt controller through hard-wire transmission to obtain the control result, comprising: Receiving the state information carrying the resistance value combination transmitted by the electric safety belt controller through hard-wire transmission, and obtaining the control result according to the ohmic range to which each resistance value in the resistance value combination belongs.
2. The method of claim 1, wherein, The obtaining action information of a target scene, comprising: In response to a target scene perceived by the domain controller, obtaining an action identifier associated with the target scene from a preset action identifier set as the action information of the target scene, wherein each action identifier indicates one control action of the electric safety belt controller; Or, In response to scene information sent by a vehicle driving system through a bus, determining a target scene indicated by the scene information, and obtaining an action identifier associated with the target scene from a preset action identifier set as the action information of the target scene.
3. The method of claim 1 or 2, wherein, The generating a corresponding action instruction according to the action information, comprising: According to the one control action indicated by the action information, obtaining a target modulation frequency set for the one control action from a preset modulation frequency set; Generating a pulse width modulation signal matching the target modulation frequency, and taking the pulse width modulation signal as the action instruction corresponding to the action information.
4. An electric seat belt control method characterized by, Applied to an electric safety belt controller, comprising: Receiving an action instruction transmitted by a domain controller through hard-wire transmission, wherein the action instruction is generated according to action information of a target scene, the action information indicates that the electric safety belt controller triggers one control action, and the hard-wire transmission is transmission through a pulse width modulation (PWM) wave; the hard-wire transmission includes data transmission through hard-wire carried between the domain controller and the electric safety belt controller; Controlling the electric safety belt according to the one control action indicated by the action instruction, and generating state information according to the control result; transmit the state information to the domain controller through a hard line, so that the domain controller obtains the control result based on the state information; the state information is generated according to the control result, comprising: According to the control result, a plurality of resistance value combinations of resistors associated with the electric safety belt are obtained; generate state information carrying the resistance value combination; the resistance value combination reflects different control results of the electric safety belt controller in the process of controlling the electric safety belt; the domain controller obtains the control result based on the state information, comprising: receive the state information carrying the resistance value combination transmitted by the electric safety belt controller through a hard line, and obtain the control result according to the ohm range to which each resistance value in the resistance value combination belongs.
5. An electrically powered seat belt control device, characterized in that including: action module, for obtaining action information of target scene for electric safety belt controller, wherein the action information indicates that the electric safety belt controller triggers one control action; transmission module, for generating corresponding action instruction according to the action information, and transmitting the action instruction to the electric safety belt controller through a hard line, so that the electric safety belt controller controls the electric safety belt according to the one control action indicated by the action instruction, and generates state information according to the control result, wherein the hard line transmission is through pulse width modulation (PMW) wave transmission; the hard line transmission includes data transmission through the hard line between the domain controller and the electric safety belt controller; wherein the electric safety belt controller obtains a plurality of resistance value combinations of resistors associated with the electric safety belt according to the control result, and generates state information carrying the resistance value combination; the resistance value combination reflects different control results of the electric safety belt controller in the process of controlling the electric safety belt; acquisition module, for receiving the state information transmitted by the electric safety belt controller through a hard line, and obtaining the control result; the acquisition module is specifically used for: receive the state information carrying the resistance value combination transmitted by the electric safety belt controller through a hard line, and obtain the control result according to the ohm range to which each resistance value in the resistance value combination belongs.
6. An electrically powered seat belt control device, characterized by including: receiving module, for receiving action instruction transmitted by domain controller through hard line, wherein the action instruction is generated according to action information of target scene, the action information indicates that the electric safety belt controller triggers one control action, the hard line transmission is through pulse width modulation (PMW) wave transmission; the hard line transmission includes data transmission through the hard line between the domain controller and the electric safety belt controller; control module, for controlling the electric safety belt according to the one control action indicated by the action instruction, and generating state information according to the control result; sending module, for transmitting the state information to the domain controller through a hard line, so that the domain controller obtains the control result based on the state information; the control module is specifically used for: According to the control result, a resistance value combination of a plurality of resistances associated with the electric safety belt is obtained; State information carrying the resistance value combination is generated; the resistance value combination reflects different control results of the electric safety belt controller in the process of controlling the electric safety belt; The domain controller obtains the control result based on the state information, including: receiving the state information carrying the resistance value combination transmitted by the electric safety belt controller through a hard line, and obtaining the control result according to the ohmic range to which each of the plurality of resistance values in the resistance value combination belongs.
7. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the computer program to implement the method of any one of claims 1-3, or to make the processor execute the steps of the method of claim 4.
8. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1-3, or to make the processor execute the steps of the method of claim 4.
Citation Information
Patent Citations
A system and method for seat belt control
CN101400554A
Rear-row passenger behavior monitoring system and method
CN110723102A
Equipment control method and device, server and medium
CN113568717A
Vehicle body domain control device, vehicle body control system and vehicle
CN214112468U