Vehicle-mounted service providing method and system, vehicle-mounted server and cloud server

By introducing Internet connection between the on-board server and user terminal in smart cars, the problems of high cost, complexity and single functions of the existing multi-screen interactive system are solved, and convenient provision and efficient communication of on-board services are achieved, improving the user experience.

CN120050316AActive Publication Date: 2025-05-27CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202510518594.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-24
Publication Date
2025-05-27
Estimated Expiration
2045-04-24

AI Technical Summary

Technical Problem

The existing intelligent car multi-screen interactive system is costly, complex, and single, which makes users inconvenient to use. The communication method of transit through cloud servers has problems such as long network links, slow response and high cost.

Method used

Provide a method and system for providing in-vehicle service, which receives access requests from the user terminal through the in-vehicle server, generates in-vehicle service page data, and returns it to the user terminal. The user terminal generates an interactive page based on the data, including multiple in-vehicle service applets. The on-board server receives control instructions from the user terminal and controls the vehicle to provide services according to the instructions. The user terminal and the on-board server are connected through the Internet without the need for a cloud server to redirect.

Benefits of technology

It realizes convenient provision of in-vehicle services, reduces hardware costs and complexity, simplifies user usage process, shortens network communication distance, reduces cloud processing delays, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120050316A_ABST
    Figure CN120050316A_ABST
Patent Text Reader

Abstract

The invention relates to a vehicle-mounted service providing method and system, a vehicle-mounted server and a cloud server. The vehicle-mounted service providing method comprises the steps that a vehicle-mounted server receives a vehicle-mounted service access request from a user terminal; the vehicle-mounted server generates vehicle-mounted service page data and returns the vehicle-mounted service page data to the user terminal; the vehicle-mounted server receives a vehicle-mounted service control instruction aiming at any vehicle-mounted service applet from the user terminal; the vehicle-mounted server controls the vehicle to provide the vehicle-mounted service according to the vehicle-mounted service control instruction. According to the embodiment of the invention, the vehicle-mounted terminal is used as the Web server, the user terminal is used as the client, the vehicle-mounted server provides vehicle-mounted service for the client, the user terminal and the vehicle-mounted terminal can be respectively connected with the Internet through a mobile network, data transmission, interaction and other operations can be carried out by using the network, transfer through a cloud server is not needed, the network communication distance is short, and the user experience is improved. Cloud processing delay is avoided, extra and complex wired or wireless connection steps and setting processes are not needed, and the method is convenient for users to use.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent vehicles, and particularly to a method and system for providing in-vehicle services, an in-vehicle server, and a cloud server. Background Art

[0002] To enhance the riding experience and facilitate the interaction between passengers and vehicles, modern intelligent vehicles have added some interactive screens and connection lines at the co-pilot, rear row, or other positions to form a multi-screen interaction system. However, this method has high costs, complex implementation, and inconvenient use. One current multi-screen interaction system can receive instructions from the in-vehicle screen via Bluetooth, process them on a user terminal (mobile phone or tablet), and then transmit the audio and video to the in-vehicle system via the MHL or HDMI interface for playback. However, this method requires the installation of software for specifically processing instructions on the user terminal, and can only play mobile phone audio and video, with a single function, complex implementation, and high software and hardware costs, affecting user experience. There are also currently technical solutions for controlling target devices by scanning codes or web links, which adopt a triangular network architecture model of a user terminal, a cloud server, and a target device. Among them, the target device also communicates with the cloud server as a user terminal, that is, a communication method with the cloud server as the control center. The control signal of the user terminal for the device needs to be relayed by the cloud server, resulting in problems such as long network links, slow response, and high costs. Summary of the Invention

[0003] To solve the above technical problems or at least partially solve the above technical problems, this application provides a method and system for providing in-vehicle services, an in-vehicle server, and a cloud server.

[0004] In a first aspect, this application provides a method for providing in-vehicle services, the method including: The in-vehicle server receives an in-vehicle service access request from a user terminal; The in-vehicle server generates in-vehicle service page data and returns it to the user terminal, so that the user terminal generates an in-vehicle service interaction page based on the in-vehicle service page data, and the in-vehicle service interaction page includes multiple in-vehicle service mini-programs; The in-vehicle server receives an in-vehicle service control instruction from the user terminal for any one of the in-vehicle service mini-programs; The in-vehicle server controls the vehicle to provide in-vehicle services according to the in-vehicle service control instruction.

[0005] Optionally, the in-vehicle server generating in-vehicle service page data includes: The Web service process in the in-vehicle server obtains information about in-vehicle service mini-programs that are currently allowed to provide in-vehicle services; The Web service process in the vehicle-mounted server generates the vehicle-mounted service page data based on the information of the vehicle-mounted service applet that allows the provision of vehicle-mounted services.

[0006] Optionally, the vehicle-mounted server controls the vehicle to provide vehicle-mounted services according to the vehicle-mounted service control instruction, including: The Web service process in the vehicle-mounted server calls the business logic interface, and through the business logic interface, calls one or more function providing objects corresponding to the vehicle-mounted service control instruction, so that one or more of the function providing objects execute corresponding functions to provide vehicle-mounted services.

[0007] Optionally, the function providing objects include: application process, multimedia control module, body control module, navigation control module, database module, and cloud module.

[0008] Optionally, the Web service program corresponding to the Web service process is synchronously upgraded along with the operations of remote upgrade, USB flash drive upgrade, or system flashing of the vehicle.

[0009] Optionally, before the vehicle-mounted server controls the vehicle to provide vehicle-mounted services according to the vehicle-mounted service control instruction, the method further includes: The vehicle-mounted server determines the vehicle-mounted service type of the vehicle-mounted service applet targeted by the vehicle-mounted service control instruction; If the vehicle-mounted service type is within the preset service type set, execute the step of the vehicle-mounted server controlling the vehicle to provide vehicle-mounted services according to the vehicle-mounted service control instruction.

