Vehicle service signal sending method and device, storage medium and processor
By determining the message type of the vehicle service signal and formulating corresponding sending strategies, the problem of low transmission efficiency of vehicle service signal is solved, and the effect of improving transmission efficiency and reducing hardware consumption is achieved.
Patent Information
- Application Number
- CN202411669233.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2044-11-20
AI Technical Summary
Vehicle service signal transmission efficiency is low, resulting in excessive hardware performance consumption, especially in the case of duplicate messages.
By obtaining the service signal of the vehicle, determining its message type, and determining the sending strategy based on the message type. The sending strategy includes at least sending the service signal to the instrument, repetitive monitoring of the service signal, and sending the service signal to the central control system.
By performing different processing of different types of service signals, the problem of signal duplication is avoided, the efficiency of vehicle service signal transmission is improved, and the consumption of hardware performance is reduced.
Smart Images

Figure CN119544657A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle control technology, and in particular to a method, device, storage medium and processor for sending a service signal of a vehicle. Background Art
[0002] At present, with the trend of the new four modernizations of vehicles, the requirements of new vehicle consumer groups for vehicles have also undergone tremendous changes. While vehicles are fully realizing networking, autonomous driving, and data-driven, they are also more inclined to directly reach users, improve experience, services, and users' personalized needs.
[0003] In related technologies, a lot of vehicle information is sent periodically. The CSC domain needs to subscribe to periodic services, which consumes the CPU performance of the CSC. There are many service data that need to be subscribed, often hundreds of collected information. When hundreds of interfaces are sent at a 100ms period, due to repeated messages, thousands of Ethernet interface messages will be sent per second, which is unbearable for hardware performance. If repeated reading causes a large consumption of hardware performance, there is a technical problem of low efficiency in sending vehicle service signals.
[0004] With respect to the above-mentioned technical problem of low efficiency in sending vehicle service signals, no effective solution has been proposed yet. Summary of the invention
[0005] Embodiments of the present invention provide a method, device, storage medium, and processor for sending a vehicle service signal, so as to at least solve the technical problem of low efficiency in sending a vehicle service signal.
[0006] According to one aspect of an embodiment of the present invention, a method for sending a service signal of a vehicle is provided. The method may include: obtaining a service signal of the vehicle, wherein the service signal is used to indicate the service that the vehicle needs to subscribe to; based on the service signal, determining the message type of the service signal, wherein the message type is used to indicate the type of message corresponding to the service signal; based on the message type, determining a sending strategy for the service signal, wherein the sending strategy is used to indicate the rule for sending the service signal, and the sending strategy includes at least a first sending strategy, a second sending strategy, and a third sending strategy, wherein the first sending strategy is used to indicate that the service signal is sent to the instrument, the second sending strategy is used to indicate that the service signal is sent after repeated monitoring, and the third sending strategy is used to indicate that the service signal is sent to the central control system; based on the sending strategy, sending the service signal.
[0007] Optionally, determining the message type of the service signal based on the service signal includes: parsing the service signal to determine the business type of each service signal, wherein the business type is used to indicate the nature of the service signal; and determining the message type of the service signal based on the business type.
[0008] Optionally, based on the business type, determining the message type of the service signal includes: in response to the business type being a first business type, determining the message type as an instrument message type, wherein the first business type is used to indicate that the service signal contains instrument information; in response to the business type being a second business type, determining the message type as a monitoring message type, wherein the second business type is used to indicate that the service signal contains parameters or information that need to be monitored; in response to the business type being a third business type, determining the message type as a central control message type, wherein the second business type is used to indicate that the service signal contains information related to the central control system.
[0009] Optionally, based on the message type, the sending strategy of the service signal is determined, including: in response to the message type being an instrument message type, determining the sending strategy of the service signal to be a first sending strategy; in response to the message type being a monitoring message type, determining the sending strategy of the service signal to be a second sending strategy; in response to the message type being a central control message type, determining the sending strategy of the service signal to be a third sending strategy.
[0010] Optionally, based on the sending strategy, a service signal is sent, including: in response to the sending strategy being a first sending strategy, sending the service signal to the instrument; in response to the sending strategy being a second sending strategy, periodically monitoring the service signal to obtain a monitoring result, wherein the monitoring result is used to indicate whether the service signal has changed or not; in response to the monitoring result being a change, generating a forwarding signal for the service signal; and sending the service signal based on the forwarding signal.
[0011] Optionally, the method for sending a service signal of a vehicle further includes: in response to the sending strategy being a third sending strategy, determining a communication site of the service signal; and sending the service signal based on the communication site.
[0012] According to another aspect of an embodiment of the present invention, a device for sending a service signal of a vehicle is also provided. The device may include: an acquisition unit, used to acquire a service signal of the vehicle, wherein the service signal is used to indicate the service that the vehicle needs to subscribe to; a first determination unit, used to determine a message type based on the service signal, wherein the message type is used to indicate the type of message corresponding to the service signal; a second determination unit, used to determine a sending strategy of the service signal based on the message type, wherein the sending strategy is used to indicate a rule for sending the service signal, and the sending strategy includes at least a first sending strategy, a second sending strategy, and a third sending strategy, wherein the first sending strategy is used to indicate that the service signal is sent to the instrument, the second sending strategy is used to indicate that the service signal is sent after repeated monitoring, and the third sending strategy is used to indicate that the service signal is sent to the central control system; a sending unit, used to send the service signal based on the sending strategy.
[0013] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, which includes a stored program, wherein when the program is executed by a processor, the device where the storage medium is located is controlled to execute the method for sending a service signal of a vehicle in an embodiment of the present invention.
[0014] According to another aspect of an embodiment of the present invention, a processor is further provided. The processor is used to run a program, wherein when the program is run, the method for sending a service signal of a vehicle in an embodiment of the present invention is executed.
[0015] According to another aspect of an embodiment of the present invention, a vehicle is further provided, and the vehicle is used to execute the method for sending a service signal of a vehicle according to an embodiment of the present invention.
[0016] In an embodiment of the present invention, a service signal of a vehicle is obtained, wherein the service signal is used to indicate the service that the vehicle needs to subscribe to; based on the service signal, the message type of the service signal is determined, wherein the message type is used to indicate the type of message corresponding to the service signal; based on the message type, a sending strategy of the service signal is determined, wherein the sending strategy is used to indicate the rule for sending the service signal, and the sending strategy includes at least a first sending strategy, a second sending strategy, and a third sending strategy, wherein the first sending strategy is used to indicate that the service signal is sent to the instrument, the second sending strategy is used to indicate that the service signal is sent after repeated monitoring, and the third sending strategy is used to indicate that the service signal is sent to the central control system; based on the sending strategy, the service signal is sent. That is to say, in an embodiment of the present invention, the sending strategy of the service signal is determined according to the message type of the vehicle's service signal, and different service signals are processed differently, thereby avoiding the problem of signal duplication, thereby solving the technical problem of low efficiency in sending vehicle service signals and achieving the technical effect of improving the efficiency of sending vehicle service signals. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0018] Figure 1 is a flow chart of a method for sending a service signal of a vehicle according to an embodiment of the present invention;
[0019] Figure 2 is a schematic diagram of an existing solution according to an embodiment of the present invention;
[0020] Figure 3 is a schematic diagram of a method for obtaining a health assistant service signal in an SOA architecture according to an embodiment of the present invention;
[0021] Figure 4is a schematic diagram of a process of forwarding services from an instrument subsystem to a central control subsystem according to an embodiment of the present invention;
[0022] Figure 5 is a schematic diagram of a general traditional architecture design method according to an embodiment of the present invention;
[0023] Figure 6 is a schematic diagram of a conventional automotive electronic and electrical architecture according to an embodiment of the present invention;
[0024] Figure 7 2 is a schematic diagram of a device for sending a service signal of a vehicle according to an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, functional component or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, functional components or devices.
[0027] According to an embodiment of the present invention, an embodiment of a method for sending a service signal of a vehicle is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0028] Figure 1 is a flow chart of a method for sending a service signal of a vehicle according to an embodiment of the present invention. Figure 1 As shown, the method may include the following steps:
[0029] Step S101, obtaining a service signal of a vehicle.
[0030] In the technical solution provided in the above step S101 of the present invention, the service signal is used to indicate the service that the vehicle needs to subscribe to.
[0031] In this embodiment, the service signal of the vehicle is obtained, for example, the software module directly subscribes to the service signal to be collected. This is only an illustrative example and does not limit the specific method of obtaining the service signal of the vehicle.
[0032] For example, the CSC_Instrument system establishes a UDP / SOMEIP distributor to obtain the service interface subscribed from Ethernet.
[0033] Step S102: determining the message type of the service signal based on the service signal.
[0034] In the technical solution provided in the above step S102 of the present invention, the message type is used to indicate the type of message corresponding to the service signal.
[0035] In this embodiment, after the service signal of the vehicle is acquired in step S101, the message type of the service signal is determined according to the service signal.
[0036] Optionally, the service signal is parsed to determine the service type of each service signal, wherein the service type is used to indicate the nature of the service signal, so that the message type of the service signal is determined according to the service type.
[0037] For example, when the service type is the first service type, it means that the service signal contains instrument information and needs to be sent directly to the instrument. Based on this, the message type can be determined to be the instrument message type, where the first service type is used to indicate that the service signal contains instrument information. When the service type is the second service type, it means that the service signal may have duplicate signals and need to be detected. Based on this, the message type can be determined to be the monitoring message type, where the second service type is used to indicate that the service signal contains parameters or information that need to be monitored. When the service type is the third service type, it means that the service signal needs to be sent directly to the central control system. Based on this, the message type can be determined to be the central control message type, where the second service type is used to indicate that the service signal contains information related to the central control system.
[0038] Step S103: Determine a service signal sending strategy based on the message type.
[0039] In the technical solution provided in the above step S103 of the present invention, the sending strategy is used to indicate the rules for sending the service signal, and the sending strategy includes at least a first sending strategy, a second sending strategy and a third sending strategy. The first sending strategy is used to indicate that the service signal is sent to the instrument, the second sending strategy is used to indicate that the service signal is sent after repeated monitoring, and the third sending strategy is used to indicate that the service signal is sent to the central control system.
[0040] In this embodiment, after the message type of the service signal is determined in step S102, a sending strategy of the service signal is determined according to the message type.
[0041] Optionally, when the message type is a meter message type, it indicates that the service signal needs to be sent directly to the meter. Based on this, it can be determined that the sending strategy of the service signal is the first sending strategy.
[0042] Optionally, when the message type is a monitoring message type, it indicates that the service signal may contain duplicate signals and needs to be monitored and filtered. Based on this, it can be determined that the sending strategy of the service signal is the second sending strategy.
[0043] Optionally, when the message type is a central control message type, it indicates that the service signal needs to be sent directly to the central control system. Based on this, it can be determined that the sending strategy of the service signal is the third sending strategy.
[0044] Step S104: Send a service signal based on the sending strategy.
[0045] In the technical solution provided in the above step S104 of the present invention, after the sending strategy of the service signal is determined in step S103, the service signal is sent according to the sending strategy.
[0046] In this embodiment, when the sending strategy is the first sending strategy, the service signal is sent to the instrument; when the sending strategy is the third sending strategy, the service signal is sent to the central control system.
[0047] Optionally, when the sending strategy is the second sending strategy, it is necessary to periodically monitor the service signal to obtain a monitoring result, wherein the monitoring result is used to indicate whether the service signal has changed or not changed, and the service signal is sent according to the monitoring result.
[0048] Optionally, when the monitoring result is a change, it indicates that the service signal is a newly generated signal, that is, the service signal is not a repeated signal, based on which a forwarding signal of the service signal is generated, and the service signal is sent according to the forwarding signal.
[0049] Optionally, when the sending strategy is the third sending strategy, a communication site of the service signal is determined; and the service signal is sent according to the communication site.
[0050] It should be noted that the above embodiment can be executed by a vehicle's service signal sending device.
[0051] In the above steps S101 to S104 of the present invention, a service signal of the vehicle is obtained, wherein the service signal is used to indicate the service that the vehicle needs to subscribe to; based on the service signal, the message type of the service signal is determined, wherein the message type is used to indicate the type of message corresponding to the service signal; based on the message type, a sending strategy of the service signal is determined, wherein the sending strategy is used to indicate the rule for sending the service signal, and the sending strategy includes at least a first sending strategy, a second sending strategy, and a third sending strategy, wherein the first sending strategy is used to indicate that the service signal is sent to the instrument, the second sending strategy is used to indicate that the service signal is sent after repeated monitoring, and the third sending strategy is used to indicate that the service signal is sent to the central control system; based on the sending strategy, the service signal is sent. That is to say, in an embodiment of the present invention, the sending strategy of the service signal is determined according to the message type of the vehicle's service signal, and different service signals are processed differently, thereby avoiding the problem of signal duplication, thereby solving the technical problem of low efficiency in sending vehicle service signals and achieving the technical effect of improving the efficiency of sending vehicle service signals.
[0052] The above method of this embodiment is further introduced below.
[0053] As an optional implementation method, determining the message type of the service signal based on the service signal includes: parsing the service signal to determine the business type of each service signal, wherein the business type is used to indicate the nature of the service signal; and determining the message type of the service signal based on the business type.
[0054] In this embodiment, the service signals are parsed to determine the service type of each service signal; and according to the service type, the message type of the service signal is determined.
[0055] For example, the service type may be a service that is only used by the instrument and needs to be directly distributed to the instrument application for use.
[0056] As an optional implementation method, based on the service type, determining the message type of the service signal includes: in response to the service type being a first service type, determining the message type as an instrument message type, wherein the first service type is used to indicate that the service signal contains instrument information; in response to the service type being a second service type, determining the message type as a monitoring message type, wherein the second service type is used to indicate that the service signal contains parameters or information that need to be monitored; in response to the service type being a third service type, determining the message type as a central control message type, wherein the second service type is used to indicate that the service signal contains information related to the central control system.
[0057] In this embodiment, when the service type is the first service type, the message type is determined to be the instrument message type; when the service type is the second service type, the message type is determined to be the monitoring message type; when the service type is the third service type, the message type is determined to be the central control message type.
[0058] For example, when the message type is a service that is only used by the instrument, the message type is determined to be the instrument message type; when the message type needs to be forwarded to the CSC_central control for periodic processing, the message type is determined to be the monitoring message type.
[0059] As an optional implementation method, based on the message type, the sending strategy of the service signal is determined, including: in response to the message type being an instrument message type, determining the sending strategy of the service signal to be a first sending strategy; in response to the message type being a monitoring message type, determining the sending strategy of the service signal to be a second sending strategy; in response to the message type being a central control message type, determining the sending strategy of the service signal to be a third sending strategy.
[0060] In this embodiment, when the message type is an instrument message type, the sending strategy of the service signal is determined to be the first sending strategy; when the message type is a monitoring message type, the sending strategy of the service signal is determined to be the second sending strategy; when the message type is a central control message type, the sending strategy of the service signal is determined to be the third sending strategy.
[0061] Optionally, by determining the message type of the service signal, different sending processes are performed for different message types, thereby improving the efficiency of sending the service signal.
[0062] As an optional implementation method, sending a service signal based on a sending strategy includes: in response to the sending strategy being a first sending strategy, sending the service signal to an instrument; in response to the sending strategy being a second sending strategy, periodically monitoring the service signal to obtain a monitoring result, wherein the monitoring result is used to indicate whether the service signal has changed or not; in response to the monitoring result being a change, generating a forwarding signal for the service signal; and sending the service signal based on the forwarding signal.
[0063] In this embodiment, when the sending strategy is the first sending strategy, the service signal is sent to the instrument; when the sending strategy is the second sending strategy, the service signal is periodically monitored to obtain a monitoring result; when the monitoring result is a change, a forwarding signal of the service signal is generated; and the service signal is sent according to the forwarding signal.
[0064] For example, a UDP / SOMEIP monitoring process is established in the CSC_ instrument, and a forwarding signal is generated if no problem is found during the UDP / SOMEIP monitoring.
[0065] As an optional embodiment, a method for sending a service signal of a vehicle includes: in response to a sending strategy being a third sending strategy, determining a communication site of the service signal; and sending the service signal based on the communication site.
[0066] In this embodiment, the sending strategy is the third sending strategy, which determines the communication site of the service signal; and sends the service signal based on the communication site.
[0067] For example, a CSC_Central Control monitoring process is built in CSC_Instrument. If the CSC_Central Control monitoring process does not find any problems, the forwarder forwards the data through the Hypervisor (virtual machine monitor) via TCP Socket (a socket is an abstract endpoint for two-way communication between application processes on different hosts in a network). A SOA adaptation layer is built in CSC_Central Control to perform signal matching and API encapsulation, and the API is distributed to applications for use.
[0068] It should be noted that the above embodiment can be executed by a vehicle's service signal sending device.
[0069] In this embodiment, a service signal of a vehicle is obtained, wherein the service signal is used to indicate the service that the vehicle needs to subscribe to; based on the service signal, the message type of the service signal is determined, wherein the message type is used to indicate the type of message corresponding to the service signal; based on the message type, a sending strategy of the service signal is determined, wherein the sending strategy is used to indicate the rules for sending the service signal, and the sending strategy includes at least a first sending strategy, a second sending strategy, and a third sending strategy, wherein the first sending strategy is used to indicate that the service signal is sent to the instrument, the second sending strategy is used to indicate that the service signal is sent after repeated monitoring, and the third sending strategy is used to indicate that the service signal is sent to the central control system; based on the sending strategy, the service signal is sent. That is to say, in the embodiment of the present invention, the sending strategy of the service signal is determined according to the message type of the vehicle's service signal, and different service signals are processed differently, thereby avoiding the problem of signal duplication, thereby solving the technical problem of low efficiency in sending vehicle service signals and achieving the technical effect of improving the efficiency of sending vehicle service signals.
[0070] The technical solution of the embodiment of the present invention is illustrated below in conjunction with preferred implementation modes.
[0071] At present, with the trend of the new four modernizations of vehicles, the requirements of new vehicle consumer groups for vehicles have also undergone tremendous changes. While vehicles are fully realizing networking, autonomous driving, and data-driven, they are also more inclined to directly reach users, improve experience, services, and users' personalized needs.
[0072] In the related technology, a lot of vehicle information is sent periodically. The CSC domain needs to subscribe to periodic services, which consumes the CPU performance of the CSC. There are many service data that need to be subscribed, often hundreds of collected information. When hundreds of interfaces are sent at a 100ms period, due to repeated messages, thousands of Ethernet interface messages will be sent per second, which is unbearable for hardware performance. If repeated reading causes a large consumption of hardware performance. Therefore, there is a technical problem of low efficiency in sending vehicle service signals. In view of the above-mentioned technical problem of low efficiency in sending vehicle service signals, no effective solution has been proposed so far.
[0073] However, the embodiment of the present invention proposes a method for obtaining service signals of health assistants in an SOA architecture, which parses and distributes the service interface subscribed from the Ethernet, distributes the services used by the instrument only to the instrument application, and forwards the services that need to be forwarded to the CSC_central control for periodic processing. The periodic assistant mainly shields the same Ethernet interface service information sent periodically, and only generates forwarding signals when the interface information changes. If no problems are found during monitoring, a forwarding signal is generated; it is necessary to send a service signal of the central control system, determine the communication site, and forward it according to the site. The technical problem of low efficiency in sending vehicle service signals is solved, and the technical effect of improving the efficiency of sending vehicle service signals is achieved.
[0074] The embodiments of the present invention are further described below.
[0075] Figure 2 is a schematic diagram of an existing solution according to an embodiment of the present invention, such as Figure 2 As shown, this solution directly subscribes to the services that need to be collected by each software module through the data collection module, and directly sends the interfaces that need to be collected to the data collection module.
[0076] In this embodiment, each software module directly subscribes to the services that need to be collected, resulting in the number of interfaces that are the number of service interfaces that need to be collected * the number of receiving modules. If the number of service interfaces that need to be collected is 30, and they need to be sent to the CSC domain control instrument and the central control subsystem at the same time, the service interface sending period is 100ms, and 30*10*2=600 messages will be generated per second. 600 messages will cause load impact on both the sending end and the receiving end. In addition, many of the sending periods in the interface messages are less than 100ms, which may be 5ms, 10ms, or 20ms. If they are read repeatedly, it will cause a large consumption of hardware performance.
[0077] Alternatively, SOA (Service-Oriented Architecture) is a software design architecture that splits a software system into multiple services that can be independently developed, deployed, and maintained. The SOA vehicle architecture refers to the application of service-oriented architecture to the automotive field to achieve modularity and reusability of the vehicle system. In the SOA vehicle architecture, the vehicle system is split into multiple services, each responsible for a specific function or business. These services can be independent software modules that can be independently developed, tested, and deployed. Through well-defined interfaces and protocols, different services can communicate and collaborate with each other to realize the functions of the vehicle system.
[0078] Optionally, the SOA vehicle physical architecture design is implemented by dividing the vehicle into a central computing unit (vehicle domain controller, abbreviated as VDC), several regional control units (power data center, abbreviated as PDC), an intelligent communication terminal (intelligent communication controller, abbreviated as ICC), a cockpit space controller (cockpit space controller, abbreviated as CSC) and an advanced automated driving controller (high automated driving, abbreviated as HAD).
[0079] Optionally, the Vehicle Health Assistant is a tool that helps car owners monitor and manage the health of their vehicles by using advanced sensor and software technologies. It can provide real-time vehicle health status feedback and alerts to help car owners identify and resolve potential problems in a timely manner to improve vehicle performance and reliability.
[0080] Optionally, some common vehicle health assistant functions include fault diagnosis: the vehicle health assistant can read and parse the vehicle's fault code by scanning the vehicle's diagnostic interface. It can conduct a comprehensive diagnosis of the vehicle system and identify potential faults or problems, such as engine problems, transmission system failures, etc.
[0081] Optionally, maintenance reminders: The vehicle health assistant can track the vehicle's mileage, usage time and maintenance records, and remind the owner to perform relevant maintenance work according to the manufacturer's recommended maintenance cycle and maintenance plan, such as changing the engine oil, changing the filter, etc.
[0082] Optionally, driving behavior analysis: Some vehicle health assistants can analyze the owner's driving behavior and detect potential driving problems, such as sudden braking, sudden acceleration, etc. These analysis results can help the owner drive the vehicle more safely and economically.
[0083] Optionally, fuel economy monitoring: The vehicle health assistant can monitor the vehicle's fuel consumption in real time, including data such as fuel efficiency and mileage. Based on this data, the owner can adjust his driving habits to improve the vehicle's fuel economy.
[0084] Optionally, traffic reminders: Some vehicle health assistants can receive real-time traffic and road condition information and provide relevant tips and suggestions to car owners to help them choose more efficient and safe routes.
[0085] Optionally, the Vehicle Health Assistant helps car owners monitor and manage the health of their vehicles by leveraging advanced technologies, providing timely alerts and feedback to enhance vehicle performance and reliability while improving driving safety and economy.
[0086] Optionally, the CSC domain is divided into an information system and an entertainment system, and there will be overlapping needs for the subscription of the above key information. If the subscription is repeated, a large amount of vehicle load will be generated, increasing the consumption of hardware. The first reason is that a lot of vehicle information is sent periodically, and the CSC domain needs to subscribe to periodic services, which consumes the CPU performance of the CSC. The second reason is that there are many service data that need to be subscribed, often hundreds of collected information. When hundreds of interfaces are sent at a 100ms period, it will cause thousands of Ethernet interface messages per second, which is unbearable for hardware performance.
[0087] Figure 3 FIG. 1 is a schematic diagram of a method for obtaining a health assistant service signal in an SOA architecture according to an embodiment of the present invention. Figure 3 As shown, in this solution, the functional service interfaces that need to be collected by both the CSC domain instrument subsystem and the central control subsystem are uniformly received by the instrument subsystem, and then forwarded to the central control subsystem through intra-process communication of the instrument subsystem. The reason for the unified reception by the instrument subsystem is that the startup time of the instrument subsystem is short. When the whole vehicle is powered on uniformly, the instrument system can be streamlined and started quickly. Some functional interfaces need to be displayed by the instrument.
[0088] Figure 4 FIG. 1 is a schematic diagram of a process of forwarding a service from an instrument subsystem to a central control subsystem according to an embodiment of the present invention. Figure 4 As shown, CSC_ instrument can select QNX system (QNX is a commercial Unix-like real-time operating system that complies with the POSIX specification, and its target market is mainly for embedded systems), Linux system (Linux, An operating system is a Multi-user, ,support Heduo of ).
[0089] In this embodiment, the CSC_meter system establishes a UDP / SOMEIP distributor to parse and distribute the service interface subscribed from the Ethernet, and only distributes the services used by the meter to the meter application for use.
[0090] Optionally, in the business, it needs to be forwarded to CSC_Central Control for periodic processing. The periodic assistant mainly shields the same Ethernet interface service information sent periodically, and only chooses to generate a forwarding signal when the interface information changes.
[0091] Optionally, a UDP / SOMEIP monitoring process is established in the CSC_Instrument, and a forwarding signal is generated if no problem is found during the UDP / SOMEIP monitoring.
[0092] Optionally, a CSC_Central Control Monitoring process is built in the CSC_Instrument. If the CSC_Central Control Monitoring process does not find any problems, the forwarder forwards the traffic to the Hypervisor (virtual machine monitor) through a TCP Socket (a socket is an abstract endpoint for bidirectional communication between application processes on different hosts in a network).
[0093] Optionally, a SOA adaptation layer is established in CSC_Central Control to perform signal matching and API encapsulation, and distribute the API to applications for use.
[0094] Figure 5 is a schematic diagram of a general traditional architecture design method according to an embodiment of the present invention, such as Figure 5 As shown in the figure, the system is divided into subsystems, and each subsystem communicates with each other through defined interfaces. Generally, the dependencies between subsystems are high. The design method of service-oriented architecture is: different system resources are packaged into a "service", which provides specific system functions while maintaining their own internal state. The component that implements the service represents a single instance of the service, which is identified by the service instance ID. When a client wants to use a service instance, it only needs to follow the definition language specification to request the service.
[0095] Alternatively, service-oriented architecture ensures loosely coupled software modules, as each service holds only the information required to execute its logic, and regardless of the state of the system as a whole, it will continue to perform its functions as long as the request follows the definition language specification. Due to this fact, SOA is platform and language agnostic. As long as the request or response follows the specification, it is not necessary for the client or service to have in-depth knowledge of the implementation details of each other. Therefore, heterogeneous components that may have been designed by different vendors can be seamlessly integrated.
[0096] Alternatively, SOA does not require static system configuration. By using service discovery, service providers can be discovered at runtime. This effectively means that components can be "hot-plugged" into the system. It is no longer necessary to shut down the entire system to update or add new components.
[0097] Optionally, Figure 6 is a schematic diagram of a conventional automotive electronic and electrical architecture according to an embodiment of the present invention, such as Figure 6 As shown in the figure, the traditional automotive electronic and electrical architecture is distributed, and each ECU in the car is connected through the CAN and LIN buses. The total number of ECUs in modern cars has rapidly increased to dozens or even hundreds, and the complexity of the entire system is increasing, approaching the upper limit. Under the development trend of software-defined cars and intelligent and networked cars today, this ECU-based distributed EEA is also increasingly exposed to many problems and challenges.
[0098] Alternatively, in order to solve these problems of distributed EEA, people have gradually begun to integrate many ECU functions with similar and separate functions into a processor hardware platform with stronger performance than ECU, which is the automotive "Domain Control Unit (DCU)". The emergence of domain controllers is an important sign of the evolution of automotive EE architecture from ECU distributed EE architecture to domain centralized EE architecture.
[0099] Optionally, the domain controller is the core of each functional domain of the car, which is mainly composed of three parts: domain master processor, operating system and application software and algorithm. Platformization, high integration, high performance and good compatibility are the main core design ideas of the domain controller.
[0100] Optionally, relying on high-performance domain master processors, rich hardware interface resources and powerful software functional features, the domain controller can integrate core functions that originally required many ECUs to implement, greatly improving the system's functional integration. Coupled with the standardized interface for data interaction, the development and manufacturing costs of this part can be greatly reduced.
[0101] Optionally, for the specific division of functional domains, each automobile host manufacturer will divide it into several different domains according to its own design concept differences. For example, BOSCH is divided into five domains: power domain (Power Train), chassis domain (Chassis), body domain (Body / Comfort), cockpit domain (Cockpit / Infotainment), and autonomous driving domain (ADAS). This is the most classic five-domain centralized EEA.
[0102] Alternatively, some manufacturers further integrate the five-domain centralized architecture, integrating the original power domain, chassis domain and body domain into the vehicle control domain, thus forming a three-domain centralized EEA, namely: Vehicle Domain Controller (VDC), Intelligent Driving Domain Controller (ADAS\AD DomainController, ADC), and Intelligent Cockpit Domain Controller (CDC).
[0103] In this embodiment, the service interface subscribed from Ethernet is parsed and distributed. Only the services used by the instrument are distributed to the instrument application. The services that need to be forwarded to CSC_central control for periodic processing. The periodic assistant mainly shields the same Ethernet interface service information sent periodically, and only selects to generate a forwarding signal when the interface information changes. If the monitoring does not find any problems, a forwarding signal is generated; if the service signal of the central control system needs to be sent, the communication site is determined, and forwarding is performed according to the site. The technical problem of low efficiency in sending vehicle service signals is solved, and the technical effect of improving the efficiency of sending vehicle service signals is achieved.
[0104] According to an embodiment of the present invention, a device for sending a service signal of a vehicle is also provided. It should be noted that the device for sending a service signal of a vehicle can be used to execute the method for sending a service signal of a vehicle in the method embodiment.
[0105] Figure 7 FIG. 1 is a schematic diagram of a device for sending a service signal of a vehicle according to an embodiment of the present invention. Figure 7 As shown, the device 700 for sending a service signal of the vehicle may include: an acquisition unit 701 , a first determination unit 702 , a second determination unit 703 and a sending unit 704 .
[0106] The acquisition unit 701 is used to acquire a service signal of the vehicle, wherein the service signal is used to indicate a service that the vehicle needs to subscribe to.
[0107] The first determining unit 702 is configured to determine a message type based on the service signal, wherein the message type is used to indicate a type of message corresponding to the service signal.
[0108] The second determination unit 703 is used to determine the sending strategy of the service signal based on the message type, wherein the sending strategy is used to indicate the rules for sending the service signal, and the sending strategy includes at least a first sending strategy, a second sending strategy and a third sending strategy, the first sending strategy is used to indicate that the service signal is sent to the instrument, the second sending strategy is used to indicate that the service signal is sent after repeated monitoring, and the third sending strategy is used to indicate that the service signal is sent to the central control system.
[0109] The sending unit 704 is configured to send a service signal based on a sending strategy.
[0110] Optionally, the first determination unit 702 may include: a first determination module, used to parse the service signal and determine the business type of each service signal, wherein the business type is used to indicate the nature of the service signal; and a second determination module, used to determine the message type of the service signal based on the business type.
[0111] Optionally, the first determination unit 702 may include: a third determination module, used to determine that the message type is an instrument message type in response to the service type being a first service type, wherein the first service type is used to indicate that the service signal contains instrument information; a fourth determination unit, used to determine that the message type is a monitoring message type in response to the service type being a second service type, wherein the second service type is used to indicate that the service signal contains parameters or information that need to be monitored; and a fifth determination unit, used to determine that the message type is a central control message type in response to the service type being a third service type, wherein the second service type is used to indicate that the service signal contains information related to the central control system.
[0112] Optionally, the second determination unit 703 may include: a sixth determination module, used to determine that the sending strategy of the service signal is a first sending strategy in response to the message type being an instrument message type; a seventh determination module, used to determine that the sending strategy of the service signal is a second sending strategy in response to the message type being a monitoring message type; an eighth determination module, used to determine that the sending strategy of the service signal is a third sending strategy in response to the message type being a central control message type.
[0113] Optionally, the sending unit 704 may also include: a first sending module, used to send the service signal to the instrument in response to the sending strategy being the first sending strategy; a detection module, used to periodically monitor the service signal in response to the sending strategy being the second sending strategy, and obtain a monitoring result, wherein the monitoring result is used to indicate whether the service signal has changed or not changed; a generation module, used to generate a forwarding signal of the service signal in response to the monitoring result being a change; and a second sending module, used to send the service signal based on the forwarding signal.
[0114] Optionally, the vehicle service signal sending device 700 may further include: a ninth determination module, used to determine the communication site of the service signal in response to the sending strategy being the third sending strategy; and a third sending module, used to send the service signal based on the communication site.
[0115] In this embodiment, a service signal of a vehicle is obtained, wherein the service signal is used to indicate the service that the vehicle needs to subscribe to; based on the service signal, the message type of the service signal is determined, wherein the message type is used to indicate the type of message corresponding to the service signal; based on the message type, a sending strategy of the service signal is determined, wherein the sending strategy is used to indicate the rules for sending the service signal, and the sending strategy includes at least a first sending strategy, a second sending strategy, and a third sending strategy, wherein the first sending strategy is used to indicate that the service signal is sent to the instrument, the second sending strategy is used to indicate that the service signal is sent after repeated monitoring, and the third sending strategy is used to indicate that the service signal is sent to the central control system; based on the sending strategy, the service signal is sent. That is to say, in the embodiment of the present invention, the sending strategy of the service signal is determined according to the message type of the vehicle's service signal, and different service signals are processed differently, thereby avoiding the problem of signal duplication, thereby solving the technical problem of low efficiency in sending vehicle service signals and achieving the technical effect of improving the efficiency of sending vehicle service signals.
[0116] According to an embodiment of the present invention, a computer-readable storage medium is further provided. The storage medium includes a stored program, wherein the program executes the method for sending a service signal of a vehicle in an embodiment of the method.
[0117] According to an embodiment of the present invention, a processor is further provided. The processor is used to run a program, wherein the method for sending a service signal of a vehicle in the method embodiment is executed when the program is run.
[0118] According to an embodiment of the present invention, a vehicle is further provided. The vehicle is used to execute the method for sending a service signal of the vehicle in Embodiment 1.
[0119] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0120] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0121] In the several embodiments provided by the present invention, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic, for example, the division of units can be a logical function division, and there can be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0122] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0123] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0124] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent functional component, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software functional component, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc., which can store program codes.
[0125] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for sending a service signal of a vehicle, characterized in that: include: Acquire a service signal of a vehicle, wherein the service signal is used to indicate a service that the vehicle needs to subscribe to; Based on the service signal, determining a message type of the service signal, wherein the message type is used to indicate a type of a message corresponding to the service signal; Based on the message type, determine a sending strategy for the service signal, wherein the sending strategy is used to indicate a rule for sending the service signal, and the sending strategy includes at least a first sending strategy, a second sending strategy, and a third sending strategy, wherein the first sending strategy is used to indicate that the service signal is sent to an instrument, the second sending strategy is used to indicate that the service signal is sent after repeatability monitoring, and the third sending strategy is used to indicate that the service signal is sent to a central control system; Based on the sending strategy, the service signal is sent.
2. The method according to claim 1, characterized in that: Determining, based on the service signal, a message type of the service signal, comprising: parsing the service signals to determine the service type of each of the service signals, wherein the service type is used to indicate the nature of the service signal; Based on the traffic type, the message type of the service signal is determined.
3. The method according to claim 2, characterized in that Determining the message type of the service signal based on the service type includes: In response to the service type being a first service type, determining that the message type is an instrument message type, wherein the first service type is used to indicate that the service signal includes instrument information; In response to the service type being a second service type, determining that the message type is a monitoring message type, wherein the second service type is used to indicate that the service signal contains parameters or information that need to be monitored; In response to the service type being the third service type, it is determined that the message type is a central control message type, wherein the second service type is used to indicate that the service signal contains information related to the central control system.
4. The method according to claim 1, characterized in that Determining a sending strategy of the service signal based on the message type includes: In response to the message type being an instrument message type, determining the sending strategy of the service signal to be the first sending strategy; In response to the message type being a monitoring message type, determining that the sending strategy of the service signal is the second sending strategy; In response to the message type being a central control message type, determining the sending strategy of the service signal to be the third sending strategy.
5. The method according to claim 1, characterized in that: Sending the service signal based on the sending strategy includes: In response to the sending strategy being the first sending strategy, sending the service signal to the meter; In response to the sending strategy being the second sending strategy, periodically monitoring the service signal to obtain a monitoring result, wherein the monitoring result is used to indicate whether the service signal has changed or not changed; In response to the monitoring result being a change, generating a forwarding signal of the service signal; Based on the forwarding signal, the service signal is sent.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: In response to the sending strategy being the third sending strategy, determining a communication site for the service signal; Based on the communication site, the service signal is sent.
7. A device for sending a service signal of a vehicle, characterized in that: include: an acquisition unit, configured to acquire a service signal of a vehicle, wherein the service signal is used to indicate a service that the vehicle needs to subscribe to; A first determining unit, configured to determine a message type based on the service signal, wherein the message type is used to indicate a type of a message corresponding to the service signal; a second determining unit, configured to determine a sending strategy of the service signal based on the message type, wherein the sending strategy is used to indicate a rule for sending the service signal, and the sending strategy includes at least a first sending strategy, a second sending strategy, and a third sending strategy, wherein the first sending strategy is used to indicate that the service signal is sent to an instrument, the second sending strategy is used to indicate that the service signal is sent after repeatability monitoring, and the third sending strategy is used to indicate that the service signal is sent to a central control system; A sending unit is used to send the service signal based on the sending strategy.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed by a processor, the device where the storage medium is located is controlled to execute the method according to any one of claims 1 to 6.
9. A processor, characterized in that: The processor is used to run a program, wherein the program executes the method according to any one of claims 1 to 6 when running.
10. A vehicle, characterized in that: The vehicle is used to perform the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Message processing method, device and system, electronic device and storage medium
CN111786886A
Time-sensitive network vehicle-mounted communication method for data distribution service
CN115086365A
Data distribution device, data distribution method and architecture of vehicle electronic operating system
CN115543661A
Data acquisition and transmission method, vehicle cloud service platform, vehicle and storage medium
CN116528079A
Internet of vehicles data communication method, device, equipment and medium
CN116887351A