A database development method and device based on service communication and a vehicle

CN122985751APending Publication Date: 2026-10-27MERCEDES BENZ GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611071666.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-17
Publication Date
2026-10-27

AI Technical Summary

Benefits of technology

[0017]上述发明的技术方案具有如下优点或有益效果:本发明能够解决现有跨操作系统开发和部署基于服务通信的数据库的成本高、效率低,以及无法进行仿真和性能分析的技术问题;从而实现了能够针对不同操作系统统一开发基于服务通信的数据库,大幅度降低开发成本和避免开发风险,同时能够使用统一的工具进行服务仿真和性能分析,不需要针对不同的操作系统分别开发和部署仿真代码和性能分析代码。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122985751A_ABST
    Figure CN122985751A_ABST
Patent Text Reader

Abstract

The application discloses a database development method and device based on service communication and a vehicle, and belongs to the technical field of intelligent driving. A specific embodiment of the method comprises the following steps: in response to a creation event of a vehicle-mounted database, a preset template is acquired and output; return data for the template is received, service information in the return data is extracted, a database source code is generated according to the service information and saved, and the database source code is sent to a vehicle-mounted controller with the same service information. The method can realize the technical effect of uniformly developing a database based on service communication for different operating systems.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent driving technology, and in particular to a database development method, apparatus, and vehicle based on service communication. Background Technology

[0002] Currently, service-based communication databases are typically developed using different tools depending on the operating system. For example, the vector PREVIS tool is used for CP database development on Classic AUTOSAR, and for AP database development on Adaptive AUTOSAR. Open-source code such as Common API / Protocol Buffers is used for database development on Android / QNX / Linux. Therefore, existing service-based communication databases suffer from high development costs, low efficiency, and the inability to perform communication simulation and performance analysis across different operating systems. Summary of the Invention

[0003] In view of this, the present invention provides a database development method, apparatus and vehicle based on service communication, which can achieve the technical effect of developing databases based on service communication uniformly for different operating systems.

[0004] To solve the above-mentioned technical problems, the present invention provides the following technical solution: In a first aspect, the present invention provides a database development method based on service communication, applied to a computer terminal, comprising: in response to a creation event of an in-vehicle database, obtaining and outputting a preset template; receiving return data for the template, extracting service information from the return data, generating and saving database source code based on the service information; and sending the database source code to an in-vehicle controller having the same service information.

[0005] Optionally, after extracting the service information from the returned data, the process includes: calling a preset audit model to verify the service information; generating database source code based on the service information in response to the successful verification of the service information; or locating the service information that failed verification in response to the failed verification of the service information, generating a prompt message and outputting it.

[0006] Optionally, the service information includes at least operating system information and vehicle networking / Ethernet protocol version information.

[0007] Optionally, it includes: responding to a communication request with an onboard database, locating the corresponding database source code according to the communication request, integrating the corresponding database locally through the database source code, and invoking a preset simulation program to perform communication with the database.

[0008] Optionally, after performing communication with the database, the process includes: acquiring communication messages with the database, processing the communication messages using a preset performance analysis program, and obtaining performance analysis data.

[0009] Secondly, the present invention provides a method for database development based on service communication, applied to an in-vehicle controller, comprising: receiving database source code sent by a computer terminal, obtaining the operating system type in the database source code, and obtaining the in-vehicle operating system type; and, in response to the operating system type being consistent with the in-vehicle operating system type, constructing a corresponding in-vehicle database based on the database source code.

[0010] Optionally, it further includes: receiving a communication request to the vehicle database and establishing a communication connection; obtaining a communication message to the vehicle database, calling the performance stub code integrated in the vehicle operating system, processing the communication message, and obtaining performance analysis data.

[0011] Optionally, it further includes: forwarding the communication request to the computer terminal in response to the failure of the communication connection.

[0012] Thirdly, embodiments of the present invention provide a database development apparatus based on service communication, applied to a computer terminal, comprising: an acquisition unit, a generation unit, and a sending unit, wherein the acquisition unit is configured to acquire and output a preset template in response to a creation event of an in-vehicle database; the generation unit is configured to receive return data for the template, extract service information from the return data, generate database source code based on the service information, and save it; the sending unit is configured to send the database source code to an in-vehicle controller having the same service information.

[0013] Fourthly, embodiments of the present invention provide a database development apparatus based on service communication, applied to an in-vehicle controller, comprising: an acquisition unit and a processing unit, wherein the acquisition unit is configured to receive database source code sent by a computer terminal, acquire the operating system type in the database source code, and acquire the in-vehicle operating system type; the processing unit is configured to, in response to the operating system type being consistent with the in-vehicle operating system type, construct a corresponding in-vehicle database based on the database source code.

