CN108509249B - Virtual system restarting method and equipment - Google Patents

Virtual system restarting method and equipment Download PDF

Info

Publication number
CN108509249B
CN108509249B CN201710100019.7A CN201710100019A CN108509249B CN 108509249 B CN108509249 B CN 108509249B CN 201710100019 A CN201710100019 A CN 201710100019A CN 108509249 B CN108509249 B CN 108509249B
Authority
CN
China
Prior art keywords
virtual
virtual system
vrild
restarted
connection
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.)
Active
Application number
CN201710100019.7A
Other languages
Chinese (zh)
Other versions
CN108509249A (en
Inventor
谢峰
韩伟东
徐江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201710100019.7A priority Critical patent/CN108509249B/en
Publication of CN108509249A publication Critical patent/CN108509249A/en
Application granted granted Critical
Publication of CN108509249B publication Critical patent/CN108509249B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45575Starting, stopping, suspending or resuming virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application relates to a method and equipment for restarting a virtual system, wherein the method is applied to the virtual system, the virtual system is deployed on a host system, the virtual system comprises a virtual radio interface layer vRILD, and the method comprises the following steps: when the virtual system is restarted, acquiring connection information between the virtual system and the host system before the virtual system is restarted; providing the connection information to the vRILD to facilitate the vRILD reestablishing a connection with the host system using the connection information. The method and the device can realize the virtual telephone function service, can automatically connect and recover after being restarted in the virtual machine or the container, and ensure that the telephone function service is not interrupted.

Description

Virtual system restarting method and equipment
Technical Field
The invention relates to the technical field of intelligent telephones, in particular to a method and equipment for restarting a virtual system.
Background
With the increasing popularization of smart phones, the functions and performances of smart phones are also more powerful, and then a demand for operating multiple systems on smart phones, such as BYOD, security dual system, and other scenes, gradually appears.
Currently, a plurality of Virtual Machines (VMs) or containers (containers) are installed on a smart phone to implement multi-system operation of the smart phone. Each virtual machine or container can be applied to a system of the smart phone, and each system comprises a function of a virtual phone application (equivalent to a phone APP), so that a user can realize paging and answering of a phone through the function of the virtual phone application in each system.
However, for the current dual-system or multi-system smart phone, a restart function of a virtual machine or a container of a single system is not provided, that is, in the call process, if a virtual machine or a container in a certain system fails, the whole smart phone is restarted, so that communication data loss during the call of a user is caused, and the normal use of the smart phone is influenced.
Disclosure of Invention
The application provides a virtual system restarting method and equipment, and a restarting function of a single virtual machine or container is provided for a smart phone. In order to solve the technical problem, the application discloses the following technical scheme:
in a first aspect, this embodiment provides a method for restarting a virtual system, where the method is applied to a virtual system, the virtual system is deployed on a host system, the virtual system includes a virtual radio interface layer vRILD, and the method includes: when the virtual system is restarted, acquiring connection information between the virtual system and the host system before the virtual system is restarted; providing the connection information to the vRILD to facilitate the vRILD reestablishing a connection with the host system using the connection information. The virtual system may be a Virtual Machine (VM) or a container (container).
The method provided by the aspect provides a restarting function of a single virtual machine or container for the intelligent device, and after the virtual system is restarted, the connection information between the virtual system and the host system before restarting, such as port information of a vRILD connection in the host system and the virtual system, is acquired, so that the vRILD can establish a connection with the host system by using the connection information, the connection is the same as that before the virtual system is restarted, the process that the host system and the virtual system reestablish a new connection after restarting is avoided, the whole intelligent device is restarted, and the recovery speed after the virtual system is restarted is improved.
With reference to the first aspect, in a first implementation of the first aspect, the connection information includes: address information used for being connected with the vRILD in the host system, and port information used for being connected with the vRILD in the host system before the virtual system is restarted. After the virtual system is restarted, the port connected with the host system before the virtual system is restarted can be continuously used through the address information and the port information, and the phenomenon that the host system redistributes a new port to be connected with the virtual system, so that the hardware in the whole host system and the intelligent equipment is restarted is avoided.
With reference to the first aspect or the first implementation of the first aspect, in a second implementation of the first aspect, before the virtual system is restarted, the method further includes: when the virtual system is started, establishing communication connection with the host system; and acquiring and storing connection information of the communication connection established between the virtual system and the host system.
With reference to the first aspect and the first or second implementation of the first aspect, in a third implementation of the first aspect, the virtual system further includes a virtual phone function service, where the virtual phone function service is connected to the vRILD, and after the vRILD reestablishes a connection with the host system by using the connection information, the method further includes: the vRILD acquires state data before the virtual system is restarted from the host system; and the vRILD sends the state data before the virtual system is restarted to the virtual telephone function service so as to restore the virtual telephone function service to the state before the virtual system is restarted.
The state data before the virtual machine is restarted comprises: the virtual telephone function comprises an opposite terminal number for communicating with the terminal equipment and data representing the state of the virtual telephone function service, wherein the state of the virtual telephone function comprises a communication state, a communication holding state, an outgoing to-be-answered state, an incoming call waiting state and the like.
In the aspect, after the virtual system and the host system are re-connected, the host system sends the state data between the restarting of the virtual system to the vRILD, so that the virtual telephone function service in the virtual system is restored to the corresponding telephone interface and state before restarting, and the communication data loss during the user conversation after the virtual machine or the container is restarted due to the fault is avoided.
With reference to the first aspect and the first to second implementations of the first aspect, in a third implementation of the first aspect, the virtual system further includes: the virtual phone recovery module for storing the connection information, wherein the obtaining of the connection information between the virtual system and the host system before the restart of the virtual system includes: and acquiring the connection information between the virtual system and the host system before the restart from the virtual phone recovery module. The virtual phone recovery module is used for storing and providing the connection information between the virtual system and the host system before the restart.
In a second aspect, this embodiment provides a method for restarting a virtual system, where the method is applied to a host system, where a virtual system is deployed on the host system, where the virtual system includes a virtual radio interface layer vRILD, and the method includes: when the virtual system is started, establishing communication connection with the virtual system, and sending connection information of the communication connection established with the virtual system to the virtual system; after the virtual system is restarted, acquiring a communication connection request sent by the virtual system, wherein the communication connection request comprises: and the port information used for being connected with the vRILD before the virtual system is restarted is utilized to reestablish the connection with the host system.
With reference to the second aspect, in a first implementation of the second aspect, the connection information includes: address information used for being connected with the vRILD in the host system, and port information used for being connected with the vRILD in the host system before the virtual system is restarted.
With reference to the second aspect or the first implementation of the second aspect, in a second implementation of the second aspect, after the sending the connection information between the virtual system and the host system before the restart to the virtual system, the method further includes: acquiring state data before the virtual system is restarted; and sending the state data to the virtual system so as to restore the virtual telephone function service in the virtual system to the state before the restart of the virtual system.
In a third aspect, an embodiment of the present application provides a computer device, which may specifically be a terminal, a server, and the like. The computer device includes: the virtual telephone agent module is used for establishing communication connection with the virtual system when the virtual system is started, and sending connection information of the communication connection established with the virtual system to the virtual system; and the virtual system is used for acquiring and storing the connection information, and providing the connection information for the vRILD after the virtual system is restarted, so that the vRILD can reestablish connection with the host system by using the connection information.
With reference to the third aspect, in a first implementation of the third aspect, the connection information includes: address information used for being connected with the vRILD in the host system, and port information used for being connected with the vRILD in the host system before the virtual system is restarted.
With reference to the third aspect, in a second implementation of the third aspect, the virtual system further includes a virtual phone function service, where the virtual phone function service is connected to the vRILD, and the vRILD is further configured to obtain state data before the virtual system is restarted from the host system after the virtual phone function service is re-connected to the host system, and send the state data to the virtual phone function service; and the virtual telephone function service is used for receiving and restoring the state data to the state before the restart of the virtual system.
With reference to the third aspect and the first or second implementation of the third aspect, in a third implementation of the third aspect, the virtual system further includes: and the virtual phone recovery module is used for acquiring and storing the connection information when the virtual system is started, and providing the connection information for the vRILD after the virtual system is restarted.
With reference to the third aspect and the first or second implementation of the third aspect, in a fourth implementation of the third aspect, the virtual phone agent module is configured to configure port information connected to the vRILD when the virtual system is started, and establish a communication connection with the virtual system by using the port information;
the virtual telephone agent module is further configured to obtain a communication connection request sent by the virtual system after the virtual system is restarted, where the communication connection request includes the port information, and reestablishes a connection with the host system by using the port information.
In a fourth aspect, the present application further provides a computer storage medium, where the computer storage medium may store a program, and the program may include some or all of the steps in each implementation manner of the virtual system restart method provided in the present application when executed.
The virtual system restarting method and the virtual system restarting device can realize virtual telephone function service, can automatically connect and recover after being restarted in a virtual machine or a container, and ensure that the telephone function service is not interrupted.
Drawings
Fig. 1 is a schematic diagram illustrating an internal architecture of a virtual system restart according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a virtual system restarting method according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of an internal architecture of a terminal device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
To facilitate the subsequent description and to clarify the description of the present application, a brief description of possible concepts of the present application is provided below:
the method and the device provided by the embodiments of the present application are applied to a terminal device with a virtual phone application service function, where the terminal device may be a device providing voice and/or data connectivity to a user, a handheld device with a wireless connection function, or other processing devices connected to a wireless modem.
Terminal devices, which may be mobile terminals such as mobile telephones (or "cellular" telephones) and computers having mobile terminals, such as portable, pocket, hand-held, computer-included, or vehicle-mounted mobile devices, may communicate with one or more core networks via a Radio Access Network (RAN), which exchanges language and/or data with the RAN. Examples of such devices include Personal Communication Service (PCS) phones, cordless phones, Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistants (PDAs), and the like. A terminal device may also be referred to as a Subscriber Unit (SU), a Subscriber Station (SS), a Mobile Station (MS), a Remote Station (RS), an Access Point (AP), a Remote Terminal (RT), an Access Terminal (AT), a User Terminal (UT), a User Agent (UA), a User Equipment (UE), or a User Equipment (UE), and may also be other devices, which are not limited in the embodiments of the present application.
Referring to fig. 1, a schematic diagram of an internal architecture of a restart of a virtual system is shown, which includes a Host system (Host) and a virtual system deployed on the Host system, where the virtual system includes a virtual machine or a container.
Further, a software layer is run on the hardware of the terminal device, and the software layer may be generally referred to as a Virtual Machine Monitor (VMM) (or hypervisor), and the software layer may virtualize a hardware environment, and the virtualized hardware environment is referred to as a Virtual machine, where a Virtual machine operating system (vm OS) may be deployed on the Virtual machine, and also becomes a Guest operating system (Guest OS), and APP software such as a Virtual phone application may be run in the Guest OS.
The container is similar to the virtual machine in function, and only differs from the virtual machine in that all containers on the terminal device share one kernel, and a plurality of operating systems are run on one physical hardware by using some isolation technologies (container technologies) of the kernel. The container technology belongs to one of virtualization technologies.
As shown in fig. 1, the virtual system includes a virtual Radio Interface Layer (vRILD), a virtual phone Recovery module (vpone Recovery), and other applications APP. The host system comprises a virtual phone Proxy module (vPhone Proxy), an RILD, an RIL HAL and the like, wherein the RIL or the RILD is used for enabling the virtual system to access a real RIL interface on the smart phone, so that virtualization of phone services is realized. The hardware system comprises a modem (modem) which is used for recording and storing state data of the smart phone.
Referring to fig. 2, a virtual system restart method is provided for this embodiment, and the method includes:
step 201: and when the virtual system is restarted, the virtual system is restarted to acquire the connection information between the virtual system and the host system before the virtual system is restarted.
Wherein the connection information includes: address information for connection with the vRILD in the host system, port information for connection with the vRILD in the host system before the virtual system is restarted, and the like. The restart comprises the active restart of a user and the restart of a virtual system caused by the occurrence of a fault in the conversation process.
When the virtual system is started, the vRILD in the virtual system establishes communication connection with the host system, and the specific process comprises the following steps: the vRILD sends a connection request to the host system, and the host system receives the connection request, establishes a communication connection with the virtual system, and generates connection information. For example, the host system allocates a port number for connection to the virtual system, and sends the port number and an address of the host system to the vRILD, so as to implement communication connection between the virtual system and the host system.
And after the virtual system is restarted, the virtual system sends the connection information between the virtual system and the host system before the virtual system is restarted to the host system.
Step 202: providing the connection information to the vRILD to facilitate the vRILD reestablishing a connection with the host system using the connection information.
Specifically, after the virtual system is restarted, the vRILD in the virtual system determines the address information of the host system according to the connection information with the host system before the virtual system is restarted, and sends a communication connection request to the host system, where the communication connection request includes: and port information used for connecting with the vRILD before the virtual system is restarted. The host system receives the communication connection request and reestablishes a connection with the host system using the port information.
The method provided by the embodiment provides the restart function of a single virtual machine or container for the smart phone, and after the virtual system is restarted, by acquiring the connection information, such as port information, between the virtual system and the host system before the restart, the vRILD in the virtual system can establish a connection with the host system by using the connection information, which is the same as that before the restart of the virtual system, so that the process of reestablishing a new connection between the host system and the virtual system after the restart is avoided, the restart of the whole intelligent device is caused, and the recovery speed after the restart of the virtual system is improved.
In addition, after the virtual machine is restarted, the virtual system can continue to use the port connected with the host system before the virtual system is restarted by acquiring the address information and the port information in the connection information, so that the phenomenon that the host system redistributes a new port to be connected with the virtual system, and the hardware in the whole host system and the smart phone is restarted is avoided.
Optionally, the virtual system further includes a virtual phone recovery module for storing the connection information, and the obtaining of the connection information between the virtual system and the host system before the restart in step 201 includes: and acquiring the connection information between the virtual system and the host system before the virtual system is restarted from the virtual phone recovery module, and setting the virtual phone recovery module in the virtual system to enable the virtual system to directly acquire the connection information, thereby realizing the automatic restart and recovery functions of the virtual system.
In an optional embodiment, the virtual system further includes a virtual telephony function service, the virtual telephony function service being connected to the vRILD, and after the vRILD reestablishes a connection with the host system using the connection information, the method further includes:
step 203: and the vRILD acquires the state data before the virtual system is restarted from the host system.
Wherein the state data before the virtual machine is restarted comprises: the virtual telephone function comprises an opposite terminal number for communicating with the terminal equipment and data representing the state of the virtual telephone function service, wherein the state of the virtual telephone function comprises a communication state, a communication holding state, an outgoing to-be-answered state, an incoming call waiting state and the like.
Optionally, after the virtual system is reconnected with the host system, the host system obtains state data before the virtual system is restarted from the modeln of the hardware, and then sends the state data to the vRILD in the virtual system.
Step 204: and the vRILD sends the state data before the virtual system is restarted to the virtual telephone function service so as to restore the virtual telephone function service to the state before the virtual system is restarted.
Optionally, by restarting the virtual system, other application functions in the virtual system may be restored to the page state before the restart, for example, application function software such as WeChat and QQ.
In this embodiment, after the virtual system and the host system reestablish the connection, the host system sends the state data between the restart of the virtual system to the vRILD, thereby implementing that the virtual phone function service in the virtual system is restored to the corresponding phone interface and state before the restart, avoiding the communication data loss during the user's call after the restart due to the failure of the virtual machine or the container, and ensuring that the phone application function service is not interrupted.
In an embodiment of the present application, a terminal device is provided, which is applied to the foregoing virtual system restarting method, and as shown in fig. 3, the terminal device includes: a virtual system 301, a host system 302, and other hardware devices 303. Wherein, virtual system 301 includes vRILD3010, virtual phone function service 3012 and virtual phone recovery module 3013, and host system 302 includes: a virtual telephony proxy module 3021.
Optionally, the host system 302 further comprises a RILD 3022, a RIL HAL 3023, and the like, wherein the RIL or RILD is used to enable the virtual system to access the real RIL interface on the terminal device, thereby implementing virtualization of the telephony service.
The virtual phone agent module 3021 is configured to, when the virtual system is started, establish a communication connection with the virtual system, send connection information of the communication connection established with the virtual system to the virtual system, and, when the virtual system is restarted, reestablish a connection with the virtual system according to the connection information.
Wherein the connection information includes: address information used for being connected with the vRILD in the host system, and port information used for being connected with the vRILD in the host system before the virtual system is restarted.
Specifically, the virtual phone agent module 3021 is configured to configure port information connected to the vRILD when the virtual system is started, and establish a communication connection with the virtual system using the port information. And when the virtual system is restarted, acquiring a communication connection request sent by the virtual system, wherein the communication connection request comprises port information used for being connected with the vRILD before the virtual system is restarted, and reestablishing connection with the virtual system by using the port information.
The virtual system 301 is configured to acquire and store the connection information, and provide the connection information to the vRILD after the virtual system is restarted.
And the vRILD3010 is used for receiving the connection information and reestablishing the connection with the host system by using the connection information.
Optionally, the virtual phone recovery module 3013 in the virtual system is configured to obtain and store the connection information when the virtual system is started, and provide the connection information to the vRILD after the virtual system is restarted.
The vRILD3010 is further configured to, after reestablishing a connection with the host system, obtain state data before the virtual system is restarted from the host system, and send the state data to the virtual phone function service 3012.
And the virtual telephone function service 3012 is configured to receive and recover, using the state data, a state before the virtual system is restarted, for example, a call interface and a state before the virtual system is restarted.
Optionally, the virtual phone function service 3012 obtains the status data from the modem 3031. Wherein the status data comprises: the virtual telephone function comprises an opposite terminal number for communicating with the terminal equipment and data representing the state of the virtual telephone function service, wherein the state of the virtual telephone function comprises a communication state, a communication holding state, an outgoing to-be-answered state, an incoming call waiting state and the like.
The modem 3031 is used for recording and saving the state data of the terminal equipment and providing the state data to the host system after the virtual system is restarted.
The terminal device provided by the embodiment provides the restart function of a single virtual machine or container for the smart phone, so that the virtual machine or container can be recovered to the state before the restart after the restart, and the virtual phone function service is not interrupted.
As shown in fig. 4, the terminal device in the embodiment of the present application may be composed of a processor 401 and a memory 402, and is used to implement the method steps in the foregoing embodiments.
The memory 402 is mainly used for storing software programs, and the processor 401 is used for reading the software programs in the memory and executing the method according to any of the foregoing embodiments.
Specifically, the processor 401 is configured to, after the virtual system is restarted, obtain connection information between the virtual system and the host system before the virtual system is restarted; providing the connection information to the vRILD to facilitate the vRILD reestablishing a connection with the host system using the connection information.
Optionally, the processor 401 is further configured to obtain state data before the virtual system is restarted, and send the state data to the virtual phone function service, so that the virtual phone function service is restored to the state before the virtual system is restarted.
Optionally, the processor 401 is further configured to establish a communication connection with the host system when the virtual system is started, and acquire and store connection information of the communication connection established between the virtual system and the host system.
Optionally, the processor 401 is specifically configured to configure port information connected to the vRILD when the virtual system is started, and establish a communication connection with the virtual system by using the port information; and after the virtual system is restarted, acquiring a communication connection request sent by the virtual system, wherein the communication connection request comprises port information used for being connected with the virtual system in the host system before the virtual system is restarted, and reestablishing connection with the virtual system by using the port information.
The memory 402 is also used to hold some data information. For example, the connection information of the virtual system and the host system before the virtual system is restarted, the state data before the virtual machine is restarted, and the like are saved.
Wherein the connection information includes: address information in the host system for connecting with the virtual system, and port information in the host system for connecting with the virtual system before the virtual system is restarted. The state data before the virtual machine is restarted comprises: the virtual telephone function comprises an opposite terminal number for communicating with the terminal equipment and data representing the state of the virtual telephone function service, wherein the state of the virtual telephone function comprises a communication state, a communication holding state, an outgoing to-be-answered state, an incoming call waiting state and the like.
Memory 402 may include volatile memory (volatile memory), such as Random Access Memory (RAM); non-volatile memory (non-volatile memory) such as flash memory (flash memory), hard disk (HDD) or solid-state drive (SSD); the memory may also comprise a combination of memories of the kind described above, in which programs or code may be stored, which programs or code may be executed by a processor in the network element to carry out the functions of the network element.
The processor 401 is a control center of the terminal device, and implements a single restart function of restarting the virtual machine or the container by running or executing the software programs and/or modules stored in the memory. The processor may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of a CPU and an NP. The processor may further include a hardware chip.
The present application further provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments of the virtual system restart method provided in the present application when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like.
The recoverable telephone service related to the embodiments in the present specification covers voice and data services of 2G, 3G, and 4G, VoLTE, and is not limited to the above services, and all Modem-based telephone virtualization belong to the protection scope.
The method used in each embodiment in the specification is not limited to the Android system, and the method of the present application can also be adopted for restarting and recovering virtual systems of other operating systems.
Those skilled in the art will clearly understand that the techniques in the embodiments of the present application may be implemented by way of software plus a required general hardware platform. Based on such understanding, the technical solutions in the embodiments of the present application may be essentially or partially implemented in the form of software products, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and include several instructions for executing the methods described in the embodiments or some parts of the embodiments of the present application.
The same and similar parts in the various embodiments in this specification may be referred to each other. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the description in the method embodiment.
The above-described embodiments of the present application do not limit the scope of the present application.

Claims (9)

1. A method for restarting a virtual system, the method being applied to a virtual system deployed on a host system, the virtual system including a virtual radio interface layer vRILD, the method comprising:
before the virtual system is restarted, the vRILD acquires and stores connection information of communication connection between the virtual system and the host system, wherein the connection information includes: address information in a host system for connecting with the vRILD, and port information in the host system for connecting with the vRILD before the virtual system is restarted, and the virtual system and the host system are disconnected before the virtual system is restarted;
and when the virtual system is restarted, the vRILD acquires the connection information, and the vRILD reestablishes connection with the host system by using the connection information.
2. The method of claim 1, wherein the vRILD obtains the connection information, comprising:
and the vRILD acquires the connection information according to the communication connection established between the virtual system and the host system.
3. The method according to claim 1 or 2, characterized in that the virtual system further comprises a virtual telephony function service, which virtual telephony function service is connected with the vRILD,
after the vRILD reestablishes a connection with the host system using the connection information, the method further comprises:
the vRILD acquires state data before the virtual system is restarted from the host system;
and the vRILD sends the state data before the virtual system is restarted to the virtual telephone function service so as to restore the virtual telephone function service to the state before the virtual system is restarted.
4. A method for restarting a virtual system, the method being applied to a host system on which the virtual system is deployed, the virtual system comprising a virtual radio interface layer (vRILD), and the method comprising:
when the virtual system is started, the host system establishes a communication connection with the virtual system and sends connection information of the communication connection with the virtual system to the virtual system, wherein the connection information includes: address information in the host system for connecting with the vRILD, and port information in the host system for connecting with the vRILD before the virtual system is restarted;
when the host system is disconnected with the virtual system and the virtual system is restarted, the host system acquires a communication connection request sent by the virtual system and reestablishes connection with the virtual system by using the port information contained in the communication connection request.
5. The method of claim 4, wherein after sending the connection information to the virtual system, further comprising:
the host system acquires state data before the virtual system is restarted;
and the host system sends the state data to the virtual system so as to restore the virtual telephone function service in the virtual system to the state before the restart of the virtual system.
6. A computer device, characterized in that the computer device comprises: a host system comprising a virtual telephony agent module, and a virtual system deployed on the host system, the virtual system comprising a virtual radio interface layer vRILD,
the virtual telephone agent module is configured to establish a communication connection with the virtual system when the virtual system is started, acquire connection information of the communication connection with the virtual system, and send the connection information to the virtual system, where the connection information includes: address information in the host system for connecting with the vRILD, and port information in the host system for connecting with the vRILD before the virtual system is restarted;
and the vRILD in the virtual system is used for acquiring and storing the connection information, and reestablishing connection with the host system by using the connection information after the host system is disconnected from the virtual system so that the virtual system is restarted.
7. The computer device of claim 6, wherein the virtual system further comprises a virtual telephony function service, the virtual telephony function service being connected with the vRILD,
the vRILD is further configured to, after reestablishing a connection with the host system, acquire state data before the virtual system is restarted from the host system, and send the state data to the virtual phone function service;
the virtual telephone function service is used for receiving the state data and restoring the state of the computer equipment to the state before the restart of the virtual system by using the state data.
8. The computer device of claim 6, wherein the virtual system further comprises a virtual phone recovery module connected with the vRILD,
and the virtual phone recovery module is used for acquiring and storing the connection information when the virtual system is started, and providing the connection information for the vRILD after the virtual system is restarted.
9. The computer device of any one of claims 6-8,
the virtual telephone agent module is specifically configured to configure port information connected to the vRILD when the virtual system is started, and establish communication connection with the virtual system by using the port information;
the virtual telephone agent module is further configured to obtain a communication connection request sent by the virtual system after the virtual system is restarted, where the communication connection request includes the port information, and reestablishes a connection with the virtual system by using the port information.
CN201710100019.7A 2017-02-23 2017-02-23 Virtual system restarting method and equipment Active CN108509249B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710100019.7A CN108509249B (en) 2017-02-23 2017-02-23 Virtual system restarting method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710100019.7A CN108509249B (en) 2017-02-23 2017-02-23 Virtual system restarting method and equipment

Publications (2)

Publication Number Publication Date
CN108509249A CN108509249A (en) 2018-09-07
CN108509249B true CN108509249B (en) 2022-03-08

Family

ID=63372880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710100019.7A Active CN108509249B (en) 2017-02-23 2017-02-23 Virtual system restarting method and equipment

Country Status (1)

Country Link
CN (1) CN108509249B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112114937A (en) * 2020-09-21 2020-12-22 杭州迪普科技股份有限公司 Virtual system restarting method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101959088A (en) * 2009-07-13 2011-01-26 中兴通讯股份有限公司 Control plane restarting recovery method and device during EPL (Ethernet Private Line) service bandwidth control process
CN102037452A (en) * 2008-05-23 2011-04-27 威睿公司 Distributed virtual switch for virtualized computer systems

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8589525B2 (en) * 2010-11-01 2013-11-19 Red Hat Israel, Ltd. Enhanced reboot command
CN102480653A (en) * 2010-11-30 2012-05-30 中兴通讯股份有限公司 Method for activating service after restarting automatic switched optical network (ASON) node and system thereof
CN102801748A (en) * 2011-05-23 2012-11-28 中兴通讯股份有限公司 Call protection method and device
CN102609324B (en) * 2012-01-09 2015-11-25 华为技术有限公司 Restoration methods, Apparatus and system after a kind of virtual machine deadlock
US9317268B2 (en) * 2012-02-02 2016-04-19 Sungard Availability Services Lp Recovery automation in heterogeneous environments
CN102447587B (en) * 2012-02-02 2015-06-24 杭州华三通信技术有限公司 Graceful restart method based on OSPF (Open Shortest Path First Interior Gateway Protocol) protocol and router thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102037452A (en) * 2008-05-23 2011-04-27 威睿公司 Distributed virtual switch for virtualized computer systems
CN101959088A (en) * 2009-07-13 2011-01-26 中兴通讯股份有限公司 Control plane restarting recovery method and device during EPL (Ethernet Private Line) service bandwidth control process

Also Published As

Publication number Publication date
CN108509249A (en) 2018-09-07

Similar Documents

Publication Publication Date Title
CN105763723B (en) Mobile terminal and method for upgrading system
CN105722059B (en) Mobile terminal and communication method of dual-modem system
US20170118797A1 (en) Dual System-Based Communication Method and Terminal
CN102869125A (en) Data card and communication method and system thereof
CN102546920A (en) Method, system and device of running process
US20220369410A1 (en) Efficient Context Handling for RRC-Inactive in 5G
CN102752327A (en) Method, system and device for performing interaction between terminals and cloud server
CN105682083B (en) A kind of communication means of mobile terminal and duplex MODEM system
CN108509249B (en) Virtual system restarting method and equipment
WO2017128185A1 (en) Method and terminal for controlling service connection
CN105657691B (en) Mobile terminal and data sharing method of double-chip system thereof
CN110337079B (en) 5G network communication method, terminal, network equipment and server
CN109426575B (en) Call service processing method and device
CN107318121B (en) Data backup method for LTE EPC system
CN113419751B (en) System upgrading method and device for terminal equipment
CN105554306B (en) Mobile terminal and its dual-chip system upgrade method
CN112929948A (en) Wireless network searching method and device
CN111385795B (en) Authentication method of user identification card, mobile terminal and computer readable storage medium
CN106817685B (en) Emergency call control method and terminal equipment
CN112533194A (en) Method and device for realizing data service in dual-card mode and mobile terminal
KR101567410B1 (en) call processing server
CN112887958A (en) Data storage method, storage medium and terminal equipment
CN115136624A (en) Session processing method, device and storage medium
CN113382458B (en) Equipment network-resident dialing method, computer equipment and storage medium
CN105611068B (en) Mobile terminal and method for upgrading system

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
GR01 Patent grant
GR01 Patent grant