CN110347491B - Application processing method, device and medium - Google Patents

Application processing method, device and medium Download PDF

Info

Publication number
CN110347491B
CN110347491B CN201910637623.2A CN201910637623A CN110347491B CN 110347491 B CN110347491 B CN 110347491B CN 201910637623 A CN201910637623 A CN 201910637623A CN 110347491 B CN110347491 B CN 110347491B
Authority
CN
China
Prior art keywords
application
determining
use condition
historical
started
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
CN201910637623.2A
Other languages
Chinese (zh)
Other versions
CN110347491A (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.)
Suzhou Dongjiang Software Co ltd
Original Assignee
Guiyang Gloud 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 Guiyang Gloud Technology Co ltd filed Critical Guiyang Gloud Technology Co ltd
Priority to CN201910637623.2A priority Critical patent/CN110347491B/en
Publication of CN110347491A publication Critical patent/CN110347491A/en
Application granted granted Critical
Publication of CN110347491B publication Critical patent/CN110347491B/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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to an application processing method, apparatus and medium, the method comprising: collecting historical use conditions of the application; judging whether the application needs to be pre-started or not according to the historical use condition of the application; when the application needs to be pre-started, determining pre-starting time according to the historical use condition of the application; and starting the application when the pre-starting time is reached. The text can improve the response speed of the client and improve the use experience of the client.

Description