[0014] Fifthly, embodiments of the present invention provide a vehicle including a processor, a memory, and a display, wherein the processor is configured to acquire and execute code in the memory to perform the method provided in the first aspect embodiment.

[0015] Sixthly, embodiments of the present invention provide an in-vehicle electronic device developed based on a database for service communication, comprising: One or more processors; 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 a service communication-based database development method as described in the above embodiments of the present invention.

[0016] In a seventh aspect, embodiments of the present invention provide a computer-readable storage medium for database development based on service communication, having stored thereon a computer program for implementing database development based on service communication, wherein the computer program, when executed by an onboard processor, implements a database development method based on service communication according to embodiments of the present invention.

[0017] The technical solution of the above invention has the following advantages or beneficial effects: The present invention can solve the technical problems of high cost, low efficiency and inability to perform simulation and performance analysis of existing cross-operating system development and deployment of service communication-based databases; thereby realizing the ability to develop service communication-based databases uniformly for different operating systems, greatly reducing development costs and avoiding development risks, while using unified tools for service simulation and performance analysis, without the need to develop and deploy simulation code and performance analysis code separately for different operating systems. Attached Figure Description

[0018] Figure 1 This is a schematic diagram of the main steps of a computer terminal in a database development scenario based on service communication according to some embodiments of the present invention; Figure 2 This is a schematic diagram of a computer terminal for a database development scenario based on service communication according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the main steps of a computer terminal in a database development scenario based on service communication according to the second embodiment of the present invention; Figure 4 This is a schematic diagram of the main steps of a computer terminal in a database development scenario based on service communication according to the third embodiment of the present invention; Figure 5 This is a schematic diagram of the main steps of a computer terminal in a database development scenario based on service communication according to the fourth embodiment of the present invention; Figure 6This is a schematic diagram of the main steps of a computer terminal in a database development scenario based on service communication according to the fifth embodiment of the present invention; Figure 7 This is a schematic diagram of the main steps of an in-vehicle controller in a database development scenario based on service communication according to some embodiments of the present invention; Figure 8 This is a schematic diagram of an in-vehicle controller for a database development scenario based on service communication according to an embodiment of the present invention; Figure 9 This is a schematic diagram of the main steps of an in-vehicle controller in a database development scenario based on service communication according to the second embodiment of the present invention; Figure 10 This is a schematic diagram of the main steps of an in-vehicle controller in a database development scenario based on service communication according to the third embodiment of the present invention; Figure 11 This is a schematic diagram of the main steps of the vehicle controller in a database development scenario based on service communication according to the fourth embodiment of the present invention; Figure 12 This is a schematic diagram of a database development system based on service communication according to some embodiments of the present invention; Figure 13 This is a schematic diagram of the main computer terminal unit of a database development device based on service communication according to an embodiment of the present invention; Figure 14 This is a schematic diagram of the main unit of the vehicle controller of a database development device based on service communication according to an embodiment of the present invention; Figure 15 This is a schematic diagram of the structure of a vehicle according to an embodiment of the present invention; Figure 16 This is an exemplary vehicle system architecture diagram provided by embodiments of the present invention that can be applied thereto; Figure 17 This is a schematic diagram of the structure suitable for implementing the computer system provided in the embodiments of the present invention. Detailed Implementation

[0019] The following description, in conjunction with the accompanying drawings, illustrates exemplary embodiments of the present invention, including various details to aid understanding. These details should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the invention. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0020] It should be noted that, unless otherwise specified, the embodiments of the present invention and the technical features thereof can be combined with each other.

[0021] Furthermore, the terms "first," "second," and "third," etc., included in the terminology of this invention are used to distinguish similar objects and are not necessarily used to describe a specific number or order. It should be understood that such terms can be used interchangeably where appropriate; this is merely a distinguishing method used in the embodiments of this invention when describing objects with the same attributes.

[0022] Furthermore, the vehicles involved in the embodiments of the present invention may be internal combustion engine vehicles that use an engine as a power source, hybrid vehicles that use an engine and an electric motor as power sources, electric vehicles that use an electric motor as a power source, etc.

[0023] Figure 1 This is a schematic diagram illustrating the main steps of a computer terminal in a database development scenario based on service communication, according to some embodiments of the present invention. Figure 1 As shown, this service communication-based database development method mainly includes the following steps: Step S101: In response to the creation event of the vehicle database, obtain the preset template and output it.

