A vehicle GPS data transmission system and method based on SOA

Through the vehicle GPS data transmission system based on SOA, the SOA Skeleton and Proxy codes are used to realize the format conversion and transmission of GPS data, which solves the problems of GPS data sharing and hardware differences between multiple SOCs, reduces the vehicle cost and improves the system flexibility. sex.

CN115442403BActive Publication Date: 2024-09-10CHONGQING CHANGAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211061154.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-31
Publication Date
2024-09-10
Estimated Expiration
2042-08-31

AI Technical Summary

Technical Problem

In a complex automotive architecture, when multiple SOCs require GPS data, each SOC needs to mount a GPS module, resulting in an increase in the cost of the vehicle. Moreover, there are differences in hardware solutions and software between different models and hardware suppliers, making it difficult to realize GPS data. effective sharing.

Method used

Adopt a vehicle GPS data transmission system based on SOA, connect the GPS module to service providers and service users, use SOA Skeleton code and Proxy code to implement GPS information acquisition service and service calling interface, perform data format conversion and transmission, and use intermediate Software such as DDS or SOME/IP is used for data transmission, shielding software differences between different hardware configurations.

Benefits of technology

It realizes the sharing and unified management of GPS data in the entire vehicle, reduces the number of GPS modules required, avoids software problems caused by hardware differences, and improves the flexibility and scalability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115442403B
    Figure CN115442403B
Patent Text Reader

Abstract

The present invention provides a vehicle GPS data transmission system and method based on SOA, the system includes a GPS module, a service provider and at least one service user; the GPS module is connected to the service provider, and the service provider is connected to the at least one service user; the GPS module is used to provide vehicle GPS raw data, and the vehicle GPS raw data includes GPS positioning information and current time information; the service provider is used to provide GPS information acquisition service and service call interface; the GPS information acquisition service is used to acquire vehicle GPS raw data, and convert the vehicle GPS raw data into a format according to a preset SOA service data format to obtain format-converted GPS data; the service user is used to call the GPS information acquisition service through the service call interface to acquire format-converted GPS data. The system in this application can realize the sharing of GPS positioning information and current time information in the whole vehicle, and can also shield the software difference problems caused by different hardware configurations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle communication technology, and in particular to a vehicle GPS data transmission system and method based on SOA. Background Art

[0002] GPS (Global Positioning System) is a high-precision radio navigation positioning system based on artificial earth satellites. It can provide accurate geographic location and precise time information anywhere in the world and in near-Earth space. Cars cannot do without GPS. Whether in the field of autonomous driving or in the navigation and mapping applications in smart cockpits, GPS data is needed.

[0003] GPS data is provided by the GPS module. Usually, the GPS module is mounted on the system SOC (System on Chip), and the system SOC obtains the original GPS data through UART (Universal Asynchronous Receiver / Transmitter) or SPI (Serial Peripheral Interface) communication. As the automotive architecture becomes more and more complex, the whole vehicle usually has multiple SOCs, and due to different configurations of different models or differences in hardware solutions and hardware suppliers between different models, if a GPS module is mounted on each SOC that needs GPS data, it will inevitably increase the cost of the whole vehicle. Summary of the invention

[0004] In view of the above-mentioned shortcomings of the prior art, the present invention provides a vehicle GPS data transmission system and method based on SOA to solve the above-mentioned technical problems.

[0005] In one embodiment of the present invention, a vehicle GPS data transmission system based on SOA is provided, the system comprising a GPS module, a service provider and at least one service user;

[0006] The GPS module is connected to the service provider, and the service provider is connected to the at least one service user;

[0007] The GPS module is used to provide vehicle GPS raw data, and the vehicle GPS raw data includes GPS positioning information and current time information;

[0008] The service provider is used to provide GPS information acquisition services and service calling interfaces;

[0009] The GPS information acquisition service is used to acquire the vehicle GPS raw data, and convert the vehicle GPS raw data into a format according to a preset SOA service data format to obtain GPS data after format conversion;

[0010] The service user is used to call the GPS information acquisition service through the service calling interface to obtain the GPS data after the format conversion.