Application processing method, device and medium
Technical Field
The present disclosure relates to the field of mobile communication data processing technologies, and in particular, to an application processing method, apparatus, and medium.
Background
Cloud applications are gradually widely used, and the general process is as follows: the client starts the cloud resource, the client sends a signal requesting to use the application to the cloud server, and after receiving the signal requesting to use the application, the cloud server starts the application, renders the application and sends a response picture to the client.
When the applied resources are large, the starting and rendering processes of the cloud server consume a long time, and the longer the response time received by the client is, the longer the user experience is affected.
Disclosure of Invention
To overcome the problems in the related art, an application processing method, apparatus, and medium are provided.
According to an aspect of embodiments herein, there is provided an application processing method, applied to a server, including:
collecting historical use conditions of the application;
judging whether the application needs to be pre-started or not according to the historical use condition of the application;
when the application needs to be pre-started, determining pre-starting time according to the historical use condition of the application;
and starting the application when the pre-starting time is reached.
The application processing method also has the following characteristics:
judging whether the application needs to be pre-started according to the historical use condition of the application is one of the following modes:
counting the heat index of the application in a preset history stage according to the historical use condition, and determining that the application needs to be started when the heat index is larger than a preset threshold value or when the sequence of the heat index of an application set is in the top X position;
counting the average number of the online users applied in a preset history stage according to the historical use condition, and determining that the application needs to be started when the average number of the online users is larger than a preset threshold value or when the average number of the online users is in the top Y-bit ranking of the average number of the online users of the application set;
wherein X, Y is an integer greater than zero.
The application processing method also has the following characteristics:
determining a pre-boot time based on the historical usage of the application comprises:
and counting the peak time of the online user number applied in the first period according to the historical use condition, and taking the first N seconds of the peak time of each first period after the current time as a pre-starting time, wherein N is an integer greater than zero.
The application processing method also has the following characteristics:
the method further comprises the following steps: determining the value of N;
the determining the value of N comprises: and acquiring the historical starting time of the application, and determining the value of N according to the historical starting time.
According to another aspect of embodiments herein, there is provided an application processing apparatus applied to a server, including:
the acquisition module is used for acquiring the historical use condition of the application;
the judging module is used for judging whether the application needs to be pre-started or not according to the historical use condition of the application;
the determining module is used for determining the pre-starting time according to the historical use condition of the application when the application needs pre-starting;
and the starting module is used for starting the application when the pre-starting time is up.
The application processing device also has the following characteristics:
the judging module comprises:
the statistical unit is used for counting the heat index of the application in a preset history stage according to the history use condition;
and the judging unit is used for determining that the application needs to be started when the heat index is larger than a preset threshold value or when the heat index is in the top X position of the sequence of the heat indexes of the application set.
The application processing device also has the following characteristics:
the judging module comprises:
the statistical unit is used for counting the average number of the online users applied in a preset history stage according to the history use condition;
the judging unit is used for determining that the application needs to be started when the average number of the online users is larger than a preset threshold value or when the average number of the online users is in the top Y position in the sequence of the average number of the online users of the application set;
wherein X, Y is an integer greater than zero.
The application processing device also has the following characteristics:
the determining module is further configured to determine a pre-boot time from the historical usage of the application using the following method:
and counting the peak time of the online user number applied in the first period according to the historical use condition, and taking the first N seconds of the peak time of each first period after the current time as a pre-starting time, wherein N is an integer greater than zero.
The application processing device also has the following characteristics:
the determining unit is further configured to determine a value of N; the value of N is determined using the following: and acquiring the historical starting time of the application, and determining the value of N according to the historical starting time.
According to another aspect of embodiments herein, there is provided a computer readable storage medium having stored thereon a computer program which, when executed, performs the steps of the above method.
The text can improve the response speed of the client and improve the use experience of the client.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, are included to provide a further understanding of the disclosure, and are incorporated in and constitute a part of this specification. In the drawings:
FIG. 1 is a flow diagram illustrating an application processing method in accordance with an exemplary embodiment.
FIG. 2 is a block diagram illustrating an application processing device in accordance with an exemplary embodiment.
FIG. 3 is a block diagram illustrating a computer device for applying a processing method according to an example embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the drawings of the embodiments of the present invention, and it is obvious that the described embodiments are some but not all of the embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments herein without making any creative effort, shall fall within the scope of protection. It should be noted that the embodiments and features of the embodiments may be arbitrarily combined with each other without conflict.
Fig. 1 is a flowchart illustrating an application processing method according to an exemplary embodiment, where the method is applied to a server, as shown in fig. 1, and includes:
step S11, collecting the historical use condition of the application;
step S12, judging whether the application needs to be pre-started according to the historical use condition of the application;
step S13, when the application needs to be pre-started, determining the pre-starting time according to the historical use condition of the application;
and step S14, when the pre-starting time is reached, starting the application.
The method can effectively improve the response speed of the client and improve the use experience of the client.
Wherein the content of the first and second substances,
in step S12, determining whether the application needs to be pre-started according to the historical usage of the application is one of the following ways:
the method comprises the steps that firstly, the heat index applied in a preset history stage is counted according to the historical use condition, and when the heat index is larger than a preset threshold value, or when the sequence of the heat index of an application set is in the top X position, the application is determined to need to be started;
the average number of the online users applied in the preset history stage is counted according to the historical use condition, and when the average number of the online users is larger than a preset threshold value, or when the average number of the online users is in the top Y position of the sequence of the average number of the online users of the application set, the application is determined to be started;
wherein X, Y is an integer greater than zero.
The step S13 of determining a pre-start time according to the historical usage of the application includes:
and counting peak periods of the online user number of the application in a first period (such as a week or a day) according to the historical use condition, and taking the first N seconds of the peak periods in each first period after the current time as a pre-starting time, wherein N is an integer greater than zero.
For example: and counting the peak time of the online user number of the application in one day from 21 pm to 23 pm according to the historical use condition, and taking the first N seconds of the peak time of each day after the current time as a pre-starting time, namely 120 seconds before 21 pm of each day.
For another example: and counting the peak time period of the online user number applied in one week from 21 pm per week to 2 am per week according to the historical use condition, and taking the first N seconds of the peak time period of each week after the current time as a pre-starting time, namely 120 seconds before 21 pm per week.
The method also comprises the following steps: a step of determining the value of N; the step of determining the value of N specifically includes: and acquiring the historical starting time of the application, and determining the value of N according to the historical starting time. For example: the average value of the historical activation time periods in seconds is taken as the value of N.
Fig. 2 is a block diagram of an application processing apparatus according to an exemplary embodiment, applied to a server, the apparatus including:
the acquisition module is used for acquiring the historical use condition of the application;
the judging module is used for judging whether the application needs to be pre-started or not according to the historical use condition of the application;
the determining module is used for determining the pre-starting time according to the historical use condition of the application when the application needs pre-starting;
and the starting module is used for starting the application when the pre-starting time is up.
Wherein the content of the first and second substances,
the judging module comprises:
the statistical unit is used for counting the heat index of the application in a preset history stage according to the history use condition;
and the judging unit is used for determining that the application needs to be started when the heat index is larger than a preset threshold value or when the heat index is in the top X position of the sequence of the heat indexes of the application set.
Alternatively, the first and second electrodes may be,
the statistical unit is used for counting the average number of the online users applied in a preset history stage according to the history use condition;
the judging unit is used for determining that the application needs to be started when the average number of the online users is larger than a preset threshold value or when the average number of the online users is in the top Y position in the sequence of the average number of the online users of the application set;
wherein X, Y is an integer greater than zero.
The determination module is further configured to determine a pre-launch time from the historical usage of the application using the following method: and counting the peak time of the online user number applied in the first period according to the historical use condition, and taking the first N seconds of the peak time of each first period after the current time as a pre-starting time, wherein N is an integer greater than zero.
The determining unit is further configured to determine a value of N; the value of N is determined using the following: and acquiring the historical starting time of the application, and determining the value of N according to the historical starting time.
A computer-readable storage medium is also provided in embodiments herein, on which a computer program is stored, wherein the computer program, when executed, implements the steps of the above-described method.
FIG. 3 is a block diagram illustrating a computer device 300 for applying a processing method according to an example embodiment. For example, the computer device 300 may be provided as a server. Referring to fig. 3, the computer device 300 includes a processor 301, and the number of the processors may be set to one or more as necessary. The computer device 300 further comprises a memory 302 for storing instructions, such as an application program, executable by the processor 301. The number of the memories can be set to one or more according to needs. Which may store one or more application programs. The processor 301 is configured to execute instructions to perform the above-described method.
As will be appreciated by one skilled in the art, the embodiments herein may be provided as a method, apparatus (device), or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied in the medium. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, including, but not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by the computer, and the like. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments herein. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that an article or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such article or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of additional like elements in the article or device comprising the element.
While the preferred embodiments herein have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of this disclosure.
It will be apparent to those skilled in the art that various changes and modifications may be made herein without departing from the spirit and scope thereof. Thus, it is intended that such changes and modifications be included herein, provided they come within the scope of the appended claims and their equivalents.