[0024] In this embodiment, the computer terminal of the present invention can automatically trigger the creation event of the vehicle database, or it can receive the vehicle database creation request sent by the vehicle controller and thus trigger the creation event of the vehicle database. Here, the present invention does not limit the triggering of the creation event.

[0025] Furthermore, in the embodiments, the templates preset by the present invention can be various types of files, such as EXCEL files, FIDL files, etc. The templates can be output for users to fill in service information.

[0026] In a further embodiment of the present invention, the template for step S101 may have options for selecting the operating system type and the version of the service communication protocol for vehicle networking / Ethernet (SOME / IP). In addition, the service information described in the embodiments of the present invention may include at least operating system information and vehicle networking / Ethernet protocol version information.

[0027] Step S102: Receive the returned data for the template, extract the service information from the returned data, generate database source code based on the service information, and save it.

[0028] In some embodiments, the present invention generates database source code based on user-selected or input operating system information, vehicle networking / Ethernet protocol version information, and other relevant service information, and saves it locally. Here, the database source code refers to the program source code of the database system.

[0029] In a further embodiment of the present invention, step S102 can check the acquired service information, and if errors are found, output relevant error messages. The specific implementation process includes: after extracting the service information from the returned data, it includes: calling a preset auditing model to verify the service information; then, in response to the successful verification of the service information, generating database source code based on the service information; or in response to the failed verification of the service information, locating the failed service information, generating and outputting a prompt message. The auditing model can be, but is not limited to, a trained convolutional neural network, recurrent neural network model, or long short-term memory network model, etc. For example: Figure 2 As shown, computer terminal A is configured with a unified template B and outputs it. The received service information is verified and database source code is generated by a tool C (such as DataGrip, DBeaver, etc.). Finally, the database source code is stored and integrated locally on D.

[0030] Step S103: Send the database source code to the vehicle controller that has the same service information.

[0031] In this embodiment, step S103 can send the generated database source code to the vehicle controller that triggered the creation event. Alternatively, the generated database source code can be sent to a vehicle controller with the same service information. It can be seen that as long as the database source code corresponding to the service information is generated, even if the vehicle controller does not send a creation request, the corresponding database source code can be obtained from the computer terminal. As long as the service information used to generate the database source code is consistent, the time and cost of database development are greatly reduced.

[0032] In a further embodiment of the present invention, the present invention can not only simulate and perform performance analysis on the service-based communication database of the vehicle controller, but also simulate and perform performance analysis on service-based communication databases of different operating systems using a computer terminal. For example, when the service-based communication database of the vehicle controller is not fully integrated or the connection fails, simulation can be performed using a computer terminal. The specific implementation process includes: responding to a communication request with the vehicle database, locating the corresponding database source code according to the communication request, and integrating the corresponding database locally using the database source code (e.g., ...). Figure 2 As shown, the database source code is stored in local D of computer terminal A. After local integration, the corresponding database is obtained. Then, a preset simulation program is called (example: such as...). Figure 2As shown, computer terminal A is configured with a simulation program F to perform communication with the database. Therefore, this invention enables computer terminals to perform simulation operations based on service communication databases for different operating systems, and ensures that simulation operations can still be performed even in the event of an malfunction in the vehicle controller, thus ensuring the consistency and effectiveness of the simulation operations. The simulation program is a program that uses computer technology to simulate and reproduce the behavior of the actual system.

[0033] In a further embodiment of the present invention, after performing communication with the database, the present invention can analyze the performance of service-based communication messages, including frame drop rate, latency, jitter, throughput, etc. The specific implementation process includes: acquiring communication messages with the database, and processing the communication messages using a preset performance analysis program (e.g., ...). Figure 2 As shown, computer terminal A is equipped with a performance analysis program (E) to obtain performance analysis data. The performance analysis program refers to a program that evaluates the operating efficiency of a computer program or system by monitoring indicators such as processor utilization, network services, and storage I / O.

[0034] The database development method based on service communication provided in the embodiments of the present invention, such as Figure 3 The diagram illustrates the main steps of a computer terminal in a database development scenario based on service communication, as provided in the second embodiment of the present invention. The embodiments of the present invention include the following steps: Step S301: In response to the creation event of the vehicle database, obtain the preset template and output it.

[0035] Step S302: Receive the returned data for the template and extract the service information from the returned data.

[0036] Step S303: Invoke the preset audit model to verify the service information.

[0037] Step S304: In response to the successful verification of the service information, generate and save the database source code based on the service information.

[0038] Step S305: Send the database source code to the vehicle controller that has the same service information.