[0010] Optionally, the method further includes: The vehicle-mounted server obtains the number of user terminals currently accessing the vehicle-mounted service; If the number of terminals reaches the preset number threshold, remove the user terminals that meet the preset removal conditions from the user terminals currently accessing the vehicle-mounted service, and / or, reject providing vehicle-mounted services to the user terminals that send vehicle-mounted service requests after the current moment.

[0011] Optionally, the method further includes: The vehicle-mounted server determines the communication method between the user terminal currently accessing the vehicle-mounted service and itself; If the communication method between the user terminal accessing the vehicle-mounted service and itself is the local area network method, return the vehicle-mounted service page data to the user terminal through the local area network.

[0012] Optionally, the method further includes: The vehicle-mounted server determines the communication method between the user terminal currently accessing the vehicle-mounted service and itself; If the communication mode between the user terminal accessing the in-vehicle service and itself is a non-local area network mode, the in-vehicle service page data is returned to the user terminal through the mobile communication network.

[0013] Optionally, before the in-vehicle server receives an in-vehicle service access request from the user terminal, the method further includes: The cloud server receives a URL network request from the user terminal, and the URL network request includes the vehicle end identifier of the in-vehicle server; The cloud server queries the current vehicle end IP address corresponding to the vehicle end identifier in the redirection mapping table; The cloud server returns the current vehicle end IP address to the user terminal, so that the user terminal performs network redirection based on the current vehicle end IP address to access the in-vehicle server.

[0014] Optionally, the method further includes: The in-vehicle server detects whether its own IP address has changed; If its own IP address has changed, the in-vehicle server obtains the changed vehicle end IP address after the change; The in-vehicle server sends an IP address update request to the cloud server, and the IP address update request carries the changed vehicle end IP address after the change and the vehicle end identifier; The cloud server updates the redirection mapping table based on the changed vehicle end IP address after the change and the vehicle end identifier.

[0015] Optionally, the cloud server updates the redirection mapping table based on the changed vehicle end IP address after the change and the vehicle end identifier, including: The cloud server searches for the vehicle end IP address corresponding to the vehicle end identifier in the redirection mapping table; The cloud server replaces the vehicle end IP address with the changed vehicle end IP address after the change to obtain the current vehicle end IP address.

[0016] In a second aspect, an in-vehicle service providing system provided by an embodiment of the present application further includes: a cloud server and an in-vehicle server; The in-vehicle server is configured to receive an in-vehicle service access request from a user terminal; generate in-vehicle service page data and return it to the user terminal, so that the user terminal generates an in-vehicle service interaction page based on the in-vehicle service page data, and the in-vehicle service interaction page includes a plurality of in-vehicle service mini-programs; receive an in-vehicle service control instruction from the user terminal for any one of the in-vehicle service mini-programs; and control the vehicle to provide in-vehicle services according to the in-vehicle service control instruction; The cloud server is used to receive a URL network request from a user terminal, where the URL network request includes the vehicle-mounted server's in-vehicle device identifier; query the current vehicle-side IP address corresponding to the in-vehicle device identifier in the redirect mapping table; and return the current vehicle-side IP address to the user terminal, so that the user terminal can perform network redirection based on the current vehicle-side IP address to access the vehicle-mounted server.

[0017] In a third aspect, an embodiment of the present application further provides a vehicle-mounted server, including a processor, a communication interface, a memory, and a communication bus. Among them, the processor, the communication interface, and the memory complete communication with each other through the communication bus; The memory is used to store a computer program; The processor is configured to, when executing the program stored in the memory, receive a vehicle-mounted service access request from a user terminal; generate vehicle-mounted service page data and return it to the user terminal, so that the user terminal can generate a vehicle-mounted service interaction page based on the vehicle-mounted service page data, and the vehicle-mounted service interaction page includes multiple vehicle-mounted service applets; receive a vehicle-mounted service control instruction from the user terminal for any one of the vehicle-mounted service applets; and control the vehicle to provide vehicle-mounted services according to the vehicle-mounted service control instruction.

[0018] In a fourth aspect, an embodiment of the present application further provides a cloud server, including a processor, a communication interface, a memory, and a communication bus. Among them, the processor, the communication interface, and the memory complete communication with each other through the communication bus; The memory is used to store a computer program; The processor is configured to, when executing the program stored in the memory, receive a URL network request from a user terminal, where the URL network request includes the vehicle-mounted server's in-vehicle device identifier; query the current vehicle-side IP address corresponding to the in-vehicle device identifier in the redirect mapping table; and return the current vehicle-side IP address to the user terminal, so that the user terminal can perform network redirection based on the current vehicle-side IP address to access the vehicle-mounted server.

[0019] Advantages of the present invention: After receiving an in-vehicle service access request from a user terminal, an embodiment of the present application can generate in-vehicle service page data and return it to the user terminal. After the in-vehicle server receives an in-vehicle service control instruction from the user terminal for any in-vehicle service applet, it can control the vehicle to provide in-vehicle services according to the in-vehicle service control instruction. The connection structure between the in-vehicle server on the in-vehicle device side and the user terminal in the embodiment of the present application is based on the server-client design architecture. The in-vehicle device side is regarded as a Web server, and the user terminal is regarded as a client. The in-vehicle server provides in-vehicle services for the client. The user terminal and the in-vehicle device side can be connected to the Internet through a mobile network respectively, without other additional complex wired or wireless connections (that is: when the user terminal (such as a mobile phone, a tablet computer, etc.) and the in-vehicle device (devices such as the information entertainment system in a car) are connected, they can be realized through the Internet, and this connection method is relatively simple and convenient, without the need to use a wired connection method such as a USB cable or a wireless connection method such as Bluetooth to establish a direct connection between the two like the traditional method). The user terminal and the in-vehicle device side only need to access the Internet respectively, and then they can use the network to perform operations such as data transmission and interaction without passing through a cloud server for transfer. The network communication distance is short, there is no cloud processing delay, and the additional and relatively complex wired or wireless connection steps and setting processes are omitted, which is convenient for users to use. Brief Description of the Drawings

