Control method and related device
By dividing functions into intelligent controllers, the problems of high cost and poor versatility caused by direct connection between functional domain controllers and electrical components of the vehicle are solved, and the effect of reducing harness costs and improving hardware versatility is achieved.
Patent Information
- Application Number
- CN202311255943.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-26
- Publication Date
- 2025-03-28
AI Technical Summary
The existing functional domain controllers are directly connected to the dispersed electrical components of the vehicle, resulting in long wire harnesses, large quantities, high costs, and require a large amount of memory resources to interact with information, which is poor in versatility.
By dividing some functions of the area controller into the intelligent controller, the devices directly connected to the area controller are reduced, and the area network between the intelligent controller and the area controller is used for information interaction.
Reduces wiring harness costs, improves hardware versatility of regional controllers, makes their hardware designs more standardized, and reduces pressure on regional controllers, allowing them to concentrate resources for more important tasks.
Smart Images

Figure CN119717587A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of controller technology, and in particular to a control method and related devices. Background Art
[0002] As the vehicle's electronic and electrical architecture evolves from decentralized to centralized, hundreds of low-computing electronic control units (ECUs) can be streamlined into a few high-computing ECUs. Currently, most controllers are divided into functional domain controllers according to their functions. The software and hardware design of the functional domain controllers is strongly related to the functions of the area in which they are located.
[0003] However, the current functional domain controller is directly connected to the scattered electrical components of the entire vehicle. The wiring harness is long and numerous, the cost is high, and a certain amount of memory resources is required to exchange information with each directly connected electrical component. In addition, once a new function is required, the hardware needs to be redesigned, and the versatility is poor. Summary of the invention
[0004] The present application provides a control method and related devices, which can divide part of the functions of the regional controller into an intelligent controller, thereby reducing the number of devices directly connected to the regional controller, reducing the wiring harness cost, and facilitating improving the hardware versatility of the regional controller.
[0005] In a first aspect, an embodiment of the present application provides a control method, which is applied to an intelligent controller, wherein the intelligent controller is communicatively connected to a regional controller via a regional network, and the intelligent controller is connected to at least one device; the method comprises:
[0006] Collecting status information of the at least one device;
[0007] Feedback information is sent to the zone controller according to the status information of the at least one device, where the feedback information is associated with the status information of the at least one device.
[0008] Through the above embodiments, the devices originally directly connected to the regional controller can be connected to the intelligent controller, so that they can exchange information with the regional controller through the intelligent controller. Accordingly, the number of devices directly connected to the regional controller can be reduced, thereby reducing the length and number of wire harnesses and reducing the cost of wire harnesses; the hardware and functions of the regional controller can also be decoupled, which helps the hardware design of the regional controller to be standardized and improve versatility; in addition, the intelligent controller can share some tasks related to device interaction with the regional controller, such as information collection, data preprocessing and other tasks, which helps to reduce the pressure on the regional controller and enable the regional controller to concentrate resources on other more important tasks, such as data processing and calculation, gateway protocol conversion and other tasks.
[0009] In some possible implementations, sending feedback information to the regional controller according to the status information of the at least one device includes:
[0010] In the case where the current state information of the at least one device changes relative to the previous state information, performing standardization processing on the current state information to obtain current feedback information, and sending the current feedback information to the regional controller;
[0011] When the current state information of the at least one device does not change relative to the last state information, the last feedback information is sent to the regional controller, where the last feedback information is obtained by standardizing the last state information.
[0012] Through the above implementation, the intelligent controller sends corresponding feedback information to the regional controller according to whether the collected device status information changes, which is conducive to real-time monitoring of the device status information and rapid feedback of the device status information to the regional controller.
[0013] In some possible implementations, the method is also used for:
[0014] Receiving a control instruction sent by the regional controller;
[0015] The target device is driven to perform a corresponding action according to the control instruction sent by the regional controller, and the target device is a device in the at least one device connected to the intelligent controller.
[0016] Through the above implementation, the intelligent controller can also share the task of driving the device to perform actions for the regional controller, which helps to further reduce the pressure on the regional controller.
[0017] In some possible implementations, driving the target device to perform a corresponding action according to the control instruction sent by the regional controller includes:
[0018] When the current control instruction sent by the regional controller is changed relative to the last control instruction, the target device is driven to execute the action indicated by the current control instruction.
[0019] Through the above implementation, the intelligent controller drives the target device to perform corresponding actions according to whether the control instruction obtained from the regional controller changes, which is conducive to quickly responding to the control instruction and realizing real-time control of the target device.
[0020] In some possible implementations, the at least one device includes at least one sensor and / or at least one actuator.
[0021] Through the above implementation, the intelligent controller can be connected to the sensor and be responsible for tasks related to the interaction with the sensor, such as collecting sensor-related information, driving the sensor to perform related actions, etc. The intelligent controller can be connected to the actuator and be responsible for tasks related to the interaction with the actuator, such as collecting actuator-related information, driving the actuator to perform related actions, etc. Accordingly, the intelligent controller can share tasks related to the interaction with the sensor and tasks related to the interaction with the actuator for the regional controller, which helps to reduce the pressure on the regional controller.
[0022] In a second aspect, an embodiment of the present application provides a control method, which is applied to a regional controller, wherein the regional controller is communicatively connected to at least one intelligent controller via a regional network, and the intelligent controller is connected to at least one device; the method comprises:
[0023] receiving feedback information sent by the at least one intelligent controller, wherein the feedback information is associated with status information of a device connected to the at least one intelligent controller;
[0024] A control instruction is generated according to the feedback information sent by the at least one intelligent controller.
[0025] Through the above embodiments, the devices originally directly connected to the regional controller can be connected to the intelligent controller, so that they can exchange information with the regional controller through the intelligent controller. Accordingly, the number of devices directly connected to the regional controller can be reduced, thereby reducing the length and number of wire harnesses and reducing the cost of wire harnesses; the hardware and functions of the regional controller can also be decoupled, which helps the hardware design of the regional controller to be standardized and improve versatility; in addition, the intelligent controller can share some tasks related to device interaction with the regional controller, such as information collection, data preprocessing and other tasks, which helps to reduce the pressure on the regional controller and enable the regional controller to concentrate resources on other more important tasks, such as data processing and calculation, gateway protocol conversion and other tasks.
[0026] In some possible implementations, generating a control instruction according to feedback information sent by the at least one intelligent controller includes:
[0027] When the current feedback information sent by the at least one intelligent controller changes relative to the last feedback information, a control instruction is generated.
[0028] Through the above implementation, the regional controller generates corresponding control instructions according to whether the feedback information received from the intelligent controller changes, which is conducive to quickly generating control instructions and realizing real-time control of the target device.
[0029] In some possible implementations, the at least one device includes at least one sensor and / or at least one actuator.
[0030] Through the above implementation, the intelligent controller can be connected to the sensor and be responsible for tasks related to the interaction with the sensor, such as collecting sensor-related information, driving the sensor to perform related actions, etc. The intelligent controller can be connected to the actuator and be responsible for tasks related to the interaction with the actuator, such as collecting actuator-related information, driving the actuator to perform related actions, etc. Accordingly, the intelligent controller can share tasks related to the interaction with the sensor and tasks related to the interaction with the actuator for the regional controller, which helps to reduce the pressure on the regional controller.
[0031] In a third aspect, an embodiment of the present application provides a control device, which is applied to an intelligent controller, wherein the intelligent controller is connected to a regional controller through a regional network, and the intelligent controller is connected to at least one device; the device includes:
[0032] A processing unit, configured to collect status information of the at least one device;
[0033] A communication unit is used to send feedback information to the zone controller according to the status information of the at least one device, wherein the feedback information is associated with the status information of the at least one device.
[0034] In some possible implementations, the processing unit is further used to: when the current state information of the at least one device changes relative to the previous state information, standardize the current state information to obtain current feedback information; and the communication unit is specifically used to: send the current feedback information to the regional controller.
[0035] In some possible implementations, the communication unit is specifically used to: when the current status information of the at least one device has not changed relative to the previous status information, send the previous feedback information to the regional controller, and the previous feedback information is obtained by standardizing the previous status information.
[0036] In some possible implementations, the communication unit is further used to: receive control instructions sent by the regional controller; the processing unit is further used to: drive the target device to perform corresponding actions according to the control instructions sent by the regional controller, and the target device is a device among the at least one device connected to the intelligent controller.
[0037] In some possible implementations, when the processing unit drives the target device to perform a corresponding action according to the control instruction sent by the regional controller, it is specifically used to: when the current control instruction sent by the regional controller changes relative to the previous control instruction, drive the target device to perform the action indicated by the current control instruction.
[0038] In some possible implementations, the at least one device includes at least one sensor and / or at least one actuator.
[0039] In a fourth aspect, an embodiment of the present application provides a control device, which is applied to a regional controller, wherein the regional controller is communicatively connected to at least one intelligent controller via a regional network, and the intelligent controller is connected to at least one device; the device comprises:
[0040] a communication unit, configured to receive feedback information sent by the at least one intelligent controller, wherein the feedback information is associated with status information of a device connected to the at least one intelligent controller;
[0041] A processing unit is used to generate a control instruction according to the feedback information sent by the at least one intelligent controller.
[0042] In some possible implementations, the processing unit is specifically configured to generate a control instruction when current feedback information sent by the at least one intelligent controller changes relative to last feedback information.
[0043] In some possible implementations, the at least one device includes at least one sensor and / or at least one actuator.
[0044] In a fifth aspect, an embodiment of the present application provides an intelligent controller, which is communicatively connected to a regional controller via a regional network, and is connected to at least one device; the intelligent controller includes a processor, and when the processor calls a computer program or instruction in a memory, the method in the above-mentioned first aspect or any possible implementation manner thereof is executed.
[0045] In a sixth aspect, an embodiment of the present application provides a regional controller, which is communicatively connected to at least one intelligent controller via a regional network, and the intelligent controller is connected to at least one device; the regional controller includes a processor, and when the processor calls a computer program or instruction in a memory, the method in the above-mentioned second aspect or any possible implementation manner thereof is executed.
[0046] In the seventh aspect, an embodiment of the present application provides a control system, comprising a regional controller and at least one intelligent controller, wherein the regional controller is communicatively connected to the at least one intelligent controller via a regional network, and each of the intelligent controllers is connected to at least one device; the intelligent controller is used to execute the method in the above-mentioned first aspect or any possible implementation manner, and the regional controller is used to execute the method in the above-mentioned second aspect or any possible implementation manner.
[0047] In an eighth aspect, an embodiment of the present application provides a vehicle, which includes the control device of the third aspect or any possible implementation manner thereof, and / or the control device of the fourth aspect or any possible implementation manner thereof.
[0048] In a ninth aspect, an embodiment of the present application provides a vehicle, wherein the vehicle includes the intelligent controller in the fifth aspect and / or the vehicle includes the zone controller in the sixth aspect.
[0049] In a tenth aspect, an embodiment of the present application provides a vehicle, comprising the control system in the seventh aspect above.
[0050] In the eleventh aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program or instructions are stored. When the computer program or instructions are executed, the method of any one of the first to second aspects above or any possible implementation manner thereof is implemented.
[0051] In the twelfth aspect, an embodiment of the present application provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are executed, the method of any one of the first to second aspects above or any possible implementation thereof is implemented.
[0052] The beneficial effects brought about by the third to twelfth aspects mentioned above can be referred to the description of the beneficial effects in the first to second aspects, and will not be repeated here.
[0053] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 It is a structural schematic diagram of a control system provided in an embodiment of the present application;
[0055] Figure 2 It is a structural schematic diagram of an intelligent controller provided in an embodiment of the present application;
[0056] Figure 3 It is a flow chart of a control method provided in an embodiment of the present application;
[0057] Figure 4 It is a flow chart of a control method provided in an embodiment of the present application;
[0058] Figure 5 is a structural schematic diagram of a control device provided in an embodiment of the present application;
[0059] Figure 6It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0060] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0061] The terms "first", "second", etc. in the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0062] It should be understood that in the present application, "at least one (item)" means one or more, "more than one" means two or more, and "at least two (items)" means two or three and more than three. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " can indicate that the previous and next associated objects are in an "or" relationship, which refers to any combination of these items, including any combination of single items (items) or plural items (items). For example, at least one item (item) of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0063] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0064] As the vehicle's electronic and electrical architecture evolves from decentralized to centralized, hundreds of low-computing electronic control units (ECUs) can be streamlined into a few high-computing ECUs. Currently, most controllers are divided into functional domain controllers according to their functions. The software and hardware design of the functional domain controllers is strongly related to the functions of the area in which they are located.
[0065] However, the current functional domain controller is directly connected to the scattered electrical components of the entire vehicle. The wiring harness is long and numerous, the cost is high, and a certain amount of memory resources is required to exchange information with each directly connected electrical component. In addition, once a new function is required, the hardware needs to be redesigned, and the versatility is poor.
[0066] Based on this, an embodiment of the present application provides a control method and related devices to solve the above problems.
[0067] See also Figure 1 , Figure 1 1 is a schematic diagram of a control system provided in an embodiment of the present application. The control system includes a regional controller 101 and at least one intelligent controller 102. The regional controller 101 is connected to the at least one intelligent controller 102 through a regional network. Each intelligent controller 102 is connected to at least one device ( Figure 1 ) connection.
[0068] The regional controller 101 refers to a controller divided according to physical regions. The regional controller 101 can be used as a controller for a certain region and is responsible for the control tasks in the region. For example, assuming that the vehicle is divided into four regions: left front, right front, left rear, and right rear, the regional controller 101 can be a controller responsible for any of the regions.
[0069] Different areas of the vehicle may correspond to different communication networks (referred to as regional networks), and the entire vehicle network may be divided into multiple regional networks (eg, communication networks for the four areas of left front, right front, left rear and right rear). Figure 1 The regional network shown refers to the communication network in the area where the regional controller 101 is located, which can be understood as the medium for the regional controller 101 to communicate with the intelligent controller 102, that is, the regional controller 101 and the intelligent controller 102 transmit data through the regional network. The communication network in the area where the regional controller 101 is located can be divided into one or more regional networks (for example, regional network 1, ..., regional network n), and the regional networks can be divided according to the principle of regional proximity or business functions, which is not limited in the embodiments of the present application. Each regional network can cover one or more intelligent controllers 102, and the intelligent controllers 102 in each regional network are connected to the regional controller 101 through the regional network.
[0070] The intelligent controller 102 can be understood as a controller for assisting the regional controller 101 in performing regional control. The intelligent controller 102 can be connected to some devices in the nearby area, serving as a connection bridge between the devices and the regional controller 101, and is responsible for information collection and control of the devices, so that the connection mode between the devices and the regional controller 101 is changed from a direct connection mode to a connection with the regional controller 101 through the intelligent controller 102, so that a large amount of data can be exchanged with the regional controller 101 based on the communication network.
[0071] Optionally, the regional controller 101 may also retain some hard-wired interfaces, such as input / output (I / O) interfaces, for direct connection with one or more key components 103. Exemplarily, the key component 103 may be a component that has high requirements for real-time or security of information interaction.
[0072] Optionally, the regional controller 101 can also serve as a regional gateway for exchanging data with controllers in other regions. Figure 1 The regional controller 101 and other regional controllers can be connected to the central gateway via a communication bus. The regional controller 101 can forward control instructions from other regional controllers to control the intelligent controller 102 in its own regional network.
[0073] In the above control system, the devices that were originally directly connected to the regional controller can be connected to the intelligent controller so that they can exchange information with the regional controller through the intelligent controller. In this way, the number of devices directly connected to the regional controller can be reduced, thereby reducing the length and number of wire harnesses and reducing the cost of wire harnesses; the hardware and functions of the regional controller can also be decoupled, which helps the hardware design of the regional controller to be standardized and improve versatility; in addition, the intelligent controller can share some tasks related to device interaction with the regional controller, such as information collection, data preprocessing and other tasks, which helps to reduce the pressure on the regional controller and enable the regional controller to concentrate resources on other more important tasks, such as data processing and calculation, gateway protocol conversion and other tasks.
[0074] By dividing some of the original functions of the domain controller into the intelligent controller, the domain controller can better develop from functional domain control to regional control, which is in line with the orientation of the central computing + regional architecture and is more conducive to iteration to the central computing + regional architecture.
[0075] In a possible implementation, at least one device connected to the intelligent controller includes at least one sensor and / or at least one actuator.
[0076] The sensor may include but is not limited to a voltage sensor, a current sensor, a resistance sensor, a temperature sensor, a humidity sensor or a switch sensor, etc., for collecting relevant analog signals or pulse signals. The actuator may include but is not limited to a DC motor, a stepper motor or a relay, etc., for performing relevant actions.
[0077] Through the above implementation, the intelligent controller can be connected to the sensor and be responsible for tasks related to the interaction with the sensor, such as collecting sensor-related information, driving the sensor to perform related actions, etc. The intelligent controller can be connected to the actuator and be responsible for tasks related to the interaction with the actuator, such as collecting actuator-related information, driving the actuator to perform related actions, etc. Accordingly, the intelligent controller can share tasks related to the interaction with the sensor and tasks related to the interaction with the actuator for the regional controller, which helps to reduce the pressure on the regional controller.
[0078] See also Figure 2 , Figure 2 It is a structural schematic diagram of an intelligent controller provided in an embodiment of the present application, wherein the intelligent controller includes a main control module 201, a first processing module 202, a second processing module 203 and a communication module 204. The main control module 201 can be communicated with the first processing module 202 and the second processing module 203 respectively, and the first processing module 202 and the second processing module 203 can also be communicated with each other. The main control module 201 can also be communicated with the regional controller of the corresponding regional network through the communication module 204.
[0079] The first processing module 202 is connected to an external sensor and can be used to collect sensor-related information and drive the sensor to perform related actions. Optionally, the first processing module 202 includes a first signal acquisition circuit and a first drive circuit, which are respectively used to collect sensor-related information and drive the sensor to perform related actions, and the drive mode can be a high-side drive or a low-side drive.
[0080] The second processing module 203 is connected to the external actuator, and can be used to collect actuator-related information and can also be used to drive the actuator to perform related actions. Optionally, the second processing module 203 includes a second signal acquisition circuit and a second drive circuit, which are respectively used to collect actuator-related information and drive the actuator to perform related actions, and the drive mode can be high-side drive or low-side drive.
[0081] Optionally, the first processing module 202 can be provided with a plurality of interfaces for connecting sensors, and the second processing module 203 can be provided with a plurality of interfaces for connecting actuators, wherein redundant interfaces can be used to expand new functions or to form a redundant structure, thereby helping to improve the scalability, reliability and flexibility of the entire system.
[0082] Optionally, the main control module 201 may be a microcontroller unit (MCU). The communication module 204 may be a communication bus, such as a controller area network (CAN) bus, a local interconnect network (LIN) bus or an Ethernet (ETH) bus.
[0083] Optionally, the intelligent controller further comprises a power supply module 205 for providing working power. Optionally, the working power supply can be controlled by the regional controller for power distribution.
[0084] In the above-mentioned intelligent controller, standardized general hardware can be used to make parts more interchangeable and production and maintenance costs lower; and multi-function and multi-interface can be designed to add other functions and have scalability; redundant structures can also be designed to improve reliability and flexibility. In terms of software, the intelligent controller can standardize the information of sensors / actuators and transmit it through the network. The development difficulty of this software function is relatively low and the development cycle is relatively short; it can also integrate protection programs for sensors / actuators to improve security and stability; it can also add online upgrade (Over the Air, OTA) function to realize software upgrade. Standardized hardware also helps to reduce the complexity of upgrades. In subsequent function upgrades, it is only necessary to design for the corresponding sensors / actuators, and basically maintain zero interference with other devices, thereby reducing the time required for iteration and reducing the difficulty and risk of iteration.
[0085] See also Figure 3 , Figure 3 is a flow chart of a control method provided in an embodiment of the present application, which can be applied to Figure 1 or Figure 2 The intelligent controller shown in the figure, the control method includes the following steps S301 to S302.
[0086] S301, collecting status information of at least one device.
[0087] At least one device is recorded as N devices, where N is an integer greater than or equal to 1, and the intelligent controller is connected to the N devices to collect status information of the N devices. Optionally, the N devices include M sensors and / or K actuators, where M and K are both integers greater than or equal to 1.
[0088] Exemplarily, the state information of the sensor may include voltage value, current value, resistance value, switch state, etc., and the state information of the actuator may include motor speed, motor rotation direction, etc.
[0089] S302: Send feedback information to the regional controller according to the status information of at least one device, where the feedback information is associated with the status information of the at least one device.
[0090] After the intelligent controller collects the status information of N devices, it needs to forward the status information of the N devices to the regional controller. The feedback information can be understood as the information actually forwarded by the intelligent controller to the regional controller to indicate the status information of the N devices. The feedback information is associated with the status information of the N devices, so that the regional controller can know the status information of the N devices through the feedback information.
[0091] Optionally, the intelligent controller performs standardization processing on the status information of each of the N devices to obtain standardized status information of each device, and the intelligent controller sends the standardized status information of the N devices to the regional controller as feedback information, and correspondingly, the regional controller receives the standardized status information of the N devices. Through standardization processing, the intelligent controller can convert actual status information into abstract logic information, so that the regional controller can directly obtain the logic information and perform corresponding control based on the logic information.
[0092] For example, taking the state information as the current value, a mapping relationship between the current value and the logical value can be established. For example, when the current value is in the range of 0 to 1A, the corresponding logical value is 1, when the current value is in the range of 1 to 5A, the corresponding logical value is 2, and when the current value is greater than 5A, the corresponding logical value is 3. After the intelligent controller collects the current value, it can convert the collected current value into a corresponding logical value according to the collected current value and the above mapping relationship, and send the logical value to the regional controller. Optionally, the logical value can indicate the working gear of a certain device, so that the regional controller can control the gear of the device accordingly according to the logical value.
[0093] Through the above control method, the intelligent controller can share some tasks related to device interaction with the regional controller, such as information collection, data preprocessing and other tasks, which helps to reduce the pressure on the regional controller and enables the regional controller to concentrate resources on more important tasks, such as data processing and calculation, gateway protocol conversion and other tasks.
[0094] In a possible implementation, the intelligent controller sends feedback information to the regional controller based on the status information of at least one device, which may specifically include: when the current status information of at least one device changes relative to the previous status information, the intelligent controller standardizes the current status information to obtain current feedback information, and sends the current feedback information to the regional controller; when the current status information of at least one device does not change relative to the previous status information, the intelligent controller sends the previous feedback information to the regional controller, and the previous feedback information is obtained by standardizing the previous status information.
[0095] For each of the N devices connected to the intelligent controller, the intelligent controller can periodically or non-periodically collect the status information of the device. For example, the intelligent controller can collect the status information of the device once at regular intervals. Each time the intelligent controller collects the status information of the device, it can use the status information as the current status information of the device and send feedback information about the device to the regional controller.
[0096] In one case, the current state information of the device is the state information of the device collected by the intelligent controller for the first time. At this time, there is no previous state information, and the previous state information refers to the state information of the device collected by the intelligent controller last time. In this case, the intelligent controller can perform standardization processing on the current state information of the device, obtain feedback information about the device (recorded as current feedback information), and send the current feedback information to the regional controller.
[0097] In another case, the current state information of the device is not the state information of the device collected by the intelligent controller for the first time. In this case, there is the last state information, which refers to the state information of the device collected by the intelligent controller last time. In this case, the intelligent controller can determine whether the current state information of the device has changed relative to the last state information, and send corresponding feedback information to the regional controller according to the determination result.
[0098] If the current state information of the device changes relative to the last state information, the feedback information about the device that the intelligent controller needs to send to the regional controller (i.e., the current feedback information) may also change relative to the last feedback information. The last feedback information refers to the feedback information about the device that the intelligent controller sent to the regional controller after it last collected the state information of the device. Therefore, the intelligent controller needs to re-determine the feedback information, i.e., update the feedback information. Specifically, the intelligent controller can perform standardization processing on the current state information of the device, obtain the current feedback information, and send the current feedback information to the regional controller.
[0099] If the current status information of the device has not changed compared with the previous status information, the feedback information about the device that the intelligent controller currently needs to send to the regional controller (i.e., the current feedback information) is the same as the previous feedback information. The previous feedback information refers to the feedback information about the device sent to the regional controller by the intelligent controller after the intelligent controller last collected the status information of the device. Therefore, the intelligent controller does not need to re-determine the feedback information, that is, it does not need to update the feedback information, and can directly send the previous feedback information to the regional controller, which helps to improve feedback efficiency.
[0100] Through the above implementation, the intelligent controller sends corresponding feedback information to the regional controller according to whether the collected device status information changes, which is conducive to real-time monitoring of the device status information and rapid feedback of the device status information to the regional controller.
[0101] In a possible implementation, after sending feedback information to the regional controller, the intelligent controller may also: receive control instructions sent by the regional controller; and drive a target device to perform corresponding actions according to the control instructions sent by the regional controller, where the target device is a device in at least one device connected to the intelligent controller.
[0102] The regional controller sends a control instruction through the regional network. The intelligent controller can obtain the control instruction by parsing the signal data in the corresponding regional network. The control instruction can be for all or part of the N devices connected to the intelligent controller. The target device refers to the device targeted by the control instruction, and the number of target devices can be one or more. The intelligent controller determines the target device according to the control instruction and drives the target device to perform the corresponding action.
[0103] Through the above implementation, the intelligent controller can also share the task of driving the device to perform actions for the regional controller, which helps to further reduce the pressure on the regional controller.
[0104] In a possible implementation, the intelligent controller drives the target device to perform a corresponding action according to the control instruction sent by the regional controller, which may specifically include: when the current control instruction sent by the regional controller changes relative to the previous control instruction, driving the target device to perform the action indicated by the current control instruction.
[0105] For each target device, each time the intelligent controller obtains a control instruction for the current device, the control instruction may be used as the current control instruction for the target device, and the target device may be driven to perform a corresponding action according to the current control instruction.
[0106] In one case, the current control instruction is the control instruction for the target device obtained by the intelligent controller for the first time, and there is no previous control instruction at this time. The previous control instruction refers to the control instruction for the target device obtained by the intelligent controller last time. In this case, the intelligent controller can drive the target device to perform the action indicated by the current control instruction. Optionally, the intelligent controller can also provide the regional controller with real-time feedback on the state information of the target device after being driven.
[0107] In another case, the current control instruction is not the first control instruction for the target device obtained by the intelligent controller. In this case, there is a previous control instruction, which refers to the control instruction for the target device obtained by the intelligent controller last time. In this case, the intelligent controller can determine whether the current control instruction has changed relative to the previous control instruction. If the current control instruction has changed relative to the previous control instruction, the intelligent controller drives the target device to perform the action indicated by the current control instruction. Optionally, the intelligent controller can also provide the regional controller with real-time feedback on the state information of the target device after being driven. If the current control instruction has not changed relative to the previous control instruction, the intelligent controller may not drive and control the target device, so that the target device remains in the current state.
[0108] Through the above implementation, the intelligent controller drives the target device to perform corresponding actions according to whether the control instruction obtained from the regional controller changes, which is conducive to quickly responding to the control instruction and realizing real-time control of the target device.
[0109] See also Figure 4 , Figure 4 is a flow chart of a control method provided in an embodiment of the present application, which can be applied to Figure 1 The zone controller shown in FIG. 4 includes the following steps S401 to S402 .
[0110] S401, receiving feedback information sent by at least one intelligent controller, where the feedback information is associated with status information of a device connected to the at least one intelligent controller.
[0111] At least one intelligent controller is recorded as Z intelligent controllers, where Z is an integer greater than or equal to 1. The regional controller is connected to the Z intelligent controllers through a regional network and receives feedback information sent by the Z intelligent controllers.
[0112] It should be understood that for the specific description of the intelligent controller and feedback information, reference can be made to the relevant description in the previous embodiments, and will not be repeated here.
[0113] S402: Generate a control instruction according to feedback information sent by at least one intelligent controller.
[0114] After receiving the feedback information sent by the Z intelligent controllers, the regional controller can generate corresponding control instructions according to the feedback information, and the control instructions are used to indicate the actions to be performed by the target device.
[0115] After the regional controller generates the control instruction, it can send the control instruction to the target intelligent controller. The target intelligent controller can be understood as the intelligent controller connected to the device (i.e., the target device) targeted by the control instruction. After receiving the control instruction, the target intelligent controller can drive the target device to perform corresponding actions according to the control instruction.
[0116] Through the above control method, the intelligent controller can share some tasks related to device interaction with the regional controller, such as information collection, data preprocessing and other tasks, which helps to reduce the pressure on the regional controller and enables the regional controller to concentrate resources on more important tasks, such as data processing and calculation, gateway protocol conversion and other tasks.
[0117] In a possible implementation, the regional controller generates a control instruction according to feedback information sent by at least one intelligent controller, which may specifically include: generating a control instruction when current feedback information sent by at least one intelligent controller changes relative to previous feedback information.
[0118] Each time the regional controller receives feedback information, it may use the feedback information as current feedback information and generate corresponding control instructions according to the current feedback information.
[0119] In one case, the current feedback information is the feedback information received by the regional controller for the first time, and there is no previous feedback information at this time, and the previous feedback information refers to the feedback information received by the regional controller last time. In this case, the regional controller can generate a corresponding control instruction according to the current feedback information and send the control instruction to the target intelligent controller.
[0120] In another case, the current feedback information is not the first feedback information received by the regional controller, and there is previous feedback information, which refers to the feedback information received by the regional controller last time. In this case, the regional controller can determine whether the current feedback information has changed relative to the previous feedback information, and generate corresponding control instructions according to the determination result.
[0121] If the current feedback information changes relative to the last feedback information, the control instruction that the regional controller needs to generate currently may also change relative to the last control instruction, and the last control instruction refers to the control instruction generated by the regional controller according to the last feedback information, so the regional controller needs to regenerate the control instruction. Specifically, the regional controller can generate a corresponding control instruction according to the current feedback information and send the control instruction to the target intelligent controller.
[0122] If the current feedback information has not changed relative to the previous feedback information, the control instruction currently required to be generated by the regional controller is the same as the previous control instruction. The previous control instruction refers to the control instruction generated by the regional controller based on the previous feedback information. Therefore, the regional controller does not need to regenerate and send the control instruction to keep the target device in its current state.
[0123] Through the above implementation, the regional controller generates corresponding control instructions according to whether the feedback information received from the intelligent controller changes, which is conducive to quickly generating control instructions and realizing real-time control of the target device.
[0124] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.
[0125] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.
[0126] See also Figure 5 , Figure 5 Schematic diagram of a control device provided in an embodiment of the present application. Figure 5 As shown, the control device 500 includes a processing unit 501 and a communication unit 502 .
[0127] In a possible design, the control device 500 may correspond to the intelligent controller in the above embodiment, and the control device 500 may include a unit for executing the operations performed by the intelligent controller in the above method embodiment. The description of each unit is as follows:
[0128] The processing unit 501 is used to collect status information of at least one device;
[0129] The communication unit 502 is used to send feedback information to the zone controller according to the status information of at least one device, where the feedback information is associated with the status information of at least one device.
[0130] In some possible implementations, the processing unit 501 is further used to: when the current state information of at least one device changes relative to the previous state information, standardize the current state information to obtain current feedback information; the communication unit 502 is specifically used to: send the current feedback information to the regional controller.
[0131] In some possible implementations, the communication unit 502 is specifically used to: when the current status information of at least one device has not changed relative to the previous status information, send the previous feedback information to the regional controller, where the previous feedback information is obtained by standardizing the previous status information.
[0132] In some possible implementations, the communication unit 502 is used to: receive control instructions sent by the regional controller; the processing unit is also used to: drive the target device to perform corresponding actions according to the control instructions sent by the regional controller, and the target device is a device in at least one device connected to the intelligent controller.
[0133] In some possible implementations, when the processing unit 501 drives the target device to perform a corresponding action according to the control instruction sent by the regional controller, it is specifically used to: when the current control instruction sent by the regional controller changes relative to the previous control instruction, drive the target device to perform the action indicated by the current control instruction.
[0134] In some possible implementations, the at least one device includes at least one sensor and / or at least one actuator.
[0135] In another possible design, the control device 500 may correspond to the regional controller in the above embodiment, and the control device 500 may include a unit for executing the operations performed by the regional controller in the above method embodiment. The description of each unit is as follows:
[0136] A communication unit 502, configured to receive feedback information sent by at least one intelligent controller, wherein the feedback information is associated with status information of a device connected to the at least one intelligent controller;
[0137] The processing unit 501 is used to generate a control instruction according to feedback information sent by at least one intelligent controller.
[0138] In some possible implementations, the processing unit 501 is specifically configured to generate a control instruction when current feedback information sent by at least one intelligent controller changes relative to last feedback information.
[0139] In some possible implementations, the at least one device includes at least one sensor and / or at least one actuator.
[0140] For the specific definition of the control device, please refer to the definition of the control method above, which will not be repeated here. Each unit in the above control device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above units can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above units.
[0141] See also Figure 6 , Figure 6 6 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 600 includes a processor 601. Optionally, the electronic device 600 also includes a memory 602. Optionally, the electronic device 600 also includes a communication interface 603 and a bus 604. The processor 601, the memory 602 and the communication interface 603 are connected to each other through the bus 604. The memory 602 stores a computer program or instruction, and the processor 601 is used to execute the computer program or instruction stored in the memory 602 to implement the method in the above-mentioned method embodiments.
[0142] In one possible design, the electronic device 600 may correspond to the intelligent controller in the previous embodiment, and the processor 601 is used to execute the computer program or instructions stored in the memory 602 to implement the method performed by the intelligent controller in the above method embodiment.
[0143] In another possible design, the electronic device 600 may correspond to the regional controller in the previous embodiment, and the processor 601 is used to execute the computer program or instructions stored in the memory 602 to implement the method performed by the regional controller in the above method embodiment.
[0144] An embodiment of the present application also provides a control system, which includes a zone controller and at least one intelligent controller; wherein the intelligent controller is the intelligent controller in the previous embodiment, and is used to execute the method executed by the intelligent controller in the above method embodiment; the zone controller is the zone controller in the previous embodiment, and is used to execute the method executed by the zone controller in the above method embodiment.
[0145] An embodiment of the present application further provides a vehicle, which includes the above-mentioned control device 500 or the electronic device 600 or the above-mentioned control system.
[0146] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program or instruction is stored. When the computer program or instruction is executed, the method in the above-mentioned method embodiments is implemented.
[0147] An embodiment of the present application further provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are executed, the methods in the above-mentioned method embodiments are implemented.
[0148] It should be understood that the memory / readable storage medium in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both a volatile memory and a non-volatile memory. Among them, the non-volatile memory may be a hard disk drive (HDD), a solid-state drive (SSD), a read-only memory (ROM) or a flash memory, etc. The volatile memory may be a random access memory (RAM) or an external cache memory. As an illustration and not limitation, RAM may be in various forms, such as a static random access memory (SRAM) or a dynamic random access memory (DRAM), etc.
[0149] The processor in the embodiments of the present application may be a combination of one or more processing modules such as a central processing unit (CPU), a graphics processing unit (GPU) or a microprocessor (MPU), and may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0150] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0151] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application.
Claims
1. A control method, characterized in that: Applied to an intelligent controller, the intelligent controller is connected to a regional controller through a regional network, and the intelligent controller is connected to at least one device; the method comprises: Collecting status information of the at least one device; Feedback information is sent to the zone controller according to the status information of the at least one device, where the feedback information is associated with the status information of the at least one device.
2. The method according to claim 1, characterized in that The sending feedback information to the regional controller according to the status information of the at least one device comprises: In the case where the current state information of the at least one device changes relative to the previous state information, performing standardization processing on the current state information to obtain current feedback information, and sending the current feedback information to the regional controller; When the current state information of the at least one device does not change relative to the last state information, the last feedback information is sent to the regional controller, where the last feedback information is obtained by standardizing the last state information.
3. The method according to claim 1, characterized in that The method is also used to: Receiving a control instruction sent by the regional controller; The target device is driven to perform a corresponding action according to the control instruction sent by the regional controller, and the target device is a device in the at least one device connected to the intelligent controller.
4. The method according to claim 3, characterized in that The step of driving the target device to perform a corresponding action according to the control instruction sent by the regional controller includes: When the current control instruction sent by the regional controller is changed relative to the last control instruction, the target device is driven to execute the action indicated by the current control instruction.
5. The method according to any one of claims 1 to 4, characterized in that: The at least one component includes at least one sensor and / or at least one actuator.
6. A control method, characterized in that: Applied to a regional controller, the regional controller is communicatively connected to at least one intelligent controller via a regional network, and the intelligent controller is connected to at least one device; the method comprises: receiving feedback information sent by the at least one intelligent controller, wherein the feedback information is associated with status information of a device connected to the at least one intelligent controller; A control instruction is generated according to the feedback information sent by the at least one intelligent controller.
7. The method according to claim 6, characterized in that The generating a control instruction according to the feedback information sent by the at least one intelligent controller comprises: When the current feedback information sent by the at least one intelligent controller changes relative to the last feedback information, a control instruction is generated.
8. The method according to claim 6 or 7, characterized in that: The at least one component includes at least one sensor and / or at least one actuator.
9. A control device, characterized in that: Applied to an intelligent controller, the intelligent controller is connected to a regional controller through a regional network, and the intelligent controller is connected to at least one device; the device comprises: A processing unit, configured to collect status information of the at least one device; A communication unit is used to send feedback information to the zone controller according to the status information of the at least one device, wherein the feedback information is associated with the status information of the at least one device.
10. A control device, characterized in that: Applied to a regional controller, the regional controller is connected to at least one intelligent controller through a regional network, and the intelligent controller is connected to at least one device; the device comprises: a communication unit, configured to receive feedback information sent by the at least one intelligent controller, wherein the feedback information is associated with status information of a device connected to the at least one intelligent controller; A processing unit is used to send a control instruction to a target intelligent controller according to feedback information sent by the at least one intelligent controller.
11. An intelligent controller, characterized in that: The intelligent controller is connected to the regional controller through a local area network, and the intelligent controller is connected to at least one device; the intelligent controller includes a processor, and when the processor calls a computer program or instruction in a memory, the method described in any one of claims 1 to 5 is executed.
12. A zone controller, characterized in that: The regional controller is communicatively connected to at least one intelligent controller via a regional network, and the intelligent controller is connected to at least one device; the regional controller includes a processor, and when the processor calls a computer program or instruction in a memory, the method described in any one of claims 6 to 8 is executed.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program or instruction, and when the computer program or instruction is executed, the method described in any one of claims 1 to 5, or the method described in any one of claims 6 to 8 is implemented.
14. A control system, characterized in that: The control system includes a regional controller and at least one intelligent controller, wherein the regional controller is communicatively connected to the at least one intelligent controller via a regional network, and each of the intelligent controllers is connected to at least one device; the intelligent controller is used to execute the method described in any one of claims 1 to 5, and the regional controller is used to execute the method described in any one of claims 6 to 8.
15. A vehicle, characterized in that: include: The control device according to claim 9; and / or The control device as claimed in claim 10.
16. A vehicle, characterized in that: comprising the intelligent controller according to claim 11 and / or the zone controller according to claim 12; or Includes the control system described in claim 14.
Citation Information
Patent Citations
Vehicle-mounted control system, arrangement method thereof and automobile
CN108177612A
Automotive electronic system architecture
CN109116777A
Vehicle control system and sub-control unit
CN113165586A