CN114070880B - Method and device for realizing vehicle custom mode, electronic equipment and storage medium - Google Patents

Method and device for realizing vehicle custom mode, electronic equipment and storage medium Download PDF

Info

Publication number
CN114070880B
CN114070880B CN202111337024.2A CN202111337024A CN114070880B CN 114070880 B CN114070880 B CN 114070880B CN 202111337024 A CN202111337024 A CN 202111337024A CN 114070880 B CN114070880 B CN 114070880B
Authority
CN
China
Prior art keywords
vehicle
custom mode
mode
service
vehicle custom
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.)
Active
Application number
CN202111337024.2A
Other languages
Chinese (zh)
Other versions
CN114070880A (en
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.)
SAIC GM Wuling Automobile Co Ltd
Original Assignee
SAIC GM Wuling Automobile Co Ltd
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 SAIC GM Wuling Automobile Co Ltd filed Critical SAIC GM Wuling Automobile Co Ltd
Priority to CN202111337024.2A priority Critical patent/CN114070880B/en
Publication of CN114070880A publication Critical patent/CN114070880A/en
Priority to PCT/CN2022/131533 priority patent/WO2023083334A1/en
Application granted granted Critical
Publication of CN114070880B publication Critical patent/CN114070880B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40013Details regarding a bus controller
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a method, a device, electronic equipment and a storage medium for realizing a vehicle self-defined mode, wherein the method for realizing the vehicle self-defined mode comprises the following steps: acquiring a vehicle custom mode and determining a target service corresponding to the vehicle custom mode; detecting whether the vehicle custom mode is triggered; and when the vehicle custom mode is detected to be triggered, sending a function instruction to the target service according to the mapping relation between the vehicle custom mode and the target service. The application solves the technical problems of poor expansibility and development of the vehicle custom mode realized by the prior art.

Description

