CN108762821B - Device and method for running application of electronic equipment and electronic equipment - Google Patents

Device and method for running application of electronic equipment and electronic equipment Download PDF

Info

Publication number
CN108762821B
CN108762821B CN201710252084.1A CN201710252084A CN108762821B CN 108762821 B CN108762821 B CN 108762821B CN 201710252084 A CN201710252084 A CN 201710252084A CN 108762821 B CN108762821 B CN 108762821B
Authority
CN
China
Prior art keywords
file
resource file
application
executable
resource
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
CN201710252084.1A
Other languages
Chinese (zh)
Other versions
CN108762821A (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.)
Anhui Haima Cloud Technology Co ltd
Original Assignee
Haima Cloud Tianjin Information 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 Haima Cloud Tianjin Information Technology Co Ltd filed Critical Haima Cloud Tianjin Information Technology Co Ltd
Priority to CN201710252084.1A priority Critical patent/CN108762821B/en
Publication of CN108762821A publication Critical patent/CN108762821A/en
Application granted granted Critical
Publication of CN108762821B publication Critical patent/CN108762821B/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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading

Abstract

The device and the method for running the application by the electronic equipment, and the electronic equipment provided by the invention comprise a file system and the application, wherein the file system is used for acquiring the information of the executable file calling resource file and notifying the application of the information of the executable file calling resource file; the application is used for obtaining the non-local resource file according to the information of the executable file calling resource file. The application corresponding to the executable file can be operated as long as the executable file is stored on the electronic equipment, a large number of resource files are not required to be stored on the electronic equipment, the storage space of the electronic equipment is effectively saved, and the number of applications which can be used by a user is greatly increased. Compared with the traditional installation package after installation, the application running speed is not significantly different, and the user experience is not sacrificed.

Description

