Communication method and system between mobile terminal and in-vehicle infotainment device, medium and equipment
By establishing a specific communication architecture and protocol between the mobile terminal and the vehicle system, and utilizing the business proxy service and cross-terminal communication service of the cockpit domain controller (CSC), the limitations of the vehicle system in 3D effect display are resolved, and control of equipment such as air conditioning, seats and brackets is achieved, thereby improving user experience and system performance.
Patent Information
- Application Number
- CN202510767194.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-10
- Publication Date
- 2025-09-12
AI Technical Summary
Existing car-mounted systems have limitations in displaying 3D effects and cannot effectively utilize the communication advantages between mobile terminals and car-mounted systems, resulting in a poor user experience.
By establishing a specific communication architecture and protocol between the mobile terminal and the vehicle computer, and utilizing the business proxy service and cross-terminal communication service of the cockpit domain controller (CSC), stable and efficient communication is achieved, supporting the control of equipment such as air conditioning, seats, and brackets, and displaying 3D effects.
It improves the convenience and flexibility of user operations, ensures the security and reliability of communications, enhances the convenience of user experience and system performance, supports concurrent processing of multiple business functions, and meets the needs of different scenarios.
Smart Images

Figure CN120640429A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information transmission technology, and in particular to a communication method and system, medium and equipment between a mobile terminal and a vehicle computer. Background Art
[0002] With the continuous advancement of automotive technology, the role of in-vehicle computer systems (ICMs) in vehicles is becoming increasingly important. Currently, these systems can adjust and control in-vehicle equipment such as air conditioning and seats, providing a comfortable in-vehicle environment for drivers and passengers. However, existing ICM systems have certain limitations when it comes to displaying 3D effects. Due to limitations in IC computing power and hardware capabilities, 3D effects cannot be effectively rendered, which to some extent affects the user experience.
[0003] To overcome this problem, existing solutions rely on mobile devices communicating with the vehicle's head unit, combining the strengths of both to achieve superior 3D effects. However, current communication methods between mobile devices and the vehicle's head unit present some challenges. For example, in some solutions, mobile devices typically communicate with the vehicle via Wi-Fi, while in-car communication (ICC) typically handles the vehicle's internet access. This communication method can be inefficient and lacks stability.
[0004] Therefore, there is an urgent need for a more optimized communication method between mobile terminals and vehicle computers to achieve better device control and 3D effect display. Summary of the Invention
[0005] In order to remedy the above-mentioned deficiencies, the present invention aims to provide a communication method and system, medium and equipment between a mobile terminal and a vehicle computer. By adopting a specific communication architecture and protocol, as well as the logic of business proxy service forwarding, stable and efficient communication between the mobile terminal and the vehicle computer can be achieved, so that the air conditioner, seats, brackets and other equipment in the car can be effectively controlled through the mobile terminal, and 3D effects can be better displayed to enhance the user experience.
[0006] To achieve the above-mentioned purpose, the present invention adopts the following technical solutions:
[0007] In a first aspect, the present invention provides a method for communication between a mobile terminal and a vehicle computer, the method comprising:
[0008] The service proxy service of the cockpit domain controller CSC receives a service processing request sent by the first application of the mobile terminal based on the pre-established wireless connection of the first link;
[0009] Triggering a vehicle-side application of a business function type according to the request parameters, message type and pre-set configuration information carried in the received request message;
[0010] Receive the response message returned by the cockpit domain controller CSC and send it to the mobile terminal via the cross-terminal communication service; and trigger the vehicle-side application of the corresponding business function type according to the request message sent by the second and third applications of the mobile terminal;
[0011] The response message is a response parameter returned based on the service execution result of controlling the vehicle-side application service function according to the service processing request.
[0012] Optionally, the method further includes: a service proxy service of the cockpit domain controller CSC establishing a connection with an application of the mobile terminal through a cross-terminal communication service, which includes:
[0013] Receiving, by means of a service proxy service of the cockpit domain controller CSC, a wireless connection request for establishing a first link from a first application of the mobile terminal via a cross-terminal communication service, and establishing a wireless connection for the first link with the mobile terminal;
[0014] The service proxy service receives a wireless connection request for establishing a second link from a second application of the mobile terminal via the wireless connection of the first link, and establishes a wireless connection of the second link with the mobile terminal; and
[0015] receiving a wireless connection request for establishing a second link from a second application of the mobile terminal through the cross-communication service for wireless connection of the second link of the mobile terminal, and establishing a wireless connection of the second link with the mobile terminal;
[0016] The service proxy service receives a wireless connection request for establishing a third link from a third application of the mobile terminal via the wireless connection of the second link, and establishes a wireless connection of the third link with the mobile terminal; and
[0017] receiving, through the inter-communication service for the third link wireless connection of the mobile terminal, a wireless connection request for establishing the second link from a third application of the mobile terminal, and establishing a wireless connection for the third link with the mobile terminal;
[0018] The first application, the second application and the third application are any one of an air conditioning application, a seat application and a bracket application respectively.
[0019] Optionally, triggering a vehicle-side application of a service function type according to request parameters, message type, and preset configuration information carried in the received request message includes:
[0020] The business proxy service of the cockpit domain controller CSC obtains the vehicle-side application that matches the RPC function name pre-configured in the cockpit domain controller CSC based on the request parameters contained in the request message; and determines, based on the type of the request message, whether the cockpit domain controller CSC actively reports or the mobile terminal actively calls; if the cockpit domain controller CSC actively reports, the business proxy service calls the second interface layer of the cockpit domain controller CSC to obtain the business execution result of the first vehicle-side application; if the mobile terminal actively calls, the first interface layer of the cockpit domain controller CSC calls the function interface provided by the business proxy service to obtain the business execution result of the first vehicle-side application;
[0021] After signaling assembly of the service execution result, the cockpit domain controller CSC's response result to the request message is fed back to the mobile terminal;
[0022] The vehicle-side application includes a plurality of application programs corresponding to the plurality of business functions;
[0023] The vehicle computer business functions include controlling air conditioning, seats, and bracket functions.
[0024] Optionally, the request message includes: acion, cmd, timeStamp, code, message, and data fields;
[0025] The acion field is used to indicate the message type, including REQUEST, RESPONSE and NOTIFY.
[0026] The cmd field is used to indicate a specific command, corresponding to an RPC function name, and is used to control and operate different vehicle computer functions;
[0027] The data field is encapsulated in json format and is used to carry request parameters in the request message and carry the return result in the response message.
[0028] Optionally, triggering the vehicle-side application of the corresponding service function type according to the request message sent by the second and third applications of the mobile terminal includes: when the second application of the mobile terminal establishes a wireless connection of the second link with the cockpit domain controller CSC, sending the service processing request of the second application to the service proxy service of the cockpit domain controller CSC through the cross-communication service, transmitting the service processing request to the controller corresponding to the second application on the vehicle-side via the service proxy service, and responding to the service processing request to execute the corresponding service function;
[0029] When the third application of the mobile terminal establishes a wireless connection of the third link with the cockpit domain controller CSC, the business processing request of the third application is sent to the business proxy service of the cockpit domain controller CSC through the cross-communication service, and is transmitted to the controller of the corresponding third application on the vehicle side through the business proxy service, and responds to the business processing request to execute the corresponding business function.
[0030] In a second aspect, the present invention provides a communication system between a mobile terminal and a vehicle-mounted computer, the system comprising a vehicle-mounted computer and a mobile terminal; the vehicle-mounted computer comprising a cockpit domain controller (CSC); the cockpit domain controller (CSC) and the mobile terminal each comprising a plurality of application programs corresponding to a plurality of service functions; the application programs being used to control the vehicle-mounted computer to execute the corresponding service functions;
[0031] The cockpit domain controller CSC includes a business proxy service; the mobile terminal includes a cross-terminal communication service;
[0032] The business proxy service of the cockpit domain controller CSC establishes a connection with the application of the mobile terminal through the cross-terminal communication service;
[0033] A first interface layer is provided between the business proxy service and the cross-end communication service; the cross-end communication service includes a signaling transceiver unit for sending a business processing request and returning a callback message of the business processing request;
[0034] The first interface layer receives a service processing request sent by the signaling transceiver unit through the soft bus, performs signaling analysis on the request message, and sends the service processing request obtained by the analysis to the service proxy service of the cockpit domain controller CSC;
[0035] The service proxy service is configured to receive a service processing request sent by a first application on a mobile terminal based on a pre-established wireless connection of a first link;
[0036] Triggering a vehicle-side application of a business function type according to the request parameters and message type carried in the received request message and the pre-set configuration information;
[0037] Receive the response message returned by the cockpit domain controller CSC and send it to the mobile terminal via the cross-terminal communication service; and trigger the vehicle-side application of the corresponding business function type according to the request message sent by the second and third applications of the mobile terminal;
[0038] The response message is a response parameter returned based on the service execution result of controlling the vehicle-side application service function according to the service processing request.
[0039] Optionally, the cockpit domain controller CSC includes: a service layer for sending and receiving Ethernet signals; the service layer is connected to the controller via Ethernet; and sends the required execution to the controller via the service layer;
[0040] The adaptation layer is used to provide a calling interface for vehicle-mounted applications;
[0041] A second interface layer is provided between the business proxy service and the adaptation layer, for obtaining the business function execution result by calling the second interface layer when requesting the cockpit domain controller CSC to execute a specific business function;
[0042] Optionally, the business proxy service further includes a first parsing unit, configured to determine, based on the request parameters included in the request message, a vehicle-side application that matches an RPC function name pre-configured in the cockpit domain controller CSC;
[0043] The second parsing unit is configured to determine, based on the type of the request message, whether the request is actively reported by the cockpit domain controller CSC or actively called by the mobile terminal; if the request is actively reported by the cockpit domain controller CSC, the service proxy service calls the second interface layer of the cockpit domain controller CSC to obtain the service execution result of the first application on the vehicle side; if the request is actively called by the mobile terminal, the first interface layer of the cockpit domain controller CSC calls the function interface provided by the service proxy service to obtain the service execution result of the first application on the vehicle side;
[0044] A response unit, configured to perform signaling assembly on the service execution result and feed back a response result of the cockpit domain controller CSC to the request message to the mobile terminal;
[0045] The application includes a plurality of application programs corresponding to the plurality of vehicle-mounted business functions;
[0046] The vehicle computer business functions include controlling air conditioning, seats, and bracket functions.
[0047] In a third aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method according to any one of the first aspects of the claims.
[0048] In a fourth aspect, the present invention provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of any one of the methods described in the first aspect when executing the computer program.
[0049] Compared with the closest prior art, the present invention has the following beneficial effects:
[0050] This application proposes a method and system, medium, and device for communication between a mobile terminal and a vehicle-mounted computer. These methods enable mobile terminal control of various in-vehicle devices, including air conditioning, seats, and brackets. This increases user convenience and flexibility, allowing users to adjust the in-vehicle environment at any time based on their needs. By enabling communication between the mobile terminal and the vehicle-mounted computer, employing service proxy forwarding logic and reusing the vehicle-mounted computer's existing logic, this approach offers enhanced reusability.
[0051] The present application proposes a communication method and system, medium and equipment between a mobile terminal and a vehicle computer, which adopts a communication method of private control signaling, ensures the security and reliability of communication, reduces errors and interference during data transmission, and improves the stability and performance of the system.
[0052] This application establishes a wireless connection between the mobile terminal and the vehicle computer, achieving smooth communication between the two. This cross-device interaction capability enables users to directly control the vehicle computer application on the mobile terminal, improving the convenience and consistency of the user experience. Because the business proxy service can quickly respond to and process requests from the mobile terminal, and return the response message to the mobile terminal in a timely manner through the cross-terminal communication service, the response speed of the entire system is improved. This mechanism of rapid response and timely feedback helps to improve the user experience and make users feel a smoother and more efficient operation experience.
[0053] In this application, the cockpit domain controller (CSC)'s business proxy service can quickly receive and process business processing requests from mobile terminals, triggering the corresponding vehicle-side application based on the request parameters and message type. This automated processing method reduces manual intervention and improves the efficiency and accuracy of business processing. Furthermore, the response message is sent to the mobile terminal through a cross-terminal communication service, ensuring the timely and accurate delivery of information. This optimized information transmission process reduces the possibility of information delay and loss, improving the overall performance of the system.
[0054] Furthermore, the system can trigger on-board applications with corresponding service functions based on different request messages, enabling the system to support a variety of service functions to meet user needs in different scenarios. The system can also trigger on-board applications with corresponding service functions based on request messages sent by secondary and tertiary applications on the mobile terminal, demonstrating that the system supports concurrent processing of multiple applications. This capability allows users to interact with the on-board application using multiple applications simultaneously, improving the system's flexibility and scalability. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly describes the drawings required for the specific embodiments or the description of the prior art. Similar elements or parts are generally identified by similar reference numerals throughout the drawings. Elements or parts in the drawings are not necessarily drawn to scale.
[0056] Figure 1 This is a flow chart of a communication method between a mobile terminal and a vehicle computer provided by the present invention;
[0057] Figure 2 This is a system architecture diagram of a communication system between a mobile terminal and a vehicle computer provided by the present invention;
[0058] Figure 3 This is a call flow chart between the PAD and the CSC provided in Example 1 of the present invention;
[0059] Figure 4 This is a schematic diagram of information transmission at the interface layer A provided in Example 1 of the present invention;
[0060] Figure 5 It is a diagram of the internal structure of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0061] The following embodiments of the technical solution of the present invention will be described in detail with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention and are therefore only examples and are not intended to limit the scope of protection of the present invention.
[0062] It should be noted that, unless otherwise specified, the technical or scientific terms used in this application should have the common meanings understood by those skilled in the art to which the present invention belongs.
[0063] The present invention provides a communication system, method and device between a mobile terminal and a vehicle computer.
[0064] In one embodiment, please refer to Figure 1 , Figure 1 A communication method between a mobile terminal and a vehicle computer is provided in Embodiment 1 of the present invention. The method specifically includes the following steps:
[0065] S101: The service proxy service of the cockpit domain controller CSC receives a service processing request sent by a first application of the mobile terminal based on a pre-established wireless connection of a first link;
[0066] S102 triggers a vehicle-side application of a business function type according to the request parameters, message type and pre-set configuration information carried in the received request message;
[0067] S103 receives a response message returned by the cockpit domain controller CSC and sends it to the mobile terminal via the cross-terminal communication service; and triggers the vehicle-side application of the corresponding business function type according to the request message sent by the second and third applications of the mobile terminal;
[0068] The response message is a response parameter returned based on the service execution result of controlling the vehicle-side application service function according to the service processing request.
[0069] Before executing step S101, the method further includes: the service proxy service of the cockpit domain controller CSC establishes a connection with the application of the mobile terminal through the cross-terminal communication service, which includes:
[0070] Receiving, by means of a service proxy service of the cockpit domain controller CSC, a wireless connection request for establishing a first link from a first application of the mobile terminal via a cross-terminal communication service, and establishing a wireless connection for the first link with the mobile terminal;
[0071] The service proxy service receives a wireless connection request for establishing a second link from a second application of the mobile terminal via the wireless connection of the first link, and establishes a wireless connection of the second link with the mobile terminal; and
[0072] receiving a wireless connection request for establishing a second link from a second application of the mobile terminal through the cross-communication service for wireless connection of the second link of the mobile terminal, and establishing a wireless connection of the second link with the mobile terminal;
[0073] The service proxy service receives a wireless connection request for establishing a third link from a third application of the mobile terminal via the wireless connection of the second link, and establishes a wireless connection of the third link with the mobile terminal; and
[0074] receiving, through the inter-communication service for the third link wireless connection of the mobile terminal, a wireless connection request for establishing the second link from a third application of the mobile terminal, and establishing a wireless connection for the third link with the mobile terminal;
[0075] The first application, the second application and the third application are any one of an air conditioning application, a seat application and a bracket application respectively.
[0076] In the above embodiment, the triggering of a vehicle-side application of a service function type according to the request parameters, message type, and pre-set configuration information carried in the received request message in step S102 includes:
[0077] The business proxy service of the cockpit domain controller CSC obtains the vehicle-side application that matches the RPC function name pre-configured in the cockpit domain controller CSC based on the request parameters contained in the request message; and determines, based on the type of the request message, whether the cockpit domain controller CSC actively reports or the mobile terminal actively calls; if the cockpit domain controller CSC actively reports, the business proxy service calls the second interface layer of the cockpit domain controller CSC to obtain the business execution result of the first vehicle-side application; if the mobile terminal actively calls, the first interface layer of the cockpit domain controller CSC calls the function interface provided by the business proxy service to obtain the business execution result of the first vehicle-side application;
[0078] After signaling assembly of the service execution result, the cockpit domain controller CSC's response result to the request message is fed back to the mobile terminal;
[0079] The vehicle-side application includes a plurality of application programs corresponding to the plurality of business functions;
[0080] The vehicle computer business functions include controlling air conditioning, seats, and bracket functions.
[0081] Combined with specific applications, each link is further explained:
[0082] First link: The mobile terminal's air conditioning application establishes a connection with the CSC through a cross-communication service, sends a signal to the CSC's service proxy service, which then transmits the signal to the corresponding vehicle-side air conditioning application. Based on the beacon signal, the feedback signal is transmitted via Ethernet to the mobile terminal's air conditioning application controller.
[0083] In the second link, the seat application on the mobile terminal establishes a connection with the CSC through the cross-communication service, sends the signal to the CSC-side service proxy service, which then transmits the signal to the corresponding seat application on the vehicle head unit. The service multiplexes the control signaling under the vehicle head unit logic and transmits it to the seat controller via Ethernet.
[0084] Third link: The seat application of the mobile terminal establishes a connection with the CSC through the cross-communication service, sends the signal to the business proxy service, and then the business proxy service transmits it to the corresponding vehicle-side bracket application, reuses the vehicle-side logic to issue control signaling, and transmits it to the bracket controller via Ethernet.
[0085] In the above embodiment, the air conditioning control functions include: manually turning the air conditioning on and off, manually adjusting the driver's seat air conditioning temperature, manually adjusting the passenger's seat air conditioning temperature, manually adjusting the rear air conditioning temperature, manually adjusting the driver's seat air volume, manually adjusting the passenger's seat air volume, manually adjusting the rear air conditioning air volume, manually adjusting the driver's seat air outlet mode, manually adjusting the passenger's seat air outlet mode, manually adjusting the rear air outlet mode, circulation mode adjustment, automatic control of the rear air conditioning, synchronous air conditioning control, automatic mode adjustment of the driver's seat air outlet, automatic mode adjustment of the passenger's seat air outlet, automatic mode adjustment of the rear air outlet, manual wind direction adjustment of the driver's seat left air outlet, manual wind direction adjustment of the driver's seat right air outlet, manual wind direction adjustment of the passenger's seat left air outlet, manual wind direction adjustment of the passenger's seat right air outlet, fragrance fragrance and fragrance on and off settings, fragrance concentration settings, outdoor air quality detection settings, PM2.5 display, automatic ventilation function settings, intelligent air conditioning control, front windshield defogger settings, rear windshield defrost + rearview mirror heating, driver's seat air volume preference settings, passenger's seat air volume preference settings, and front windshield automatic defogger settings.
[0086] The seat control functions include driver seat heating, passenger seat heating, left rear seat heating, right rear seat heating, driver seat ventilation, passenger seat ventilation, left rear seat ventilation, right rear seat ventilation, driver seat massage, passenger seat massage, left rear seat massage, right rear seat massage, steering wheel heating switch, seat adaptive adjustment, driver seat memory;
[0087] The support control functions include support rising, support lowering, support left movement, and support right movement.
[0088] In the above embodiment, the request message includes: acion, cmd, timeStamp, code, message, and data fields; wherein the acion field is used to indicate the message type, including three types: REQUEST, RESPONSE, and NOTIFY; the cmd field is used to indicate a specific command, corresponding to the RPC function name, and is used to implement control and operation of different vehicle functions; the data field is encapsulated in json format, and is used to carry request parameters in the request message and carry return results in the response message.
[0089] In the above embodiment, step S103 triggers the vehicle-side application of the corresponding service function type based on the request message sent by the second and third applications of the mobile terminal, including: when the second application of the mobile terminal establishes a wireless connection of the second link with the cockpit domain controller CSC, sending the service processing request of the second application to the service proxy service of the cockpit domain controller CSC via the cross-communication service, transmitting the service processing request to the controller corresponding to the second application on the vehicle-side via the service proxy service, and responding to the service processing request to execute the corresponding service function;
[0090] When the third application of the mobile terminal establishes a wireless connection of the third link with the cockpit domain controller CSC, the business processing request of the third application is sent to the business proxy service of the cockpit domain controller CSC through the cross-communication service, and is transmitted to the controller of the corresponding third application on the vehicle side through the business proxy service, and responds to the business processing request to execute the corresponding business function.
[0091] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.
[0092] Based on the same inventive concept, the present application also provides a mobile terminal-vehicle communication system for implementing the aforementioned mobile terminal-vehicle communication method. The solution provided by this system is similar to the solution described in the aforementioned embodiment. Therefore, the specific limitations in the embodiments of the communication system between one or more mobile terminals and a vehicle provided below can be found in the aforementioned limitations on the mobile terminal-vehicle communication method, and will not be further elaborated here.
[0093] In one embodiment, the present invention provides a communication system between a mobile terminal and a vehicle computer, such as Figure 2 As shown, the system includes a vehicle-mounted terminal and a mobile terminal; the vehicle-mounted terminal includes a cockpit domain controller CSC; the cockpit domain controller CSC and the mobile terminal both include multiple application programs corresponding to multiple business functions; the applications are used to control the vehicle-mounted terminal to execute the corresponding business functions;
[0094] The cockpit domain controller CSC includes a business proxy service; the mobile terminal includes a cross-terminal communication service;
[0095] The business proxy service of the cockpit domain controller CSC establishes a connection with the application of the mobile terminal through the cross-terminal communication service;
[0096] A first interface layer is provided between the business proxy service and the cross-end communication service; the cross-end communication service includes a signaling transceiver unit for sending a business processing request and returning a callback message of the business processing request;
[0097] The mobile terminal further includes a third interface layer, and the application of the mobile terminal transmits the sent business processing request to the cross-terminal communication service through the third interface layer;
[0098] The first interface layer receives a service processing request sent by the signaling transceiver unit through the soft bus, performs signaling analysis on the request message, and sends the service processing request obtained by the analysis to the service proxy service of the cockpit domain controller CSC;
[0099] The service proxy service is configured to receive a service processing request sent by a first application on a mobile terminal based on a pre-established wireless connection of a first link;
[0100] Triggering a vehicle-side application of a business function type according to the request parameters, message type and pre-set configuration information carried in the received request message;
[0101] Receive the response message returned by the cockpit domain controller CSC and send it to the mobile terminal via the cross-terminal communication service; and trigger the vehicle-side application of the corresponding business function type according to the request message sent by the second and third applications of the mobile terminal;
[0102] The response message is a response parameter returned based on the service execution result of controlling the vehicle-side application service function according to the service processing request.
[0103] In the above embodiment, the cockpit domain controller CSC includes: a service layer for sending and receiving Ethernet signals; the service layer is connected to the controller via Ethernet; and the commands to be executed are sent to the controller via the service layer;
[0104] The adaptation layer is used to provide a calling interface for vehicle-mounted applications;
[0105] A second interface layer is provided between the business proxy service and the adaptation layer, for obtaining the business function execution result by calling the second interface layer when requesting the cockpit domain controller CSC to execute a specific business function;
[0106] In the above embodiment, the business proxy service further includes a first parsing unit, configured to determine, based on the request parameters included in the request message, a vehicle-side application that matches the RPC function name pre-configured in the cockpit domain controller CSC;
[0107] The second parsing unit is configured to determine, based on the type of the request message, whether the request is actively reported by the cockpit domain controller CSC or actively called by the mobile terminal; if the request is actively reported by the cockpit domain controller CSC, the service proxy service calls the second interface layer of the cockpit domain controller CSC to obtain the service execution result of the first application on the vehicle side; if the request is actively called by the mobile terminal, the first interface layer of the cockpit domain controller CSC calls the function interface provided by the service proxy service to obtain the service execution result of the first application on the vehicle side;
[0108] A response unit, configured to perform signaling assembly on the service execution result and feed back a response result of the cockpit domain controller CSC to the request message to the mobile terminal;
[0109] The application includes a plurality of application programs corresponding to the plurality of vehicle-mounted business functions;
[0110] The vehicle computer business functions include controlling air conditioning, seats, and bracket functions.
[0111] The communication system and method between a mobile terminal and a vehicle computer of the present invention will be described in detail below with reference to specific embodiments.
[0112] Example 1: Example 1 of the present invention provides a communication system between a PAD and a vehicle-mounted computer. In this system, the PAD acts as a mobile terminal, communicating with a cabin domain controller (CSC) to remotely control and display in-vehicle devices. The mobile terminal and the cabin domain controller (CSC) communicate using custom private control signaling. Air conditioning, seat, and bracket control can all be controlled from both the mobile terminal and the vehicle-mounted computer. The control signaling is encapsulated in JSON format.
[0113] System architecture such as Figure 2 As shown in the figure, the cockpit domain controller CSC and the mobile terminal are two independent systems; CSC is the core control unit of the vehicle system, responsible for managing various devices and functions in the vehicle, such as air conditioning, seats, etc.
[0114] The CSC side includes: an interface layer A provided between the cross-end communication service and the business proxy service;
[0115] The vehicle terminal includes: an interface layer B;
[0116] The mobile terminal includes: an interface layer C;
[0117] Among them, the call between PAD and CSC is as follows Figure 3 As shown, Interface C: The interface definition can refer to the document interface provided by Hongqi;
[0118] Interface A: ①PAD -> Business Proxy Service, requesting CSC to perform specific business functions;
[0119] ②Business proxy service -> PAD, returns CSC business execution results.
[0120] like Figure 4 As shown, ① and ② are the interfaces between the "cross-end communication service" and the "business proxy service", namely "interface layer A". The design of interface layer A is as follows:
[0121] When the mobile terminal initiates a call to the cockpit domain controller CSC, the business proxy service provides a functional interface. The interface layer A of the cockpit domain controller CSC calls the functional interface to obtain the execution result, and then returns it to the mobile terminal.
[0122] That is, for the active call from PAD to CSC, the "business proxy service" provides a functional interface. The "interface layer A" of the CSC calls the interface, obtains the execution result, and then returns it to the PAD side.
[0123] For example, after the PAD -> CSC calls the setACState function, the CSC-side "Interface Layer A" receives the REQUEST signaling and calls the int do_setACState(position, state) function implemented by the "Business Proxy Service". After execution, the return value signaling is assembled and returned to the PAD side;
[0124] In one embodiment, after receiving a request from a mobile terminal to a cockpit domain controller CSC, the interface layer A calls the functional interface implemented by the service proxy service. After execution is complete, the interface layer A assembles the return value control signaling and returns it to the mobile terminal.
[0125] For active reporting from CSC to PAD, interface layer A provides a functional interface for the business agent service to call;
[0126] An interface layer C is set up between the business proxy service and the vehicle-mounted application to call the interfaces of ③ individually or in combination in the function implementation according to the specific needs of business execution.
[0127] In this embodiment, the control functions for the air conditioner, seats, and brackets can all be operated on both the mobile terminal and the vehicle computer. This means that users can choose to control these devices directly on the vehicle computer interface or through a mobile terminal connected to the vehicle computer, providing more options and convenience.
[0128] Communication links: Link 1 - Air conditioning control: When the user operates the air conditioning application on the mobile terminal, the air conditioning application establishes a connection with the cockpit domain controller CSC through the cross-communication service.
[0129] Specifically, the air conditioner app on the mobile terminal encapsulates the user's operation instructions into a specific signal format and sends it to the cross-communication service module. The cross-communication service module is responsible for passing these signals to the business proxy service module;
[0130] After receiving the signal, the service proxy module forwards it to the corresponding vehicle-side air conditioning app. The vehicle-side air conditioning app reuses the existing logic on the vehicle to process the signal and transmits the control signal to the air conditioning controller via Ethernet. Based on the received signal, the air conditioning controller performs the corresponding air conditioning adjustment actions, such as adjusting the temperature, air volume, and air flow mode.
[0131] Link 2 - Seat Control: Similarly, when a user operates the seat app on a mobile device, the seat app establishes a connection with the CSC via a cross-communication service. The user's command is passed to the service proxy module, which then forwards it to the vehicle-side seat app. The vehicle-side seat app reuses the vehicle-side logic and transmits the signal via Ethernet to the seat controller, which then performs the corresponding seat adjustment actions, such as heating, ventilation, and massage.
[0132] Link 3 - Stand Control: To control the stand, when a user operates the seat app on a mobile device (in this invention, the seat app also manages some stand control functions), the seat app establishes a connection with the CSC via a cross-communication service. The signal is transmitted to the service proxy module and then forwarded to the stand app on the vehicle. The stand app on the vehicle reuses the vehicle-side logic and transmits the signal to the stand controller via Ethernet. The stand controller then executes actions such as raising, lowering, and moving left and right based on the signal.
[0133] Optionally, the mobile terminal and the CSC communicate using private control signaling. The specific communication control signaling format is as follows:
[0134] {
[0135] "acion": "xxx", / / Client: REQUEST; Server: RESPONSE, NOTIFY
[0136] "cmd":"getACState", / / Specific command, generally corresponds to the RPC function name
[0137] "timeStamp":"5426332", / / timestamp
[0138] "code": 1, / / Command sending result, success: 1, failure: 0 or other custom values
[0139] "message": "succes", / / return information, "sucess", "timeout", etc.
[0140] "data" : {} / / Parameters are passed in when requesting and results are returned. Encapsulated in json format
[0141] }
[0142] Among them, the acion field is used to indicate the type of message. When a message is sent from a mobile terminal to a CSC, the value of this field is "REQUEST"; when the CSC returns a response message to the mobile terminal, the value of this field is "RESPONSE"; if the CSC needs to actively notify the mobile terminal of certain information, the value of this field is "NOTIFY".
[0143] The cmd field indicates a specific command, typically corresponding to a remote procedure call (RPC) function name. For example, "getACState" indicates a command to retrieve the air conditioner's status, while "setACTemperature" indicates a command to set the air conditioner's temperature. By defining different cmd values, you can control and operate various functions.
[0144] Time Stamp field: records the timestamp of the message, which is used to identify the time when the message was sent. This helps manage and analyze the timing of messages during communication and can also be used to detect message timeouts.
[0145] Code field: Indicates the result of the command sent. A value of 1 indicates success, and 0 or other custom values indicate failure or other status. Through the code field, the receiver can quickly understand the result of the sender's command execution and take corresponding subsequent actions.
[0146] Message field: used to return more detailed message information, such as "success" for successful operation and "timeout" for operation timeout. It provides the system with richer feedback information to facilitate fault diagnosis and problem troubleshooting.
[0147] The data field carries the request parameters in a request message and the returned results in a response message. The data field is encapsulated in JSON format, which facilitates data organization and parsing, making the message content more flexible and extensible. For example, in a request to set the air conditioner temperature, the data field might contain the temperature value; in a response to get the air conditioner status, the data field might contain status information such as the current temperature, air volume, and mode.
[0148] Function implementation:
[0149] 1. Air Conditioning Control: Through the aforementioned communication links and protocols, users can perform various in-vehicle air conditioning control operations on their mobile devices, including manually turning the air conditioning on and off, adjusting the temperature and air volume of the driver's, passenger's, and rear seats, adjusting various airflow modes, setting a recirculation mode, automatically controlling the rear seat air conditioning, synchronized air conditioning control, automatically adjusting the driver's and passenger's air vents, manually adjusting the air direction of the left and right air vents, setting the fragrance type and on / off function, setting the fragrance concentration, setting the outside air quality monitor, PM2.5 display, setting the automatic ventilation function, setting the front window defogger, setting the rear window defrost and rearview mirror heating, setting the driver's and passenger's air volume preferences, and setting the front window automatic defogger. These functions enable users to precisely control the operation of the in-vehicle air conditioning system based on their specific needs and environmental conditions, creating a comfortable in-vehicle temperature and air quality environment.
[0150] 2. Seat Control: Users can control various seat functions on their mobile devices, including heating, ventilation, and massage for the driver, passenger, left, and right rear seats, as well as steering wheel heating, adaptive seat adjustment, and driver's seat memory. These functions not only enhance driver and passenger comfort but also allow for personalized seat settings tailored to individual user preferences and needs, providing a more enjoyable driving experience.
[0151] 3. Bracket control function: Through operations on the mobile terminal, you can control the bracket's movements such as raising, lowering, left and right. This is very useful for users or application scenarios with special needs. For example, when fixing or adjusting items in the car, you can easily control the bracket's position to meet your needs.
[0152] At the same time, in one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 5As shown. The computer device includes a processor, memory, a communication interface, a display screen, and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal via wired or wireless communication. Wireless communication can be achieved through Wi-Fi, a mobile cellular network, NFC (near-field communication), or other technologies. When executed by the processor, the computer program implements a method for communication between a mobile terminal and a vehicle computer. The display screen of the computer device can be a liquid crystal display or an electronic ink display. The input device of the computer device can be a touch layer covering the display screen, keys, a trackball, or a touchpad provided on the computer device housing, or an external keyboard, touchpad, or mouse.
[0153] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0154] In one embodiment, a computer device is provided, comprising a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of any one of the methods in the first aspect are implemented.
[0155] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.
[0156] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0157] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program may be stored in a non-volatile computer-readable storage medium. When executed, the computer program may include the processes of the above-described method embodiments. Any reference to memory, database, or other media used in the embodiments provided herein may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRRAM), etc. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM may take various forms. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchain. The processors involved in the various embodiments provided in this application may be general-purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, data processing logic devices based on quantum computing, etc., but are not limited thereto.
[0158] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0159] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.
Claims
1. A communication method between a mobile terminal and a vehicle computer, characterized in that: The method comprises: The service proxy service of the cockpit domain controller CSC receives a service processing request sent by the first application of the mobile terminal based on the pre-established wireless connection of the first link; Triggering a vehicle-side application of a business function type according to the request parameters, message type and pre-set configuration information carried in the received request message; Receive the response message returned by the cockpit domain controller CSC and send it to the mobile terminal via the cross-terminal communication service; and trigger the vehicle-side application of the corresponding business function type according to the request message sent by the second and third applications of the mobile terminal; The response message is a response parameter returned based on the service execution result of controlling the vehicle-side application service function according to the service processing request.
2. The method according to claim 1, characterized in that The method further includes: the service proxy service of the cockpit domain controller CSC establishes a connection with the application of the mobile terminal through the cross-terminal communication service, which includes: Receiving, by means of a service proxy service of the cockpit domain controller CSC, a wireless connection request for establishing a first link from a first application of the mobile terminal via a cross-terminal communication service, and establishing a wireless connection for the first link with the mobile terminal; The service proxy service receives a wireless connection request for establishing a second link from a second application of the mobile terminal via the wireless connection of the first link, and establishes a wireless connection of the second link with the mobile terminal; and receiving a wireless connection request for establishing a second link from a second application of the mobile terminal through the cross-communication service for wireless connection of the second link of the mobile terminal, and establishing a wireless connection of the second link with the mobile terminal; The service proxy service receives a wireless connection request for establishing a third link from a third application of the mobile terminal via the wireless connection of the second link, and establishes a wireless connection of the third link with the mobile terminal; and receiving, through the inter-communication service for the third link wireless connection of the mobile terminal, a wireless connection request for establishing the second link from a third application of the mobile terminal, and establishing a wireless connection for the third link with the mobile terminal; The first application, the second application and the third application are any one of an air conditioning application, a seat application and a bracket application respectively.
3. The method according to claim 1, characterized in that The triggering of a vehicle-side application of a service function type according to the request parameters, message type and preset configuration information carried in the received request message includes: The business proxy service of the cockpit domain controller CSC obtains the vehicle-side application that matches the RPC function name pre-configured in the cockpit domain controller CSC based on the request parameters contained in the request message; and determines, based on the type of the request message, whether the cockpit domain controller CSC actively reports or the mobile terminal actively calls; if the cockpit domain controller CSC actively reports, the business proxy service calls the second interface layer of the cockpit domain controller CSC to obtain the business execution result of the first vehicle-side application; if the mobile terminal actively calls, the first interface layer of the cockpit domain controller CSC calls the function interface provided by the business proxy service to obtain the business execution result of the first vehicle-side application; After signaling assembly of the service execution result, the cockpit domain controller CSC's response result to the request message is fed back to the mobile terminal; The vehicle-side application includes a plurality of application programs corresponding to the plurality of business functions; The vehicle computer business functions include controlling air conditioning, seats, and bracket functions.
4. The method according to claim 3, characterized in that The request message includes: acion, cmd, timeStamp, code, message, and data fields; The acion field is used to indicate the message type, including REQUEST, RESPONSE and NOTIFY. The cmd field is used to indicate a specific command, corresponding to an RPC function name, and is used to control and operate different vehicle computer functions; The data field is encapsulated in json format and is used to carry request parameters in the request message and carry the return result in the response message.
5. The method according to claim 1, characterized in that The triggering of the vehicle-side application of the corresponding service function type according to the request message sent by the second and third applications of the mobile terminal includes: when the second application of the mobile terminal establishes a wireless connection of a second link with the cockpit domain controller CSC, sending the service processing request of the second application to the service proxy service of the cockpit domain controller CSC through the cross-communication service, transmitting the service processing request to the controller corresponding to the second application on the vehicle-side via the service proxy service, and responding to the service processing request to execute the corresponding service function; When the third application of the mobile terminal establishes a wireless connection of the third link with the cockpit domain controller CSC, the business processing request of the third application is sent to the business proxy service of the cockpit domain controller CSC through the cross-communication service, and is transmitted to the controller of the corresponding third application on the vehicle side through the business proxy service, and responds to the business processing request to execute the corresponding business function.
6. A communication system between a mobile terminal and a vehicle computer, characterized in that: The system includes a vehicle-mounted terminal and a mobile terminal; the vehicle-mounted terminal includes a cockpit domain controller (CSC); the cockpit domain controller (CSC) and the mobile terminal each include multiple application programs corresponding to multiple business functions; the application programs are used to control the vehicle-mounted terminal to execute the corresponding business functions; The cockpit domain controller CSC includes a business proxy service; the mobile terminal includes a cross-terminal communication service; The business proxy service of the cockpit domain controller CSC establishes a connection with the application of the mobile terminal through the cross-terminal communication service; A first interface layer is provided between the business proxy service and the cross-end communication service; The cross-end communication service includes a signaling transceiver unit for sending a service processing request and returning a callback message of the service processing request; The first interface layer receives a service processing request sent by the signaling transceiver unit through the soft bus, performs signaling analysis on the request message, and sends the service processing request obtained by the analysis to the service proxy service of the cockpit domain controller CSC; The service proxy service is configured to receive a service processing request sent by a first application on a mobile terminal based on a pre-established wireless connection of a first link; According to the request parameters and message type carried in the received request message; and pre-set configuration information to trigger a vehicle-side application of a business function type; Receive a response message returned by the cockpit domain controller CSC, and send it to the mobile terminal via the cross-terminal communication service; And trigger the vehicle-side application of the corresponding business function type according to the request message sent by the second and third applications of the mobile terminal; The response message is a response parameter returned based on the service execution result of controlling the vehicle-side application service function according to the service processing request.
7. The system according to claim 6, wherein the cockpit domain controller (CSC) comprises: The service layer is used to send and receive Ethernet signals; the service layer is connected to the controller via Ethernet; Send the required execution to the controller through the service layer; The adaptation layer is used to provide a calling interface for vehicle-mounted applications; A second interface layer is provided between the business proxy service and the adaptation layer, and is used to obtain the business function execution result by calling the second interface layer when requesting the cockpit domain controller CSC to execute a specific business function.
8. The system according to claim 7, wherein the business proxy service further comprises a first parsing unit, configured to determine, based on the request parameters included in the request message, a vehicle-side application that matches an RPC function name pre-configured in the cockpit domain controller (CSC); The second parsing unit is used to determine whether the cockpit domain controller CSC actively reports or the mobile terminal actively calls according to the request message type; If the cockpit domain controller CSC actively reports, the business proxy service calls the second interface layer of the cockpit domain controller CSC to obtain the business execution result of the first application on the vehicle side. If the mobile terminal actively calls, the first interface layer of the cockpit domain controller CSC calls the function interface provided by the business proxy service to obtain the business execution result of the first application on the vehicle side. A response unit, configured to perform signaling assembly on the service execution result and feed back a response result of the cockpit domain controller CSC to the request message to the mobile terminal; The application includes a plurality of application programs corresponding to the plurality of vehicle-mounted business functions; The vehicle computer business functions include controlling air conditioning, seats, and bracket functions.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.