Method and device for realizing vehicle custom mode, electronic equipment and storage medium
Technical Field
The present application relates to the field of automotive technologies, and in particular, to a method and apparatus for implementing a custom mode of a vehicle, an electronic device, and a storage medium.
Background
In the current automobile industry, the demands of users on individuation are stronger and stronger, and the prior art CAN realize a simple vehicle custom mode through a fine-particle CAN signal, for example, a switching signal for controlling a headlight and a periodic signal for controlling the switch of the headlight are sent on a bus, so that the effect of custom controlling the headlight to switch according to different frequencies CAN be achieved, but in the mode of realizing the vehicle custom mode through the prior art, as the number of the vehicle custom modes is increased, CAN signals are required to be added in each vehicle custom mode, other nodes of the added signals CAN not be used, the CAN bus load rate is easy to be too high, and the expansibility and the development of the vehicle custom mode are poorer.
Disclosure of Invention
The application mainly aims to provide a method, a device, electronic equipment and a storage medium for realizing a vehicle custom mode, and aims to solve the technical problems of poor expansibility and development of the vehicle custom mode realized by the prior art.
In order to achieve the above object, the present application provides a method for implementing a vehicle custom mode, the method for implementing a vehicle custom mode comprising:
acquiring a vehicle custom mode and determining a target service corresponding to the vehicle custom mode;
Detecting whether the vehicle custom mode is triggered;
And when the vehicle custom mode is detected to be triggered, sending a function instruction to the target service according to the mapping relation between the vehicle custom mode and the target service.
The application also provides a vehicle custom mode realization device, which is applied to the vehicle custom mode realization equipment and comprises:
The vehicle self-defined mode acquisition module is used for acquiring a vehicle self-defined mode and determining a target service corresponding to the vehicle self-defined mode;
the vehicle custom mode triggering detection module is used for detecting whether the vehicle custom mode is triggered or not;
And the function instruction sending module is used for sending a function instruction to the target service according to the mapping relation between the vehicle custom mode and the target service when the triggering of the vehicle custom mode is detected.
The application also provides an electronic device, which is entity equipment, comprising: the system comprises a memory, a processor and a program of the vehicle custom mode implementation method stored in the memory and capable of running on the processor, wherein the program of the vehicle custom mode implementation method can realize the steps of the vehicle custom mode implementation method when being executed by the processor.
The present application also provides a storage medium, which is a computer readable storage medium, where a program for implementing a method for implementing a vehicle custom mode is stored on the computer readable storage medium, where the program for implementing the method for implementing a vehicle custom mode implements the steps of the method for implementing a vehicle custom mode as described above when executed by a processor.
The application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of a method for implementing a vehicle custom mode as described above.
The application provides a method, a device, electronic equipment and a storage medium for realizing a vehicle custom mode, which are used for realizing the association of functions exposed in a service form through the vehicle custom mode by acquiring the vehicle custom mode and determining target services corresponding to the vehicle custom mode, so that each controller can call a unified and standardized interface of functions actually required through a neutral protocol, the vehicle custom mode is set, whether the vehicle custom mode is triggered or not is detected, and when the vehicle custom mode is detected to be triggered, the corresponding target services are controlled according to the mapping relation to realize the corresponding functions, thereby realizing the vehicle custom mode, realizing the custom of the vehicle functions, overcoming the technical problems of poor expansibility and development of the vehicle custom mode in the prior art, and greatly improving the expansibility and development of the vehicle custom mode.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a flow chart of a first embodiment of a method for implementing a vehicle custom mode according to the present application;
FIG. 2 is a flowchart of a second embodiment of a method for implementing a vehicle custom mode according to the present application;
fig. 3 is a schematic device structure diagram of a hardware operating environment related to a method for implementing a vehicle custom mode in an embodiment of the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
In order to make the above objects, features and advantages of the present invention more comprehensible, the following description of the embodiments accompanied with the accompanying drawings will be given in detail. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
In the current automobile industry, the demands of users on individuation are stronger, and the prior art CAN realize a simple vehicle custom mode through a fine-particle CAN (ControllerAreaNetwork ) signal, for example, a switching signal for controlling a headlight and a periodic signal for controlling the headlight to be switched on and off are sent on a bus, so that the effect of custom controlling the headlight to be switched on and off according to different frequencies CAN be achieved. However, in the mode of realizing the vehicle custom mode in the prior art, the expansibility is poor, the granularity of the CAN signals is too thin, the custom function is increased, the CAN signals are continuously increased, and as a result, the load rate of the CAN bus is too high, so that the custom expansion cannot be realized; the development is poor, all the custom functions are realized through CAN signals, so that the CAN signals need to be added to the added functions, other nodes of the added signals CAN not be used, and the functions are not opened for all the nodes; the transmission data bandwidth is small, and the CAN bus CAN not meet the transmission requirements of high bandwidth requirements such as audio frequency, big data upgrading and the like, so that excellent functions are lost.
The Service-oriented architecture (SOA) is a component model, which splits different functional units (called services) of an application program, and connects the services through well-defined interfaces and protocols, the SOA-based solution comprises reusable services, well-defined and standard-compliant interfaces, the SOA provides a Service discovery mechanism, so that Service users can discover services provided by Service providers, and interaction between systems on different platforms and different languages is realized through XML-defined Service descriptions and Service messages, and through arranging an SOA server on a controller, the SOA server abstracts each software and hardware functional unit into services, exposes all functions in the form of services, and other controllers can randomly call required functions, thereby realizing real customization.
In a first embodiment of the present application, referring to fig. 1, the method for implementing a vehicle custom mode includes:
step S10, acquiring a vehicle self-defined mode and determining a target service corresponding to the vehicle self-defined mode;
In this embodiment, it should be noted that, the vehicle custom mode is a personalized setting of the own or extended functions of the vehicle according to the own needs of the user, for example, playing music automatically after starting the vehicle, turning on light automatically according to the detected light intensity or time information, adjusting the seat automatically according to the detected driver identity information, and turning on the aromatherapy taste and the size set by the driver; the service is a functional unit formed by abstracting and splitting software and hardware according to the actual demand function of the SOA server, such as a car door service, a seat service, a camera service, a headlight service, an atmosphere lamp service, an aromatherapy service and/or a sound box service.
Specifically, a vehicle custom mode set by a user through a preset vehicle custom mode configuration application program is obtained, a target service for realizing the vehicle custom mode is determined according to the vehicle custom mode, communication connection with the target service is established through an SOA communication protocol, wherein the target service is a service required by the vehicle custom mode for realizing a target function, the target service can be one service or a combination of a plurality of services, for example, if the vehicle custom mode is automatic music playing after starting a vehicle, the target function hoped to be realized by the vehicle custom mode is music playing, the sound box service is the target service, if the vehicle custom mode is automatic seat adjustment according to detected identity information of a driver, the target function which the vehicle self-defined mode hopes to realize is to adjust the seat, the seat service is the target service, if the vehicle self-defined mode is that music is automatically played and aromatherapy is started after the vehicle is started, the target function which the vehicle self-defined mode hopes to realize is that music is played and aromatherapy is started, sound box service and aromatherapy service are both target services, the SOA communication protocol is a communication protocol which is used for communication between services after the service is constructed by adopting a service oriented architecture style, the realization modes of the SOA are different, the adopted communication protocols can be different, and the SOA communication protocols comprise SOAP (Simple Object Access Protocol ), REST (Representational state transition) or RPC (Remote Procedure Call Protocol ) and the like.
Preferably, the step of acquiring a vehicle custom mode and determining a target service corresponding to the vehicle custom mode includes:
Step A10, acquiring all basic services;
In this embodiment, specifically, all basic services of the vehicle custom mode, which can establish communication connection through an SOA communication protocol, are obtained, where each basic service may be directly invoked by an SOA server of the same controller, or may be invoked by establishing communication connection between different SOA servers distributed in different controllers through ethernet and/or bluetooth connection, etc.
Preferably, the vehicle includes a vehicle body and a user connection unit, the basic service includes a first basic service and a second basic service, and the step of acquiring all basic services includes:
step A11, carrying out service abstraction through a first SOA server of the vehicle to obtain all first basic services;
In this embodiment, specifically, a first SOA server is disposed on the vehicle machine, where the first SOA server abstracts part or all of hardware connected on the vehicle machine into standard first basic services respectively, and obtains all of the first basic services.
And step A12, acquiring all second basic services from the user connection unit, wherein the second basic services are obtained by carrying out service abstraction on a second SOA server of the user connection unit.
In this embodiment, specifically, a second SOA server is disposed on the user connection unit, where the second SOA server encapsulates all or part of data of a bottom layer into a standard service interface by calling a software interface, a CAN interface, an ethernet interface, and/or a serial port of a bottom layer in the operating system, so as to obtain a second basic service, and establishes a communication connection between the vehicle and the user connection unit through ethernet and/or bluetooth connection, so as to obtain all the second basic service from the user connection unit.
Preferably, the step of acquiring all second basic services from the user connection unit comprises:
Step A121, establishing Ethernet connection between the vehicle machine and the user connection unit;
step a122, obtaining all second basic services from the subscriber connection unit via the ethernet connection.
In this embodiment, specifically, communication connection between the ethernet interface of the vehicle machine and the ethernet interface of the user connection unit is established, so that all the second basic services are obtained from the user connection unit through ethernet, and the connection is performed through ethernet, so that the requirements of different data structures and high bandwidth data transmission can be met.
Step A20, selecting one or more target services from the basic services, and combining the target services according to a preset combination mode to generate a functional component;
In this embodiment, specifically, the vehicle may call one or more basic services of its own and/or other controllers as target services, and logically combine the target services according to a preset combination manner, so as to generate a functional component formed by combining the target services.
And step A30, acquiring a vehicle custom mode set by a user based on the functional component, and determining all target services corresponding to the vehicle custom mode.
In this embodiment, specifically, the function component is displayed in an interface manner, so that a user can set parameters through the function component, further obtain a vehicle custom mode set by the user based on the function component, determine all target services corresponding to the vehicle custom mode, and logically combine services through the function component, so that the vehicle custom mode can be continuously developed and expanded in a mode of adding and updating the function component, and a simpler and more convenient method for setting the vehicle custom mode can be provided for the user.
Step S20, detecting whether the vehicle custom mode is triggered;
in this embodiment, specifically, whether the vehicle custom mode is triggered is detected according to a preset triggering condition of the vehicle custom mode, where the triggering condition may be one or more, and a mode of judging whether the triggering condition is triggered may be a mode of simultaneously meeting part or all of the triggering conditions, or a mode of meeting any triggering condition, and a detecting mode of the triggering condition may be a mode of acquiring detection information from a service or acquiring detection information directly from a detection device.
Preferably, the step of detecting whether the vehicle custom mode is triggered includes:
Step B10, acquiring triggering conditions of the vehicle custom mode, and determining triggering services corresponding to the triggering conditions;
In this embodiment, specifically, a triggering condition of a vehicle custom mode set by a user is obtained, and whether the triggering condition meets a triggering service to be invoked is detected, where the triggering condition may be one or more, a manner of judging whether the triggering condition is triggered or not may be that part or all of the triggering conditions are met at the same time, or any triggering condition may be met, the triggering service is used to detect whether the triggering condition of the vehicle custom mode is met, and the triggering service may also be one or more, for example, if the vehicle custom mode is that music is automatically played after the vehicle is started, the triggering condition of the vehicle custom mode is that the vehicle is started, the ignition service is that the triggering service, and if the vehicle custom mode is that the driver enters the driver seat, the triggering condition of the vehicle custom mode is that the driver enters the driver seat and the driver identity information according to the detected driver identity information, the vehicle door service or the driver seat weight sensor service is that the driver enters the driver seat corresponding triggering service, and the camera service or the microphone service is that the driver identity information corresponds to the driver identity information.
And step B20, detecting whether the triggering condition is met or not through the triggering service.
And step B30, when the triggering condition is met, judging that the vehicle custom mode is triggered.
In this embodiment, specifically, detection information is obtained through the triggering service at a characteristic time point, under a specific condition or in real time, whether the detection information meets the triggering condition is judged, when the detection information meets the triggering condition, the vehicle custom mode is judged to be triggered, for example, if the vehicle custom mode is automatic playing music after starting a vehicle, when ignition operation information of the ignition service is obtained, the triggering condition is judged to be met, further, the vehicle custom mode is judged to be triggered, if the vehicle custom mode is that a person enters a driver seat, the seat is automatically adjusted according to detected driver identity information, when door opening operation information of a vehicle door service is obtained, a camera is started, driver identity information shot by the camera service is obtained, whether the driver is an entered driver is determined according to the detected driver identity information, and if the driver is determined to be an entered driver according to the detected driver identity information, the vehicle custom mode is judged to be triggered.
And step S30, when the vehicle custom mode is detected to be triggered, a function instruction is sent to the target service according to the mapping relation between the vehicle custom mode and the target service.
In this embodiment, specifically, a mapping relationship between the vehicle custom mode and the target service is established, and when the triggering of the vehicle custom mode is detected, a function instruction is sent to the target service according to the mapping relationship, so as to control the specified target service to realize the target function through the vehicle custom mode, where the function instruction is an operation instruction required to be executed by the target service to realize the vehicle custom mode.
In this embodiment, a service-oriented architecture is used in the controller, all functions are exposed in a service form, other controllers can randomly call required functions, real self-definition is achieved, each service externally provides a uniform and standardized interface, other services or controllers can call only through authentication, the function exposed in the service form through the vehicle self-definition mode is associated by acquiring the vehicle self-definition mode and determining the target service corresponding to the vehicle self-definition mode, each controller can call the uniform and standardized interface of the function actually required through a neutral protocol, the setting of the vehicle self-definition mode is carried out, and when the triggering of the vehicle self-definition mode is detected, the corresponding function is controlled according to the mapping relation, the vehicle self-definition mode is achieved, the self-definition of the vehicle functions is achieved, the technical problems of poor expansibility and development of the vehicle self-definition mode in the prior art are solved, and the expansibility and development of the vehicle self-definition mode are greatly improved.
Example two
Further, referring to fig. 2, in another embodiment of the present application, the same or similar contents as those of the first embodiment can be referred to the description above, and the description is omitted. On this basis, before the step of sending the function instruction to the target service according to the mapping relation between the vehicle custom mode and the target service, the method further comprises:
step C10, acquiring current adaptation information of the vehicle custom mode;
In this embodiment, specifically, when it is detected that the vehicle custom mode is triggered, if the vehicle custom mode is associated with multiple adaptation situations, further information matching needs to be performed, and then, when it is detected that a person enters the driver seat, for example, if the vehicle custom mode is that a person enters the driver seat, the vehicle custom mode is triggered according to the driver, when it is detected that a person enters the driver seat, but for different drivers, the set adjustment parameters of the seat are different, so that further information matching needs to be performed, driver identity information needs to be determined to determine specific parameters of the vehicle custom mode, if the vehicle custom mode is that a person enters the driver seat, light is turned on according to time, and when it is detected that a person enters the driver seat, the vehicle custom mode is triggered, but for different triggering times, whether the light needs to be turned on is different, therefore, further information matching needs to be performed, and the time when the vehicle custom mode is triggered needs to be determined to be turned on, wherein the light needs to be turned on, the adaptation information, the specific information includes face recognition information, fingerprint information, or the like.
Preferably, the step of obtaining the adaptation information corresponding to the vehicle custom mode includes:
step C11, determining an adaptation information detection service corresponding to the vehicle custom mode;
And step C12, acquiring the adaptation information from the adaptation information detection service.
In this embodiment, specifically, a corresponding adaptation information detection service is determined according to adaptation information required by the vehicle custom mode, an adaptation information detection request is sent to the adaptation information detection service, and adaptation information sent by the adaptation information detection service based on the adaptation information detection request is received, where the adaptation information detection service is a service for detecting adaptation information required by the vehicle custom mode.
Step C20, determining the adaptation information to assign the custom parameters of the vehicle custom mode;
and step C30, generating a function instruction according to the custom parameters.
In this embodiment, specifically, according to a mapping relationship between the adaptation information and a custom parameter of the vehicle custom mode, a custom parameter matched with the adaptation information at the time of triggering the vehicle custom mode is determined, the custom mode is assigned to the custom parameter, and a function instruction is generated according to the custom parameter, so that a target service realizes the vehicle custom mode according to the custom parameter, wherein the function instruction is an operation instruction required to be executed by the target service to realize the vehicle custom mode, for example, if the vehicle custom mode is an operation instruction required to be executed by the target service to automatically adjust a seat according to a driver when the driver enters the driver seat, the function instruction is a specific seat adjustment degree instruction determined according to the driver, after the seat service receives the instruction, the instruction is executed to adjust the seat to move forward or backward, if the vehicle custom mode is an instruction to open the light according to time when the driver enters the driver seat, the function instruction is an instruction determined according to time, and if the function instruction is an instruction to open the light instruction, the function instruction is executed by the service after receiving the instruction, the light instruction.
In the embodiment, through further setting the adaptation information, the utilization, interaction and fusion among more services are realized, so that the user intention can be more accurately distinguished and identified, the development and expansibility of the vehicle custom mode can be improved through a service-oriented architecture, and the real vehicle custom mode can be realized more finely and accurately.
Example III
The embodiment of the application also provides a device for realizing the vehicle custom mode, which is applied to the device for realizing the vehicle custom mode, and comprises the following components:
The vehicle self-defined mode acquisition module is used for acquiring a vehicle self-defined mode and determining a target service corresponding to the vehicle self-defined mode;
the vehicle custom mode triggering detection module is used for detecting whether the vehicle custom mode is triggered or not;
And the function instruction sending module is used for sending a function instruction to the target service according to the mapping relation between the vehicle custom mode and the target service when the triggering of the vehicle custom mode is detected.
Optionally, the vehicle custom mode trigger detection module is further configured to:
acquiring a triggering condition of the vehicle custom mode, and determining a triggering service corresponding to the triggering condition;
detecting whether the trigger condition is satisfied by the trigger service;
And when the triggering condition is met, judging that the vehicle custom mode is triggered.
Optionally, the function instruction sending module is further configured to:
acquiring current adaptation information of the vehicle custom mode;
determining the adaptation information to assign the custom parameters of the vehicle custom mode;
And generating a function instruction according to the custom parameters.
Optionally, the function instruction sending module is further configured to:
determining the current adaptive information detection service of the vehicle custom mode;
And acquiring the adaptation information from the adaptation information detection service.
Optionally, the vehicle custom mode acquisition module is further configured to:
acquiring all basic services;
Selecting one or more target services from the basic services, and combining the target services according to a preset combination mode to generate a functional component;
And acquiring a vehicle custom mode set by a user based on the functional component, and determining all target services corresponding to the vehicle custom mode.
Optionally, the vehicle custom mode acquisition module is further configured to:
the method comprises the steps that service abstraction is carried out through a first SOA server of a vehicle to obtain all first basic services;
And acquiring all second basic services from the user connection unit, wherein the second basic services are obtained by carrying out service abstraction on a second SOA server of the user connection unit.
Optionally, the vehicle custom mode acquisition module is further configured to:
Establishing Ethernet connection between the vehicle machine and the user connection unit;
all second basic services are acquired from the subscriber connection unit via the ethernet connection.
The vehicle custom mode realization device provided by the invention adopts the vehicle custom mode realization method in the first embodiment or the second embodiment, and solves the technical problem of poor expansibility and development of the vehicle custom mode in the prior art. Compared with the prior art, the beneficial effects of the vehicle custom mode implementation device provided by the embodiment of the invention are the same as those of the vehicle custom mode implementation method provided by the embodiment, and other technical features in the vehicle custom mode implementation device are the same as those disclosed by the method of the previous embodiment, so that no redundant description is given here.
Example IV
The embodiment of the invention provides electronic equipment, which comprises: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the vehicle customization mode implementation method in the first embodiment.
Referring now to fig. 3, a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure is shown. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 3 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 3, the electronic device may include a processing means (e.g., a central processing unit, a graphic processor, etc.) that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) or a program loaded from a storage means into a Random Access Memory (RAM). In the RAM, various programs and data required for the operation of the electronic device are also stored. The processing device, ROM and RAM are connected to each other via a bus. An input/output (I/O) interface is also connected to the bus.
In general, the following systems may be connected to the I/O interface: input devices including, for example, touch screens, touch pads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices including, for example, liquid Crystal Displays (LCDs), speakers, vibrators, etc.; storage devices including, for example, magnetic tape, hard disk, etc.; a communication device. The communication means may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While electronic devices having various systems are shown in the figures, it should be understood that not all of the illustrated systems are required to be implemented or provided. More or fewer systems may alternatively be implemented or provided.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via a communication device, or installed from a storage device, or installed from ROM. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by a processing device.
The electronic equipment provided by the invention adopts the method for realizing the vehicle custom mode in the first embodiment or the second embodiment, and solves the technical problems of poor expansibility and development of the vehicle custom mode in the prior art. Compared with the prior art, the beneficial effects of the electronic device provided by the embodiment of the invention are the same as those of the method for realizing the vehicle custom mode provided by the first embodiment, and other technical features of the electronic device are the same as those disclosed by the method of the previous embodiment, and are not described in detail herein.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the description of the above embodiments, particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Example five
The present embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon for performing the method of moving picture decomposition in the above-described embodiment one.
The computer readable storage medium according to the embodiments of the present invention may be, for example, a usb disk, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: 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 embodiment, 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, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The above-described computer-readable storage medium may be contained in an electronic device; or may exist alone without being assembled into an electronic device.
The computer-readable storage medium carries one or more programs that, when executed by an electronic device, cause the electronic device to: acquiring a vehicle custom mode and determining a target service corresponding to the vehicle custom mode; detecting whether the vehicle custom mode is triggered; and when the vehicle custom mode is detected to be triggered, sending a function instruction to the target service according to the mapping relation between the vehicle custom mode and the target service.
Computer program code for carrying out operations of the present disclosure may be written in 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).
The flowcharts and block diagrams in the figures 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 the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented in software or hardware. Wherein the name of the module does not constitute a limitation of the unit itself in some cases.
The computer readable storage medium provided by the invention stores the computer readable program instructions for executing the vehicle custom mode implementation method, and solves the technical problems of poor expansibility and development of the vehicle custom mode in the prior art. Compared with the prior art, the beneficial effects of the computer readable storage medium provided by the embodiment of the present invention are the same as those of the vehicle custom mode implementation method provided by the first embodiment or the second embodiment, and are not described in detail herein.
Example six
The application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of a method for implementing a vehicle custom mode as described above.
The computer program product provided by the application solves the technical problems of poor expansibility and development of the vehicle custom mode in the prior art. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the present application are the same as the beneficial effects of the method for implementing the vehicle custom mode provided by the first embodiment or the second embodiment, and are not described herein.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the application, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein, or any application, directly or indirectly, within the scope of the application.