Device and method for running application of electronic equipment and electronic equipment
Technical Field
The invention relates to a device and a method for running an application of electronic equipment and the electronic equipment.
Background
Electronic devices having an operating system, such as personal computers, mobile terminals, etc., play an increasingly important role in daily life. An important function of an electronic device is to run various applications, which refer to software or programs that can run in some kind of operating system. Currently, more applications are required by users of electronic devices, and the storage space of the electronic devices is limited, so that many applications required by users cannot be installed in enough storage space.
Currently, the mainstream operating systems, such as Windows, mac, IOS, linux and operating systems derived on the basis of Linux, such as Android, are all installed by installing packages. After the installation package is operated, a large number of files are generated, the files are positioned under one or more top-level father directories to form a certain directory hierarchical relationship, and the position of the top-level father directory and the child directory structure under the top-level father directory are determined by the operating system and the installation package together. Files generated after the installation package is operated are executable files (sometimes also called executable programs), the executable files can be operated in an operating system, and processes corresponding to the executable files are generated in the operating system during operation; another type of file cannot run in the operating system itself, and is used for the executable file to be called in the running process, and the file is called as a resource file. The directory hierarchical relationship formed after the installation package is operated can determine the specific path of any resource file, and provides convenience for the executable file to call the resource file. The application operates normally, and both executable files and resource files are indispensable.
Analyzing the sizes of the executable files and the resource files can find that the executable files applied in the current mainstream operation system are smaller, and the maximum size is tens of MB generally; while the resource files of applications may be large, the resource files of some applications accumulate to hundreds of GB. One natural idea is that a user stores only an executable file of an application in an electronic device, and stores resource files of the application on other devices, and invokes the resource files from the other devices after the executable file in the electronic device is started. However, the current mainstream operating system does not directly support the above ideas, and how to implement the above ideas has not yet been reported.
The disclosure in the background section of the specification is helpful for a person skilled in the art to understand the technical solutions of the present invention, but should not be construed accordingly as necessarily belonging to the prior art or the common general knowledge.
Disclosure of Invention
In order to overcome the defect reflected in the background technology, the invention provides a device and a method for running an application of electronic equipment and the electronic equipment.
The device for running the application by the electronic equipment comprises a file system and the application, wherein the file system is used for acquiring the information of the executable file calling resource file and notifying the application of the information of the executable file calling resource file; the application is used for obtaining the non-local resource file according to the information of the executable file calling resource file.
Further, the information of the executable file calling resource file comprises a path of the executable file calling resource file.
Further, the non-local resource files are stored according to directory hierarchical relations formed after the installation packages of the corresponding applications of the resource files are operated.
Further, the application obtains the non-local resource file through a customized non-standard protocol.
Furthermore, the application is further used for obtaining the non-local resource file in advance according to the sequence of calling the resource file by the executable file.
Further, the obtaining the non-local resource file includes downloading the non-local resource file or mounting the non-local resource file.
Furthermore, if the application mounts the non-local resource file, the file system is further configured to store data generated by writing the executable file to the non-local resource file to the local.
The electronic equipment comprises the device for running the application of the electronic equipment.
A method of running an application by an electronic device, comprising:
and acquiring information of the executable file calling resource file, and acquiring the non-local resource file according to the information of the executable file calling resource file.
Since the apparatus for running an application of an electronic device may be used to implement the method for running an application of an electronic device, some descriptions of the method for running an application of an electronic device are omitted. By contrast, a person skilled in the art can clearly and completely recognize the method of operating the application of the electronic device.
In the technical scheme of the invention, words such as "comprising", "used" and the like are to be understood in an open expression manner. Those skilled in the art will not be further described in the present specification, and the description is not to be read in connection with the present specification or the common general knowledge.
According to the device and the method for running the application by the electronic equipment and the electronic equipment, the application corresponding to the executable file can be run as long as the executable file is stored on the electronic equipment, a large number of resource files are not required to be stored on the electronic equipment, the storage space of the electronic equipment is effectively saved, and the number of applications which can be used by a user is greatly increased. Compared with the traditional installation package after installation, the application running speed is not significantly different, and the user experience is not sacrificed.
Drawings
FIG. 1 is a flow chart of a method of an electronic device running an application in an embodiment.
Detailed Description
Embodiments of the present invention will be described in further detail below. It should be noted, however, that the scope of the present invention is not limited by the specific embodiments described. Any technical solution obtained by carrying out the same or equivalent substitution of technical elements in the specific technical solution described or technical solution which can be obtained by a person skilled in the art without creative work on the basis of the specific technical solution described shall be considered as falling within the protection scope of the present invention.
The core of the device for running the application of the electronic equipment is a special file system, and the file system is the biggest difference from the common file system in the current mainstream operation system in that the file system can acquire the information of the executable file calling resource file. When the executable file needs to call the resource file in the running process (namely in the process of running the process), corresponding call information is sent to the operating system, and the call information generally comprises the path of the resource file which needs to be called by the executable file, so that the operating system can know where the resource file which needs to be called by the executable file is specifically stored, the time for searching the resource file is saved, and searching errors are prevented. In the technical scheme of the invention, the resource file is a non-local file (the file stored in the memory of the electronic equipment is a local file, otherwise, the file is a non-local file), so that after the file system acquires the information of the executable file calling resource file, the file system cannot directly search the memory of the electronic equipment, but notifies a special application of the information of the executable file calling resource file. The special application establishes a communication relation with other devices storing the resource file through a standard protocol or a custom non-standard protocol, and obtains a non-local resource file from the other devices according to the information of calling the resource file by the executable file. In most cases, the electronic device and other devices are connected through a public network, the communication security is poor by adopting a standard protocol, and the special application has obvious advantages of obtaining the non-local resource file from the other devices through a customized non-standard protocol. For example, the existing network file system (Network File System, abbreviated as NFS) also supports electronic devices to obtain non-local files from other devices, but related protocols of NFS are disclosed, and direct use of NFS on a public network has a great potential safety hazard and is very vulnerable to attack.
There are mainly two ways in which applications obtain non-native resource files from other devices. If the resource file called by the executable file is smaller, the non-local resource file can be directly downloaded, namely, the resource file stored in other equipment is downloaded to the memory of the electronic equipment. And after the resource file is downloaded, storing according to the directory hierarchical relationship formed after the installation package of the application corresponding to the resource file is operated, so that the executable file can directly call the resource file, and performing operations such as reading and writing on the resource file.
If the resource file called by the executable file is larger, a certain time is wasted in downloading, the user experience is affected, and at the moment, the non-local resource file can be mounted. The mounting refers to virtualizing the non-native file into a native file through a corresponding command in an operating system, and the non-native file after mounting is regarded as the native file from the viewpoint of an executable file (or a process). The current mainstream operating systems all support the mount function. The resource files in other devices are stored according to the directory hierarchical relationship formed after the installation package of the application corresponding to the resource files is operated, so that the executable files after being mounted can also directly call the resource files.
If the non-local resource file is obtained in a mode of mounting the non-local resource file, the non-local resource file is actually stored on other devices, and in order to ensure the safety of the resource file, the resource file is read-only to the executable file, and the executable file often needs to perform writing operation when calling the resource file. To solve this contradiction, the file system adds a corresponding function to store the data generated by the write operation of the executable file to the non-native resource file locally. The specific storage method can store the whole resource file subjected to the over-writing operation, or can only store the corresponding data subjected to the over-writing operation in the resource file. The file system can identify whether the non-local resource file called by the executable file is subjected to the writing operation before or not through the file identification and/or the data identification, and if the non-local resource file called by the executable file is subjected to the writing operation, the file system directly returns the data stored in the local resource file or the resource file to the executable file; alternatively, the executable file calls requests for non-native resource files are directed to a native file directory.
A certain amount of time is consumed, whether downloading or mounting the non-native resource file, which, although often short, may still affect the user experience. In order to further enhance the user experience, the dedicated application may also obtain the non-native resource file in advance according to the order in which the executable file invokes the resource file. Typically, the order in which the executable file calls the resource files is fixed, and analyzing the source code of the executable file may learn the order of calls, or a simpler method may learn the order in which the executable file calls the resource files by running it through a time in advance. Some executable files call which resource files during run-time according to the user's choice, but the choices provided to the user are limited, meaning that the resource files that may be called are also limited. The special application obtains one or more non-local resource files in advance according to the sequence of calling the resource files by the executable files, which is known in advance. When the executable file sends out a request for calling the non-local resource file, the operation of correspondingly downloading the non-local resource file or mounting the non-local resource file is finished.
The electronic equipment comprises the device for running the application of the electronic equipment. According to technical details such as codes, interfaces and the like disclosed by an operating system of the electronic equipment, corresponding programs are written, and the file system can be realized. A dedicated application may already exist in the operating system, which is used to provide certain system services of the operating system, or may require writing a corresponding program implementation. The device for running the application of the electronic device is a program module based on a computer program and is not a physical device mainly realized by a hardware mode.
The method of running an application by an electronic device may be implemented by means of the device running the application by the electronic device or by means similar to the device. And the most core step of the method for running the application by the electronic equipment is to acquire the information of the executable file calling resource file and acquire the non-local resource file according to the information of the executable file calling resource file. The process of the method for running the application by the electronic device is shown in fig. 1 and includes two sub-steps: s101, acquiring information of an executable file calling resource file, and S102, acquiring a non-local resource file according to the information of the executable file calling resource file. Because the device for running the application of the electronic device and the method for running the application of the electronic device have clear correspondence, the description of the method for running the application of the electronic device is omitted, and by contrast, a person skilled in the art can clearly and completely know the method for running the application of the electronic device.
According to the technical scheme, the application corresponding to the executable file can be run as long as the executable file is stored on the electronic equipment, a large number of resource files are not required to be stored on the electronic equipment, the storage space of the electronic equipment is effectively saved, and the number of applications which can be used by a user is greatly increased. Meanwhile, compared with the traditional operation after installation of the installation package, the operation speed of the application is not obviously different, and the technical scheme does not sacrifice user experience.
Other solutions can be constructed well by those skilled in the art on the basis of the specific solutions described above. Not specifically listed here.

