CN112631674A - Application program running and storing method and system - Google Patents

Application program running and storing method and system Download PDF

Info

Publication number
CN112631674A
CN112631674A CN202011502928.1A CN202011502928A CN112631674A CN 112631674 A CN112631674 A CN 112631674A CN 202011502928 A CN202011502928 A CN 202011502928A CN 112631674 A CN112631674 A CN 112631674A
Authority
CN
China
Prior art keywords
application program
running
data
local client
application
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
CN202011502928.1A
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.)
Beijing Information Science and Technology University
Original Assignee
Beijing Information Science and Technology University
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 Beijing Information Science and Technology University filed Critical Beijing Information Science and Technology University
Priority to CN202210119557.1A priority Critical patent/CN114443172A/en
Priority to CN202011502928.1A priority patent/CN112631674A/en
Publication of CN112631674A publication Critical patent/CN112631674A/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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Abstract

The invention relates to an application program running and storing method and system. The method comprises the following steps: acquiring an application request; acquiring the application program in the cloud according to the application request; running the application program by adopting the local client; acquiring operation data of the local client for operating the application program; marking the running data of the application program according to the ID of the local client; and sending the marked running data to the cloud for storage. The application program running and storing method and system provided by the invention improve the response speed while being not limited by the size of the local storage space.

Description