[0011] In one embodiment of the present invention, the service provider includes a first SOC integrated with a SOA Skeleton code, and the first SOC obtains the GPS information acquisition service and the service calling interface according to the SOA Skeleton code.

[0012] In one embodiment of the present invention, the service user includes a second SOC integrated with SOA Proxy code, and the second SOC calls the GPS information acquisition service by calling the service calling interface.

[0013] In one embodiment of the present invention, the GPS information acquisition service includes a Get method;

[0014] The service user generates a data acquisition request through the Get method and transmits the data acquisition request to the service provider. The service provider responds to the data acquisition request and transmits the format-converted GPS data to the service user.

[0015] In one embodiment of the present invention, the GPS information acquisition service includes a Notify method;

[0016] The service user periodically receives the data sent by the service provider through the Notify method, or the service user receives the data sent by the service provider through the Notify method according to a preset information receiving strategy.

[0017] In one embodiment of the present invention, the service provider and the service user perform data transmission via middleware, the middleware includes DDS or SOME / IP or ESB, and the transmission medium of the middleware is in-vehicle Ethernet.

[0018] In one embodiment of the present invention, the GPS module communicates with the service provider via UART or SPI.

[0019] In one embodiment of the present invention, the SOC includes an autonomous driving SOC, a cockpit SOC, and a TBOX SOC.

[0020] In one embodiment of the present invention, a vehicle GPS data transmission method based on SOA is provided, the method using the system as described above, the method comprising:

[0021] The service provider obtains the vehicle GPS raw data from the GPS module through the GPS information acquisition service, and performs format conversion on the vehicle GPS raw data according to a preset SOA service data format to obtain format-converted GPS data;

[0022] At least one service user calls the GPS information acquisition service through the service calling interface to obtain the GPS data after the format conversion.

[0023] In one embodiment of the present invention, before the service provider obtains the vehicle GPS raw data from the GPS module through the GPS information acquisition service, the service provider further includes:

[0024] Integrate the SOA Skeleton code in the first SOC, and obtain the GPS information acquisition service and the service calling interface according to the SOA Skeleton code to obtain the service provider;

[0025] Integrate the SOA Proxy code in at least one second SOC to obtain the at least one service user.

[0026] Beneficial effects of the present invention: The vehicle GPS data transmission system based on SOA includes a GPS module, a service provider and at least one service user; the GPS module is connected to the service provider, and the service provider is connected to the at least one service user; the GPS module is used to provide vehicle GPS raw data, and the vehicle GPS raw data includes GPS positioning information and current time information; the service provider is used to provide GPS information acquisition service and service call interface; the GPS information acquisition service is used to acquire the vehicle GPS raw data, and convert the vehicle GPS raw data into a format according to a preset SOA service data format to obtain the format-converted GPS data; the service user is used to call the GPS information acquisition service through the service call interface to acquire the format-converted GPS data. In the present invention, the service user and the service provider can be multiple SOCs, and one SOC provides the GPS information acquisition service and service call interface, and the other multiple SOCs call the interface and service to acquire the GPS positioning information and current time information in the GPS module, so as to realize the sharing of GPS positioning information and current time information in the whole vehicle, and at the same time, the software difference problem caused by different hardware configurations can be shielded.

[0027] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0029] Figure 1 is a schematic diagram of an implementation environment of a vehicle GPS data transmission system based on SOA, shown in an exemplary embodiment of the present application;

[0030] Figure 2 is a schematic diagram of a vehicle GPS data transmission system based on SOA shown in an exemplary embodiment of the present application;

[0031] Figure 3 It is a flowchart of a vehicle GPS data transmission method based on SOA shown in an exemplary embodiment of the present application;

[0032] Figure 4 It is a flow chart of a method for designing a vehicle GPS data transmission system based on SOA, shown as an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0033] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.

[0034] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0035] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.

[0036] First of all, it should be noted that:

[0037] SOA: Service-Oriented Architecture, a service-oriented architecture that can connect different functional units of an application through well-defined contracts or policies. SOA architecture is loosely coupled, easy to expand, and can shield platform differences. It defines a method for reusing software components through service interfaces. Such interfaces use common communication standards that can be quickly incorporated into new applications without having to perform deep integration each time.