Claims (4)

1. The device for running the application of the electronic equipment is characterized by comprising a file system and the application, wherein the file system is used for acquiring the information of the executable file calling resource file and notifying the application of the information of the executable file calling resource file; the application is used for obtaining a non-local resource file according to the information of the executable file calling resource file, wherein the executable file calling resource file comprises a path of the executable file calling resource file, the non-local resource file is stored according to a directory hierarchical relationship formed after the resource file corresponds to an installation package of the application, the application is used for obtaining the non-local resource file through a self-defined non-standard protocol, the application is also used for obtaining the non-local resource file in advance according to the sequence of the executable file calling resource file, and the obtaining of the non-local resource file comprises downloading or mounting of the non-local resource file.
2. The apparatus of claim 1, wherein the file system is further configured to store data generated by writing the non-native resource file to the executable file to the local if the application mounts the non-native resource file.
3. An electronic device, characterized in that the electronic device comprises means for running an application of the electronic device according to any of claims 1-2.
4. A method for running an application on an electronic device, the method comprising: acquiring information of an executable file calling resource file, acquiring a non-local resource file according to the information of the executable file calling resource file, wherein the information of the executable file calling resource file comprises a path of the executable file calling resource file, and the non-local resource file is stored according to a directory hierarchical relationship formed after the installation package of the application corresponding to the resource file is operated and is acquired through a self-defined non-standard protocol;
the method further comprises the steps of: acquiring non-local resource files in advance according to the sequence of calling the resource files by the executable files,
the obtaining of the non-local resource file comprises downloading the non-local resource file or mounting the non-local resource file.
CN201710252084.1A 2017-04-18 2017-04-18 Device and method for running application of electronic equipment and electronic equipment Active CN108762821B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710252084.1A CN108762821B (en) 2017-04-18 2017-04-18 Device and method for running application of electronic equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710252084.1A CN108762821B (en) 2017-04-18 2017-04-18 Device and method for running application of electronic equipment and electronic equipment