[0020] The accompanying drawings herein are incorporated into and constitute a part of this specification, showing embodiments consistent with the present invention and, together with the specification, are used to explain the principles of the present invention.

[0021] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the accompanying drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0022] Figure 1 It is a schematic diagram of the architecture when an in-vehicle server and a user terminal are connected through the Internet provided by an embodiment of the present application; Figure 2 It is a flowchart of a method for providing in-vehicle services provided by an embodiment of the present application; Figure 3 For Figure 2 It is a flowchart of step S102 in Figure 4 It is another flowchart of a method for providing in-vehicle services provided by an embodiment of the present application; Figure 5 It is another flowchart of a method for providing in-vehicle services provided by an embodiment of the present application; Figure 6Another flowchart of a vehicle-mounted service providing method provided by an embodiment of the present application; Figure 7 Another flowchart of a vehicle-mounted service providing method provided by an embodiment of the present application; Figure 8 Another flowchart of a vehicle-mounted service providing method provided by an embodiment of the present application; Figure 9 The hardware connection relationship and software organization relationship of a service system provided by an embodiment of the present application; Figure 10 A list of vehicle-side mini-programs accessible by a user terminal provided by an embodiment of the present application; Figure 11 A structural diagram of a cloud server or a vehicle-mounted server provided by an embodiment of the present application. Detailed implementation manners

[0023] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Apparently, the described embodiments are some but not all of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.

[0024] Since the current multi-screen interaction system requires additional hardware devices such as monitors and connection lines, or requires software for processing instructions to be installed on the user terminal, or can only perform single functions such as playing mobile phone audio and video, or requires complex vehicle control instructions to be processed by the cloud server, their implementation is complex and the software and hardware costs are high, and they are not convenient to use, affecting the user experience. Therefore, the embodiments of the present application provide a vehicle-mounted service providing method, system, vehicle-mounted server, and cloud server.

[0025] The embodiments of the present application provide a vehicle-mounted service providing method. Exemplarily, the vehicle-mounted service refers to a Web service program running on the vehicle terminal. The present application can deploy a server on the vehicle terminal, that is, a vehicle-mounted server (denoted as: SERVER-CAR). The user terminal can communicate with the vehicle-mounted server through the local area network provided by the vehicle terminal, or, as Figure 1 shown, can communicate with the vehicle-mounted server through the mobile communication network. The vehicle-mounted server can communicate with the cloud server (denoted as: SERVER-CLOUD) to update the vehicle-side IP address, and the user terminal can communicate with the cloud server to obtain the current vehicle-side IP address.

[0026] As Figure 2 shown, the vehicle-mounted service providing method may include the following steps: Step S101, the vehicle-mounted server receives a vehicle-mounted service access request from a user terminal; In an embodiment of the present application, the in-vehicle service access request is used to request access to the in-vehicle service provided by the in-vehicle server. The in-vehicle service access request is sent by the user terminal through the local area network formed with the vehicle-side or based on the current IP address of the vehicle-side of the vehicle-side. The current IP address of the vehicle-side is the user terminal accessing the cloud server based on the URL address of the cloud server and is pre-obtained from the cloud server using the vehicle-side identifier.

[0027] Step S102, the vehicle-mounted server generates vehicle-mounted service page data and returns it to the user terminal; In the embodiment of the present application, the vehicle service page data includes information of multiple vehicle service applets. The vehicle server can generate the vehicle service page data according to the business data, vehicle information, etc. obtained by the business logic interface.

[0028] After the user terminal receives the in-vehicle service page data, an in-vehicle service interaction page can be generated based on the in-vehicle service page data through a browser, etc. The in-vehicle service interaction page includes multiple in-vehicle service applets. Users can click on the in-vehicle service applets to send in-vehicle service control instructions, such as: raising or lowering the air-conditioning temperature, etc.

[0029] When the vehicle-mounted computer interacts with the user, only the user terminal is needed, especially the mobile phone carried by the user, which is low-cost and can be placed anywhere; the user terminal carried by the passenger uses its own browser function to interact with the vehicle-mounted computer, and there is no need to install any additional auxiliary software; the vehicle-mounted computer and the user terminal carried by the passenger are connected across platforms, and the user terminal carried by the passenger can be Android, Hongmeng, Apple operating system, etc.; passengers use their own devices to interact with the vehicle-mounted computer, which can facilitate users to quickly become familiar with the functions of the vehicle-mounted computer, especially when riding in unfamiliar vehicles such as online ride-hailing cars, passengers can play music and videos on the vehicle-mounted computer at will, and adjust the air-conditioning temperature, etc.

[0030] In one implementation of the present application, the vehicle-mounted server in step S102 generates vehicle-mounted service page data, such as Figure 3 As shown, including: Step S201, the Web service process in the vehicle-mounted server obtains information of the vehicle-mounted service applet currently allowed to provide vehicle-mounted services; Step S202 : The Web service process in the vehicle-mounted server generates the vehicle-mounted service page data based on the information of the vehicle-mounted service applet that allows the provision of the vehicle-mounted service.

[0031] Through the implementation manner of the present application, the vehicle owner can edit the data of the in-vehicle service page, select which service programs can be opened to passengers, and the in-vehicle server records the information of the in-vehicle service mini-programs that are currently allowed to provide in-vehicle services after the vehicle owner's editing. Based on the information of the in-vehicle service mini-programs allowed to provide in-vehicle services, the in-vehicle service page data is generated, ensuring that only the in-vehicle services allowed by the vehicle owner are opened to the user terminal, avoiding providing in-vehicle services not allowed by the vehicle owner to the user terminal, ensuring information security, and saving system resources.