Application program running and storing method and system
Technical Field
The invention relates to the field of application program storage and operation, in particular to an application program operation and storage method and system.
Background
Computation and storage are two core resources of a computer. Due to the limitation of data long-distance transmission bandwidth, the prior art scheme does not cause the storage and operation resources of the system to be physically separated from each other too far. Or the operation and the storage are local, or the operation and the storage are in the cloud.
With the continuous development of communication technology, it becomes possible to separate computation and storage at a remote distance. Therefore, the cloud massive storage space can be used, and extremely low response delay of local operation can be enjoyed. This solution has inherent great advantages especially on small mobile devices.
However, the scheme is to solve the problems of maintaining the coordination mode and consistency between the cloud storage resources and the local running resources and the like. Therefore, a new solution is needed to solve the above problems.
Disclosure of Invention
The invention aims to provide an application program running and storing method and system, which are limited by the size of a local storage space and improve the response speed.
In order to achieve the purpose, the invention provides the following scheme:
an application program running and storing method comprises the following steps:
acquiring an application request; the application request comprises an ID of a local client and an identifier of an application program;
acquiring the application program in the cloud according to the application request;
running the application program by adopting the local client;
acquiring operation data of the local client for operating the application program;
marking the running data of the application program according to the ID of the local client;
and sending the marked running data to the cloud for storage.
Optionally, the acquiring the application program in the cloud according to the application request specifically includes:
judging whether the application program exists in the cloud or not according to the identifier of the application program;
if yes, acquiring the application program;
and if not, returning to the step of obtaining the application request.
Optionally, the running the application program by using the local client specifically includes:
judging whether the application program is operated for the first time or not according to the ID of the local client;
if the application program is operated for the first time, directly operating the application program;
if the application program is not operated for the first time, determining the operation data marked for the last time according to the ID of the local client;
and running the application program according to the running data marked last time.
Optionally, the obtaining operation data of the local client for operating the application program further includes:
judging whether the operation data is to-be-stored operation data or not;
if the running data is the running data to be stored, marking the running data of the application program according to the ID of the local client;
and if the operation data is not the operation data to be stored, clearing the operation data.
Optionally, the sending the marked running data to the cloud for storage further includes:
and caching the application program at the local client.
An application program running and storing system, comprising:
an application request acquisition module for acquiring an application request; the application request comprises an ID of a local client and an identifier of an application program;
the application program acquisition module is used for acquiring the application program in the cloud according to the application request;
the application program running module is used for running the application program by adopting the local client;
the operation data acquisition module is used for acquiring operation data of the local client for operating the application program;
the running data marking module is used for marking the running data of the application program according to the ID of the local client;
and the operation data storage module is used for sending the marked operation data to the cloud for storage.
Optionally, the application acquiring module specifically includes:
the first judging unit is used for judging whether the application program exists in the cloud or not according to the identification of the application program;
an application program acquisition unit, configured to acquire the application program if the application program exists;
and the application request reacquiring unit is used for returning to the step of acquiring the application request if the application request reacquiring unit does not exist.
Optionally, the application program running module specifically includes:
the second judgment unit is used for judging whether the application program runs for the first time according to the ID of the local client;
the first running unit of the application program is used for directly running the application program if the application program is run for the first time;
the historical data determining unit is used for determining the operation data marked last time according to the ID of the local client if the application program is not operated for the first time;
and the second running unit of the application program is used for running the application program according to the running data marked last time.
Optionally, the method further includes:
the judging module is used for judging whether the operating data is to-be-stored operating data;
the running data marking execution module is used for marking the running data of the application program according to the ID of the local client if the running data is the running data to be stored;
and the operation data clearing module is used for clearing the operation data if the operation data is not the operation data to be stored.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
according to the application program running and storing method and system provided by the invention, the local client runs the application program in the cloud, the running data generated by running is stored in the cloud, when the application program is deleted and downloaded again, the state after the last running can be kept, the data generated by opening the page for many times is stored in the cloud and is not lost, the memory utilization of the local client is further improved, and the running speed is ensured. And the system runs at the cloud, so that the corresponding speed is further improved, the network flow is saved, and the requirement on network delay is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a schematic flow chart of an application program running and storing method provided by the present invention;
fig. 2 is a schematic structural diagram of an application running and storing system provided by the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention aims to provide an application program running and storing method and system, which are not limited by the size of a local storage space and improve the response speed.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Fig. 1 is a schematic flow chart of an application program running and storing method provided by the present invention, and as shown in fig. 1, the application program running and storing method provided by the present invention includes:
s101, acquiring an application request; the application request includes an ID of the local client and an identification of the application. The local client is a mobile device, such as a mobile phone or tablet.
And S102, acquiring the application program in the cloud according to the application request.
And judging whether the application program exists in the cloud or not according to the identifier of the application program.
And if so, acquiring the application program.
And if not, returning to the step of obtaining the application request.
And S103, running the application program by adopting the local client.
And judging whether the application program is operated for the first time or not according to the ID of the local client.
And if the application program is operated for the first time, directly operating the application program.
And if the application program is not operated for the first time, determining the operation data marked for the last time according to the ID of the local client.
And running the application program according to the running data marked last time.
As a specific embodiment, the application program may be downloaded to a local client and then run, or may run directly in the cloud. The run data is retained after each run.
And S104, acquiring the operation data of the local client for operating the application program.
After S104, further comprising:
and judging whether the operation data is the operation data to be stored.
And if the running data is the running data to be stored, marking the running data of the application program according to the ID of the local client.
And if the operation data is not the operation data to be stored, clearing the operation data.
And S105, marking the running data of the application program according to the ID of the local client.
And S106, sending the marked running data to the cloud for storage.
After S106, further comprising:
and caching the application program at the local client.
I.e. a caching strategy is used to reduce the application requests.
And after the application program runs, caching the application program at the local client.
And if the local client cache exists when the same application program is requested again next time, the application request is not used any more.
As a specific embodiment, if the local space is tight, the locally stored programs and data are deleted, and if an application program which is not locally available needs to be run, the request is made to the cloud again. The cloud returns data required by the running of the application program, wherein the data comprises data generated by the last running. The application is run locally in a state after the last run.
Fig. 2 is a schematic structural diagram of an application program running and storing system provided by the present invention, and as shown in fig. 2, the application program running and storing system provided by the present invention includes: an application request acquisition module 201, an application acquisition module 202, an application execution module 203, an execution data acquisition module 204, an execution data marking module 205, and an execution data storage module 206.
The application request obtaining module 201 is configured to obtain an application request; the application request includes an ID of the local client and an identification of the application.
The application program obtaining module 202 is configured to obtain the application program in the cloud according to the application request.
The application running module 203 is configured to run the application using the local client.
The operation data obtaining module 204 is configured to obtain operation data of the local client for operating the application program.
The running data marking module 205 is configured to mark the running data of the application according to the ID of the local client.
The operation data storage module 206 is configured to send the marked operation data to the cloud for storage.
The application program obtaining module 202 specifically includes: the device comprises a first judgment unit, an application program acquisition unit and an application request reacquisition unit.
The first judging unit is used for judging whether the application program exists in the cloud or not according to the identification of the application program.
The application program acquisition unit is used for acquiring the application program if the application program exists.
The application request reacquisition unit is used for returning to the step of acquiring the application request if the application request reacquirement unit does not exist.
The application running module 203 specifically includes: the device comprises a second judgment unit, an application program first operation unit, a historical data determination unit and an application program second operation unit.
And the second judging unit is used for judging whether the application program runs for the first time according to the ID of the local client.
The first operation unit of the application program is used for directly operating the application program if the application program is operated for the first time.
And the historical data determining unit is used for determining the operation data marked last time according to the ID of the local client if the application program is not operated for the first time.
And the second application program running unit is used for running the application program according to the running data marked last time.
The invention provides an application program running and storing system, which further comprises: the device comprises a judging module, an operating data marking executing module and an operating data clearing module.
The judging module is used for judging whether the operation data is the operation data to be stored.
And the running data marking execution module is used for marking the running data of the application program according to the ID of the local client if the running data is the running data to be stored.
And the operating data clearing module is used for clearing the operating data if the operating data is not the operating data to be stored.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.