Publications (2)

Publication Number Publication Date
CN108762821A CN108762821A (en) 2018-11-06
CN108762821B true CN108762821B (en) 2023-04-25

Family

ID=63980009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710252084.1A Active CN108762821B (en) 2017-04-18 2017-04-18 Device and method for running application of electronic equipment and electronic equipment

Country Status (1)

Country Link
CN (1) CN108762821B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102279748A (en) * 2011-08-29 2011-12-14 焦秀琴 Method, system, server and client side for remotely storing locally executed software
CN102402446A (en) * 2011-11-22 2012-04-04 成都市华为赛门铁克科技有限公司 Method and device for installing application software
CN102541475A (en) * 2012-03-12 2012-07-04 成都市华为赛门铁克科技有限公司 Data storage method and data storage device
CN102902914A (en) * 2012-09-05 2013-01-30 福建伊时代信息科技股份有限公司 Method and device for achieving terminal tracelessness
CN103353861A (en) * 2013-06-18 2013-10-16 中国科学院计算技术研究所 Method and device for realizing pooling of distributed I/O (Input/Output) resources
CN103428357A (en) * 2012-05-25 2013-12-04 盛乐信息技术(上海)有限公司 Method and apparatus for realizing local service sharing of mobile terminal operating system
CN103714014A (en) * 2013-11-18 2014-04-09 华为技术有限公司 Cached data processing method
CN104023058A (en) * 2014-06-03 2014-09-03 浙江宇视科技有限公司 Method and system for managing and allocating storage resources
JP2015222872A (en) * 2014-05-22 2015-12-10 キヤノン株式会社 Image processing apparatus, control method therefor and program
EP3009950A1 (en) * 2014-10-17 2016-04-20 Fundació Privada Barcelona Digital Centre Tecnologic Method and apparatus for continuous and implicit local authentication of wireless mobile users based on dynamic profiling of conduct patterns

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452402B (en) * 2008-11-28 2012-05-30 珠海金山快快科技有限公司 Software operation system and software operation method
CN102270129A (en) * 2010-06-07 2011-12-07 微软公司 Distributing software products as an executable containing script logic with external resources
CN102902566A (en) * 2012-09-29 2013-01-30 广东欧珀移动通信有限公司 Method and device for installing and starting application software
CN105740027B (en) * 2012-12-06 2019-07-19 北京奇虎科技有限公司 Application program update method and apparatus
CN102945182B (en) * 2012-12-06 2016-03-30 北京奇虎科技有限公司 Application program update method and apparatus
CN103036959B (en) * 2012-12-07 2015-12-02 武汉邮电科学研究院 Based on implementation method and the system of the distributed deployment application program of IO decoupling zero
CN103473163B (en) * 2013-09-11 2016-10-26 腾讯科技(深圳)有限公司 application program detection method and device
CN104133701A (en) * 2014-07-31 2014-11-05 广州金山网络科技有限公司 Application installation method and device
CN104317573B (en) * 2014-10-03 2017-06-16 李宏伟 Android installation kit conversion method and device and the method and apparatus of operation application
CN104202332B (en) * 2014-10-11 2017-07-28 中南大学 Mobile device virtualization system and instant installation method based on linux kernel
CN104298599B (en) * 2014-10-21 2017-09-15 卡斯柯信号有限公司 The On-line self-diagnosis of failure and section restoration methods and device during embedded software running
CN105812321B (en) * 2014-12-30 2019-03-19 沈阳高精数控智能技术股份有限公司 A kind of Network File System and processing method based on subscriber information management file resource
US10581950B2 (en) * 2015-03-06 2020-03-03 Vmware, Inc. Local operation of remotely executed applications
CN104980494B (en) * 2015-05-14 2018-07-13 大连理工大学 A kind of cloud storage download shared platform and method with local cache
CN105094922B (en) * 2015-08-17 2019-03-05 北京奇虎科技有限公司 Application program exempts from installation and operation control method and its device
CN105407140B (en) * 2015-10-23 2018-08-17 上海比林电子科技有限公司 A kind of computing resource virtual method of networking test system
CN105554117A (en) * 2015-12-18 2016-05-04 山东海量信息技术研究院 Method for achieving file sharing by utilizing network file system
CN106201570A (en) * 2016-05-24 2016-12-07 北京畅游天下网络技术有限公司 A kind of application program exempts from installation and operation method and device
CN106055324B (en) * 2016-05-27 2019-07-12 努比亚技术有限公司 System theme replaces device and method
CN106371878A (en) * 2016-09-05 2017-02-01 北京海誉动想科技股份有限公司 Device and method without installing and running applications in case system
CN106559484A (en) * 2016-11-14 2017-04-05 北京海誉动想科技股份有限公司 The method that instance system exempts from installation and operation application

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102279748A (en) * 2011-08-29 2011-12-14 焦秀琴 Method, system, server and client side for remotely storing locally executed software
CN102402446A (en) * 2011-11-22 2012-04-04 成都市华为赛门铁克科技有限公司 Method and device for installing application software
CN102541475A (en) * 2012-03-12 2012-07-04 成都市华为赛门铁克科技有限公司 Data storage method and data storage device
CN103428357A (en) * 2012-05-25 2013-12-04 盛乐信息技术(上海)有限公司 Method and apparatus for realizing local service sharing of mobile terminal operating system
CN102902914A (en) * 2012-09-05 2013-01-30 福建伊时代信息科技股份有限公司 Method and device for achieving terminal tracelessness
CN103353861A (en) * 2013-06-18 2013-10-16 中国科学院计算技术研究所 Method and device for realizing pooling of distributed I/O (Input/Output) resources
CN103714014A (en) * 2013-11-18 2014-04-09 华为技术有限公司 Cached data processing method
JP2015222872A (en) * 2014-05-22 2015-12-10 キヤノン株式会社 Image processing apparatus, control method therefor and program
CN104023058A (en) * 2014-06-03 2014-09-03 浙江宇视科技有限公司 Method and system for managing and allocating storage resources
EP3009950A1 (en) * 2014-10-17 2016-04-20 Fundació Privada Barcelona Digital Centre Tecnologic Method and apparatus for continuous and implicit local authentication of wireless mobile users based on dynamic profiling of conduct patterns

