Unlock instant, AI-driven research and patent intelligence for your innovation.

Communication method and apparatus, electronic device, and program product

A technology of communication program and communication method, which is applied in the field of virtualization, and can solve the problems of establishing connection, virtual machines not being able to be at the same time, and no longer being able to communicate flexibly.

Active Publication Date: 2017-08-18
CLOUDMINDS SHANGHAI ROBOTICS CO LTD
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, terminals with multiple virtual machines and multiple operating systems are developing rapidly, but there is no reasonable solution for each virtual machine to communicate through communication components under the multi-virtual machine system architecture in the prior art
Because the terminal needs to implement voice or data communication through the communication component, and a corresponding communication component usually can only run one communication interface layer communication program to realize the communication function, so when multiple virtual machines need to use the same communication component for communication, they cannot Each virtual machine runs the communication interface layer communication program corresponding to the communication component
If the multi-virtual machine terminal has only one communication component, it can only run the corresponding communication interface layer communication program on one of the virtual machines to achieve communication. If other virtual machines need to communicate, they need to re-establish communication interfaces on the virtual machines that need to communicate. Layer communication program, the access is not flexible, and the operation steps are complicated; if the multi-virtual machine terminal has multiple communication components, usually after the virtual machine corresponding to the communication component is determined, other virtual machines will no longer be able to communicate flexibly through these communication components Function
[0004] The deficiency of the prior art mainly lies in: there is no reasonable solution for multi-virtual machines to share one or more communication components to achieve communication in a multi-virtual machine terminal, and each virtual machine cannot establish a connection with the communication component at the same time, and cannot pass through in time when communication is required. Communication components realize communication functions

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Communication method and apparatus, electronic device, and program product
  • Communication method and apparatus, electronic device, and program product
  • Communication method and apparatus, electronic device, and program product

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] FIG. 1 shows a schematic flowchart of a communication method in Embodiment 1 of the present invention, wherein Figure 1A is a schematic diagram of the forward flow of the communication method, Figure 1B It is a schematic diagram of the reverse flow of the communication method.

[0045] Such as Figure 1A As shown, the forward process of the communication method includes:

[0046] Step 101. Obtain a communication request of a first virtual machine application;

[0047] Step 102, package the communication request on the second virtual machine, and send the packaged communication request to the communication component.

[0048] In step 101, the first virtual machine application is an application program running on the first virtual machine, and the application program will initiate a communication request when needed, where the communication request corresponds to the application program, for example, when the When the application program is a dialer, the communication...

Embodiment 2

[0072] FIG. 3 shows a schematic flowchart of a communication method in Embodiment 2 of the present invention, wherein Figure 3A is a schematic diagram of the forward flow of the communication method, Figure 3B It is a schematic diagram of the reverse flow of the communication method. Where the second embodiment is similar to or duplicated with the first embodiment, reference may be made to the description of the first embodiment above.

[0073] Such as Figure 3A As shown, the forward process of the communication method includes:

[0074] Step 301. Obtain a communication request of a first virtual machine application;

[0075] Step 302: Determine the second correspondence between the first virtual machine application and the communication component, and determine the communication interface layer communication program corresponding to the first virtual machine application according to the second correspondence and the first correspondence, wherein The communication inter...

Embodiment 3

[0101] Embodiment 3 of the present invention uses the daemon process of the wireless interface layer in the Android operating environment as the communication program of the communication interface layer to describe Embodiment 1 of the present invention in detail. Figure 4 A schematic diagram of a virtualization system architecture in Embodiment 3 of the present invention is shown.

[0102] Mobile terminal has two modems Modem, Modem1 and Modem2, usually each Modem can correspond to a SIM card (in this embodiment, Modem1 has inserted SIM card 1, and Modem2 has inserted SIM card 2); Mobile terminal has two The virtual machines, the virtual machines VM1 and VM2, carry respective operating systems and related application programs, so that users can perform isolated operations.

[0103] A radio interface layer daemon process RILD1 (Radio Interface Layer Deamon) and a proxy radio interface layer daemon process pRILD2 are run in the radio interface layer RIL of the virtual machine ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides a communication method and apparatus, an electronic device, and a program product. The method comprises: obtaining a communication request of a first virtual machine application, packetizing the communication request on a second virtual machine, and sending the packetized communication request to a communication component; and / or receiving communication data sent by the communication component, parsing the communication data on the second virtual machine, and sends the parsed communication data to the first virtual machine application. In the present application, on the basis that a connection between a second virtual machine and a communication device is established, a first virtual machine can also establish a connection with the communication component by means of the second virtual machine, and as required, the first virtual machine can directly implement communication according to the connection relationship.

Description

technical field [0001] The present invention relates to the technical field of virtualization, in particular to a communication method, device, electronic equipment and program product. Background technique [0002] Virtualization allows multiple virtual machines to run on mobile phones, handheld devices or computers at the same time. Through virtualization technology, users can access multiple virtual machines and multiple operating systems on one physical device without using two or more mobile devices. Virtualization technology has significant features in terms of security. The isolation brought by virtualization technology can realize the isolation of multiple operating systems on a single terminal, and prevent the processes on each operating system from adversely affecting other operating systems. [0003] At present, terminals with multiple virtual machines and multiple operating systems are developing rapidly, but there is no reasonable solution for each virtual machi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455G06F9/54
CPCG06F9/45558G06F9/544H04W88/06G06F9/45533G06F2009/45579G06F2009/45595G06F9/455
Inventor 王永辉
Owner CLOUDMINDS SHANGHAI ROBOTICS CO LTD