[0032] Step S103, the in-vehicle server receives an in-vehicle service control instruction for any one of the in-vehicle service mini-programs from the user terminal; After the user terminal clicks on the in-vehicle service mini-program to send an in-vehicle service control instruction, it can send the in-vehicle service control instruction to the in-vehicle server to notify the Web service process of the in-vehicle server to provide in-vehicle services for the user terminal, that is, to control the vehicle to implement corresponding functions, including but not limited to: multimedia control, vehicle body control, navigation control. The multimedia control includes but is not limited to playing in-vehicle music, playing in-vehicle videos, etc. The vehicle body control includes but is not limited to in-vehicle lighting control, sunshade control, window control, seat adjustment, air conditioning control, etc. The navigation control includes but is not limited to: initiating navigation, ending navigation, adding waypoints, etc.

[0033] The Web service process can run in the same system as other in-vehicle software, including but not limited to the Android operating system and the HarmonyOS operating system. The Web service process and other in-vehicle software (application processes) can communicate through an inter-process manner.

[0034] The Web service program corresponding to the Web service process is synchronously upgraded with the operations of remote upgrade, USB flash drive upgrade, or system flashing of the vehicle.

[0035] In the embodiment of the present application, the in-vehicle service control instruction is sent by the user terminal through the local area network formed with the in-vehicle terminal or through the Internet based on the current IP address of the vehicle end.

[0036] Step S104, the in-vehicle server controls the vehicle to provide in-vehicle services according to the in-vehicle service control instruction.

[0037] In an implementation manner of the present application, in step S104, the in-vehicle server controls the vehicle to provide in-vehicle services according to the in-vehicle service control instruction, including: The Web service process in the in-vehicle server calls the business logic interface, and through the business logic interface, calls one or more function providing objects corresponding to the in-vehicle service control instruction, so that one or more of the function providing objects execute corresponding functions to provide in-vehicle services.

[0038] In the embodiments of the present application, corresponding function providing objects can be called through a service logic interface. The function providing objects include: application processes, multimedia control modules, body control modules, navigation control modules, database modules, cloud modules, etc.

[0039] In practical applications, after the in-vehicle computer is started, passengers in the co-pilot or rear row use a user terminal to scan the in-vehicle QR code or the web link shared by the vehicle owner to access the in-vehicle computer Web service program. The in-vehicle computer Web service program can run as a process in the in-vehicle computer operating system or as a process in the in-vehicle server on the vehicle; the in-vehicle computer Web service program returns Web front-end data to the user terminal via a wireless network; the Web front-end data is parsed and displayed as a service applet list on the user terminal screen; when the user clicks on a certain applet, the application operation interface can be opened, and instructions can be sent to the in-vehicle computer, and the in-vehicle computer controls the relevant system functions of the vehicle according to the instructions; the execution result at the vehicle end is fed back to the user terminal screen.

[0040] After receiving an in-vehicle service access request from the user terminal, the embodiments of the present application can generate in-vehicle service page data and return it to the user terminal. After the in-vehicle server receives an in-vehicle service control instruction from the user terminal for any in-vehicle service applet, it can control the vehicle to provide in-vehicle services according to the in-vehicle service control instruction. The connection structure between the in-vehicle server at the in-vehicle computer end and the user terminal in the embodiments of the present application is based on a server-client design architecture. The in-vehicle computer end is regarded as a Web server, and the user terminal is regarded as a client. The in-vehicle server provides in-vehicle services for the client. The user terminal and the in-vehicle computer end can be connected to the Internet through a mobile network respectively, without other additional complex wired or wireless connections (that is to say: when the user terminal (such as a mobile phone, a tablet computer, etc.) and the in-vehicle computer (devices such as the in-vehicle infotainment system in a car) are connected, they can be realized through the Internet, and this connection method is relatively simple and convenient, and there is no need to use a wired connection method such as a USB cable or a wireless connection method such as Bluetooth to establish a direct connection between the two like the traditional method). The user terminal and the in-vehicle computer end only need to access the Internet respectively, and then they can use the network to perform operations such as data transmission and interaction, without passing through a cloud server for transit. The network communication distance is short, there is no cloud processing delay, and the extra, relatively complex wired or wireless connection steps and setting processes are omitted, which is convenient for users to use.

[0041] In another embodiment of the present application, before the in-vehicle server controls the vehicle to provide in-vehicle services according to the in-vehicle service control instruction in step S104, as Figure 4 shown, the method further includes: Step S401, the in-vehicle server determines the in-vehicle service type of the in-vehicle service applet targeted by the in-vehicle service control instruction; In the embodiments of the present application, the preset service type may refer to the service type of in-vehicle services that do not affect driving safety. The service types of in-vehicle services that affect driving safety include: clutch, accelerator pedal, brake, gear, etc. That is, the control of the vehicle by the user terminal through the in-vehicle machine Web service process does not include the control of the clutch, accelerator pedal, brake, and gear that affect driving safety.

[0042] Step S402, if the in-vehicle service type is within the preset service type set, execute the step of the in-vehicle server controlling the vehicle to provide the in-vehicle service according to the in-vehicle service control instruction.

[0043] The embodiments of the present application can prevent the user terminal from misoperating and controlling the in-vehicle services that affect driving safety, and ensure driving safety.

[0044] In another embodiment of the present application, as Figure 5 shown, before step S102, the method further includes: Step S501, the in-vehicle server obtains the number of user terminals currently providing in-vehicle services; Step S502, if the number of terminals reaches the preset number threshold, remove the user terminals that meet the preset removal conditions from the user terminals currently providing in-vehicle services, and / or reject providing in-vehicle services to the user terminals that send in-vehicle service requests after the current moment.

[0045] Through the embodiments of the present application, the in-vehicle machine side can provide services for multiple user terminals at the same time, meet the simultaneous interaction needs of the co-pilot and rear passengers for the in-vehicle machine, and the operations of multiple user terminals are synchronized through the in-vehicle side Web service program and the results are displayed on the display screens of multiple user terminals. The number of currently connected user terminals can be viewed on the central control screen of the vehicle, and the connection of user terminals can be removed or rejected on the central control screen.

