Vehicle control method and system
By running the application of control function on the first terminal and the second terminal of the vehicle, compatibility with various types of second terminal devices is achieved, the problem of device binding restricting user selection in the prior art is solved, the user experience is improved and a variety of control scenarios are supported.
Patent Information
- Application Number
- CN202510219143.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-26
- Publication Date
- 2025-05-30
AI Technical Summary
The existing vehicle-mounted system has a rigid binding relationship with the second terminal device, which limits the user's device selection and reduces the user experience.
By running the application program of the control function on the first terminal and the second terminal, compatibility with various types of second terminal devices is achieved, and the control function binding and data transmission are used to utilize the Bluetooth transmission link and the wireless LAN transmission link.
It realizes flexible control of the vehicle, is compatible with various types of second terminal devices, improves user experience, and supports multiple control scenarios.
Smart Images

Figure CN120075769A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of data processing, including but not limited to vehicle control methods and systems. Background Art
[0002] With the continuous development of automotive technology, users' demand for the usage experience of in-vehicle entertainment systems is also increasing. Consumers hope to enjoy a similar experience in the rear row of the vehicle as in the front row. Therefore, many vehicles have added a second terminal device in the rear row to control the vehicle's entertainment functions through the second terminal device, improving the experience of rear-row users.
[0003] However, most existing in-vehicle systems have a rigid binding relationship with the second terminal device. For example, the in-vehicle system is bound to a specific brand of tablet computer or operating system, which limits the choice of the second terminal device and reduces the user experience. Summary of the Invention
[0004] This application provides at least one vehicle control method and system. This solution can be compatible with various types of second terminal devices, has strong compatibility, and can implement the first control function and the second control function, and can be used in various control scenarios.
[0005] The technical solution of this application is implemented as follows:
[0006] In a first aspect, this application provides a vehicle control method. The method is applied to a first terminal, and the first terminal is connected to the vehicle's controller; a first application program with control functions runs in the first terminal; the method includes: determining that the control function binding with the second terminal is successful through the first application program; the successful control function binding is used to indicate that mutual control with the second terminal is allowed; receiving the first information sent by the second terminal through the target link of the control function, and controlling the vehicle's controller based on the first information to achieve vehicle control; the target link includes a Bluetooth transmission link and a wireless local area network transmission link with the second terminal; the second terminal is controlled in reverse through the target link of the control function.
[0007] In a second aspect, this application provides a vehicle control method. The method is applied to a second terminal, and a second application program with control functions runs in the second terminal; the method includes: determining that the control function binding with the first terminal is successful through the second application program; the successful control function binding is used to indicate that mutual control with the first terminal is allowed; sending the first information to the first terminal through the target link of the control function, so that the first terminal controls the vehicle's controller based on the first information to achieve vehicle control; the target link includes a Bluetooth transmission link and a wireless local area network transmission link with the first terminal; being controlled by the first terminal through the target link of the control function.
[0008] In a third aspect, the present application provides a control device for a first vehicle. The device is deployed on a first terminal of the vehicle, and the first terminal is connected to the vehicle's controller. A first application program with control functions runs on the first terminal. The control device for the first vehicle includes:
[0009] A first determination unit, configured to determine, through the first application program, that the binding of the control function with a second terminal is successful. The successful binding of the control function is used to indicate that mutual control is allowed between the first terminal and the second terminal.
[0010] A first processing unit, configured to receive first information sent by the second terminal through a target link of the control function, and control the vehicle's controller based on the first information to achieve control of the vehicle. The target link includes a Bluetooth transmission link and a wireless local area network transmission link between the first terminal and the second terminal.
[0011] A second processing unit, configured to reverse-control the second terminal through the target link of the control function.
[0012] In a fourth aspect, the present application provides a control device for a second vehicle. The control device for the second vehicle is deployed on a second terminal, and a second application program with control functions runs on the second terminal. The control device for the second vehicle includes:
[0013] A second determination unit, configured to determine, through the second application program, that the binding of the control function with the first terminal is successful. The successful binding of the control function is used to indicate that mutual control is allowed between the second terminal and the first terminal.
[0014] A third processing unit, configured to send first information to the first terminal through the target link of the control function, so that the first terminal controls the vehicle's controller based on the first information to achieve control of the vehicle. The target link includes a Bluetooth transmission link and a wireless local area network transmission link between the second terminal and the first terminal.
[0015] A fourth processing unit, configured to send first information to the first terminal through the target link of the control function, so that the first terminal controls the vehicle's controller based on the first information to achieve control of the vehicle. The target link includes a Bluetooth transmission link and a wireless local area network transmission link between the second terminal and the first terminal.
[0016] In a fifth aspect, the present application further provides a first terminal device for a vehicle, including a processor and a memory. A computer program is stored on the memory, and when the computer program is executed by the processor, the control method for the vehicle provided in the first aspect is implemented.
[0017] In a sixth aspect, the present application further provides a second terminal device, including a processor and a memory. A computer program is stored on the memory, and when the computer program is executed by the processor, the control method for the vehicle provided in the second aspect is implemented.
[0018] In a seventh aspect, the present application further provides a control system for a vehicle. The control system for the vehicle includes a first terminal device and a second terminal device of the vehicle. The first terminal device is used to implement the vehicle control method provided in the first aspect above, and the second terminal device is used to implement the vehicle control method provided in the second aspect above.
[0019] In an eighth aspect, the present application further provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the vehicle control method provided in the first aspect or the second aspect above.
[0020] In a ninth aspect, the present application further provides a computer program product, including a computer program or instructions. When the computer program or instructions are executed by a processor, they implement the vehicle control method provided in the first aspect or the second aspect above.
[0021] The beneficial effects of the technical solution of the present application compared with the prior art are as follows:
[0022] On the one hand, the vehicle control method is implemented through a first application program, that is, the control function is only bound to the first application program. By installing the first application program, the control process can be realized without binding to the second terminal device, thus being compatible with various types of second terminal devices. On the other hand, the control function includes a first control function and a second control function, which can not only realize controlling the first terminal through the second terminal and then controlling the vehicle, but also realize reverse control of the second terminal through the first terminal, so it can be applied to various control scenarios. On yet another hand, the target link of the control function includes a Bluetooth transmission link and a wireless local area network transmission link, which can transmit various data, has a high transmission rate, and can meet various data transmission requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is an optional structural schematic diagram of the control system for a vehicle provided by an embodiment of the present application;
[0024] Figure 2 It is a first optional flowchart of the control method of the first terminal provided by an embodiment of the present application;
[0025] Figure 3 It is a second optional flowchart of the control method of the first terminal provided by an embodiment of the present application;
[0026] Figure 4 It is a third optional flowchart of the control method of the first terminal provided by an embodiment of the present application;
[0027] Figure 5 It is a fourth optional flowchart of the control method of the first terminal provided by an embodiment of the present application;
[0028] Figure 6 The fifth optional flowchart of the control method for the first terminal provided by the embodiments of the present application;
[0029] Figure 7 The first optional flowchart of the control method for the second terminal provided by the embodiments of the present application;
[0030] Figure 8 The second optional flowchart of the control method for the second terminal provided by the embodiments of the present application;
[0031] Figure 9 The third optional flowchart of the control method for the second terminal provided by the embodiments of the present application;
[0032] Figure 10 The fourth optional flowchart of the control method for the second terminal provided by the embodiments of the present application;
[0033] Figure 11 An optional interface diagram of an interface before connection provided by the embodiments of the present application;
[0034] Figure 12 An optional interface diagram of an interface after connection provided by the embodiments of the present application;
[0035] Figure 13 An optional interface diagram of a control function interface provided by the embodiments of the present application;
[0036] Figure 14 An optional interface diagram of a PAD screen on a central control screen provided by the embodiments of the present application;
[0037] Figure 15 An optional structural diagram of an architecture for vehicle control provided by the embodiments of the present application;
[0038] Figure 16 An optional flowchart of a process for automatic connection by scanning a code provided by the embodiments of the present application;
[0039] Figure 17 An optional flowchart of a process for controlling the vehicle from the rear row provided by the embodiments of the present application;
[0040] Figure 18 An optional flowchart of a process for the vehicle machine to reverse-control the tablet provided by the embodiments of the present application;
[0041] Figure 19 An optional interface diagram of a display effect of a black border provided by the embodiments of the present application;
[0042] Figure 20 An optional schematic structural diagram of a control device for a first vehicle provided by an embodiment of the present application;
[0043] Figure 21 An optional schematic structural diagram of a control device for a second vehicle provided by an embodiment of the present application;
[0044] Figure 22 An optional schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0045] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the following will further describe the specific technical solutions of the application in detail with reference to the accompanying drawings in the embodiments of the present application. The following embodiments are used to illustrate the present application, but are not used to limit the scope of the present application.
[0046] In the following description, "some embodiments" are involved, which describe a subset of all possible embodiments. However, it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.
[0047] In the following description, the terms "first / second / third" involved are only used to distinguish different objects, and do not represent a specific order for the objects, and there is no limitation on the order of precedence. It can be understood that "first / second / third" can be interchanged with a specific order or sequence when allowed, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0048] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.
[0049] The embodiments of the present application provide a vehicle control method, device, equipment, storage medium, and computer program product. In practical applications, the vehicle control method can be implemented by a vehicle control device, and each functional entity in the vehicle control device can be realized by the hardware resources of an electronic device (such as a tablet computer, etc.), such as the computing resources of a processor and communication resources (such as those used to support various communication methods such as optical fiber and cellular).
[0050] For ease of understanding, the vehicle control system will be described first.
[0051] Exemplarily, referring to Figure 1 the content shown, the vehicle control system may include a first terminal 10 and a second terminal 20. The first terminal 10 is connected to the vehicle controller 30.
[0052] A first application program with control functions runs in the first terminal 10.
[0053] A second application program with control functions runs in the second terminal 20.
[0054] The first terminal 10 and the second terminal 20 can communicate with each other.
[0055] The first terminal 10 is used to execute: determining, through the first application program, that the binding of the control function with the second terminal is successful; the successful binding of the control function is used to indicate that mutual control with the second terminal is allowed; receiving the first information sent by the second terminal through the target link of the control function, and controlling the vehicle's controller based on the first information to achieve vehicle control; the target link includes a Bluetooth transmission link and a wireless local area network transmission link with the second terminal; and controlling the second terminal in reverse through the target link of the control function.
[0056] The second terminal 20 is used to execute: determining, through the second application program, that the binding of the control function with the first terminal is successful; the successful binding of the control function is used to indicate that mutual control with the first terminal is allowed; sending the first information to the first terminal through the target link of the control function, so that the first terminal controls the vehicle's controller based on the first information to achieve vehicle control; the target link includes a Bluetooth transmission link and a wireless local area network transmission link with the first terminal; and accepting the control of the first terminal through the target link of the control function.
[0057] In a possible implementation manner, the first terminal 10 is a vehicle-mounted terminal, and the second terminal 20 is a client terminal.
[0058] The embodiments of the present application do not limit the device types of the first terminal 10 and the second terminal 20, which can be configured according to actual needs. For example, the first terminal 10 and the second terminal 20 can be tablet computers, or the first terminal 10 can be a tablet computer and the second terminal 20 can be a mobile phone.
[0059] The embodiments of the present application do not limit the number and deployment locations of the second terminals 20, which can be configured according to actual needs.
[0060] For example, one second terminal 20 can be configured on the left side of the rear row, and one second terminal 20 can be configured on the right side of the rear row. Another example is that one second terminal 20 can be configured in the second row and one second terminal 20 can be configured in the third row.
[0061] In a first aspect, the embodiments of the present application provide a method for controlling a vehicle. This method is applied to the first terminal of the vehicle, and a first application program with control functions runs in the first terminal.
[0062] Reference Figure 2As shown in the content, the control method of the vehicle may include but is not limited to the following S201 to S203.
[0063] S201. The first terminal determines that the control function binding with the second terminal is successful through the first application.
[0064] The successful binding of the control function is used to indicate that mutual control with the second terminal is allowed.
[0065] The first application refers to the application of the control function of the first terminal, and the first application can implement the following first control function and second control function. The first control function is the function of controlling the vehicle through the target link; the second control function is the function of controlling the second terminal in reverse through the first terminal.
[0066] The first application calls the device identifier of the second terminal bound to the control function. If the device identifier of the second terminal exists in the device identifiers bound to the control function, it is determined that the control function binding between the first terminal and the second terminal is successful.
[0067] S202. The first terminal receives the first information sent by the second terminal through the target link of the control function, and controls the vehicle controller based on the first information to achieve the control of the vehicle.
[0068] The target link includes a Bluetooth transmission link and a wireless local area network transmission link with the second terminal. The first terminal can achieve the first control function through the target link of the control function.
[0069] The first terminal receives the first information sent by the second terminal through the target link of the control function, and controls the vehicle controller based on the first information to achieve the control of the vehicle, thereby achieving the first control function. Specifically, it is necessary to determine based on the content of the first information whether to receive data through the wireless local area network link or Bluetooth link of the target link.
[0070] The first terminal is connected to various types of vehicle controllers. For example, a headlight controller, an entertainment playback controller, a seat adjustment controller, etc. The first terminal controls the corresponding controller according to the received first information, thereby achieving the first control function.
[0071] The embodiment of the present application does not limit the type of the first control function, which can be configured according to actual needs. Considering driving safety, the first control function is a non-power control function, that is, a vehicle control function that does not affect driving. For example, the first control function may include but is not limited to one or more of the following: in-vehicle air conditioning control, seat control, fragrance control, lighting control, entertainment system control, etc.
[0072] In a possible implementation manner, the first control function is a pre-configured full control function.
[0073] In another possible implementation, the first control function can be configured based on the actual needs of the user. For example, the function type of the first control function can be selected through the configuration page of the first terminal or the configuration page of the second terminal.
[0074] Previously, the target links for configuring the control function include the Bluetooth transmission link and the wireless local area network transmission link with the second terminal. In this way, after the second terminal device is connected, that is, after it enters the communication range of the first terminal, the first control function can be implemented based on the Bluetooth transmission link and the wireless local area network transmission link.
[0075] S203. The first terminal remotely controls the second terminal through the target link of the control function.
[0076] The first terminal can implement the second control function through the target link of the control function, that is, the first terminal remotely controls the second terminal through the target link of the control function.
[0077] In practice, the second control function is implemented through the Bluetooth transmission link and / or the wireless local area network transmission link.
[0078] The first terminal sends the second information to the second terminal through the target link and controls the second terminal based on the second information.
[0079] This embodiment provides a control method for a vehicle. The method is applied to the first terminal of the vehicle, and the first terminal is connected to the controller of the vehicle; a first application program with a control function runs in the first terminal; the method includes: determining through the first application program that the binding of the control function with the second terminal is successful; the successful binding of the control function is used to indicate that mutual control with the second terminal is allowed; receiving the first information sent by the second terminal through the target link of the control function, and controlling the controller of the vehicle based on the first information to achieve the control of the vehicle; the target link includes the Bluetooth transmission link and the wireless local area network transmission link with the second terminal; remotely controlling the second terminal through the target link of the control function.
[0080] On the one hand, the control method of this vehicle is implemented through the first application program, that is, the control function is only bound to the first application program, and the control process can be achieved by installing the first application program without binding to the second terminal device, thus being compatible with various types of second terminal devices; on the other hand, the control function includes a first control function and a second control function, which can not only achieve controlling the first terminal through the second terminal and then controlling the vehicle, but also achieve remotely controlling the second terminal through the first terminal, so it can be applied to various control scenarios; on the further hand, the target link of the control function includes the Bluetooth transmission link and the wireless local area network transmission link, which can transmit various data, has a high transmission rate, and can meet various data transmission requirements.
[0081] The vehicle control method provided by the embodiment of the present application may further include pre-binding control functions between a first terminal and a second terminal. Refer to Figure 3 the content shown. This binding process may include but is not limited to the following S301 to S303.
[0082] S301. Display a target QR code on the display interface of the first terminal, so that the second terminal constructs a Bluetooth transmission link and a wireless local area network (WLAN) transmission link based on the identification, password of the WLAN of the first terminal pointed to in the target QR code, and the Bluetooth address of the first terminal.
[0083] The target QR code is used to point to the identification, password of the WLAN of the first terminal, and the Bluetooth address of the first terminal.
[0084] The identification and password of the WLAN are used to connect to the first terminal through the local area network.
[0085] The Bluetooth address of the first terminal is used to establish a Bluetooth connection with the first terminal.
[0086] The first terminal generates a target QR code based on the identification, password of the WLAN of the first terminal, and the Bluetooth address of the first terminal, and displays the target QR code on the display interface, so that the second terminal constructs a Bluetooth transmission link and a WLAN transmission link based on the identification, password of the WLAN of the first terminal pointed to in the target QR code, and the Bluetooth address of the first terminal.
[0087] S302. The first terminal receives an authentication request sent by the second terminal. The authentication request includes at least the device identification of the second terminal.
[0088] The device identification of a second terminal is used to uniquely point to a second terminal.
[0089] The authentication request can be sent through the WLAN transmission link.
[0090] Of course, the authentication request may further include the deployment location of the second terminal, the device model, and so on.
[0091] The authentication request is used to request confirmation whether to approve the binding of the control function between the device and the first terminal.
[0092] S303. When the authentication request passes, the first terminal binds the control function between the first terminal and the second terminal based on the device identification of the second terminal.
[0093] Whether the authentication request passes can be determined based on the user's operation, or can also be determined based on the device identification of the second terminal. For example, if the first few digits of the device identification of the second terminal are A001, it is determined that the second terminal is the second terminal built in the vehicle, and it can be determined that the authentication passes.
[0094] When the first terminal receives the authentication request from the user and passes the operation, it stores the device identifier of the second terminal in the configuration information of the control function, so as to realize the binding of the control function between the first terminal and the second terminal.
[0095] In practice, after binding only once when the second terminal is first accessed, the information can be stored. In this way, when the second terminal is within the communication range of the first terminal, the control function can be realized at any time. And a target link is constructed in the form of a QR code, and the implementation process is simple and secure.
[0096] Next, the process in S202 where the first terminal receives the first information sent by the second terminal through the target link of the control function and controls the vehicle controller based on the first information to realize the control of the vehicle will be described.
[0097] In a possible implementation manner, referring to Figure 4 the content shown, this process may include but is not limited to the following S401 to S403.
[0098] S401. Receive the first information sent by the second terminal through the target link.
[0099] Among them, when the first information includes a vehicle control instruction and / or a video stream, the vehicle control instruction and / or the video stream are received through a wireless local area network transmission link; when the first information further includes an audio stream, the audio stream is received through a Bluetooth transmission link.
[0100] For different information, different links are used for transmission to achieve the optimal configuration of efficiency and function.
[0101] The vehicle control instruction can be a control instruction for vehicle lights, seats, etc., and the video stream can be a video used for display at the front-end vehicle side.
[0102] Transmission through a wireless local area network has the characteristic of high efficiency.
[0103] In a possible implementation manner, when the first information includes a vehicle control instruction and / or a video stream, the vehicle control instruction and / or the video stream are received through a wireless local area network transmission link.
[0104] Here, the vehicle control instruction and / or the video stream include three cases: vehicle control instruction, video stream, and vehicle control instruction and video stream.
[0105] In another possible implementation manner, when the first information includes an audio stream, and a vehicle control instruction and / or a video stream, the vehicle control instruction and / or the video stream are received through a wireless local area network transmission link; the audio stream is received through a Bluetooth transmission link.
[0106] Here, the audio stream, vehicle control instruction, and / or video stream include three cases: the audio stream and vehicle control instruction; the audio stream and video stream; the audio stream, vehicle control instruction, and video stream.
[0107] The audio stream is transmitted more reliably and efficiently through the Bluetooth transmission link.
[0108] S402. The first terminal determines a first call interface corresponding to the first information.
[0109] Previously, different vehicle control instructions are configured with different call interfaces. In this way, the first terminal can determine the first call interface to be invoked according to the type of the received first information. For example, the headlight control instruction corresponds to the headlight control interface, and different video streams correspond to different call interfaces. For example, the entertainment video stream corresponds to the call interface of the display interface of the first terminal, and the tube video stream corresponds to the lighting control interface.
[0110] S403. Control the controller of the vehicle through the first call interface to achieve control of the vehicle.
[0111] The first terminal outputs the control instruction and / or video stream through the first call interface, thereby controlling the vehicle and realizing the first control function.
[0112] For example, the first terminal outputs the headlight control instruction through the headlight control interface, thereby controlling the headlight display of the vehicle and realizing the first control function.
[0113] In this way, the configuration for receiving the first information through the wireless local area network transmission link and the Bluetooth link is flexible. The control function related to the first information is realized through the interface method, the control logic is simple, the efficiency is high, and the user experience is good.
[0114] The first control function is realized through the implementation method of the Bluetooth link and the wireless local area network link. The double-link has higher efficiency and less interference.
[0115] Through the combination of the above-mentioned wireless local area network link and Bluetooth link, the control function in various scenarios can be realized.
[0116] Next, the process of the first terminal inversely controlling the second terminal through the target link of the control function in S203 will be described.
[0117] Reference Figure 5 As shown in the content, this process may include but is not limited to the following S501 to S504.
[0118] S501. The first terminal displays the real-time interface of the second terminal on the display interface of the first terminal.
[0119] The embodiments of the present application do not limit the specific area for displaying the real-time interface of the second terminal on the display interface of the first terminal, which can be configured according to actual needs. It can be displayed in the original size or after adjusting the size; it can be displayed full screen or through a small window.
[0120] The first terminal obtains the real-time interface of the second terminal in real time through a target transmission link (such as a wireless local area network link), and then displays it. Here, it can be a screen mirroring display method or a screen casting display method.
[0121] S502. The first terminal receives an operation on the real-time interface of the second terminal and generates second information.
[0122] The operation here can be any operation on the real-time interface of the second terminal, and second information corresponding to the operation is generated.
[0123] For example, when the second terminal is a tablet computer, the real-time interface here is the interface of the tablet computer, and the operation here is an operation on the tablet computer, such as opening a certain application, closing a certain application, controlling the volume, etc.
[0124] S503. When the second information includes a reverse control instruction and / or an audio stream, the first terminal sends the second information to the second terminal through a Bluetooth transmission link to control the second terminal device based on the second information.
[0125] The control function for the second terminal here can include all functions of the second terminal or some pre-configured functions.
[0126] The reverse control instruction here refers to an instruction for controlling the second terminal.
[0127] The Bluetooth transmission link supports the Android standard protocol, so the transmission of reverse control instructions and the transmission of audio streams can be realized.
[0128] S504. When the second information includes a video stream, a reverse control instruction and / or an audio stream, the first terminal sends the reverse control instruction and / or the audio stream to the second terminal through a Bluetooth transmission link; and sends the video stream to the second terminal through a wireless local area network transmission link; to control the second terminal device based on the first information.
[0129] When the second information includes a video stream, a reverse control instruction and / or an audio stream, the first terminal sends the reverse control instruction and / or the audio stream to the second terminal through a Bluetooth transmission link; and sends the video stream to the second terminal through a wireless local area network transmission link; in this way, the transmission efficiency of information is improved, and the second terminal controls the second terminal based on the first information.
[0130] In this embodiment, the function of reversely controlling the second terminal can be realized through the first terminal, which improves the application scenarios of the control function. For example, when the user of the second terminal is a child, the driver can control the second terminal through the first terminal, improving the vehicle usage experience. Moreover, when the first terminal realizes the control through the real-time interface, it completely replicates the use of the second terminal, with a simple control process and high user experience.
[0131] Next, the process of the first terminal displaying the real-time interface of the second terminal on the display interface of the first terminal in S501 will be described.
[0132] Refer to Figure 6 As shown in the content, this process may include but is not limited to the following S5011 to S5013.
[0133] S5011: The first terminal obtains the interface size of the second terminal.
[0134] In a possible implementation, the first terminal determines the interface size of the second terminal through the device type identifier of the second terminal.
[0135] In another possible implementation, the first terminal initiates a request through the target communication link with the second terminal to determine the interface size of the second terminal.
[0136] S5012: The first terminal determines the first display area corresponding to the real-time interface on the display interface of the first terminal based on the interface size of the second terminal.
[0137] The size of the first display area matches the interface size of the second terminal.
[0138] The size of the first display area matching the interface size of the second terminal includes: the size of the first display area is exactly the same as the interface size of the second terminal, or the size of the first display area is the size after proportional scaling of the interface size of the second terminal. The scaling ratio can be determined according to the size of the display interface of the first terminal.
[0139] S5013: The first terminal displays the real-time interface of the second terminal in the first display area and displays black in the second display area.
[0140] The second display area is the area other than the display area on the display interface of the first terminal.
[0141] The second area, that is, the peripheral area of the first display area, is displayed in black, which can create a display effect of a device border, thus improving the display experience.
[0142] In this embodiment, the size of the first display area matches the interface size of the second terminal, and the second display area is black silk, which can form a display effect similar to that of the second terminal, improving the display experience. And this solution can meet the display sizes of various second terminals, with good compatibility.
[0143] In a second aspect, an embodiment of the present application provides a control method for a vehicle. This method is applied to the second terminal of the vehicle, and a second application program with control functions runs in the second terminal.
[0144] Referring to Figure 7 the content shown, the control method for this vehicle may include but is not limited to the following S701 to S703.
[0145] S701. The second terminal determines that the control function binding with the first terminal is successful through the second application program.
[0146] The successful binding of the control function is used to indicate that mutual control with the first terminal is allowed.
[0147] The second application program refers to the application program installed in the second terminal for implementing the following first control function and second control function.
[0148] The second application program calls the device identifier of the first terminal bound to the control function. If the device identifier of the first terminal exists in the device identifiers bound to the control function, it is determined that the control function binding between the first terminal and the second terminal is successful.
[0149] S702. The second terminal sends the first information to the first terminal through the target link of the control function, so that the first terminal controls the vehicle's controller based on the first information to achieve vehicle control.
[0150] The target link includes a Bluetooth transmission link and a wireless local area network transmission link with the first terminal.
[0151] Previously, the configured target link of the control function includes a Bluetooth transmission link and a wireless local area network transmission link with the second terminal. In this way, after accessing the first terminal, that is, after entering the communication range of the first terminal, vehicle control (the first control function) can be achieved based on the Bluetooth transmission link and the wireless local area network transmission link.
[0152] In practice, the first control function is implemented through the Bluetooth transmission link and / or the wireless local area network transmission link.
[0153] S703. The second terminal accepts the control of the first terminal through the target link of the control function.
[0154] The second terminal accepting the control of the first terminal through the target link of the control function can be called the second control function.
[0155] In practice, the second control function is implemented through a Bluetooth transmission link and / or a wireless local area network transmission link.
[0156] The second terminal receives the second information sent by the second terminal through the target link and responds based on the second information.
[0157] The second control function can be the full function or a partially specified function of the second terminal.
[0158] This embodiment provides a control method for a vehicle. The method is applied to a second terminal, and a second application program with a control function runs in the second terminal. The method includes: determining through the second application program that the binding of the control function with the first terminal is successful; the successful binding of the control function is used to indicate that mutual control with the first terminal is allowed; sending a first message to the first terminal through the target link of the control function, so that the first terminal controls the controller of the vehicle based on the first message to achieve the control of the vehicle; the target link includes a Bluetooth transmission link and a wireless local area network transmission link with the first terminal; accepting the control of the first terminal through the target link of the control function.
[0159] On the one hand, the control method of the vehicle is implemented through the second application program, that is, the control function is only bound to the second application program. By installing the second application program, the first control function and the second control function can be realized, and it is necessary to perform a hard binding (system or device type binding) with the second terminal device, so as to be compatible with various types of second terminal devices; on the other hand, the control function includes the first control function and the second control function, which can not only realize the control of the vehicle through the second terminal, but also realize the control of the second terminal through the first terminal, so it can be applied to various control scenarios; on the other hand, the target link of the control function includes a Bluetooth transmission link and a wireless local area network transmission link, which can transmit various data, has a high transmission rate, and can meet various data transmission requirements.
[0160] The vehicle control method provided by the embodiment of the present application may further include pre-binding the control function between the first terminal and the second terminal. Refer to Figure 8 As shown in the content, the binding process may include but is not limited to the following S801 to S804.
[0161] S801. The second terminal scans the target two-dimensional code displayed on the display interface of the first terminal, and reads the wireless local area network identifier, password, and Bluetooth address of the first terminal.
[0162] The second terminal scans the target two-dimensional code displayed on the display interface of the first terminal through the two-dimensional code scanning function on the second application program, so as to read the wireless local area network identifier, password, and Bluetooth address of the first terminal.
[0163] S802. The second terminal calls the system native interface, constructs a wireless local area network through the identifier and password of the wireless local area network of the first terminal, and obtains a wireless local area network transmission link with the first terminal.
[0164] In a possible implementation manner, the second terminal calls the system native wireless local area network interface, directly constructs a wireless local area network through the identifier and password of the wireless local area network of the first terminal, and obtains a wireless local area network transmission link with the first terminal.
[0165] In another possible implementation manner, the second terminal outputs a confirmation message (message output or voice output, etc.). After receiving the user's confirmation operation or confirmation message, it calls the system native wireless local area network interface, constructs a wireless local area network through the identifier and password of the wireless local area network of the first terminal, and obtains a wireless local area network transmission link with the first terminal.
[0166] S803. The second terminal calls the system native interface, pairs with the Bluetooth address of the first terminal, and obtains a Bluetooth transmission link with the first terminal.
[0167] In a possible implementation manner, the second terminal calls the system native Bluetooth interface, directly pairs with the Bluetooth address of the first terminal, and obtains a Bluetooth transmission link with the first terminal.
[0168] In another possible implementation manner, the second terminal outputs a confirmation message (message output or voice output, etc.). After receiving the user's confirmation operation or confirmation message, it calls the system native Bluetooth interface, pairs with the Bluetooth address of the first terminal, and obtains a Bluetooth transmission link with the first terminal.
[0169] S804. The second terminal sends an authentication request to the first terminal. The authentication request includes at least the device identifier of the second terminal, so that the first terminal binds the control function between the first terminal and the second terminal based on the device identifier of the second terminal.
[0170] The authentication request here is used to request binding of the control function with the first terminal to implement the first control function and the second control function.
[0171] The authentication request here can be in the format of a message text or a voice format, etc.
[0172] In this embodiment, the target link is constructed by means of a two-dimensional code, and the implementation process is simple. It is more reliable to implement through authentication.
[0173] Next, the process in S702 where the second terminal sends the first information to the first terminal via the target link of the control function, enabling the first terminal to control the vehicle's controller based on the first information to achieve vehicle control will be described.
[0174] Referring to Figure 9 the content shown, this process may include but is not limited to the following S901 to S904.
[0175] S901. Display the control interface of the first control function on the display interface of the second terminal.
[0176] In the embodiments of the present application, there is no limitation on the display of the control interface of the first control function, which can be configured according to actual needs, can be consistent with the first terminal, or can adapt to the display size of the second terminal.
[0177] S902. The second terminal receives an operation on the control interface of the first control function and generates the first information.
[0178] For example, the operation here can be an adjustment operation for seat control, generating a seat adjustment instruction.
[0179] S903. When the first information includes a vehicle control instruction and / or a video stream, the second terminal sends the second information to the first terminal via the wireless local area network transmission link, enabling the first terminal to control the vehicle's controller based on the second information.
[0180] The second terminal determines the link required for sending according to the information type of the second information and sends it through the corresponding link.
[0181] S904. When the first information includes an audio stream, a vehicle control instruction and / or a video stream, the second terminal sends the audio stream to the first terminal via the Bluetooth transmission link; and sends the vehicle control instruction and / or the video stream to the first terminal via the wireless local area network transmission link; enabling the first terminal to control the vehicle's controller based on the second information.
[0182] In this way, control instructions and / or video streams can be sent through the wireless local area network transmission link, and the control functions related to the control instructions and / or video streams can be implemented through the interface method, with simple control logic, high efficiency, and good user experience. The first control function is implemented through the implementation methods of the Bluetooth link and the wireless local area network link, and the dual-link has higher efficiency and less interference.
[0183] Next, the process in S703 where the second terminal accepts the control of the first terminal via the target link of the control function will be described.
[0184] In a possible implementation manner, referring to Figure 10 the content shown, this process may include but is not limited to the following S1001 and S1002.
[0185] S1001. The second terminal receives the second information sent by the first terminal through the target link.
[0186] Among them, when the second information includes a reverse control instruction and / or an audio stream, the second information is received through a Bluetooth transmission link; when the second information further includes a video stream, the video stream is received through a wireless local area network transmission link.
[0187] In a possible implementation manner, when the second information includes a reverse control instruction and / or an audio stream, the second information is received through a Bluetooth transmission link;
[0188] In another possible implementation manner, when the second information includes a video stream, as well as a reverse control instruction and / or an audio stream, the reverse control instruction and / or the audio stream are received through a Bluetooth transmission link, and the video stream is received through a wireless local area network link.
[0189] For different information, different links are used for transmission to achieve the optimal configuration of efficiency and function.
[0190] The reverse control instruction can be an application opening instruction or an application closing instruction, and the audio stream can be an audio for playing on the second terminal.
[0191] Transmitting through a wireless local area network has the characteristic of high efficiency.
[0192] S1002. The second terminal performs response processing based on the second information to achieve the control of the second terminal.
[0193] The second terminal performs response processing based on the second information to implement the second control function.
[0194] The response processing level of the second information is higher than the processing level of the operation received by the second terminal.
[0195] For example, the first terminal asks the second terminal to close the first program. The second terminal receives the user's opening operation, and the second terminal closes the first program based on the instruction of the first terminal.
[0196] In this way, the reverse control instruction and / or the audio stream can be received through the wireless local area network transmission link, and the control function related to the reverse control instruction and / or the audio stream can be implemented through the interface method. The control logic is simple, the efficiency is high, and the user experience is good. The second control function is implemented through the implementation methods of the Bluetooth link and the wireless local area network link. The efficiency of the dual links is higher and the interference is smaller.
[0197] Next, taking the second terminal as a tablet computer (which can also be simply referred to as a tablet or PAD) as an example, the control process of the vehicle will be described.
[0198] In the current automotive market, in-vehicle infotainment systems are gradually becoming one of the key factors in enhancing the driving experience. With the development of technology, consumers' expectations for in-vehicle systems are also constantly increasing. They hope to enjoy a connected experience similar to that of mobile devices in the back row of the vehicle. However, most existing in-vehicle systems are bound to specific brand tablets or operating systems, which limits users' choices.
[0199] Against this backdrop, there is an urgent need in the market for an in-vehicle connectivity solution that can break down brand barriers and achieve cross-brand compatibility. Such a solution should enable users to easily connect their vehicles regardless of the brand of tablet they use, thereby enhancing the user experience and driving the development of in-vehicle infotainment systems.
[0200] This embodiment aims to provide an application-level (APP) solution to achieve the function of connecting tablets in the back row of the vehicle without relying on system-level binding. This design approach aims to avoid strong binding to specific operating systems or hardware platforms, thereby solving compatibility issues and providing users with a wider range of device choices and a more flexible upgrade path.
[0201] There are already many products strongly bound to tablets on the market, but there is no tablet connectivity solution that can be freely installed on various tablets.
[0202] This embodiment designs Link app (equivalent to the above-mentioned first application and second application) on both the first terminal (equivalent to the above-mentioned first terminal) and the tablet terminal (equivalent to the above-mentioned second terminal), and communicates through Wireless Fidelity (wifi) (equivalent to the above-mentioned wireless local area network) and Bluetooth to complete interconnection and data transmission. And different brands and different sizes are adapted through the adaptability of the UI.
[0203] This product can mainly achieve three core functions in the back row.
[0204] 1. Automatic connection by scanning the code. Quick connection is achieved by scanning the QR code with the tablet.
[0205] Reference Figure 11 and Figure 12 the content shown in Figure 11 For the interface before connection, including QR code 1201; Figure 12 For the interface after connection, including the connected tablet 1201.
[0206] 2. Controlling the vehicle with the back-row tablet. On the back-row tablet, functions such as controlling the air conditioner, seats, and aromatherapy in the vehicle can be controlled.
[0207] The control function interface can refer to Figure 13The content shown includes air conditioner & fragrance control 1301, seat adjustment 1302, and lighting control 1303.
[0208] 3. The front row center control screen mirrors and reversely controls the rear tablet. On the basis of an established connection, initiate mirroring on the center control screen, and it is possible to reversely control the PAD screen on the center control screen.
[0209] The PAD screen on the center control screen can be referred to Figure 14 The content shown includes the PAD screen 1401 and other screens.
[0210] Next, the vehicle control architecture will be described.
[0211] Refer to Figure 15 The content shown, the vehicle control architecture includes a PAD terminal 1501 and a first terminal 1502. The PAD terminal 1501 and the first terminal 1502 are connected via Bluetooth and WiFi.
[0212] Link app needs to be installed in both the PAD and the CDC. Data is transmitted via Bluetooth and WiFi to complete communication. WiFi is mainly used to transmit video streams and vehicle control commands; Bluetooth is mainly used to transmit reverse control and audio output. Considering the bandwidth limitations supported by WiFi and Bluetooth, WiFi > Bluetooth; video streams and various vehicle control commands with large amounts of data are transmitted via WiFi. Since Bluetooth supports the standard protocol of Android, it can easily implement reverse control and audio switching, so Bluetooth is used to achieve reverse control and audio switching.
[0213] Next, the automatic connection process by scanning the code will be described, which may include but is not limited to the following steps 1 to 5.
[0214] Step 1: Convert the SSID, password, and Bluetooth MAC address of the CDC into a QR code picture.
[0215] Step 2: Scan the code with the PAD to read the above information.
[0216] Step 3: On the tablet side. Link APP calls the Android / iOS native system interface and automatically selects the CDC's Bluetooth device in the Bluetooth device list for binding via the Bluetooth MAC address to complete Bluetooth pairing.
[0217] Step 4: The Link APP on the tablet side calls the system native interface and completes the automatic WiFi connection via the SSID and password, establishing the CDC and the PAD on the same local area network.
[0218] Step 5: After the connection is completed, the PAD will send an authentication request to the CDC end through the wifi channel for authorization confirmation. After confirmation, the connection process is completed. The authentication information includes: the unique ID of the device, the orientation of the PAD in the back row, the model of the device, etc.
[0219] The main purposes of the entire QR code scanning and connection process are three: A - Establish the CDC and the PAD within the same local area network; B - Pair and connect the Bluetooth of the CDC and the PAD; C - Authenticate and confirm the PAD.
[0220] For the entire QR code scanning and connection process, the user needs to click on the screen to confirm in Steps 3, 4, and 5. For the user, after scanning the QR code, the connection process is just a continuous click confirmation action without any additional connection operations. After getting in the car next time, it will automatically connect and complete the authorization without repeating the QR code scanning and connection.
[0221] Reference Figure 16 As shown in the content, the QR code scanning and automatic connection process may include but is not limited to the following S1601 to S1606.
[0222] S1601: The tablet scans the QR code to establish a connection;
[0223] S1602: The in-vehicle computer obtains the SSID, password, and Bluetooth MAC address;
[0224] S1603: The tablet connects to the in-vehicle computer hotspot through the SSID and password;
[0225] S1604: The tablet connects to the in-vehicle computer Bluetooth through the Bluetooth MAC address;
[0226] S1605: The tablet initiates an authentication application;
[0227] S1606: The in-vehicle computer sends an authentication certificate.
[0228] Next, the rear-row vehicle control process will be described.
[0229] When controlling the vehicle on the rear-row tablet, each vehicle control function will be mapped to a vehicle control instruction. On the first terminal, the Link APP calls the vehicle control interface, receives the callback result, and feeds it back to the tablet end. The tablet end will refresh the interface state of the vehicle control to ensure consistency with the actual state of the in-vehicle computer.
[0230] Reference Figure 17 As shown in the content, the rear-row vehicle control process may include but is not limited to the following S1701 to S1704.
[0231] S1701: The tablet sends a vehicle control instruction to Link;
[0232] S1702. The Link sends a vehicle control interface call instruction to the vehicle control app;
[0233] S1703. The vehicle control app sends a callback result to the Link;
[0234] S1704. The Link sends vehicle control function feedback to the tablet for interface synchronization.
[0235] Next, the process of the in-vehicle system reverse-controlling the tablet is described.
[0236] Reference Figure 18 As shown in the content, this process may include but is not limited to the following S1801 to S1805.
[0237] S1801. The Link sends a reverse control application to the tablet;
[0238] S1802. The tablet sends reverse control acceptance information to the Link;
[0239] S1803. The tablet sends a video stream to the Link;
[0240] S1804. The Link sends reverse control operations to the tablet.
[0241] S1805. The tablet simulates clicks and completes operations at the tablet end through the mapping relationship of coordinate points.
[0242] After the mirror reverse control is initiated on the first terminal, the tablet end will accept the reverse control. At this time, the video stream will be transmitted to the first terminal through the wifi channel. Since the screen size of the tablet is not exactly the same as that of the first terminal, this embodiment adopts a special method to achieve resolution adaption.
[0243] If a fixed area is set on the CDC side to specifically display the mirror image, there will inevitably be a black border problem because there must be size differences among different models of tablets. For the sake of aesthetics, we add a black border of the tablet outside the mirror image for display. If the connected tablet has a different size ratio from the preset tablet size ratio (left / right, up / down, there may be black borders), but due to the display effect, the black borders will overlap with the black borders of the tablet, minimizing the experience problems caused by the black borders for users.
[0244] The display effect of the black border can be referred to Figure 19 As shown in the content, including the physical border 1901 and the display border 1902.
[0245] This embodiment has the following technical effects: It achieves multi-system compatibility through an app-level solution; it realizes a foolproof one-key connection through automatic transmission by scanning the code to complete Bluetooth pairing and Wi-Fi connection; it supports all vehicle control functions in the front row, including fragrance, seat adjustment, lighting, and air conditioning, which can all be adjusted in the back row; through the design of the black frame, the influence of black edges during resolution adaptation is reduced.
[0246] In a third aspect, an embodiment of the present application provides a control device for a first vehicle. The device is deployed on a first terminal of the vehicle, and a first application program with control functions runs in the first terminal; refer to Figure 20 As shown, the control device 200 of the first vehicle includes a first determination unit 2001, a first processing unit 2002, and a second processing unit 2003.
[0247] Wherein:
[0248] The first determination unit 2001 is configured to determine, through the first application program, that the binding of control functions with a second terminal is successful; the successful binding of control functions is used to indicate that mutual control with the second terminal is allowed;
[0249] The first processing unit 2002 is configured to receive a first message sent by the second terminal through a target link of the control function, and control a controller of the vehicle based on the first message to achieve control of the vehicle; the target link includes a Bluetooth transmission link and a wireless local area network transmission link with the second terminal;
[0250] The second processing unit 2003 is configured to reverse-control the second terminal through the target link of the control function.
[0251] In some embodiments, the control device 200 of the first vehicle may further include a binding unit. The binding unit is configured to execute before the first determination unit 2001 executes to determine, through the first application program, that the binding of control functions with the second terminal is successful:
[0252] Display a target two-dimensional code on the display interface of the first terminal, so that the second terminal constructs a Bluetooth transmission link and a wireless local area network transmission link based on the identifier, password of the wireless local area network of the first terminal pointed to by the target two-dimensional code, and the Bluetooth address of the first terminal; receive an authentication request sent by the second terminal, and the authentication request includes at least the device identifier of the second terminal; if the authentication request passes, it indicates that the binding of control functions between the first terminal and the second terminal is successful.
[0253] In some embodiments, the first processing unit 2002 is further configured to: receive the first information sent by the second terminal through the target link; wherein, when the first information includes a vehicle control instruction and / or a video stream, receive the vehicle control instruction and / or the video stream through the wireless local area network transmission link; when the first information further includes an audio stream, receive the audio stream through the Bluetooth transmission link; determine the first call interface corresponding to the first information; and control the vehicle controller through the first call interface to implement vehicle control.
[0254] In some embodiments, the second processing unit 2003 is further configured to:
[0255] display the real-time interface of the second terminal on the display interface of the first terminal; receive operations on the real-time interface of the second terminal to generate second information; when the second information includes a reverse control instruction and / or an audio stream, send the second information to the second terminal through the Bluetooth transmission link to control the second terminal device based on the second information; when the second information includes a video stream, and a reverse control instruction and / or an audio stream, send the reverse control instruction and / or the audio stream to the second terminal through the Bluetooth transmission link; send the video stream to the second terminal through the wireless local area network transmission link; to control the second terminal device based on the first information.
[0256] In some embodiments, the second processing unit 2003 is further configured to:
[0257] obtain the interface size of the second terminal; based on the interface size of the second terminal, determine the first display area corresponding to the real-time interface on the display interface of the first terminal; the size of the first display area matches the interface size of the second terminal; display the real-time interface of the second terminal on the first display area, and display black on the second display area; the second display area is the area of the display interface of the first terminal other than the display area.
[0258] Fourthly, the present application provides a control device for a second vehicle. The control device for the second vehicle is deployed on the second terminal, and a second application program with control functions runs in the first terminal; referring to Figure 21 the content shown, the control device 210 for the second vehicle includes a second determination unit 2101, a third processing unit 2102, and a fourth processing unit 2103. Wherein:
[0259] The second determination unit 2101 is configured to determine, through the second application program, that the control function binding with the first terminal is successful; the successful control function binding is used to indicate that mutual control with the first terminal is allowed;
[0260] The third processing unit 2102 is configured to send first information to the first terminal via a target link of the control function, so that the first terminal controls the controller of the vehicle based on the first information to achieve control of the vehicle; the target link includes a Bluetooth transmission link and a wireless local area network transmission link with the first terminal.
[0261] The fourth processing unit 2103 is configured to send first information to the first terminal via a target link of the control function, so that the first terminal controls the controller of the vehicle based on the first information to achieve control of the vehicle; the target link includes a Bluetooth transmission link and a wireless local area network transmission link with the first terminal.
[0262] In some embodiments, the control device 210 of the second vehicle may further include a construction unit, and the construction unit is configured to execute before the second determination unit 2101 executes to determine that the binding of the control function with the first terminal is successful through the second application:
[0263] Scan the target two-dimensional code displayed on the display interface of the first terminal, read the identifier, password of the wireless local area network of the first terminal, and the Bluetooth address of the first terminal; call the system native interface, and construct a wireless local area network through the identifier and password of the wireless local area network of the first terminal to obtain a wireless local area network transmission link with the first terminal; call the system native interface, pair with the Bluetooth address of the first terminal to obtain a Bluetooth transmission link with the first terminal; send an authentication request to the first terminal, and the authentication request includes at least the device identifier of the second terminal, so that the first terminal binds the control function between the first terminal and the second terminal based on the device identifier of the second terminal.
[0264] In some embodiments, the third processing unit 2102 is further configured to:
[0265] Display a control interface of the in-vehicle function on the display interface of the second terminal; receive an operation on the control interface of the in-vehicle function to generate first information; when the first information includes a vehicle control instruction and / or a video stream, send the first information to the first terminal via the wireless local area network transmission link, so that the first terminal controls the controller of the vehicle based on the first information; when the first information includes an audio stream, and a vehicle control instruction and / or a video stream, send the audio stream to the first terminal via the Bluetooth transmission link; send the vehicle control instruction and / or the video stream to the first terminal via the wireless local area network transmission link; so that the first terminal controls the controller of the vehicle based on the first information.
[0266] In some embodiments, the fourth processing unit 2103 is further configured to:
[0267] Receive the second information sent by the first terminal through the target link; wherein, when the second information includes an anti-control instruction and / or an audio stream, receive the second information through the Bluetooth transmission link; when the second information further includes a video stream, receive the video stream through the wireless local area network transmission link; perform response processing based on the second information to implement control of the second terminal.
[0268] The description of the above device embodiments is similar to the description of the above method embodiments and has similar beneficial effects to the method embodiments. In some embodiments, the functions or modules included in the device provided in the embodiments of the present application can be used to execute the methods described in the above method embodiments. For the technical details not disclosed in the device embodiments of the present application, please refer to the description of the method embodiments of the present application for understanding.
[0269] It should be noted that in the embodiments of the present application, if the above vehicle sunroof adjustment method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of the present application essentially or the part that contributes to the related technology can be embodied in the form of a software product. The software product is stored in a storage medium and includes several instructions for causing an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods of the embodiments of the present application. The foregoing storage medium includes: various media such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disc that can store program codes. In this way, the embodiments of the present application are not limited to any specific hardware, software, or firmware, or any combination of hardware, software, and firmware.
[0270] In a fifth aspect, the present application further provides a first terminal device for a vehicle, including a processor and a memory. A computer program is stored on the memory. When the computer program is executed by the processor, the vehicle control method provided in the first aspect above is implemented.
[0271] In a sixth aspect, the present application further provides a second terminal device, including a processor and a memory. A computer program is stored on the memory. When the computer program is executed by the processor, the vehicle control method provided in the second aspect above is implemented.
[0272] Figure 22 The following is a schematic diagram of the hardware entity of an electronic device provided in the embodiments of the present application. As Figure 22 shown, the hardware entity of the electronic device 220 includes: a processor 2201 and a memory 2202. Among them, the memory 2202 stores a computer program that can run on the processor 2201. When the processor 2201 executes the program, the steps in the method of any of the above embodiments are implemented.
[0273] The memory 2202 stores computer programs that can run on the processor. The memory 2202 is configured to store instructions and applications executable by the processor 2201, and can also cache data to be processed or already processed by the processor 2201 and each module in the electronic device 220 (for example, image data, audio data, voice communication data, and video communication data), and can be implemented by a flash memory (FLASH) or a random access memory.
[0274] When the processor 2201 executes the program, it implements the steps of the method for analyzing the stiffness and strength of the vehicle armrest box in any one of the above. The processor 2201 generally controls the overall operation of the electronic device 220.
[0275] The electronic device 220 here can be the above-mentioned first terminal device or second terminal device.
[0276] In a seventh aspect, the present application further provides a control system for a vehicle. The control system for a vehicle includes a first terminal device and a second terminal device of the vehicle; the first terminal device is used to implement the method for controlling a vehicle provided in the first aspect above, and the second terminal device is used for the method for controlling a vehicle provided in the second aspect above.
[0277] In an eighth aspect, an embodiment of the present application provides a computer storage medium. The computer storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the method in any one of the above embodiments.
[0278] It should be pointed out here that: the descriptions of the above storage medium and device embodiments are similar to the descriptions of the above method embodiments and have beneficial effects similar to those of the method embodiments. For the technical details not disclosed in the storage medium and device embodiments of the present application, please refer to the descriptions of the method embodiments of the present application for understanding.
[0279] The above-mentioned processor may be at least one of an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a central processing unit (CPU), a controller, a microcontroller, and a microprocessor. It can be understood that the electronic device implementing the functions of the above-mentioned processor may also be other devices, and the embodiments of the present application do not make specific limitations.
[0280] The above-mentioned computer storage medium / memory may be a read-only memory, a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a ferromagnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM), etc.; it may also be various terminals including one or any combination of the above-mentioned memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc.
[0281] In a ninth aspect, an embodiment of the present application provides a computer program product. The computer program product includes a non-transitory computer-readable storage medium storing a computer program. When the computer program is read and executed by a computer, it implements some or all of the steps in the above-mentioned method. The computer program product may be specifically implemented in a manner of hardware, software, or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium. In other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (SDK), etc.
[0282] It should be noted here that: the above descriptions of the respective embodiments tend to emphasize the differences between the respective embodiments, and the similarities or similarities thereof can be referred to each other. The above descriptions of the embodiments of the device, storage medium, computer program and computer program product are similar to the descriptions of the above method embodiments and have beneficial effects similar to those of the method embodiments. For the technical details not disclosed in the embodiments of the device, storage medium, computer program and computer program product of the present application, please refer to the descriptions of the method embodiments of the present application for understanding.
[0283] The above is only the implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, and all of them should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A vehicle control method, characterized in that: The method is applied to a first terminal, the first terminal is connected to a controller of a vehicle; a first application having a control function is running in the first terminal; the method comprises: Determining, through the first application, that a control function binding with the second terminal is successful; the control function binding success is used to indicate that mutual control with the second terminal is allowed; receiving the first information sent by the second terminal through the target link of the control function, and controlling the controller of the vehicle based on the first information to achieve control of the vehicle; the target link includes a Bluetooth transmission link and a wireless local area network transmission link between the second terminal and the vehicle; The second terminal is reversely controlled through the target link of the control function.
2. The method according to claim 1, characterized in that Before executing the step of determining, by the first application, that the control function binding with the second terminal is successful, the method further includes: Displaying a target QR code on a display interface of the first terminal, so that the second terminal builds a Bluetooth transmission link and a wireless local area network transmission link based on the wireless local area network identifier and password of the first terminal pointed to by the target QR code and the Bluetooth address of the first terminal; receiving an authentication request sent by the second terminal, wherein the authentication request includes at least a device identification of the second terminal; If the authentication request is passed, it indicates that the control function binding between the first terminal and the second terminal is successful.
3. The method according to claim 1 or 2, characterized in that: The receiving, through the target link of the control function, the first information sent by the second terminal, and controlling the controller of the vehicle based on the first information to achieve control of the vehicle includes: receiving the first information sent by the second terminal through the target link; wherein, when the first information includes vehicle control instructions and / or video streams, the vehicle control instructions and / or video streams are received through the wireless local area network transmission link; and when the first information also includes audio streams, the audio streams are received through the Bluetooth transmission link; Determining a first calling interface corresponding to the first information; The vehicle is controlled by controlling the controller of the vehicle through the first calling interface to achieve control of the vehicle.
4. The method according to claim 1 or 2, characterized in that: The reverse controlling the second terminal through the target link of the control function includes: Displaying the real-time interface of the second terminal on the display interface of the first terminal; receiving a real-time interface operation on the second terminal and generating second information; In a case where the second information includes a reverse control instruction and / or an audio stream, sending the second information to the second terminal through the Bluetooth transmission link, so as to control the second terminal device based on the second information; In the case where the second information includes a video stream, and a reverse control instruction and / or an audio stream, the reverse control instruction and / or the audio stream is sent to the second terminal via the Bluetooth transmission link; the video stream is sent to the second terminal via the wireless local area network transmission link; so as to control the second terminal device based on the first information.
5. The method according to claim 4, characterized in that The displaying the real-time interface of the second terminal on the display interface of the first terminal includes: Acquire the interface size of the second terminal; Based on the interface size of the second terminal, determining a first display area corresponding to the real-time interface on the display interface of the first terminal; the size of the first display area matches the interface size of the second terminal; The real-time interface of the second terminal is displayed on the first display area, and black is displayed on the second display area; the second display area is the area on the display interface of the first terminal except the display area.
6. A vehicle control method, characterized in that: The method is applied to a second terminal, in which a second application having a control function is running; the method comprises: Determining, by the second application, that the control function binding between the second application and the first terminal is successful; the successful control function binding is used to indicate that mutual control between the first terminal and the second application is allowed; Sending first information to the first terminal through the target link of the control function, so that the first terminal controls the controller of the vehicle based on the first information to achieve control of the vehicle; the target link includes a Bluetooth transmission link and a wireless local area network transmission link between the first terminal and the first terminal; The target link through the control function is controlled by the first terminal.
7. The method according to claim 6, characterized in that Before executing the step of determining, by the second application, that the control function binding with the first terminal is successful, the method further includes: Scanning a target QR code displayed on a display interface of the first terminal to read the wireless local area network identifier and password of the first terminal and the Bluetooth address of the first terminal; Calling a system native interface, constructing a wireless local area network through the wireless local area network identifier and password of the first terminal, and obtaining a wireless local area network transmission link with the first terminal; Calling a system native interface to pair with the Bluetooth address of the first terminal to obtain a Bluetooth transmission link with the first terminal; An authentication request is sent to the first terminal, where the authentication request includes at least the device identification of the second terminal, so that the first terminal binds the control function between the first terminal and the second terminal based on the device identification of the second terminal.
8. The method according to claim 6 or 7, characterized in that: The sending of first information to the first terminal through the target link of the control function so that the first terminal controls the controller of the vehicle based on the first information to achieve control of the vehicle includes: Displaying a control interface of the vehicle machine function on the display interface of the second terminal; Receiving an operation on the control interface of the vehicle computer function and generating first information; In the case where the first information includes vehicle control instructions and / or a video stream, the first information is sent to the first terminal via the wireless local area network transmission link, so that the first terminal controls the controller of the vehicle based on the first information; In the case where the first information includes an audio stream, vehicle control instructions and / or a video stream, the audio stream is sent to the first terminal via the Bluetooth transmission link; the vehicle control instructions and / or the video stream are sent to the first terminal via the wireless LAN transmission link; so that the first terminal controls the controller of the vehicle based on the first information.
9. The method according to claim 6 or 7, characterized in that: The target link through the control function accepting control of the first terminal includes: receiving, through the target link, second information sent by the first terminal; wherein, when the second information includes a reverse control instruction and / or an audio stream, receiving the second information through the Bluetooth transmission link; and when the second information also includes a video stream, receiving the video stream through the wireless local area network transmission link; Response processing is performed based on the second information to achieve control of the second terminal.
10. A vehicle control system, characterized in that: The control system of the vehicle includes a first terminal device and a second terminal device of the vehicle; the first terminal device is used to implement the method described in any one of claims 1 to 5, and the second terminal device is used to implement the method described in any one of claims 6-9.