Claims (9)

1. An application program running and storing method is characterized by comprising the following steps:
acquiring an application request; the application request comprises an ID of a local client and an identifier of an application program;
acquiring the application program in the cloud according to the application request;
running the application program by adopting the local client;
acquiring operation data of the local client for operating the application program;
marking the running data of the application program according to the ID of the local client;
and sending the marked running data to the cloud for storage.
2. The method for running and storing the application program according to claim 1, wherein the acquiring the application program in the cloud according to the application request specifically comprises:
judging whether the application program exists in the cloud or not according to the identifier of the application program;
if yes, acquiring the application program;
and if not, returning to the step of obtaining the application request.
3. The method for running and storing the application program according to claim 1, wherein the running the application program by using the local client specifically includes:
judging whether the application program is operated for the first time or not according to the ID of the local client;
if the application program is operated for the first time, directly operating the application program;
if the application program is not operated for the first time, determining the operation data marked for the last time according to the ID of the local client;
and running the application program according to the running data marked last time.
4. The method for operating and storing the application program according to claim 1, wherein the obtaining of the operation data of the local client for operating the application program further comprises:
judging whether the operation data is to-be-stored operation data or not;
if the running data is the running data to be stored, marking the running data of the application program according to the ID of the local client;
and if the operation data is not the operation data to be stored, clearing the operation data.
5. The method for operating and storing the application program according to claim 1, wherein the sending the marked operating data to the cloud for storage further comprises:
and caching the application program at the local client.
6. An application program running and storing system, comprising:
an application request acquisition module for acquiring an application request; the application request comprises an ID of a local client and an identifier of an application program;
the application program acquisition module is used for acquiring the application program in the cloud according to the application request;
the application program running module is used for running the application program by adopting the local client;
the operation data acquisition module is used for acquiring operation data of the local client for operating the application program;
the running data marking module is used for marking the running data of the application program according to the ID of the local client;
and the operation data storage module is used for sending the marked operation data to the cloud for storage.
7. The system for running and storing the application program according to claim 6, wherein the application program obtaining module specifically comprises:
the first judging unit is used for judging whether the application program exists in the cloud or not according to the identification of the application program;
an application program acquisition unit, configured to acquire the application program if the application program exists;
and the application request reacquiring unit is used for returning to the step of acquiring the application request if the application request reacquiring unit does not exist.
8. The system for running and storing the application program according to claim 6, wherein the application program running module specifically comprises:
the second judgment unit is used for judging whether the application program runs for the first time according to the ID of the local client;
the first running unit of the application program is used for directly running the application program if the application program is run for the first time;
the historical data determining unit is used for determining the operation data marked last time according to the ID of the local client if the application program is not operated for the first time;
and the second running unit of the application program is used for running the application program according to the running data marked last time.
9. The application program running and storing system according to claim 6, further comprising:
the judging module is used for judging whether the operating data is to-be-stored operating data;
the running data marking execution module is used for marking the running data of the application program according to the ID of the local client if the running data is the running data to be stored;
and the operation data clearing module is used for clearing the operation data if the operation data is not the operation data to be stored.
CN202011502928.1A 2020-12-18 2020-12-18 Application program running and storing method and system Pending CN112631674A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210119557.1A CN114443172A (en) 2020-12-18 2020-12-18 Application program running method and system
CN202011502928.1A CN112631674A (en) 2020-12-18 2020-12-18 Application program running and storing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011502928.1A CN112631674A (en) 2020-12-18 2020-12-18 Application program running and storing method and system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202210119557.1A Division CN114443172A (en) 2020-12-18 2020-12-18 Application program running method and system

Publications (1)

Publication Number Publication Date
CN112631674A true CN112631674A (en) 2021-04-09

Family

ID=75316937

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202210119557.1A Pending CN114443172A (en) 2020-12-18 2020-12-18 Application program running method and system
CN202011502928.1A Pending CN112631674A (en) 2020-12-18 2020-12-18 Application program running and storing method and system

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202210119557.1A Pending CN114443172A (en) 2020-12-18 2020-12-18 Application program running method and system

Country Status (1)