[0039] As can be seen, this invention not only enables the unified development of service communication-based databases for different operating systems, but also verifies service information, ensuring the validity of the database source code.

[0040] like Figure 4 The diagram illustrates the main steps of a computer terminal in a database development scenario based on service communication, as provided in the third embodiment of the present invention. The embodiments of the present invention include the following steps: Step S401: In response to the creation event of the vehicle database, obtain the preset template and output it.

[0041] Step S402: Receive the returned data for the template and extract the service information from the returned data.

[0042] Step S403: Invoke the preset audit model to verify the service information.

[0043] Step S404: In response to the failure of the verification of the service information, locate the service information that failed the verification, generate a prompt message and output it.

[0044] Step S405: Receive the modified service information; in response to the successful verification of the modified service information, generate and save the database source code based on the modified service information.

[0045] Step S406: Send the database source code to the vehicle controller that has the same service information.

[0046] As can be seen, this invention can not only develop a unified database based on service communication for different operating systems, but also verify service information and modify service information that fails verification, thus ensuring the generation of database source code.

[0047] like Figure 5 The diagram illustrates the main steps of a computer terminal in a database development scenario based on service communication, as provided in the fourth embodiment of the present invention. The embodiments of the present invention include the following steps: Step S501: In response to the creation event of the vehicle database, obtain the preset template and output it.

[0048] Step S502: Receive the returned data for the template and extract the service information from the returned data.

[0049] Step S503: Generate and save the database source code based on the service information.

[0050] Step S504: Send the database source code to the vehicle controller that has the same service information.

[0051] Step S505: In response to a communication request with the vehicle database, locate the corresponding database source code according to the communication request, and integrate the corresponding database locally using the database source code.

[0052] Step S506: Invoke the preset simulation program to perform communication with the database.

[0053] As can be seen, this invention can not only develop a unified database based on service communication for different operating systems, but also realize communication simulation between different operating systems.

[0054] like Figure 6 The diagram illustrates the main steps of a computer terminal in a database development scenario based on service communication, as provided in the fifth embodiment of the present invention. The embodiments of the present invention include the following steps: Step S601: In response to the creation event of the vehicle database, obtain the preset template and output it.

[0055] Step S602: Receive the returned data for the template and extract the service information from the returned data.

[0056] Step S603: Generate and save the database source code based on the service information.

[0057] Step S604: Send the database source code to the vehicle controller that has the same service information.

[0058] Step S605: In response to a communication request with the vehicle database, locate the corresponding database source code according to the communication request, and integrate the corresponding database locally using the database source code.

[0059] Step S606: Invoke the preset simulation program to perform communication with the database.

[0060] Step S607: Obtain the communication messages with the database, process the communication messages using a preset performance analysis program, and obtain performance analysis data.

[0061] As can be seen, this invention not only enables the unified development of service communication-based databases for different operating systems, but also enables the use of unified tools for service simulation and performance analysis.

[0062] like Figure 7 The diagram illustrates the main steps of an in-vehicle controller in a database development scenario based on service communication, as provided in some embodiments of the present invention. These embodiments include the following steps: Step S701: Receive the database source code sent by the computer terminal, obtain the operating system type in the database source code, and obtain the vehicle operating system type.

[0063] In an embodiment, such as Figure 8As shown, the vehicle controller G can receive database source code sent by a computer terminal via an Ethernet protocol stack K or a vehicle networking protocol stack J, and obtain the operating system type and the operating system type of the vehicle controller from the database source code. Ethernet is a computer local area network (LAN) technology, the vehicle-mounted devices in the connected vehicle communicate via wireless communication technology, and the protocol stack is a specific software implementation of a computer network protocol suite.

[0064] Step S702: In response to the fact that the operating system type is consistent with the vehicle operating system type, construct the corresponding vehicle database based on the database source code.

[0065] In this embodiment, if the operating system type in the database source code matches the operating system type of the vehicle controller, a corresponding vehicle database I can be constructed based on the database source code. Figure 8 (As shown). Of course, if the operating system type in the database source code is inconsistent with the operating system type of the vehicle controller, a database source code mismatch message can be generated and returned to the computer terminal.

[0066] In a further embodiment of the present invention, step S702 can receive a communication request with the vehicle database, establish a communication connection, thereby obtaining communication messages with the vehicle database, calling the performance stub code integrated in the vehicle operating system to process the communication messages and obtain performance analysis data. For example: Figure 8 As shown, performance analysis of communication messages is performed through performance stub code in the application program H within the vehicle controller G. The performance stub code is a code instrument used for performance analysis.

