CN111857494A - Method, device, equipment and storage medium for realizing virtual vehicle machine - Google Patents
Method, device, equipment and storage medium for realizing virtual vehicle machine Download PDFInfo
- Publication number
- CN111857494A CN111857494A CN202010579370.0A CN202010579370A CN111857494A CN 111857494 A CN111857494 A CN 111857494A CN 202010579370 A CN202010579370 A CN 202010579370A CN 111857494 A CN111857494 A CN 111857494A
- Authority
- CN
- China
- Prior art keywords
- terminal
- server
- control information
- user
- virtual
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45504—Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides a method, a device, equipment and a storage medium for realizing a virtual vehicle machine. The method is applied to the terminal and comprises the following steps: acquiring control information input by a user; sending control information to a server, wherein the server is provided with a virtual machine, and a system image corresponding to the terminal runs on the virtual machine, so that the server executes a first operation corresponding to the control information based on the system image to obtain information of a second operation; receiving information of a second operation sent by the server; a second operation is performed. According to the embodiment of the invention, the system mirror image in the server is controlled to execute corresponding operation, so that dependence of the car machine function on terminal hardware can be eliminated, the limitation of the hardware performance on the car machine function is reduced, the car machine function is expanded, and the user experience is improved.
Description
Technical Field
The invention relates to the technical field of intelligent traffic, in particular to a method, a device, equipment and a storage medium for realizing a virtual vehicle machine.
Background
The vehicle machine is a core component in a vehicle cabin, and can realize information communication between people and a vehicle and between the vehicle and the outside. In the development process of vehicle intellectualization and networking, the vehicle-mounted device functions become increasingly abundant as a human-computer interaction entrance, and functions of navigation, maps, communication, driving assistance, information consultation and the like are gradually integrated in the vehicle-mounted device.
However, the traditional car machine function is mainly realized by a car machine in a car, and along with the increasing complexity of the car machine function, the requirement on the hardware performance of the car machine is also increasing, and the hardware of the car machine seriously restricts the expansion of the car machine function, thereby affecting the user experience.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for realizing a virtual vehicle machine, which can get rid of dependence of vehicle machine functions on terminal hardware, reduce the limitation of hardware performance on the vehicle machine functions, expand the vehicle machine functions and improve user experience.
In a first aspect, an embodiment of the present invention provides a method for implementing a virtual vehicle machine, where the method is applied to a terminal, and includes:
acquiring control information input by a user;
sending control information to a server, wherein the server is provided with a virtual machine, and a system image corresponding to the terminal runs on the virtual machine, so that the server executes a first operation corresponding to the control information based on the system image to obtain information of a second operation;
receiving information of a second operation sent by the server;
a second operation is performed.
In some implementations of the first aspect, obtaining control information input by a user includes:
acquiring network state information of a terminal;
And when the network state information meets the preset network condition, prompting a user to execute input operation and acquiring the control information.
In some implementations of the first aspect, the method further comprises:
acquiring network information of a terminal, comprising:
acquiring a system log of a terminal, wherein the system log comprises network connection parameters;
and determining the network state information according to the network connection parameters.
In some implementations of the first aspect, the control information includes at least one of voice information input by a user through a voice manner, key information input by a user through keys provided on the terminal, and touch information input by a user through a touch element provided on the terminal.
In some implementations of the first aspect, the transport protocol between the terminal and the server is a virtual desktop transport protocol.
In a second aspect, an embodiment of the present invention provides a method for implementing a virtual machine, where the method is applied to a server, and the server is deployed with a virtual machine, and the method includes:
receiving control information input by a user and sent by a terminal, wherein a system image corresponding to the terminal runs on a virtual machine;
executing a first operation corresponding to the control information based on the system mirror image to obtain information of a second operation;
And sending the information of the second operation to the terminal for the terminal to execute the second operation.
In some implementations of the second aspect, the control information includes at least one of voice information input by a user through a voice manner, key information input by a user through keys provided on the terminal, and touch information input by a user through a touch element provided on the terminal.
In some implementations of the second aspect, the transport protocol between the terminal and the server is a virtual desktop transport protocol.
In a third aspect, an embodiment of the present invention provides an apparatus for implementing a virtual vehicle, where the apparatus is applied to a terminal, and includes:
the acquisition module is used for acquiring control information input by a user;
the sending module is used for sending the control information to the server, wherein the server is provided with a virtual machine, and a system image corresponding to the terminal runs on the virtual machine, so that the server executes a first operation corresponding to the control information based on the system image to obtain information of a second operation;
the receiving module is used for receiving information of the second operation sent by the server;
and the execution module is used for executing the second operation.
In some implementations of the third aspect, the obtaining module is specifically configured to:
Acquiring network state information of a terminal;
and when the network state information meets the preset network condition, prompting a user to execute input operation and acquiring control information.
In some implementations of the third aspect, the obtaining module is specifically configured to:
acquiring a system log of a terminal, wherein the system log comprises network connection parameters;
the device also includes: and the determining module is used for determining the network state information according to the network connection parameters.
In some implementations of the third aspect, the control information includes at least one of voice information input by a user through a voice manner, key information input by a user through keys provided on the terminal, and touch information input by a user through a touch element provided on the terminal.
In some implementations of the third aspect, the transport protocol between the terminal and the server is a virtual desktop transport protocol.
In a fourth aspect, an embodiment of the present invention provides an apparatus for implementing a virtual machine, where the apparatus is applied to a server, and the server is deployed with a virtual machine, and the apparatus includes:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving control information input by a user and sent by a terminal, and a system mirror image corresponding to the terminal runs on a virtual machine;
The execution module is used for executing a first operation corresponding to the control information based on the system mirror image to obtain information of a second operation;
and the sending module is used for sending the information of the second operation to the terminal so that the terminal can execute the second operation.
In some implementations of the fourth aspect, the control information includes at least one of voice information input by a user through a voice mode, key information input by a user through keys provided on the terminal, and touch information input by a user through a touch element provided on the terminal.
In some implementations of the fourth aspect, the transport protocol between the terminal and the server is a virtual desktop transport protocol.
In a fifth aspect, an embodiment of the present invention provides an apparatus for implementing a virtual vehicle, where the apparatus includes: a processor and a memory storing computer program instructions; the method for implementing the virtual vehicle machine described in the first aspect or any of the realizable manners of the first aspect is implemented when the processor executes the computer program instructions, or the method for implementing the virtual vehicle machine described in the second aspect or any of the realizable manners of the second aspect is implemented when the processor executes the computer program instructions.
In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores computer program instructions, and the computer program instructions, when executed by a processor, implement the method for implementing a virtual vehicle machine in the first aspect or any of the realizable manners of the first aspect, or the computer program instructions, when executed by the processor, implement the method for implementing a virtual vehicle machine in the second aspect or any of the realizable manners of the second aspect.
According to the method, the device, the equipment and the storage medium for realizing the virtual vehicle machine, the terminal obtains control information input by a user and sends the control information to the server, the virtual machine of the system image corresponding to the running terminal is deployed on the server, the server executes first operation corresponding to the control information based on the system image to obtain information of second operation and sends the information of the second operation to the terminal, and the terminal executes the second operation. The system mirror image in the server is controlled to execute corresponding operation, dependence of the car machine function on terminal hardware can be eliminated, limitation of the hardware performance on the car machine function is reduced, the car machine function is expanded, and user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a conventional vehicle machine according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a virtual vehicle machine system according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a method for implementing a virtual vehicle machine according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of another method for implementing a virtual vehicle machine according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a device for implementing a virtual vehicle machine according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another apparatus for implementing a virtual vehicle machine according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware structure of a device for implementing a virtual vehicle machine according to an embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
In order to better describe the technical solution of the embodiment of the present invention, the structure of the conventional vehicle machine is described below with reference to fig. 1.
Fig. 1 is a schematic structural diagram of a conventional vehicle machine according to an embodiment of the present invention, and as shown in fig. 1, the conventional vehicle machine includes a vehicle machine application service, an Operating System (OS), and vehicle machine hardware, where the vehicle machine application service is mainly used to implement a vehicle machine function, the Operating System is a basic System for managing vehicle machine hardware and software resources, and the vehicle machine hardware is a material basis for implementing the vehicle machine function.
At present, functions of the conventional car machine, namely application services, are mainly realized locally, for example, task input, execution, feedback and the like are all completed locally. However, as the functions of the car machine become more and more complex, higher requirements are put forward on the processing capacity of car machine hardware, the traditional car machine is difficult to realize partial car machine functions, and the hardware constraint software is difficult to upgrade and iterate due to the mode of binding the software and the hardware, so that the user experience is influenced.
In order to solve the problem of the prior art, embodiments of the present invention provide a method, an apparatus, a device, and a storage medium for implementing a virtual vehicle machine. The terminal acquires control information input by a user, sends the control information to the server, the server is provided with a virtual machine for running a system image corresponding to the terminal, the server executes a first operation corresponding to the control information based on the system image to obtain information of a second operation, and sends the information of the second operation to the terminal, and the terminal executes the second operation. The system mirror image in the server is controlled to execute corresponding operation, dependence of the car machine function on terminal hardware can be eliminated, limitation of the hardware performance on the car machine function is reduced, the car machine function is expanded, and user experience is improved.
Since the method for implementing a virtual vehicle machine according to the embodiment of the present invention is applied to a virtual vehicle machine system, the following first introduces the virtual vehicle machine system.
Fig. 2 is a schematic structural diagram of a virtual vehicle machine system according to an embodiment of the present invention, and as shown in fig. 2, the virtual vehicle machine system includes a terminal and a server.
The terminal is a vehicle-mounted terminal, is deployed in a vehicle and comprises terminal hardware, a first Operating System (OS) and a first application service. The terminal hardware is a hardware basis of the first application service, and may be thin terminal hardware, and the first OS is a software basis of the first application service. The first application service comprises a basic in-vehicle application service and a remote connection service, wherein the basic in-vehicle application service can comprise basic input and output interface management, display screen management, network management, communication management and the like, in other words, the basic in-vehicle application service can be used for controlling information input and result output, and the remote connection service is used for establishing a communication connection with the server and transmitting related data.
Fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention, and as shown in fig. 3, the terminal includes terminal hardware, a first OS, a basic application service module, and a mode switching module.
The terminal hardware is designed by adopting an embedded system architecture and can comprise a control module, a storage module, a communication module, an input/output module, a functional module, a power module and the like. The control module may be a System On Chip (SOC) chip, which serves as a program execution platform for the terminal. The Memory module may be a Double Data Rate (DDR), Flash Memory (Flash), or other devices, and is used to store programs, temporary Data, and the like. The communication module may include an in-vehicle mobile communication module (including but not limited to a 4G module or a 5G module), an in-vehicle network chip (including but not limited to a CAN transceiver chip, an in-vehicle ethernet PHY chip), and the like, for communicating with the external internet and a terminal component. The input and output module may include a display screen (touch screen or non-touch screen), keys, a microphone, a speaker, a USB interface, an antenna, a camera, and the like, and is configured to collect a control command input by a user and execute the control command sent by the server. The functional modules may include an audio/video codec chip or module, a Global Positioning System (GPS) module, a wireless network (WiFi) module, a bluetooth module, and so on. The power module can comprise various power chips and modules and is used for terminal voltage conversion and state monitoring.
The first OS is a basic software platform, is responsible for management of hardware resources and management scheduling of software tasks, and may be an operating system such as QNX, Linux, Android (Android), Vxworks, and the like.
The basic application service module provides the terminal with the capabilities of acquiring and processing audio and video data and command data, and comprises an equipment management function, a network and interface management function, a video or image coding and decoding function, an audio coding and decoding function and a command coding and decoding function. The peripheral management function can comprise display, microphone and loudspeaker management, video, image playing and audio playing are supported, and the function is achieved through a device driver and a device management component in the first OS. The network and interface management functions may include CAN network management and Input/Output (I/O) interface management, support CAN network communication and acquisition of I/O signals, and are implemented by a CAN communication component and an Input/Output management component in the first OS. The video or image coding and decoding function can be used for decoding data streams sent by the server and video or image data inside the terminal, the decoded data are output to a display screen of the terminal, and the function is realized by a video processing chip or a module. The audio coding and decoding function can be used for realizing the coding and decoding functions of audio data sent by the interior of a terminal or a server, collecting voice data input by a user, and playing the audio data at the same time, and is mainly realized by a Codec chip. The command codec function may encode key and/or touch input commands according to a proprietary protocol.
The mode switching module is configured to perform switching of a working mode, and may be implemented based on a mode switching process running in the first OS, where the process may acquire network state information of the terminal, for example, the process may acquire a network connection parameter by accessing a system log of the first OS, and determine the network state information according to the network connection parameter. And when the network state information meets the preset network condition, prompting a user to execute input operation and acquiring control information. It can be understood that when the terminal monitors that the network state is good (for example, in an open environment, a signal is strong, there is no shielding, etc.), the terminal enters a cloud operating mode; when the terminal monitors that the network state is abnormal (such as bridge opening, tunnel, abnormal electromagnetic environment interference and the like), the terminal enters a local working mode. The local operation mode and the cloud operation mode are explained as follows:
in the local working mode, the terminal can call the basic application service module to realize basic vehicle-machine application services, which can include a first vehicle-machine application service and a second vehicle-machine application service. The terminal is in a closed working state, does not have the function of accessing the Internet, and only can execute the offline function, and all the functions are executed by directly calling local hardware resources through the first OS by the related application service program. The first vehicle and mobile phone application service comprises all functions, except communication, of the functions which can be realized by the basic application service module, such as displaying, communication and the like, and the second vehicle and mobile phone application service is off-line service, such as off-line map, navigation, off-line music and the like.
In the cloud working mode, the terminal has the capability of connecting with the internet through the remote connection service, and the service logic of the terminal for realizing the function can be sent to the server by the terminal and executed by the server. It is understood that the terminal provides the functions of sensing, displaying and executing for the system image in the server. The sensing function refers to that the terminal is used for acquiring and transmitting manual operation commands and/or voice control commands of a user and sending acquired data to the server through the vehicle-mounted mobile network. The display function means that the terminal can log in the system mirror image in a specific account in a remote login mode and acquire the latest desktop data of the system mirror image. The execution function refers to that the terminal can play the image data and the audio data pushed by the server and execute the control command pushed by the server.
The server may be a cloud server, such as a public cloud server, a private cloud server, and the like, and may utilize a virtualization technology, such as opening up a user space, i.e., a virtual machine, on the server by using a virtual machine monitor (Hypervisor), where each virtual machine operates independently and does not interfere with each other. And the complete system image corresponding to the running terminal in the virtual machine comprises a second OS and a second application service, and the functions of the vehicle machine, such as calculation, storage, control, management and the like, are executed by relying on server resources, in other words, the server is used for realizing the main functions of the vehicle machine.
As one example, the design deployment may be based on a Virtual Desktop Infrastructure (VDI). The system image is deployed in the virtual machine of the server through technologies such as Linux Kernel virtualization, Kernel-based virtual machine (KVM), and the like. The second OS may select different types according to different implementation functions, such as Linux, Android, Windows, and the like; the second application service may include services for navigation, mapping, payment, multimedia, browser, infotainment, and the like.
The system image and the terminal use a virtual desktop transmission Protocol for data transmission, which may be an ICA Protocol, a PCoIP Protocol, a Remote Display Protocol (RDP), a SPICE Protocol, or the like.
In some embodiments, the terminal and the server communicate with each other by way of remote access, and the terminal is configured to collect control information input by a user, where the control information includes at least one of voice information input by the user by way of voice, key information input by the user through keys arranged on the terminal, and touch information input by the user through a touch element arranged on the terminal. And then the control information is sent to the server by using a virtual desktop transmission protocol. The server receives the local control information, executes a first operation corresponding to the control information based on the system mirror image, and the executed result is information of a second operation, which may include at least one of image data, audio data or a control command. Then, the information of the second operation can be sent to the terminal by using mobile communication technology such as 4G, 5G cellular communication, WiFi and the like, and the terminal performs the second operation according to the information of the second operation.
The method for implementing a virtual vehicle machine provided by the embodiment of the invention is described below with reference to the accompanying drawings:
fig. 4 is a flowchart illustrating a method for implementing a virtual vehicle machine according to an embodiment of the present invention, and is applied to a virtual vehicle machine system, where as shown in fig. 4, the method for implementing a virtual vehicle machine may include S410 to S460.
And S410, the terminal acquires the control information input by the user.
The control information may include at least one of voice information input by a user through a voice mode, key information input by the user through keys arranged on the terminal, and touch information input by the user through a touch element arranged on the terminal.
In some embodiments, the terminal may obtain its own network status information, and first, the terminal may obtain its own system log, where the system log includes the network connection parameters. Network status information may then be determined based on the network connection parameters. Then, the terminal can judge the network state information, when the network state information meets the preset network condition, the terminal can be understood to enter a cloud working mode when the network state is monitored to be good, a user is prompted to execute input operation, the user can input control information through operations such as voice, key pressing, touch control and the like, and at the moment, the terminal can acquire the control information through relevant components of the terminal.
And S420, the terminal sends control information to the server.
The transmission protocol between the terminal and the server can be a virtual desktop transmission protocol, the server is deployed with a virtual machine, and a system image corresponding to the terminal runs on the virtual machine.
S430, the server executes the first operation corresponding to the control information based on the system mirror image to obtain information of the second operation.
And the server receives the control information sent by the terminal, responds to the control information based on the system mirror image, executes a first operation corresponding to the control information, and obtains information of a second operation. Wherein the information of the second operation may include at least one of image data, audio data, or a control command.
S440, the server sends information of the second operation to the terminal.
And S450, the terminal executes a second operation.
In some embodiments, the terminal receives information of the second operation, and when the information of the second operation is image data, the terminal may perform a play operation to play the image data. When the information of the second operation is audio data, the terminal may perform a play operation to play the audio data. When the information of the second operation is a control command, the terminal may perform a control operation corresponding to the control command.
In the embodiment of the invention, a terminal acquires control information input by a user and sends the control information to a server, the server is provided with a virtual machine for operating a system image corresponding to the terminal, the server executes a first operation corresponding to the control information based on the system image to obtain information of a second operation, the information of the second operation is sent to the terminal, and the terminal executes the second operation. The system mirror image in the server is controlled to execute corresponding operation, dependence of the car machine function on terminal hardware can be eliminated, limitation of the hardware performance on the car machine function is reduced, the car machine function is expanded, and user experience is improved.
Fig. 5 is a schematic flowchart of another method for implementing a virtual vehicle machine according to an embodiment of the present invention, and as shown in fig. 5, the method includes the following steps:
and step 1, starting the terminal after the terminal is powered on.
And 2, hardware self-checking and initialization.
The terminal can carry out hardware self-test and initialization based on the SOC chip, and mainly comprises detection of a power supply, a clock and a reset state. If no fault exists, the terminal starts the first OS and initializes the first OS, and if faults of power supply undervoltage, short circuit, no clock output, abnormal reset and the like occur, the terminal stops starting the first OS.
And 3, starting the first OS.
The terminal starts loading the first OS from the memory, and the configuration management of the loading mode is controlled by a startup configuration management pin of the SOC chip.
And 4, carrying out configuration management based on the basic application service module.
The terminal starts a configuration management program of the basic application service module, and the display configuration, the network configuration, the interface configuration, the audio and video coding and decoding starting and the CAN configuration are completed through the equipment management function of the basic application service module.
And 5, acquiring network state information.
The terminal starts a mode switching process, wherein the mode switching process has the highest execution authority, can call the system log information of the first OS, and determines the network state information by reading the network connection state parameters in the system log.
And 6, judging whether the network state information meets preset network conditions.
Judging whether the network state information meets the preset network condition or not,
if yes, the network is good, go to step 7, if not, the network is poor, go to step 8,
and 7, the terminal enters a cloud working mode.
The terminal starts the remote connection service to realize the main vehicle function, namely the complex vehicle function specifically comprises the following steps:
And 701, the remote connection service program calls the network and interface management functions of the basic application service module in a terminal internal task calling mode, and accesses the internet through a 4G or 5G network.
Step 702, logging in a server through a virtual desktop transmission protocol, and accessing a desktop of a system image on a virtual machine deployed in the server.
Step 703, the terminal obtains control information input by the user, sends the control information to the server through the virtual desktop transport protocol, and the server executes a first operation corresponding to the control information based on the system image, specifically, performs processing by a second application service in the system image, obtains a processing result, that is, information of a second operation, and sends the information of the second operation to the terminal.
And step 704, the terminal receives the information of the second operation sent by the server and executes the second operation.
And 8, the terminal enters a local working mode.
And the terminal starts the first vehicle-machine application service and the second vehicle-machine application service to realize the basic vehicle-machine function.
Based on the method for implementing a virtual vehicle machine according to the embodiment of the present invention, an embodiment of the present invention further provides a device for implementing a virtual vehicle machine, which is applied to a terminal, and as shown in fig. 6, the device 600 may include: an obtaining module 610, a sending module 620, a receiving module 630 and an executing module 640.
The obtaining module 610 is configured to obtain control information input by a user.
The sending module 620 is configured to send the control information to a server, where the server is deployed with a virtual machine, and a system image corresponding to the terminal runs on the virtual machine, so that the server executes a first operation corresponding to the control information based on the system image to obtain information of a second operation.
A receiving module 630, configured to receive information of the second operation sent by the server.
And the execution module 640 is configured to execute the second operation.
In some embodiments, the obtaining module 610 is specifically configured to: and acquiring network state information of the terminal, prompting a user to execute input operation when the network state information meets a preset network condition, and acquiring control information.
In some embodiments, the obtaining module 640 is specifically configured to: and acquiring a system log of the terminal, wherein the system log comprises network connection parameters.
The apparatus 600 further comprises: the determining module 650 is configured to determine network status information according to the network connection parameter.
In some embodiments, the control information includes at least one of voice information input by a user through a voice manner, key information input by a user through keys provided on the terminal, and touch information input by a user through a touch element provided on the terminal.
In some embodiments, the transport protocol between the terminal and the server is a virtual desktop transport protocol.
It can be understood that each module/unit in the apparatus for implementing a virtual vehicle machine shown in fig. 6 has a function of implementing each step executed by the terminal in fig. 4, and can achieve the corresponding technical effect, and for brevity, no further description is provided herein.
Fig. 7 is a schematic structural diagram of another apparatus for implementing a virtual vehicle machine according to an embodiment of the present invention, where the apparatus uses a server, and as shown in fig. 7, the apparatus 700 may include: a receiving module 710, an executing module 720, and a sending module 730.
The receiving module 710 is configured to receive control information input by a user and sent by a terminal, where a system image corresponding to the terminal runs on a virtual machine.
The executing module 720 is configured to execute a first operation corresponding to the control information based on the system image, and obtain information of a second operation.
A sending module 730, configured to send information of the second operation to the terminal, so that the terminal executes the second operation.
In some embodiments, the control information includes at least one of voice information input by a user through a voice manner, key information input by a user through keys provided on the terminal, and touch information input by a user through a touch element provided on the terminal.
In some embodiments, the transport protocol between the terminal and the server is a virtual desktop transport protocol.
It can be understood that each module/unit in the apparatus for implementing a virtual vehicle machine shown in fig. 7 has a function of implementing each step executed by the server in fig. 4, and can achieve the corresponding technical effect, and for brevity, no further description is provided herein.
Fig. 8 is a schematic diagram of a hardware structure of a device for implementing a virtual vehicle machine according to an embodiment of the present invention.
As shown in fig. 8, the device 800 includes an input device 801, an input interface 802, a central processor 803, a memory 804, an output interface 805, and an output device 806. The input interface 802, the central processing unit 803, the memory 804, and the output interface 805 are connected to each other through a bus 810, and the input device 801 and the output device 806 are connected to the bus 810 through the input interface 802 and the output interface 805, respectively, and further connected to other components of the device 800 that implements a virtual vehicle machine.
Specifically, the input device 801 receives input information from the outside, and transmits the input information to the central processor 803 through the input interface 802; the central processor 803 processes input information based on computer-executable instructions stored in the memory 804 to generate output information, temporarily or permanently stores the output information in the memory 804, and then transmits the output information to the output device 806 via the output interface 805; output device 806 outputs the output information to the outside of device 800 implementing the virtual vehicle machine for use by the user.
In some embodiments, the apparatus 800 for implementing a virtual car machine shown in fig. 8 includes: a memory 804 for storing programs; the processor 803 is configured to run the program stored in the memory to execute the method for implementing the virtual car machine provided in the embodiment shown in fig. 4.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium has computer program instructions stored thereon; the computer program instructions, when executed by a processor, implement the method for implementing a virtual vehicle machine provided in the embodiment shown in fig. 4.
It should be clear that each embodiment in this specification is described in a progressive manner, and the same or similar parts among the embodiments may be referred to each other, and for brevity, the description is omitted. The invention is not limited to the specific configurations and processes described above and shown in the figures. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications and additions or change the order between the steps after comprehending the spirit of the present invention.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic Circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of machine-readable media include electronic circuits, semiconductor Memory devices, Read-Only memories (ROMs), flash memories, erasable ROMs (eroms), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the exemplary embodiments mentioned in this patent describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
As described above, only the specific embodiments of the present invention are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present invention, and these modifications or substitutions should be covered within the scope of the present invention.
Claims (12)
1. A method for realizing a virtual vehicle machine is characterized in that the method is applied to a terminal and comprises the following steps:
acquiring control information input by a user;
sending the control information to a server, wherein the server is deployed with a virtual machine, and a system image corresponding to the terminal runs on the virtual machine, so that the server executes a first operation corresponding to the control information based on the system image to obtain information of a second operation;
receiving the information of the second operation sent by the server;
and executing the second operation.
2. The method of claim 1, wherein the obtaining the control information input by the user comprises:
acquiring network state information of the terminal;
and when the network state information meets the preset network condition, prompting the user to execute input operation and acquiring the control information.
3. The method of claim 2, wherein the obtaining the network information of the terminal comprises:
acquiring a system log of the terminal, wherein the system log comprises network connection parameters;
and determining the network state information according to the network connection parameters.
4. The method according to any one of claims 1 to 3, wherein the control information includes at least one of voice information input by the user by voice, key information input by the user through keys provided on the terminal, and touch information input by the user through a touch element provided on the terminal.
5. A method according to any of claims 1-3, characterized in that the transport protocol between the terminal and the server is a virtual desktop transport protocol.
6. A method for realizing a virtual machine is characterized in that the method is applied to a server, the server is provided with a virtual machine, and the method comprises the following steps:
Receiving control information input by a user and sent by a terminal, wherein a system image corresponding to the terminal runs on the virtual machine;
executing a first operation corresponding to the control information based on the system mirror image to obtain information of a second operation;
and sending the information of the second operation to the terminal for the terminal to execute the second operation.
7. The method according to claim 6, wherein the control information includes at least one of voice information input by the user through a voice mode, key information input by the user through keys provided on the terminal, and touch information input by the user through a touch element provided on the terminal.
8. The method according to claim 6 or 7, wherein the transmission protocol between the terminal and the server is a virtual desktop transmission protocol.
9. The utility model provides a realize device of virtual car machine, its characterized in that, the device is applied to the terminal, the device includes:
the acquisition module is used for acquiring control information input by a user;
the sending module is used for sending the control information to a server, wherein the server is deployed with a virtual machine, and a system image corresponding to the terminal runs on the virtual machine, so that the server executes a first operation corresponding to the control information based on the system image to obtain information of a second operation;
The receiving module is used for receiving the information of the second operation sent by the server;
and the execution module is used for executing the second operation.
10. The utility model provides a realize device of virtual car machine, its characterized in that, the device is applied to the server, the server is deployed with virtual machine, the device includes:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving control information input by a user and sent by a terminal, and a system image corresponding to the terminal runs on the virtual machine;
the execution module is used for executing a first operation corresponding to the control information based on the system mirror image to obtain information of a second operation;
and the sending module is used for sending the information of the second operation to the terminal so that the terminal can execute the second operation.
11. The utility model provides an realize equipment of virtual car machine which characterized in that, equipment includes: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements a method of implementing a virtual vehicle machine as claimed in any one of claims 1-8.
12. A computer-readable storage medium having computer program instructions stored thereon, which when executed by a processor implement the method of implementing a virtual vehicle machine according to any one of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010579370.0A CN111857494A (en) | 2020-06-23 | 2020-06-23 | Method, device, equipment and storage medium for realizing virtual vehicle machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010579370.0A CN111857494A (en) | 2020-06-23 | 2020-06-23 | Method, device, equipment and storage medium for realizing virtual vehicle machine |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111857494A true CN111857494A (en) | 2020-10-30 |
Family
ID=72988066
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010579370.0A Pending CN111857494A (en) | 2020-06-23 | 2020-06-23 | Method, device, equipment and storage medium for realizing virtual vehicle machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111857494A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113505055A (en) * | 2021-04-22 | 2021-10-15 | 惠州市德赛西威智能交通技术研究院有限公司 | Method and system for conveniently and rapidly capturing log based on Android system |
CN113722105A (en) * | 2021-09-14 | 2021-11-30 | 百度在线网络技术(北京)有限公司 | Cloud application operation method, device, equipment, medium and product |
CN115665700A (en) * | 2022-10-20 | 2023-01-31 | 浙江吉利控股集团有限公司 | OTA updating method, device, equipment and storage medium based on vehicle machine |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015117982A1 (en) * | 2014-02-04 | 2015-08-13 | Volkswagen Aktiengesellschaft | Data transfer method, communications network, subscriber and vehicle |
CN105323284A (en) * | 2014-07-28 | 2016-02-10 | 上海博泰悦臻网络技术服务有限公司 | Vehicle-mounted cloud APP (application) terminal, method, service system and method |
CN107040425A (en) * | 2017-06-02 | 2017-08-11 | 广东汇泰龙科技有限公司 | A kind of automatic identification network environment is locked with the method for switching working mode and intelligent cloud |
CN107426624A (en) * | 2017-05-26 | 2017-12-01 | 北京视博云科技有限公司 | Video game realization method and system, television terminal, cloud server, medium |
CN107959701A (en) * | 2016-10-17 | 2018-04-24 | 中兴通讯股份有限公司 | Data sharing method, cloud terminal, cloud desktop virtual machine and pass-through proxy server |
US20200026546A1 (en) * | 2019-09-10 | 2020-01-23 | Lg Electronics Inc. | Method and apparatus for controlling virtual machine related to vehicle |
CN111083155A (en) * | 2019-12-25 | 2020-04-28 | 斑马网络技术有限公司 | Vehicle machine and cloud interaction method and device |
-
2020
- 2020-06-23 CN CN202010579370.0A patent/CN111857494A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015117982A1 (en) * | 2014-02-04 | 2015-08-13 | Volkswagen Aktiengesellschaft | Data transfer method, communications network, subscriber and vehicle |
CN105323284A (en) * | 2014-07-28 | 2016-02-10 | 上海博泰悦臻网络技术服务有限公司 | Vehicle-mounted cloud APP (application) terminal, method, service system and method |
CN107959701A (en) * | 2016-10-17 | 2018-04-24 | 中兴通讯股份有限公司 | Data sharing method, cloud terminal, cloud desktop virtual machine and pass-through proxy server |
CN107426624A (en) * | 2017-05-26 | 2017-12-01 | 北京视博云科技有限公司 | Video game realization method and system, television terminal, cloud server, medium |
CN107040425A (en) * | 2017-06-02 | 2017-08-11 | 广东汇泰龙科技有限公司 | A kind of automatic identification network environment is locked with the method for switching working mode and intelligent cloud |
US20200026546A1 (en) * | 2019-09-10 | 2020-01-23 | Lg Electronics Inc. | Method and apparatus for controlling virtual machine related to vehicle |
CN111083155A (en) * | 2019-12-25 | 2020-04-28 | 斑马网络技术有限公司 | Vehicle machine and cloud interaction method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113505055A (en) * | 2021-04-22 | 2021-10-15 | 惠州市德赛西威智能交通技术研究院有限公司 | Method and system for conveniently and rapidly capturing log based on Android system |
CN113722105A (en) * | 2021-09-14 | 2021-11-30 | 百度在线网络技术(北京)有限公司 | Cloud application operation method, device, equipment, medium and product |
CN115665700A (en) * | 2022-10-20 | 2023-01-31 | 浙江吉利控股集团有限公司 | OTA updating method, device, equipment and storage medium based on vehicle machine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111857494A (en) | Method, device, equipment and storage medium for realizing virtual vehicle machine | |
RU2628429C2 (en) | Vehicle software update system | |
JP5966718B2 (en) | Near field communication system and near field communication terminal | |
CN104044526B (en) | A kind of vehicle intelligent information system | |
CN112965465B (en) | Automobile diagnostic instrument, operation system method thereof and automobile diagnostic system | |
CN111179930B (en) | Method and system for realizing intelligent voice interaction in driving process | |
JP2004254092A (en) | Vehicle-mounted controller | |
US20160352886A1 (en) | Methods and Systems for a Vehicle Computing System to Launch an Application | |
CN103141125A (en) | Wireless communication device and wireless communication method | |
KR20160090103A (en) | A multimedia terminal for verhicle and a method of the same for processing data | |
CN114764323A (en) | Intelligent system and method based on SOA framework and vehicle | |
CN113671926B (en) | Vehicle-mounted internet terminal and electric automobile | |
CN111294729A (en) | Network switching method, device, equipment and medium of mobile terminal | |
US20160021193A1 (en) | Method of automatically closing an application on transport disconnect | |
CN111399874A (en) | System upgrading method and device, storage medium and intelligent wearable device | |
CN109688572A (en) | Automobile and mobile phone interconnection method and system based on NFC | |
CN111726848B (en) | Equipment binding method, target starting device, fixed terminal and storage medium | |
CN111800763B (en) | Intelligent device and communication system and method of AP module and WCN module thereof | |
CN114845275A (en) | Method and device for carrying out function assistance on vehicle-mounted terminal | |
CN117939438A (en) | Control method and device for vehicle-mounted system, electronic equipment and storage medium | |
CN115576627A (en) | Middleware configuration management method, device, equipment, storage medium and operating machine | |
US20210360516A1 (en) | Communication control device, terminal device, communication control method, and control program | |
CN105246170B (en) | Wearable device and data receiving and transmitting method thereof | |
CN109450758B (en) | Intelligent vehicle machine system | |
CN114564212A (en) | Application deployment method and device of vehicle-mounted edge computing device based on K3s, storage medium and terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201030 |
|
RJ01 | Rejection of invention patent application after publication |