Country Link
CN (2) CN114443172A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183949A (en) * 2007-03-30 2008-05-21 腾讯科技(深圳)有限公司 Client terminal application program starting method, application program server and client terminal
CN102629935A (en) * 2012-03-07 2012-08-08 中兴通讯股份有限公司 Method for installing application software based on cloud service, device thereof and system thereof
CN103377053A (en) * 2012-04-16 2013-10-30 腾讯科技(深圳)有限公司 Method, device and system for controlling application
US20130324263A1 (en) * 2011-04-28 2013-12-05 Yavuz Ahiska Adaptive application selection in cloud gaming
US20140129819A1 (en) * 2012-11-02 2014-05-08 Delta Electronics, Inc. Cloud cluster system and boot deployment method for the same
CN104657154A (en) * 2013-11-18 2015-05-27 中兴通讯股份有限公司 Method, device and terminal for loading application program
WO2015145905A1 (en) * 2014-03-28 2015-10-01 株式会社セガ Additional download management system, terminal device control program, terminal device, and additional download management device
CN111464625A (en) * 2017-02-28 2020-07-28 福建新和兴信息技术有限公司 File storage method with flexible file storage mode

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281350A (en) * 2013-04-18 2013-09-04 百度在线网络技术(北京)有限公司 Mobile terminal and method, system and cloud server for managing application programs of mobile terminal
CN104598257B (en) * 2013-10-30 2019-01-18 华为技术有限公司 The method and apparatus of remote application operation
CN105245558B (en) * 2014-07-09 2020-04-21 腾讯科技(深圳)有限公司 Application program running method, system and server supporting virtual online
CN106686150A (en) * 2017-03-23 2017-05-17 北京奇虎科技有限公司 Backup method and system of application information, client and cloud server
CN110084064B (en) * 2019-04-24 2020-05-19 德萱(天津)科技发展有限公司 Big data analysis processing method and system based on terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183949A (en) * 2007-03-30 2008-05-21 腾讯科技(深圳)有限公司 Client terminal application program starting method, application program server and client terminal
US20130324263A1 (en) * 2011-04-28 2013-12-05 Yavuz Ahiska Adaptive application selection in cloud gaming
CN102629935A (en) * 2012-03-07 2012-08-08 中兴通讯股份有限公司 Method for installing application software based on cloud service, device thereof and system thereof
CN103377053A (en) * 2012-04-16 2013-10-30 腾讯科技(深圳)有限公司 Method, device and system for controlling application
US20140129819A1 (en) * 2012-11-02 2014-05-08 Delta Electronics, Inc. Cloud cluster system and boot deployment method for the same
CN104657154A (en) * 2013-11-18 2015-05-27 中兴通讯股份有限公司 Method, device and terminal for loading application program
WO2015145905A1 (en) * 2014-03-28 2015-10-01 株式会社セガ Additional download management system, terminal device control program, terminal device, and additional download management device
CN111464625A (en) * 2017-02-28 2020-07-28 福建新和兴信息技术有限公司 File storage method with flexible file storage mode

Also Published As

Publication number Publication date
CN114443172A (en) 2022-05-06

Similar Documents

Publication Publication Date Title
CN102984286B (en) Method and device and system of domain name server (DNS) for buffering updating
US9075663B2 (en) Cloud-based web workers and storages
CN103200212B (en) A kind of method and system realizing distributed conversation under cloud computing environment
CN105446750B (en) The method and apparatus that WebApp starting runs, generates image file
CN102624881B (en) Mobile-device-oriented service cache system architecture and development method
CN107491320A (en) Loading method and device based on mixed mode Mobile solution
CN104798071A (en) Improving web sites performance using edge servers in fog computing architecture
CN102567339A (en) Method, device and system for acquiring start page
CN112836152B (en) Page rendering method, system, computer device and computer readable storage medium
CN101997853A (en) Data downloading method and terminal
CN103379115A (en) Data synchronism method and equipment for local storage and network storage
CN103731493A (en) Page transmission method, device and system
US7908391B1 (en) Application streaming and network file system optimization via feature popularity
WO2014161261A1 (en) Data storage method and apparatus
CN106657182B (en) Cloud file processing method and device
CN113672524A (en) Data processing method and system based on multi-level cache
KR20210040864A (en) File directory traversal method, apparatus, device, and medium
CN104469394A (en) Video resource acquiring method, background server, video client and system
CN104615597A (en) Method, device and system for clearing cache file in browser
CN101699823A (en) Method for realizing caching resource in curl library
CN112631674A (en) Application program running and storing method and system
CN111596864A (en) Method, device, server and storage medium for data delayed deletion
CN115033656A (en) Data processing method and device based on map cache technology and electronic device
Kumar et al. An extended client server architecture in mobile environment
CN104079704A (en) Mobile terminal and server for synchronizing data as well as corresponding method

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: 20210409