CN117331719A - Operation method and device of vehicle-mounted system, vehicle and storage medium - Google Patents

Operation method and device of vehicle-mounted system, vehicle and storage medium Download PDF

Info

Publication number
CN117331719A
CN117331719A CN202311403347.6A CN202311403347A CN117331719A CN 117331719 A CN117331719 A CN 117331719A CN 202311403347 A CN202311403347 A CN 202311403347A CN 117331719 A CN117331719 A CN 117331719A
Authority
CN
China
Prior art keywords
vehicle
soa
signal
system function
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311403347.6A
Other languages
Chinese (zh)
Inventor
王兆麟
王兆麒
张浩楠
王宏民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Group Corp
Original Assignee
FAW Group Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FAW Group Corp filed Critical FAW Group Corp
Priority to CN202311403347.6A priority Critical patent/CN117331719A/en
Publication of CN117331719A publication Critical patent/CN117331719A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/541Interprogram communication via adapters, e.g. between incompatible applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/543Local

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an operation method, a device, a vehicle and a storage medium of a vehicle-mounted system, and relates to the technical field of vehicles, wherein the method comprises the following steps: after receiving an SOA signal of a service-oriented architecture, determining a system function corresponding to the SOA signal in a mapping table of the system function and the SOA signal; determining a service interface corresponding to the system function; and running the system codes contained in the service interface to execute the system functions corresponding to the SOA signals. According to the technical scheme, the corresponding system function is automatically identified according to the received SOA signal, and after the system function is identified, the corresponding service interface is called to execute the system function, so that the response speed of the vehicle-mounted system is improved, and the running efficiency of the vehicle-mounted system is further improved.

Description