[0046] In another embodiment of the present application, as Figure 6 shown, before step S102, the method further includes: Step S601, the in-vehicle server determines the communication method between the user terminal currently accessing the in-vehicle service and itself; In the embodiments of the present application, the communication methods between the user terminal and the in-vehicle server include a local area network method and a non-local area network method. Step S602, if the communication method between the user terminal accessing the in-vehicle service and itself is the local area network method, return the in-vehicle service page data to the user terminal through the local area network.

[0047] When the user terminal and the in-vehicle device share a WIFI network connection, a local area network is formed, and the user terminal can directly access the in-vehicle server. The in-vehicle server returns the in-vehicle service page data to the user terminal through the local area network.

[0048] Step S603, if the communication mode between the user terminal accessing the in-vehicle service and itself is not the local area network mode, return the in-vehicle service page data to the user terminal through the mobile communication network.

[0049] In another embodiment of the present application, before the in-vehicle server receives an in-vehicle service access request from the user terminal, as Figure 7 shown, before step S101, the method further includes: Step S701, the cloud server receives a URL network request from the user terminal, and the URL network request includes the in-vehicle device identifier of the in-vehicle server; When the user terminal needs to access the in-vehicle server, it can use the browser in the user terminal to obtain the URL address of the cloud server by scanning the two-dimensional code in the vehicle, and then access the cloud server through this URL address, or access the cloud server through the web page link shared by the vehicle owner, and then send a URL network request to the cloud server. In order to facilitate the cloud server to obtain the in-vehicle server to be accessed by the user terminal, the in-vehicle device identifier of the in-vehicle device (denoted as: SERVER-CAR) needs to be included in the URL network request.

[0050] In the embodiment of the present application, the two-dimensional code in the vehicle can be posted at a fixed position in the vehicle, such as the front side of the co-pilot seat or the back side of the driver and co-pilot seats, or the two-dimensional code can be displayed through the in-vehicle display screen. The in-vehicle display screen for displaying the two-dimensional code can be one or more, and the display screen for displaying the two-dimensional code can be reused but is not limited to the in-vehicle central control screen, and can also be a small and simple display screen located in the back row of the vehicle or other places in the vehicle. The display screen for displaying the two-dimensional code in the back row of the vehicle or other places in the vehicle can be a very small low-cost display screen that can only meet the display of the two-dimensional code.

[0051] Furthermore, the validity period of the two-dimensional code in the vehicle or the web page link shared by the vehicle owner can be set and dynamically updated, and the old two-dimensional code or web page link becomes invalid after the update. When the two-dimensional code or the web page link is still within the validity period, as long as the in-vehicle device is started and the in-vehicle server runs the Web service program to provide the in-vehicle service, the passenger only needs to access the link history on the user terminal again to access the in-vehicle service program without scanning the two-dimensional code again.

[0052] It should be noted that, in this article, the access of the user terminal to the vehicle-mounted server can be other ways to access the Web server, such as WeChat mini-programs, in addition to the above-mentioned QR codes and the web page links shared by the vehicle owners; in addition to passengers being able to access the vehicle-mounted server through the user terminal to obtain vehicle-mounted services, the vehicle owner or driver can also access the vehicle-mounted server through the user terminal. Optionally, the passenger or the vehicle owner can log in on the user terminal to obtain vehicle-mounted services; the vehicle-mounted services can authenticate the user terminals accessing themselves, including determining whether the user terminal is logged in by the vehicle owner or accessing in the guest mode. Optionally, it can be determined whether the vehicle-mounted services can be obtained according to whether the correct verification code is entered on the user terminal.

[0053] Step S702, the cloud server queries the current vehicle-end IP address corresponding to the vehicle-mounted terminal identifier in the redirection mapping table; In the embodiment of the present application, a redirection mapping table can be preset in the cloud server. The redirection mapping table contains multiple groups of IP address mapping relationships corresponding to the vehicle-mounted terminals. Each group of IP address mapping relationships contains the mapping relationship between the vehicle-mounted terminal identifier (denoted as: IP_VIRTUAL) and the vehicle-mounted IP address (denoted as: IP-REAL).

[0054] In this step, an IP address search can be performed in the redirection mapping table based on the vehicle-mounted terminal identifier, that is, the vehicle-end IP address corresponding to the vehicle-mounted terminal identifier is queried, and this vehicle-end IP address is determined as the current vehicle-end IP address.

[0055] Step S703, the cloud server returns the current vehicle-end IP address to the user terminal, so that the user terminal performs network redirection based on the current vehicle-end IP address to access the vehicle-mounted server. After the user terminal accesses the vehicle-mounted server based on the current vehicle-end IP address, the communication method between the user terminal and the vehicle-mounted server is a non-local area network method.

[0056] In another embodiment of the present application, the cloud server returns the HTTP status code (such as: 302) while returning the current vehicle-end IP address. The user terminal browser performs network redirection according to the HTTP redirection status code and the current vehicle-end IP address returned by the cloud server to obtain the vehicle-end Web service.

[0057] When the embodiment of the present application receives a URL network request sent by a user terminal, it can obtain the corresponding current vehicle-end IP address according to the vehicle-mounted terminal identifier carried in the URL network request, and then return the current vehicle-end IP address to the user terminal, so that the user terminal can access the vehicle-mounted services provided by the vehicle-mounted server based on the current vehicle-end IP address. Through the embodiment of the present application, the user terminal can automatically access the vehicle-mounted services provided by the vehicle-mounted server according to the current vehicle-end IP address and the HTTP status code provided by the cloud server, without the need for a hardware connection with the vehicle-mounted terminal or the installation of a separate software, which is convenient for users to use.