Claims (6)

1. The method for realizing the vehicle custom mode is characterized by comprising the following steps of:
acquiring a vehicle custom mode and determining a target service corresponding to the vehicle custom mode;
Detecting whether the vehicle custom mode is triggered;
when the vehicle custom mode is detected to be triggered, a function instruction is sent to the target service according to the mapping relation between the vehicle custom mode and the target service;
the step of obtaining the vehicle custom mode and determining the target service corresponding to the vehicle custom mode comprises the following steps:
acquiring all basic services;
Selecting one or more target services from the basic services, and combining the target services according to a preset combination mode to generate a functional component;
acquiring a vehicle custom mode set by a user based on the functional component, and determining all target services corresponding to the vehicle custom mode;
the vehicle comprises a vehicle machine and a user connection unit, the basic services comprise a first basic service and a second basic service, and the step of acquiring all the basic services comprises the following steps:
the method comprises the steps that service abstraction is carried out through a first SOA server of a vehicle to obtain all first basic services;
acquiring all second basic services from the user connection unit, wherein the second basic services are obtained by carrying out service abstraction on a second SOA server of the user connection unit;
the step of detecting whether the vehicle custom mode is triggered includes:
acquiring a triggering condition of the vehicle custom mode, and determining a triggering service corresponding to the triggering condition;
detecting whether the trigger condition is satisfied by the trigger service;
when the triggering condition is met, judging that the vehicle custom mode is triggered;
Before the step of sending the function instruction to the target service according to the mapping relation between the vehicle custom mode and the target service, the method further comprises the following steps:
Acquiring current adaptation information of the vehicle custom mode, wherein the adaptation information is information for determining specific parameters of the vehicle custom mode and comprises face recognition information, fingerprint information, time information and/or sound information;
determining the adaptation information to assign the custom parameters of the vehicle custom mode;
And generating a function instruction according to the custom parameters.
2. The method for implementing a vehicle custom mode according to claim 1, wherein the step of obtaining current adaptation information of the vehicle custom mode comprises:
determining the current adaptive information detection service of the vehicle custom mode;
And acquiring the adaptation information from the adaptation information detection service.
3. The method for implementing a custom mode of a vehicle according to claim 1, wherein the step of acquiring all the second basic services from the subscriber connection unit comprises:
Establishing Ethernet connection between the vehicle machine and the user connection unit;
all second basic services are acquired from the subscriber connection unit via the ethernet connection.
4. A vehicle custom mode realization device, characterized in that the vehicle custom mode realization device comprises:
The system comprises a vehicle custom mode acquisition module, a target service acquisition module and a service management module, wherein the vehicle custom mode acquisition module is used for acquiring a vehicle custom mode and determining a target service corresponding to the vehicle custom mode; selecting one or more target services from the basic services, and combining the target services according to a preset combination mode to generate a functional component; the vehicle self-defined mode acquisition module is further used for carrying out service abstraction through a first SOA server of the vehicle to obtain all first basic services; acquiring all second basic services from the user connection unit, wherein the second basic services are obtained by carrying out service abstraction on a second SOA server of the user connection unit;
The vehicle self-defined mode triggering detection module is used for detecting whether the vehicle self-defined mode is triggered or not, and specifically, the vehicle self-defined mode triggering detection module is used for acquiring triggering conditions of the vehicle self-defined mode and determining triggering services corresponding to the triggering conditions; detecting whether the trigger condition is satisfied by the trigger service; when the triggering condition is met, judging that the vehicle custom mode is triggered;
The function instruction sending module is used for sending a function instruction to the target service according to the mapping relation between the vehicle custom mode and the target service when the triggering of the vehicle custom mode is detected, and the function instruction sending module is also used for obtaining the current adaptation information of the vehicle custom mode; the adaptation information is information for determining specific parameters of a vehicle custom mode and comprises face recognition information, fingerprint information, time information and/or sound information; determining the adaptation information to assign the custom parameters of the vehicle custom mode; and generating a function instruction according to the custom parameters.
5. An electronic device, the electronic device comprising:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the vehicle customization mode implementation method of any of claims 1 to 3.
6. A storage medium, characterized in that the storage medium is a computer-readable storage medium having stored thereon a program for realizing the vehicle-customized mode realization method, the program for realizing the vehicle-customized mode realization method being executed by a processor to realize the steps of the vehicle-customized mode realization method according to any one of claims 1 to 3.
CN202111337024.2A 2021-11-12 2021-11-12 Method and device for realizing vehicle custom mode, electronic equipment and storage medium Active CN114070880B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111337024.2A CN114070880B (en) 2021-11-12 2021-11-12 Method and device for realizing vehicle custom mode, electronic equipment and storage medium
PCT/CN2022/131533 WO2023083334A1 (en) 2021-11-12 2022-11-11 Vehicle custom mode implementation method and apparatus, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111337024.2A CN114070880B (en) 2021-11-12 2021-11-12 Method and device for realizing vehicle custom mode, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114070880A CN114070880A (en) 2022-02-18
CN114070880B true CN114070880B (en) 2024-06-11