[0038] Each service in SOA contains the code and data integration required to perform a complete independent business function. These service interfaces provide loose coupling, which means that they can be called even if there is little or no knowledge of how the integration is implemented at the bottom. Services are exposed using standard network protocols such as SOAP (Simple Object Access Protocol) / HTTP (Hyper Text Transfer Protocol) or JSON (JavaScript Object Notation) / HTTP to send requests to read or change data.

[0039] Middleware: Middleware is a type of software between application systems and system software. It uses the basic services (functions) provided by system software to connect various parts of the application system or different applications on the network, and can achieve the purpose of resource sharing and function sharing. It does not have a very strict definition, but the definition of IDC (Internet Data Center) is generally accepted: Middleware is an independent system software service program. Distributed application software uses this software to share resources between different technologies. Middleware is located on the operating system of the client server and manages computing resources and network communications.

[0040] The SOA-based vehicle GPS data transmission system and method proposed in the embodiments of the present application involve the above-mentioned technology, and these embodiments will be described in detail below.

[0041] First see Figure 1 , Figure 11 is a schematic diagram of an implementation environment of a vehicle GPS data transmission system based on SOA shown in an exemplary embodiment of the present application. The implementation environment includes a terminal 101, a cloud device 102, and a server 103. The terminal 101 includes the vehicle GPS data transmission system based on SOA in the embodiment of the present application, and executes the vehicle GPS data transmission method based on SOA in the embodiment of the present application. The cloud device 102 and the server 103 are used for data storage and calculation.

[0042] Schematically, the SOA-based vehicle GPS data transmission system in the terminal 101 distributes the format-converted GPS data to multiple SOCs, and stores and calculates the data in the SOCs through the cloud device 102 and the server 103 to achieve whole vehicle control of the vehicle.

[0043] in, Figure 1 The terminal 101 shown may be, for example, a vehicle-mounted control system. Figure 1 The server 103 shown may be, for example, an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms, and is not limited here. The terminal 101 may communicate with the server 103 via wireless networks such as 3G (third generation mobile information technology), 4G (fourth generation mobile information technology), and 5G (fifth generation mobile information technology), and is not limited here.

[0044] In one embodiment of the present application, the vehicle GPS data transmission system based on SOA of the present application is described in detail. Figure 2 , Figure 2 FIG. 1 is a schematic diagram of a vehicle GPS data transmission system based on SOA, which is described in detail as follows:

[0045] The system includes a GPS module, a service provider and at least one service user;

[0046] The GPS module is connected to the service provider, and the service provider is connected to the at least one service user;

[0047] The GPS module is used to provide vehicle GPS raw data, and the vehicle GPS raw data includes GPS positioning information and current time information;

[0048] The service provider is used to provide GPS information acquisition services and service calling interfaces;

[0049] The GPS information acquisition service is used to acquire the vehicle GPS raw data, and convert the vehicle GPS raw data into a format according to a preset SOA service data format to obtain GPS data after format conversion;

[0050] The service user is used to call the GPS information acquisition service through the service calling interface to obtain the GPS data after the format conversion.

[0051] In one embodiment of the present application, the service provider is the Client side (client) of the GPS SOA service, and the service provider is the Server side (server) of the GPS SOA service. Multiple second SOCs can call the GPS information acquisition service in the first SOC by calling the interface, thereby obtaining the vehicle GPS data provided by the GPS module. In this embodiment, the vehicle GPS data may include, for example, GPS positioning information and current time information. Through the loose coupling of the SOA architecture, only one GPS module needs to be mounted on one SOC in the system, and through a unified calling interface, it can avoid differences in hardware solutions and hardware suppliers due to different configurations of vehicle models or different vehicle models.

[0052] It should be noted that in addition to providing GPS positioning information and current time information, the GPS module in the embodiment of the present application can also provide satellite information and ground speed information. The specific vehicle GPS data type can be determined according to actual application requirements, and this application does not limit this.