[0058] In another embodiment of the present application, as Figure 8 shown, at any position before, between, or after steps S101 to S104, the method further includes: Step S801, the vehicle-mounted server detects whether its own IP address has changed; Step S802, if its own IP address has changed, the vehicle-mounted server obtains the changed vehicle-end IP address after the change; Step S803, the vehicle-mounted server sends an IP address update request to the cloud server, and the IP address update request carries the changed vehicle-end IP address after the change and the vehicle-mounted terminal identifier; Step S804, the cloud server updates the redirection mapping table based on the changed vehicle-end IP address after the change and the vehicle-mounted terminal identifier.

[0059] In an implementation manner of the present application, the cloud server updates the redirection mapping table based on the changed vehicle-end IP address after the change and the vehicle-mounted terminal identifier, including: The cloud server searches for the vehicle-end IP address corresponding to the vehicle-mounted terminal identifier in the redirection mapping table; the cloud server replaces the vehicle-end IP address with the changed vehicle-end IP address after the change (that is, replaces the old vehicle-end IP address in the redirection mapping table) to obtain the current vehicle-end IP address.

[0060] In the embodiment of the present application, when the IP address of the vehicle-mounted terminal changes (such as when the signal base station connected during vehicle movement changes), the vehicle-mounted terminal actively updates the IP-REAL to the cloud server, and SERVER-CLOUD maps the IP-REAL to IP_VIRTUAL, so that each time the cloud server queries the redirection mapping table based on the vehicle-mounted terminal identifier, the obtained current vehicle-end IP address is the latest IP address of the vehicle-mounted terminal.

[0061] For ease of understanding, the present application also provides an embodiment in actual application as follows: Step 1: After the vehicle-mounted terminal is started, the vehicle-mounted Web service process runs; Step 2: The user scans the vehicle-mounted QR code through the user terminal or opens the web link shared by the vehicle owner; Step 3: The QR code is parsed by the user terminal to generate a URL for accessing SERVER-CLOUD.

[0062] Step 3-1: The browser sends a request to the dynamic IP address resolution server (SERVER-CLOUD) via the Internet using the URL converted from the QR code or the web link; Step 3-2: SERVER-CLOUD queries the corresponding IP-REAL for IP_VIRTUAL through the mapping relationship; Step 3-3: SERVER-CLOUD returns URL redirection information to the browser via the Internet, and the information includes an HTTP status code and a URL redirection address IP-REAL; Step 3-4: The user terminal browser sends a Web service request to the in-vehicle unit via the Internet using IP-REAL; Step 3-5: The in-vehicle unit Web service process returns the Web front-end display data requested by the user terminal browser in Step 3-4 to the user terminal browser via the Internet, and the data content includes but is not limited to data in the form of HTML, CSS, JavaScript, and XML; Step 4: The user terminal renders the data returned by the in-vehicle unit through browser technology, and the rendering result is a list of in-vehicle mini-programs. After clicking on one of the mini-programs, the mini-program operation interface is displayed. It is also possible to directly render the operation interface without rendering the mini-program list, and the UI layout style is not restricted; Step 5: The user clicks on the mini-program operation interface to send an instruction to the vehicle end. For example Figure 9 , after receiving the instruction, the in-vehicle unit Web back-end service process calls the business logic interface to control the vehicle-related functions. The business interface can access, including but not limited to, the in-vehicle unit system database, the body control interface, and the in-vehicle unit cloud interface.

[0063] Steps 3 to 5 will be repeated multiple times during the interaction between the user terminal and the in-vehicle unit.

[0064] For example Figure 10 As shown, the functions that can be controlled by the user through the user terminal include but are not limited to multimedia control, body control, and navigation control. The multimedia control includes but is not limited to playing in-vehicle music; the body control includes but is not limited to controlling the in-vehicle lights, controlling the body sunshade, controlling the window glass, controlling the seat adjustment, and air conditioning control; the navigation control includes but is not limited to initiating navigation, ending navigation, and adding waypoints.

[0065] This application uses a portable user terminal as the device for interacting with the in-vehicle unit, eliminating the need for the hardware screens and connection lines required for multi-screen interaction in the vehicle, saving costs and facilitating user use.

[0066] In this application, the communication method between the user terminal and the vehicle is based on the client-server (CS, Client / Server) design architecture, especially the browser-server (BS, Brower-Server) structure, that is, the browser on the user terminal initiates a Web service request to the on-board server, and the communication signal between the user terminal and the vehicle does not need to be transferred through the cloud server, which has the advantages of short communication distance and fast service response.

[0067] This application does not require the user terminal to install special vehicle control software. The user terminal and the vehicle operating system installed in the vehicle support cross-platform, that is, the user terminal and the vehicle operating system may not be the same operating system.

[0068] In this application, there are two network communication modes between the user terminal and the vehicle, local area network and mobile network, and only one of them needs to be met. When the local area network communication mode is adopted, no wireless auxiliary connection such as Bluetooth or other wired connection is required; when the mobile network is adopted, only the user terminal needs to be able to connect to the Internet, and no additional communication connection or setting operation is required, which is easy to use.

[0069] In this application, an in-vehicle service only serves the car owner or a small number of users authorized by the car owner, or passengers in the cabin. Different in-vehicle servers operate independently, which has the advantage of a natural distributed network architecture.

[0070] In addition to being used for real-time multi-screen interaction between in-vehicle user terminals and vehicle systems, this application can also be used for vehicle remote control, such as remote control of windows and air conditioning.

[0071] This application uses the Web service program installed in the vehicle as the signal processing center for multi-screen interaction or remote vehicle control between the user terminal and the vehicle computer. When multiple devices (such as the co-pilot and rear passengers, or multiple passengers on a large bus adjusting the music playback on the vehicle at the same time) participate in vehicle control, the control results can be synchronized to the screen of each user terminal by the Web service program and conflicts in multi-device operations can be avoided.

[0072] The present application has the advantage of backward compatibility with traditional automobiles, that is, traditional automobiles can introduce the in-vehicle service provision system described in the present invention in an extended manner, such as adding a Web service program on the basis of the original vehicle service function development, and inputting the Web service program into the vehicle storage device through OTA remote upgrade, U disk upgrade or flashing, so that the Web service program runs on the existing operating system as a process in the original vehicle system. At the same time, a cloud server is added to the communication link to solve the problem of vehicle IP address changes.