Operation method and device of vehicle-mounted system, vehicle and storage medium
Technical Field
The embodiment of the invention relates to the technical field of vehicles, in particular to an operation method and device of a vehicle-mounted system, a vehicle and a storage medium.
Background
In-vehicle systems are used to provide vehicle functions such as navigation, entertainment, communications, and the like. QNX is a real-time operating system commonly used in vehicle systems, has stability and reliability, and is suitable for use in a vehicle environment. QXN can have many applications loaded thereon. When the vehicle architecture uses a Service-oriented architecture (SOA) as a base, QNX is typically based on scalable Service-oriented middleware (name/IP) running over IP in data communication with other vehicle systems.
When the QNX carries out data communication with other vehicle-mounted systems based on Some/IP, signals are deployed in different stacks of the protocol stack, signals defined in the different stacks are integrated, and the signals are transmitted to an upper application through the HQ-API.
The system functions of the existing vehicle-mounted systems usually need to be manually operated or complicated control logic is written, and the manual operation is complicated and consumes huge time and cost. The process of manually operating the functions is prone to human error, particularly when communication is performed between multiple on-board systems in a long link.
Disclosure of Invention
The invention provides an operation method and device of a vehicle-mounted system, a vehicle and a storage medium, which improve the response speed of the vehicle-mounted system and further improve the operation efficiency of the vehicle-mounted system.
In a first aspect, an embodiment of the present invention provides a method for operating a vehicle-mounted system, including:
after receiving an SOA signal of a service-oriented architecture, determining a system function corresponding to the SOA signal in a mapping table of the system function and the SOA signal;
determining a service interface corresponding to the system function;
and running the system codes contained in the service interface to execute the system functions corresponding to the SOA signals.
The technical scheme of the embodiment of the invention provides an operation method of a vehicle-mounted system, which comprises the following steps: after receiving an SOA signal of a service-oriented architecture, determining a system function corresponding to the SOA signal in a mapping table of the system function and the SOA signal; determining a service interface corresponding to the system function; and running the system codes contained in the service interface to execute the system functions corresponding to the SOA signals. According to the technical scheme, after the SOA signal is received by the current vehicle-mounted system, firstly, the system function corresponding to the SOA signal can be determined in the mapping table of the system function and the SOA signal, the system function which needs to be triggered by the received SOA signal in the current vehicle-mounted system is realized, secondly, the service interface containing the system code corresponding to the system function can be determined, the system code contained in the service interface can be operated, the system function corresponding to the SOA signal is implemented, namely, the system function corresponding to the SOA signal is automatically identified according to the received SOA signal, and after the system function is identified, the corresponding service interface is called to execute the system function, so that the response speed of the vehicle-mounted system is improved, and the operation efficiency of the vehicle-mounted system is further improved.
Further, the method further comprises the following steps:
determining a corresponding system function of a vehicle-mounted system according to the system requirement of the vehicle-mounted system;
after corresponding SOA signals are defined for each system function, a mapping table of the system functions and the SOA signals is established.
Further, determining the system function corresponding to the SOA signal in the mapping table of the system function and the SOA signal includes:
searching in a mapping table of the system function and the SOA signal based on the identification information of the SOA signal, and determining the system function corresponding to the SOA signal.
Further, determining a service interface corresponding to the system function includes:
determining a communication interface corresponding to the SOA signal according to a communication protocol of a system to which the SOA signal belongs and the vehicle-mounted system;
and determining the communication interface corresponding to the SOA as the service interface corresponding to the system function.
Further, the SOA signal is transmitted between the system to which the SOA signal belongs and the vehicle-mounted system based on a protocol stack, and the SOA signal is deployed at a level corresponding to the communication protocol in the protocol stack.
Further, the method further comprises the following steps:
and after updating the system function of the vehicle-mounted system, updating the mapping table of the system function and the SOA signal.
In a second aspect, an embodiment of the present invention further provides an operating device of a vehicle-mounted system, including:
the function determining module is used for determining the system function corresponding to the SOA signal in the mapping table of the system function and the SOA signal after receiving the SOA signal;
the interface determining module is used for determining a service interface corresponding to the system function;
and the execution module is used for running the system codes contained in the service interface so as to execute the system functions corresponding to the SOA signals.
In a third aspect, an embodiment of the present invention further provides a vehicle, including:
at least one processor; and a memory communicatively coupled to the at least one processor;
wherein the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of operating the in-vehicle system of any one of the first aspects.
Further, the vehicle is loaded with an on-board system.
In a fourth aspect, embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are used to perform the method of operating the in-vehicle system of any of the first aspects.
In a fifth aspect, the present application provides a computer program product comprising computer instructions which, when run on a computer, cause the computer to perform the method of operating an in-vehicle system as provided in the first aspect.
It should be noted that the above-mentioned computer instructions may be stored in whole or in part on a computer-readable storage medium. The computer readable storage medium may be packaged together with the processor of the operating device of the vehicle-mounted system, or may be packaged separately from the processor of the operating device of the vehicle-mounted system, which is not limited in this application.
The description of the second, third, fourth and fifth aspects of the present application may refer to the detailed description of the first aspect; also, the advantageous effects described in the second aspect, the third aspect, the fourth aspect, and the fifth aspect may refer to the advantageous effect analysis of the first aspect, and are not described herein.
In the present application, the names of the operating devices of the above-described vehicle-mounted system do not constitute limitations on the devices or function modules themselves, and in actual implementation, these devices or function modules may appear under other names. Insofar as the function of each device or function module is similar to the present application, it is within the scope of the claims of the present application and the equivalents thereof.
These and other aspects of the present application will be more readily apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method of operating a vehicle-mounted system according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for operating an on-board system according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an operation device of a vehicle-mounted system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a vehicle according to an embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone.
The terms "first" and "second" and the like in the description and in the drawings are used for distinguishing between different objects or for distinguishing between different processes of the same object and not for describing a particular sequential order of objects.
Furthermore, references to the terms "comprising" and "having" and any variations thereof in the description of the present application are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed but may optionally include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently, or at the same time. Furthermore, the order of the operations may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like. Furthermore, embodiments of the invention and features of the embodiments may be combined with each other without conflict.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the description of the present application, unless otherwise indicated, the meaning of "a plurality" means two or more.
Some/IP is an open standard communication protocol for enabling service communication over an IP network. The system is particularly suitable for the field of vehicles and is used for realizing communication among various vehicle-mounted systems in the vehicle, such as meter application, control units, sensors, actuators and the like.
When QNX is in data communication with other vehicle-mounted systems based on Some/IP, signals deployed in a protocol stack can be transmitted to an upper-layer application through an HQ-API after being integrated. Only the group ID and the event ID are in the protocol stack, and it is difficult to distinguish the deployed signals. The communication link between the vehicle-mounted systems is long, the development party and the realization party are different, and the time is too long when the problem is examined.
Problems of the prior art: lack of well-defined standard methods to correlate system functions and signals; additional security measures are required in some sensitive applications to ensure secure transmission and processing of data; not flexible enough, and can not easily adapt to different application scenes and requirements.
To solve the above problems, there is a need to formulate more definitive standards, develop simpler and user-friendly tools, enhance security measures, and provide more flexible configuration options. In a particular project, it may be desirable to select appropriate techniques and methods according to particular needs.
In view of the above problems, in the prior art, the system function generally needs to be manually operated or complicated control logic is written, which has the complexity of manual operation and consumes huge time and cost. The process of manually operating the functions is prone to human error, particularly when communication is performed between multiple on-board systems in a long link. In addition, in different application scenarios, the system functions need to be dynamically changed according to requirements.
Therefore, the operation method of the vehicle-mounted system is provided, the operation control of the vehicle-mounted system is realized through the functions and signals of the management system, the response speed of the vehicle-mounted system is improved, and the operation efficiency of the vehicle-mounted system is further improved.
The operation method of the vehicle-mounted system proposed in the present application will be described in detail with reference to the drawings and embodiments.
Fig. 1 is a flowchart of an operation method of a vehicle-mounted system according to an embodiment of the present invention, where the embodiment is applicable to a situation where operation efficiency of the vehicle-mounted system needs to be improved, the method may be performed by an operation device of the vehicle-mounted system, as shown in fig. 1, and specifically includes the following steps:
step 110, after receiving the service-oriented architecture SOA signal, determining a system function corresponding to the SOA signal in a mapping table of the system function and the SOA signal.
For a vehicle-mounted system, a mapping table of system functions and SOA signals needs to be built in advance, and each system function can be mapped to a corresponding SOA signal based on the mapping table of the system functions and the SOA signals.
Specifically, after the current vehicle-mounted system receives the SOA signals sent by other vehicle-mounted systems, the current vehicle-mounted system can search in a mapping table of the system functions and the SOA signals according to the identification information of the SOA signals, and determine the system functions corresponding to the SOA signals, so that the system functions which need to be triggered in the current vehicle-mounted system of the received SOA signals are determined.
In the embodiment of the invention, after the current vehicle-mounted system receives the SOA signal, the system function corresponding to the SOA signal is determined in the mapping table of the system function and the SOA signal, so that the system function which needs to be triggered by the received SOA signal in the current vehicle-mounted system is determined.
Step 120, determining a service interface corresponding to the system function.
After determining the system function corresponding to the SOA signal, in order to execute the system function corresponding to the SOA signal, a system code corresponding to the system function needs to be determined. The system code is often included in the service interface corresponding to the function, and therefore, it is necessary to determine the service interface corresponding to the system function.
Specifically, different communication protocols correspond to different service interfaces, so that a communication interface for communication between the system to which the SOA signal belongs and the vehicle-mounted system can be determined according to the communication protocol between the system to which the SOA signal belongs and the vehicle-mounted system, and further, the communication interface for communication between the system to which the SOA signal belongs and the vehicle-mounted system can be determined as the service interface corresponding to the system function.
In the embodiment of the invention, the service interface containing the system codes corresponding to the system functions is determined.
And 130, running the system codes contained in the service interface to execute the system functions corresponding to the SOA signals.
Specifically, after determining the service interface corresponding to the system function corresponding to the SOA signal, the system code corresponding to the system function included in the service interface may be determined, so that the system code may be operated, and the system function corresponding to the SOA signal is implemented.
In the embodiment of the invention, the system function corresponding to the SOA signal is implemented by running the system code contained in the service interface corresponding to the system function corresponding to the SOA signal.
The operation method of the vehicle-mounted system provided by the embodiment of the invention comprises the following steps: after receiving an SOA signal of a service-oriented architecture, determining a system function corresponding to the SOA signal in a mapping table of the system function and the SOA signal; determining a service interface corresponding to the system function; and running the system codes contained in the service interface to execute the system functions corresponding to the SOA signals. According to the technical scheme, after the SOA signal is received by the current vehicle-mounted system, firstly, the system function corresponding to the SOA signal can be determined in the mapping table of the system function and the SOA signal, the system function which needs to be triggered by the received SOA signal in the current vehicle-mounted system is realized, secondly, the service interface containing the system code corresponding to the system function can be determined, the system code contained in the service interface can be operated, the system function corresponding to the SOA signal is implemented, namely, the system function corresponding to the SOA signal is automatically identified according to the received SOA signal, and after the system function is identified, the corresponding service interface is called to execute the system function, so that the response speed of the vehicle-mounted system is improved, and the operation efficiency of the vehicle-mounted system is further improved.
Fig. 2 is a flowchart of another operation method of the vehicle-mounted system according to the embodiment of the present invention, where the embodiment is embodied based on the above embodiment. As shown in fig. 2, in this embodiment, the method may further include:
step 210, determining a system function corresponding to a vehicle-mounted system according to the system requirement of the vehicle-mounted system; after corresponding SOA signals are defined for each system function, a mapping table of the system functions and the SOA signals is established.
Specifically, various system functions in the in-vehicle system including a function name, a function description, input-output requirements, and the like may be explicitly defined first. The system functions involve various operations for controlling the operation of the vehicle, such as starting the engine, switching the lamp, adjusting the sound volume, and the like. Next, an associated SOA signal may be defined for each system function, including a signal identification and a data format, the signal identification including a service identification and an event identification. These defined SOA signals are correlated with system functions for identifying and triggering the corresponding system functions. And further, a mapping table of the system functions and the SOA signals can be established, and each system function is mapped to a corresponding SOA signal.
In the embodiment of the invention, the mapping table of the system function and the SOA signal is established.
Step 220, after receiving the service-oriented architecture SOA signal, determining a system function corresponding to the SOA signal in a mapping table of the system function and the SOA signal.
In one embodiment, determining a system function corresponding to an SOA signal in a mapping table of the system function and the SOA signal includes:
searching in a mapping table of the system function and the SOA signal based on the identification information of the SOA signal, and determining the system function corresponding to the SOA signal.
The SOA signal is transmitted between the system to which the SOA signal belongs and the vehicle-mounted system based on a protocol stack, and the SOA signal is deployed at a level corresponding to the communication protocol in the protocol stack.
Specifically, after the current vehicle-mounted system receives the SOA signals sent by other vehicle-mounted systems, the current vehicle-mounted system can search in a mapping table of the system functions and the SOA signals according to the identification information of the SOA signals, and determine the system functions corresponding to the SOA signals, so that the system functions which need to be triggered in the current vehicle-mounted system of the received SOA signals are determined.
Before the system function corresponding to the SOA signal is automatically identified, it is necessary to fully test the automatic identification logic and ensure that the system function corresponding to the SOA signal can be correctly determined and correctly executed in the mapping table of the system function and the SOA signal.
In the embodiment of the invention, after the current vehicle-mounted system receives the SOA signal, the system function corresponding to the SOA signal is determined in the mapping table of the system function and the SOA signal, so that the system function which needs to be triggered by the received SOA signal in the current vehicle-mounted system is determined.
Step 230, determining a service interface corresponding to the system function.
In one embodiment, step 230 may specifically include:
determining a communication interface corresponding to the SOA signal according to a communication protocol of a system to which the SOA signal belongs and the vehicle-mounted system; and determining the communication interface corresponding to the SOA as the service interface corresponding to the system function.
Specifically, different communication protocols correspond to different service interfaces, so that a communication interface for communication between the system to which the SOA signal belongs and the vehicle-mounted system can be determined according to the communication protocol between the system to which the SOA signal belongs and the vehicle-mounted system, and further, the communication interface for communication between the system to which the SOA signal belongs and the vehicle-mounted system can be determined as the service interface corresponding to the system function.
In practical application, a mapping table of system functions, SOA signals and service interfaces can be constructed in advance, so that each system function is mapped to a corresponding SOA signal and service interface, and the mapping table of the system functions, the SOA signals and the service interfaces is a key reference for realizing automatic recognition of the SOA signals.
Therefore, the service interface corresponding to the system function corresponding to the SOA signal can be determined while the system function corresponding to the SOA signal is determined.
In the embodiment of the invention, the service interface containing the system codes corresponding to the system functions is determined.
And 240, running the system code contained in the service interface to execute the system function corresponding to the SOA signal.
Specifically, after determining the service interface corresponding to the system function corresponding to the SOA signal, the system code corresponding to the system function included in the service interface may be determined, so that the system code may be operated, and the system function corresponding to the SOA signal is implemented.
In the embodiment of the invention, the system function corresponding to the SOA signal is implemented by running the system code contained in the service interface corresponding to the system function corresponding to the SOA signal.
Step 250, after updating the system function of the vehicle-mounted system, updating the mapping table of the system function and the SOA signal.
Specifically, after detecting the update of the system function of the vehicle-mounted system, the mapping table of the system function and the SOA signal may be updated to ensure that the mapping table of the system function and the SOA signal is consistent with the evolution of the vehicle-mounted system.
Of course, in practical application, after detecting the update of the system function of the vehicle-mounted system, the mapping table of the system function, the SOA signal and the service interface may be updated to ensure that the mapping table of the system function, the SOA signal and the service interface is consistent with the evolution of the vehicle-mounted system.
In the embodiment of the invention, after the system function of the vehicle-mounted system is updated, the system function and the SOA signal mapping table are updated, so that the system function and the SOA signal mapping table are consistent with the evolution of the vehicle-mounted system, and the normal operation of the vehicle-mounted system is ensured.
The operation method of the vehicle-mounted system provided by the embodiment of the invention comprises the following steps: determining a corresponding system function of a vehicle-mounted system according to the system requirement of the vehicle-mounted system; after defining corresponding SOA signals for each system function, establishing a mapping table of the system function and the SOA signals; after receiving an SOA signal of a service-oriented architecture, determining a system function corresponding to the SOA signal in a mapping table of the system function and the SOA signal; determining a service interface corresponding to the system function; running system codes contained in the service interface to execute the system functions corresponding to the SOA signals; and after updating the system function of the vehicle-mounted system, updating the mapping table of the system function and the SOA signal. According to the technical scheme, after the system functions of the current vehicle-mounted system are determined according to the system requirements of the current vehicle-mounted system, the corresponding SOA signals are defined for the system functions, the mapping table of the system functions and the SOA signals can be constructed, after the current vehicle-mounted system receives the SOA signals, the system functions corresponding to the SOA signals can be determined in the mapping table of the system functions and the SOA signals, the system functions which need to be triggered in the current vehicle-mounted system are determined, then the service interfaces containing the system codes corresponding to the system functions can be determined, the system codes contained in the service interfaces can be operated, the system functions corresponding to the SOA signals can be executed through the system codes contained in the service interfaces corresponding to the system functions corresponding to the SOA signals, namely, the system functions corresponding to the SOA signals can be automatically identified according to the received SOA signals, and after the system functions are identified, the corresponding service interfaces are called to execute the system functions, the response speed of the vehicle-mounted system is improved, and the operation efficiency of the vehicle-mounted system is improved.
And after the system function update of the vehicle-mounted system is detected, the mapping table of the system function and the SOA signal is updated, so that the consistency of the system function and the SOA signal mapping table and the evolution of the vehicle-mounted system is ensured, and the normal operation of the vehicle-mounted system is ensured.
Fig. 3 is a schematic structural diagram of an operation device of a vehicle-mounted system according to an embodiment of the present invention, where the device may be suitable for a situation where the operation efficiency of the vehicle-mounted system needs to be improved. The apparatus may be implemented in software and/or hardware and is typically integrated in a vehicle.
As shown in fig. 3, the apparatus includes:
the function determining module 310 is configured to determine, after receiving the SOA signal, a system function corresponding to the SOA signal in a mapping table of the system function and the SOA signal;
an interface determining module 320, configured to determine a service interface corresponding to the system function;
and the execution module 330 is configured to run system codes included in the service interface to execute the system functions corresponding to the SOA signals.
The running device of the vehicle-mounted system provided by the embodiment determines the system function corresponding to the SOA signal in the mapping table of the system function and the SOA signal after receiving the SOA signal of the service-oriented architecture; determining a service interface corresponding to the system function; and running the system codes contained in the service interface to execute the system functions corresponding to the SOA signals. According to the technical scheme, after the SOA signal is received by the current vehicle-mounted system, firstly, the system function corresponding to the SOA signal can be determined in the mapping table of the system function and the SOA signal, the system function which needs to be triggered by the received SOA signal in the current vehicle-mounted system is realized, secondly, the service interface containing the system code corresponding to the system function can be determined, the system code contained in the service interface can be operated, the system function corresponding to the SOA signal is implemented, namely, the system function corresponding to the SOA signal is automatically identified according to the received SOA signal, and after the system function is identified, the corresponding service interface is called to execute the system function, so that the response speed of the vehicle-mounted system is improved, and the operation efficiency of the vehicle-mounted system is further improved.
On the basis of the above embodiment, the device further includes:
the system comprises an establishing module, a control module and a control module, wherein the establishing module is used for determining a corresponding system function of a vehicle-mounted system according to the system requirement of the vehicle-mounted system; after corresponding SOA signals are defined for each system function, a mapping table of the system functions and the SOA signals is established.
Based on the above embodiment, the function determining module 310 is specifically configured to:
after the SOA signal is received, searching is carried out in a mapping table of the system function and the SOA signal based on the identification information of the SOA signal, and the system function corresponding to the SOA signal is determined.
Based on the above embodiment, the interface determining module 320 is specifically configured to:
determining a communication interface corresponding to the SOA signal according to a communication protocol of a system to which the SOA signal belongs and the vehicle-mounted system; and determining the communication interface corresponding to the SOA as the service interface corresponding to the system function.
In one embodiment, the SOA signal is transmitted between the system to which the SOA signal belongs and the vehicle-mounted system based on a protocol stack, and the SOA signal is deployed at a level corresponding to the communication protocol in the protocol stack.
On the basis of the above embodiment, the device further includes:
and the updating module is used for updating the mapping table of the system function and the SOA signal after updating the system function of the vehicle-mounted system.
The running device of the vehicle-mounted system provided by the embodiment of the invention can execute the running method of the vehicle-mounted system provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the running method of the vehicle-mounted system.
It should be noted that, in the embodiment of the operation device of the vehicle-mounted system, each unit and module included are only divided according to the functional logic, but are not limited to the above-mentioned division, so long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present invention.
Fig. 4 is a schematic structural diagram of a vehicle according to an embodiment of the present invention. Fig. 4 shows a block diagram of an exemplary vehicle 4 suitable for use in implementing embodiments of the invention. The vehicle 4 shown in fig. 4 is only an example and should not be construed as limiting the function and scope of use of the embodiment of the invention.
As shown in fig. 4, the vehicle 4 is in the form of a general purpose computing electronic device. Components of the vehicle 4 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Vehicle 4 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by vehicle 4 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The vehicle 4 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard disk drive"). Although not shown in fig. 4, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The vehicle 4 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the vehicle 4, and/or any devices (e.g., network card, modem, etc.) that enable the vehicle 4 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, the vehicle 4 may communicate with one or more networks, such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet, through the network adapter 20. As shown in fig. 4, the network adapter 20 communicates with other modules of the vehicle 4 via the bus 18. It should be appreciated that although not shown in fig. 4, other hardware and/or software modules may be used in connection with the vehicle 4, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The vehicle is equipped with an onboard system.
The processing unit 16 executes various functional applications and page displays by running programs stored in the system memory 28, for example, implementing the running method of the in-vehicle system provided by the embodiment of the present invention, the method includes:
after receiving an SOA signal of a service-oriented architecture, determining a system function corresponding to the SOA signal in a mapping table of the system function and the SOA signal;
determining a service interface corresponding to the system function;
and running the system codes contained in the service interface to execute the system functions corresponding to the SOA signals.
Of course, it will be understood by those skilled in the art that the processor may also implement the technical solution of the operation method of the vehicle-mounted system provided by any embodiment of the present invention.
An embodiment of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method for operating a vehicle-mounted system, for example, provided by the embodiment of the present invention, the method including:
after receiving an SOA signal of a service-oriented architecture, determining a system function corresponding to the SOA signal in a mapping table of the system function and the SOA signal;
determining a service interface corresponding to the system function;
and running the system codes contained in the service interface to execute the system functions corresponding to the SOA signals.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium may be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
It will be appreciated by those of ordinary skill in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be centralized on a single computing device, or distributed over a network of computing devices, or they may alternatively be implemented in program code executable by a computer device, such that they are stored in a memory device and executed by the computing device, or they may be separately fabricated as individual integrated circuit modules, or multiple modules or steps within them may be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
In addition, the technical scheme of the invention can acquire, store, use, process and the like the data, which accords with the relevant regulations of national laws and regulations.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (10)