[0053] In one embodiment of the present application, the service provider includes a first SOC integrated with SOA Skeleton code, and the first SOC obtains the GPS information acquisition service and the service call interface according to the SOA Skeleton code to implement the corresponding interface or method; the service user includes a second SOC integrated with SOA Proxy code, and the second SOC implements the call to the GPS information acquisition service by calling the service call interface.

[0054] In one embodiment of the present application, the GPS information acquisition service includes a Get method and a Notify method. The service user generates a data acquisition request through the Get method and transmits the data acquisition request to the service provider, and the service provider responds to the data acquisition request and transmits the format-converted GPS data to the service user. The service user periodically receives the data sent by the service provider through the Notify method, or the service user receives the data sent by the service provider through the Notify method according to a preset information receiving strategy.

[0055] In one embodiment of the present application, the service provider and the service user transmit data through middleware, and the middleware includes DDS (Data Distribution Service) or SOME / IP (Scalable service-Oriented MiddlewarE over IP) or ESB (Enterprise Service Bus), and the transmission medium of the middleware is vehicle-mounted Ethernet, and the vehicle-mounted Ethernet includes 100M Ethernet or 1G Ethernet. The GPS module communicates with the service provider through UART or SPI. SOC includes autonomous driving SOC, cockpit SOC, and TBOX SOC.

[0056] In one embodiment of the present application, a vehicle GPS data transmission method based on SOA is described in detail. The method is implemented based on the vehicle GPS data transmission system based on SOA described in the above embodiment. Figure 3 , Figure 3 FIG. 1 is a flow chart of a vehicle GPS data transmission method based on SOA, which is described in detail as follows:

[0057] S310, the service provider obtains the vehicle GPS raw data from the GPS module through the GPS information acquisition service, and converts the vehicle GPS raw data into a format according to a preset SOA service data format to obtain GPS data after the format conversion;

[0058] S320. At least one service user calls the GPS information acquisition service through a service calling interface to obtain the GPS data after the format conversion.

[0059] In this embodiment, the GPS service server program converts the GPS raw data obtained from the GPS module into the data format defined by the GPSSOA service, publishes the GPS data through the publish / subscribe mode, or sends it when receiving a request from the client.

[0060] Exemplarily, the GPS service client program can receive the GPS data sent by the server by subscription, or actively obtain the required GPS data by calling the Get method.

[0061] In one embodiment of the present application, before the service provider obtains the vehicle GPS raw data from the GPS module through the GPS information acquisition service, the service provider further includes:

[0062] Integrate the SOA Skeleton code in the first SOC, and obtain the GPS information acquisition service and the service calling interface according to the SOA Skeleton code to obtain the service provider;

[0063] Integrate the SOA Proxy code in at least one second SOC to obtain the at least one service user.

[0064] Through the steps in the above embodiments, the GPS data provided by a single GPS module can be shared among multiple SOCs, and the software differences caused by different hardware configurations can be shielded.

[0065] In one embodiment of the present application, the system design method is described in detail. Figure 4 , Figure 4 FIG. 1 is a flow chart of a method for designing a vehicle GPS data transmission system based on SOA, which is described in detail as follows:

[0066] S410. Formulate GPS SOA services and abstract interfaces / methods: Based on the characteristics of GPS data and the requirements of different applications for GPS data, abstract common GPS SOA services and design GPS service interfaces / methods, such as GetGpsTime(), GetGPSLocation(), NotifyGpsTime(), NotifyGpsLocation(), etc. The service interface / method is equivalent to the agreed protocol or rules for communication between the server and the client. In the actual use of the system, the service is called or implemented according to the defined service interface / method.

[0067] S420, generate SOA Proxy and SOA Skeleton framework codes: automatically generate Proxy and Skeleton framework codes of GPS SOA service in different development platforms through C++, C or Java, where Proxy is the client end of GPS service and Skeleton is the server end of GPS service.

[0068] S430, server-side integration of SOA Skeleton code: The server-side integrates the SOA Skeleton code, and obtains the GPS information acquisition service and service call interface according to the SOA Skeleton code, and implements the corresponding interface or method; the SOASkeleton code is integrated on the SOC connected to the GPS module, that is, the GPS service server.