Family

ID=80275260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111337024.2A Active CN114070880B (en) 2021-11-12 2021-11-12 Method and device for realizing vehicle custom mode, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN114070880B (en)
WO (1) WO2023083334A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114070880B (en) * 2021-11-12 2024-06-11 上汽通用五菱汽车股份有限公司 Method and device for realizing vehicle custom mode, electronic equipment and storage medium
CN114435197B (en) * 2022-02-21 2024-04-12 重庆长安汽车股份有限公司 SOA (service oriented architecture) -based automobile electric seat control system and method
CN114844680B (en) * 2022-04-08 2023-10-13 Oppo广东移动通信有限公司 Vehicle control method, apparatus, device, and readable storage medium
CN115297434B (en) * 2022-09-30 2023-01-17 小米汽车科技有限公司 Service calling method and device, vehicle, readable storage medium and chip
CN115840396A (en) * 2022-11-30 2023-03-24 重庆长安汽车股份有限公司 SOA architecture-based driving mode control method, system and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110027560A (en) * 2018-01-12 2019-07-19 杭州海康威视系统技术有限公司 A kind of control method for vehicle and device
CN112061075A (en) * 2020-09-07 2020-12-11 华人运通(上海)云计算科技有限公司 Scene triggering method, device, equipment and storage medium
CN113119891A (en) * 2021-05-20 2021-07-16 中国第一汽车股份有限公司 Method and device for controlling passenger mode of vehicle, electronic device and storage medium
CN113401134A (en) * 2021-06-10 2021-09-17 吉利汽车研究院(宁波)有限公司 Contextual model self-defining method and device, electronic equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9858542B2 (en) * 2013-07-31 2018-01-02 International Business Machines Corporation Real-time prediction and correction of scheduled service bunching
US11461789B2 (en) * 2017-04-28 2022-10-04 FMReps Consulting Enterprises, LLC System and process for digital certification of pre-owned vehicles and equipment
CN109866717A (en) * 2019-03-26 2019-06-11 重庆长安汽车股份有限公司 A kind of control method, device and the automobile of customized vehicle load Trigger Function
CN110001505A (en) * 2019-04-03 2019-07-12 广州小鹏汽车科技有限公司 A kind of customizing method and system, vehicle of Vehicle lamp effect
CN114070880B (en) * 2021-11-12 2024-06-11 上汽通用五菱汽车股份有限公司 Method and device for realizing vehicle custom mode, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110027560A (en) * 2018-01-12 2019-07-19 杭州海康威视系统技术有限公司 A kind of control method for vehicle and device
CN112061075A (en) * 2020-09-07 2020-12-11 华人运通(上海)云计算科技有限公司 Scene triggering method, device, equipment and storage medium
CN113119891A (en) * 2021-05-20 2021-07-16 中国第一汽车股份有限公司 Method and device for controlling passenger mode of vehicle, electronic device and storage medium
CN113401134A (en) * 2021-06-10 2021-09-17 吉利汽车研究院(宁波)有限公司 Contextual model self-defining method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114070880A (en) 2022-02-18
WO2023083334A1 (en) 2023-05-19