1. A method of operating a vehicle-mounted system, comprising:
after receiving an SOA signal of a service-oriented architecture, determining a system function corresponding to the SOA signal in a mapping table of the system function and the SOA signal;
determining a service interface corresponding to the system function;
and running the system codes contained in the service interface to execute the system functions corresponding to the SOA signals.
2. The method of operating an in-vehicle system according to claim 1, further comprising:
determining a corresponding system function of a vehicle-mounted system according to the system requirement of the vehicle-mounted system;
after corresponding SOA signals are defined for each system function, a mapping table of the system functions and the SOA signals is established.
3. The method for operating an in-vehicle system according to claim 1, wherein determining the system function corresponding to the SOA signal in the mapping table of the system function and the SOA signal includes:
searching in a mapping table of the system function and the SOA signal based on the identification information of the SOA signal, and determining the system function corresponding to the SOA signal.
4. The method for operating an in-vehicle system according to claim 2, wherein determining the service interface corresponding to the system function includes:
determining a communication interface corresponding to the SOA signal according to a communication protocol of a system to which the SOA signal belongs and the vehicle-mounted system;
and determining the communication interface corresponding to the SOA as the service interface corresponding to the system function.
5. The method according to claim 4, wherein the SOA signal is transmitted between the system to which the SOA signal belongs and the vehicle-mounted system based on a protocol stack, and the SOA signal is disposed at a level corresponding to the communication protocol in the protocol stack.
6. The method of operating an in-vehicle system according to claim 2, further comprising:
and after updating the system function of the vehicle-mounted system, updating the mapping table of the system function and the SOA signal.
7. An operating device of an in-vehicle system, characterized by comprising:
the function determining module is used for determining the system function corresponding to the SOA signal in the mapping table of the system function and the SOA signal after receiving the SOA signal;
the interface determining module is used for determining a service interface corresponding to the system function;
and the execution module is used for running the system codes contained in the service interface so as to execute the system functions corresponding to the SOA signals.
8. A vehicle, characterized in that the vehicle comprises:
at least one processor; and a memory communicatively coupled to the at least one processor;
wherein the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of operating the in-vehicle system of any one of claims 1-6.
9. The vehicle of claim 8, wherein the vehicle is loaded with an onboard system.
10. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the method of operating the in-vehicle system of any of claims 1-6.
CN202311403347.6A 2023-10-26 2023-10-26 Operation method and device of vehicle-mounted system, vehicle and storage medium Pending CN117331719A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311403347.6A CN117331719A (en) 2023-10-26 2023-10-26 Operation method and device of vehicle-mounted system, vehicle and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311403347.6A CN117331719A (en) 2023-10-26 2023-10-26 Operation method and device of vehicle-mounted system, vehicle and storage medium