Claims (6)

1. An application processing method applied to a server includes:
collecting historical use conditions of the application;
judging whether the application needs to be pre-started or not according to the historical use condition of the application;
when the application needs to be pre-started, determining pre-starting time according to the historical use condition of the application;
starting the application when the pre-starting time is reached;
determining a pre-boot time based on the historical usage of the application comprises:
counting peak periods of the number of online users applied in a first period according to the historical use condition, and taking the first N seconds of the peak periods of each first period after the current time as a pre-starting time, wherein N is an integer greater than zero;
the method further comprises the following steps: determining the value of N;
the determining the value of N comprises: and collecting the historical starting time of the application, and taking the average value of the historical starting time as the value of N.
2. The application processing method of claim 1,
judging whether the application needs to be pre-started according to the historical use condition of the application is one of the following modes:
counting the heat index of the application in a preset history stage according to the historical use condition, and determining that the application needs to be started when the heat index is larger than a preset threshold value or when the sequence of the heat index of an application set is in the top X position;
counting the average number of the online users applied in a preset history stage according to the historical use condition, and determining that the application needs to be started when the average number of the online users is larger than a preset threshold value or when the average number of the online users is in the top Y-bit ranking of the average number of the online users of the application set;
wherein X, Y is an integer greater than zero.
3. An application processing apparatus, applied to a server, includes:
the acquisition module is used for acquiring the historical use condition of the application;
the judging module is used for judging whether the application needs to be pre-started or not according to the historical use condition of the application;
the determining module is used for determining the pre-starting time according to the historical use condition of the application when the application needs pre-starting;
the starting module is used for starting the application when the pre-starting time is up;
the determining module is further configured to determine a pre-boot time from the historical usage of the application using the following method:
counting peak periods of the number of online users applied in a first period according to the historical use condition, and taking the first N seconds of the peak periods of each first period after the current time as a pre-starting time, wherein N is an integer greater than zero;
the determining unit is further configured to determine a value of N; the value of N is determined using the following: and collecting the historical starting time of the application, and taking the average value of the historical starting time as the value of N.
4. The application processing apparatus of claim 3,
the judging module comprises:
the statistical unit is used for counting the heat index of the application in a preset history stage according to the history use condition;
and the judging unit is used for determining that the application needs to be started when the heat index is larger than a preset threshold value or when the heat index is in the top X position of the sequence of the heat indexes of the application set.
5. The application processing apparatus of claim 3,
the judging module comprises:
the statistical unit is used for counting the average number of the online users applied in a preset history stage according to the history use condition;
the judging unit is used for determining that the application needs to be started when the average number of the online users is larger than a preset threshold value or when the average number of the online users is in the top Y position in the sequence of the average number of the online users of the application set;
wherein X, Y is an integer greater than zero.
6. A computer-readable storage medium, on which a computer program is stored, which, when being executed, carries out the steps of the method according to claim 1 or 2.
CN201910637623.2A 2019-07-15 2019-07-15 Application processing method, device and medium Active CN110347491B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910637623.2A CN110347491B (en) 2019-07-15 2019-07-15 Application processing method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910637623.2A CN110347491B (en) 2019-07-15 2019-07-15 Application processing method, device and medium

Publications (2)

Publication Number Publication Date
CN110347491A CN110347491A (en) 2019-10-18
CN110347491B true CN110347491B (en) 2020-08-25

Family

