CN115580612A - Efficient Internet bar clouding method - Google Patents
Efficient Internet bar clouding method Download PDFInfo
- Publication number
- CN115580612A CN115580612A CN202211318381.9A CN202211318381A CN115580612A CN 115580612 A CN115580612 A CN 115580612A CN 202211318381 A CN202211318381 A CN 202211318381A CN 115580612 A CN115580612 A CN 115580612A
- Authority
- CN
- China
- Prior art keywords
- internet bar
- terminal equipment
- cloud
- virtual machine
- internet
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/08—Protocols specially adapted for terminal emulation, e.g. Telnet
-
- 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/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- 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/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45562—Creating, deleting, cloning virtual machine instances
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a high-efficiency internet bar clouding method.A cloud internet bar system detects the network connectivity of internet bar terminal equipment in real time and judges whether the internet bar terminal equipment is started or not; thereby issuing an instruction in advance to create a virtual machine. The method starts the internet bar terminal equipment through the network card, so that the cloud internet bar system can judge whether the internet bar terminal equipment is started or not by detecting the networking condition of the internet bar terminal equipment, and the cloud internet bar system can know the starting state of the internet bar terminal equipment in real time by detecting the network connection condition of the internet bar terminal equipment, so that an instruction is issued in advance to create the virtual machine, and the aims of shortening the starting waiting time of a user and saving energy are fulfilled.
Description
Technical Field
The invention relates to the technical field of Internet bar clouding, in particular to a high-efficiency Internet bar clouding method.
Background
After the internet bar is clouded, the user use process usually includes starting up from the internet bar terminal equipment, waiting for scheduling, waiting for virtual machine creation, and finally performing real-time audio and video streaming, wherein the whole starting up process requires the user to wait for 2-3 minutes. In order to shorten the waiting time of a user, a solution provided in the industry is to set a resident virtual machine, so that the user is prevented from waiting for the virtual machine creation process. However, setting the resident virtual machine can cause resource idling and waste to a certain extent, and energy is not saved enough.
Accordingly, the prior art is deficient and needs improvement.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the efficient Internet bar clouding method is provided, so that the starting waiting time of a user is shortened, and the energy-saving purpose can be realized.
The technical scheme of the invention is as follows: the efficient Internet bar clouding method comprises the following steps.
S1: 1. the machine room is provided with N physical nodes, a diskless server of the machine room and a cloud internet bar system, the physical nodes of the machine room are connected with the cloud internet bar system, and the cloud internet bar system is responsible for scheduling the physical nodes to create and release virtual machines; internet bar deploys M internet bar terminal equipment and internet bar diskless server, and internet bar terminal equipment communicates with the cloud internet bar system through api. And the physical nodes of the machine room establish long connection with the cloud internet bar system by using a TCP protocol. And the N physical nodes, the diskless server and the cloud internet bar system are in the same intranet environment.
S2: when the terminal equipment of the internet bar is started, starting to load an operating system mirror image from the diskless server of the internet bar through the network card; therefore, the network establishment of the internet bar terminal equipment is usually completed 20 seconds earlier than the system startup. And after the Internet bar terminal equipment is started, the real-time audio and video streaming client is opened, and the real-time audio and video streaming client initiates a streaming task to the cloud Internet bar system.
S3: the cloud internet bar system detects the network connectivity of the internet bar terminal equipment in real time and judges whether the internet bar terminal equipment is started or not; if the Internet bar terminal equipment is started and no idle virtual machine exists, the cloud Internet bar system issues a virtual machine creating command to the physical node, and the step S4 is carried out; and if the internet bar terminal equipment is started and an idle virtual machine exists, the step S5 is entered. And if the cloud internet bar system does not detect that the internet bar terminal equipment is started, the cloud internet bar system continues to implement detection.
S4: and the physical node receives a virtual machine creating command and executes a virtual machine creating process.
S5: the method comprises the steps that when the virtual machine is started, the virtual machine is started through a network card, the real-time audio and video streaming service is started after an operating system image is loaded from a machine room diskless server, the real-time audio and video streaming service reports the IP and streaming ports of the virtual machine to a cloud internet bar system, and connection of terminal equipment of the internet bar is waited.
S6: and the cloud internet bar system matches the idle virtual machine with the streaming task.
S7: and polling the task matching state of a real-time audio and video streaming client of the internet bar terminal equipment every second, and establishing connection with a corresponding virtual machine and performing audio and video streaming interaction after acquiring the IP (Internet protocol) of the virtual machine and streaming port information matched with the task.
In step S2, the internet bar terminal device is started through the network card, so that the cloud internet bar system can judge whether the internet bar terminal device is started or not by detecting the networking condition of the internet bar terminal device, and in step S3, the cloud internet bar system can know the starting state of the internet bar terminal device in real time by detecting the network connection condition of the internet bar terminal device, so as to issue an instruction in advance to create a virtual machine, thereby achieving the purposes of shortening the user starting waiting time and saving energy.
Further, in step S2, the cloud internet bar system caches streaming task information; in step S5, the cloud internet bar system caches the IP and the streaming port information of the virtual machine; in step S6, the cloud internet bar system matches the cached streaming task information according to the cached virtual machine IP and the streaming port information.
By adopting the scheme, the invention provides the high-efficiency internet bar cloud method, the internet bar terminal equipment is started through the network card, so that the cloud internet bar system can judge whether the internet bar terminal equipment is started or not by detecting the networking condition of the internet bar terminal equipment, and the cloud internet bar system can know the starting state of the internet bar terminal equipment in real time by detecting the network connection condition of the internet bar terminal equipment, so as to issue an instruction in advance to create a virtual machine, thereby achieving the purposes of shortening the starting waiting time of a user and saving energy.
Drawings
FIG. 1 is a flow chart of an embodiment of the present invention.
Detailed Description
The invention is described in detail below with reference to the figures and the specific embodiments.
Referring to fig. 1, the present embodiment provides a high-efficiency internet bar clouding method, which includes the following steps.
S1: 1. the machine room is provided with N physical nodes, a diskless server of the machine room and a cloud internet bar system, the physical nodes of the machine room are connected with the cloud internet bar system, and the cloud internet bar system is responsible for scheduling the physical nodes to create and release virtual machines; an Internet bar deploys M Internet bar terminal equipment and an Internet bar diskless server, and the Internet bar terminal equipment is communicated with a cloud Internet bar system through api. And the machine room physical node establishes long connection with the cloud internet bar system by using a TCP (Transmission control protocol). And the N physical nodes, the diskless server and the cloud internet bar system are in the same intranet environment.
S2: when the terminal equipment of the internet bar is started, loading an operating system mirror image from the diskless server of the internet bar is started through the network card; therefore, the network establishment of the internet bar terminal equipment is usually completed 20 seconds earlier than the system startup. And after the Internet bar terminal equipment is started, the real-time audio and video streaming client is opened, and the real-time audio and video streaming client initiates a streaming task to the cloud Internet bar system.
S3: the cloud internet bar system detects the network connectivity of the internet bar terminal equipment in real time and judges whether the internet bar terminal equipment is started or not; if the Internet bar terminal equipment is started and no idle virtual machine exists, the cloud Internet bar system issues a virtual machine creating command to the physical node, and the step S4 is carried out; and if the internet bar terminal equipment is started and an idle virtual machine exists, the step S5 is entered. And if the cloud internet bar system does not detect that the internet bar terminal equipment is started, the cloud internet bar system continues to implement detection.
S4: and the physical node receives a virtual machine creating command and executes a virtual machine creating process.
S5: the method comprises the steps that when the virtual machine is started, the virtual machine is started through a network card, the real-time audio and video streaming service is started after an operating system image is loaded from a machine room diskless server, the real-time audio and video streaming service reports the IP and streaming ports of the virtual machine to a cloud internet bar system, and connection of terminal equipment of the internet bar is waited.
S6: and the cloud internet bar system matches the idle virtual machine with the streaming task.
S7: and polling the task matching state of a real-time audio and video streaming client of the internet bar terminal equipment every second, and establishing connection with a corresponding virtual machine and performing audio and video streaming interaction after acquiring the IP (Internet protocol) of the virtual machine and streaming port information matched with the task.
In step S2, the internet bar terminal device is started through the network card, so that the cloud internet bar system can judge whether the internet bar terminal device is started or not by detecting the networking condition of the internet bar terminal device, and in step S3, the cloud internet bar system can know the starting state of the internet bar terminal device in real time by detecting the network connection condition of the internet bar terminal device, so as to issue an instruction in advance to create a virtual machine, thereby achieving the purposes of shortening the user starting waiting time and saving energy.
In this embodiment, in step S2, the cloud internet bar system caches streaming task information; in step S5, the cloud internet bar system caches the IP and the streaming port information of the virtual machine; in step S6, the cloud internet bar system matches the cached streaming task information according to the cached virtual machine IP and the streaming port information.
In summary, the present invention provides an efficient internet bar cloud method, in which an internet bar terminal device is started through a network card, so that a cloud internet bar system can determine whether the internet bar terminal device is powered on by detecting a networking condition of the internet bar terminal device, and the cloud internet bar system can know a power-on state of the internet bar terminal device in real time by detecting a network connection condition of the internet bar terminal device, so as to issue an instruction in advance to create a virtual machine, thereby achieving the purposes of shortening a user power-on waiting time and saving energy.
The present invention is not limited to the above preferred embodiments, and any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (5)
1. An efficient Internet bar clouding method is characterized by comprising the following steps:
s1: the machine room is provided with N physical nodes, a diskless server of the machine room and a cloud internet bar system, and the physical nodes of the machine room are connected with the cloud internet bar system; the Internet bar deploys M Internet bar terminal equipment and an Internet bar diskless server, and the Internet bar terminal equipment is communicated with the cloud Internet bar system through api;
s2: when the terminal equipment of the internet bar is started, loading an operating system mirror image from the diskless server of the internet bar is started through the network card; after the Internet bar terminal equipment is started, a real-time audio and video streaming client is opened and initiates a streaming task to a cloud Internet bar system;
s3: the cloud internet bar system detects the network connectivity of the internet bar terminal equipment in real time and judges whether the internet bar terminal equipment is started or not; if the Internet bar terminal equipment is started and no idle virtual machine exists, the cloud Internet bar system issues a virtual machine creating command to the physical node, and the step S4 is carried out; if the Internet bar terminal equipment is started and an idle virtual machine exists, entering the step S5;
s4: the physical node receives a virtual machine creating command and executes a virtual machine creating process;
s5: starting the virtual machine through a network card when starting up, starting a real-time audio and video streaming service after loading an operating system image from a machine room diskless server, reporting a virtual machine IP and a streaming port to a cloud internet bar system by the real-time audio and video streaming service, and waiting for connection of internet bar terminal equipment;
s6: the cloud internet bar system matches the idle virtual machine with the streaming task;
s7: and polling the task matching state of a real-time audio and video streaming client of the internet bar terminal equipment every second, and establishing connection with a corresponding virtual machine and performing audio and video streaming interaction after acquiring the IP (Internet protocol) of the virtual machine and streaming port information matched with the task.
2. The method according to claim 1, wherein in step S1, the physical node in the machine room establishes a long connection with the cloud internet cafe system using a TCP protocol.
3. The efficient Internet bar clouding method according to claim 1, wherein in step S1, the N physical nodes, the diskless server and the cloud Internet bar system are in the same intranet environment.
4. The method as claimed in claim 1, wherein in step S3, if the cloud internet cafe system does not detect that the internet cafe terminal device is powered on, the cloud internet cafe system continues to perform the detection.
5. The efficient Internet bar clouding method according to claim 1, wherein in step S2, the cloud Internet bar system caches streaming task information; in step S5, the cloud Internet bar system caches the IP of the virtual machine and the information of the streaming port; in step S6, the cloud internet bar system matches the cached streaming task information according to the cached virtual machine IP and the streaming port information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211318381.9A CN115580612A (en) | 2022-10-26 | 2022-10-26 | Efficient Internet bar clouding method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211318381.9A CN115580612A (en) | 2022-10-26 | 2022-10-26 | Efficient Internet bar clouding method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115580612A true CN115580612A (en) | 2023-01-06 |
Family
ID=84587552
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211318381.9A Pending CN115580612A (en) | 2022-10-26 | 2022-10-26 | Efficient Internet bar clouding method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115580612A (en) |
-
2022
- 2022-10-26 CN CN202211318381.9A patent/CN115580612A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8693343B2 (en) | Relay apparatus, virtual machine system, and relay method | |
CN107919994B (en) | Method and server for realizing hot standby of network service dual-computer | |
KR20130108613A (en) | Method and device for interprocess communication and computer storage medium | |
WO2019006808A1 (en) | Method and device for processing persistent connection establishment request | |
CN109587005A (en) | Connecting detection method, apparatus, computer equipment and readable storage medium storing program for executing | |
KR101139836B1 (en) | Method and system for two-phase mechanism for discovering web services based management service | |
TW200306720A (en) | System and method for monitoring a connection between a server and a passive client device | |
WO2010139281A1 (en) | Method and apparatus for detecting ethernet operation, administration and maintenance (oam) | |
CN115580612A (en) | Efficient Internet bar clouding method | |
CN103139036B (en) | Electronic equipment and information processing method thereof | |
CN111176893A (en) | Computer remote control method, device, system and storage medium | |
JPH10327212A (en) | Network connection control system and storage medium | |
CN109729156B (en) | Connection method for automatically adjusting middleware based on back-end application service change | |
CN108347705B (en) | CMPP short message platform and application method thereof | |
CN112134749A (en) | Dynamic network access management method and system | |
CN106210095B (en) | Port processing method and device | |
WO2012146160A1 (en) | Communication method and server supporting multiple socket connection modes | |
JP5115208B2 (en) | MEASUREMENT / TEST ACCESS CONTROL DEVICE AND METHOD, AND ITS PROGRAM | |
JP2003050753A (en) | OPERATION SYSTEM FOR AUTOMATIC RECOVERY Web SERVER | |
CN117675888A (en) | Method and device for realizing session and system for realizing session | |
CN108599903A (en) | Single board starting control method and device | |
CN115525415B (en) | Data processing method, device, equipment and medium | |
JP5282482B2 (en) | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, SETTING CHANGE METHOD, AND PROGRAM | |
JP2002288055A (en) | Condition confirmation method of management object device and management pass in storage system and storage system | |
JP4860747B2 (en) | Online transmission 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 |