[0067] In a further embodiment of the present invention, if the vehicle controller G of the present invention fails to establish a communication connection, it can forward the communication request to the computer terminal, thereby enabling the computer terminal to perform simulation and performance analysis.

[0068] like Figure 9 The diagram illustrates the main steps of an in-vehicle controller in a database development scenario based on service communication, as provided in the second embodiment of the present invention. The embodiments of the present invention include the following steps: Step S901: Receive the database source code sent by the computer terminal.

[0069] Step S902: Obtain the operating system type from the database source code, and obtain the vehicle operating system type.

[0070] Step S903: In response to the inconsistency between the operating system type and the vehicle operating system type.

[0071] Step S904: Generate a message indicating a database source code mismatch and return it to the computer terminal.

[0072] As can be seen, this invention can not only develop databases based on service communication for different operating systems in a unified manner, but also generate prompts for database source code mismatch, thus ensuring the validity of the database source code.

[0073] like Figure 10 The diagram illustrates the main steps of an in-vehicle controller in a database development scenario based on service communication, as provided in the third embodiment of the present invention. The embodiments of the present invention include the following steps: Step S1001: Receive the database source code sent by the computer terminal.

[0074] Step S1002: Construct the corresponding vehicle database based on the aforementioned database source code.

[0075] Step S1003: Receive a communication request to the vehicle database and establish a communication connection.

[0076] Step S1004: Obtain the communication message with the vehicle database.

[0077] Step S1005: Call the performance stub code integrated in the vehicle operating system to process the communication message and obtain performance analysis data.

[0078] As can be seen, this invention can not only develop databases based on service communication for different operating systems in a unified manner, but also perform performance analysis on databases based on service communication.

[0079] like Figure 11 The diagram illustrates the main steps of an in-vehicle controller in a database development scenario based on service communication, as provided in the fourth embodiment of the present invention. The embodiments of the present invention include the following steps: Step S1101: Receive the database source code sent by the computer terminal.

[0080] Step S1102: Construct the corresponding vehicle database based on the aforementioned database source code.

[0081] Step S1103: Receive a communication request with the vehicle database.

[0082] Step S1104: In response to the failure of the communication connection, forward the communication request to the computer terminal.

[0083] As can be seen, this invention can not only develop databases based on service communication for different operating systems, but also perform service simulation and performance analysis in the event of communication connection failure.

[0084] like Figure 12 This diagram illustrates a service communication-based database development system according to an embodiment of the present invention. The system includes an in-vehicle controller G with different operating systems, such as Classic AUTOSAR operating system M, Adaptive AUTOSAR operating system N, Android operating system P, QNX operating system Q, and Linux operating system R. Each operating system includes an Ethernet protocol stack K, a vehicle networking protocol stack J, a service communication-based database I, and an application program H. The in-vehicle controller G can interact with a computer terminal A via an Ethernet switch L. The computer terminal A is configured with a unified template B and outputs it. A tool C is used to verify the received service information and generate database source code. Finally, the database source code is stored and integrated locally on the computer terminal D. Simultaneously, the computer terminal A is configured with a simulation program F and a performance analysis program E for simulation operations and performance analysis.

[0085] The above steps are provided only to help understand the method, structure, and core ideas of this invention. Those skilled in the art can make various improvements and modifications to this invention without departing from its principles, and these improvements and modifications also fall within the scope of protection of the claims.

[0086] Figure 13 This is a schematic diagram of the main computer terminal unit of a database development apparatus based on service communication according to an embodiment of the present invention. Figure 13 As shown, an embodiment of the present invention provides a database development device 1300 based on service communication, comprising: an acquisition unit 1301, a generation unit 1302, and a sending unit 1303. The acquisition unit 1301 is configured to acquire and output a preset template in response to a vehicle database creation event. The generation unit 1302 is configured to receive return data for the template, extract service information from the return data, generate database source code based on the service information, and save it. The sending unit 1303 is configured to send the database source code to a vehicle controller having the same service information.

[0087] In this embodiment of the invention, the generation unit 1302 is further configured to call a preset audit model to verify the service information; in response to the service information passing the verification, generate database source code based on the service information; or in response to the service information failing the verification, locate the service information that failed the verification, generate a prompt message and output it.

[0088] In this embodiment of the invention, the service information includes at least operating system information and vehicle networking / Ethernet protocol version information.

[0089] In this embodiment of the invention, the generation unit 1302 is further configured to respond to a communication request with the vehicle database, locate the corresponding database source code according to the communication request, integrate the corresponding database locally through the database source code, and call a preset simulation program to perform communication with the database.

[0090] In this embodiment of the invention, the generation unit 1302 is further configured to acquire communication messages with the database, process the communication messages using a preset performance analysis program, and obtain performance analysis data.

[0091] Figure 14 This is a schematic diagram of the main unit of an in-vehicle controller for a database development device based on service communication according to an embodiment of the present invention. Figure 14 As shown, an embodiment of the present invention provides a database development device 1400 based on service communication, comprising: an acquisition unit 1401 and a processing unit 1402, wherein the acquisition unit 1401 is configured to receive database source code sent by a computer terminal, acquire the operating system type in the database source code, and acquire the vehicle operating system type; the processing unit 1402 is configured to, in response to the operating system type being consistent with the vehicle operating system type, construct a corresponding vehicle database based on the database source code.

[0092] In this embodiment of the invention, the processing unit 1402 is further configured to receive a communication request with the vehicle database and establish a communication connection; obtain a communication message with the vehicle database; call the performance stub code integrated in the vehicle operating system; process the communication message; and obtain performance analysis data.

[0093] In this embodiment of the invention, the processing unit 1402 is further configured to forward the communication request to the computer terminal in response to the failure of the communication connection.

[0094] like Figure 15 As shown, an embodiment of the present invention provides a vehicle 1500, which may include the service-based communication database development device 1400 for vehicles provided in the above embodiments.

[0095] Figure 16 An exemplary vehicle system architecture 1600 is shown, to which the service communication-based database development method or service communication-based database development apparatus of the present invention can be applied.

[0096] like Figure 16As shown, the vehicle system architecture 1600 may include various systems, such as an intelligent driving system 1601, a powertrain system 1602, a sensor system 1603, a control system 1604, one or more peripheral devices 1605, a power supply 1606, a computer system 1607, and a user interface 1608. Optionally, the vehicle system architecture 1600 may include more or fewer systems, and each system may include multiple components. Furthermore, each system and component of the vehicle system architecture 1600 may be interconnected via wired or wireless means.

[0097] The vehicle system architecture 1600 includes an intelligent driving system 1601, which can be in a fully or partially automated driving mode. For example, the intelligent driving system 1601 can automatically control the vehicle's movement without human interaction; the intelligent driving system 1601 can also control the vehicle's automated driving while in automated driving mode, and can also adjust its automated driving behavior through human interaction. Specifically, the intelligent driving system 1601 can also receive database source code sent by a computer terminal, obtain the operating system type in the database source code, and obtain the vehicle operating system type; in response to the operating system type matching the vehicle operating system type, it constructs a corresponding vehicle database based on the database source code.

[0098] The powertrain 1602 may include components that provide power to the vehicle. For example, the powertrain 1602 may include an engine, an energy source, a transmission, wheels, tires, etc. The engine may be an internal combustion engine, an electric motor, an air-compressed engine, or other combinations of engines, such as a hybrid engine consisting of a gasoline engine and an electric motor, or a hybrid engine consisting of an internal combustion engine and an air-compressed engine. The engine converts the energy source into mechanical energy to supply the transmission. Examples of energy sources may include gasoline, diesel, other petroleum-based fuels, propane, other compressed gas-based fuels, ethanol, solar panels, batteries, and other electrical sources. The energy source may also provide energy to other systems in the vehicle. Furthermore, the transmission may include a gearbox, a differential, a drive shaft, and a clutch, etc.

[0099] Sensor system 1603 may include sensors for sensing the vehicle's surrounding environment. Examples include a positioning system (which may be a Global Positioning System (GPS), BeiDou Navigation Satellite System, or other positioning systems), radar, a laser rangefinder, an inertial measurement unit (IMU), and a camera. The positioning system can be used to determine the vehicle's geographical location. The IMU is used to sense changes in the vehicle's position and orientation based on inertial acceleration. In one embodiment, the IMU may be a combination of an accelerometer and a gyroscope. Radar can use radio signals to sense objects in the vehicle's surrounding environment. In some embodiments, in addition to sensing objects, radar can also be used to sense the speed and / or direction of travel of objects.

[0100] To monitor environmental information and objects located in front of, behind, or to the sides of the vehicle, radar, cameras, and other devices can be configured at appropriate locations on the exterior of the vehicle. For example, to acquire an image of the front of the vehicle, a camera can be configured inside the vehicle and close to the windshield. Alternatively, the camera can be configured around the front bumper or radiator grille. Similarly, to acquire an image of the rear of the vehicle, a camera can be configured inside the vehicle and close to the rear window. Alternatively, the camera can be configured around the rear bumper, trunk, or tailgate. To acquire images of the sides of the vehicle, a camera can be configured inside the vehicle and close to at least one of the side windows. Alternatively, the camera can be configured around the side mirrors, fenders, or doors.