ID=68176369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910637623.2A Active CN110347491B (en) 2019-07-15 2019-07-15 Application processing method, device and medium

Country Status (1)

Country Link
CN (1) CN110347491B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107229500A (en) * 2017-06-26 2017-10-03 珠海市魅族科技有限公司 application processing method, device, terminal and storage medium
CN107402815A (en) * 2017-07-19 2017-11-28 无锡天脉聚源传媒科技有限公司 A kind of server control method and device
CN108234758A (en) * 2017-12-28 2018-06-29 广东欧珀移动通信有限公司 Display methods, device, storage medium and the electronic equipment of application
CN109731336A (en) * 2018-12-27 2019-05-10 三星电子(中国)研发中心 A kind of control method and device of game application

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102254276B (en) * 2011-06-27 2016-06-08 百度在线网络技术(北京)有限公司 A kind of method and apparatus promoting budget for distributing popularization and application
CN103246526B (en) * 2012-02-07 2016-05-04 腾讯科技(深圳)有限公司 Client prestrain method and client pre-load means
CN102999368B (en) * 2012-12-14 2017-10-03 广东欧珀移动通信有限公司 Mobile terminal Program pre-actuates method, device and mobile terminal
CN104657183B (en) * 2015-03-09 2018-11-09 联想(北京)有限公司 Information processing method, device and electronic equipment
CN104951340B (en) * 2015-06-12 2018-07-06 联想(北京)有限公司 A kind of information processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107229500A (en) * 2017-06-26 2017-10-03 珠海市魅族科技有限公司 application processing method, device, terminal and storage medium
CN107402815A (en) * 2017-07-19 2017-11-28 无锡天脉聚源传媒科技有限公司 A kind of server control method and device
CN108234758A (en) * 2017-12-28 2018-06-29 广东欧珀移动通信有限公司 Display methods, device, storage medium and the electronic equipment of application
CN109731336A (en) * 2018-12-27 2019-05-10 三星电子(中国)研发中心 A kind of control method and device of game application

Also Published As

Publication number Publication date
CN110347491A (en) 2019-10-18

Similar Documents

Publication Publication Date Title
CN109379299B (en) Method, device and system for limiting data flow
US20150074660A1 (en) Method and apparatus of downloading and installing a client
US20200257749A1 (en) Method and a device for friend recommendation
CN108600836B (en) Video processing method and device
CN110033247B (en) Payment channel recommendation method and system
WO2018149317A1 (en) Method of performing smart hybrid acceleration on resources, device, medium, and apparatus
WO2015176630A1 (en) Control method and apparatus for data display
US20170270106A1 (en) Methods and apparatuses for storing file path and accessing local file
KR20170059997A (en) Method and apparatus of processing a doi (digital object unique identifier) in interaction information
CN107862020B (en) Friend recommendation method and device
CN111538964B (en) Login mode pushing method, device and system and electronic equipment
WO2016078091A1 (en) Input output (io) request processing method and file server
CN110347491B (en) Application processing method, device and medium
CN110764930A (en) Request or response processing method and device based on message mode
CN108156071B (en) Method for adding members to community, terminal device and computer readable storage medium
CN109542401B (en) Web development method and device, storage medium and processor
CN110851822B (en) Network download security processing method and device
CN109299117B (en) Data request processing method and device, storage medium and processor
CN110019010B (en) Processing method, apparatus, device and machine readable medium
CN109246216B (en) Access request processing method and device
CN109413176B (en) Report downloading method and device
CN112509164A (en) Attendance card-punching method, attendance card-punching device, attendance card-punching equipment and storage medium
US20200134675A1 (en) Personalization of messages by assessing the effectiveness of messages based on message outcomes
EP3161703A1 (en) Method and system for data processing
CN112507193A (en) Data updating method, device, equipment and storage medium

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240408

Address after: Room 503, Building 3, No. 6, Xicheng Xi'an North Road, Xinluo District, Longyan City, Fujian Province, 364000

Patentee after: Xie Xinyong

Country or region after: China

Address before: 550000 floor 5, building a, Liyang building (Gaoke No.1), 160 Changling South Road, Guiyang National High tech Industrial Development Zone, Guiyang City, Guizhou Province

Patentee before: GUIYANG GLOUD TECHNOLOGY Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240426

Address after: Room 527, Building 3, Zhongke Innovation Plaza, Huaqiao Town, Kunshan City, Suzhou City, Jiangsu Province, 215300

Patentee after: Suzhou Dongjiang Software Co.,Ltd.

Country or region after: China

Address before: Room 503, Building 3, No. 6, Xicheng Xi'an North Road, Xinluo District, Longyan City, Fujian Province, 364000

Patentee before: Xie Xinyong

Country or region before: China