[0069] S440, Client integrated SOA Proxy code: Client integrated SOA Proxy code to implement the call to the service interface or method. Other SOCs that need to obtain GPS data integrate SOA Proxy code, that is, GPS service Client.

[0070] In one embodiment of the present application, the step of designing the service type is also included: the GPS SOA service includes a Get method and a Notify method. The client can obtain the desired GPS data by calling the Get method, or it can receive the GPS data sent by the Server by subscribing to the Notify method. In the Notify method, the Server supports the periodic sending of GPS data, and also supports the variable sending, which can be specifically agreed upon according to the business scenario. The GPS service Server program converts the GPS raw data obtained from the GPS module into the data format defined by the GPS SOA service, publishes the GPS data through the publish / subscribe mode, or sends it when receiving a request from the Client; the GPS service Client program can receive the GPS data sent by the Server by subscription, or it can actively obtain the required GPS data by calling the Get method; GPS data is transmitted between SOCs through middleware, and commonly used communication middleware includes DDS, SOME / IP, etc.

[0071] It should be noted that although the steps of the method in the present application are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

Claims

1. A vehicle GPS data transmission system based on SOA, the system comprising a GPS module, a service provider and at least one service user, characterized in that: The GPS module is connected to the service provider, and the service provider is connected to the at least one service user; the service provider includes a first SOC integrated with SOA Skeleton code, and the service user includes a second SOC integrated with SOA Proxy code; The GPS module is used to provide vehicle GPS raw data, and the vehicle GPS raw data includes GPS positioning information and current time information; The service provider is used to provide GPS information acquisition services and service calling interfaces; The GPS information acquisition service is used to acquire the vehicle GPS raw data, and convert the vehicle GPS raw data into a format according to a preset SOA service data format to obtain GPS data after format conversion; The service user is used to call the GPS information acquisition service through the service calling interface to obtain the GPS data after the format conversion; wherein, the GPS information acquisition service includes a Get method, the service user generates a data acquisition request through the Get method and transmits the data acquisition request to the service provider, and the service provider responds to the data acquisition request and transmits the GPS data after the format conversion to the service user.

2. The vehicle GPS data transmission system based on SOA according to claim 1 is characterized in that: The first SOC obtains the GPS information acquisition service and the service calling interface according to the SOA Skeleton code.

3. The vehicle GPS data transmission system based on SOA according to claim 1 is characterized in that: The second SOC calls the service calling interface to call the GPS information acquisition service.

4. The vehicle GPS data transmission system based on SOA according to claim 1 is characterized in that: The GPS information acquisition service includes a Notify method; The service user periodically receives the data sent by the service provider through the Notify method, or the service user receives the data sent by the service provider through the Notify method according to a preset information receiving strategy.

5. The vehicle GPS data transmission system based on SOA according to claim 1 is characterized in that: The service provider and the service user perform data transmission via middleware, the middleware includes DDS or SOME / IP or ESB, and the transmission medium of the middleware is in-vehicle Ethernet.

6. The vehicle GPS data transmission system based on SOA according to claim 1 is characterized in that: The GPS module communicates with the service provider via UART or SPI.

7. The vehicle GPS data transmission system based on SOA according to claim 2 or 3, characterized in that: The SOC includes an autonomous driving SOC, a cockpit SOC, and a TBOX SOC.

8. A vehicle GPS data transmission method based on SOA, characterized in that: The method uses the system according to any one of claims 1 to 7, and the method comprises: The service provider obtains the vehicle GPS raw data from the GPS module through the GPS information acquisition service, and performs format conversion on the vehicle GPS raw data according to a preset SOA service data format to obtain format-converted GPS data; At least one service user calls the GPS information acquisition service through the service calling interface to obtain the GPS data after the format conversion.

9. The vehicle GPS data transmission method according to claim 8, characterized in that: Before the service provider obtains the vehicle GPS raw data from the GPS module through the GPS information acquisition service, the service provider also includes: Integrate the SOA Skeleton code in the first SOC, and obtain the GPS information acquisition service and the service calling interface according to the SOA Skeleton code to obtain the service provider; Integrate the SOA Proxy code in at least one second SOC to obtain the at least one service user.