[0073] In another embodiment of the present application, a vehicle-mounted service providing system is further provided, including: a cloud server and a vehicle-mounted server; The vehicle-mounted server is configured to receive a vehicle-mounted service access request from a user terminal; generate vehicle-mounted service page data and return it to the user terminal, so that the user terminal generates a vehicle-mounted service interaction page based on the vehicle-mounted service page data, and the vehicle-mounted service interaction page includes a plurality of vehicle-mounted service mini-programs; receive a vehicle-mounted service control instruction for any one of the vehicle-mounted service mini-programs from the user terminal; control the vehicle to provide vehicle-mounted services according to the vehicle-mounted service control instruction; The cloud server is configured to receive a URL network request from a user terminal, where the URL network request includes the vehicle-mounted terminal identifier of the vehicle-mounted server; query the current vehicle-side IP address corresponding to the vehicle-mounted terminal identifier in a redirection mapping table; return the current vehicle-side IP address to the user terminal, so that the user terminal performs network redirection based on the current vehicle-side IP address to access the vehicle-mounted server.

[0074] In another embodiment of the present application, a vehicle-mounted server is further provided, including a processor, a communication interface, a memory, and a communication bus. Among them, the processor, the communication interface, and the memory complete mutual communication through the communication bus; The memory is used to store a computer program; When the processor is configured to execute the program stored in the memory, it realizes receiving a vehicle-mounted service access request from a user terminal; generating vehicle-mounted service page data and returning it to the user terminal, so that the user terminal generates a vehicle-mounted service interaction page based on the vehicle-mounted service page data, and the vehicle-mounted service interaction page includes a plurality of vehicle-mounted service mini-programs; receiving a vehicle-mounted service control instruction for any one of the vehicle-mounted service mini-programs from the user terminal; controlling the vehicle to provide vehicle-mounted services according to the vehicle-mounted service control instruction. The user terminal does not need to be hardware-connected to the vehicle-mounted server and does not need to install a separate software, which is convenient for users to use.

[0075] In another embodiment of the present application, a cloud server is further provided, including a processor, a communication interface, a memory, and a communication bus. Among them, the processor, the communication interface, and the memory complete mutual communication through the communication bus; The memory is used to store a computer program; When the processor executes the program stored in the memory, it is configured to receive a URL network request from a user terminal, where the URL network request includes the in-vehicle terminal identifier of the vehicle-mounted server; query the current vehicle-side IP address corresponding to the in-vehicle terminal identifier in the redirection mapping table; and return the current vehicle-side IP address to the user terminal, so that the user terminal can perform network redirection based on the current vehicle-side IP address to access the vehicle-mounted server. In the embodiment of the present application, the connection structure between the vehicle-mounted server and the user terminal on the in-vehicle terminal is based on the server-client design architecture. The in-vehicle terminal is regarded as a Web server, and the user terminal is regarded as a client. The vehicle-mounted server provides vehicle-mounted services for the client. The user terminal and the in-vehicle terminal can be connected to the Internet through a mobile network respectively, without other additional complex wired or wireless connections (that is to say, when the user terminal (such as a mobile phone, a tablet computer, etc.) and the in-vehicle device (such as the information entertainment system in the car) are connected, they can be realized through the Internet, and this connection method is relatively simple and convenient, and does not require the use of wired connection methods such as USB cables or wireless connection methods such as Bluetooth to establish a direct connection between the two like the traditional method). The user terminal and the in-vehicle terminal only need to access the Internet respectively, and then they can use the network to perform operations such as data transmission and interaction without passing through the cloud server for transfer. The network communication distance is short, there is no cloud processing delay, and the extra and relatively complex wired or wireless connection steps and setting processes are omitted, which is convenient for users to use.

[0076] The communication bus 1140 mentioned in the above vehicle-mounted server or cloud server can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus 1140 can be divided into an address bus, a data bus, a control bus, etc. For the sake of simplicity of representation, Figure 11 only a thick line is used to represent it in the figure, but it does not mean that there is only one bus or one type of bus.

[0077] The communication interface 1120 is used for communication between the above-mentioned electronic device and other devices.

[0078] The memory 1130 may include a Random Access Memory (RAM), or may also include a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located far from the aforementioned processor.

[0079] The above-mentioned processor 1110 may be a general-purpose processor, including a central processing unit (CPU for short), a network processor (NP for short), etc.; it may also be a digital signal processor (DSP for short), an application specific integrated circuit (ASIC for short), a field-programmable gate array (FPGA for short), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0080] It should be noted that in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising one..." does not exclude the existence of additional identical elements in the process, method, article or device comprising the said element.

[0081] The above are only specific embodiments of the present invention, enabling those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to these embodiments shown herein, but rather to the broadest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for providing an in-vehicle service, characterized in that: The method comprises: The in-vehicle server receives an in-vehicle service access request from a user terminal; The in-vehicle server generates in-vehicle service page data and returns it to the user terminal, so that the user terminal generates an in-vehicle service interaction page based on the in-vehicle service page data, and the in-vehicle service interaction page includes a plurality of in-vehicle service applets; The in-vehicle server receives an in-vehicle service control instruction for any of the in-vehicle service applet from the user terminal; The in-vehicle server controls the vehicle to provide in-vehicle services according to the in-vehicle service control instructions.

2. The in-vehicle service providing method according to claim 1, characterized in that: The vehicle-mounted server generates vehicle-mounted service page data, including: The Web service process in the vehicle-mounted server obtains information about the vehicle-mounted service applet currently allowed to provide the vehicle-mounted service; The Web service process in the vehicle-mounted server generates the vehicle-mounted service page data based on information of the vehicle-mounted service applet that allows provision of the vehicle-mounted service.

