CN112416519A - Method and system for pre-starting virtual machine based on class schedule plan - Google Patents

Method and system for pre-starting virtual machine based on class schedule plan Download PDF

Info

Publication number
CN112416519A
CN112416519A CN202011315632.9A CN202011315632A CN112416519A CN 112416519 A CN112416519 A CN 112416519A CN 202011315632 A CN202011315632 A CN 202011315632A CN 112416519 A CN112416519 A CN 112416519A
Authority
CN
China
Prior art keywords
virtual machine
class
schedule
configuration information
stage
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
Application number
CN202011315632.9A
Other languages
Chinese (zh)
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.)
Vcmy Guangzhou Technology Shares Co ltd
Original Assignee
Vcmy Guangzhou Technology Shares 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 Vcmy Guangzhou Technology Shares Co ltd filed Critical Vcmy Guangzhou Technology Shares Co ltd
Priority to CN202011315632.9A priority Critical patent/CN112416519A/en
Publication of CN112416519A publication Critical patent/CN112416519A/en
Pending legal-status Critical Current

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting
    • G06Q10/1093Calendar-based scheduling for persons or groups
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/20Education
    • G06Q50/205Education administration or guidance
    • 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)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Educational Technology (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Educational Administration (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Primary Health Care (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a method and a system for pre-starting a virtual machine based on a class schedule plan, wherein the method comprises the following steps: firstly, a user imports a class schedule and classifies the class schedule according to time stages; then acquiring virtual machine configuration information in the school timetable, and storing the corresponding virtual machine configuration information according to the time stage; then, submitting a thread task according to the virtual machine configuration information; finally, a virtual machine is established according to the thread task, and the virtual machine is started; the system comprises a class sheet classification module used for collecting class sheets and classifying the class sheets, a configuration information module used for setting configuration information according to class sheet classification, and a central processing module used for processing thread tasks according to the configuration information and controlling the virtual machine according to the thread tasks. According to the method and the device, the virtual machine is controlled to be started in advance according to the schedule plan, so that the time for starting the virtual machine in a classroom is reduced; meanwhile, a cleaning stage is set for cleaning regularly, so that the waste of virtual resources is effectively prevented.

Description

Method and system for pre-starting virtual machine based on class schedule plan
Technical Field
The invention particularly relates to a method and a system for pre-starting a virtual machine based on a class schedule plan.
Background
At present, a general phenomenon exists in real practice courses of colleges and universities, and students can start virtual machines to complete the learning tasks of courses only when taking a course according to the arrangement of the courses; in the prior art, the virtual machine cannot be automatically pre-started through a class schedule, the time consumed by starting the virtual machine is inevitably occupied in class time of students, the experience effect of the students is poor, and the class tasks cannot be timely completed due to the reduction of the available time in the class.
Disclosure of Invention
In order to solve the problems, the invention provides a method and a system for pre-starting a virtual machine based on a class schedule plan, wherein a user leads in the class schedule plan and controls the virtual machine to be started in advance according to the class schedule plan, and the specific technical content is as follows:
a method for pre-starting a virtual machine based on a class schedule plan comprises the following steps:
firstly, importing a class schedule by a user, and classifying according to time stages according to the class schedule;
then, acquiring virtual machine configuration information in the school timetable, and storing the corresponding virtual machine configuration information according to the time stage;
then, submitting a thread task according to the virtual machine configuration information;
and finally, creating a virtual machine according to the thread task and starting the virtual machine.
In one or more embodiments of the present invention, the time phase includes: the system comprises a review stage used before the current-day schedule information is stored, a present-day stage used for storing the current-day schedule information, a pre-review stage used after the current-day schedule information is stored and a cleaning stage used for cleaning the historical schedule information.
In one or more embodiments of the present invention, in the cleaning stage, a user sets a cleaning cycle according to a requirement, and after the cleaning cycle is reached, the schedule information in the cleaning stage is cleaned and the corresponding virtual machine configuration information is deleted.
In one or more embodiments of the present invention, the virtual machine configuration information includes: cpu size, memory size, hard disk size.
In one or more embodiments of the present invention, the time for creating the virtual machine is set by the user according to the requirement.
In one or more embodiments of the invention, a schedule information synchronization task for a future day is also submitted according to the schedule.
In one or more embodiments of the present invention, the schedule information synchronization task includes: the class schedule information of the class in the second day after the current class is synchronized to the pre-study stage, the class schedule information of the pre-study stage in the current day is synchronized to the review stage, and the class schedule information of the review stage is synchronized to the cleaning stage.
In one or more embodiments of the invention, the schedule information synchronization does not require synchronization of the same configuration information.
In one or more embodiments of the invention, if the thread task fails to commit, it will automatically resubmit.
A system for pre-starting a virtual machine based on a class schedule plan comprises a class schedule classification module for collecting class schedules and classification, a configuration information module for setting configuration information according to the class schedule classification, and a central processing module for processing thread tasks according to the configuration information and controlling the virtual machine according to the thread tasks.
The invention has the beneficial effects that: the virtual machine is automatically started in advance by importing the schedule plan, so that the time for starting the virtual machine in a classroom is reduced, the virtual machine is pre-started for a review stage and a pre-review stage of students, the experience of the students is enhanced, and meanwhile, a cleaning stage is also set and is cleaned regularly according to a cleaning period, so that the waste of virtual resources is effectively prevented.
Drawings
FIG. 1 is a block diagram illustrating steps of a method for pre-starting a virtual machine based on a schedule.
FIG. 2 is a block diagram of a system for pre-starting a virtual machine based on a schedule plan according to the present invention.
Detailed Description
The scheme of the application is further described as follows:
referring to fig. 1, a method for pre-starting a virtual machine based on a schedule plan includes the following steps:
firstly, importing a class schedule by a user, and classifying according to time stages according to the class schedule;
then, acquiring virtual machine configuration information in the school timetable, and storing the corresponding virtual machine configuration information according to the time stage;
then, submitting a thread task according to the virtual machine configuration information;
finally, creating a virtual machine according to the thread task, and starting the virtual machine;
the user can import the schedule plan according to the requirement and can change the schedule at will; the virtual machine is controlled to be started in advance according to the schedule plan, so that the time for starting the virtual machine in a classroom is reduced, and classroom tasks are better completed.
The time phase comprises: the system comprises a review stage used before the current-day class schedule information is stored, a present-day stage used for storing the current-day class schedule information, a pre-review stage used after the current-day class schedule information is stored and a cleaning stage used for cleaning the historical class schedule information; the review stage and the preview stage are provided, and the experience effect of students is improved.
In the cleaning stage, a user sets a cleaning period according to the requirement, and after the cleaning period is reached, the schedule information in the cleaning stage is cleaned and the corresponding virtual machine configuration information is deleted; and deleting the corresponding virtual machine configuration information so as to release occupied server resources and effectively prevent virtual resource waste.
The virtual machine configuration information includes: cpu size, memory size, hard disk size; setting up the primary configuration information better creates the virtual machine.
The time for creating the virtual machine is set by a user according to the requirement; the user is enabled to more reasonably schedule the starting time.
Meanwhile, submitting a schedule information synchronization task for the next day according to the schedule; the schedule information synchronization task comprises the following steps: synchronizing the class schedule information of the class schedule of two days after the current course to a pre-study stage, synchronizing the class schedule information of the pre-study stage to the current stage, synchronizing the class schedule information of the current stage to a review stage, and synchronizing the class schedule information of the review stage to a cleaning stage; the repeated operation of the user is reduced, and the user experience effect is better.
The schedule information synchronization does not need to synchronize the same configuration information; unnecessary operations are reduced.
If the thread task fails to be submitted, the thread task is automatically submitted again; and the task can be more effectively ensured to be successfully submitted.
A system for pre-starting a virtual machine based on a class schedule plan comprises a class schedule classification module for collecting class schedules and classification, a configuration information module for setting configuration information according to the class schedule classification, and a central processing module for processing thread tasks according to the configuration information and controlling the virtual machine according to the thread tasks; the method for pre-starting the virtual machine based on the class schedule is executed on the system.
The above preferred embodiments should be considered as examples of the embodiments of the present application, and technical deductions, substitutions, improvements and the like similar to, similar to or based on the embodiments of the present application should be considered as the protection scope of the present patent.

Claims (10)

1. A method for pre-starting a virtual machine based on a class schedule is characterized by comprising the following steps:
firstly, importing a class schedule by a user, and classifying according to time stages according to the class schedule;
then, acquiring virtual machine configuration information in the school timetable, and storing the corresponding virtual machine configuration information according to the time stage;
then, submitting a thread task according to the virtual machine configuration information;
and finally, creating a virtual machine according to the thread task and starting the virtual machine.
2. The method for virtual machine pre-boot based on schedule plan of claim 1, wherein the time phase comprises: the system comprises a review stage used before the current-day schedule information is stored, a present-day stage used for storing the current-day schedule information, a pre-review stage used after the current-day schedule information is stored and a cleaning stage used for cleaning the historical schedule information.
3. The method for pre-starting a virtual machine based on a schedule plan of claim 2, wherein: in the cleaning stage, a user sets a cleaning period according to the requirement, and after the cleaning period is reached, the schedule information in the cleaning stage is cleaned and the corresponding virtual machine configuration information is deleted.
4. The method of claim 1, wherein the virtual machine configuration information comprises: cpu size, memory size, hard disk size.
5. The method for pre-starting a virtual machine based on a schedule plan of claim 1, wherein: the time for creating the virtual machine is set by a user according to the requirement.
6. The method for pre-starting a virtual machine based on a schedule plan of claim 1, wherein: and simultaneously submitting a schedule information synchronization task for the next day according to the schedule.
7. The method for virtual machine pre-starting based on the schedule plan as claimed in claim 6, wherein the schedule information synchronization task comprises: the class schedule information of the class in the second day after the current class is synchronized to the pre-study stage, the class schedule information of the pre-study stage in the current day is synchronized to the review stage, and the class schedule information of the review stage is synchronized to the cleaning stage.
8. The method of claim 7, wherein the method comprises: the schedule information synchronization does not require synchronization of the same configuration information.
9. The method for pre-starting a virtual machine based on a schedule plan of claim 1, wherein: and if the thread task fails to be submitted, automatically resubmitted.
10. A virtual machine pre-starting system based on a class schedule plan is characterized in that: the system comprises a class sheet classification module for collecting class sheets and classifying the class sheets, a configuration information module for setting configuration information according to the class sheets, and a central processing module for processing thread tasks according to the configuration information and controlling the virtual machine according to the thread tasks.
CN202011315632.9A 2020-11-21 2020-11-21 Method and system for pre-starting virtual machine based on class schedule plan Pending CN112416519A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011315632.9A CN112416519A (en) 2020-11-21 2020-11-21 Method and system for pre-starting virtual machine based on class schedule plan

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011315632.9A CN112416519A (en) 2020-11-21 2020-11-21 Method and system for pre-starting virtual machine based on class schedule plan

Publications (1)

Publication Number Publication Date
CN112416519A true CN112416519A (en) 2021-02-26

Family

ID=74777133

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011315632.9A Pending CN112416519A (en) 2020-11-21 2020-11-21 Method and system for pre-starting virtual machine based on class schedule plan

Country Status (1)

Country Link
CN (1) CN112416519A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100332643A1 (en) * 2009-06-24 2010-12-30 Red Hat Israel, Ltd. Pre-Scheduling the Timelines of Virtual Machines
CN105681454A (en) * 2016-02-29 2016-06-15 广东顺德中山大学卡内基梅隆大学国际联合研究院 Method and system for self-adaptively connecting cloud desktop
CN107885578A (en) * 2017-11-13 2018-04-06 新华三云计算技术有限公司 A kind of resources of virtual machine distribution method and device
CN108022469A (en) * 2018-01-19 2018-05-11 咸宁职业技术学院 A kind of intelligent tutoring collocation method and system
CN108334397A (en) * 2017-01-20 2018-07-27 中兴通讯股份有限公司 It is a kind of based on school curricula table desktop virtual machine deployment method and management service end
CN109408199A (en) * 2018-10-22 2019-03-01 北京瑞德云网科技有限公司 A kind of implementation method of experimental courses
CN109697104A (en) * 2018-12-07 2019-04-30 国云科技股份有限公司 A kind of cloud classroom resources management method based on course
CN111580928A (en) * 2020-04-30 2020-08-25 新华三信息安全技术有限公司 Virtual machine management method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100332643A1 (en) * 2009-06-24 2010-12-30 Red Hat Israel, Ltd. Pre-Scheduling the Timelines of Virtual Machines
CN105681454A (en) * 2016-02-29 2016-06-15 广东顺德中山大学卡内基梅隆大学国际联合研究院 Method and system for self-adaptively connecting cloud desktop
CN108334397A (en) * 2017-01-20 2018-07-27 中兴通讯股份有限公司 It is a kind of based on school curricula table desktop virtual machine deployment method and management service end
CN107885578A (en) * 2017-11-13 2018-04-06 新华三云计算技术有限公司 A kind of resources of virtual machine distribution method and device
CN108022469A (en) * 2018-01-19 2018-05-11 咸宁职业技术学院 A kind of intelligent tutoring collocation method and system
CN109408199A (en) * 2018-10-22 2019-03-01 北京瑞德云网科技有限公司 A kind of implementation method of experimental courses
CN109697104A (en) * 2018-12-07 2019-04-30 国云科技股份有限公司 A kind of cloud classroom resources management method based on course
CN111580928A (en) * 2020-04-30 2020-08-25 新华三信息安全技术有限公司 Virtual machine management method and device

Similar Documents

Publication Publication Date Title
CN108805764A (en) A kind of job scheduling monitoring method, device, terminal and readable medium
WO2003065221A3 (en) Method and system for providing image incremental and disaster recovery
CN103914458A (en) Mass data migration method and device
CN107885578A (en) A kind of resources of virtual machine distribution method and device
CN106776395A (en) A kind of method for scheduling task and device of shared cluster
CN107871415B (en) Cloud classroom course switching method, device and system
CN112416519A (en) Method and system for pre-starting virtual machine based on class schedule plan
CN206711165U (en) A kind of multimedia teaching is registered system
CN100370395C (en) Information processing apparatus, memory managing program, and memory managing method
CN107783826A (en) A kind of virtual machine migration method, apparatus and system
CN105654793A (en) Teaching audio and video sharing system and method
CN105224275A (en) A kind of information processing method and device
CN110489735A (en) A kind of PowerPoint generation method, device and equipment
CN105205644A (en) Recording method and apparatus, and terminal
CN114625743A (en) Data updating method and device for personnel master data and electronic equipment
CN107705645A (en) Teaching auxiliary system based on augmented reality
CN113360233A (en) Method for realizing full screen note taking of student tablet
CN113190897A (en) Engineering construction overall structure design auxiliary system
CN112558960A (en) Collaborative programming method, device, medium and electronic equipment for graphical programming
CN107590027A (en) Backup, the method for restoring operation systematic parameter and instrument
CN116485318A (en) Organization changing method and related equipment
CN110633107B (en) Method and device for simulating cross-network-segment electronic class card remote startup and shutdown
CN205051682U (en) Automatic research management device of reminding function in area
CN115936402A (en) Task copying method and device, electronic equipment and storage medium
CN106484298A (en) The display methods of handwriting input, device and smart machine

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