[0101] Laser rangefinders use lasers to sense objects in the environment in which a vehicle is located.

[0102] A camera can be used to capture multiple images of the vehicle's surroundings. The camera can be a still camera or a video camera.

[0103] The control system 1604 may include software systems for implementing autonomous driving, such as a route planning system, an obstacle avoidance system, and a vision system for image analysis. The control system 1604 may also include hardware systems such as an accelerator and steering wheel system. Furthermore, the control system 1604 may add or replace components other than those shown and described. Alternatively, some of the components shown above may be reduced.

[0104] The control system 1604 interacts with external sensors, other autonomous driving devices, other computer systems, or users via peripheral devices 1605. Peripheral devices 1605 may include wireless communication systems, on-board computers, microphones, and / or speakers.

[0105] In some embodiments, peripheral device 1605 provides a means for user interaction with the control system 1604 via a user interface. For example, an onboard computer may provide information to a user of the vehicle. The user interface may also operate the onboard computer to receive user input. The onboard computer may be operated via a touchscreen. In other cases, peripheral device may provide a means for communicating with other devices located within the vehicle. For example, a microphone may receive audio (e.g., voice commands or other audio input) from a user of the control system 1604. Similarly, a speaker may output audio to a user of the control system 1604.

[0106] Wireless communication systems can communicate wirelessly with one or more devices, either directly or via a communication network. For example, wireless communication systems can use networks such as cellular networks, WiFi, and wireless local area networks (WLANs), or they can use infrared links, Bluetooth, or ZigBee to communicate directly with devices. Other wireless protocols include those used in various autonomous driving communication systems.

[0107] The power source 1606 can provide power to various components of the vehicle. The power source 1606 can be a rechargeable lithium-ion or lead-acid battery.

[0108] The computer system 1607 controls some or all of the functions enabling autonomous driving. The computer system 1607 may include at least one processor that executes instructions stored in a non-transitory computer-readable medium such as memory. The computer system 1607 provides the execution code for the aforementioned intelligent driving system to enable autonomous driving.

[0109] The processor can be any conventional processor, such as a commercially available central processing unit (CPU). Alternatively, the processor can be a special-purpose device such as an application-specific integrated circuit (ASIC) or other hardware-based processor. Those skilled in the art will understand that the processor, computer, or memory can actually include multiple processors, computers, or memories that may or may not be stored in the same physical housing. For example, memory can be a hard disk drive or other storage media located in a housing different from that of a computer. Therefore, references to processors or computers will be understood to include references to a collection of processors or computers or memories that may or may not operate in parallel. Unlike using a single processor to perform the steps described herein, some components, such as steering and deceleration components, may each have their own processor that performs calculations only related to the component's specific function.

[0110] User interface 1608 is used to provide information to or receive information from a user of the vehicle. Optionally, user interface 1608 may include one or more input / output devices within a set of peripheral devices 1605, such as wireless communication systems, on-board computers, microphones, and speakers.

[0111] It should be understood that the components described above are merely an example. In actual applications, components in the various modules or systems mentioned above may be added or removed as needed. Figure 12 This should not be construed as a limitation on the embodiments of this application.

[0112] The following is for reference. Figure 17 It shows a schematic diagram of the structure of a computer system 1700 suitable for implementing embodiments of the present invention. Figure 17 The computer system shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.

[0113] like Figure 17 As shown, the computer system 1700 includes a central processing unit (CPU) 1701, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 1702 or programs loaded from storage section 1708 into random access memory (RAM) 1703. The RAM 1703 also stores various programs and data required for the operation of the system 1700. The CPU 1701, ROM 1702, and RAM 1703 are interconnected via bus 1704. An input / output (I / O) interface 1705 is also connected to bus 1704.

[0114] The following components are connected to I / O interface 1705: an input section 1706; an output section 1707 including devices such as cathode ray tubes (CRTs), liquid crystal displays (LCDs), and speakers; a storage section 1708 including devices such as hard disks; and a communication section 1709 including network interface cards such as LAN cards and modems. The communication section 1709 performs communication processing via a network such as the Internet. A drive 1710 is also connected to I / O interface 1705 as needed. Removable media 1711, such as disks, optical disks, magneto-optical disks, semiconductor memories, etc., are installed on drive 1710 as needed so that computer programs read from them can be installed into storage section 1708 as needed.