3. The in-vehicle service providing method according to claim 1, characterized in that: The vehicle-mounted server controls the vehicle to provide the vehicle-mounted service according to the vehicle-mounted service control instruction, including: The Web service process in the vehicle-mounted server calls the business logic interface, and calls one or more function providing objects corresponding to the vehicle-mounted service control instruction through the business logic interface, so that one or more function providing objects perform corresponding functions and provide vehicle-mounted services.

4. The in-vehicle service providing method according to claim 3, characterized in that: The function providing objects include: application process, multimedia control module, body control module, navigation control module, database module and cloud module.

5. The in-vehicle service providing method according to any one of claims 2 to 4, characterized in that: The Web service program corresponding to the Web service process is upgraded synchronously with the operation of remote upgrading, USB flash drive upgrading or system flashing of the vehicle.

6. The in-vehicle service providing method according to claim 1, characterized in that: Before the in-vehicle server controls the vehicle to provide the in-vehicle service according to the in-vehicle service control instruction, the method further includes: The in-vehicle server determines the in-vehicle service type of the in-vehicle service applet targeted by the in-vehicle service control instruction; If the in-vehicle service type is within a preset service type set, the in-vehicle server controls the vehicle to provide the in-vehicle service according to the in-vehicle service control instruction.

7. The in-vehicle service providing method according to claim 1, characterized in that: The method further comprises: The in-vehicle server obtains the number of user terminals currently accessing the in-vehicle service; If the number of terminals reaches a preset number threshold, user terminals that meet preset removal conditions are removed from user terminals currently accessing the in-vehicle service, and / or in-vehicle service is refused to be provided to user terminals that send in-vehicle service requests after the current moment.

8. The in-vehicle service providing method according to claim 1, characterized in that: The method further comprises: The in-vehicle server determines a communication mode between the user terminal currently accessing the in-vehicle service and itself; If the communication mode between the user terminal currently accessing the in-vehicle service and itself is a local area network mode, the in-vehicle service page data is returned to the user terminal via the local area network.

9. The in-vehicle service providing method according to claim 1, characterized in that: The method further comprises: The in-vehicle server determines a communication mode between the user terminal currently accessing the in-vehicle service and itself; If the communication mode between the user terminal currently accessing the in-vehicle service and itself is a non-local area network mode, the in-vehicle service page data is returned to the user terminal via the mobile communication network.

10. The in-vehicle service providing method according to claim 1, characterized in that: Before the in-vehicle server receives the in-vehicle service access request from the user terminal, the method further includes: The cloud server receives a URL network request from a user terminal, wherein the URL network request includes a vehicle terminal identifier of the vehicle server; The cloud server searches the redirection mapping table for the vehicle terminal's current IP address corresponding to the vehicle terminal identifier; The cloud server returns the current IP address of the vehicle to the user terminal, so that the user terminal performs network redirection based on the current IP address of the vehicle to access the vehicle-mounted server.

11. The in-vehicle service providing method according to claim 10, characterized in that: The method further comprises: The vehicle-mounted server detects whether its own IP address has changed; If its own IP address changes, the vehicle-mounted server obtains the changed IP address of the vehicle end; The vehicle-mounted server sends an IP address update request to the cloud server, wherein the IP address update request carries the changed IP address of the vehicle end and the vehicle end identifier; The cloud server updates the redirection mapping table based on the changed IP address of the vehicle and the vehicle-side identifier.

12. The in-vehicle service providing method according to claim 11, characterized in that: The cloud server updates the redirection mapping table based on the changed IP address of the vehicle and the vehicle terminal identifier, including: The cloud server searches the redirection mapping table for the vehicle-side IP address corresponding to the vehicle-side identifier; The cloud server replaces the vehicle-side IP address with the changed vehicle-side IP address to obtain the vehicle-side current IP address.

13. A vehicle-mounted service providing system, characterized in that: include: Cloud servers and vehicle-mounted servers; The vehicle-mounted server is used to receive a vehicle-mounted service access request from a user terminal; Generate in-vehicle service page data and return it to the user terminal, so that the user terminal generates an in-vehicle service interaction page based on the in-vehicle service page data, wherein the in-vehicle service interaction page includes multiple in-vehicle service applets; receive an in-vehicle service control instruction for any of the in-vehicle service applets from the user terminal; Controlling the vehicle to provide the in-vehicle service according to the in-vehicle service control instruction; The cloud server is used to receive a URL network request from a user terminal, wherein the URL network request includes a vehicle-side identifier of the vehicle-mounted server; and query a current vehicle-side IP address corresponding to the vehicle-side identifier in a redirection mapping table; The current IP address of the vehicle side is returned to the user terminal, so that the user terminal performs network redirection based on the current IP address of the vehicle side to access the vehicle-mounted server.

14. A vehicle-mounted server, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; The processor is used to receive an in-vehicle service access request from a user terminal when executing a program stored in the memory; generate in-vehicle service page data and return it to the user terminal so that the user terminal generates an in-vehicle service interaction page based on the in-vehicle service page data, and the in-vehicle service interaction page includes multiple in-vehicle service applets; receive an in-vehicle service control instruction for any of the in-vehicle service applets from the user terminal; and control the vehicle to provide in-vehicle services according to the in-vehicle service control instruction.

15. A cloud server, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; The processor is used to receive a URL network request from a user terminal when executing a program stored in the memory, wherein the URL network request includes a vehicle-side identifier of a vehicle-mounted server; query a vehicle-side current IP address corresponding to the vehicle-side identifier in a redirection mapping table; and return the vehicle-side current IP address to the user terminal, so that the user terminal performs network redirection to access the vehicle-mounted server based on the vehicle-side current IP address.

Citation Information

Patent Citations

  • Control method of in-car navigator

    CN102724329A

  • Vehicle-mounted system as well as remote interaction method and device

    CN102795173A

  • Vehicle remote control method and system implementing the same

    CN102826055A

  • System and method for remotely controlling vehicle-mounted host computer through smart phone

    CN102970425A

  • Control method and system of vehicle air conditioner

    CN105516438A