CN113094165A - Method for increasing speed of loading application program at cloud end - Google Patents

Method for increasing speed of loading application program at cloud end Download PDF

Info

Publication number
CN113094165A
CN113094165A CN202110460570.9A CN202110460570A CN113094165A CN 113094165 A CN113094165 A CN 113094165A CN 202110460570 A CN202110460570 A CN 202110460570A CN 113094165 A CN113094165 A CN 113094165A
Authority
CN
China
Prior art keywords
application program
cloud server
server
application
idle
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
CN202110460570.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.)
Shenzhen Rayvision Technology Co ltd
Original Assignee
Shenzhen Rayvision Technology 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 Shenzhen Rayvision Technology Co ltd filed Critical Shenzhen Rayvision Technology Co ltd
Priority to CN202110460570.9A priority Critical patent/CN113094165A/en
Publication of CN113094165A publication Critical patent/CN113094165A/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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for increasing the speed of loading an application program at a cloud end, which comprises the following steps: the server management module respectively counts the number of idle cloud servers and the number of real-time operating cloud servers in the cloud server cluster; the server management module acquires application program application information of the real-time running cloud server and controls each idle cloud server to respectively start an application program contained in the application program application information; when a user starts an application program to be loaded on a user terminal, the user terminal sends a request for starting the application program to be loaded to a server management module, and the server management module searches for an idle cloud server which starts the application program to be loaded in a current idle cloud server and controls the idle cloud server to establish connection with a corresponding user terminal. The invention can avoid the problem of waiting of the client in the loading process, realize real-time interaction and effectively improve the experience of the user.

Description

Method for increasing speed of loading application program at cloud end
Technical Field
The invention relates to the field of cloud real-time interaction, in particular to a method for improving the speed of loading an application program by a cloud.
Background
An application program run by a user on a user terminal is usually connected to a cloud server through the user terminal, a picture is transmitted to the user terminal of the user in real time through the cloud server, and the picture is further displayed through the user terminal, so that the user can interact with the application program on the cloud server. In the prior art, after a user terminal is connected with a cloud server, the user terminal often needs to wait for the cloud server to start a corresponding application program, the waiting time is determined according to the size of the application program started by the user terminal, the waiting time generally needed for some large-scale graphic or image processing application programs is long, real-time loading cannot be realized, the waiting time of the user is too long, the user cannot interact with the application program in real time, and the experience of the user is reduced.
Accordingly, the prior art is deficient and needs improvement.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, provides a method for increasing the speed of loading an application program at a cloud end, and solves the problems that the user waiting time is too long and the user experience is reduced because real-time loading cannot be realized in the prior art.
The technical scheme of the invention is as follows: a method for increasing the speed of loading an application program at a cloud end comprises the following steps:
s1: and the server management module respectively counts the number of idle cloud servers and the number of real-time operating cloud servers in the cloud server cluster.
S2: the server management module acquires application information of the application program of the real-time running cloud server; the application information includes: and each real-time running application program started currently in the cloud server.
S3: and the server management module controls each idle cloud server to respectively start the application program contained in the application program application information according to the application program application information.
S4: when a user starts an application program to be loaded on a user terminal, the user terminal sends a request for starting the application program to be loaded to a server management module, and the server management module searches for an idle cloud server which starts the application program to be loaded in a current idle cloud server and controls the idle cloud server to establish connection with a corresponding user terminal.
S5: and the user terminal loads the application program to be loaded from the idle cloud server connected with the user terminal and runs the application program to be loaded.
The server management module counts the number of idle cloud servers and real-time operating cloud servers in the cloud server cluster in real time, further acquires information of the current opened application program in each real-time operating cloud server according to the counted number, can judge the current on-line situation of loading the application program by a user, the opened number of each opened application program and the like, controls each idle cloud server to sequentially open the application programs contained in the application program application information according to the application program application information, when the user opens one application program on a user terminal, namely the application program to be loaded, the server management module searches the idle server which opens the application program to be loaded in the current idle cloud server after receiving a loading request sent by the user terminal, in the state, the server management module controls any one of the idle cloud servers to be connected with the user terminal and performs data transmission, and the user terminal loads the corresponding application program to be loaded; the server management module can control the idle cloud server to open the application program which is the same as the application program loaded by the existing online user in advance according to the condition that the application program is loaded by the existing online user, so that when a new user loads the corresponding application program to be loaded, the idle cloud server which opens the application program to be loaded can be directly connected, waiting is not needed, the problem that a client waits in the loading process can be avoided, real-time interaction is realized, and the user experience is effectively improved.
Furthermore, the cloud server cluster comprises a plurality of idle cloud servers and a plurality of real-time operation cloud servers.
Further, the step S2 is: and the server management module acquires the application program application information of the real-time running cloud server and respectively counts the use frequency information of each started application program according to the application program application information.
Further, the usage frequency information is: the occupation of the same open application among all open applications. Many users in the current online users may load the same application, that is, there are cases where a plurality of applications launched in the real-time operating cloud server are the same application, so that the occupation ratio of the same launched application in all launched applications can be calculated.
Further, the step S3 is: the server management module calculates the number of idle cloud servers that can be allocated to each application program included in the application program application information according to the usage frequency information of each started application program and the number of idle cloud servers in the step S2, and controls each idle cloud server to respectively start the application program included in the application program application information according to the application program application information. The idle cloud server is distributed according to the use frequency, namely the occupation ratio condition, of each opened application program, the process mainly refers to the condition that the current online user uses the application program, the idle cloud server is distributed, and the fact that some application programs with high use frequency can be opened on more idle cloud servers is guaranteed, so that real-time loading can be achieved even when a plurality of new users load the same application program online at the same time.
Further, the real-time operation cloud server is a cloud server which is online at present and establishes contact with a user terminal which loads an application program from the real-time operation cloud server.
Preferably, the user terminal is a PC terminal or a mobile intelligent terminal.
By adopting the scheme, the method for improving the speed of loading the application program at the cloud end is provided, and the application program which is the same as the application program loaded by the existing online user is started in advance, so that when a new user loads the corresponding application program to be loaded, the idle cloud end server which starts the application program to be loaded can be directly connected, waiting is not needed, the problem of waiting of a client in the loading process can be avoided, real-time interaction is realized, and the user experience is effectively improved.
Drawings
FIG. 1 is a block flow diagram 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 invention provides a method for increasing the speed of loading an application program in a cloud, including the following steps:
s1: and the server management module respectively counts the number of idle cloud servers and the number of real-time operating cloud servers in the cloud server cluster.
Specifically, the cloud server cluster comprises a plurality of idle cloud servers and a plurality of real-time operating cloud servers; the real-time operation cloud server is a cloud server which is in contact with a user terminal which is on line currently and loads an application program from the real-time operation cloud server.
S2: the server management module acquires application information of the application program of the real-time running cloud server; the application information includes: and each real-time running application program started currently in the cloud server.
S3: and the server management module controls each idle cloud server to respectively start the application program contained in the application program application information according to the application program application information.
S4: when a user starts an application program to be loaded on a user terminal, the user terminal sends a request for starting the application program to be loaded to a server management module, and the server management module searches for an idle cloud server which starts the application program to be loaded in a current idle cloud server and controls the idle cloud server to establish connection with a corresponding user terminal.
Specifically, the step S4 further includes the following steps:
s40: when a user starts an application program to be loaded on a user terminal, the user terminal sends a request for starting the application program to be loaded to a server management module.
S41: and the server management module searches for the idle cloud server which opens the application program to be loaded in the current idle cloud server.
S42: if the idle cloud server which opens the application program to be loaded does not exist in the current idle cloud server, the server management module controls the idle cloud server which does not open any application program to be connected with the user terminal, and the idle cloud server opens the application program to be loaded.
After step S42, the server management module repeats the operations of steps S1-S3 in real time.
S43: and if the idle cloud server which starts the application program to be loaded exists in the current idle cloud server, the server management module controls the idle cloud server to establish connection with the corresponding user terminal.
S5: and the user terminal loads the application program to be loaded from the idle cloud server connected with the user terminal and runs the application program to be loaded.
The server management module is mainly used for acquiring the number of idle cloud servers and the number of real-time operation cloud servers in a current cloud server cluster in real time, acquiring application program application information of the real-time operation cloud servers, calculating the use frequency information of each started application program, receiving a request sent by a user terminal for starting the application program to be loaded, and scheduling the corresponding idle cloud servers to be connected with the user terminal.
Specifically, the step S2 is: the server management module acquires application program application information of the real-time running cloud server, and respectively counts the use frequency information of each started application program according to the application program application information; the using frequency information is as follows: the occupation of the same open application among all open applications. Many users in the current online users may load the same application, that is, there are cases where a plurality of applications launched in the real-time operating cloud server are the same application, so that the occupation ratio of the same launched application in all launched applications can be calculated.
Specifically, the step S3 is: the server management module calculates the number of idle cloud servers that can be allocated to each application program included in the application program application information according to the usage frequency information of each started application program and the number of idle cloud servers in the step S2, and controls each idle cloud server to respectively start the application program included in the application program application information according to the application program application information. The idle cloud server is distributed according to the use frequency, namely the occupation ratio condition, of each opened application program, the process mainly refers to the condition that the current online user uses the application program, the idle cloud server is distributed, and the fact that some application programs with high use frequency can be opened on more idle cloud servers is guaranteed, so that real-time loading can be achieved even when a plurality of new users load the same application program online at the same time.
Specifically, in this embodiment, the server management module counts the number of idle cloud servers and live cloud servers in the cloud server cluster in real time, further obtains information of the current started application program in each live cloud server according to the counted number, and can determine the current online user loading application program condition, the started number of each started application program, and the like, the server management module controls each idle cloud server to start the application programs included in the application program application information in sequence according to the application program application information, when a user starts an application program on a user terminal, namely an application program to be loaded, the server management module searches for the idle cloud server in the current idle cloud server, which has started the application program to be loaded, after receiving a loading request sent by the user terminal, in this state, the server management module controls any one of the idle cloud servers to be connected with the user terminal and performs data transmission, and the user terminal loads the corresponding application program to be loaded.
In summary, the present invention provides a method for increasing the speed of loading an application program at a cloud end, which enables a new user to load a corresponding application program to be loaded by starting the application program in advance, and directly connect an idle cloud end server that has started the application program to be loaded, so that waiting is not needed, the problem of waiting for the user in the loading process can be avoided, real-time interaction is realized, and the user experience is effectively improved.
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 (7)

1. A method for increasing the speed of loading an application program at a cloud end is characterized by comprising the following steps:
s1: the server management module respectively counts the number of idle cloud servers and the number of real-time operating cloud servers in the cloud server cluster;
s2: the server management module acquires application information of the application program of the real-time running cloud server;
the application information includes: each real-time running cloud server is started at present;
s3: the server management module controls each idle cloud server to respectively start the application program contained in the application program application information according to the application program application information;
s4: when a user starts an application program to be loaded on a user terminal, the user terminal sends a request for starting the application program to be loaded to a server management module, and the server management module searches for an idle cloud server which starts the application program to be loaded in the current idle cloud server and controls the idle cloud server to establish connection with a corresponding user terminal;
s5: and the user terminal loads the application program to be loaded from the idle cloud server connected with the user terminal and runs the application program to be loaded.
2. The method of claim 1, wherein the cloud server cluster comprises a plurality of idle cloud servers and a plurality of real-time cloud servers.
3. The method of claim 1, wherein the step S2 is: and the server management module acquires the application program application information of the real-time running cloud server and respectively counts the use frequency information of each started application program according to the application program application information.
4. The method of claim 3, wherein the usage frequency information is: the occupation of the same open application among all open applications.
5. The method of claim 4, wherein the step S3 is as follows: the server management module calculates the number of idle cloud servers that can be allocated to each application program included in the application program application information according to the usage frequency information of each started application program and the number of idle cloud servers in the step S2, and controls each idle cloud server to respectively start the application program included in the application program application information according to the application program application information.
6. The method of claim 1, wherein the live-action cloud server is a cloud server that is currently online and that is in contact with a user terminal that is loading the application from the live-action cloud server.
7. The method of claim 1, wherein the user terminal is a PC terminal or a mobile intelligent terminal.
CN202110460570.9A 2021-04-27 2021-04-27 Method for increasing speed of loading application program at cloud end Pending CN113094165A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110460570.9A CN113094165A (en) 2021-04-27 2021-04-27 Method for increasing speed of loading application program at cloud end

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110460570.9A CN113094165A (en) 2021-04-27 2021-04-27 Method for increasing speed of loading application program at cloud end

Publications (1)

Publication Number Publication Date
CN113094165A true CN113094165A (en) 2021-07-09

Family

ID=76680314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110460570.9A Pending CN113094165A (en) 2021-04-27 2021-04-27 Method for increasing speed of loading application program at cloud end

Country Status (1)

Country Link
CN (1) CN113094165A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113722105A (en) * 2021-09-14 2021-11-30 百度在线网络技术(北京)有限公司 Cloud application operation method, device, equipment, medium and product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107544898A (en) * 2017-09-08 2018-01-05 北京小米移动软件有限公司 Data capture method, device, equipment and storage medium
CN107844536A (en) * 2017-10-18 2018-03-27 西安万像电子科技有限公司 The methods, devices and systems of application program selection
CN112104622A (en) * 2020-08-31 2020-12-18 北京爱奇艺科技有限公司 Cloud application starting method, server, cloud equipment and cloud communication system
CN112269625A (en) * 2020-09-07 2021-01-26 西安万像电子科技有限公司 Application program running method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107544898A (en) * 2017-09-08 2018-01-05 北京小米移动软件有限公司 Data capture method, device, equipment and storage medium
CN107844536A (en) * 2017-10-18 2018-03-27 西安万像电子科技有限公司 The methods, devices and systems of application program selection
CN112104622A (en) * 2020-08-31 2020-12-18 北京爱奇艺科技有限公司 Cloud application starting method, server, cloud equipment and cloud communication system
CN112269625A (en) * 2020-09-07 2021-01-26 西安万像电子科技有限公司 Application program running method, device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王庆喜: "《云计算导论》", vol. 978, 中国铁道出版社, pages: 195 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113722105A (en) * 2021-09-14 2021-11-30 百度在线网络技术(北京)有限公司 Cloud application operation method, device, equipment, medium and product

Similar Documents

Publication Publication Date Title
CN110086636A (en) A kind of message distributing method based on mqtt, server and storage medium
CN108848039A (en) The method and storage medium that server, message are distributed
WO2021088964A1 (en) Inference system, inference method, electronic device and computer storage medium
CN109766172B (en) Asynchronous task scheduling method and device
CN113849312A (en) Data processing task allocation method and device, electronic equipment and storage medium
CN110611718A (en) File transmission method, device, server and storage medium
CN112104679B (en) Method, apparatus, device and medium for processing hypertext transfer protocol request
CN115473876A (en) Method, device and system for transmitting real-time streaming media data and storage medium
CN111966647A (en) Cloud storage method and device for small files, server and storage medium
CN113094165A (en) Method for increasing speed of loading application program at cloud end
US9483996B2 (en) System and method of leveraging GPU resources to increase performance of an interact-able content browsing service
CN114726906A (en) Device interaction method and device, electronic device and storage medium
CN114697391A (en) Data processing method, device, equipment and storage medium
CN106550021B (en) Push method and device for push message
CN110958291B (en) Industrial vehicle data transmission system and method
CN110012003B (en) Cloud application screen capturing method and device
WO2015000417A1 (en) Method, apparatus, application interactive platform, terminal, and system for uploading an image
CN116173495A (en) Game progress distribution control method and device, electronic equipment and storage medium
CN111258902B (en) Performance test method and performance test system based on SockJS server
CN112565818B (en) Two-three-dimensional integrated operation station platform construction method and electronic equipment
CN113542424A (en) Data processing method, device, equipment and computer program product
CN115883639A (en) Web real-time message pushing method and device, equipment and storage medium
CN111988403A (en) Request processing method and system of electronic equipment, storage medium and electronic equipment
CN111131746A (en) Terminal service control method and device
CN112162868B (en) Data communication method, device and storage medium applied to cluster processing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210709