[0115] In particular, according to the embodiments disclosed in this invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 1709, and / or installed from removable medium 1711. When the computer program is executed by central processing unit (CPU) 1701, it performs the functions defined in the system of this invention.

[0116] It should be noted that the computer-readable medium shown in this invention can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this invention, a readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0117] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0118] The modules described in the embodiments of the present invention can be implemented in software or hardware. The described modules can also be housed in a processor; for example, a processor can be described as including an acquisition unit and a processing unit. The names of these units do not necessarily limit the module itself; for example, the processing unit can also be described as "a unit for constructing a corresponding vehicle database."

[0119] In another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiments; or it may exist independently and not assembled into the device. The computer-readable medium carries one or more programs that, when executed by the device, cause the device to: in response to a creation event of an in-vehicle database, acquire and output a preset template; receive return data for the template, extract service information from the return data, generate and save database source code based on the service information; and send the database source code to an in-vehicle controller having the same service information.

[0120] Alternatively, the aforementioned computer-readable medium may carry one or more programs, which, when executed by a device, cause the device to include: receiving database source code sent by a computer terminal, obtaining the operating system type in the database source code, and obtaining the vehicle operating system type; and, in response to the operating system type being consistent with the vehicle operating system type, constructing a corresponding vehicle database based on the database source code.

[0121] According to the technical solution of the embodiments of the present invention, the present invention can solve the technical problems of high cost, low efficiency, and inability to perform simulation and performance analysis of existing cross-operating system-based service communication databases; thereby realizing the ability to develop service communication-based databases uniformly for different operating systems, significantly reducing development costs and avoiding development risks, while using unified tools for service simulation and performance analysis, eliminating the need to develop and deploy simulation code and performance analysis code separately for different operating systems.

[0122] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A database development method based on service communication, characterized in that, Applied to computer terminals, including: In response to the creation event of the vehicle database, retrieve the preset template and output it; Receive the returned data for the template, extract the service information from the returned data, generate database source code based on the service information, and save it; The database source code is sent to the vehicle controller that has the same service information.

2. The database development method based on service communication according to claim 1, characterized in that, After extracting the service information from the returned data, the process includes: The service information is verified by invoking a preset audit model. In response to the successful verification of the service information, database source code is generated based on the service information; or In response to the failure of the service information verification, the service information that failed the verification is located, a prompt message is generated and output.

3. The database development method based on service communication according to claim 1, characterized in that, The service information includes at least operating system information and vehicle networking / Ethernet protocol version information.

4. The database development method based on service communication according to claim 1, characterized in that, include: In response to a communication request to the vehicle database, the corresponding database source code is located according to the communication request, and the corresponding database is integrated locally using the database source code. The preset simulation program is invoked to perform communication with the database.

5. The database development method based on service communication according to claim 4, characterized in that, After performing communication with the database, the process includes: The communication messages with the database are acquired, and the communication messages are processed using a preset performance analysis program to obtain performance analysis data.

6. A database development method based on service communication, characterized in that, Applications in vehicle controllers include: Receive database source code sent by a computer terminal, obtain the operating system type in the database source code, and obtain the vehicle operating system type; In response to the fact that the operating system type is consistent with the vehicle operating system type, a corresponding vehicle database is constructed based on the database source code.

7. The database development method based on service communication according to claim 6, characterized in that, Also includes: Receive a communication request to the vehicle database and establish a communication connection; The system acquires communication messages with the vehicle database, calls the performance staking code integrated in the vehicle operating system, processes the communication messages, and obtains performance analysis data.

8. The database development method based on service communication according to claim 7, characterized in that, Also includes: In response to the failure of the communication connection, the communication request is forwarded to the computer terminal.

9. A database development apparatus based on service communication, characterized in that, Applied to computer terminals, it includes: an acquisition unit, a generation unit, and a transmission unit, wherein, The acquisition unit is used to acquire and output a preset template in response to the creation event of the vehicle database; The generation unit is used to receive the returned data for the template, extract the service information from the returned data, generate database source code based on the service information, and save it. The sending unit is used to send the database source code to the vehicle controller that has the same service information.

10. A database development apparatus based on service communication, characterized in that, Applied to vehicle-mounted controllers, it includes: an acquisition unit and a processing unit, wherein, The acquisition unit is used to receive the database source code sent by the computer terminal, acquire the operating system type in the database source code, and acquire the vehicle operating system type. The processing unit is configured to construct a corresponding vehicle database based on the database source code in response to the fact that the operating system type is consistent with the vehicle operating system type.