Publications (1)

Publication Number Publication Date
CN117331719A true CN117331719A (en) 2024-01-02

Family

ID=89275375

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311403347.6A Pending CN117331719A (en) 2023-10-26 2023-10-26 Operation method and device of vehicle-mounted system, vehicle and storage medium

Country Status (1)

Country Link
CN (1) CN117331719A (en)

Similar Documents

Publication Publication Date Title
CN107222637B (en) Connection method and device, vehicle-mounted system, terminal and storage medium
CN110673964A (en) Audio playing control method and device of vehicle-mounted system
CN110191021B (en) Protocol testing method and device, electronic equipment and storage medium
CN108257590A (en) Voice interactive method, device, electronic equipment, storage medium
CN109933199B (en) Control method and device based on gestures, electronic equipment and storage medium
CN114528044B (en) Interface calling method, device, equipment and medium
CN109145164A (en) Data processing method, device, equipment and medium
US11176087B2 (en) Efficient handling of bi-directional data
CN109284108B (en) Unmanned vehicle data storage method and device, electronic equipment and storage medium
US11104329B2 (en) Parking control method and apparatus, and storage medium
CN117331719A (en) Operation method and device of vehicle-mounted system, vehicle and storage medium
CN110333964A (en) Abnormal log processing method and processing device, electronic equipment, storage medium
CN112506871B (en) Automated task management and log management method, system, electronic device and medium
CN115923889A (en) Automatic driving system and method compatible with C2ATO and CBTC
CN112379967B (en) Simulator detection method, device, equipment and medium
CN113888028A (en) Patrol task allocation method and device, electronic equipment and storage medium
CN114036218A (en) Data model switching method and device, server and storage medium
CN110120899B (en) Data stream detection method and device, electronic equipment and storage medium
CN111125759A (en) Database login account shielding method and device and electronic equipment
CN113760631A (en) Page loading duration determination method, device, equipment and storage medium
CN111813663B (en) Pointer type identification method, device, medium and equipment
CN116150520B (en) Data processing method, device, equipment and storage medium
CN113821248B (en) Service method of vehicle-end software, vehicle-end software and related equipment thereof
CN113535660B (en) Android log storage method and device
CN117667588A (en) Abnormality determination method, abnormality determination device, abnormality determination equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination