Method and system for IVehile multi-service integration based on AAOS system

By registering a callback service in the AAOS system and saving an Ivehicle service instance to the routing table, the problem of increasing software scale and maintenance costs in the AAOS system is solved, and the standardized integration and management of IVehicle services are realized, reducing maintenance costs.

CN119652978APending Publication Date: 2025-03-18WUHAN KOTEI INFORMATICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411883371.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-19
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

In AAOS systems, with the increase of Automotive business modules, the software scale and maintenance costs have become extremely large, and standardized integration and management methods are lacking.

Method used

Register a callback service in the AAOS system through the hardware abstraction layer on the vehicle side, monitor the release status of the newly released service, determine whether the newly released service belongs to the Ivehicle service, and save its service instances into the routing table mapping structure.

Benefits of technology

It effectively reduces the software scale and maintenance costs of Automotive business in AAOS software products, realizes standardized integration and management of IVehicle type services, and enables the expansion and update of Automotive business to be completely independent.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119652978A_ABST
    Figure CN119652978A_ABST
Patent Text Reader

Abstract

The invention relates to a method and system for IVehile multi-service integration based on an AAOS system, and the method comprises the steps: registering a callback service in the AAOS system through a hardware abstraction layer of a vehicle terminal, and monitoring the publishing state of a newly published service through the callback service; according to the release state of the service, judging whether the newly released service belongs to the Ivehile service or not; and obtaining a service instance of the newly published service which is judged to be the Ivehile service, and storing the service instance in the routing table mapping structure. According to the invention, the callback function is introduced to monitor the IVehile service, unified management is carried out, and manufacturer customized services can be integrated without modifying the native code of the AAOS, so that the overall software scale and maintenance cost of Automotive services are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of intelligent cockpits, and in particular relates to a method and system for integrating multiple services of an AAOS system IVehicle. Background Art

[0002] AAOS is a foundational Android platform that runs pre-installed Android applications as well as optional second- and third-party Android applications. AAOS provides openness, customization, and extensibility for automotive infotainment systems and head units.

[0003] When custom developing AAOS software products, it is usually necessary to define and add the requirements for the Automotive business from automobile manufacturers. The traditional approach is that each sub-business module builds its own set of HIDL services and publishes them to the outside world. The application obtains different HIDL services and implements hardware control based on its own functional logic. When more and more new businesses are added, the software scale and maintenance costs will become extremely large. The standardized integration and management methods of this method can effectively reduce the software scale and maintenance costs of the Automotive business in AAOS products. Summary of the invention

[0004] In order to reduce the software scale and maintenance cost of Automotive business in AAOS products, a method for integrating multiple services based on Ivehicle of AAOS system is provided in a first aspect of the present invention, including: registering a callback service with the AAOS system through the hardware abstraction layer of the vehicle side, and monitoring the publishing status of the newly released service through the callback service; judging whether the newly released service belongs to Ivehicle service according to the publishing status of the service; obtaining the service instance of the newly released service judged to be Ivehicle service, and saving the service instance to the routing table mapping structure.

[0005] In some embodiments of the present invention, judging whether the newly released service belongs to Ivehicle service according to the release status of the service includes: judging whether the newly released service belongs to Ivehicle service according to the instance name and interface name of the newly released service.

[0006] Further, the determining whether the newly released service belongs to the Ivehicle service includes: if the instance name or the interface name is Ivehicle, determining that the newly released service belongs to the Ivehicle service.

[0007] In some embodiments of the present invention, obtaining a service instance of a newly released service determined to be an Ivehicle service and saving the service instance in a routing table mapping structure includes: obtaining one or more service instances of the newly released service through a getService function in the Ivehicle service, and recording all service instances in the routing table mapping structure.

[0008] Furthermore, the routing table mapping structure is used to distribute function requests from vehicle attribute services.

[0009] In the above embodiment, the hardware abstraction layer of the vehicle side registers the callback service with the AAOS system, including: during the startup of the AOS system, registering the callback service with the AAOS system through the hardware abstraction layer of the vehicle side.

[0010] The second aspect of the present invention provides an IVehicle multi-service integration system based on the AAOS system, including: a monitoring module, used to register a callback service to the AAOS system through the hardware abstraction layer of the vehicle side, and monitor the publishing status of the newly released service through the callback service; a judgment module, used to judge whether the newly released service belongs to the Ivehicle service according to the publishing status of the service; a saving module, used to obtain a service instance of the newly released service judged to be an Ivehicle service, and save the service instance to the routing table mapping structure.

[0011] Furthermore, the monitoring module includes: a registration unit, which is used to register a callback service in the AAOS system through the hardware abstraction layer of the vehicle terminal; and a monitoring unit, which is used to monitor the publishing status of the newly published service through the callback service.

[0012] The third aspect of the present invention provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement the AAOS system IVehicle multi-service integration method provided in the first aspect of the present invention.

[0013] A fourth aspect of the present invention provides a computer-readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the AAOS system IVehicle multi-service integration method provided in the first aspect of the present invention.

[0014] The beneficial effects of the present invention are: The present invention relates to a method and system for Ivehicle multi-service integration based on the AAOS system, the method comprising: registering a callback service in the AAOS system through a hardware abstraction layer of a vehicle machine, monitoring the publishing status of a newly published service through the callback service; judging whether the newly published service belongs to an Ivehicle service according to the publishing status of the service; obtaining a service instance of the newly published service judged to be an Ivehicle service, and saving the service instance to a routing table mapping structure.

[0015] It can be seen that the present invention effectively reduces the software scale and maintenance cost of the Automotive business in the AAOS software product. The traditional approach is that each business module builds its own set of HIDL services and publishes them to the outside world. The application obtains different HIDL services and implements hardware control based on its own business logic. When more and more new businesses are added, the software scale and maintenance cost will become extremely large. This method standardizes the integration and management of IVehicle-type services. The application only needs to face the CarPropertyService interface to reuse the business capabilities provided by Automotive, so that the expansion and update of the Automotive business can be carried out completely independently, effectively reducing the software scale and maintenance cost of the Automotive business. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a basic flow chart of the IVehicle multi-service integration method based on the AAOS system in some embodiments of the present invention; Figure 2 It is a specific flow chart of the IVehicle multi-service integration method based on the AAOS system in some embodiments of the present invention; Figure 3 It is a schematic diagram of the structure of the IVehicle multi-service integration system based on the AAOS system in some embodiments of the present invention; Figure 4 It is a schematic diagram of the structure of an electronic device in some embodiments of the present invention. DETAILED DESCRIPTION

[0017] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.

[0018] refer to Figure 1 and Figure 2In a first aspect of the present invention, a method for integrating multiple services of Ivehicle based on the AAOS system is provided, including: S100. Registering a callback service to the AAOS system through the hardware abstraction layer of the vehicle side, and monitoring the publishing status of the newly released service through the callback service; S200. Judging whether the newly released service belongs to the Ivehicle service according to the publishing status of the service; S300. Obtaining a service instance of the newly released service judged to be the Ivehicle service, and saving the service instance to the routing table mapping structure.

[0019] In step S100 of some embodiments of the present invention, the hardware abstraction layer of the vehicle side registers the callback service with the AAOS system, including: during the startup of the AOS system, registering the callback service with the AAOS system through the hardware abstraction layer of the vehicle side.

[0020] Specifically, during the AAOS startup process, the Vehicle HAL program on the vehicle side first registers an IServiceCallback through the ServiceManager. When the ServiceManager detects that a new HIDL service has been released, it will call back the IServiceCallback and notify the Interface and Instance names of the service.

[0021] It should be noted that Android Automotive OS, as an in-vehicle operating system, needs to be interconnected with other subsystems in the vehicle. Android Automotive OS defines a standard hardware abstraction layer HAL (HardwareAbstraction Layer) to standardize the calling interface of each subsystem and Framework, and provides a standard programming interface for upper-level applications through CarService and related Car API. VehicleHAL stands for vehicle hardware abstraction layer. Its function is to define a standard interface so that CarService can ignore the specific implementation of each car manufacturer. In other words, CarService calls the interface defined by VehicleHAL, and manufacturers are responsible for implementing these interfaces.

[0022] In step S200 of some embodiments of the present invention, judging whether the newly released service belongs to the Ivehicle service according to the release status of the service includes: judging whether the newly released service belongs to the Ivehicle service according to the instance name and interface name of the newly released service.

[0023] Specifically, the Vehicle HAL program can determine whether it is an IVehicle type service by the service's Interface name. In the onRegistration callback function, the instance name and interface name published by the new IVehicle service are obtained, and the interface name is used to determine whether it is an IVehicle type service.

[0024] It should be noted that Vendor Interface Object is the abbreviation of Vendor Interface Object. The partitions it defines are reasonably planned as follows: Product: OEM-related customization, mainly including Apps, SDK, product sysprops, etc.; System: Android system Framework and Daemons; Treble Interface: Treble interface; Vendor: hardware-related drivers / Daemons. ODM: ODM-related customization, including ODM-related Apps, SDK, etc., and VINTF support Further, the determination of whether the newly released service belongs to the Ivehicle service includes: if the instance name or interface name is Ivehicle, then determining that the newly released service belongs to the Ivehicle service. Specifically, if it is determined to be an IVehicle type service, then using the getService function of IVehicle to obtain the service instance and record it in the routing table map structure.

[0025] In step S300 of some embodiments of the present invention, obtaining a service instance of a newly released service determined to be an Ivehicle service and saving the service instance in a routing table mapping structure includes: obtaining one or more service instances of the newly released service through a getService function in the Ivehicle service, and recording all service instances in the routing table mapping structure.

[0026] Furthermore, the routing table mapping structure is used to distribute the function request from the vehicle property service. The routing table map structure stores all IVehicle type service instances and is used to distribute the function request from CarPropertyService.

[0027] refer to Figure 2In a specific embodiment of the present invention, the method for integrating multiple services based on IVehicle of the AAOS system includes: in the VehicleHAL program of the vehicle, registering an IserviceCallback through the ServiceManager to monitor the new IVehicle service publishing status; obtaining the instance name and interface name of the new IVehicle service publishing in the onRegistration callback function, and judging whether it belongs to the IVehicle type service according to the interface name. If the service is an IVehicle type service, the getService function of IVehicle is used to obtain the service instance and record it in the routing table map structure.

[0028] Example 2 refer to Figure 3 According to a second aspect of the present invention, an IVehicle multi-service integration system 1 based on the AAOS system is provided, comprising: a monitoring module 11, used to register a callback service to the AAOS system through the hardware abstraction layer of the vehicle side, and monitor the publishing status of the newly released service through the callback service; a judgment module 12, used to judge whether the newly released service belongs to the Ivehicle service according to the publishing status of the service; a saving module 13, used to obtain a service instance of the newly released service judged to be the Ivehicle service, and save the service instance to the routing table mapping structure.

[0029] Furthermore, the monitoring module 11 includes: a registration unit, which is used to register a callback service in the AAOS system through the hardware abstraction layer of the vehicle terminal; and a monitoring unit, which is used to monitor the publishing status of the newly published service through the callback service.

[0030] Example 3 refer to Figure 4 According to the third aspect of the present invention, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the AAOS system IVehicle multi-service integration method according to the first aspect of the present invention.

[0031] The electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0032] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 4 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0033] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, the above functions defined in the method of the embodiment of the present disclosure are executed. It should be noted that the computer-readable medium described in the embodiment of the present disclosure can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In an embodiment of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, an apparatus, or a device. In an embodiment of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, an apparatus, or a device. The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wire, optical cable, RF (radio frequency), etc., or any suitable combination of the foregoing.

[0034] The computer-readable medium may be included in the electronic device, or may exist independently without being installed in the electronic device. The computer-readable medium carries one or more computer programs. When the one or more programs are executed by the electronic device, the electronic device: Computer program code for performing the operations of embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, Python, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as a separate software package, partially on a user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0035] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0036] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for integrating multiple services of IVehicle based on AAOS system, characterized in that: include: Register a callback service in the AAOS system through the hardware abstraction layer of the vehicle terminal, and monitor the publishing status of the newly released service through the callback service; According to the release status of the service, determine whether the newly released service belongs to Ivehicle service; A service instance of a newly published service determined to be an Ivehicle service is obtained, and the service instance is saved in a routing table mapping structure.

2. The method for integrating multiple services based on IVehicle of AAOS system according to claim 1, characterized in that: The determining, according to the release status of the service, whether the newly released service belongs to the Ivehicle service includes: According to the instance name and interface name of the newly released service, determine whether the newly released service belongs to the Ivehicle service.

3. The method for integrating multiple services based on IVehicle of AAOS system according to claim 2, characterized in that: The determination of whether the newly released service belongs to the Ivehicle service includes: If the instance name or the interface name is Ivehicle, it is determined that the newly released service belongs to the Ivehicle service.

4. The method for integrating multiple services based on IVehicle of AAOS system according to claim 1, characterized in that: The obtaining of a service instance of a newly published service determined to be an Ivehicle service and saving the service instance to a routing table mapping structure includes: Through the getService function in the Ivehicle service, obtain one or more service instances of the newly released service, and record all service instances in the routing table mapping structure.

5. The method for integrating multiple services based on IVehicle of AAOS system according to claim 4, characterized in that: The routing table mapping structure is used to distribute function requests from vehicle attribute services.

6. The method for integrating multiple services based on IVehicle of AAOS system according to claim 1, characterized in that: The hardware abstraction layer of the vehicle terminal registers the callback service with the AAOS system including: During the startup of the AOS system, the callback service is registered with the AAOS system through the hardware abstraction layer of the vehicle.

7. An IVehicle multi-service integration system based on the AAOS system according to claim 1, characterized in that: include: A monitoring module, used to register a callback service with the AAOS system through the hardware abstraction layer of the vehicle terminal, and monitor the publishing status of the newly released service through the callback service; A judgment module is used to judge whether a newly released service belongs to Ivehicle service according to the release status of the service; The saving module is used to obtain a service instance of a newly released service that is determined to be an Ivehicle service, and save the service instance into a routing table mapping structure.

8. The AAOS system IVehicle multi-service integration system according to claim 7 is characterized in that: The monitoring module comprises: The registration unit is used to register the callback service in the AAOS system through the hardware abstraction layer of the vehicle; The monitoring unit is used to monitor the publishing status of the newly published service through the callback service.

9. An electronic device, comprising: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the one or more processors to implement the AAOS system IVehicle multi-service integration method as described in any one of claims 1 to 6.

10. A computer readable medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the AAOS system IVehicle multi-service integration method according to any one of claims 1 to 6 is implemented.