Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
It will be understood that the terms first, second, etc. as used herein may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element. For example, a first trigger instruction may be referred to as a second trigger instruction, and similarly, a second trigger instruction may be referred to as a first trigger instruction, without departing from the scope of the present application. The first trigger instruction and the second trigger instruction are both trigger instructions, but they are not the same trigger instruction.
FIG. 1 is a schematic view of an application environment of a vehicle control method according to an embodiment. As shown in fig. 1, the application environment includes a terminal device 100 and a vehicle-mounted device 200 provided on a vehicle. The terminal device 100 may be in communication connection with an on-board device 200 on the vehicle. The terminal device 100 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. The vehicle device 200 may be installed in a vehicle and connected to various service components on the vehicle. The in-vehicle device 200 may be a device that has a display screen and supports a network connection or a communication connection with a terminal device. In addition, the in-vehicle device 200 may include built-in software applications such as a map-type application, a music-type application, a video-playback-type application, a radio-broadcast-type application, a web browser application, a search-type application, etc., to provide navigation, entertainment, etc. functions. The network connection between the terminal device 100 and the vehicle device 200 may be a wired connection or a wireless connection, which is not limited herein. The network connection may be, but is not limited to, a plurality of wireless or wired connection modes such as bluetooth, wireless fidelity (Wireless Fidelity, wifi), high-definition multimedia interface (High Definition Multimedia Interface, HDMI), universal Serial BUS (USB), etc., so as to implement functions such as communication connection, data transmission, audio/video synchronization, etc. between the terminal device 100 and the vehicle device 200.
FIG. 2 is a flow chart of a method of vehicle control in one embodiment. The vehicle control method in the present embodiment will be described taking as an example the operation on the terminal device in fig. 1. As shown in fig. 2, the method includes:
s102, receiving a triggering instruction, wherein the triggering instruction is used for triggering a target service component of a target vehicle, and the target vehicle is in communication connection with the terminal equipment.
The terminal device may establish a network connection with a vehicle-mounted device on the target vehicle. The network connection may be a wired connection or a wireless connection, and is not limited herein. When the terminal equipment and the vehicle equipment are in wired connection, the terminal equipment and the vehicle equipment can be connected with the vehicle equipment through the USB interface. When the terminal device and the vehicle device establish wireless connection, the terminal device may be bluetooth connection, wiFi connection, or communication connection based on a cellular network, which is not limited herein.
And under the condition that the terminal equipment and the vehicle equipment are connected in a network, the authorization of the vehicle equipment can be obtained so as to control the service components in the target vehicle. For example, the terminal device may send a control request to the in-vehicle device, so that the in-vehicle device may authenticate the terminal device based on the control request. For example, an identifier of the terminal device that can be authorized may be preset in the vehicle device, and the identifier may be set by a user in the vehicle device in the vehicle; when a control request is received, the identity of the currently connected terminal device may be extracted from the control request, and it may be determined whether the terminal device is an authorized device according to the identity. If the terminal equipment obtains the authorization of the vehicle-mounted equipment, the control system in the vehicle-mounted equipment can be taken over to control each service component. In one implementation, the terminal device may complete the authentication when it makes a first connection with the vehicle; when the terminal equipment obtains the authorization of the target vehicle, the terminal equipment can automatically pass the identity verification to obtain the authorization of the target vehicle under the condition that the network connection is established with the vehicle-mounted equipment of the target vehicle for the second time.
The terminal device may receive a trigger instruction for a target service component on a target vehicle. The service component may be a sensor module or an actuator module, which is not limited herein. The service component may be a functional module in the vehicle-mounted device, or may be an external device connected to the vehicle-mounted device, which is not limited herein. The sensor module can be a camera for collecting image data or a microphone for collecting audio data; it may also be a sensor that collects environmental data in the vehicle, such as temperature, air pressure, etc., and the type of sensor module is not limited herein. The actuator module may be a speaker for playing audio equipment, a component for controlling movement of a vehicle window, and the like. The type of service components on the vehicle is not limited herein. Optionally, the target service component may be at least one of a navigation component, an audio/video playing component, an air conditioning component, a window control component, an audio/video data acquisition component, and a light control component on the target vehicle. The audio/video playing component can comprise a display screen and a loudspeaker; the window control assembly can be used for controlling a plurality of windows on a target vehicle, and comprises a front window, a rear window, a top window and the like; the light control assembly can be used for controlling lighting lamps, atmosphere lamps and the like in a vehicle.
The control system of the terminal equipment pipe receiving vehicle machine equipment enables a user to control each service component on the vehicle through the terminal equipment. The terminal equipment can be provided with a vehicle control application program, and a trigger instruction of a user to the target service component is acquired through an operation control and the like in the application program. For example, the triggering instruction of the user on the application program may include a click operation, a drag operation, a voice control operation, and the like. Or the terminal device may recognize the voice control instruction of the user, determine the type and the triggering manner of the target service component to be triggered by the user, and then generate the control instruction for the target service component.
S104, based on the trigger instruction, sending a control instruction to a first interface of the target vehicle; the first interface is used for calling at least one service component on the target vehicle; the control instruction is used for controlling the first interface to call the target service component to execute the target operation.
For the same service component, the terminal equipment can generate different control instructions according to the trigger instructions of the user so as to control the service component in different types. In addition, the control instructions corresponding to different types of service components may also be different. For example, for the air conditioning unit, the control command may be a temperature adjustment command, a mode setting command, a switching command, or the like; for the audio/video playing component, the control instruction may be a volume adjustment instruction, a playing switching instruction, or the like; for the light control component, the control command may be a switch control command, a brightness adjustment command, a color switching command, or the like. The type of the control command is not limited herein.
A first interface may be provided on the vehicle. The first interface may be used to invoke at least one service component on the target vehicle, that is, the first interface may integrate and encapsulate the service components on the vehicle, so that the vehicle device may identify a control instruction sent by the terminal device for each service component.
In one implementation, the first interface may be a service oriented architecture (Service Oriented Architecture, SOA) interface. The SOA interface can carry out standardized encapsulation on the interfaces of all service components on the vehicle, and can carry out mutual access and expansion combination through a set protocol. Taking fig. 3 as an example, the terminal device may be a mobile phone, and the vehicle device may be connected to service components such as an air conditioner, a speaker, a vehicle window, a microphone, and the like through an SOA interface.
The terminal equipment sends the control instruction to a first interface of the target vehicle, and the vehicle machine equipment on the target vehicle can receive the control instruction through the first interface. The vehicle-mounted equipment CAN analyze the received control instruction, determine a target service component corresponding to the control instruction, and control the target service component through a controller area network (Controller Area Network, CAN for short) in the vehicle-mounted equipment to finish the target operation corresponding to the control instruction. For example, the trigger command is a temperature adjustment command for an air conditioning component; after the user adjusts the temperature on the terminal equipment, the terminal equipment can generate a corresponding control instruction based on the trigger instruction and send the control instruction to the vehicle equipment; the vehicle machine equipment CAN call the air conditioning assembly through the first interface, and sends a control instruction to the air conditioning module through the CAN network, so that the temperature adjustment operation of the air conditioning assembly is completed.
Further, after the target vehicle invokes the target service component to execute the target operation corresponding to the trigger instruction, an operation completion instruction may be returned to the terminal device. For example, the vehicle device may send, after finishing the air-conditioning temperature adjustment, indication information of the completion of the temperature adjustment to the terminal device through the first interface.
The terminal equipment can also complete the system update of the vehicle equipment through the first interface, so that the system maintenance difficulty of the vehicle equipment is reduced, the system update of the vehicle equipment is more convenient, and the iteration period is shorter.
According to the vehicle control method, the terminal equipment receives the trigger instruction and then sends the control instruction to the first interface of the target vehicle based on the trigger instruction; the triggering instruction is used for triggering a target service component of a target vehicle, and the target vehicle is in communication connection with the terminal equipment; the first interface is used for calling at least one service component on the target vehicle; the control instruction is used for controlling the first interface to call the target service component to execute the target operation. When the terminal equipment is in a connection state with the target vehicle, the terminal equipment can acquire a trigger instruction of a user for the target service component, so that the user does not need to operate on a vehicle-to-vehicle system on the vehicle when the user needs to trigger the target service component on the target vehicle, but can finish operation on the terminal equipment such as a mobile phone and the like; because the interface design of the terminal equipment is more attractive, the operation response speed is higher, the operation convenience is higher, and the human-computer interaction experience comfort is better, the operation of a user on buttons, rotation, touch screens and the like on a vehicle is transferred to the operation of the terminal equipment, and the operation experience of a service component can be greatly improved. Further, as the first interface is arranged on the vehicle, at least one service component on the vehicle can be called through the first interface, that is to say, the first interface can integrate and package the service component on the vehicle, so that the vehicle equipment on the vehicle can identify the control instruction aiming at the target service component and sent by the terminal equipment, the target vehicle can control the first interface to call the target service component so as to finish the operation corresponding to the trigger instruction, the control range of the terminal equipment on the service component on the vehicle is improved, the fusion degree between the terminal equipment and the vehicle equipment is deepened, and the use scene of a user is enriched.
Fig. 4 is a schematic flow chart of a vehicle control method in an embodiment, which relates to a manner in which a terminal device receives a trigger instruction, on the basis of the above embodiment, as shown in fig. 4, the step S102 includes:
s202, displaying a vehicle control interface; the vehicle control interface includes a control window for at least one service component.
The terminal device may display a vehicle control interface. The vehicle control interface may be an interface of an application running in the terminal device, or may be a control interface of the terminal device for the target vehicle in an operating system of the terminal device, or may be an interface popped out of a display screen after the terminal device is connected with the target vehicle, and the type of the vehicle control interface is not limited herein.
The vehicle control interface may include a control window for at least one service component. In one implementation, the control window of one service component is included in the vehicle control interface, and the user can select other service components in a sliding manner, as shown in fig. 5; alternatively, the control window of one service component is included in the vehicle control interface, and the user may enter the service component list by returning to the home page, selecting other service components in the service component list, and entering the control window of the other service components, as shown in fig. 6.
In another implementation, a control window of a plurality of service components may be included on a vehicle control interface. As shown in fig. 7, the control interface of the vehicle may include a control window of the air conditioning assembly and a control window of the vehicle control assembly.
S204, receiving a first trigger instruction aiming at the control window.
When a user needs to control one of the service components, the control window corresponding to the service component can be triggered, so that the terminal equipment can obtain a first trigger instruction of the target service component.
The control window may include a plurality of operation controls, as shown in the control window in fig. 7, so that the terminal device obtains a first trigger instruction for the control window after the user triggers the control window. The operation control may be a selection control, a drag control, etc., and the type of the operation control is not limited herein. Optionally, when the service component is an air conditioning component, the control window of the air conditioning component may include at least one of an air conditioning switch space, a temperature adjustment control, and a mode setting control.
In another implementation manner, the control window may display an identifier of the service component, where the identifier may be a text identifier or an image identifier. For example, a service window of the air conditioning assembly displays an air conditioning icon. After receiving the first trigger instruction for the control window, the terminal device may display a control sub-interface corresponding to the control window based on the first trigger instruction; then, a second trigger instruction for the operation control is received. Wherein, the control sub-interface can comprise a plurality of operation controls.
Taking an air conditioning component as an example, as shown in fig. 8, a control window of the air conditioning component displayed by the terminal device is an air conditioning icon, after a user triggers the control window, the terminal device receives a first trigger instruction for the control window, and then the interface jumps to a control sub-interface of the air conditioning component based on the first trigger instruction. The control sub-interface of the upper air conditioning assembly can also comprise an air conditioning switch space, a temperature adjustment control and a mode setting control.
Taking the window control assembly as an example, a control window of the window control assembly displayed by the terminal equipment is a window icon, after a user triggers the control window, the terminal equipment receives a first trigger instruction aiming at the control window, and then jumps to a control sub-interface of the window control assembly based on the first trigger instruction. The control sub-interface corresponding to the window control assembly may include window adjustment controls corresponding to a plurality of windows respectively. The plurality of windows may be a left front window, a left rear window, a right front window, a right rear window, a roof window, and the like, respectively.
According to the vehicle control method, the terminal equipment can acquire the trigger instruction of the user aiming at the target service component through the vehicle control interface, so that the operations of buttons, rotation, touch screens and the like on the vehicle are transferred to the trigger operation of the vehicle control interface, and the operation experience of the service component is greatly improved. In addition, when the user uses different types of vehicles, operation failure caused by unfamiliar vehicle equipment on the vehicles can be avoided, and the operation experience of the service assembly is further improved.
Fig. 9 is a schematic flow chart of a vehicle control method in an embodiment, which relates to a manner in which a terminal device receives a trigger instruction, and on the basis of the above embodiment, as shown in fig. 9, the step S102 includes:
s302, displaying a list of optional components; the selectable device list comprises components arranged on the terminal device and a virtualized component; the virtualized component is obtained by virtualizing a service component on the target vehicle.
The virtualized component can be a part of service components on the target vehicle, and the virtualized component can be used as a data acquisition end and a data output end of the terminal equipment. For example, a camera on the target vehicle may be used as an image acquisition device of the terminal device, and set as a virtualized camera of the terminal device; the speaker on the target vehicle may serve as a voice playing device of the terminal device, which is set as a virtualized speaker of the terminal device.
The list of optional components may be a list of components of the same type that can be called by the terminal device, for example, a camera list, a screen list that can be projected on a screen, and the like. The list of optional components may be a list displayed in an operating system setting interface in the terminal device, or may be a list displayed in an application running in the terminal device, which is not limited herein. The terminal device may display the list of optional devices through a popup window, or may display the list of optional devices through an interface, which is not limited herein.
Taking the camera list as an example, as shown in fig. 10, when the terminal device performs image acquisition, the user may trigger the camera switching control on the image acquisition interface, and the terminal device may display the camera list through a popup window. The camera list may include one or more cameras disposed on the terminal device, and a virtualized camera obtained by performing a virtualization process on a camera disposed on the target vehicle.
Taking the screen list as an example, as shown in fig. 11, when the terminal device performs video playing, the user may trigger a screen throwing control on the video playing interface, and the terminal device may jump the video playing interface to the screen list capable of throwing a screen, or pop a window to display the screen list. The screen list may include a screen played through a terminal device and a screen played through a virtualized screen, and the virtualized screen may be a screen provided on a vehicle.
It should be noted that the number of the virtualized components in the optional component list may be one or more, which is not limited herein. For example, when a plurality of cameras are included on a vehicle, the camera list may include a plurality of virtualized cameras; when the vehicle includes a plurality of screens, the screen list may include a plurality of virtualized screens.
S304, receiving a third trigger instruction for the virtualized component.
The user may select a desired component based on the list of selectable components, and if the user selects a virtualized component, the terminal device may receive a third trigger instruction for the virtualized component. The terminal device can send a control instruction to the first interface based on the third trigger instruction, and after the terminal device sends the control instruction to the target vehicle, the target vehicle can call the virtualization component through the first interface, so that the virtualization component is used as a service component of the terminal device to perform data output or data acquisition.
Taking the virtualized component as a camera component as an example, after the terminal equipment sends a control instruction to the target vehicle, the target vehicle can call the camera component to work, so that the terminal equipment can acquire image data sent by the target vehicle through the first interface; and after the image data is a control instruction received by the target vehicle, calling the camera component to collect the image data.
The terminal device may store the received image data, or may send the received image data to the cloud platform for backup, which is not limited herein. Alternatively, the terminal device may play the image data; or sending a play control instruction to the target vehicle; the playing control instruction is used for indicating the target vehicle to play the processed image data. The terminal device can play the received image data through the display screen, or can play the received image data after image processing. After the terminal device processes the image data, the processed image data is sent to the target vehicle through the first interface, so that the target vehicle plays the image data through a display screen on the vehicle. The processing method of the image data is not limited herein.
When the terminal device processes the image data, the image data can be processed by an image processor or a main processor in the terminal device, or can be sent to the cloud platform to be processed by using the computing power of the cloud platform. For example, the terminal device may determine whether to select cloud platform processing or image processing by its own processor according to a type of an application program for collecting image data, where the type of the application program may be image collection, video live broadcast, etc.; if the application program operated by the terminal equipment is picture acquisition, the terminal equipment can carry out image processing on the image data through a processor of the terminal equipment; if the application program operated by the terminal equipment is video acquisition, the acquired video is used for storing or transmitting, and the terminal equipment can carry out image processing on image data through a self processor and can also carry out image processing on the image data through a cloud platform; if the currently running application program of the terminal equipment is live video, the terminal equipment can process the image data collected under the video direct broadcasting through the cloud platform in order to ensure the rapid processing of a larger data volume.
Taking the virtualized component as an audio/video playing component as an example, after receiving a third trigger instruction for the audio playing component, the terminal equipment can send a playing instruction to a first interface of a target vehicle when sending a control instruction to the target vehicle; the playing instruction is used for controlling the first interface to call the audio/video playing component to play the audio/video file.
The terminal device may further send a configuration instruction to the first interface of the target vehicle under the condition that a control instruction for calling the audio/video playing component is sent to the target vehicle. The configuration instruction can be used for indicating the target vehicle to control the display state of the car lamp based on the lamplight configuration file, so that the display state of the car lamp is matched with the display state of the audio and video file while the target vehicle plays the audio and video file sent by the terminal equipment through the audio and video playing component. The terminal device can send the audio and video files to be played and the light configuration files matched with the audio and video files to the target vehicle, and the light configuration files are matched with the audio and video files. The light configuration file may be used to control a light display state on the target vehicle, where the light display state may include a display color, a display duration, and the like of an atmosphere lamp in the target vehicle. The terminal equipment can analyze the audio and video files to be played and generate matched lamplight configuration files according to the characteristics of the playing types, playing rhythms and the like of the audio and video files.
Taking the navigation component as an example, after the user sets parameters such as the current position, the destination and the like in the terminal equipment to navigate, after the user gets on the vehicle, the terminal equipment can send the navigation path displayed on the terminal equipment to the target vehicle, call the navigation component in the vehicle to continue to carry out navigation service, and also can send the navigation parameters to the target vehicle, so that the navigation component in the vehicle can re-plan the navigation path based on the setting of the user on the terminal equipment.
According to the vehicle control method, the terminal equipment sets the service components on the vehicle as the virtualized components of the terminal equipment, data playing can be carried out through the audio/video playing components such as the screen with larger size and the loudspeaker with better sound effect on the target vehicle, and the terminal equipment can call the service components such as the camera and the microphone on the vehicle to carry out data acquisition, so that the use experience of a user is improved, and the use scene of the user is enriched.
Fig. 12 is a schematic flow chart of a vehicle control method in an embodiment, which relates to one way for setting a virtualized component by a terminal device, and on the basis of the above embodiment, as shown in fig. 13, the method further includes:
S402, acquiring vehicle state data of a target vehicle through a first interface; the vehicle status data includes an identification of at least one service component associated with the first interface.
The vehicle state data may include an identifier of each service component associated with the first interface, and may further include a driving state during a running process of the vehicle, for example, a temperature in the vehicle, a driving speed, and driving operation data of a user, where a type of the vehicle state data is not limited herein.
S404, identifying a target identifier meeting the virtualization condition in the identifiers of at least one service component.
The virtualization condition refers to a service component which can be called by the terminal equipment and is used as a data acquisition end and a data output end in the target vehicle. In each service component of the target vehicle, the terminal device may identify the target identifier that satisfies the virtualization condition.
In one implementation manner, a service component identifier list meeting the virtualization conditions may be preset in the terminal device, and then, target identifiers meeting the virtualization conditions are screened from the service components according to the list.
In another implementation manner, the terminal device may determine the type of the service component through the identifier of the service component, and then determine the identifier corresponding to the component type that satisfies the virtualization condition as the target identifier. For example, the component types satisfying the virtualization conditions may be cameras, screens, microphones, and the like, and the terminal device may determine the identification of the service component of the above type as the target identification.
The vehicle state data can also be used for user data analysis, so that the terminal equipment can obtain the characteristics of user setting preference and the like according to the vehicle state data, and customized service can be provided for customers.
S406, setting the service component corresponding to the target identifier as a virtualization component of the terminal equipment.
Based on the steps, the terminal device can set the service component corresponding to each target identifier as a virtualized component. The terminal device may generate application icons corresponding to the virtualized components on the display interface, and optionally, may further add the identifier of the virtualized component to a selectable component list of the terminal device.
According to the vehicle control method, the terminal equipment can carry out virtualization processing on the callable service components in the vehicle by receiving the state data of the vehicle in real time, so that the terminal equipment can call the service components on the vehicle as the data acquisition end and the data output end of the terminal equipment while controlling the service components on the vehicle, and the fusion degree between the terminal equipment and the vehicle machine equipment is enhanced.
FIG. 13 is a flow chart of a method of vehicle control in one embodiment. The vehicle control method in the present embodiment will be described taking as an example the operation on the vehicle-mounted device in fig. 1. As shown in fig. 13, the above method includes:
S502, receiving a control instruction through a first interface; the control instruction is sent by the terminal equipment based on the received trigger instruction; the terminal equipment is in communication connection with the vehicle-mounted equipment; the triggering instruction is used for triggering a target service component on a vehicle where the vehicle-mounted equipment is located; the first interface is for invoking at least one service component on the vehicle.
S504, responding to the control instruction, and controlling the first interface to call the target service component to execute the target operation.
The implementation principle and technical effects of the vehicle control method refer to the method embodiment on the terminal device side, and are not described herein.
In one embodiment, on the basis of the above embodiment, the vehicle-mounted device may monitor a connection state between the vehicle and the terminal device; then, in case the vehicle is disconnected from the terminal device, the control authority for the at least one service component is restored. The terminal equipment can send a heartbeat detection signal to the vehicle-mounted equipment, and the vehicle-mounted equipment can determine whether the connection between the terminal equipment and the vehicle-mounted equipment is normal or not according to the receiving state of the heartbeat detection signal. If the connection between the terminal equipment and the vehicle-mounted equipment is disconnected or the terminal equipment is in a dead halt state, the vehicle-mounted equipment can determine that the connection is disconnected, and the control authority of the service component is restored.
According to the vehicle control method, the vehicle equipment can restore the control authority under the condition that the connection between the vehicle equipment and the terminal equipment is disconnected by monitoring the connection state, so that the control reliability of the service assembly is improved.
In one embodiment, there is provided a vehicle control method, as shown in fig. 14, including:
s602, receiving a triggering instruction by the terminal equipment, wherein the triggering instruction is used for triggering a target service component of a target vehicle;
s604, the terminal equipment sends a control instruction to a first interface of a target vehicle based on a trigger instruction;
s606, the vehicle-mounted equipment receives a control instruction through a first interface;
and S608, the vehicle-mounted equipment responds to the control instruction, and controls the first interface to call the target service component to execute the target operation.
The implementation principle and technical effects of the vehicle control method refer to the above method embodiments, and are not described herein.
It should be understood that, although the steps in the flowcharts of fig. 2-14 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 2-14 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily occur sequentially, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or steps.
Fig. 15 is a block diagram showing the structure of a vehicle control device according to an embodiment. As shown in fig. 15, the above apparatus is applied to a terminal device, and includes:
the receiving module 110 is configured to receive a triggering instruction, where the triggering instruction is used to trigger a target service component of a target vehicle, and the target vehicle is connected with the terminal device in a communication manner;
a sending module 120, configured to send a control instruction to a first interface of the target vehicle based on the trigger instruction; the first interface is used for calling at least one service component on the target vehicle; the control instruction is used for controlling the first interface to call the target service component to execute the target operation.
In an embodiment, based on the foregoing embodiment, the target service component is at least one of a navigation component, an audio/video playing component, an air conditioning component, a window control component, an audio/video data acquisition component, and a light control component on the target vehicle.
In one embodiment, based on the foregoing embodiment, the receiving module 110 is specifically configured to: displaying a vehicle control interface; a control window on the vehicle control interface including at least one service component; a first trigger instruction for a control window is received.
In one embodiment, based on the foregoing embodiment, the receiving module 110 is specifically configured to: based on the first trigger instruction, displaying a control sub-interface corresponding to the control window; the control sub-interface comprises a plurality of operation controls; and receiving a second trigger instruction for the operation control.
In one embodiment, on the basis of the foregoing embodiment, the at least one service component includes a control window corresponding to the window control component; the control sub-interface corresponding to the window control assembly comprises window adjustment controls corresponding to a plurality of windows respectively.
In one embodiment, based on the above embodiment, the at least one service component includes an air conditioning component; the control window of the air conditioning assembly includes at least one of an air conditioning switch space, a temperature adjustment control, and a mode setting control.
In one embodiment, based on the foregoing embodiment, the receiving module 110 is specifically configured to: displaying a list of selectable components; the selectable component list comprises components arranged on the terminal equipment and virtualized components; the virtualization component is obtained by virtualizing a service component on the target vehicle; a third trigger instruction for the virtualized component is received.
In one embodiment, on the basis of the foregoing embodiment, as shown in fig. 16, the foregoing apparatus further includes a virtualization module 130 configured to: acquiring vehicle state data of a target vehicle through a first interface; the vehicle status data includes an identification of at least one service component associated with the first interface; identifying a target identifier meeting the virtualization condition in the identifiers of at least one service component; and setting the service component corresponding to the target identifier as a virtualization component of the terminal equipment.
In one embodiment, based on the above embodiment, the virtualization module 130 is specifically configured to: the identification of the virtualized component is added to a list of selectable components of the terminal device.
In one embodiment, based on the above embodiment, the virtualized component is a camera component; the receiving module 110 is further configured to: receiving image data sent by a target vehicle through a first interface; and after the image data is the target vehicle and receives the control instruction, calling the camera component to collect the image data.
In one embodiment, on the basis of the foregoing embodiment, as shown in fig. 17, the foregoing apparatus further includes a playing module 140, configured to: playing the image data through the terminal equipment; or sending a play control instruction to the target vehicle; the playing control instruction is used for indicating the target vehicle to play the processed image data.
In one embodiment, based on the above embodiment, the virtualization component is an audio/video playing component; the sending module 120 is further configured to: sending a playing instruction to a first interface of a target vehicle; the playing instruction is used for controlling the first interface to call the audio and video playing component to play the audio and video file; transmitting a configuration instruction to a first interface of a target vehicle; the configuration instruction is used for indicating the target vehicle to control the display state of the car lamp based on the lamplight configuration file; the light configuration file is matched with the audio and video file.
The implementation principle and technical effects of the vehicle control device are referred to the above method embodiments, and are not described herein.
Fig. 18 is a block diagram showing the structure of a vehicle control device according to an embodiment. As shown in fig. 18, the above apparatus is applied to a vehicle-mounted device, and includes:
a receiving module 210, configured to receive a control instruction through a first interface; the control instruction is sent by the terminal equipment based on the received trigger instruction; the terminal equipment is in communication connection with the vehicle-mounted equipment; the triggering instruction is used for triggering a target service component on a vehicle where the vehicle-mounted equipment is located; the first interface is used for calling at least one service component on the vehicle;
the response module 220 is configured to control the first interface to call the target service component to perform the target operation in response to the control instruction.
In one embodiment, on the basis of the foregoing embodiment, as shown in fig. 19, the apparatus further includes a monitoring module 230, configured to: monitoring a connection state with the terminal equipment; and restoring the control authority of at least one service component under the condition of disconnection with the terminal equipment.
The implementation principle and technical effects of the vehicle control device are referred to the above method embodiments, and are not described herein.
The above-described division of the respective modules in the vehicle control apparatus is merely for illustration, and in other embodiments, the vehicle control apparatus may be divided into different modules as needed to accomplish all or part of the functions of the above-described vehicle control apparatus.
The specific limitation regarding the vehicle control device may be referred to the limitation regarding the vehicle control method hereinabove, and will not be described herein. Each of the modules in the vehicle control apparatus described above may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
Fig. 20 is a schematic diagram of an internal structure of a terminal device in one embodiment. The electronic device may be any terminal device such as a mobile phone, a tablet computer, a notebook computer, a desktop computer, a PDA (Personal Digital Assistant ), a POS (Point of Sales), a wearable device, and the like. The terminal device includes a processor and a memory connected by a system bus. Wherein the processor may comprise one or more processing units. The processor may be a CPU (Central Processing Unit ) or DSP (Digital Signal Processing, digital signal processor), etc. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program is executable by a processor for implementing a vehicle control method provided in the following respective embodiments. The internal memory provides a cached operating environment for operating system computer programs in the non-volatile storage medium.
Fig. 21 is a schematic view of an internal structure of the vehicle apparatus according to an embodiment. The vehicle-mounted equipment can be a vehicle-mounted computer. The vehicle equipment comprises a processor and a memory which are connected through a system bus. Wherein the processor may comprise one or more processing units. The processor may be a CPU (Central Processing Unit ) or DSP (Digital Signal Processing, digital signal processor), etc. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program is executable by a processor for implementing a vehicle control method provided in the following respective embodiments. The internal memory provides a cached operating environment for operating system computer programs in the non-volatile storage medium.
The implementation of each module in the vehicle control apparatus provided in the embodiment of the application may be in the form of a computer program. The computer program may run on a terminal or a server. Program modules of the computer program may be stored in the memory of the electronic device. Which when executed by a processor, performs the steps of the method described in the embodiments of the application.
The embodiment of the application also provides a vehicle, which comprises the vehicle-mounted equipment in the embodiment.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform steps of a vehicle control method.
Embodiments of the present application also provide a computer program product containing instructions that, when run on a computer, cause the computer to perform a vehicle control method.
Any reference to memory, storage, database, or other medium used in the present application may include non-volatile and/or volatile memory. The nonvolatile Memory may include a ROM (Read-Only Memory), a PROM (Programmable Read-Only Memory ), an EPROM (Erasable Programmable Read-Only Memory, erasable programmable Read-Only Memory), an EEPROM (Electrically Erasable Programmable Read-Only Memory), or a flash Memory. Volatile memory can include RAM (Random Access Memory ), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as SRAM (Static Random Access Memory ), DRAM (Dynamic Random Access Memory, dynamic random access memory), SDRAM (Synchronous Dynamic Random Access Memory ), double data rate DDR SDRAM (Double Data Rate Synchronous Dynamic Random Access memory, double data rate synchronous dynamic random access memory), ESDRAM (Enhanced Synchronous Dynamic Random Access memory ), SLDRAM (Sync Link Dynamic Random Access Memory, synchronous link dynamic random access memory), RDRAM (Rambus Dynamic Random Access Memory, bus dynamic random access memory), DRDRAM (Direct Rambus Dynamic Random Access Memory, interface dynamic random access memory).
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.