Similar Documents

Publication Publication Date Title
CN114070880B (en) Method and device for realizing vehicle custom mode, electronic equipment and storage medium
US11676601B2 (en) Voice assistant tracking and activation
US9293138B2 (en) Storing state information from network-based user devices
CN110996175A (en) Method, device and storage medium for controlling horizontal and vertical screen operation of television
KR102502655B1 (en) Method for contents playback with continuity and electronic device therefor
CN113419452B (en) Vehicle, control method thereof and mobile terminal
CN114844680B (en) Vehicle control method, apparatus, device, and readable storage medium
WO2023000888A1 (en) Cloud application implementing method and apparatus, electronic device, and storage medium
KR20200124948A (en) Electronic device and Method of controlling thereof
US20230259250A1 (en) Control method and apparatus, and electronic device
WO2020221160A1 (en) Method and device for presenting background
CN110072148B (en) Method for implementing vehicle-mounted information system based on master-slave mode
CN112306524A (en) System upgrading method, electronic device and computer storage medium
CN113593279B (en) Vehicle, interaction parameter adjusting method thereof and mobile terminal
CN114647390B (en) Enhanced screen sharing method and system and electronic equipment
CN114915618A (en) Upgrade package downloading method and device
CN111258610B (en) System software updating method, device, system, storage medium and electronic equipment
CN113655984A (en) Audio playback control method, audio playback control device, and computer storage medium
US10567512B2 (en) Systems and methods to aggregate vehicle data from infotainment application accessories
US20190158629A1 (en) Systems and methods to aggregate vehicle data from infotainment application accessories
CN111381797B (en) Processing method and device for realizing KTV function on client and user equipment
CN117499850B (en) Audio data playing method and electronic equipment
CN115805882A (en) Control method and device for in-vehicle child mode and related equipment
CN115080226A (en) Method, device, electronic equipment and storage medium for executing service
CN117729425A (en) Camera distribution method and electronic equipment

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
GR01 Patent grant
GR01 Patent grant