Also Published As

Publication number Publication date
CN108762821A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
US11243792B2 (en) Image file conversion method and apparatus
EP3441876B1 (en) Patch upgrade-based file processing method and device, terminal, and storage medium
US9301164B2 (en) Method, system, and terminal for performing system update between mobile communication terminals
CN111338854B (en) Kubernetes cluster-based method and system for quickly recovering data
US9367403B2 (en) Terminal and application restoring method
US9614931B2 (en) Identifying a resource set require for a requested application and launching the resource set in a container for execution in a host operating system
WO2014146256A1 (en) Upgrade method, intelligent terminal, and upgrade system
CN108762956B (en) Method for acquiring Native local data, server, mobile terminal and storage medium
WO2008042989A2 (en) Systems and methods for storing or performing functions within removable memory
CN104885055A (en) Method and device for application data synchronization
CN108509215B (en) System software replacing method and device, terminal equipment and storage medium
CN108647032B (en) Application loading method and device, computer device and computer readable storage medium
CN105138376A (en) Mixed model application, webpage resource upgrading method thereof, mobile terminal and system
CN111212183B (en) Method, device and computer readable medium for running hosted application
CN104035842A (en) Method for deleting and recovering built-in application program
CN106484719B (en) Method and terminal for expanding mobile phone storage
CN105207830A (en) Detection method and apparatus for terminal information, and terminal
WO2008069508A1 (en) Portable storage apparatus for providing working environment migration service and method thereof
KR102037556B1 (en) Method and device for upgrading telephone number in wireless terminal self-adaptive network upgrade
EP2835737A1 (en) Data terminal running mode switching method, device, and data terminal
CN111142885B (en) eSIM equipment management method, device, equipment and storage medium
CN108762821B (en) Device and method for running application of electronic equipment and electronic equipment
CN109144586A (en) A kind of driving adaptation method, device, computer equipment and storage medium
CA2878759A1 (en) Methods and systems for providing software applications
CN111638896B (en) Upgrade method, upgrade device, storage medium, processor and mobile terminal

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

Address after: 230031 Room 672, 6/F, Building A3A4, Zhong'an Chuanggu Science Park, No. 900, Wangjiang West Road, High-tech Zone, Hefei, Anhui

Patentee after: Anhui Haima Cloud Technology Co.,Ltd.

Address before: 301700 room 2d25, Building 29, No.89 Heyuan Road, Jingjin science and Technology Valley Industrial Park, Wuqing District, Tianjin

Patentee before: HAIMAYUN (TIANJIN) INFORMATION TECHNOLOGY CO.,LTD.